//
// cocos2d::extension::CCControl::setEnabled from 0x10023af60 to 0x10023af80 (32 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCControlHuePicker::setEnabled @ 0x100244c70
// > cocos2d::extension::CCControlSaturationBrightnessPicker::setEnabled @ 0x100253a34
// > ??> @ 0x100905688
// > ??> @ 0x100906ad0
//
// This function is hookable on this platform (idp: arm, 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 11:01:21 +0000
//
__int64 __fastcall cocos2d::extension::CCControl::setEnabled(__int64 a1, int a2)
{
int v2; // w8
*(_BYTE *)(a1 + 433) = a2;
if ( a2 )
v2 = 1;
else
v2 = 4;
*(_DWORD *)(a1 + 428) = v2;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1312LL))(a1);
}