//
// cocos2d::CCSprite::setRotation from 0x1002d55c4 to 0x1002d5638 (116 bytes)
//
// 27 xrefs:
// > CCSpritePlus::setRotation @ 0x10024d9a8
// > ??> @ 0x1008ae9d8
// > ??> @ 0x1008bfed8
// > ??> @ 0x1008c0830
// > ??> @ 0x1008c1a40
// > ??> @ 0x1008c4008
// > ??> @ 0x1008c7a58
// > ??> @ 0x1008d42c8
// > ??> @ 0x1008dfdd0
// > ??> @ 0x1008eeb40
// > ??> @ 0x100903eb8
// > ??> @ 0x100904480
// > ??> @ 0x1009106a8
// > ??> @ 0x1009118b8
// > ??> @ 0x10091ca78
// > ??> @ 0x10091fa80
// > ??> @ 0x100920580
// > ??> @ 0x100921e00
// > ??> @ 0x1009223c8
// > ??> @ 0x10093caa8
// > ??> @ 0x1009422f0
// > ??> @ 0x1009428b8
// > ??> @ 0x1009445e8
// > ??> @ 0x100944b80
// > ??> @ 0x100963a08
// > ??> @ 0x100969e20
// > ??> @ 0x10098c808
//
// This function is hookable on this platform (idp: arm, 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:02:40 +0000
//
__int64 __fastcall cocos2d::CCSprite::setRotation(__int64 a1)
{
__int64 result; // x0
result = cocos2d::CCNode::setRotation();
if ( *(_QWORD *)(a1 + 368) && (*(_BYTE *)(a1 + 377) & 1) == 0 )
{
*(_BYTE *)(a1 + 377) = 1;
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1200LL))(a1, 1);
if ( *(_BYTE *)(a1 + 378) == 1 )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1232LL))(a1, 1);
}
return result;
}