//
// ParticleGameObject::setScale from 0x1404a10e0 to 0x1404a1151 (113 bytes)
//
// 4 xrefs:
// > ??> @ 0x14060d4a0
// > ??> @ 0x1406a7ae4
// > ??> @ 0x1406a7af4
// > ??> @ 0x1406dc65c
//
// 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 ParticleGameObject::setScale(ParticleGameObject *a1, float a2)
{
cocos2d::CCParticleSystemQuad *m_particle; // rdi
float v4; // xmm0_4
GameObject::setScale(a1, a2);
if ( a1->m_isParticleSpriteLocked )
{
m_particle = a1->m_particle;
if ( m_particle )
{
v4 = a1->getRotation(a1);
ParticleGameObject::updateParticleAngle(a1, v4, m_particle);
cocos2d::CCParticleSystem::loadScaledDefaults(a1->m_particle, fabs(a2));
}
}
}