//
// GJBaseGameLayer::getOtherPlayer from 0x1001e5a5c to 0x1001e5a80 (36 bytes)
//
// 1 xrefs:
// > PlayLayer::destroyPlayer @ 0x10011eb60
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
PlayerObject *__fastcall GJBaseGameLayer::getOtherPlayer(GJBaseGameLayer *a1, PlayerObject *a2)
{
__int64 v2; // x8
v2 = 3272;
if ( a2->m_uniqueID == a1->m_player1->m_uniqueID )
v2 = 3280;
return *(PlayerObject **)((char *)&a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ v2);
}