{"type": "func", "start": 4299594432, "end": 4299594596, "name": "CreateParticlePopup::onCalcEmission", "pseudocode": "// \n// CreateParticlePopup::onCalcEmission from 0x100469ac0 to 0x100469b64 (164 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::createParticleSlider @ 0x1004689c1\n// \n// This function is hookable on this platform (idp: pc, 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 12:30:30 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::onCalcEmission(__int64 a1)\n{\n  float v1; // xmm0_4\n  float v2; // xmm0_4\n  float v4; // [rsp+0h] [rbp-Ch]\n\n  v4 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 968LL))(*(_QWORD *)(a1 + 712));\n  v1 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 984LL))(*(_QWORD *)(a1 + 712)) + v4;\n  if ( v1 <= 0.0 )\n    v2 = -1.0;\n  else\n    v2 = (float)(*(int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1496LL))(*(_QWORD *)(a1 + 712)) / v1;\n  CreateParticlePopup::updateParticleValueForType(a1, 5, 0, v2);\n  CreateParticlePopup::updateSliderForType(a1, 5u, v2);\n  CreateParticlePopup::updateInputNodeStringForType(a1, 5u);\n  return cocos2d::CCParticleSystem::resetSystem(*(_QWORD *)(a1 + 712));\n}", "assembly": "; \n; CreateParticlePopup::onCalcEmission from 0x100469ac0 to 0x100469b64 (164 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::createParticleSlider @ 0x1004689c1\n; \n; This function is hookable on this platform (idp: pc, 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 12:30:30 +0000\n; \npush    rbp                                                            ; +0x0, 0x100469ac0\nmov     rbp, rsp                                                       ; +0x1, 0x100469ac1\npush    rbx                                                            ; +0x4, 0x100469ac4\npush    rax                                                            ; +0x5, 0x100469ac5\nmov     rbx, rdi                                                       ; +0x6, 0x100469ac6\nmov     rdi, [rdi+2C8h]                                                ; +0x9, 0x100469ac9\nmov     rax, [rdi]                                                     ; +0x10, 0x100469ad0\ncall    qword ptr [rax+3C8h]                                           ; +0x13, 0x100469ad3\nmovss   [rbp+var_C], xmm0                                              ; +0x19, 0x100469ad9\nmov     rdi, [rbx+2C8h]                                                ; +0x1e, 0x100469ade\nmov     rax, [rdi]                                                     ; +0x25, 0x100469ae5\ncall    qword ptr [rax+3D8h]                                           ; +0x28, 0x100469ae8\naddss   xmm0, [rbp+var_C]                                              ; +0x2e, 0x100469aee\nxorps   xmm1, xmm1                                                     ; +0x33, 0x100469af3\nucomiss xmm0, xmm1                                                     ; +0x36, 0x100469af6\njbe     short loc_100469B21                                            ; +0x39, 0x100469af9\nmov     rdi, [rbx+2C8h]                                                ; +0x3b, 0x100469afb\nmov     rax, [rdi]                                                     ; +0x42, 0x100469b02\nmovss   [rbp+var_C], xmm0                                              ; +0x45, 0x100469b05\ncall    qword ptr [rax+5D8h]                                           ; +0x4a, 0x100469b0a\nmov     eax, eax                                                       ; +0x50, 0x100469b10\nxorps   xmm0, xmm0                                                     ; +0x52, 0x100469b12\ncvtsi2ss xmm0, rax                                                     ; +0x55, 0x100469b15\ndivss   xmm0, [rbp+var_C]                                              ; +0x5a, 0x100469b1a\njmp     short loc_100469B29                                            ; +0x5f, 0x100469b1f\nmovss   xmm0, cs:dword_100A035E0                                       ; +0x61, 0x100469b21\nmov     rdi, rbx                                                       ; +0x69, 0x100469b29\nmov     esi, 5                                                         ; +0x6c, 0x100469b2c\nxor     edx, edx                                                       ; +0x71, 0x100469b31\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x73, 0x100469b33\nmov     rdi, rbx                                                       ; +0x78, 0x100469b38\nmov     esi, 5                                                         ; +0x7b, 0x100469b3b\ncall    CreateParticlePopup__updateSliderForType                       ; +0x80, 0x100469b40\nmov     rdi, rbx                                                       ; +0x85, 0x100469b45\nmov     esi, 5                                                         ; +0x88, 0x100469b48\ncall    CreateParticlePopup__updateInputNodeStringForType              ; +0x8d, 0x100469b4d\nmov     rdi, [rbx+2C8h]                                                ; +0x92, 0x100469b52\nadd     rsp, 8                                                         ; +0x99, 0x100469b59\npop     rbx                                                            ; +0x9d, 0x100469b5d\npop     rbp                                                            ; +0x9e, 0x100469b5e\njmp     cocos2d__CCParticleSystem__resetSystem                         ; +0x9f, 0x100469b5f", "xrefs": ["CreateParticlePopup::createParticleSlider @ 0x1004689c1"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}