//
// SetupPulsePopup::updateColorValue from 0x4bd8ac to 0x4bd914 (104 bytes)
//
// 1 xrefs:
// > SetupPulsePopup::colorValueChanged @ 0x4bdb46
//
// 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::updateColorValue(SetupPulsePopup *a1)
{
EffectGameObject *m_gameObject; // r3
GLubyte g; // r1
GLubyte b; // r2
EffectGameObject *v5; // r5
_BYTE *v6; // r0
GLubyte v7; // r2
GLubyte v8; // r3
if ( !a1->m_colorInitializing )
{
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
g = a1->m_currentColor.g;
b = a1->m_currentColor.b;
m_gameObject->m_triggerTargetColor.r = a1->m_currentColor.r;
m_gameObject->m_triggerTargetColor.g = g;
m_gameObject->m_triggerTargetColor.b = b;
}
else if ( a1->m_gameObjects )
{
v5 = a1->m_gameObject;
while ( (unsigned int)v5 < cocos2d::CCArray::count(a1->m_gameObjects) )
{
v6 = (_BYTE *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)v5);
v7 = a1->m_currentColor.g;
v5 = (EffectGameObject *)((char *)v5 + 1);
v8 = a1->m_currentColor.b;
v6[1260] = a1->m_currentColor.r;
v6[1261] = v7;
v6[1262] = v8;
}
}
}
}