//
// cocos2d::CCSprite::setRotationY from 0x1002d56ac to 0x1002d5720 (116 bytes)
//
// 27 xrefs:
// > CCSpritePlus::setRotationY @ 0x10024da98
// > ??> @ 0x1008ae9f8
// > ??> @ 0x1008bfef8
// > ??> @ 0x1008c0850
// > ??> @ 0x1008c1a60
// > ??> @ 0x1008c4028
// > ??> @ 0x1008c7a78
// > ??> @ 0x1008d42e8
// > ??> @ 0x1008dfdf0
// > ??> @ 0x1008eeb60
// > ??> @ 0x100903ed8
// > ??> @ 0x1009044a0
// > ??> @ 0x1009106c8
// > ??> @ 0x1009118d8
// > ??> @ 0x10091ca98
// > ??> @ 0x10091faa0
// > ??> @ 0x1009205a0
// > ??> @ 0x100921e20
// > ??> @ 0x1009223e8
// > ??> @ 0x10093cac8
// > ??> @ 0x100942310
// > ??> @ 0x1009428d8
// > ??> @ 0x100944608
// > ??> @ 0x100944ba0
// > ??> @ 0x100963a28
// > ??> @ 0x100969e40
// > ??> @ 0x10098c828
//
// 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::setRotationY(__int64 a1)
{
__int64 result; // x0
result = cocos2d::CCNode::setRotationY();
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;
}