//
// SetupPulsePopup::colorValueChanged from 0x8ed4d0 to 0x8ed564 (148 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SetupPulsePopup::colorValueChanged @ 0x8ed568
// > ??> @ 0x74fa0
// > ??> @ 0x11a48d0
//
// 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)
{
cocos2d::CCSprite *m_currentColorSprite; // x2
cocos2d::ccColor3B *p_m_currentColor; // [xsp+20h] [xbp+20h]
cocos2d::ccColor3B ColorValue; // 0:w0.3
if ( a1->m_currentColorSprite )
{
p_m_currentColor = &a1->m_currentColor;
ColorValue = SetupPulsePopup::getColorValue(a1);
a1->m_currentColor.r = ColorValue.r;
m_currentColorSprite = a1->m_currentColorSprite;
p_m_currentColor->g = ColorValue.g;
p_m_currentColor->b = ColorValue.b;
((void (__fastcall *)(cocos2d::CCSprite *))m_currentColorSprite->setColor)(m_currentColorSprite);
a1->m_originalColorSprite->setColor(a1->m_originalColorSprite, &a1->m_originalColor);
SetupPulsePopup::updateColorValue(a1);
SetupPulsePopup::updateColorLabels(a1);
}
}