//
// GameObject::setScale from 0x640fe0 to 0x641070 (144 bytes)
//
// 46 xrefs:
// > PlayerObject::setScale @ 0x620e54
// > RingObject::setScale @ 0x74a948
// > ParticleGameObject::setScale @ 0x755768
// > ??> @ 0x84fc0
// > ??> @ 0x1153550
// > ??> @ 0x1153d20
// > ??> @ 0x1154520
// > ??> @ 0x1161ed0
// > ??> @ 0x11626d0
// > ??> @ 0x1162ed0
// > ??> @ 0x11636d0
// > ??> @ 0x1163ed0
// > ??> @ 0x11646d0
// > ??> @ 0x1164ed0
// > ??> @ 0x11656d0
// > ??> @ 0x11666a0
// > ??> @ 0x1167ea0
// > ??> @ 0x11686e0
// > ??> @ 0x1168ee0
// > ??> @ 0x11696e0
// > ??> @ 0x1169ee0
// > ??> @ 0x116aef0
// > ??> @ 0x116b6f0
// > ??> @ 0x116bef0
// > ??> @ 0x116c6f0
// > ??> @ 0x116cef0
// > ??> @ 0x116d6f0
// > ??> @ 0x116def0
// > ??> @ 0x116e6f0
// > ??> @ 0x116eef0
// > ??> @ 0x116f6f0
// > ??> @ 0x116fef0
// > ??> @ 0x11706f0
// > ??> @ 0x1170ef0
// > ??> @ 0x11716f0
// > ??> @ 0x1171ef0
// > ??> @ 0x11726f0
// > ??> @ 0x1172ef0
// > ??> @ 0x11736f0
// > ??> @ 0x1173ef0
// > ??> @ 0x11746f0
// > ??> @ 0x1174ef0
// > ??> @ 0x11756f0
// > ??> @ 0x1175ef0
// > ??> @ 0x11766f0
// > ??> @ 0x1176f10
//
// 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; // x0
cocos2d::CCSprite *m_colorSprite; // x0
cocos2d::CCParticleSystemQuad *m_particle; // x0
a1->m_isOrientedBoxDirty = 1;
CCSpritePlus::setScale(a1, a2);
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
m_glowSprite->setScale(m_glowSprite, a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite && !a1->m_colorSpriteLocked )
m_colorSprite->setScale(m_colorSprite, a2);
m_particle = a1->m_particle;
if ( m_particle )
{
if ( !a1->m_isParticleSpriteLocked )
m_particle->setScale(m_particle, a2);
}
}