//
// SetupTriggerPopup::onTouchTriggered from 0x676f3e to 0x676f70 (50 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:56 +0000
//
unsigned int __fastcall SetupTriggerPopup::onTouchTriggered(SetupTriggerPopup *this, cocos2d::CCObject *a2)
{
int v3; // r3
v3 = *((unsigned __int8 *)this + 536) ^ 1;
*((_BYTE *)this + 536) = v3;
if ( v3 )
{
*((_BYTE *)this + 537) = 0;
SetupTriggerPopup::updateSpawnedByTrigger(this);
CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 136), *((unsigned __int8 *)this + 537));
}
return SetupTriggerPopup::updateTouchTriggered(this);
}