//
// cocos2d::CCSprite::setRotationX from 0xd87e5c to 0xd87ed0 (116 bytes)
//
// 32 xrefs:
// > CCSpritePlus::setRotationX @ 0x6c851c
// > ??> @ 0x71140
// > ??> @ 0x1413758
// > ??> @ 0x1413d18
// > ??> @ 0x1414ac8
// > ??> @ 0x1417338
// > ??> @ 0x141b1f8
// > ??> @ 0x141b828
// > ??> @ 0x141cca8
// > ??> @ 0x1421e88
// > ??> @ 0x1423848
// > ??> @ 0x1423df8
// > ??> @ 0x14243c8
// > ??> @ 0x1428da8
// > ??> @ 0x1433c18
// > ??> @ 0x143a188
// > ??> @ 0x145af38
// > ??> @ 0x145b4d8
// > ??> @ 0x14775c8
// > ??> @ 0x1479678
// > ??> @ 0x1486ad8
// > ??> @ 0x1487088
// > ??> @ 0x1496df8
// > ??> @ 0x1499348
// > ??> @ 0x14c1c78
// > ??> @ 0x14d9678
// > ??> @ 0x150ca98
// > ??> @ 0x1517958
// > ??> @ 0x1517ef8
// > ??> @ 0x1518a78
// > ??> @ 0x152e4d8
// > ??> @ 0x152fcd8
//
// 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::setRotationX(cocos2d::CCSprite *this, float a2)
{
__int64 result; // x0
__int64 v4; // x2
cocos2d::CCNode::setRotationX((__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;
}