ChooseInputListQuantum
function · ui · primitive
- Address
0x766e80· 57 bytes, up to0x766eb8- Signature
uint32_t __thiscall (void *this, uint32_t count)- Meaning
- Returns the grow quantum for a count: its largest power of two below 64 (1 for 0), else 64, which it also stores at +0xc
- Confidence
- verified, proof one
- Finding
- ui/input#input-lists
Finding: Input lists in ui: input, hit testing and focus
The list for stratum s and kind k is the 0x1c-byte record at +0xd10 + (s + 9k)·0x1c of the
top. It holds 8-byte entries {frame, level}, ordered by level from high to low; a new entry goes
before the first entry of a lower level, so equal levels keep their order of entry. A new mouse
entry asks for a hover pick unless told not to. Removing a frame's entry, unless told to keep its
state, forgets it as the taker of any key (kind 1) or as the pressed and hovered frame (kind 2); a
hovered frame removed this way runs its leave handler unless it is being destroyed, and a new hover
pick is asked for.
The derivation is in the doc.
Callers 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.