{"type": "func", "start": 4297574592, "end": 4297574677, "name": "EditorPauseLayer::volumeChanged", "pseudocode": "// \n// EditorPauseLayer::volumeChanged from 0x10027c8c0 to 0x10027c915 (85 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100afdf50\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:27:41 +0000\n// \n\nvoid __fastcall EditorPauseLayer::volumeChanged(__int64 a1, double a2)\n{\n  __int64 v2; // r14\n  __int64 v3; // rax\n  __int64 v4; // rbx\n  __int64 v5; // rax\n  double v6; // xmm0_8\n\n  v2 = *(_QWORD *)(a1 + 616);\n  if ( v2 )\n  {\n    v3 = FMODAudioEngine::sharedEngine(a2);\n    *(float *)&a2 = FMODAudioEngine::getBackgroundMusicVolume(v3);\n    Slider::setValue(v2, a2);\n  }\n  v4 = *(_QWORD *)(a1 + 624);\n  if ( v4 )\n  {\n    v5 = FMODAudioEngine::sharedEngine(a2);\n    v6 = sub_1003D3F10(v5);\n    Slider::setValue(v4, v6);\n  }\n}", "assembly": "; \n; EditorPauseLayer::volumeChanged from 0x10027c8c0 to 0x10027c915 (85 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100afdf50\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:27:41 +0000\n; \npush    rbp                                                            ; +0x0, 0x10027c8c0\nmov     rbp, rsp                                                       ; +0x1, 0x10027c8c1\npush    r14                                                            ; +0x4, 0x10027c8c4\npush    rbx                                                            ; +0x6, 0x10027c8c6\nmov     rbx, rdi                                                       ; +0x7, 0x10027c8c7\nmov     r14, [rdi+268h]                                                ; +0xa, 0x10027c8ca\ntest    r14, r14                                                       ; +0x11, 0x10027c8d1\njz      short loc_10027C8EB                                            ; +0x14, 0x10027c8d4\ncall    FMODAudioEngine__sharedEngine                                  ; +0x16, 0x10027c8d6\nmov     rdi, rax                                                       ; +0x1b, 0x10027c8db\ncall    FMODAudioEngine__getBackgroundMusicVolume                      ; +0x1e, 0x10027c8de\nmov     rdi, r14                                                       ; +0x23, 0x10027c8e3\ncall    Slider__setValue                                               ; +0x26, 0x10027c8e6\nmov     rbx, [rbx+270h]                                                ; +0x2b, 0x10027c8eb\ntest    rbx, rbx                                                       ; +0x32, 0x10027c8f2\njz      short loc_10027C910                                            ; +0x35, 0x10027c8f5\ncall    FMODAudioEngine__sharedEngine                                  ; +0x37, 0x10027c8f7\nmov     rdi, rax                                                       ; +0x3c, 0x10027c8fc\ncall    sub_1003D3F10                                                  ; +0x3f, 0x10027c8ff\nmov     rdi, rbx                                                       ; +0x44, 0x10027c904\npop     rbx                                                            ; +0x47, 0x10027c907\npop     r14                                                            ; +0x48, 0x10027c908\npop     rbp                                                            ; +0x4a, 0x10027c90a\njmp     Slider__setValue                                               ; +0x4b, 0x10027c90b\npop     rbx                                                            ; +0x50, 0x10027c910\npop     r14                                                            ; +0x51, 0x10027c911\npop     rbp                                                            ; +0x53, 0x10027c913\nretn                                                                   ; +0x54, 0x10027c914", "xrefs": ["<???> @ 0x100afdf50"], "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"}