//
// cocos2d::extension::CCControlSlider::setMaximumValue from 0x7a9560 to 0x7a9592 (50 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::setMaximumValue(
cocos2d::extension::CCControlSlider *this,
float a2)
{
float v2; // s14
float v3; // r3
int v5; // r1
v2 = *((float *)this + 90);
v3 = *(float *)this;
*((float *)this + 91) = a2;
*((float *)this + 93) = a2;
v5 = *((_DWORD *)this + 89);
if ( a2 <= v2 )
*((float *)this + 90) = a2 - 1.0;
return (*(int (__fastcall **)(cocos2d::extension::CCControlSlider *, int))(LODWORD(v3) + 680))(this, v5);
}