benilla-re systems structs docs

s_reloadRequested

global · ui

Address
0xb4b3f4 · 1 bytes, up to 0xb4b3f4
Type
uint8_t
Meaning
Holds 1 from a permitted ReloadUI until the rebuilt interface clears it, 0 otherwise
Confidence
verified, proof one
Finding
ui/bindings#reloading-the-interface

Finding: Reloading the interface in ui: standalone bindings

ReloadUI() is 0x4884d0 and returns nothing. It calls 0x491380, which asks the protected-action gate with tag 10 (0x494a50) and, only when that allows, sets the byte 0xb4b3f4. The gate allows a client-context call, and a script-context call only while an input event runs (an edit box enter script, a mouse handler or a key binding), so a call from a macro or a timer is ignored without a message. Each frame the per-frame callback 0x495590 tests the byte at its end (0x49565b): if it is set, it tears the interface down (0x490bd0) and then builds it again (0x48fbf0), where 0x490124 clears the byte. The same trigger runs when the screen aspect changes.

The derivation is in the doc.