// // SetupMGTrigger::toggleEasingRateVisibility from 0x1002f2a84 to 0x1002f2b24 (160 bytes) // // 2 xrefs: // > SetupMGTrigger::init @ 0x1002f21f8 // > SetupMGTrigger::onEasing @ 0x1002f2b84 // // 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 __fastcall SetupMGTrigger::toggleEasingRateVisibility(SetupMGTrigger *a1) { _BOOL8 isRateEasing; // x20 cocos2d::CCArray *m_gameObjects; // x0 unsigned int v4; // w21 __int64 v5; // x0 if ( GameToolbox::isRateEasing(a1->m_mgEasingType) ) goto LABEL_2; m_gameObjects = a1->m_gameObjects; if ( !m_gameObjects || !(unsigned int)sub_10024A36C((__int64)m_gameObjects) ) { isRateEasing = 0; goto LABEL_11; } if ( !(unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) ) { LABEL_2: isRateEasing = 1; } else { v4 = 0; do { v5 = sub_10024A388((__int64)a1->m_gameObjects, v4); isRateEasing = GameToolbox::isRateEasing(*(_DWORD *)(v5 + 1496)); if ( !isRateEasing ) break; ++v4; } while ( v4 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) ); } LABEL_11: ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL8))a1->m_mgEasingRateButton->setVisible)( a1->m_mgEasingRateButton, isRateEasing); }
GD Web Decomp Icon

GD Web Decomp

Raw Source