//
// PlayerObject::getActiveMode from 0x751b88 to 0x751bd4 (76 bytes)
//
// 4 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x70f954
// > GJBaseGameLayer::toggleDualMode @ 0x9e6c50
// > GJBaseGameLayer::updateZoom @ 0x9e6ee0
// > ??> @ 0xc9880
//
// 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:52:55 +0000
//
__int64 __fastcall PlayerObject::getActiveMode(PlayerObject *this)
{
int isFlying; // w1
__int64 result; // x0
isFlying = (unsigned __int8)PlayerObject::isFlying(this);
result = 5;
if ( !isFlying )
{
result = 16;
if ( !*((_BYTE *)this + 2419) )
{
if ( *((_BYTE *)this + 2422) )
return 33;
else
return 6;
}
}
return result;
}