// // SetupTriggerPopup::toggleCustomEaseRateVisibility from 0x10023fd00 to 0x10023fe18 (280 bytes) // // 4 xrefs: // > SetupTriggerPopup::createCustomEasingControls @ 0x10023f9a5 // > SetupTriggerPopup::onCustomEaseArrowUp @ 0x10023fb4d // > SetupTriggerPopup::onCustomEaseArrowDown @ 0x10023fbee // > SetupTriggerPopup::onCustomEaseArrow @ 0x10023fea4 // // 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 v5; // xmm0_4 bool isRateEasing; // r12 cocos2d::CCArray *m_gameObjects; // rdi unsigned int v8; // r13d cocos2d::CCArray *v9; // rdi GameObject *v10; // rax float TriggerValue; // xmm0_4 cocos2d::CCObject *v12; // rax cocos2d::CCObject *v13; // r14 cocos2d::CCDictionary *m_disabledEasingButtons; // rdi v5 = ((float (__fastcall *)(SetupTriggerPopup *))a1->getValue)(a1); isRateEasing = 1; if ( !GameToolbox::isRateEasing((int)v5) ) { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) ) { if ( (unsigned int)sub_100720070(a1->m_gameObjects) ) { v8 = 0; do { v9 = a1->m_gameObjects; v10 = (GameObject *)sub_1007200C0(v9, v8); TriggerValue = SetupTriggerPopup::getTriggerValue((SetupTriggerPopup *)v9, a2, v10); isRateEasing = GameToolbox::isRateEasing((int)TriggerValue); if ( !isRateEasing ) break; ++v8; } while ( v8 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } else { isRateEasing = 0; } } v12 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingButtons, a3); if ( v12 ) { v13 = v12; ((void (__fastcall *)(cocos2d::CCObject *, bool))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