s_protectedGateArms
global · ui
- Address
0x494b48· 12 bytes, up to0x494b53- Type
void *[3]- Meaning
- Holds the three arm addresses of the action gate 0x494a50: refuse, flags test, continue
- Confidence
- verified, proof one
- Finding
- ui/protected#protected-action-gate
Finding: Protected action gate in ui: protected actions
0x494a50(tag) answers whether an action of a kind may run. The Lua context word 0xceeac0 decides first. A nonzero (script) context
with tag 0 or 11 always returns 0, signalling the forbidden-action event. A nonzero context with
tag 2, 4 or 10 returns 1 only while one of the three input-event flags below is set; any other tag
returns 1. A zero (client) context with tag 0 or 11 returns 1 only while a flag is set; any other
tag returns 1.
The derivation is in the doc.