Type Mac roster-pet relation result
Ghidra vmac 110 · 9528519
Mac ROSTER_GetPetOwnershipRelation has undefined4 return metadata. Every complete202-byte native return explicitly sets full EAX to3,1,2 or0. Sole AUTOMAP caller reads full EAX, uses unsigned CMP3/JA and indexes a verified4-entry PIC switch. Use existing uint32_t for this numeric relation selector; preserve selected nRosterGUID int32 Stack4 input and cdecl. Full target/caller/relevant helpers raw memory6358bytes independently matches separate assembly; all return definitions, caller scalar route, helper preservation and switch targets/PIC base checked. The result proof does not depend on nominal room/table identity: eligibility gates and room APIs remain opaque and unchanged. No enum, record schema, helper/input/ABI/name/global/layout edits, Windows pairing, incidental EAX, runtime/build or held-formatter claim.
Changes 1, applied together
Set prototype
mac 0x00076641signatureundefined4 ROSTER_GetPetOwnershipRelation(int32_t nRosterGUID)→uint32_t ROSTER_GetPetOwnershipRelation(int32_t nRosterGUID)convention__cdecl