//
// SetupPulsePopup::updateTargetID from 0x4bdb62 to 0x4bdba6 (68 bytes)
//
// 4 xrefs:
// > SetupPulsePopup::colorSelectClosed @ 0x4bdcc8
// > SetupPulsePopup::textChanged @ 0x4bdda0
// > SetupPulsePopup::onSelectTargetMode @ 0x4be324
// > SetupPulsePopup::onUpdateCustomColor @ 0x4be3ae
//
// 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 SetupPulsePopup::updateTargetID(SetupPulsePopup *a1)
{
EffectGameObject *m_gameObject; // r0
unsigned int i; // r4
EffectGameObject *v4; // r0
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
EffectGameObject::setTargetID(m_gameObject, a1->m_targetGroupID);
}
else if ( a1->m_gameObjects )
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); ++i )
{
v4 = (EffectGameObject *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i);
EffectGameObject::setTargetID(v4, a1->m_targetGroupID);
}
}
}