//
// lerp from 0x5965aa to 0x5965ee (68 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateCamera @ 0x5b721a
// > GJBaseGameLayer::updateCamera @ 0x5b7c7a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:09 +0000
//
const cocos2d::CCPoint *__fastcall lerp(const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2, float *a3, float a4)
{
cocos2d::CCPoint::CCPoint(a1);
*(float *)a1 = *(float *)a2 + (float)(a4 * (float)(*a3 - *(float *)a2));
*((float *)a1 + 1) = *((float *)a2 + 1) + (float)(a4 * (float)(a3[1] - *((float *)a2 + 1)));
return a1;
}