//
// GameObject::setRotationY from 0x641a5c to 0x641b10 (180 bytes)
//
// 48 xrefs:
// > ParticleGameObject::setRotationY @ 0x755528
// > ??> @ 0x95f88
// > ??> @ 0x1152858
// > ??> @ 0x1153628
// > ??> @ 0x1153df8
// > ??> @ 0x11545f8
// > ??> @ 0x1161fa8
// > ??> @ 0x11627a8
// > ??> @ 0x1162fa8
// > ??> @ 0x11637a8
// > ??> @ 0x1163fa8
// > ??> @ 0x11647a8
// > ??> @ 0x1164fa8
// > ??> @ 0x11657a8
// > ??> @ 0x1166778
// > ??> @ 0x1166f78
// > ??> @ 0x1167778
// > ??> @ 0x1167f78
// > ??> @ 0x11687b8
// > ??> @ 0x1168fb8
// > ??> @ 0x11697b8
// > ??> @ 0x1169fb8
// > ??> @ 0x116a7b8
// > ??> @ 0x116afc8
// > ??> @ 0x116b7c8
// > ??> @ 0x116bfc8
// > ??> @ 0x116c7c8
// > ??> @ 0x116cfc8
// > ??> @ 0x116d7c8
// > ??> @ 0x116dfc8
// > ??> @ 0x116e7c8
// > ??> @ 0x116efc8
// > ??> @ 0x116f7c8
// > ??> @ 0x116ffc8
// > ??> @ 0x11707c8
// > ??> @ 0x1170fc8
// > ??> @ 0x11717c8
// > ??> @ 0x1171fc8
// > ??> @ 0x11727c8
// > ??> @ 0x1172fc8
// > ??> @ 0x11737c8
// > ??> @ 0x1173fc8
// > ??> @ 0x11747c8
// > ??> @ 0x1174fc8
// > ??> @ 0x11757c8
// > ??> @ 0x1175fc8
// > ??> @ 0x11767c8
// > ??> @ 0x1176fe8
//
// 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; // x0
cocos2d::CCSprite *m_colorSprite; // x0
cocos2d::CCParticleSystemQuad *m_particle; // x0
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 )
m_glowSprite->setRotationY(m_glowSprite, a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite && !a1->m_colorSpriteLocked )
m_colorSprite->setRotationY(m_colorSprite, a2);
m_particle = a1->m_particle;
if ( m_particle )
{
if ( !a1->m_particleLocked )
m_particle->setRotationY(m_particle, a2);
}
}
}