GetBattlefieldInstanceCount
function · ui · orchestration
- Address
0x4a9f40· 6 bytes, up to0x4a9f45- Meaning
- Returns the number of listed battleground instances
- Confidence
- verified, proof one
- 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 2
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.