//
// cocos2d::clampf from 0x180097950 to 0x18009796c (28 bytes)
//
// 15 xrefs:
// > cocos2d::CCFollow::step @ 0x180024ae7
// > cocos2d::CCFollow::step @ 0x180024afc
// > cocos2d::CCProgressTimer::initWithSprite @ 0x18006001c
// > cocos2d::CCProgressTimer::setPercentage @ 0x180060289
// > cocos2d::CCParticleSystem::initParticle @ 0x1800683b6
// > cocos2d::CCParticleSystem::initParticle @ 0x1800683e4
// > cocos2d::CCParticleSystem::initParticle @ 0x180068445
// > cocos2d::CCParticleSystem::initParticle @ 0x1800684a0
// > cocos2d::CCParticleSystem::initParticle @ 0x1800684fb
// > cocos2d::CCParticleSystem::initParticle @ 0x18006855a
// > cocos2d::CCParticleSystem::initParticle @ 0x180068581
// > cocos2d::CCParticleSystem::initParticle @ 0x1800685cd
// > cocos2d::CCParticleSystem::initParticle @ 0x180068625
// > cocos2d::CCParticleSystem::initParticle @ 0x180068679
// > ??> @ 0x18014cf68
//
// 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 11:22:10 +0000
//
float __fastcall cocos2d::clampf(cocos2d *this, float a2, float a3, float a4)
{
float v4; // xmm0_4
float v5; // xmm3_4
v5 = a2;
if ( a2 > a3 )
{
v5 = a3;
a3 = a2;
}
if ( v5 <= v4 )
return fminf(v4, a3);
else
return v5;
}