//
// cocos2d::extension::CCControl::setEnabled from 0x1001a5ff0 to 0x1001a6010 (32 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCControlHuePicker::setEnabled @ 0x1001afb84
// > cocos2d::extension::CCControlSaturationBrightnessPicker::setEnabled @ 0x1001bdfac
// > ??> @ 0x1007ae298
// > ??> @ 0x1007af5a0
//
// 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::CCControl::setEnabled(cocos2d::extension::CCControl *a1, bool a2)
{
cocos2d::CCControlState v2; // w8
a1->m_bEnabled = a2;
if ( a2 )
v2 = 1;
else
v2 = 4;
a1->m_eState = v2;
((void (__fastcall *)(cocos2d::extension::CCControl *))a1->needsLayout)(a1);
}