//
// cocos2d::CCSprite::setRotationY from 0xd87ed0 to 0xd87f44 (116 bytes)
//
// 32 xrefs:
// > CCSpritePlus::setRotationY @ 0x6c8588
// > ??> @ 0x4dcc8
// > ??> @ 0x1413768
// > ??> @ 0x1413d28
// > ??> @ 0x1414ad8
// > ??> @ 0x1417348
// > ??> @ 0x141b208
// > ??> @ 0x141b838
// > ??> @ 0x141ccb8
// > ??> @ 0x1421e98
// > ??> @ 0x1423858
// > ??> @ 0x1423e08
// > ??> @ 0x14243d8
// > ??> @ 0x1428db8
// > ??> @ 0x1433c28
// > ??> @ 0x143a198
// > ??> @ 0x145af48
// > ??> @ 0x145b4e8
// > ??> @ 0x14775d8
// > ??> @ 0x1479688
// > ??> @ 0x1486ae8
// > ??> @ 0x1487098
// > ??> @ 0x1496e08
// > ??> @ 0x1499358
// > ??> @ 0x14c1c88
// > ??> @ 0x14d9688
// > ??> @ 0x150caa8
// > ??> @ 0x1517968
// > ??> @ 0x1517f08
// > ??> @ 0x1518a88
// > ??> @ 0x152e4e8
// > ??> @ 0x152fce8
//
// 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::setRotationY(cocos2d::CCSprite *this, float a2)
{
__int64 result; // x0
__int64 v4; // x2
cocos2d::CCNode::setRotationY((__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;
}