//
// GJBaseGameLayer::getOtherPlayer from 0x46f1e4 to 0x46f1fc (24 bytes)
//
// 3 xrefs:
// > PlayLayer::destroyPlayer @ 0x313e1e
// > GJBaseGameLayer::getGroundHeight @ 0x46f230
// > GJBaseGameLayer::playerWillSwitchMode @ 0x4916d2
//
// 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 *GJBaseGameLayer::getOtherPlayer(GJBaseGameLayer *a1, PlayerObject *a2)
{
PlayerObject *m_player1; // r3
m_player1 = a1->m_player1;
if ( a2->m_uniqueID == m_player1->m_uniqueID )
return a1->m_player2;
return m_player1;
}