//
// SetupTriggerPopup::updateTouchTriggered from 0x676eb2 to 0x676ef8 (70 bytes)
//
// 2 xrefs:
// > SetupTriggerPopup::onTouchTriggered @ 0x676f6c
// > SetupTriggerPopup::onSpawnedByTrigger @ 0x676f88
//
// 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::updateTouchTriggered(SetupTriggerPopup *this)
{
unsigned int v2; // r4
int v3; // r0
v2 = *((_DWORD *)this + 132);
if ( v2 )
{
*(_BYTE *)(v2 + 1292) = *((_BYTE *)this + 536);
}
else if ( *((_DWORD *)this + 133) )
{
while ( v2 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 133)) )
{
v3 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 133), v2++);
*(_BYTE *)(v3 + 1292) = *((_BYTE *)this + 536);
}
}
return SetupTriggerPopup::updateMultiTriggerBtn((unsigned int)this);
}