//
// cocos2d::CCJumpBy::update from 0xd323e4 to 0xd32544 (352 bytes)
//
// 3 xrefs:
// > ??> @ 0x4f1e0
// > ??> @ 0x1513f58
// > ??> @ 0x1513fe8
//
// 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 13:07:21 +0000
//
__int64 __fastcall cocos2d::CCJumpBy::update(cocos2d::CCJumpBy *this, float a2)
{
float v4; // s0
const cocos2d::CCPoint *v5; // x0
long double v6; // q0
float v8; // [xsp+60h] [xbp+60h]
float v9; // [xsp+70h] [xbp+70h]
_BYTE v10[8]; // [xsp+88h] [xbp+88h] BYREF
__int64 v11; // [xsp+90h] [xbp+90h] BYREF
__int64 v12; // [xsp+98h] [xbp+98h] BYREF
__int64 v13; // [xsp+A0h] [xbp+A0h] BYREF
if ( *((_QWORD *)this + 8) )
{
v4 = fmodf((float)*((unsigned int *)this + 28) * a2, 1.0);
v8 = a2 * *((float *)this + 25);
v9 = (float)(a2 * *((float *)this + 26))
+ (float)((float)((float)(*((float *)this + 27) * 4.0) * v4) * (float)(1.0 - v4));
v5 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 8) + 192LL))(*((_QWORD *)this + 8));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, v5);
cocos2d::CCPoint::operator-(&v11, v10, (char *)this + 116, v6);
cocos2d::CCPoint::operator+(&v13, &v11);
cocos2d::CCPoint::operator=((char *)this + 92, &v13);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, v8, v9);
cocos2d::CCPoint::operator+(&v12, (char *)this + 92);
(*(void (__fastcall **)(_QWORD, __int64 *))(**((_QWORD **)this + 8) + 184LL))(*((_QWORD *)this + 8), &v12);
cocos2d::CCPoint::operator=((char *)this + 116, &v12);
}
return _stack_chk_guard;
}