//
// GameObject::setRotationY from 0x353350 to 0x3533cc (124 bytes)
//
// 1 xrefs:
// > ParticleGameObject::setRotationY @ 0x3e7704
//
// 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 GameObject::setRotationY(GameObject *a1, float a2)
{
cocos2d::CCSprite *m_glowSprite; // r0
cocos2d::CCSprite *m_colorSprite; // r0
cocos2d::CCParticleSystemQuad *m_particle; // r0
if ( a1->m_fRotationY != a2 )
{
a1->m_isObjectRectDirty = 1;
a1->m_isOrientedBoxDirty = 1;
a1->m_isDirty = 1;
CCSpritePlus::setRotationY(a1, a2);
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))m_glowSprite->setRotationY)(m_glowSprite, LODWORD(a2));
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite && !a1->m_colorSpriteLocked )
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))m_colorSprite->setRotationY)(m_colorSprite, LODWORD(a2));
m_particle = a1->m_particle;
if ( m_particle )
{
if ( !a1->m_particleLocked )
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, _DWORD))m_particle->setRotationY)(
m_particle,
LODWORD(a2));
}
}
}