// // isRelevantForPlayer from 0x8641c0 to 0x864230 (112 bytes) // // 4 xrefs: // > GJBaseGameLayer::buttonIsRelevant @ 0x86430c // > GJBaseGameLayer::buttonIsRelevant @ 0x864324 // > GJBaseGameLayer::buttonIsRelevant @ 0x86435c // > @ 0x777f0 // // 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 // __int64 __fastcall isRelevantForPlayer(PlayerObject *this, __int64 a2) { unsigned int v2; // w19 bool isFlying; // w0 unsigned int v5; // w19 int v7; // w0 __int64 v8; // [xsp+28h] [xbp+28h] __int64 v9; // [xsp+28h] [xbp+28h] v2 = *(unsigned __int8 *)(a2 + 4); if ( *(_BYTE *)(a2 + 4) ) { v9 = a2; v7 = cocos2d::CCArray::count(this->m_touchingRings); a2 = v9; if ( v7 ) return v2; } v8 = a2; isFlying = PlayerObject::isFlying(this); v5 = isFlying; if ( !isFlying ) { v5 = *(unsigned __int8 *)(v8 + 4); if ( *(_BYTE *)(v8 + 4) ) return this->m_isOnGround; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source