//
// lerp from 0x47700c to 0x477050 (68 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateCamera @ 0x48687e
// > GJBaseGameLayer::updateCamera @ 0x487306
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCPoint *__fastcall lerp(cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2, float *a3, float a4)
{
float v9; // s14
cocos2d::CCPoint::CCPoint(a1);
v9 = a3[1];
a1->x = a2->x + (float)(a4 * (float)(*a3 - a2->x));
a1->y = a2->y + (float)(a4 * (float)(v9 - a2->y));
return a1;
}