//
// cocos2d::extension::CCControlSlider::setValue from 0xd0fc04 to 0xd0fc68 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x936e8
// > ??> @ 0x150c6e0
//
// 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:02 +0000
//
__int64 __fastcall cocos2d::extension::CCControlSlider::setValue(cocos2d::extension::CCControlSlider *this, float a2)
{
__int64 v3; // x1
if ( *((float *)this + 119) > a2 )
a2 = *((float *)this + 119);
if ( a2 > *((float *)this + 120) )
a2 = *((float *)this + 120);
v3 = *(_QWORD *)this;
*((float *)this + 118) = a2;
(*(void (__fastcall **)(cocos2d::extension::CCControlSlider *))(v3 + 1312))(this);
return (*(__int64 (__fastcall **)(cocos2d::extension::CCControlSlider *, __int64))(*(_QWORD *)this + 1320LL))(
this,
256);
}