//
// cocos2d::ccpClamp from 0x5eb4ce to 0x5eb500 (50 bytes)
//
// 1 xrefs:
// > cocos2d::CCProgressTimer::setMidpoint @ 0x5d709e
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCPoint *cocos2d::ccpClamp(
cocos2d::CCPoint *__return_ptr retstr,
const cocos2d::CCPoint *a2,
const cocos2d::CCPoint *a3,
const cocos2d::CCPoint *a4)
{
float v8; // r8
float v9; // r0
v8 = cocos2d::clampf(a2->x, a3->x, a4->x);
v9 = cocos2d::clampf(a2->y, a3->y, a4->y);
cocos2d::CCPoint::CCPoint(retstr, v8, v9);
return retstr;
}