{"type": "func", "start": 11537896, "end": 11538068, "name": "CreateParticlePopup::onCalcEmission", "pseudocode": "// \n// CreateParticlePopup::onCalcEmission from 0xb00de8 to 0xb00e94 (172 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xabca0\n// > CreateParticlePopup::createParticleSlider @ 0xb00854\n// > <???> @ 0x1544dc8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:01:20 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::onCalcEmission(CreateParticlePopup *this, cocos2d::CCObject *a2)\n{\n  float v3; // s8\n  long double v4; // q0\n  float v5; // s8\n\n  v3 = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 89) + 968LL))(*((_QWORD *)this + 89));\n  v5 = v3 + (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 89) + 984LL))(*((_QWORD *)this + 89));\n  if ( v5 <= 0.0 )\n    LODWORD(v4) = -1.0;\n  else\n    *(float *)&v4 = (float)(*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 89) + 1496LL))(*((_QWORD *)this + 89))\n                  / v5;\n  CreateParticlePopup::updateParticleValueForType((__int64)this, 5u, nullptr, v4);\n  CreateParticlePopup::updateSliderForType((cocos2d::CCArray **)this, 5u);\n  CreateParticlePopup::updateInputNodeStringForType((__int64)this, 5u);\n  return cocos2d::CCParticleSystem::resetSystem(*((cocos2d::CCParticleSystem **)this + 89));\n}", "assembly": "; \n; CreateParticlePopup::onCalcEmission from 0xb00de8 to 0xb00e94 (172 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xabca0\n; > CreateParticlePopup::createParticleSlider @ 0xb00854\n; > <???> @ 0x1544dc8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:01:20 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xb00de8\nMOV             X29, SP                                                ; +0x4, 0xb00dec\nSTR             X19, [SP,#var_s10]                                     ; +0x8, 0xb00df0\nMOV             X19, X0                                                ; +0xc, 0xb00df4\nSTR             D8, [SP,#var_s18]                                      ; +0x10, 0xb00df8\nLDR             X1, [X0,#0x2C8]                                        ; +0x14, 0xb00dfc\nMOV             X0, X1                                                 ; +0x18, 0xb00e00\nLDR             X1, [X1]                                               ; +0x1c, 0xb00e04\nLDR             X1, [X1,#0x3C8]                                        ; +0x20, 0xb00e08\nBLR             X1                                                     ; +0x24, 0xb00e0c\nLDR             X1, [X19,#0x2C8]                                       ; +0x28, 0xb00e10\nFMOV            S8, S0                                                 ; +0x2c, 0xb00e14\nMOV             X0, X1                                                 ; +0x30, 0xb00e18\nLDR             X1, [X1]                                               ; +0x34, 0xb00e1c\nLDR             X1, [X1,#0x3D8]                                        ; +0x38, 0xb00e20\nBLR             X1                                                     ; +0x3c, 0xb00e24\nFADD            S8, S8, S0                                             ; +0x40, 0xb00e28\nFCMPE           S8, #0.0                                               ; +0x44, 0xb00e2c\nB.LE            loc_B00E8C                                             ; +0x48, 0xb00e30\nLDR             X1, [X19,#0x2C8]                                       ; +0x4c, 0xb00e34\nMOV             X0, X1                                                 ; +0x50, 0xb00e38\nLDR             X1, [X1]                                               ; +0x54, 0xb00e3c\nLDR             X1, [X1,#0x5D8]                                        ; +0x58, 0xb00e40\nBLR             X1                                                     ; +0x5c, 0xb00e44\nUCVTF           S0, W0                                                 ; +0x60, 0xb00e48\nFDIV            S0, S0, S8                                             ; +0x64, 0xb00e4c\nMOV             X2, #0                                                 ; +0x68, 0xb00e50\nMOV             X0, X19                                                ; +0x6c, 0xb00e54\nMOV             W1, #5                                                 ; +0x70, 0xb00e58\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x74, 0xb00e5c\nMOV             X0, X19                                                ; +0x78, 0xb00e60\nMOV             W1, #5                                                 ; +0x7c, 0xb00e64\nBL              _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x80, 0xb00e68\nMOV             X0, X19                                                ; +0x84, 0xb00e6c\nMOV             W1, #5                                                 ; +0x88, 0xb00e70\nBL              _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x8c, 0xb00e74\nLDR             D8, [SP,#var_s18]                                      ; +0x90, 0xb00e78\nLDR             X0, [X19,#0x2C8]; this                                 ; +0x94, 0xb00e7c\nLDR             X19, [SP,#var_s10]                                     ; +0x98, 0xb00e80\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x9c, 0xb00e84\nB               _ZN7cocos2d16CCParticleSystem11resetSystemEv; cocos2d::CCParticleSystem::resetSystem(void) ; +0xa0, 0xb00e88\nFMOV            S0, #-1.0                                              ; +0xa4, 0xb00e8c\nB               loc_B00E50                                             ; +0xa8, 0xb00e90", "xrefs": ["<???> @ 0xabca0", "CreateParticlePopup::createParticleSlider @ 0xb00854", "<???> @ 0x1544dc8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}