//
// cocos2d::ccpClamp from 0x7f6432 to 0x7f6464 (50 bytes)
//
// 1 xrefs:
// > cocos2d::CCProgressTimer::setMidpoint @ 0x7df44e
//
// 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:01:09 +0000
//
cocos2d *__fastcall cocos2d::ccpClamp(
cocos2d *this,
cocos2d **a2,
const cocos2d::CCPoint *a3,
const cocos2d::CCPoint *a4)
{
cocos2d *v8; // r8
float v9; // r3
cocos2d *v10; // r0
v8 = cocos2d::clampf(*a2, *(float *)a3, *(float *)a4, *(float *)&a4);
v10 = cocos2d::clampf(a2[1], *((float *)a3 + 1), *((float *)a4 + 1), v9);
cocos2d::CCPoint::CCPoint((float *)this, *(float *)&v8, *(float *)&v10);
return this;
}