benilla-re systems structs docs

HandleBattlefieldListPacket

function · ui · primitive

Address
0x4aa6c0 · 400 bytes, up to 0x4aa84f
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads the battlemaster list into the instance array and bracket and signals BATTLEFIELDS_SHOW
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/battlefield#the-list-message

Finding: The list message in ui: battlegrounds

Opcode 0x23d, 0x4aa6c0: u64 battlemaster, u32 mapId, u8 bracket, u32 count, count times u32 instanceId. The bracket gives the levels: min = bracket * Map[+0x9c] + Map[+0x34] and max = min(Map[+0x9c] + min - 1, 60), both 0 when the span is not positive. The handler stores the ids, signals BATTLEFIELDS_SHOW and only then stores the player's position (three floats) as the anchor of the walk-away check, zeros without a player.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

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