// // SetupTriggerPopup::toggleCustomEaseRateVisibility from 0x100134e6c to 0x100134f84 (280 bytes) // // 2 xrefs: // > SetupTriggerPopup::createCustomEasingControls @ 0x100134b74 // > SetupTriggerPopup::onCustomEaseArrow @ 0x100135014 // // 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 SetupTriggerPopup::toggleCustomEaseRateVisibility(SetupTriggerPopup *a1, int a2, int a3) { float v6; // s0 _BOOL8 isRateEasing; // x22 cocos2d::CCArray *m_gameObjects; // x0 __int64 v9; // x23 SetupTriggerPopup *v10; // x0 float TriggerValue; // s0 cocos2d::CCObject *v12; // x0 cocos2d::CCObject *v13; // x20 cocos2d::CCDictionary *m_disabledEasingButtons; // x0 v6 = ((float (__fastcall *)(SetupTriggerPopup *))a1->getValue)(a1); if ( GameToolbox::isRateEasing((int)v6) ) { LABEL_2: isRateEasing = 1; goto LABEL_11; } m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_10024A36C(m_gameObjects) ) { if ( (unsigned int)sub_10024A36C(a1->m_gameObjects) ) { v9 = 0; do { v10 = (SetupTriggerPopup *)sub_10024A388(a1->m_gameObjects, v9); TriggerValue = SetupTriggerPopup::getTriggerValue(v10, a2, (GameObject *)v10); isRateEasing = GameToolbox::isRateEasing((int)TriggerValue); if ( !isRateEasing ) break; v9 = (unsigned int)(v9 + 1); } while ( (unsigned int)v9 < (unsigned int)sub_10024A36C(a1->m_gameObjects) ); goto LABEL_11; } goto LABEL_2; } isRateEasing = 0; LABEL_11: v12 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingButtons, a3); if ( v12 ) { v13 = v12; ((void (__fastcall *)(cocos2d::CCObject *, _BOOL8))v12->__vftable[4].~CCObject)(v12, isRateEasing); m_disabledEasingButtons = a1->m_disabledEasingButtons; if ( isRateEasing ) cocos2d::CCDictionary::removeObjectForKey(m_disabledEasingButtons, v13->m_uID); else cocos2d::CCDictionary::setObject(m_disabledEasingButtons, v13, v13->m_uID); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source