//
// cocos2d::CCNode::setRotation from 0x180004f40 to 0x180004f71 (49 bytes)
//
// 70 xrefs:
// > cocos2d::CCParticleSystem::setRotation @ 0x18006b437
// > cocos2d::CCSprite::setRotation @ 0x18008f949
// > ??> @ 0x1800eb570
// > ??> @ 0x1800ebbe0
// > ??> @ 0x1800ebf60
// > ??> @ 0x1800ec8b8
// > ??> @ 0x1800ecdc8
// > ??> @ 0x1800f15e0
// > ??> @ 0x1800f24f0
// > ??> @ 0x1800f31a0
// > ??> @ 0x1800f3680
// > ??> @ 0x1800f3bd8
// > ??> @ 0x1800f4160
// > ??> @ 0x1800f4758
// > ??> @ 0x1800f4c38
// > ??> @ 0x1800f4fd0
// > ??> @ 0x1800f5360
// > ??> @ 0x1800f56f8
// > ??> @ 0x1800f5a88
// > ??> @ 0x1800f5e18
// > ??> @ 0x1800f61c8
// > ??> @ 0x1800f6578
// > ??> @ 0x1800f6928
// > ??> @ 0x1800f6cd8
// > ??> @ 0x1800f7088
// > ??> @ 0x1800f7438
// > ??> @ 0x1800f77e8
// > ??> @ 0x1800f7b98
// > ??> @ 0x1800f7f38
// > ??> @ 0x1800f82d0
// > ??> @ 0x1800f8668
// > ??> @ 0x1800f8a00
// > ??> @ 0x1800f8d98
// > ??> @ 0x1800f9130
// > ??> @ 0x1800f94c8
// > ??> @ 0x1800f9860
// > ??> @ 0x1800f9bf0
// > ??> @ 0x1800f9f90
// > ??> @ 0x1800fa338
// > ??> @ 0x1800fa6e0
// > ??> @ 0x1800faa88
// > ??> @ 0x1800fae30
// > ??> @ 0x1800fb1d8
// > ??> @ 0x1800fb598
// > ??> @ 0x1800fb930
// > ??> @ 0x1800fbcd0
// > ??> @ 0x1800fc070
// > ??> @ 0x1800fc410
// > ??> @ 0x1800fc7b0
// > ??> @ 0x1800fcb50
// > ??> @ 0x1800fcef0
// > ??> @ 0x1800fd290
// > ??> @ 0x1800fd828
// > ??> @ 0x1800fdc60
// > ??> @ 0x1800fe0b8
// > ??> @ 0x1800fe510
// > ??> @ 0x1800fe968
// > ??> @ 0x1800fedd8
// > ??> @ 0x1800ff248
// > ??> @ 0x1800ff6a8
// > ??> @ 0x1800ffa78
// > ??> @ 0x1800ffea8
// > ??> @ 0x1801002c8
// > ??> @ 0x180100708
// > ??> @ 0x18010a4a8
// > ??> @ 0x18010b9f0
// > ??> @ 0x18010bdd0
// > ??> @ 0x18010c238
// > ??> @ 0x18010c698
// > ??> @ 0x18014cf68
//
// 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:18 +0000
//
void __fastcall cocos2d::CCNode::setRotation(cocos2d::CCNode *this, float a2)
{
if ( *((float *)this + 14) != a2 || *((float *)this + 15) != a2 )
{
*((float *)this + 15) = a2;
*((float *)this + 14) = a2;
*((_BYTE *)this + 284) = 1;
*((_BYTE *)this + 273) = 1;
}
}