//
// SetupPulsePopup::updateColorValue from 0x1003b7558 to 0x1003b75dc (132 bytes)
//
// 1 xrefs:
// > SetupPulsePopup::colorValueChanged @ 0x1003b7538
//
// 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::updateColorValue(SetupPulsePopup *a1)
{
EffectGameObject *m_gameObject; // x8
__int16 v3; // w9
cocos2d::CCArray *m_gameObjects; // x0
unsigned int v5; // w20
__int64 v6; // x0
__int16 v7; // w8
if ( !a1->m_colorInitializing )
{
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
v3 = *(_WORD *)&a1->m_currentColor.r;
m_gameObject->m_triggerTargetColor.b = a1->m_currentColor.b;
*(_WORD *)&m_gameObject->m_triggerTargetColor.r = v3;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects && (unsigned int)sub_10024A36C((__int64)m_gameObjects) )
{
v5 = 0;
do
{
v6 = sub_10024A388((__int64)a1->m_gameObjects, v5);
v7 = *(_WORD *)&a1->m_currentColor.r;
*(_BYTE *)(v6 + 1450) = a1->m_currentColor.b;
*(_WORD *)(v6 + 1448) = v7;
++v5;
}
while ( v5 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) );
}
}
}
}