//
// cocos2d::extension::CCControl::setEnabled from 0x100352690 to 0x1003526b8 (40 bytes)
//
// 8 xrefs:
// > cocos2d::extension::CCControlButton::setEnabled @ 0x100353f39
// > cocos2d::extension::CCControlHuePicker::setEnabled @ 0x10035708c
// > cocos2d::extension::CCControlPotentiometer::setEnabled @ 0x10035ad1c
// > cocos2d::extension::CCControlSaturationBrightnessPicker::setEnabled @ 0x10036878c
// > cocos2d::extension::CCControlSlider::setEnabled @ 0x1003a003c
// > ??> @ 0x100915a20
// > ??> @ 0x100916920
// > ??> @ 0x100926f88
//
// 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)
{
a1->m_bEnabled = a2;
a1->m_eState = 3 * !a2 + 1;
((void (__fastcall *)(cocos2d::extension::CCControl *))a1->needsLayout)(a1);
}