//
// PlayerObject::getActiveMode from 0x33fb08 to 0x33fb2e (38 bytes)
//
// 3 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x31f614
// > GJBaseGameLayer::updateZoom @ 0x487f4c
// > GJBaseGameLayer::toggleDualMode @ 0x4918a4
//
// 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 PlayerObject::getActiveMode(PlayerObject *a1)
{
if ( PlayerObject::isFlying(a1) )
return ShipPortal;
if ( a1->m_isBall )
return BallPortal;
if ( a1->m_isSpider )
return SpiderPortal;
return CubePortal;
}