// // SetupItemEditTriggerPopup::onOpButton from 0x10040c7dc to 0x10040c89c (192 bytes) // // 1 xrefs: // > SetupItemEditTriggerPopup::init @ 0x10040c318 // // 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::onOpButton(SetupItemEditTriggerPopup *a1, cocos2d::CCObject *a2) { __int64 v4; // x21 int v5; // w8 int v6; // w11 int v7; // w9 int v8; // w8 int v9; // w9 int v11; // w22 SetupItemEditTriggerPopup *v12; // x0 v4 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); v5 = (int)((float (__fastcall *)(SetupItemEditTriggerPopup *, __int64))a1->getValue)(a1, v4); if ( (v4 & 0xFFFFFFFE) == 0x242 ) v6 = 1; else v6 = 3; if ( (unsigned int)(v4 - 485) >= 2 ) v7 = v6; else v7 = 2; if ( v7 >= v5 ) v8 = v5 + 1; else v8 = 0; if ( v8 <= 3 ) v9 = 3; else v9 = v8; if ( (_DWORD)v4 != 482 ) v9 = v8; if ( v8 < 1 && (_DWORD)v4 == 481 ) v11 = 1; else v11 = v9; SetupTriggerPopup::updateValue(a1, v4, (float)v11); SetupItemEditTriggerPopup::updateOpButton(v12, (CCMenuItemSpriteExtra *)a2, v11, v4); SetupItemEditTriggerPopup::updateFormulaLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source