//
// cocos2d::extension::CCControlPotentiometer::setMinimumValue from 0xd15348 to 0xd1536c (36 bytes)
//
// 1 xrefs:
// > ??> @ 0x9e5f0
//
// This function is hookable on this platform (idp: arm, 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 13:07:05 +0000
//
__int64 __fastcall cocos2d::extension::CCControlPotentiometer::setMinimumValue(
cocos2d::extension::CCControlPotentiometer *this,
float a2)
{
float v3; // s0
v3 = *((float *)this + 126);
*((float *)this + 125) = a2;
if ( a2 >= v3 )
{
v3 = a2 + 1.0;
*((float *)this + 126) = a2 + 1.0;
}
return cocos2d::extension::CCControlPotentiometer::setValue(this, v3);
}