benilla-re systems structs docs

RegisterUnitFunctions

function · ui · orchestration

Address
0x51bb60 · 38 bytes, up to 0x51bb85
Signature
void __cdecl ()
Meaning
Registers the 6 shared Lua functions, then the 83 unit and PvP Lua functions from their table
Confidence
verified, proof two
Finding
ui/scriptapi#registrars

Finding: Registrars in ui: the interface Lua function tables

43 registrars, one for each table: a loop of FrameScriptRegisterFunction(name, function) over the pairs, 30 or 33 bytes (38 for 0x51bb60), ret at the end. 0x490250 calls them in a fixed order after the 216-pair loop.

The derivation is in the doc.

Callers 1

Callees 2

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