// // SetupTriggerPopup::toggleCustomEaseRateVisibility from 0x1002253c0 to 0x1002254d8 (280 bytes) // // 5 xrefs: // > SetupTriggerPopup::createCustomEasingControls @ 0x100225059 // > SetupTriggerPopup::onCustomEaseArrowUp @ 0x10022520d // > SetupTriggerPopup::onCustomEaseArrowDown @ 0x1002252ae // > SetupTriggerPopup::onCustomEaseArrow @ 0x100225564 // > sub_1008DD540 @ 0x1008dd5be // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:27:04 +0000 // __int64 __fastcall SetupTriggerPopup::toggleCustomEaseRateVisibility(_QWORD *a1, int a2) { float v3; // xmm0_4 unsigned __int8 isRateEasing; // r12 __int64 v5; // rdi unsigned int v6; // r13d __int64 v7; // rdi __int64 v8; // rax float TriggerValue; // xmm0_4 __int64 result; // rax __int64 v11; // r14 __int64 v12; // rdi v3 = (*(float (__fastcall **)(_QWORD *))(*a1 + 1464LL))(a1); isRateEasing = 1; if ( !(unsigned __int8)GameToolbox::isRateEasing((unsigned int)(int)v3) ) { v5 = a1[86]; if ( v5 && (unsigned int)sub_1007FEF90(v5) ) { if ( (unsigned int)sub_1007FEF90(a1[86]) ) { v6 = 0; do { v7 = a1[86]; v8 = sub_1007FEFE0(v7, v6); TriggerValue = SetupTriggerPopup::getTriggerValue(v7, a2, v8); isRateEasing = GameToolbox::isRateEasing((unsigned int)(int)TriggerValue); if ( !isRateEasing ) break; ++v6; } while ( v6 < (unsigned int)sub_1007FEF90(a1[86]) ); } } else { isRateEasing = 0; } } result = cocos2d::CCDictionary::objectForKey_1(a1[119]); if ( result ) { v11 = result; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, isRateEasing); v12 = a1[121]; if ( isRateEasing ) return cocos2d::CCDictionary::removeObjectForKey_1(v12, *(unsigned int *)(v11 + 8)); else return cocos2d::CCDictionary::setObject_1(v12, v11, *(unsigned int *)(v11 + 8)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source