//
// lerp from 0x866b40 to 0x866ba8 (104 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::updateCamera @ 0x87ede4
// > GJBaseGameLayer::updateCamera @ 0x87f0a4
// > GJBaseGameLayer::updateCamera @ 0x87f408
// > GJBaseGameLayer::updateCamera @ 0x87f50c
// > ??> @ 0x82248
//
// 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
//
float __usercall lerp@(
const cocos2d::CCPoint *a1@,
const cocos2d::CCPoint *a2@,
float a3@,
cocos2d::CCPoint *a4@)
{
float result; // s0
cocos2d::CCPoint::CCPoint(a4);
result = a1->y + (float)((float)(a2->y - a1->y) * a3);
a4->x = a1->x + (float)((float)(a2->x - a1->x) * a3);
a4->y = result;
return result;
}