//
// PlayerObject::isFlying from 0x33efbe to 0x33efd8 (26 bytes)
//
// 59 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x31f540
// > PlayerObject::convertToClosestRotation @ 0x33efe4
// > PlayerObject::runNormalRotation @ 0x33f0aa
// > PlayerObject::updateShipRotation @ 0x33f2ee
// > PlayerObject::updateShipRotation @ 0x33f456
// > PlayerObject::updateRotation @ 0x33f54e
// > PlayerObject::updateRotation @ 0x33f5a2
// > PlayerObject::updateRotation @ 0x33f6a2
// > PlayerObject::updateRotation @ 0x33f6b6
// > PlayerObject::updateDashArt @ 0x33f99a
// > PlayerObject::getActiveMode @ 0x33fb0c
// > PlayerObject::isInNormalMode @ 0x33fcb8
// > PlayerObject::isInBasicMode @ 0x34011e
// > PlayerObject::destroyFromHitHead @ 0x34013c
// > PlayerObject::boostPlayer @ 0x341b7c
// > PlayerObject::specialGroundHit @ 0x342072
// > PlayerObject::toggleVisibility @ 0x3423ae
// > PlayerObject::levelFlipFinished @ 0x342428
// > PlayerObject::usingWallLimitedMode @ 0x342c68
// > PlayerObject::stopDashing @ 0x343f66
// > PlayerObject::hitGround @ 0x344526
// > PlayerObject::hitGround @ 0x34456c
// > PlayerObject::tryPlaceCheckpoint @ 0x344d88
// > PlayerObject::updateCheckpointTest @ 0x344eee
// > PlayerObject::collidedWithObjectInternal @ 0x34540a
// > PlayerObject::collidedWithObjectInternal @ 0x3458e8
// > PlayerObject::collidedWithObjectInternal @ 0x345a14
// > PlayerObject::collidedWithObjectInternal @ 0x345e8c
// > PlayerObject::collidedWithObjectInternal @ 0x345f3c
// > PlayerObject::collidedWithObjectInternal @ 0x346050
// > PlayerObject::collidedWithObjectInternal @ 0x34610a
// > PlayerObject::collidedWithObjectInternal @ 0x3461aa
// > PlayerObject::collidedWithObjectInternal @ 0x3461fc
// > PlayerObject::collidedWithObjectInternal @ 0x34651c
// > PlayerObject::collidedWithObjectInternal @ 0x3465dc
// > PlayerObject::updateJump @ 0x349510
// > PlayerObject::updateJump @ 0x349568
// > PlayerObject::collidedWithSlopeInternal @ 0x34b962
// > PlayerObject::collidedWithSlopeInternal @ 0x34ba2a
// > PlayerObject::collidedWithSlopeInternal @ 0x34ba4a
// > PlayerObject::collidedWithSlopeInternal @ 0x34ba6c
// > PlayerObject::collidedWithSlopeInternal @ 0x34baee
// > PlayerObject::collidedWithSlopeInternal @ 0x34bb12
// > PlayerObject::collidedWithSlopeInternal @ 0x34bb30
// > PlayerObject::collidedWithSlopeInternal @ 0x34c24a
// > PlayerObject::postCollision @ 0x34c796
// > PlayerObject::ringJump @ 0x34e68a
// > PlayerObject::pushButton @ 0x34e9b0
// > PlayerObject::update @ 0x34f476
// > DrawGridLayer::draw @ 0x36b9d4
// > MenuGameLayer::tryJump @ 0x3a9260
// > MenuGameLayer::ccTouchBegan @ 0x3aa098
// > GJBaseGameLayer::getGroundHeight @ 0x46f236
// > isRelevantForPlayer @ 0x475816
// > GJBaseGameLayer::updateCamera @ 0x4865dc
// > GJBaseGameLayer::playerWillSwitchMode @ 0x4916f4
// > GJBaseGameLayer::playerTouchedRing @ 0x4922d8
// > GJBaseGameLayer::checkCollisions @ 0x49348c
// > GJBaseGameLayer::checkCollisions @ 0x49354c
//
// 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
//
bool PlayerObject::isFlying(PlayerObject *a1)
{
bool m_isShip; // r3
m_isShip = a1->m_isShip;
if ( !m_isShip )
{
m_isShip = a1->m_isBird;
if ( !m_isShip )
{
m_isShip = a1->m_isDart;
if ( !m_isShip )
return a1->m_isSwing;
}
}
return m_isShip;
}