//
// cocos2d::extension::CCControlHuePicker::setEnabled from 0x1001afb70 to 0x1001afbc0 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007b03c0
//
// 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)
{
_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;
((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_slider->setOpacity)(m_slider, v5);
}
}