//
// cocos2d::CCProgressTimer::setMidpoint from 0xaf7f18 to 0xaf7fa8 (144 bytes)
//
// 2 xrefs:
// > ??> @ 0x41688
// > ??> @ 0x1211868
//
// 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
//
void cocos2d::CCProgressTimer::setMidpoint(cocos2d::CCProgressTimer *a1, cocos2d::CCPoint a2)
{
cocos2d *v2; // x1
cocos2d *v4; // [xsp+38h] [xbp+38h]
cocos2d::CCPoint v5; // [xsp+48h] [xbp+48h] BYREF
float v6; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint v7; // 0:kr00_8.8
v4 = v2;
cocos2d::CCPoint::CCPoint(&v5, 1.0, 1.0);
v7 = cocos2d::ccpClamp((const cocos2d::CCPoint *)v4, &stru_1245508, &v5);
cocos2d::CCPoint::operator=(&a1->m_tMidpoint, v7.x, v7.y, &v6);
}