//
// cocos2d::CCRotateBy::update from 0x10021e614 to 0x10021e690 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fbe98
//
// 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 11:01:07 +0000
//
__int64 *__fastcall cocos2d::CCRotateBy::update(__int64 a1, __n128 a2)
{
__int64 *result; // x0
float v4; // s1
float v5; // s8
__int64 v6; // x8
__int64 (__fastcall *v7)(__n128); // x1
result = *(__int64 **)(a1 + 64);
if ( result )
{
v4 = a2.n128_f32[0];
a2.n128_f32[0] = *(float *)(a1 + 96) + (float)(*(float *)(a1 + 92) * a2.n128_f32[0]);
v5 = *(float *)(a1 + 104) + (float)(*(float *)(a1 + 100) * v4);
v6 = *result;
if ( a2.n128_f32[0] == v5 )
{
v7 = *(__int64 (__fastcall **)(__n128))(v6 + 360);
}
else
{
(*(void (**)(void))(v6 + 376))();
v7 = *(__int64 (__fastcall **)(__n128))(**(_QWORD **)(a1 + 64) + 392LL);
a2.n128_f32[0] = v5;
}
return (__int64 *)v7(a2);
}
return result;
}