//
// cocos2d::CCSprite::setRotation from 0xd87de8 to 0xd87e5c (116 bytes)
//
// 32 xrefs:
// > CCSpritePlus::setRotation @ 0x6c84b0
// > ??> @ 0x62590
// > ??> @ 0x1413748
// > ??> @ 0x1413d08
// > ??> @ 0x1414ab8
// > ??> @ 0x1417328
// > ??> @ 0x141b1e8
// > ??> @ 0x141b818
// > ??> @ 0x141cc98
// > ??> @ 0x1421e78
// > ??> @ 0x1423838
// > ??> @ 0x1423de8
// > ??> @ 0x14243b8
// > ??> @ 0x1428d98
// > ??> @ 0x1433c08
// > ??> @ 0x143a178
// > ??> @ 0x145af28
// > ??> @ 0x145b4c8
// > ??> @ 0x14775b8
// > ??> @ 0x1479668
// > ??> @ 0x1486ac8
// > ??> @ 0x1487078
// > ??> @ 0x1496de8
// > ??> @ 0x1499338
// > ??> @ 0x14c1c68
// > ??> @ 0x14d9668
// > ??> @ 0x150ca88
// > ??> @ 0x1517948
// > ??> @ 0x1517ee8
// > ??> @ 0x1518a68
// > ??> @ 0x152e4c8
// > ??> @ 0x152fcc8
//
// 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 13:08:13 +0000
//
__int64 __fastcall cocos2d::CCSprite::setRotation(cocos2d::CCSprite *this, float a2)
{
__int64 result; // x0
__int64 v4; // x2
cocos2d::CCNode::setRotation((__int64)this, a2);
result = *((_QWORD *)this + 46);
if ( result )
{
result = *((unsigned __int8 *)this + 377);
if ( !*((_BYTE *)this + 377) )
{
v4 = *(_QWORD *)this;
*((_BYTE *)this + 377) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v4 + 1200))(this, 1);
result = *((unsigned __int8 *)this + 378);
if ( *((_BYTE *)this + 378) )
return (*(__int64 (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1232LL))(this, 1);
}
}
return result;
}