benilla-re systems structs docs

s_worldStateUiStore

global · dbc

Address
0xc0d564 · 20 bytes, up to 0xc0d577
Type
uint32_t[5]
Meaning
Holds the WorldStateUI.dbc store: records, count, id map, max id and loaded flag
Confidence
verified, proof one
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.