// // SetupTriggerPopup::toggleCustomEaseRateVisibility from 0x14047ddf0 to 0x14047df60 (368 bytes) // // 5 xrefs: // > SetupTriggerPopup::createCustomEasingControls @ 0x14047d899 // > SetupTriggerPopup::onCustomEaseArrow @ 0x14047daee // > @ 0x1406a5e3c // > @ 0x1406a5e4c // > @ 0x1406db918 // // 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) { __int64 v5; // r14 unsigned __int8 v6; // si cocos2d::CCArray *m_gameObjects; // rcx unsigned int v8; // edi GameObject *v9; // rax struct cocos2d::CCObject *v10; // rax struct cocos2d::CCObject *v11; // rdi cocos2d::CCDictionary *m_disabledEasingButtons; // rcx __int64 m_uID; // r8 v5 = a3; switch ( (int)((float (*)(void))a1->getValue)() ) { case 1: case 2: case 3: case 4: case 5: case 6: v6 = 1; break; default: m_gameObjects = a1->m_gameObjects; v6 = 0; if ( m_gameObjects ) { if ( cocos2d::CCArray::count(m_gameObjects) ) { v6 = 1; v8 = 0; if ( cocos2d::CCArray::count(a1->m_gameObjects) ) { while ( 2 ) { v9 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v8); switch ( (int)SetupTriggerPopup::getTriggerValue(a1, a2, v9) ) { case 1: case 2: case 3: case 4: case 5: case 6: if ( ++v8 < cocos2d::CCArray::count(a1->m_gameObjects) ) continue; break; default: v6 = 0; break; } break; } } } } break; } v10 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingButtons, v5); v11 = v10; if ( v10 ) { ((void (__fastcall *)(struct cocos2d::CCObject *, _QWORD))v10->__vftable[4].update)(v10, v6); m_disabledEasingButtons = a1->m_disabledEasingButtons; m_uID = v11->m_uID; if ( v6 ) cocos2d::CCDictionary::removeObjectForKey(m_disabledEasingButtons, (unsigned int)m_uID); else cocos2d::CCDictionary::setObject(m_disabledEasingButtons, v11, m_uID); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source