benilla-re systems structs docs

Script::ReloadUI

function · ui · orchestration

Address
0x4884d0 · 8 bytes, up to 0x4884d7
Signature
int __fastcall (lua_State *L)
Meaning
Requests an interface reload through 0x491380 and returns nothing
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 0

None by a direct call or jump.

Callees 1

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