//
// PlayerObject::getActiveMode from 0x1004030b0 to 0x100403101 (81 bytes)
//
// 4 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x10008b47f
// > GJBaseGameLayer::toggleDualMode @ 0x100101a2c
// > GJBaseGameLayer::updateZoom @ 0x10012caed
// > GJBaseGameLayer::resetCamera @ 0x1001393f7
//
// This function is hookable on this platform (idp: pc, 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:30:03 +0000
//
__int64 __fastcall PlayerObject::getActiveMode(_BYTE *a1)
{
__int64 result; // rax
result = 5;
if ( !a1[2417] && !a1[2418] && !a1[2420] && !a1[2428] )
{
result = 16;
if ( !a1[2419] )
{
result = 6;
if ( a1[2422] )
return 33;
}
}
return result;
}