//
// PlayerObject::isFlying from 0x1002b92c4 to 0x1002b92f0 (44 bytes)
//
// 11 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x10014a478
// > GJBaseGameLayer::getGroundHeight @ 0x100280bd8
// > GJBaseGameLayer::playerWillSwitchMode @ 0x100282504
// > GJBaseGameLayer::checkCollisions @ 0x100282d18
// > GJBaseGameLayer::checkCollisions @ 0x100282e00
// > GJBaseGameLayer::playerTouchedRing @ 0x100284af0
// > sub_1002971B0 @ 0x1002971e0
// > GJBaseGameLayer::updateCamera @ 0x10029bee8
// > DrawGridLayer::draw @ 0x10040d670
// > MenuGameLayer::tryJump @ 0x100442160
// > MenuGameLayer::ccTouchBegan @ 0x100442e80
//
// 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 11:02:25 +0000
//
__int64 __fastcall PlayerObject::isFlying(_BYTE *a1)
{
char v1; // w8
if ( (a1[2417] & 1) != 0 || (a1[2418] & 1) != 0 || (a1[2420] & 1) != 0 )
v1 = 1;
else
v1 = a1[2428];
return v1 & 1;
}