//
// cocos2d::CCSprite::setRotationX from 0x1002d5638 to 0x1002d56ac (116 bytes)
//
// 27 xrefs:
// > CCSpritePlus::setRotationX @ 0x10024da20
// > ??> @ 0x1008ae9e8
// > ??> @ 0x1008bfee8
// > ??> @ 0x1008c0840
// > ??> @ 0x1008c1a50
// > ??> @ 0x1008c4018
// > ??> @ 0x1008c7a68
// > ??> @ 0x1008d42d8
// > ??> @ 0x1008dfde0
// > ??> @ 0x1008eeb50
// > ??> @ 0x100903ec8
// > ??> @ 0x100904490
// > ??> @ 0x1009106b8
// > ??> @ 0x1009118c8
// > ??> @ 0x10091ca88
// > ??> @ 0x10091fa90
// > ??> @ 0x100920590
// > ??> @ 0x100921e10
// > ??> @ 0x1009223d8
// > ??> @ 0x10093cab8
// > ??> @ 0x100942300
// > ??> @ 0x1009428c8
// > ??> @ 0x1009445f8
// > ??> @ 0x100944b90
// > ??> @ 0x100963a18
// > ??> @ 0x100969e30
// > ??> @ 0x10098c818
//
// 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::setRotationX(__int64 a1)
{
__int64 result; // x0
result = cocos2d::CCNode::setRotationX();
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;
}