//
// cocos2d::extension::CCControlSlider::setEnabled from 0x100389ad0 to 0x100389b11 (65 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b2d0e8
//
// 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:29:11 +0000
//
__int64 __fastcall cocos2d::extension::CCControlSlider::setEnabled(__int64 a1, unsigned __int8 a2)
{
__int64 result; // rax
__int64 v4; // rdi
__int64 v5; // rsi
result = cocos2d::extension::CCControl::setEnabled(a1, a2);
v4 = *(_QWORD *)(a1 + 496);
if ( v4 )
{
v5 = 128;
if ( a2 )
v5 = 255;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 912LL))(v4, v5);
}
return result;
}