//
// cocos2d::CCSprite::setRotation from 0xb1690c to 0xb16980 (116 bytes)
//
// 31 xrefs:
// > CCSpritePlus::setRotation @ 0x5a8170
// > ??> @ 0x452b8
// > ??> @ 0x1136048
// > ??> @ 0x11365f8
// > ??> @ 0x1137378
// > ??> @ 0x11394c8
// > ??> @ 0x113ccd8
// > ??> @ 0x113d2f8
// > ??> @ 0x113e728
// > ??> @ 0x11431f8
// > ??> @ 0x1144b48
// > ??> @ 0x11450e8
// > ??> @ 0x1149528
// > ??> @ 0x1153028
// > ??> @ 0x1159878
// > ??> @ 0x1178e18
// > ??> @ 0x11793a8
// > ??> @ 0x1192438
// > ??> @ 0x1194128
// > ??> @ 0x11a0cf8
// > ??> @ 0x11a1298
// > ??> @ 0x11b01d8
// > ??> @ 0x11b24d8
// > ??> @ 0x11d9c38
// > ??> @ 0x11ed4e8
// > ??> @ 0x11f7238
// > ??> @ 0x1201fd8
// > ??> @ 0x1202568
// > ??> @ 0x12030c8
// > ??> @ 0x1218678
// > ??> @ 0x1219ca8
//
// 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::CCSprite::setRotation(cocos2d::CCSprite *a1, float a2)
{
cocos2d::CCSprite_vtbl *v3; // x2
cocos2d::CCNode::setRotation(a1, a2);
if ( a1->m_pobBatchNode && !a1->m_bRecursiveDirty )
{
v3 = a1->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_bRecursiveDirty = 1;
v3->setDirty(a1, 1);
if ( a1->m_bHasChildren )
a1->setDirtyRecursively(a1, 1);
}
}