//
// SetupPulsePopup::updateCopyColor from 0x1003b7198 to 0x1003b7204 (108 bytes)
//
// 3 xrefs:
// > SetupPulsePopup::onUpdateCopyColor @ 0x1003b67c4
// > SetupPulsePopup::colorSelectClosed @ 0x1003b7080
// > SetupPulsePopup::textChanged @ 0x1003b7a68
//
// 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::updateCopyColor(SetupPulsePopup *a1)
{
EffectGameObject *m_gameObject; // x8
cocos2d::CCArray *m_gameObjects; // x0
unsigned int v4; // w20
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_copyColorID = a1->m_copyColorID;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects && (unsigned int)sub_10024A36C((__int64)m_gameObjects) )
{
v4 = 0;
do
*(_DWORD *)(sub_10024A388((__int64)a1->m_gameObjects, v4++) + 1628) = a1->m_copyColorID;
while ( v4 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) );
}
}
}