benilla-re systems structs docs

HandleBattlefieldStatusPacket

function · ui · primitive

Address
0x4aa850 · 725 bytes, up to 0x4aab24
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads one queue slot's status, signals UPDATE_BATTLEFIELD_STATUS and rebuilds the stat columns on status 3
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/battlefield#the-status-message

Finding: The status message in ui: battlegrounds

Opcode 0x2d4, 0x4aa850: u32 slot (0 to 2; a larger value ends the handler), u32 mapId. A zero map id clears the slot and the stat count, reads nothing more and clears the instance timers when the slot is the active one. Otherwise: u8 bracket (levels as above), u32 instance id, u32 status. Status 2 arms tutorial 0x30 and reads u32 d, setting the deadline now + d. Status 3 reads u32 d1, u32 d2 (0xb6ebb8 = now + d1, 0xb6ebbc = now - d2, each 0 when 0), sets 0x8457cc to the slot, rebuilds the stat columns and runs 0x4aa5a0(-1). Status 1 arms tutorial 0x2f, reads u32 into +0x18 and u32 d, setting +0x1c = now - d.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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