// // SetupOptionsTriggerPopup::onCustomToggleTriggerValue from 0xb19960 to 0xb19a2c (204 bytes) // // 2 xrefs: // > @ 0xb85d0 // > @ 0x14b4020 // // 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:01:33 +0000 // __int64 __fastcall SetupOptionsTriggerPopup::onCustomToggleTriggerValue( SetupOptionsTriggerPopup *this, cocos2d::CCObject *a2) { int v3; // w0 unsigned int v4; // w21 int v5; // w19 bool v6; // w22 float v7; // s0 bool v8; // w19 v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = abs(v3); if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) <= 0 ) v5 = -1; else v5 = 1; if ( v5 == (int)(*(float (__fastcall **)(SetupOptionsTriggerPopup *, _QWORD))(*(_QWORD *)this + 1464LL))(this, v4) ) { v7 = 0.0; v8 = 0; v6 = 0; } else { v6 = v5 == 1; v7 = (float)v5; v8 = v5 == -1; } SetupTriggerPopup::updateValue(this, v4, v7); SetupTriggerPopup::updateCustomToggleTrigger(this, v4, v6); return SetupTriggerPopup::updateCustomToggleTrigger(this, -v4, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source