//
// cocos2d::CCProgressTimer::setMidpoint from 0x10047ec68 to 0x10047ecc4 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x10096dc38
//
// 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 11:05:45 +0000
//
double __fastcall cocos2d::CCProgressTimer::setMidpoint(__int64 a1, float *a2)
{
float v5; // [xsp+0h] [xbp-20h] BYREF
double v6; // [xsp+8h] [xbp-18h] BYREF
sub_1000262BC(&v5, 1.0, 1.0);
cocos2d::ccpClamp(a2, (float *)&dbl_1009F7840, &v5, (float *)&v6);
return sub_10002630C((_QWORD *)(a1 + 376), &v6);
}