//
// cocos2d::extension::CCControlHuePicker::setEnabled from 0xa9d728 to 0xa9d774 (76 bytes)
//
// 2 xrefs:
// > ??> @ 0x64590
// > ??> @ 0x11f6050
//
// 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 cocos2d::extension::CCControlHuePicker::setEnabled(cocos2d::extension::CCControlHuePicker *a1, bool a2)
{
_BOOL4 v2; // w19
cocos2d::CCSprite *m_slider; // x0
__int64 v5; // x1
v2 = a2;
cocos2d::extension::CCControl::setEnabled(a1, a2);
m_slider = a1->m_slider;
if ( m_slider )
{
if ( v2 )
v5 = 255;
else
v5 = 128;
m_slider->setOpacity(m_slider, v5);
}
}