//
// PlayerObject::isFlying from 0x6253bc to 0x6253e0 (36 bytes)
//
// 62 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x5e4fd8
// > PlayerObject::convertToClosestRotation @ 0x6253f8
// > PlayerObject::runNormalRotation @ 0x625590
// > PlayerObject::updateShipRotation @ 0x6258c4
// > PlayerObject::updateShipRotation @ 0x625900
// > PlayerObject::updateRotation @ 0x625b10
// > PlayerObject::updateRotation @ 0x625b44
// > PlayerObject::updateRotation @ 0x625cc4
// > PlayerObject::updateRotation @ 0x625cd4
// > PlayerObject::updateDashArt @ 0x625f5c
// > PlayerObject::getActiveMode @ 0x626390
// > PlayerObject::isInNormalMode @ 0x626648
// > PlayerObject::isInBasicMode @ 0x626c30
// > PlayerObject::destroyFromHitHead @ 0x626c78
// > PlayerObject::boostPlayer @ 0x62942c
// > PlayerObject::specialGroundHit @ 0x629c10
// > PlayerObject::toggleVisibility @ 0x62a150
// > PlayerObject::levelFlipFinished @ 0x62a264
// > PlayerObject::usingWallLimitedMode @ 0x62add4
// > PlayerObject::stopDashing @ 0x62c9c0
// > PlayerObject::hitGround @ 0x62d0f4
// > PlayerObject::hitGround @ 0x62d168
// > PlayerObject::tryPlaceCheckpoint @ 0x62e2f4
// > PlayerObject::updateCheckpointTest @ 0x62e494
// > PlayerObject::collidedWithObjectInternal @ 0x62ebb0
// > PlayerObject::collidedWithObjectInternal @ 0x62f1b0
// > PlayerObject::collidedWithObjectInternal @ 0x62f5ac
// > PlayerObject::collidedWithObjectInternal @ 0x62f6bc
// > PlayerObject::collidedWithObjectInternal @ 0x62f7cc
// > PlayerObject::collidedWithObjectInternal @ 0x62fcec
// > PlayerObject::collidedWithObjectInternal @ 0x62fe84
// > PlayerObject::collidedWithObjectInternal @ 0x630294
// > PlayerObject::collidedWithObjectInternal @ 0x630304
// > PlayerObject::collidedWithObjectInternal @ 0x630434
// > PlayerObject::collidedWithObjectInternal @ 0x630444
// > PlayerObject::updateJump @ 0x634d44
// > PlayerObject::updateJump @ 0x635144
// > PlayerObject::collidedWithSlopeInternal @ 0x637b14
// > PlayerObject::collidedWithSlopeInternal @ 0x637fcc
// > PlayerObject::collidedWithSlopeInternal @ 0x638000
// > PlayerObject::collidedWithSlopeInternal @ 0x6380ec
// > PlayerObject::collidedWithSlopeInternal @ 0x638208
// > PlayerObject::collidedWithSlopeInternal @ 0x6382c8
// > PlayerObject::collidedWithSlopeInternal @ 0x6382e8
// > PlayerObject::collidedWithSlopeInternal @ 0x638350
// > PlayerObject::collidedWithSlopeInternal @ 0x63858c
// > PlayerObject::postCollision @ 0x639454
// > PlayerObject::postCollision @ 0x639ba8
// > PlayerObject::ringJump @ 0x63c4fc
// > PlayerObject::pushButton @ 0x63cb20
// > PlayerObject::update @ 0x63f6c8
// > DrawGridLayer::draw @ 0x666fa0
// > MenuGameLayer::tryJump @ 0x6c8d60
// > MenuGameLayer::ccTouchBegan @ 0x6c9e7c
// > GJBaseGameLayer::getGroundHeight @ 0x85a16c
// > isRelevantForPlayer @ 0x8641e0
// > GJBaseGameLayer::updateCamera @ 0x87e9d0
// > GJBaseGameLayer::playerWillSwitchMode @ 0x88a310
// > GJBaseGameLayer::playerTouchedRing @ 0x88b6d4
// > GJBaseGameLayer::checkCollisions @ 0x894adc
// > GJBaseGameLayer::checkCollisions @ 0x895040
// > ??> @ 0xb10d8
//
// 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; // w1
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;
}