benilla-re systems structs docs

CGBattlefieldInfo::InitializeGame

function · ui · primitive

Address
0x4a9c40 · 227 bytes, up to 0x4a9d22
Meaning
Registers the seven battleground handlers, clears the queue and scalars and allocates the 80 score blocks
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/battlefield#caches-and-lifecycle

Finding: Caches and lifecycle in ui: battlegrounds

Three caches live here: the instance list 0xb6e860, a growable array of instance ids in wire order (count at +4, data at +8), with the battlemaster GUID 0xb6ebb0 beside it; the queue 0xb6e9d0, three slots of 0x20 bytes; and the score board 0xb6e880, 80 pointers to 0x40-byte blocks allocated once. 0x4a9c40 registers the handlers, sets the faction filter 0x8457d0 and the active slot 0x8457cc to -1, clears the queue and allocates the blocks; 0x4a9d30 unregisters and frees them. 0x4a9db0, run by the world-enter cascade, releases the pending name queries, clears the scalars, sets the filter to -1 and sends opcode 0x2d3 with no body; it leaves the queue slots and 0x8457cc.

The derivation is in the doc.

Callers 1

Callees 2

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