// // GJRateLevelLayer::onFeature from 0x1402f5920 to 0x1402f5971 (81 bytes) // // 2 xrefs: // > GJRateLevelLayer::init @ 0x1402f4e3b // > @ 0x1406d4004 // // 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 // void GJRateLevelLayer::onFeature(GJRateLevelLayer *a1, cocos2d::CCObject *a2) { GJFeatureState m_featureState; // r8d GJFeatureState v3; // edx _BOOL8 v5; // r8 m_featureState = a1->m_featureState; v3 = 0; if ( m_featureState < Mythic ) v3 = m_featureState + 1; a1->m_featureState = v3; GJDifficultySprite::updateFeatureState(a1->m_difficultySprite, v3); LOBYTE(v5) = a1->m_featureState != 0; a1->toggleGroup(a1, 1, v5); }