//
// SetupTriggerPopup::onSpawnedByTrigger from 0xb1bb70 to 0xb1bbb4 (68 bytes)
//
// 5 xrefs:
// > ??> @ 0x92680
// > ColorSelectPopup::init @ 0x865af0
// > SetupPulsePopup::init @ 0xa47da4
// > SetupTriggerPopup::createMultiTriggerItems @ 0xb1e488
// > ??> @ 0x1543ed8
//
// 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::onSpawnedByTrigger(SetupTriggerPopup *this, cocos2d::CCObject *a2)
{
int v3; // w1
v3 = *((unsigned __int8 *)this + 697) ^ 1;
*((_BYTE *)this + 697) ^= 1u;
if ( v3 )
{
*((_BYTE *)this + 696) = 0;
SetupTriggerPopup::updateTouchTriggered(this);
CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 88), *((_BYTE *)this + 696));
}
return SetupTriggerPopup::updateSpawnedByTrigger(this);
}