//
// SetupTriggerPopup::updateMultiTriggerBtn from 0x676e76 to 0x676eb2 (60 bytes)
//
// 5 xrefs:
// > ColorSelectPopup::init @ 0x4e06e4
// > SetupPulsePopup::init @ 0x5ee218
// > SetupTriggerPopup::updateTouchTriggered @ 0x676ef4
// > SetupTriggerPopup::updateSpawnedByTrigger @ 0x676f3a
// > SetupTriggerPopup::createMultiTriggerItems @ 0x67993c
//
// 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::updateMultiTriggerBtn(unsigned int this)
{
unsigned int v1; // r4
unsigned int i; // r5
int v3; // r0
v1 = this;
if ( *(_DWORD *)(this + 548) )
{
for ( i = 0; ; ++i )
{
this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v1 + 548));
if ( i >= this )
break;
v3 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v1 + 548), i);
(*(void (__fastcall **)(int))(*(_DWORD *)v3 + 172))(v3);
}
}
return this;
}