//
// cocos2d::ccpLerp from 0x1003418f0 to 0x100341957 (103 bytes)
//
// 2 xrefs:
// > cocos2d::CCProgressTimer::updateRadial @ 0x1006dc668
// > cocos2d::CCProgressTimer::updateRadial @ 0x1006dc6a2
//
// 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:28:43 +0000
//
double *__fastcall cocos2d::ccpLerp(double *a1, unsigned __int64 *a2, unsigned __int64 *a3, float a4)
{
__m128 v6; // xmm0
unsigned __int64 v8; // [rsp+Ch] [rbp-34h] BYREF
unsigned __int64 v9; // [rsp+14h] [rbp-2Ch] BYREF
float v10; // [rsp+1Ch] [rbp-24h]
v10 = a4;
v6 = (__m128)0x3F800000u;
v6.f32[0] = 1.0 - a4;
sub_1002783B0((double *)&v8, a2, v6);
sub_1002783B0((double *)&v9, a3, (__m128)LODWORD(v10));
sub_100278350(a1, &v8, &v9);
return a1;
}