// // SetupItemCompareTriggerPopup::onOpButton from 0x6baa48 to 0x6baad6 (142 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:56:45 +0000 // int __fastcall SetupItemCompareTriggerPopup::onOpButton(cocos2d::CCDictionary **this, cocos2d::CCObject *a2) { int v4; // r5 signed int v5; // r4 bool v6; // cc v4 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v5 = (int)(*((float (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, v4) + 1; if ( v4 == 482 ) { v6 = v5 < 6; } else if ( (unsigned int)(v4 - 485) > 1 ) { if ( (unsigned int)(v4 - 578) > 1 ) v6 = v5 < 5; else v6 = v5 < 3; } else { v6 = v5 < 4; } if ( !v6 ) v5 = 0; if ( (unsigned int)(v4 - 480) <= 1 && v5 < 1 ) v5 = 1; SetupTriggerPopup::updateValue(this, v4, (float)v5); SetupItemCompareTriggerPopup::updateOpButton((SetupItemCompareTriggerPopup *)this, a2, v5, v4); return SetupItemCompareTriggerPopup::updateFormulaLabel((SetupItemCompareTriggerPopup *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source