// // SetupItemCompareTriggerPopup::onOpButton from 0xb7f308 to 0xb7f408 (256 bytes) // // 3 xrefs: // > @ 0xc4120 // > SetupItemCompareTriggerPopup::init @ 0xb7ebfc // > @ 0x1545ba8 // // 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:27 +0000 // __int64 __fastcall SetupItemCompareTriggerPopup::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 == 482 ) { if ( v5 > 5 ) { v6 = 0.0; v5 = 0; goto LABEL_8; } goto LABEL_11; } if ( v4 - 485 <= 1 ) { if ( v5 <= 3 ) goto LABEL_5; goto LABEL_10; } if ( v4 - 578 <= 1 ) { if ( v5 <= 2 ) goto LABEL_5; LABEL_10: v5 = v4 - 480 <= 1; LABEL_11: v6 = (float)v5; goto LABEL_8; } if ( v5 > 4 ) goto LABEL_10; LABEL_5: if ( v4 - 480 > 1 || v5 > 0 ) goto LABEL_11; v6 = 1.0; v5 = 1; LABEL_8: v8 = v5; SetupTriggerPopup::updateValue(this, v4, v6); SetupItemCompareTriggerPopup::updateOpButton((SetupItemCompareTriggerPopup *)this, a2, v8, v4); return SetupItemCompareTriggerPopup::updateFormulaLabel((SetupItemCompareTriggerPopup *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source