//
// cocos2d::CCParticleSystem::updateEmissionRate from 0x10019475c to 0x100194784 (40 bytes)
//
// 2 xrefs:
// > ??> @ 0x1007a8628
// > ??> @ 0x1007cf5c8
//
// 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)
{
__n128 v1; // q0
float m_fLife; // s1
m_fLife = a1->m_fLife;
v1.n128_u32[0] = -1.0;
if ( m_fLife > 0.0 )
v1.n128_f32[0] = (float)a1->m_uTotalParticles / m_fLife;
((void (__fastcall *)(cocos2d::CCParticleSystem *, __n128))a1->setEmissionRate)(a1, v1);
}