//
// cocos2d::extension::CCControlSlider::setValue from 0x7a94e4 to 0x7a952e (74 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:01 +0000
//
int __fastcall cocos2d::extension::CCControlSlider::setValue(cocos2d::extension::CCControlSlider *this, float a2)
{
float v2; // s15
float v4; // r3
v2 = a2;
v4 = *(float *)this;
if ( a2 < *((float *)this + 90) )
v2 = *((float *)this + 90);
if ( v2 > *((float *)this + 91) )
v2 = *((float *)this + 91);
*((float *)this + 89) = v2;
(*(void (**)(void))(LODWORD(v4) + 656))();
return (*(int (__fastcall **)(cocos2d::extension::CCControlSlider *, int))(*(_DWORD *)this + 660))(this, 256);
}