//
// cocos2d::CCProgressTimer::setMidpoint from 0x1006065f0 to 0x100606654 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x10097ed18
//
// 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 __fastcall cocos2d::CCProgressTimer::setMidpoint(cocos2d::CCProgressTimer *a1, cocos2d::CCPoint a2)
{
const cocos2d::CCPoint *v2; // rsi
cocos2d::CCPoint v3; // [rsp+0h] [rbp-30h] BYREF
float v4[10]; // [rsp+8h] [rbp-28h] BYREF
sub_10028CBE0(v4, 1.0, 1.0);
cocos2d::ccpClamp(&v3, v2, (const cocos2d::CCPoint *)&dbl_1009A33E0);
sub_10028CC90(&a1->m_tMidpoint, (double *)&v3);
}