{"type": "func", "start": 4299593824, "end": 4299594059, "name": "CreateParticlePopup::sliderChanged", "pseudocode": "// \n// CreateParticlePopup::sliderChanged from 0x100469860 to 0x10046994b (235 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::createParticleSlider @ 0x1004685b5\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\nvoid __fastcall CreateParticlePopup::sliderChanged(__int64 a1, float *a2)\n{\n  __int64 v2; // r14\n  __m128 Value; // xmm0\n  __int64 v4; // rcx\n  __m128 v5; // xmm1\n  float v6; // xmm0_4\n  __m128 v7; // xmm2\n  float v8; // [rsp+8h] [rbp-18h]\n  float v9; // [rsp+Ch] [rbp-14h]\n\n  Value = SliderThumb::getValue(a2);\n  v8 = Value.f32[0];\n  v2 = (*(unsigned int (__fastcall **)(float *))(*(_QWORD *)a2 + 64LL))(a2);\n  v9 = CreateParticlePopup::minSliderValueForType(a2, v2);\n  Value.f32[0] = (float)((float)(CreateParticlePopup::maxSliderValueForType(a2, (unsigned int)v2) - v9) * v8) + v9;\n  if ( (unsigned int)(v2 - 5) < 0x15\n    || (unsigned int)v2 <= 0x37 && (v4 = 0xFC000000000002LL, _bittest64(&v4, (unsigned int)v2)) )\n  {\n    v5 = _mm_or_ps(_mm_and_ps((__m128)xmmword_100A035F0, Value), (__m128)xmmword_100A03600);\n    v5.f32[0] = v5.f32[0] + Value.f32[0];\n    v6 = _mm_round_ss((__m128)0LL, v5, 11).f32[0];\n  }\n  else\n  {\n    Value.f32[0] = Value.f32[0] * 100.0;\n    v7 = _mm_or_ps(_mm_and_ps((__m128)xmmword_100A035F0, Value), (__m128)xmmword_100A03600);\n    v7.f32[0] = v7.f32[0] + Value.f32[0];\n    v6 = _mm_round_ss((__m128)0LL, v7, 11).f32[0] / 100.0;\n  }\n  CreateParticlePopup::updateParticleValueForType(a1, (unsigned int)v2, 0, v6);\n  CreateParticlePopup::updateSliderForType(a1, (unsigned int)v2);\n  CreateParticlePopup::updateInputNodeStringForType(a1, v2);\n}", "assembly": "; \n; CreateParticlePopup::sliderChanged from 0x100469860 to 0x10046994b (235 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::createParticleSlider @ 0x1004685b5\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, 0x100469860\nmov     rbp, rsp                                                       ; +0x1, 0x100469861\npush    r14                                                            ; +0x4, 0x100469864\npush    rbx                                                            ; +0x6, 0x100469866\nsub     rsp, 10h                                                       ; +0x7, 0x100469867\nmov     r14, rsi                                                       ; +0xb, 0x10046986b\nmov     rbx, rdi                                                       ; +0xe, 0x10046986e\nmov     rdi, rsi                                                       ; +0x11, 0x100469871\ncall    SliderThumb__getValue                                          ; +0x14, 0x100469874\nmovss   [rbp+var_18], xmm0                                             ; +0x19, 0x100469879\nmov     rax, [r14]                                                     ; +0x1e, 0x10046987e\nmov     rdi, r14                                                       ; +0x21, 0x100469881\ncall    qword ptr [rax+40h]                                            ; +0x24, 0x100469884\nmov     r14d, eax                                                      ; +0x27, 0x100469887\nmov     esi, eax                                                       ; +0x2a, 0x10046988a\ncall    CreateParticlePopup__minSliderValueForType                     ; +0x2c, 0x10046988c\nmovss   [rbp+var_14], xmm0                                             ; +0x31, 0x100469891\nmov     esi, r14d                                                      ; +0x36, 0x100469896\ncall    CreateParticlePopup__maxSliderValueForType                     ; +0x39, 0x100469899\nmovss   xmm1, [rbp+var_14]                                             ; +0x3e, 0x10046989e\nsubss   xmm0, xmm1                                                     ; +0x43, 0x1004698a3\nmulss   xmm0, [rbp+var_18]                                             ; +0x47, 0x1004698a7\naddss   xmm0, xmm1                                                     ; +0x4c, 0x1004698ac\nlea     eax, [r14-5]                                                   ; +0x50, 0x1004698b0\ncmp     eax, 15h                                                       ; +0x54, 0x1004698b4\njb      short loc_1004698D2                                            ; +0x57, 0x1004698b7\ncmp     r14d, 37h ; '7'                                                ; +0x59, 0x1004698b9\nja      short loc_10046991B                                            ; +0x5d, 0x1004698bd\nmov     eax, r14d                                                      ; +0x5f, 0x1004698bf\nmov     rcx, 0FC000000000002h                                          ; +0x62, 0x1004698c2\nbt      rcx, rax                                                       ; +0x6c, 0x1004698cc\njnb     short loc_10046991B                                            ; +0x70, 0x1004698d0\nmovaps  xmm1, cs:xmmword_100A035F0                                     ; +0x72, 0x1004698d2\nandps   xmm1, xmm0                                                     ; +0x79, 0x1004698d9\norps    xmm1, cs:xmmword_100A03600                                     ; +0x7c, 0x1004698dc\naddss   xmm1, xmm0                                                     ; +0x83, 0x1004698e3\nxorps   xmm0, xmm0                                                     ; +0x87, 0x1004698e7\nroundss xmm0, xmm1, 0Bh                                                ; +0x8a, 0x1004698ea\nmov     rdi, rbx                                                       ; +0x90, 0x1004698f0\nmov     esi, r14d                                                      ; +0x93, 0x1004698f3\nxor     edx, edx                                                       ; +0x96, 0x1004698f6\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x98, 0x1004698f8\nmov     rdi, rbx                                                       ; +0x9d, 0x1004698fd\nmov     esi, r14d                                                      ; +0xa0, 0x100469900\ncall    CreateParticlePopup__updateSliderForType                       ; +0xa3, 0x100469903\nmov     rdi, rbx                                                       ; +0xa8, 0x100469908\nmov     esi, r14d                                                      ; +0xab, 0x10046990b\nadd     rsp, 10h                                                       ; +0xae, 0x10046990e\npop     rbx                                                            ; +0xb2, 0x100469912\npop     r14                                                            ; +0xb3, 0x100469913\npop     rbp                                                            ; +0xb5, 0x100469915\njmp     CreateParticlePopup__updateInputNodeStringForType              ; +0xb6, 0x100469916\nmovss   xmm1, cs:dword_100A03584                                       ; +0xbb, 0x10046991b\nmulss   xmm0, xmm1                                                     ; +0xc3, 0x100469923\nmovaps  xmm2, cs:xmmword_100A035F0                                     ; +0xc7, 0x100469927\nandps   xmm2, xmm0                                                     ; +0xce, 0x10046992e\norps    xmm2, cs:xmmword_100A03600                                     ; +0xd1, 0x100469931\naddss   xmm2, xmm0                                                     ; +0xd8, 0x100469938\nxorps   xmm0, xmm0                                                     ; +0xdc, 0x10046993c\nroundss xmm0, xmm2, 0Bh                                                ; +0xdf, 0x10046993f\ndivss   xmm0, xmm1                                                     ; +0xe5, 0x100469945\njmp     short loc_1004698F0                                            ; +0xe9, 0x100469949", "xrefs": ["CreateParticlePopup::createParticleSlider @ 0x1004685b5"], "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"}