benilla-re systems structs docs

s_worldFrame

global · ui

Address
0xb4b2bc · 4 bytes, up to 0xb4b2bf
Type
void *
Meaning
Holds the world frame, stored by its constructor
Confidence
verified, proof one
Finding
ui/mouseover#the-world-input-hook

Finding: The world input hook in ui: the world under the pointer

The frame manager's hook for button events (+0x1128, set to 0x492b50) runs before a button reaches any frame, and only when no frame holds the press on release. A right-button press (event field +0x14 equal to 4) while any payload is held or a gift wrap is pending clears the cursor with ClearCursor(1, 1) and consumes the event, so the click does nothing else. In relative mouse mode (the event's mode word +0x10 equal to 1) the hook sends the press to the world frame's slot 0x68 and the release to its slot 0x6c directly, and consumes it.

The derivation is in the doc.