//
// lerp from 0x9a924c to 0x9a92b4 (104 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::updateCamera @ 0x9e4e44
// > GJBaseGameLayer::updateCamera @ 0x9e50e4
// > GJBaseGameLayer::updateCamera @ 0x9e5448
// > GJBaseGameLayer::updateCamera @ 0x9e554c
// > ??> @ 0xad110
//
// This function is hookable on this platform (idp: arm, 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:58:11 +0000
//
float __usercall lerp@(
const cocos2d::CCPoint *a1@,
const cocos2d::CCPoint *a2@,
float a3@,
float *a4@)
{
float result; // s0
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a4);
*a4 = *(float *)a1 + (float)((float)(*(float *)a2 - *(float *)a1) * a3);
result = *((float *)a1 + 1) + (float)((float)(*((float *)a2 + 1) - *((float *)a1 + 1)) * a3);
a4[1] = result;
return result;
}