//
// GameObject::setScale from 0x352d46 to 0x352d92 (76 bytes)
//
// 3 xrefs:
// > PlayerObject::setScale @ 0x33bf6c
// > RingObject::setScale @ 0x3e0dd8
// > ParticleGameObject::setScale @ 0x3e7858
//
// 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::setScale(GameObject *a1, float a2)
{
cocos2d::CCSprite *m_glowSprite; // r0
cocos2d::CCSprite *m_colorSprite; // r0
cocos2d::CCParticleSystemQuad *m_particle; // r0
a1->m_isOrientedBoxDirty = 1;
CCSpritePlus::setScale(a1, a2);
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))m_glowSprite->setScale)(m_glowSprite, LODWORD(a2));
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite && !a1->m_colorSpriteLocked )
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))m_colorSprite->setScale)(m_colorSprite, LODWORD(a2));
m_particle = a1->m_particle;
if ( m_particle )
{
if ( !a1->m_isParticleSpriteLocked )
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, _DWORD))m_particle->setScale)(m_particle, LODWORD(a2));
}
}