//
// cocos2d::CCParticleSystem::updateEmissionRate from 0x1007c8af0 to 0x1007c8b38 (72 bytes)
//
// 13 xrefs:
// > ??> @ 0x10093d7c0
// > ??> @ 0x10093de80
// > ??> @ 0x10093e540
// > ??> @ 0x10093ec00
// > ??> @ 0x10093f2c0
// > ??> @ 0x10093f980
// > ??> @ 0x100940040
// > ??> @ 0x100940700
// > ??> @ 0x100940dc0
// > ??> @ 0x100941480
// > ??> @ 0x100941b40
// > ??> @ 0x10097e660
// > ??> @ 0x1009967d8
//
// 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 cocos2d::CCParticleSystem::updateEmissionRate(cocos2d::CCParticleSystem *a1)
{
float m_fLife; // xmm1_4
m_fLife = a1->m_fLife;
if ( m_fLife <= 0.0 )
((void (__fastcall *)(cocos2d::CCParticleSystem *, float))a1->setEmissionRate)(a1, -1.0);
else
((void (__fastcall *)(cocos2d::CCParticleSystem *, float))a1->setEmissionRate)(
a1,
(float)(int)a1->m_uTotalParticles / m_fLife);
}