//
// cocos2d::extension::CCControlSlider::setMaximumValue from 0x18000a410 to 0x18000a44f (63 bytes)
//
// 2 xrefs:
// > ??> @ 0x180028500
// > ??> @ 0x180032408
//
// 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::setMaximumValue(
cocos2d::extension::CCControlSlider *this,
float a2)
{
float v2; // xmm0_4
v2 = *((float *)this + 119);
*((float *)this + 120) = a2;
*((float *)this + 122) = a2;
if ( v2 >= a2 )
*((float *)this + 119) = a2 - 1.0;
(*(void (**)(void))(*(_QWORD *)this + 1128LL))();
}