//
// GameObject::setScaleX from 0x1005bc1f0 to 0x1005bc27a (138 bytes)
//
// 47 xrefs:
// > ParticleGameObject::setScaleX @ 0x1001b27d0
// > PlayerObject::setScaleX @ 0x10041d575
// > ??> @ 0x1008c40e8
// > ??> @ 0x1008c4920
// > ??> @ 0x1008c5118
// > ??> @ 0x1008c5910
// > ??> @ 0x1008c6108
// > ??> @ 0x1008c6900
// > ??> @ 0x1008c70f8
// > ??> @ 0x1008c78f0
// > ??> @ 0x1008c88e8
// > ??> @ 0x1008c9160
// > ??> @ 0x1008c9970
// > ??> @ 0x1008ca180
// > ??> @ 0x1008ca990
// > ??> @ 0x1008cb1a0
// > ??> @ 0x1008cb9b0
// > ??> @ 0x1008cc1c0
// > ??> @ 0x1008cc9d0
// > ??> @ 0x1008cd1e0
// > ??> @ 0x1008cd9f0
// > ??> @ 0x1008ce218
// > ??> @ 0x1008cea70
// > ??> @ 0x1008cf298
// > ??> @ 0x1008cfac0
// > ??> @ 0x1008d02e8
// > ??> @ 0x1008d0b10
// > ??> @ 0x1008d1320
// > ??> @ 0x1008d1b30
// > ??> @ 0x1008d2340
// > ??> @ 0x1008d2b50
// > ??> @ 0x1008d3360
// > ??> @ 0x1008d3b70
// > ??> @ 0x1008d4380
// > ??> @ 0x1008d4b90
// > ??> @ 0x1008d53a0
// > ??> @ 0x1008d5bb0
// > ??> @ 0x1008d63c0
// > ??> @ 0x1008d6bd0
// > ??> @ 0x1008d73e0
// > ??> @ 0x1008d7bf0
// > ??> @ 0x1008d8400
// > ??> @ 0x1008d8c10
// > ??> @ 0x1009233b8
// > ??> @ 0x100971468
// > ??> @ 0x100971c50
// > ??> @ 0x100972460
//
// 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 __fastcall GameObject::setScaleX(GameObject *a1, float a2)
{
cocos2d::CCSprite *m_glowSprite; // rdi
cocos2d::CCSprite *m_colorSprite; // rdi
cocos2d::CCParticleSystemQuad *m_particle; // rdi
a1->m_isOrientedBoxDirty = 1;
CCSpritePlus::setScaleX(a1, a2);
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_glowSprite->setScaleX)(m_glowSprite, a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite && !a1->m_colorSpriteLocked )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_colorSprite->setScaleX)(m_colorSprite, a2);
m_particle = a1->m_particle;
if ( m_particle )
{
if ( !a1->m_isParticleSpriteLocked )
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float))m_particle->setScaleX)(m_particle, a2);
}
}