//
// cocos2d::extension::CCControlSlider::setMaximumValue from 0x100389bc0 to 0x100389c06 (70 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b2d158
//
// 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::setMaximumValue(float *a1, float a2)
{
a1[120] = a2;
a1[122] = a2;
if ( a1[119] >= a2 )
a1[119] = a2 + -1.0;
return (*(__int64 (__fastcall **)(float *, float))(*(_QWORD *)a1 + 1360LL))(a1, a1[118]);
}