{"type": "func", "start": 5370290928, "end": 5370291075, "name": "EditorPauseLayer::musicSliderChanged", "pseudocode": "// \n// EditorPauseLayer::musicSliderChanged from 0x1401822f0 to 0x140182383 (147 bytes)\n// \n// 3 xrefs:\n// > EditorPauseLayer::customSetup @ 0x140181f78\n// > PauseLayer::customSetup @ 0x1404d7eda\n// > <???> @ 0x140918be4\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:27:37 +0000\n// \n\n// Merged with: EditorPauseLayer::musicSliderChanged, PauseLayer::musicSliderChanged\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall EditorPauseLayer::musicSliderChanged(__int64 a1, float *a2)\n{\n  float Value; // xmm6_4\n  __int64 result; // rax\n  __int64 v4; // rcx\n  void *v5; // [rsp+48h] [rbp+10h]\n\n  Value = SliderThumb::getValue(a2);\n  if ( Value < 0.029999999 )\n    Value = 0.0;\n  result = qword_14090BF60;\n  if ( !qword_14090BF60 )\n  {\n    v5 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n    result = qword_14090BF60;\n  }\n  *(_DWORD *)(result + 524) = 0;\n  *(float *)(result + 512) = Value;\n  v4 = *(_QWORD *)(result + 552);\n  if ( v4 )\n    return FMOD::ChannelControl::setVolume(v4);\n  return result;\n}", "assembly": "; \n; EditorPauseLayer::musicSliderChanged from 0x1401822f0 to 0x140182383 (147 bytes)\n; \n; 3 xrefs:\n; > EditorPauseLayer::customSetup @ 0x140181f78\n; > PauseLayer::customSetup @ 0x1404d7eda\n; > <???> @ 0x140918be4\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:27:37 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x1401822f0\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x4, 0x1401822f4\nmov     rcx, rdx                                                       ; +0x9, 0x1401822f9\ncall    SliderThumb__getValue                                          ; +0xc, 0x1401822fc\nmovaps  xmm6, xmm0                                                     ; +0x11, 0x140182301\nmovss   xmm1, cs:dword_140834DB8                                       ; +0x14, 0x140182304\ncomiss  xmm1, xmm0                                                     ; +0x1c, 0x14018230c\njbe     short loc_140182314                                            ; +0x1f, 0x14018230f\nxorps   xmm6, xmm6                                                     ; +0x21, 0x140182311\nmov     rax, cs:qword_14090BF60                                        ; +0x24, 0x140182314\ntest    rax, rax                                                       ; +0x2b, 0x14018231b\njnz     short loc_140182352                                            ; +0x2e, 0x14018231e\nmov     ecx, 8A8h; Size                                                ; +0x30, 0x140182320\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x35, 0x140182325\nmov     [rsp+38h+arg_8], rax                                           ; +0x3a, 0x14018232a\nmov     rcx, rax                                                       ; +0x3f, 0x14018232f\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x42, 0x140182332\nnop                                                                    ; +0x47, 0x140182337\nmov     cs:qword_14090BF60, rax                                        ; +0x48, 0x140182338\nmov     rcx, [rax]                                                     ; +0x4f, 0x14018233f\nmov     rdx, [rcx+48h]                                                 ; +0x52, 0x140182342\nmov     rcx, rax                                                       ; +0x56, 0x140182346\ncall    rdx                                                            ; +0x59, 0x140182349\nmov     rax, cs:qword_14090BF60                                        ; +0x5b, 0x14018234b\nmov     dword ptr [rax+20Ch], 0                                        ; +0x62, 0x140182352\nmovss   dword ptr [rax+200h], xmm6                                     ; +0x6c, 0x14018235c\nmov     rcx, [rax+228h]                                                ; +0x74, 0x140182364\ntest    rcx, rcx                                                       ; +0x7b, 0x14018236b\njz      short loc_140182379                                            ; +0x7e, 0x14018236e\nmovaps  xmm1, xmm6                                                     ; +0x80, 0x140182370\ncall    cs:?setVolume@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@M@Z; FMOD::ChannelControl::setVolume(float) ; +0x83, 0x140182373\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x89, 0x140182379\nadd     rsp, 38h                                                       ; +0x8e, 0x14018237e\nretn                                                                   ; +0x92, 0x140182382", "xrefs": ["EditorPauseLayer::customSetup @ 0x140181f78", "PauseLayer::customSetup @ 0x1404d7eda", "<???> @ 0x140918be4"], "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"}