//
// cocos2d::CCParticleSystem::updateEmissionRate from 0xafd644 to 0xafd690 (76 bytes)
//
// 14 xrefs:
// > ??> @ 0xc1db8
// > ??> @ 0x12121b8
// > ??> @ 0x1212868
// > ??> @ 0x1212f18
// > ??> @ 0x12135c8
// > ??> @ 0x1213c78
// > ??> @ 0x1214328
// > ??> @ 0x12149d8
// > ??> @ 0x1215088
// > ??> @ 0x1215738
// > ??> @ 0x1215de8
// > ??> @ 0x1216498
// > ??> @ 0x1216b88
// > ??> @ 0x1217658
//
// 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 cocos2d::CCParticleSystem::updateEmissionRate(cocos2d::CCParticleSystem *a1)
{
float m_fLife; // s1
m_fLife = a1->m_fLife;
if ( m_fLife <= 0.0 )
a1->setEmissionRate(a1, -1.0);
else
a1->setEmissionRate(a1, (float)a1->m_uTotalParticles / m_fLife);
}