benilla-re systems structs docs

CGGameUI::Reload

function · ui · orchestration

Address
0x491380 · 22 bytes, up to 0x491395
Signature
void __stdcall ()
Meaning
Sets the reload byte 0xb4b3f4 when the protected-action gate allows tag 10
Confidence
verified, proof one
Name from
the community database (idb)
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.

Callers 4

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.