//
// GameObject::setRotationY from 0x1005bc0b0 to 0x1005bc14f (159 bytes)
//
// 47 xrefs:
// > ParticleGameObject::setRotationY @ 0x1001b2789
// > ??> @ 0x1008c41e0
// > ??> @ 0x1008c4a18
// > ??> @ 0x1008c5210
// > ??> @ 0x1008c5a08
// > ??> @ 0x1008c6200
// > ??> @ 0x1008c69f8
// > ??> @ 0x1008c71f0
// > ??> @ 0x1008c79e8
// > ??> @ 0x1008c89e0
// > ??> @ 0x1008c9258
// > ??> @ 0x1008c9a68
// > ??> @ 0x1008ca278
// > ??> @ 0x1008caa88
// > ??> @ 0x1008cb298
// > ??> @ 0x1008cbaa8
// > ??> @ 0x1008cc2b8
// > ??> @ 0x1008ccac8
// > ??> @ 0x1008cd2d8
// > ??> @ 0x1008cdae8
// > ??> @ 0x1008ce310
// > ??> @ 0x1008ceb68
// > ??> @ 0x1008cf390
// > ??> @ 0x1008cfbb8
// > ??> @ 0x1008d03e0
// > ??> @ 0x1008d0c08
// > ??> @ 0x1008d1418
// > ??> @ 0x1008d1c28
// > ??> @ 0x1008d2438
// > ??> @ 0x1008d2c48
// > ??> @ 0x1008d3458
// > ??> @ 0x1008d3c68
// > ??> @ 0x1008d4478
// > ??> @ 0x1008d4c88
// > ??> @ 0x1008d5498
// > ??> @ 0x1008d5ca8
// > ??> @ 0x1008d64b8
// > ??> @ 0x1008d6cc8
// > ??> @ 0x1008d74d8
// > ??> @ 0x1008d7ce8
// > ??> @ 0x1008d84f8
// > ??> @ 0x1008d8d08
// > ??> @ 0x1009234b0
// > ??> @ 0x100933878
// > ??> @ 0x100971560
// > ??> @ 0x100971d48
// > ??> @ 0x100972558
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GameObject::setRotationY(GameObject *a1, float a2)
{
cocos2d::CCSprite *m_glowSprite; // rdi
cocos2d::CCSprite *m_colorSprite; // rdi
cocos2d::CCParticleSystemQuad *m_particle; // rdi
if ( a1->m_fRotationY != a2 )
{
*(_WORD *)&a1->m_isObjectRectDirty = 257;
a1->m_isDirty = 1;
CCSpritePlus::setRotationY(a1, a2);
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_glowSprite->setRotationY)(m_glowSprite, a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite && !a1->m_colorSpriteLocked )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_colorSprite->setRotationY)(m_colorSprite, a2);
m_particle = a1->m_particle;
if ( m_particle )
{
if ( !a1->m_particleLocked )
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float))m_particle->setRotationY)(m_particle, a2);
}
}
}