//
// cocos2d::CCActionTween::update from 0x1008888e0 to 0x100888942 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba6738
//
// This function is hookable on this platform (idp: pc, 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:37:00 +0000
//
__int64 __fastcall cocos2d::CCActionTween::update(__int64 a1, float a2)
{
int v4; // esi
__int64 v5; // rdi
double v6; // xmm0_8
__int64 v8; // rax
v4 = *(_DWORD *)(a1 + 120);
v5 = *(_QWORD *)(a1 + 64);
*(_QWORD *)&v6 = *(unsigned int *)(a1 + 128);
*(float *)&v6 = *(float *)&v6 - (float)((float)(1.0 - a2) * *(float *)(a1 + 132));
if ( v4 )
return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 888LL))(v5, *(float *)&v6);
if ( (*(_BYTE *)(a1 + 96) & 1) != 0 )
v8 = *(_QWORD *)(a1 + 112);
else
v8 = a1 + 97;
return (*(__int64 (__fastcall **)(__int64, __int64, double))(*(_QWORD *)v5 + 880LL))(v5, v8, v6);
}