{"type": "func", "start": 4298545776, "end": 4298545853, "name": "GameManager::updateMusic", "pseudocode": "// \n// GameManager::updateMusic from 0x100369a70 to 0x100369abd (77 bytes)\n// \n// 1 xrefs:\n// > LoadingLayer::loadAssets @ 0x10038c820\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:28:59 +0000\n// \n\n__int64 __fastcall GameManager::updateMusic(__int64 a1, double a2)\n{\n  __int64 v2; // rax\n  double v3; // xmm0_8\n  __int64 v4; // rax\n  double v5; // xmm0_8\n  __int64 result; // rax\n\n  v2 = FMODAudioEngine::sharedEngine(a2);\n  *(_QWORD *)&v3 = *(unsigned int *)(a1 + 672);\n  FMODAudioEngine::setBackgroundMusicVolume(v2, v3);\n  v4 = FMODAudioEngine::sharedEngine(v3);\n  *(_QWORD *)&v5 = *(unsigned int *)(a1 + 676);\n  FMODAudioEngine::setEffectsVolume(v4, v5);\n  result = FMODAudioEngine::sharedEngine(v5);\n  *(_DWORD *)(result + 548) = (int)*(float *)(a1 + 680);\n  return result;\n}", "assembly": "; \n; GameManager::updateMusic from 0x100369a70 to 0x100369abd (77 bytes)\n; \n; 1 xrefs:\n; > LoadingLayer::loadAssets @ 0x10038c820\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:28:59 +0000\n; \npush    rbp                                                            ; +0x0, 0x100369a70\nmov     rbp, rsp                                                       ; +0x1, 0x100369a71\npush    rbx                                                            ; +0x4, 0x100369a74\npush    rax                                                            ; +0x5, 0x100369a75\nmov     rbx, rdi                                                       ; +0x6, 0x100369a76\ncall    FMODAudioEngine__sharedEngine                                  ; +0x9, 0x100369a79\nmovss   xmm0, dword ptr [rbx+2A0h]                                     ; +0xe, 0x100369a7e\nmov     rdi, rax                                                       ; +0x16, 0x100369a86\ncall    FMODAudioEngine__setBackgroundMusicVolume                      ; +0x19, 0x100369a89\ncall    FMODAudioEngine__sharedEngine                                  ; +0x1e, 0x100369a8e\nmovss   xmm0, dword ptr [rbx+2A4h]                                     ; +0x23, 0x100369a93\nmov     rdi, rax                                                       ; +0x2b, 0x100369a9b\ncall    FMODAudioEngine__setEffectsVolume                              ; +0x2e, 0x100369a9e\ncall    FMODAudioEngine__sharedEngine                                  ; +0x33, 0x100369aa3\ncvttss2si ecx, dword ptr [rbx+2A8h]                                    ; +0x38, 0x100369aa8\nmov     [rax+224h], ecx                                                ; +0x40, 0x100369ab0\nadd     rsp, 8                                                         ; +0x46, 0x100369ab6\npop     rbx                                                            ; +0x4a, 0x100369aba\npop     rbp                                                            ; +0x4b, 0x100369abb\nretn                                                                   ; +0x4c, 0x100369abc", "xrefs": ["LoadingLayer::loadAssets @ 0x10038c820"], "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"}