// // CreateParticlePopup::onCalcEmission from 0x9c4578 to 0x9c4624 (172 bytes) // // 3 xrefs: // > @ 0x811b0 // > CreateParticlePopup::createParticleSlider @ 0x9c3f88 // > @ 0x122c598 // // 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; // s8 float v4; // s8 float v5; // s0 v3 = a1->m_particle->getLife(a1->m_particle); 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); }
GD Web Decomp Icon

GD Web Decomp

Raw Source