//
// cocos2d::CCProgressTimer::setMidpoint from 0x5d7070 to 0x5d70be (78 bytes)
//
// 0 xrefs:
//
// 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)
{
float x; // r8
int v4; // r2
bool v5; // r3
cocos2d::CCPoint v6; // [sp+4h] [bp-14h] BYREF
cocos2d::CCPoint v7; // [sp+Ch] [bp-Ch] BYREF
x = a2.x;
cocos2d::CCPoint::CCPoint(&v6, 1.0, 1.0);
cocos2d::ccpClamp(&v7, (const cocos2d::CCPoint *)LODWORD(x), &stru_AC8D8C, &v6);
cocos2d::CCPoint::operator=(&a1->m_tMidpoint, &v7.x, v4, v5);
}