//
// cocos2d::CCRotateBy::update from 0x5b600a to 0x5b606e (100 bytes)
//
// 0 xrefs:
//
// 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::CCRotateBy::update(cocos2d::CCRotateBy *a1, float a2)
{
cocos2d::CCNode *m_pTarget; // r0
cocos2d::CCNode_vtbl *v4; // r3
void (*setRotation)(void); // r3
m_pTarget = a1->m_pTarget;
if ( m_pTarget )
{
v4 = m_pTarget->__vftable;
if ( (float)(*(float *)&a1[1].m_uID + (float)(a2 * *(float *)&a1[1].__vftable)) == (float)(*(float *)&a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag
+ (float)(a2 * *(float *)&a1[1].m_nLuaID)) )
{
setRotation = (void (*)(void))v4->setRotation;
}
else
{
((void (*)(void))v4->setRotationX)();
setRotation = (void (*)(void))a1->m_pTarget->setRotationY;
}
setRotation();
}
}