//
// GameObject::setRotationY from 0x140295270 to 0x14029536e (254 bytes)
//
// 49 xrefs:
// > ??> @ 0x1407547e8
// > ??> @ 0x140754f68
// > ??> @ 0x14075e330
// > ??> @ 0x14075ea38
// > ??> @ 0x1407d4948
// > ??> @ 0x14081f570
// > ??> @ 0x14081fdb8
// > ??> @ 0x140820510
// > ??> @ 0x140820bc8
// > ??> @ 0x140821330
// > ??> @ 0x1408219e8
// > ??> @ 0x1408220c8
// > ??> @ 0x140822780
// > ??> @ 0x140823090
// > ??> @ 0x1408237d8
// > ??> @ 0x140823e90
// > ??> @ 0x140824688
// > ??> @ 0x140824d40
// > ??> @ 0x1408253f8
// > ??> @ 0x140825c68
// > ??> @ 0x140826460
// > ??> @ 0x140826c08
// > ??> @ 0x140827338
// > ??> @ 0x1408279f0
// > ??> @ 0x140828148
// > ??> @ 0x140828990
// > ??> @ 0x140829048
// > ??> @ 0x1408297c8
// > ??> @ 0x140829f48
// > ??> @ 0x14082a600
// > ??> @ 0x14082acb8
// > ??> @ 0x14082b6c8
// > ??> @ 0x14082bdf8
// > ??> @ 0x14082c4b0
// > ??> @ 0x14082cb68
// > ??> @ 0x14082d220
// > ??> @ 0x14082d9f0
// > ??> @ 0x14082e198
// > ??> @ 0x14082e850
// > ??> @ 0x14082ef08
// > ??> @ 0x14082f5c0
// > ??> @ 0x14082fc78
// > ??> @ 0x140830330
// > ??> @ 0x1408309e8
// > ??> @ 0x140831208
// > ??> @ 0x140831988
// > ??> @ 0x1408af18c
// > ??> @ 0x1408af19c
// > ??> @ 0x14091d4b0
//
// This function is hookable on this platform (idp: pc, 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:29:10 +0000
//
void __fastcall GameObject::setRotationY(__int64 a1, float a2)
{
unsigned int i; // edi
struct cocos2d::CCObject *v4; // rax
__int64 v5; // rcx
__int64 v6; // rcx
__int64 v7; // rcx
if ( *(float *)(a1 + 60) != a2 )
{
*(_WORD *)(a1 + 872) = 257;
*(_BYTE *)(a1 + 848) = 1;
cocos2d::CCSprite::setRotationY((cocos2d::CCSprite *)a1, a2);
if ( *(_BYTE *)(a1 + 616) )
{
for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)); ++i )
{
v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), i);
(*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v4 + 384LL))(v4);
}
}
v5 = *(_QWORD *)(a1 + 752);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 384LL))(v5);
v6 = *(_QWORD *)(a1 + 896);
if ( v6 && !*(_BYTE *)(a1 + 874) )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 384LL))(v6);
v7 = *(_QWORD *)(a1 + 776);
if ( v7 )
{
if ( !*(_BYTE *)(a1 + 1072) )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 384LL))(v7);
}
}
}