benilla-re systems structs docs

CSimpleTop::RegisterForEvent

function · ui · primitive

Address
0x764aa0 · 253 bytes, up to 0x764b9c
Meaning
Enters a frame into the input list of its stratum and a kind, ordered by level from high to low
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/input#input-lists
Test
ui::input_hittest_index_insert

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 2

Callees 2

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