//
// GameObject::setScale from 0x1005bc310 to 0x1005bc39a (138 bytes)
//
// 46 xrefs:
// > ParticleGameObject::setScale @ 0x1001b28b0
// > RingObject::setScale @ 0x1001b43a7
// > RingObject::setScale @ 0x1001b43c2
// > PlayerObject::setScale @ 0x10041d595
// > ??> @ 0x1008c4108
// > ??> @ 0x1008c4940
// > ??> @ 0x1008c5138
// > ??> @ 0x1008c5930
// > ??> @ 0x1008c6128
// > ??> @ 0x1008c6920
// > ??> @ 0x1008c7118
// > ??> @ 0x1008c7910
// > ??> @ 0x1008c8908
// > ??> @ 0x1008c9180
// > ??> @ 0x1008c9990
// > ??> @ 0x1008ca1a0
// > ??> @ 0x1008ca9b0
// > ??> @ 0x1008cb1c0
// > ??> @ 0x1008cb9d0
// > ??> @ 0x1008cc1e0
// > ??> @ 0x1008cc9f0
// > ??> @ 0x1008cea90
// > ??> @ 0x1008cf2b8
// > ??> @ 0x1008cfae0
// > ??> @ 0x1008d0308
// > ??> @ 0x1008d0b30
// > ??> @ 0x1008d1340
// > ??> @ 0x1008d1b50
// > ??> @ 0x1008d2360
// > ??> @ 0x1008d2b70
// > ??> @ 0x1008d3380
// > ??> @ 0x1008d3b90
// > ??> @ 0x1008d43a0
// > ??> @ 0x1008d4bb0
// > ??> @ 0x1008d53c0
// > ??> @ 0x1008d5bd0
// > ??> @ 0x1008d63e0
// > ??> @ 0x1008d6bf0
// > ??> @ 0x1008d7400
// > ??> @ 0x1008d7c10
// > ??> @ 0x1008d8420
// > ??> @ 0x1008d8c30
// > ??> @ 0x1009233d8
// > ??> @ 0x100971488
// > ??> @ 0x100971c70
// > ??> @ 0x100972480
//
// 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::setScale(GameObject *a1, float a2)
{
cocos2d::CCSprite *m_glowSprite; // rdi
cocos2d::CCSprite *m_colorSprite; // rdi
cocos2d::CCParticleSystemQuad *m_particle; // rdi
a1->m_isOrientedBoxDirty = 1;
CCSpritePlus::setScale(a1, a2);
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_glowSprite->setScale)(m_glowSprite, a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite && !a1->m_colorSpriteLocked )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_colorSprite->setScale)(m_colorSprite, a2);
m_particle = a1->m_particle;
if ( m_particle )
{
if ( !a1->m_isParticleSpriteLocked )
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float))m_particle->setScale)(m_particle, a2);
}
}