//
// GJBaseGameLayer::getOtherPlayer from 0x99e0fc to 0x99e120 (36 bytes)
//
// 4 xrefs:
// > PlayLayer::destroyPlayer @ 0x6ff820
// > GJBaseGameLayer::getGroundHeight @ 0x99e164
// > GJBaseGameLayer::playerWillSwitchMode @ 0x9e6a70
// > ??> @ 0x68cc8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:58:05 +0000
//
__int64 __fastcall GJBaseGameLayer::getOtherPlayer(GJBaseGameLayer *this, PlayerObject *a2)
{
__int64 result; // x0
result = *((_QWORD *)this + 407);
if ( *((_DWORD *)a2 + 229) == *(_DWORD *)(result + 916) )
return *((_QWORD *)this + 408);
return result;
}