//
// cocos2d::extension::CCControlSlider::setEnabled from 0x1003a0030 to 0x1003a0071 (65 bytes)
//
// 1 xrefs:
// > ??> @ 0x100924b20
//
// 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::CCControlSlider::setEnabled(cocos2d::extension::CCControlSlider *a1, bool a2)
{
__int64 v3; // rdi
__int64 v4; // rsi
cocos2d::extension::CCControl::setEnabled(a1, a2);
v3 = *(_QWORD *)&a1[1].m_uAutoReleaseCount;
if ( v3 )
{
v4 = 128;
if ( a2 )
v4 = 255;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 896LL))(v3, v4);
}
}