//
// cocos2d::CCProgressTimer::setMidpoint from 0xd68fd8 to 0xd69068 (144 bytes)
//
// 2 xrefs:
// > ??> @ 0x5dc40
// > ??> @ 0x15275b8
//
// 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:07:55 +0000
//
__int64 __fastcall cocos2d::CCProgressTimer::setMidpoint(__int64 a1, cocos2d *a2)
{
const cocos2d::CCPoint *v3; // x3
float v6; // [xsp+48h] [xbp+48h] BYREF
__int64 v7; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint::CCPoint(&v6, 1.0, 1.0);
cocos2d::ccpClamp(&v7, a2, (const cocos2d::CCPoint *)&unk_15604B0, (const cocos2d::CCPoint *)&v6, v3);
cocos2d::CCPoint::operator=((float *)(a1 + 376), (float *)&v7);
return _stack_chk_guard;
}