//
// SetupTriggerPopup::onToggleTriggerValue from 0x67e6c6 to 0x67e710 (74 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:00 +0000
//
int __fastcall SetupTriggerPopup::onToggleTriggerValue(SetupTriggerPopup *this, cocos2d::CCObject *a2)
{
int v4; // r0
unsigned int v5; // r5
char v6; // r7
int v7; // r6
int result; // r0
v4 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v5 = *((unsigned __int8 *)a2 + 308);
v6 = *((_BYTE *)this + 568);
*((_BYTE *)this + 568) = 1;
v5 ^= 1u;
v7 = v4;
(*(void (__fastcall **)(SetupTriggerPopup *, int, unsigned int))(*(_DWORD *)this + 724))(this, v4, v5);
result = SetupTriggerPopup::valueChanged((cocos2d::CCObject **)this, v7, (float)v5);
*((_BYTE *)this + 568) = v6;
return result;
}