// // SetupTriggerPopup::toggleCustomEaseRateVisibility from 0x545d58 to 0x545dfc (164 bytes) // // 2 xrefs: // > SetupTriggerPopup::createCustomEasingControls @ 0x546300 // > SetupTriggerPopup::onCustomEaseArrow @ 0x548934 // // 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 SetupTriggerPopup::toggleCustomEaseRateVisibility(SetupTriggerPopup *a1, int a2, int a3) { float v6; // r0 _BOOL4 isRateEasing; // r5 cocos2d::CCArray *m_gameObjects; // r0 unsigned int i; // r6 GameObject *v10; // r0 float TriggerValue; // r0 cocos2d::CCObject *v12; // r0 cocos2d::CCObject *v13; // r6 cocos2d::CCDictionary *m_disabledEasingButtons; // r0 v6 = ((float (__fastcall *)(SetupTriggerPopup *))a1->getValue)(a1); isRateEasing = GameToolbox::isRateEasing((int)v6); if ( !isRateEasing ) { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { if ( cocos2d::CCArray::count(m_gameObjects) ) { for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); ++i ) { v10 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i); TriggerValue = SetupTriggerPopup::getTriggerValue(a1, a2, v10); if ( !GameToolbox::isRateEasing((int)TriggerValue) ) goto LABEL_9; } isRateEasing = 1; } } } LABEL_9: v12 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingButtons, a3); v13 = v12; if ( v12 ) { ((void (__fastcall *)(cocos2d::CCObject *, _BOOL4))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