//
// cocos2d::ccpClamp from 0xd8fc28 to 0xd8fc9c (116 bytes)
//
// 2 xrefs:
// > cocos2d::CCProgressTimer::setMidpoint @ 0xd69034
// > ??> @ 0x69f10
//
// 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:08:18 +0000
//
float *__usercall cocos2d::ccpClamp@(
float *__return_ptr a1@,
cocos2d *this@,
const cocos2d::CCPoint *a3@,
const cocos2d::CCPoint *a4@)
{
float v6; // s8
float v7; // s0
v6 = cocos2d::clampf(this, *(float *)this, *(float *)a3, *(float *)a4);
v7 = cocos2d::clampf(this, *((float *)this + 1), *((float *)a3 + 1), *((float *)a4 + 1));
cocos2d::CCPoint::CCPoint(a1, v6, v7);
return a1;
}