//
// GameObject::setRRotation from 0x140197d70 to 0x140197df4 (132 bytes)
//
// 47 xrefs:
// > ??> @ 0x1405568d0
// > ??> @ 0x140557040
// > ??> @ 0x14055e078
// > ??> @ 0x14055e6f8
// > ??> @ 0x1405c8790
// > ??> @ 0x14060d920
// > ??> @ 0x14060e270
// > ??> @ 0x14060e990
// > ??> @ 0x14060f1c8
// > ??> @ 0x14060f870
// > ??> @ 0x14060ff40
// > ??> @ 0x1406105f8
// > ??> @ 0x140610d40
// > ??> @ 0x1406115a0
// > ??> @ 0x140611cd8
// > ??> @ 0x1406124c0
// > ??> @ 0x140612b68
// > ??> @ 0x140613210
// > ??> @ 0x140613980
// > ??> @ 0x140614028
// > ??> @ 0x140614810
// > ??> @ 0x140615048
// > ??> @ 0x140615790
// > ??> @ 0x140615e38
// > ??> @ 0x140616580
// > ??> @ 0x140616d40
// > ??> @ 0x1406173e8
// > ??> @ 0x140617a90
// > ??> @ 0x140618200
// > ??> @ 0x1406188a8
// > ??> @ 0x140618ff0
// > ??> @ 0x140619a90
// > ??> @ 0x14061a138
// > ??> @ 0x14061a7e0
// > ??> @ 0x14061af00
// > ??> @ 0x14061b5a8
// > ??> @ 0x14061bcf0
// > ??> @ 0x14061c488
// > ??> @ 0x14061cb30
// > ??> @ 0x14061d1d8
// > ??> @ 0x14061d880
// > ??> @ 0x14061df28
// > ??> @ 0x14061e5d0
// > ??> @ 0x14061ec78
// > ??> @ 0x14061f488
// > ??> @ 0x14061fc20
// > ??> @ 0x1406cbad8
//
// 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 GameObject::setRRotation(GameObject *a1, float a2)
{
GameObject_vtbl *v3; // rax
v3 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
if ( (float)(a1->m_startRotationX + a1->m_rotationXOffset) == (float)(a1->m_rotationYOffset + a1->m_startRotationY) )
{
((void (*)(void))v3->setRotation)();
}
else
{
((void (*)(void))v3->setRotationX)();
((void (__fastcall *)(GameObject *))a1->setRotationY)(a1);
}
}