//
// cocos2d::CCProgressTimer::setMidpoint from 0x1006ddfd0 to 0x1006de034 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b923f8
//
// This function is hookable on this platform (idp: pc, 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 12:35:43 +0000
//
_QWORD *__fastcall cocos2d::CCProgressTimer::setMidpoint(__int64 a1, unsigned int *a2)
{
__int64 v3; // [rsp+0h] [rbp-30h] BYREF
float v4[10]; // [rsp+8h] [rbp-28h] BYREF
sub_100278250(v4, 1.0, 1.0);
cocos2d::ccpClamp((float *)&v3, a2, (float *)&qword_100BE6370, v4);
return sub_100278300((_QWORD *)(a1 + 376), &v3);
}