benilla-re systems structs docs

SetInputListCapacity

function · ui · orchestration

Address
0x766ee0 · 133 bytes, up to 0x766f64
Meaning
Reallocates an input list's array to a capacity, copying when it must move
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 3

Calls and jumps by a bare address, from tables/calls.tsv.