{"type": "func", "start": 5448584, "end": 5448676, "name": "CreateParticlePopup::onEmitterMode", "pseudocode": "// \n// CreateParticlePopup::onEmitterMode from 0x532388 to 0x5323e4 (92 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CreateParticlePopup::onEmitterMode(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  int v3; // r5\n  unsigned int v4; // r1\n\n  v3 = a2->getTag(a2);\n  CreateParticlePopup::updateParticleValueForType(a1, (float)v3, EmitterMode, nullptr);\n  CCMenuItemToggler::toggle(a1->m_gravityToggler, v3 == 0);\n  CCMenuItemToggler::toggle(a1->m_radiusToggler, v3 == 1);\n  v4 = __clz(a1->m_particle->getEmitterMode(a1->m_particle));\n  CreateParticlePopup::toggleGravityMode(a1, v4 >> 5);\n}", "assembly": "; \n; CreateParticlePopup::onEmitterMode from 0x532388 to 0x5323e4 (92 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x532388\nMOV             R4, R0                                                 ; +0x2, 0x53238a\nLDR             R3, [R1]                                               ; +0x4, 0x53238c\nMOV             R0, R1                                                 ; +0x6, 0x53238e\nLDR             R3, [R3,#0x20]                                         ; +0x8, 0x532390\nBLX             R3                                                     ; +0xa, 0x532392\nMOVS            R2, #0x3E ; '>'                                        ; +0xc, 0x532394\nMOVS            R3, #0                                                 ; +0xe, 0x532396\nMOV             R5, R0                                                 ; +0x10, 0x532398\nMOV             R0, R4                                                 ; +0x12, 0x53239a\nVMOV            S15, R5                                                ; +0x14, 0x53239c\nVCVT.F32.S32    S15, S15                                               ; +0x18, 0x5323a0\nVMOV            R1, S15                                                ; +0x1c, 0x5323a4\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x20, 0x5323a8\nCLZ.W           R1, R5                                                 ; +0x24, 0x5323ac\nLDR.W           R0, [R4,#0x264]; this                                  ; +0x28, 0x5323b0\nLSRS            R1, R1, #5; bool                                       ; +0x2c, 0x5323b4\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x2e, 0x5323b6\nSUBS            R3, R5, #1                                             ; +0x32, 0x5323ba\nNEGS            R1, R3                                                 ; +0x34, 0x5323bc\nLDR.W           R0, [R4,#0x268]; this                                  ; +0x36, 0x5323be\nADCS            R1, R3; bool                                           ; +0x3a, 0x5323c2\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x3c, 0x5323c4\nLDR.W           R0, [R4,#0x20C]                                        ; +0x40, 0x5323c8\nLDR             R3, [R0]                                               ; +0x44, 0x5323cc\nLDR.W           R3, [R3,#0x314]                                        ; +0x46, 0x5323ce\nBLX             R3                                                     ; +0x4a, 0x5323d2\nCLZ.W           R1, R0                                                 ; +0x4c, 0x5323d4\nMOV             R0, R4; this                                           ; +0x50, 0x5323d8\nPOP.W           {R3-R5,LR}                                             ; +0x52, 0x5323da\nLSRS            R1, R1, #5; bool                                       ; +0x56, 0x5323de\nB.W             _ZN19CreateParticlePopup17toggleGravityModeEb; CreateParticlePopup::toggleGravityMode(bool) ; +0x58, 0x5323e0", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}