{"type": "func", "start": 5370291088, "end": 5370291249, "name": "EditorPauseLayer::sfxSliderChanged", "pseudocode": "// \n// EditorPauseLayer::sfxSliderChanged from 0x140182390 to 0x140182431 (161 bytes)\n// \n// 4 xrefs:\n// > EditorPauseLayer::customSetup @ 0x140181fed\n// > OptionsLayer::customSetup @ 0x1404cb78e\n// > PauseLayer::customSetup @ 0x1404d7fc0\n// > <???> @ 0x140918bf0\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::sfxSliderChanged, OptionsLayer::sfxSliderChanged, PauseLayer::sfxSliderChanged\n// Hidden C++ exception states: #wind=1\nvoid __fastcall EditorPauseLayer::sfxSliderChanged(__int64 a1, float *a2)\n{\n  float Value; // xmm6_4\n  __int64 v3; // rbx\n  __int64 v4; // rcx\n  __int64 v5; // rcx\n  void *v6; // [rsp+48h] [rbp+10h]\n\n  Value = SliderThumb::getValue(a2);\n  if ( Value < 0.029999999 )\n    Value = 0.0;\n  v3 = qword_14090BF60;\n  if ( !qword_14090BF60 )\n  {\n    v6 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n    v3 = qword_14090BF60;\n  }\n  *(float *)(v3 + 516) = Value;\n  v4 = *(_QWORD *)(v3 + 584);\n  if ( v4 )\n    FMOD::ChannelControl::setVolume(v4);\n  v5 = *(_QWORD *)(v3 + 600);\n  if ( v5 )\n    FMOD::ChannelControl::setVolume(v5);\n}", "assembly": "; \n; EditorPauseLayer::sfxSliderChanged from 0x140182390 to 0x140182431 (161 bytes)\n; \n; 4 xrefs:\n; > EditorPauseLayer::customSetup @ 0x140181fed\n; > OptionsLayer::customSetup @ 0x1404cb78e\n; > PauseLayer::customSetup @ 0x1404d7fc0\n; > <???> @ 0x140918bf0\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; \npush    rbx                                                            ; +0x0, 0x140182390\nsub     rsp, 30h                                                       ; +0x2, 0x140182392\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x140182396\nmov     rcx, rdx                                                       ; +0xb, 0x14018239b\ncall    SliderThumb__getValue                                          ; +0xe, 0x14018239e\nmovaps  xmm6, xmm0                                                     ; +0x13, 0x1401823a3\nmovss   xmm1, cs:dword_140834DB8                                       ; +0x16, 0x1401823a6\ncomiss  xmm1, xmm0                                                     ; +0x1e, 0x1401823ae\njbe     short loc_1401823B6                                            ; +0x21, 0x1401823b1\nxorps   xmm6, xmm6                                                     ; +0x23, 0x1401823b3\nmov     rbx, cs:qword_14090BF60                                        ; +0x26, 0x1401823b6\ntest    rbx, rbx                                                       ; +0x2d, 0x1401823bd\njnz     short loc_1401823F4                                            ; +0x30, 0x1401823c0\nmov     ecx, 8A8h; Size                                                ; +0x32, 0x1401823c2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x37, 0x1401823c7\nmov     [rsp+38h+arg_8], rax                                           ; +0x3c, 0x1401823cc\nmov     rcx, rax                                                       ; +0x41, 0x1401823d1\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x44, 0x1401823d4\nnop                                                                    ; +0x49, 0x1401823d9\nmov     cs:qword_14090BF60, rax                                        ; +0x4a, 0x1401823da\nmov     rcx, [rax]                                                     ; +0x51, 0x1401823e1\nmov     rdx, [rcx+48h]                                                 ; +0x54, 0x1401823e4\nmov     rcx, rax                                                       ; +0x58, 0x1401823e8\ncall    rdx                                                            ; +0x5b, 0x1401823eb\nmov     rbx, cs:qword_14090BF60                                        ; +0x5d, 0x1401823ed\nmovss   dword ptr [rbx+204h], xmm6                                     ; +0x64, 0x1401823f4\nmov     rcx, [rbx+248h]                                                ; +0x6c, 0x1401823fc\ntest    rcx, rcx                                                       ; +0x73, 0x140182403\njz      short loc_140182411                                            ; +0x76, 0x140182406\nmovaps  xmm1, xmm6                                                     ; +0x78, 0x140182408\ncall    cs:?setVolume@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@M@Z; FMOD::ChannelControl::setVolume(float) ; +0x7b, 0x14018240b\nmov     rcx, [rbx+258h]                                                ; +0x81, 0x140182411\ntest    rcx, rcx                                                       ; +0x88, 0x140182418\njz      short loc_140182426                                            ; +0x8b, 0x14018241b\nmovaps  xmm1, xmm6                                                     ; +0x8d, 0x14018241d\ncall    cs:?setVolume@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@M@Z; FMOD::ChannelControl::setVolume(float) ; +0x90, 0x140182420\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x96, 0x140182426\nadd     rsp, 30h                                                       ; +0x9b, 0x14018242b\npop     rbx                                                            ; +0x9f, 0x14018242f\nretn                                                                   ; +0xa0, 0x140182430", "xrefs": ["EditorPauseLayer::customSetup @ 0x140181fed", "OptionsLayer::customSetup @ 0x1404cb78e", "PauseLayer::customSetup @ 0x1404d7fc0", "<???> @ 0x140918bf0"], "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"}