//
// SetupPulsePopup::updateTargetID from 0x1003aea50 to 0x1003aeac6 (118 bytes)
//
// 0 xrefs:
//
// 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 __fastcall SetupPulsePopup::updateTargetID(SetupPulsePopup *a1)
{
EffectGameObject *m_gameObject; // rdi
cocos2d::CCArray *m_gameObjects; // rdi
unsigned int v4; // r14d
EffectGameObject *v5; // rax
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
EffectGameObject::setTargetID(m_gameObject, a1->m_targetGroupID);
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) )
{
v4 = 0;
do
{
v5 = (EffectGameObject *)sub_1007200C0(a1->m_gameObjects, v4);
EffectGameObject::setTargetID(v5, a1->m_targetGroupID);
++v4;
}
while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) );
}
}
}