benilla-re systems structs docs

FindPartyMemberRecord

function · ui · primitive

Address
0x4e8820 · 61 bytes, up to 0x4e885c
Signature
void * __thiscall (void *this)
Meaning
Returns the party record of a GUID, or 0
Confidence
verified, proof one
Finding
ui/party#tables-and-the-party-functions

Finding: Tables and the party functions in ui: the party, its leader and its members' records

0xbc6f48 holds the GUIDs of the four other party members, 8 bytes each, 0 for an empty slot; the local player is not among them. The member records 0xbc70b0 are 0x148 bytes each, one per slot. GetNumPartyMembers() pushes the count of nonzero slots (0 to 4). GetPartyMember(n) takes n from 1 to 4 (dec eax; cmp eax,4; jae), raises Usage: GetPartyMember(1-4) for anything else, and pushes the number 1 when slot n-1 holds a GUID, else nil. The count and the slot reader are 0x4e86d0 and 0x4e81a0.

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

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