// // SetupItemEditTriggerPopup::onCustomToggleTriggerValue from 0x1005806b0 to 0x10058088f (479 bytes) // // 1 xrefs: // > @ 0x100968b80 // // 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 SetupItemEditTriggerPopup::onCustomToggleTriggerValue( SetupItemEditTriggerPopup *a1, cocos2d::CCObject *a2) { int v2; // r14d int v3; // r14d bool v4; // dl int v5; // esi int v6; // r14d int v7; // r15d int v8; // r15d v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); if ( v2 < 1001 ) { if ( v2 < 101 ) { v8 = 0; if ( v2 != (int)((float (__fastcall *)(SetupItemEditTriggerPopup *, __int64))a1->getValue)(a1, 476) ) v8 = v2; SetupTriggerPopup::updateValue(a1, 476, (float)v8); SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v8 == 1); SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v8 == 2); SetupTriggerPopup::updateCustomToggleTrigger(a1, 3, v8 == 3); SetupTriggerPopup::updateCustomToggleTrigger(a1, 4, v8 == 4); v4 = v8 == 5; v5 = 5; } else { v6 = v2 - 100; v7 = 0; if ( v6 != (int)((float (__fastcall *)(SetupItemEditTriggerPopup *, __int64))a1->getValue)(a1, 477) ) v7 = v6; SetupTriggerPopup::updateValue(a1, 477, (float)v7); SetupTriggerPopup::updateCustomToggleTrigger(a1, 101, v7 == 1); SetupTriggerPopup::updateCustomToggleTrigger(a1, 102, v7 == 2); SetupTriggerPopup::updateCustomToggleTrigger(a1, 103, v7 == 3); SetupTriggerPopup::updateCustomToggleTrigger(a1, 104, v7 == 4); v4 = v7 == 5; v5 = 105; } } else { v3 = v2 - 1000; SetupTriggerPopup::updateValue(a1, 478, (float)v3); SetupTriggerPopup::updateCustomToggleTrigger(a1, 1001, v3 == 1); SetupTriggerPopup::updateCustomToggleTrigger(a1, 1002, v3 == 2); v4 = v3 == 3; v5 = 1003; } SetupTriggerPopup::updateCustomToggleTrigger(a1, v5, v4); SetupItemEditTriggerPopup::updateFormulaLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source