benilla-re systems structs docs

InitZero4bc630Exit

function · ui · primitive

Address
0x4bc660 · 47 bytes, up to 0x4bc68e
Signature
void __cdecl (void)
Meaning
Frees the PetAction block that a global points at, at most once
Confidence
verified, proof one
Finding
ui/initexits#exit-frees

Finding: Exit frees in ui: start-up counts and exit callbacks

46 callbacks free one block through SMemFree (0x646430): they test the global that holds it, push 0, -2, the type name and the block, and call. 34 first set a bit of a guard byte, so a second run skips the free. The type name is a compiler-mangled string such as .H for int or .?AUNearestUnitData@@ for a struct; the blocks are of 35 types, int (9) the commonest.

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.