//
// cocos2d::CCParticleSystem::updateEmissionRate from 0x100227a2c to 0x100227a54 (40 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008fee28
// > ??> @ 0x100928088
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:01:11 +0000
//
__int64 __fastcall cocos2d::CCParticleSystem::updateEmissionRate(__int64 a1, __n128 a2)
{
float v2; // s1
v2 = *(float *)(a1 + 480);
a2.n128_u32[0] = -1.0;
if ( v2 > 0.0 )
a2.n128_f32[0] = (float)*(unsigned int *)(a1 + 660) / v2;
return (*(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)a1 + 1488LL))(a1, a2);
}