// // CreateParticlePopup::onCalcEmission from 0x531cf0 to 0x531d72 (130 bytes) // // 0 xrefs: // // 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 CreateParticlePopup::onCalcEmission(CreateParticlePopup *a1, cocos2d::CCObject *a2) { float v3; // s16 float v4; // s16 float v5; // s15 v3 = COERCE_FLOAT( ((int (__fastcall *)(cocos2d::CCParticleSystemQuad *, cocos2d::CCObject *))a1->m_particle->getLife)( a1->m_particle, a2)); v4 = v3 + a1->m_particle->getLifeVar(a1->m_particle); if ( v4 <= 0.0 ) v5 = -1.0; else v5 = (float)a1->m_particle->getTotalParticles(a1->m_particle) / v4; CreateParticlePopup::updateParticleValueForType(a1, v5, Emission, nullptr); CreateParticlePopup::updateSliderForType(a1, Emission); CreateParticlePopup::updateInputNodeStringForType(a1, Emission); cocos2d::CCParticleSystem::resetSystem(a1->m_particle); }