{"type": "func", "start": 5374780352, "end": 5374780517, "name": "CreateParticlePopup::sliderChanged", "pseudocode": "// \n// CreateParticlePopup::sliderChanged from 0x1405ca3c0 to 0x1405ca465 (165 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::createParticleSlider @ 0x1405c6395\n// > <???> @ 0x14092e3f4\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 11:34:52 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::sliderChanged(__int64 a1, float *a2)\n{\n  float Value; // xmm6_4\n  unsigned int v5; // ebx\n  __int64 v6; // rcx\n  double v7; // xmm0_8\n  __int64 v8; // rcx\n  float v9; // xmm0_4\n  __int64 v10; // rcx\n  __int64 v11; // rdx\n\n  Value = SliderThumb::getValue(a2);\n  v5 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)a2 + 56LL))(a2);\n  v7 = CreateParticlePopup::maxSliderValueForType(v6, v5);\n  v9 = (float)((float)(CreateParticlePopup::minSliderValueForType(v8, v5) - *(float *)&v7) * Value) + *(float *)&v7;\n  if ( (unsigned __int8)CreateParticlePopup::particleValueIsInt(v10, v5) )\n    roundf(v9);\n  else\n    roundf(v9 * 100.0);\n  CreateParticlePopup::updateParticleValueForType(a1, v11, v5, nullptr);\n  CreateParticlePopup::updateSliderForType(a1, v5);\n  return CreateParticlePopup::updateInputNodeStringForType(a1, v5);\n}", "assembly": "; \n; CreateParticlePopup::sliderChanged from 0x1405ca3c0 to 0x1405ca465 (165 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::createParticleSlider @ 0x1405c6395\n; > <???> @ 0x14092e3f4\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 11:34:52 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1405ca3c0\npush    rdi                                                            ; +0x5, 0x1405ca3c5\nsub     rsp, 30h                                                       ; +0x6, 0x1405ca3c6\nmov     rdi, rcx                                                       ; +0xa, 0x1405ca3ca\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xd, 0x1405ca3cd\nmov     rcx, rdx                                                       ; +0x12, 0x1405ca3d2\nmov     rbx, rdx                                                       ; +0x15, 0x1405ca3d5\ncall    SliderThumb__getValue                                          ; +0x18, 0x1405ca3d8\nmov     rax, [rbx]                                                     ; +0x1d, 0x1405ca3dd\nmov     rcx, rbx                                                       ; +0x20, 0x1405ca3e0\nmovaps  xmm6, xmm0                                                     ; +0x23, 0x1405ca3e3\ncall    qword ptr [rax+38h]                                            ; +0x26, 0x1405ca3e6\nmov     edx, eax                                                       ; +0x29, 0x1405ca3e9\nmov     ebx, eax                                                       ; +0x2b, 0x1405ca3eb\ncall    CreateParticlePopup__maxSliderValueForType                     ; +0x2d, 0x1405ca3ed\nmov     edx, ebx                                                       ; +0x32, 0x1405ca3f2\nmovaps  xmm1, xmm0                                                     ; +0x34, 0x1405ca3f4\ncall    CreateParticlePopup__minSliderValueForType                     ; +0x37, 0x1405ca3f7\nsubss   xmm0, xmm1                                                     ; +0x3c, 0x1405ca3fc\nmov     edx, ebx                                                       ; +0x40, 0x1405ca400\nmulss   xmm0, xmm6                                                     ; +0x42, 0x1405ca402\naddss   xmm0, xmm1                                                     ; +0x46, 0x1405ca406\ncall    CreateParticlePopup__particleValueIsInt                        ; +0x4a, 0x1405ca40a\ntest    al, al                                                         ; +0x4f, 0x1405ca40f\njz      short loc_1405CA41B                                            ; +0x51, 0x1405ca411\ncall    cs:__imp_roundf                                                ; +0x53, 0x1405ca413\njmp     short loc_1405CA431                                            ; +0x59, 0x1405ca419\nmulss   xmm0, cs:dword_1408357B0; X                                    ; +0x5b, 0x1405ca41b\ncall    cs:__imp_roundf                                                ; +0x63, 0x1405ca423\ndivss   xmm0, cs:dword_1408357B0                                       ; +0x69, 0x1405ca429\nxor     r9d, r9d                                                       ; +0x71, 0x1405ca431\nmov     r8d, ebx                                                       ; +0x74, 0x1405ca434\nmovaps  xmm1, xmm0                                                     ; +0x77, 0x1405ca437\nmov     rcx, rdi                                                       ; +0x7a, 0x1405ca43a\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x7d, 0x1405ca43d\nmov     edx, ebx                                                       ; +0x82, 0x1405ca442\nmov     rcx, rdi                                                       ; +0x84, 0x1405ca444\ncall    CreateParticlePopup__updateSliderForType                       ; +0x87, 0x1405ca447\nmov     edx, ebx                                                       ; +0x8c, 0x1405ca44c\nmov     rcx, rdi                                                       ; +0x8e, 0x1405ca44e\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x91, 0x1405ca451\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x96, 0x1405ca456\nadd     rsp, 30h                                                       ; +0x9b, 0x1405ca45b\npop     rdi                                                            ; +0x9f, 0x1405ca45f\njmp     CreateParticlePopup__updateInputNodeStringForType              ; +0xa0, 0x1405ca460", "xrefs": ["CreateParticlePopup::createParticleSlider @ 0x1405c6395", "<???> @ 0x14092e3f4"], "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"}