Type Mac player-loot predicate return
Ghidra vmac 110 · 9528519
Mac ROSTER_CheckPlayerCanLoot has undefined4 return metadata. Its complete68-byte native body explicitly returns full EAX copied from ESI1 or ESI0: missing owner roster=>0, returned roster GUID equal to looter=>1, otherwise normalize an opaque GetFlag result. All3 direct caller sites consume the full32-bit result as a condition. Use existing four-byte BOOL, preserving both selected int32 GUID names, Stack4/Stack8 formals and cdecl. Full target, two callers, GUID producer and relevant helper-chain native bytes(1733bytes) independently match separate current assembly. Every return/caller path and native ESI preservation through the flag helper chain checked. Both CanInteractWith scalar-producer alternatives are accounted for; deferred caller native scalar routing is evidence only and its own incomplete prototype is unchanged. No semantic helper-return, implicit ABI, unknown arity, name/layout/global/input edits or runtime/build claim.
Changes 1, applied together
Set prototype
mac 0x000760designatureundefined4 ROSTER_CheckPlayerCanLoot(int32_t nLooterGUID, int32_t nOwnerGUID)→BOOL ROSTER_CheckPlayerCanLoot(int32_t nLooterGUID, int32_t nOwnerGUID)convention__cdecl