//
// SetupTriggerPopup::updateTouchTriggered from 0x541cc2 to 0x541d08 (70 bytes)
//
// 2 xrefs:
// > SetupTriggerPopup::onTouchTriggered @ 0x541d7c
// > SetupTriggerPopup::onSpawnedByTrigger @ 0x541d98
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupTriggerPopup::updateTouchTriggered(SetupTriggerPopup *a1)
{
EffectGameObject *m_gameObject; // r4
int v3; // r0
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_isTouchTriggered = a1->m_touchTriggered;
}
else if ( a1->m_gameObjects )
{
while ( (unsigned int)m_gameObject < cocos2d::CCArray::count(a1->m_gameObjects) )
{
v3 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)m_gameObject);
m_gameObject = (EffectGameObject *)((char *)m_gameObject + 1);
*(_BYTE *)(v3 + 1284) = a1->m_touchTriggered;
}
}
SetupTriggerPopup::updateMultiTriggerBtn(a1);
}