//
// SetupPulsePopup::colorValueChanged from 0x4bdb00 to 0x4bdb5a (90 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupPulsePopup::colorValueChanged @ 0x4bdb5e
//
// 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::colorValueChanged(SetupPulsePopup *a1, cocos2d::ccColor3B a2)
{
int v3; // r0
GLubyte v4; // r3
cocos2d::CCSprite *m_currentColorSprite; // r0
if ( a1->m_currentColorSprite )
{
*(cocos2d::ccColor3B *)&v3 = SetupPulsePopup::getColorValue(a1);
a1->m_currentColor.r = v3;
v4 = BYTE1(v3);
a1->m_currentColor.b = BYTE2(v3);
m_currentColorSprite = a1->m_currentColorSprite;
a1->m_currentColor.g = v4;
m_currentColorSprite->setColor(m_currentColorSprite, &a1->m_currentColor);
a1->m_originalColorSprite->setColor(a1->m_originalColorSprite, &a1->m_originalColor);
SetupPulsePopup::updateColorValue(a1);
SetupPulsePopup::updateColorLabels(a1);
}
}