// // SetupOptionsTriggerPopup::onCustomToggleTriggerValue from 0x1005e78d0 to 0x1005e797e (174 bytes) // // 1 xrefs: // > @ 0x100977f10 // // 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 SetupOptionsTriggerPopup::onCustomToggleTriggerValue( SetupOptionsTriggerPopup *a1, cocos2d::CCObject *a2) { int v2; // eax unsigned int v3; // r14d _BOOL8 v4; // r15 int v5; // r12d int v6; // eax int v7; // r13d bool v8; // r12 v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); v3 = -v2; if ( v2 > 0 ) v3 = v2; v4 = ((int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) <= 0; v5 = v4 ? -1 : 1; v6 = (int)((float (__fastcall *)(SetupOptionsTriggerPopup *, _QWORD))a1->getValue)(a1, v3); v7 = 0; if ( v5 != v6 ) v7 = v4 ? -1 : 1; v8 = v5 != v6; SetupTriggerPopup::updateValue(a1, v3, (float)v7); SetupTriggerPopup::updateCustomToggleTrigger(a1, v3, v7 == 1); SetupTriggerPopup::updateCustomToggleTrigger(a1, -v3, v8 && v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source