//
// cocos2d::CCRotateTo::update from 0xabebd0 to 0xabec5c (140 bytes)
//
// 2 xrefs:
// > ??> @ 0x68568
// > ??> @ 0x11fe2e8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCRotateTo::update(cocos2d::CCRotateTo *a1, float a2)
{
cocos2d::CCNode *m_pTarget; // x0
cocos2d::CCNode_vtbl *v4; // x1
float v5; // s8
m_pTarget = a1->m_pTarget;
if ( m_pTarget )
{
v4 = m_pTarget->__vftable;
v5 = *(float *)&a1[1].m_nLuaID
+ (float)(*(float *)&a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag
* a2);
if ( (float)(*(float *)&a1[1].__vftable + (float)(*((float *)&a1[1].__vftable + 1) * a2)) == v5 )
{
((void (*)(void))v4->setRotation)();
}
else
{
((void (*)(void))v4->setRotationX)();
a1->m_pTarget->setRotationY(a1->m_pTarget, v5);
}
}
}