benilla-re systems structs docs

HandleBattlegroundPlayerPositionsPacket

function · ui · primitive

Address
0x4aad40 · 203 bytes, up to 0x4aae0a
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads the 0x2e9 packet: teammate guids and positions and the flag carrier
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/worldmapmarkers#the-position-packet

Finding: The position packet in ui: world map arrows and battleground markers

The packet 0x2e9 (handler 0x4aad40, always answering 1) is u32 count, then count records of u64 guid, f32 x, f32 y, then u8 hasCarrier, and with it set u64 guid, f32 x, f32 y. The records go to 0xb6e710 (guids) and 0xb6ea30 (x and y, 8 bytes each), the count to 0xb6ebdc, the carrier to 0xb6e6d8 and 0xb6eb94. A clear flag zeroes the carrier GUID and both floats. The loop is bounded only by the wire count, and the arrays hold 40.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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