// // SetupItemEditTriggerPopup::onOpButton from 0xb7dc48 to 0xb7dd44 (252 bytes) // // 3 xrefs: // > @ 0x714e8 // > SetupItemEditTriggerPopup::init @ 0xb7d5b0 // > @ 0x1542d68 // // This function is hookable on this platform (idp: arm, 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 13:02:26 +0000 // __int64 __fastcall SetupItemEditTriggerPopup::onOpButton(cocos2d::CCDictionary **this, cocos2d::CCObject *a2) { unsigned int v4; // w19 int v5; // w2 float v6; // s0 int v8; // [xsp+38h] [xbp+38h] v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v5 = (int)(*((float (__fastcall **)(cocos2d::CCDictionary **, _QWORD))*this + 183))(this, v4) + 1; if ( v4 - 485 <= 1 ) { if ( v5 > 3 ) goto LABEL_4; goto LABEL_8; } if ( v4 - 578 > 1 ) { if ( v5 > 4 ) { LABEL_4: v5 = 0; goto LABEL_5; } LABEL_8: if ( v5 > 0 ) goto LABEL_9; goto LABEL_5; } if ( v5 <= 2 ) goto LABEL_8; v5 = 0; LABEL_5: if ( v4 == 481 ) { v6 = 1.0; v5 = 1; goto LABEL_12; } LABEL_9: if ( v5 <= 2 && v4 == 482 ) { v6 = 3.0; v5 = 3; } else { v6 = (float)v5; } LABEL_12: v8 = v5; SetupTriggerPopup::updateValue(this, v4, v6); SetupItemEditTriggerPopup::updateOpButton((SetupItemEditTriggerPopup *)this, a2, v8, v4); return SetupItemEditTriggerPopup::updateFormulaLabel((SetupItemEditTriggerPopup *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source