//
// cocos2d::CCRotateBy::update from 0xd30964 to 0xd309f0 (140 bytes)
//
// 2 xrefs:
// > ??> @ 0x76de0
// > ??> @ 0x1513c88
//
// 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:20 +0000
//
__int64 *__fastcall cocos2d::CCRotateBy::update(cocos2d::CCRotateBy *this, float a2)
{
__int64 *result; // x0
__int64 v4; // x1
float v5; // s8
result = *((__int64 **)this + 8);
if ( result )
{
v4 = *result;
v5 = *((float *)this + 26) + (float)(*((float *)this + 25) * a2);
if ( (float)(*((float *)this + 24) + (float)(*((float *)this + 23) * a2)) == v5 )
{
return (__int64 *)(*(__int64 (**)(void))(v4 + 360))();
}
else
{
(*(void (**)(void))(v4 + 376))();
return (__int64 *)(*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 8) + 392LL))(
*((_QWORD *)this + 8),
v5);
}
}
return result;
}