//
// SetupTriggerPopup::onTouchTriggered from 0xb1bb2c to 0xb1bb70 (68 bytes)
//
// 5 xrefs:
// > ??> @ 0x43048
// > ColorSelectPopup::init @ 0x865a8c
// > SetupPulsePopup::init @ 0xa47cf0
// > SetupTriggerPopup::createMultiTriggerItems @ 0xb1e3d0
// > ??> @ 0x1541338
//
// 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:34 +0000
//
cocos2d::CCArray *__fastcall SetupTriggerPopup::onTouchTriggered(SetupTriggerPopup *this, cocos2d::CCObject *a2)
{
int v3; // w1
v3 = *((unsigned __int8 *)this + 696) ^ 1;
*((_BYTE *)this + 696) ^= 1u;
if ( v3 )
{
*((_BYTE *)this + 697) = 0;
SetupTriggerPopup::updateSpawnedByTrigger(this);
CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 89), *((_BYTE *)this + 697));
}
return SetupTriggerPopup::updateTouchTriggered(this);
}