benilla-re systems structs docs

s_bgActiveSlot

global · ui

Address
0x8457cc · 4 bytes, up to 0x8457cf
Type
int32_t
Meaning
Holds the queue slot of the active battleground, -1 for none
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.