//
// GameObject::setRotationY from 0x76d5c4 to 0x76d678 (180 bytes)
//
// 49 xrefs:
// > ParticleGameObject::setRotationY @ 0x871e4c
// > ??> @ 0xc61f0
// > ??> @ 0x1433428
// > ??> @ 0x1434218
// > ??> @ 0x14349f8
// > ??> @ 0x1435208
// > ??> @ 0x1443568
// > ??> @ 0x1443d78
// > ??> @ 0x1444588
// > ??> @ 0x1444d98
// > ??> @ 0x14455a8
// > ??> @ 0x1445db8
// > ??> @ 0x14465c8
// > ??> @ 0x1446dd8
// > ??> @ 0x1447dc8
// > ??> @ 0x14485d8
// > ??> @ 0x1448de8
// > ??> @ 0x14495f8
// > ??> @ 0x1449e48
// > ??> @ 0x144a658
// > ??> @ 0x144ae68
// > ??> @ 0x144b678
// > ??> @ 0x144be88
// > ??> @ 0x144c6a8
// > ??> @ 0x144ceb8
// > ??> @ 0x144d6c8
// > ??> @ 0x144ded8
// > ??> @ 0x144e6e8
// > ??> @ 0x144eef8
// > ??> @ 0x144f708
// > ??> @ 0x144ff18
// > ??> @ 0x1450728
// > ??> @ 0x1450f38
// > ??> @ 0x1451748
// > ??> @ 0x1451f58
// > ??> @ 0x1452768
// > ??> @ 0x1452f78
// > ??> @ 0x1453788
// > ??> @ 0x1453f98
// > ??> @ 0x14547a8
// > ??> @ 0x1454fb8
// > ??> @ 0x14557c8
// > ??> @ 0x1455fd8
// > ??> @ 0x14567e8
// > ??> @ 0x1456ff8
// > ??> @ 0x1457808
// > ??> @ 0x1458018
// > ??> @ 0x1458828
// > ??> @ 0x1459058
//
// 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 12:53:11 +0000
//
__int64 __fastcall GameObject::setRotationY(__int64 this, float a2)
{
__int64 v2; // x19
__int64 v4; // x0
__int64 v5; // x0
v2 = this;
if ( *(float *)(this + 60) != a2 )
{
*(_BYTE *)(this + 864) = 1;
*(_BYTE *)(this + 865) = 1;
*(_BYTE *)(this + 840) = 1;
CCSpritePlus::setRotationY((cocos2d::CCArray **)this, a2);
v4 = *(_QWORD *)(v2 + 752);
if ( v4 )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 392LL))(v4, a2);
v5 = *(_QWORD *)(v2 + 888);
if ( v5 && !*(_BYTE *)(v2 + 866) )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 392LL))(v5, a2);
this = *(_QWORD *)(v2 + 776);
if ( this )
{
if ( !*(_BYTE *)(v2 + 1064) )
return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)this + 392LL))(this, a2);
}
}
return this;
}