benilla-re systems structs docs

FindRaidPetBlock

function · ui · orchestration

Address
0x4bb130 · 82 bytes, up to 0x4bb181
Signature
void * __thiscall (uint64_t *this)
Meaning
Returns the pet block at +0x90 of the first online raid row of all 40 whose pet GUID matches, or 0
Confidence
verified, proof one
Finding
ui/raid#rows-past-the-count

Finding: Rows past the count in ui: the raid roster, ready check and raid targets

Within one world session nothing clears a row at or past the member count: 0x4ba0b0 zeroes all 40 when the session starts and ShutdownRaid frees them when it ends, while the rebuild writes the rows below its new count, the other writers stop at the count, and ClearRaidRoster (0x4ba550) only zeroes the count. Membership (0x4baee0, and so UnitInRaid) stops at the count, but 0x4bb0f0 returns the block of the first of all 40 rows holding a GUID, and 0x4bb130 the pet block of the first online row whose pet GUID matches. So a GUID that left the raid finds its old row: the record getters fall back to it (party#reading-a-member-without-its-object), and a stats message for it writes into it (objectlayer/party#party-member-stats).

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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