//
// cocos2d::extension::CCControlHuePicker::setEnabled from 0xd0f160 to 0xd0f1ac (76 bytes)
//
// 2 xrefs:
// > ??> @ 0x88810
// > ??> @ 0x150b840
//
// 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 13:07:01 +0000
//
__int64 __fastcall cocos2d::extension::CCControlHuePicker::setEnabled(
cocos2d::extension::CCControlHuePicker *this,
unsigned __int8 a2)
{
int v2; // w19
__int64 result; // x0
__int64 v5; // x1
v2 = a2;
cocos2d::extension::CCControl::setEnabled(this, a2);
result = *((_QWORD *)this + 61);
if ( result )
{
if ( v2 )
v5 = 255;
else
v5 = 128;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 912LL))(result, v5);
}
return result;
}