//
// PlayerObject::getActiveMode from 0x100229628 to 0x100229678 (80 bytes)
//
// 3 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x10012137c
// > GJBaseGameLayer::toggleDualMode @ 0x1001e6440
// > GJBaseGameLayer::updateZoom @ 0x1001fcfcc
//
// 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
//
GameObjectType __fastcall PlayerObject::getActiveMode(PlayerObject *a1)
{
if ( a1->m_isShip || a1->m_isBird || a1->m_isDart || a1->m_isSwing )
return ShipPortal;
if ( a1->m_isBall )
return BallPortal;
if ( a1->m_isSpider )
return SpiderPortal;
return CubePortal;
}