//
// GameObject::setScaleX from 0x640ec0 to 0x640f50 (144 bytes)
//
// 48 xrefs:
// > PlayerObject::setScaleX @ 0x620e4c
// > ParticleGameObject::setScaleX @ 0x7556d0
// > ??> @ 0xa4dc0
// > ??> @ 0x1153530
// > ??> @ 0x1153d00
// > ??> @ 0x1154500
// > ??> @ 0x1161eb0
// > ??> @ 0x11626b0
// > ??> @ 0x1162eb0
// > ??> @ 0x11636b0
// > ??> @ 0x1163eb0
// > ??> @ 0x11646b0
// > ??> @ 0x1164eb0
// > ??> @ 0x11656b0
// > ??> @ 0x1166680
// > ??> @ 0x1166e80
// > ??> @ 0x1167680
// > ??> @ 0x1167e80
// > ??> @ 0x11686c0
// > ??> @ 0x1168ec0
// > ??> @ 0x11696c0
// > ??> @ 0x1169ec0
// > ??> @ 0x116a6c0
// > ??> @ 0x116aed0
// > ??> @ 0x116b6d0
// > ??> @ 0x116bed0
// > ??> @ 0x116c6d0
// > ??> @ 0x116ced0
// > ??> @ 0x116d6d0
// > ??> @ 0x116ded0
// > ??> @ 0x116e6d0
// > ??> @ 0x116eed0
// > ??> @ 0x116f6d0
// > ??> @ 0x116fed0
// > ??> @ 0x11706d0
// > ??> @ 0x1170ed0
// > ??> @ 0x11716d0
// > ??> @ 0x1171ed0
// > ??> @ 0x11726d0
// > ??> @ 0x1172ed0
// > ??> @ 0x11736d0
// > ??> @ 0x1173ed0
// > ??> @ 0x11746d0
// > ??> @ 0x1174ed0
// > ??> @ 0x11756d0
// > ??> @ 0x1175ed0
// > ??> @ 0x11766d0
// > ??> @ 0x1176ef0
//
// 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::setScaleX(GameObject *a1, float a2)
{
cocos2d::CCSprite *m_glowSprite; // x0
cocos2d::CCSprite *m_colorSprite; // x0
cocos2d::CCParticleSystemQuad *m_particle; // x0
a1->m_isOrientedBoxDirty = 1;
CCSpritePlus::setScaleX(a1, a2);
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
m_glowSprite->setScaleX(m_glowSprite, a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite && !a1->m_colorSpriteLocked )
m_colorSprite->setScaleX(m_colorSprite, a2);
m_particle = a1->m_particle;
if ( m_particle )
{
if ( !a1->m_isParticleSpriteLocked )
m_particle->setScaleX(m_particle, a2);
}
}