// // SetupTriggerPopup::toggleCustomEaseRateVisibility from 0x6796dc to 0x679780 (164 bytes) // // 3 xrefs: // > SetupTriggerPopup::createCustomEasingControls @ 0x67c3f0 // > SetupTriggerPopup::onCustomEaseArrow @ 0x67e954 // > EasingSelectPopup::onCell @ 0x779f48 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:55:57 +0000 // int *__fastcall SetupTriggerPopup::toggleCustomEaseRateVisibility(cocos2d::CCArray **this, float a2, int a3) { __int64 v6; // r0 _BOOL4 isRateEasing; // r5 cocos2d::CCArray *v8; // r0 unsigned int i; // r6 GameObject *v10; // r0 int v11; // r3 float TriggerValue; // r0 int v13; // r1 int *result; // r0 int *v15; // r6 cocos2d::CCDictionary *v16; // r0 v6 = ((__int64 (__fastcall *)(cocos2d::CCArray **))*((_DWORD *)*this + 183))(this); isRateEasing = GameToolbox::isRateEasing((GameToolbox *)(int)*(float *)&v6, SHIDWORD(v6)); if ( !isRateEasing ) { v8 = *(this + 133); if ( v8 ) { if ( cocos2d::CCArray::count(v8) ) { for ( i = 0; i < cocos2d::CCArray::count(*(this + 133)); ++i ) { v10 = (GameObject *)cocos2d::CCArray::objectAtIndex(*(this + 133), i); TriggerValue = SetupTriggerPopup::getTriggerValue((SetupTriggerPopup *)this, a2, v10, v11); if ( !GameToolbox::isRateEasing((GameToolbox *)(int)TriggerValue, v13) ) goto LABEL_9; } isRateEasing = 1; } } } LABEL_9: result = (int *)cocos2d::CCDictionary::objectForKey(*(this + 170), a3); v15 = result; if ( result ) { (*(void (__fastcall **)(int *, _BOOL4))(*result + 172))(result, isRateEasing); v16 = *(this + 172); if ( isRateEasing ) return (int *)cocos2d::CCDictionary::removeObjectForKey(v16, v15[1]); else return (int *)cocos2d::CCDictionary::setObject(v16, (cocos2d::CCObject *)v15, v15[1]); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source