// // isRelevantForPlayer from 0x475800 to 0x47582a (42 bytes) // // 2 xrefs: // > GJBaseGameLayer::buttonIsRelevant @ 0x4758ae // > GJBaseGameLayer::buttonIsRelevant @ 0x4758bc // // 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 __fastcall isRelevantForPlayer(PlayerObject *this, int a2) { int isFlying; // r4 isFlying = *(unsigned __int8 *)(a2 + 4); if ( !*(_BYTE *)(a2 + 4) || !cocos2d::CCArray::count(this->m_touchingRings) ) { isFlying = PlayerObject::isFlying(this); if ( !isFlying ) { isFlying = *(unsigned __int8 *)(a2 + 4); if ( *(_BYTE *)(a2 + 4) ) return this->m_isOnGround; } } return isFlying; }
GD Web Decomp Icon

GD Web Decomp

Raw Source