benilla-re systems structs docs

CGPartyInfo::IsMember

function · ui · orchestration

Address
0x4e7f70 · 71 bytes, up to 0x4e7fb6
Signature
int __thiscall (uint64_t *this)
Meaning
Returns 1 for a nonzero GUID that is the active player's or one of the four party members', else 0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
objectlayer/reaction#unit-toward-unit

Finding: Unit toward unit in objectlayer: reaction

0x6061e0(this = A, B) returns A's reaction toward B. A unit toward itself is 4. When both carry bit 3 of UNIT_FIELD_FLAGS (field 46), the player-controlled bit, each is mapped to the player controlling it; a missing player gives 3. Two players in one duel give 4 on the same team and 1 on opposing teams. The active player and a party member, either way round, give 4. Two players both flagged free-for-all, bit 7 of PLAYER_FLAGS, give 1. Otherwise the faction rules below decide.

The derivation is in the doc.

Callers 12

Callees 1

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