//
// cocos2d::CCRotateTo::update from 0x1003a1050 to 0x1003a10ba (106 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b32658
//
// 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:29:20 +0000
//
float *__fastcall cocos2d::CCRotateTo::update(__int64 a1, float a2)
{
float *result; // rax
__int64 *v3; // rdi
float v4; // xmm1_4
__int64 v5; // rcx
float *v6; // rbx
result = (float *)a1;
v3 = *(__int64 **)(a1 + 64);
if ( v3 )
{
v4 = (float)(a2 * result[28]) + result[27];
v5 = *v3;
if ( (float)((float)(result[25] * a2) + result[24]) == v4 )
{
return (float *)(*(__int64 (**)(void))(v5 + 360))();
}
else
{
v6 = result;
(*(void (__fastcall **)(__int64 *))(v5 + 376))(v3);
return (float *)(*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)v6 + 8) + 392LL))(
*((_QWORD *)v6 + 8),
v4);
}
}
return result;
}