benilla-re systems structs docs

CGWorldFrame::OnMouseDown

function · ui · orchestration

Address
0x483c40 · 104 bytes, up to 0x483ca7
Signature
uint32_t __thiscall (CGWorldFrame *this, void *mouseEvent)
Meaning
Runs the base press handler and the targeting hook, which both always answer 0, then the binding of the button press
Confidence
verified, proof one
Finding
ui/keybindings#key-press-and-release

Finding: Key press and release in ui: key bindings

The world frame handles a key press at 0x483b70. The base frame's key script runs first (0x76b7d0); if it consumes the key, nothing else happens. Otherwise the chord is built into a 32-byte slot of the frame indexed by the key code (this + 0x3f8 + code·0x20) and 0x4b7990 runs with isDown 1. A release (0x483bd0) replays the chord latched in that slot, rebuilding it only when the slot is empty, and clears the slot, so modifiers changed while a key is held cannot strand a command. A held key fires once. A mouse release rebuilds its name from the modifiers at that moment. A wheel notch dispatches its chord twice, down then up.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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