//
// CreateParticlePopup::onEmitterMode from 0x140434de0 to 0x140434e58 (120 bytes)
//
// 3 xrefs:
// > CreateParticlePopup::init @ 0x14042dad2
// > CreateParticlePopup::init @ 0x14042dc12
// > ??> @ 0x1406d9c98
//
// 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; // ebx
int v4; // eax
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);
CreateParticlePopup::toggleGravityMode(a1, v4 == 0);
}