//
// cocos2d::CCRotateBy::update from 0x1800379f0 to 0x180037a5a (106 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800ef658
// > ??> @ 0x18014cf68
// > ??> @ 0x1801babe8
//
// 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 11:21:35 +0000
//
void __fastcall cocos2d::CCRotateBy::update(cocos2d::CCRotateBy *this, float a2)
{
__int64 *v3; // rcx
__int64 v4; // rax
v3 = *((__int64 **)this + 8);
if ( v3 )
{
v4 = *v3;
if ( (float)((float)(a2 * *((float *)this + 24)) + *((float *)this + 25)) == (float)((float)(a2
* *((float *)this + 26))
+ *((float *)this + 27)) )
{
(*(void (**)(void))(v4 + 352))();
}
else
{
(*(void (**)(void))(v4 + 368))();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 8) + 384LL))(*((_QWORD *)this + 8));
}
}
}