//
// cocos2d::extension::CCControlHuePicker::setEnabled from 0x100357080 to 0x1003570c1 (65 bytes)
//
// 1 xrefs:
// > ??> @ 0x100917000
//
// 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 cocos2d::extension::CCControlHuePicker::setEnabled(cocos2d::extension::CCControlHuePicker *a1, bool a2)
{
cocos2d::CCSprite *m_slider; // rdi
__int64 v4; // rsi
cocos2d::extension::CCControl::setEnabled(a1, a2);
m_slider = a1->m_slider;
if ( m_slider )
{
v4 = 128;
if ( a2 )
v4 = 255;
((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_slider->setOpacity)(m_slider, v4);
}
}