//
// cocos2d::CCRotateTo::update from 0x180037a60 to 0x180037aca (106 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800ef5d8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801babf4
//
// 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::CCRotateTo::update(cocos2d::CCRotateTo *this, float a2)
{
__int64 *v3; // rcx
__int64 v4; // rax
v3 = *((__int64 **)this + 8);
if ( v3 )
{
v4 = *v3;
if ( (float)((float)(a2 * *((float *)this + 26)) + *((float *)this + 25)) == (float)((float)(a2
* *((float *)this + 29))
+ *((float *)this + 28)) )
{
(*(void (**)(void))(v4 + 352))();
}
else
{
(*(void (**)(void))(v4 + 368))();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 8) + 384LL))(*((_QWORD *)this + 8));
}
}
}