s_bindings
global · ui
- Address
0xb71290· 4 bytes, up to0xb71293- Type
void *- Meaning
- Holds the key binding object of 0xdc bytes that 0x4b6050 builds, whose +0xd8 is 1 while a binding runs
- Confidence
- verified, proof one
- Finding
- ui/protected#input-event-flags
Finding: Input event flags in ui: protected actions
Three flags record that code runs inside a real input event, and all three are read by the gate:
0xcf4dc4 is 1 while an edit box runs its enter script; 0xcf4da0 is 1 while a frame's mouse
down or mouse up handler runs; and a dword at +0xd8 of the object at 0xb71290 is 1 while the
binding runner 0x4b7990 runs a key binding, which also zeroes the Lua context. So a key binding, a click handler and
an enter script can move the player, and a macro or an add-on's own call cannot.
The derivation is in the doc.