//
// cocos2d::extension::CCControlSlider::setValue from 0x18000a380 to 0x18000a3c9 (73 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800284f0
// > ??> @ 0x180032408
// > ??> @ 0x18004ba5c
//
// 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:15:37 +0000
//
void __fastcall cocos2d::extension::CCControlSlider::setValue(cocos2d::extension::CCControlSlider *this, float a2)
{
__int64 v3; // rax
v3 = *(_QWORD *)this;
*((float *)this + 118) = fminf(*((float *)this + 120), fmaxf(*((float *)this + 119), a2));
(*(void (**)(void))(v3 + 1080))();
(*(void (__fastcall **)(cocos2d::extension::CCControlSlider *, __int64))(*(_QWORD *)this + 1088LL))(this, 256);
}