//
// SetupTriggerPopup::updateSpawnedByTrigger from 0xb1bab4 to 0xb1bb2c (120 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::onTouchTriggered @ 0xb1bb50
// > SetupTriggerPopup::onSpawnedByTrigger @ 0xb1bbb0
// > ??> @ 0xca168
//
// 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::updateSpawnedByTrigger(SetupTriggerPopup *this)
{
__int64 v2; // x0
cocos2d::CCArray *v3; // x0
unsigned int v4; // w20
bool v5; // cf
unsigned int v6; // w1
v2 = *((_QWORD *)this + 85);
if ( v2 )
{
*(_BYTE *)(v2 + 1473) = *((_BYTE *)this + 697);
}
else
{
v3 = *((cocos2d::CCArray **)this + 86);
if ( v3 )
{
v4 = 0;
while ( 1 )
{
v5 = v4 >= (unsigned int)cocos2d::CCArray::count(v3);
v6 = v4++;
if ( v5 )
break;
*(_BYTE *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v6) + 1473) = *((_BYTE *)this + 697);
v3 = *((cocos2d::CCArray **)this + 86);
}
}
}
return SetupTriggerPopup::updateMultiTriggerBtn(this);
}