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