//
// GameObject::setRotationY from 0x10025b4a0 to 0x10025b550 (176 bytes)
//
// 47 xrefs:
// > ParticleGameObject::setRotationY @ 0x1003819c8
// > ??> @ 0x1007c3d30
// > ??> @ 0x1007cfa00
// > ??> @ 0x1007d01e8
// > ??> @ 0x1007d09f8
// > ??> @ 0x1007f5268
// > ??> @ 0x1007f5aa0
// > ??> @ 0x1007f6298
// > ??> @ 0x1007f6a90
// > ??> @ 0x1007f7288
// > ??> @ 0x1007f7a80
// > ??> @ 0x1007f8278
// > ??> @ 0x1007f8a70
// > ??> @ 0x1007f9a68
// > ??> @ 0x1007fa2d0
// > ??> @ 0x1007faae0
// > ??> @ 0x1007fb2f0
// > ??> @ 0x1007fbb00
// > ??> @ 0x1007fc310
// > ??> @ 0x1007fcb20
// > ??> @ 0x1007fd330
// > ??> @ 0x1007fdb40
// > ??> @ 0x1007fe350
// > ??> @ 0x1007feb60
// > ??> @ 0x1007ff388
// > ??> @ 0x1007ffbe0
// > ??> @ 0x100800408
// > ??> @ 0x100800c30
// > ??> @ 0x100801458
// > ??> @ 0x100801c80
// > ??> @ 0x100802490
// > ??> @ 0x100802ca0
// > ??> @ 0x1008034b0
// > ??> @ 0x100803cc0
// > ??> @ 0x1008044d0
// > ??> @ 0x100804ce0
// > ??> @ 0x1008054f0
// > ??> @ 0x100805d00
// > ??> @ 0x100806510
// > ??> @ 0x100806d20
// > ??> @ 0x100807530
// > ??> @ 0x100807d40
// > ??> @ 0x100808550
// > ??> @ 0x100808d60
// > ??> @ 0x100809570
// > ??> @ 0x100809d80
// > ??> @ 0x1008160a0
//
// 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; // x0
cocos2d::CCSprite *m_colorSprite; // x0
cocos2d::CCParticleSystemQuad *m_particle; // x0
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);
}
}
}