benilla-re systems structs docs

0xcf4d24

global · ui

Address
0xcf4d24 · 4 bytes, up to 0xcf4d27
Type
uint32_t
Meaning
Holds a dword its object file's code reads and writes; not read here
Confidence
inferred
Finding
ui/cvarverbs#modifier-keys-and-layout-mode

Finding: Modifier keys and layout mode in ui: CVar, option and engine information verbs

IsShiftKeyDown(), IsControlKeyDown() and IsAltKeyDown() ask EventIsKeyDown for modifier 0, 1 and 2 and return the number 1 or nil. SetLayoutMode([n]) stores the truncated n, or 1 when n is not a number, in the top frame's field +0xcf8. GetMouseFocus() returns the object the top frame holds at +0x7c as a Lua frame, binding its registry reference first when it has none, or nil. SetEuropeanNumbers([flag]) stores its flag, true when absent, in the number formatting switch 0xcf4d24.

The derivation is in the doc.