//
// cocos2d::extension::CCControlSaturationBrightnessPicker::setEnabled from 0xa9e15c to 0xa9e1a8 (76 bytes)
//
// 2 xrefs:
// > ??> @ 0x39c00
// > ??> @ 0x11f6750
//
// 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::CCControlSaturationBrightnessPicker::setEnabled(
cocos2d::extension::CCControlSaturationBrightnessPicker *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);
}
}