//
// cocos2d::extension::CCControl::setEnabled from 0x10033dda0 to 0x10033ddc8 (40 bytes)
//
// 8 xrefs:
// > cocos2d::extension::CCControlButton::setEnabled @ 0x10033f649
// > cocos2d::extension::CCControlHuePicker::setEnabled @ 0x10034279c
// > cocos2d::extension::CCControlPotentiometer::setEnabled @ 0x1003462ac
// > cocos2d::extension::CCControlSaturationBrightnessPicker::setEnabled @ 0x100351b9c
// > cocos2d::extension::CCControlSlider::setEnabled @ 0x100389adc
// > ??> @ 0x100b1d870
// > ??> @ 0x100b1e7b0
// > ??> @ 0x100b2f620
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:42 +0000
//
__int64 __fastcall cocos2d::extension::CCControl::setEnabled(__int64 a1, unsigned __int8 a2)
{
*(_BYTE *)(a1 + 433) = a2;
*(_DWORD *)(a1 + 428) = 3 * (a2 ^ 1) + 1;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1312LL))(a1);
}