// // CreateParticlePopup::onEmitterMode from 0x9c4f0c to 0x9c4f90 (132 bytes) // // 4 xrefs: // > @ 0x89bc8 // > CreateParticlePopup::init @ 0x9c63e4 // > CreateParticlePopup::init @ 0x9c64f8 // > @ 0x122cad8 // // 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::onEmitterMode(CreateParticlePopup *a1, cocos2d::CCObject *a2) { int v3; // w20 bool v4; // w1 v3 = a2->getTag(a2); CreateParticlePopup::updateParticleValueForType(a1, (float)v3, EmitterMode, nullptr); CCMenuItemToggler::toggle(a1->m_gravityToggler, v3 == 0); CCMenuItemToggler::toggle(a1->m_radiusToggler, v3 == 1); v4 = a1->m_particle->getEmitterMode(a1->m_particle) == 0; CreateParticlePopup::toggleGravityMode(a1, v4); }