//
// SetupOptionsTriggerPopup::onCustomToggleTriggerValue from 0x67590a to 0x675986 (124 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:55:55 +0000
//
int __fastcall SetupOptionsTriggerPopup::onCustomToggleTriggerValue(
SetupOptionsTriggerPopup *this,
cocos2d::CCObject *a2)
{
int v4; // r0
int v5; // r6
int v6; // r4
v4 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v5 = abs(v4);
if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2) <= 0 )
v6 = -1;
else
v6 = 1;
if ( v6 == (int)(*(float (__fastcall **)(SetupOptionsTriggerPopup *, int))(*(_DWORD *)this + 732))(this, v5) )
v6 = 0;
SetupTriggerPopup::updateValue(this, v5, (float)v6);
SetupTriggerPopup::updateCustomToggleTrigger(this, v5, v6 == 1);
return SetupTriggerPopup::updateCustomToggleTrigger(this, -v5, v6 == -1);
}