{"type": "func", "start": 4298639104, "end": 4298639181, "name": "GameManager::updateMusic", "pseudocode": "// \n// GameManager::updateMusic from 0x100380700 to 0x10038074d (77 bytes)\n// \n// 1 xrefs:\n// > LoadingLayer::loadAssets @ 0x1003a3203\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GameManager::updateMusic(GameManager *a1)\n{\n  FMODAudioEngine *v1; // rax\n  FMODAudioEngine *v2; // rax\n\n  v1 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::setBackgroundMusicVolume(v1, a1->m_bgVolume);\n  v2 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::setEffectsVolume(v2, a1->m_sfxVolume);\n  FMODAudioEngine::sharedEngine()->m_musicOffset = (int)a1->m_timeOffset;\n}", "assembly": "; \n; GameManager::updateMusic from 0x100380700 to 0x10038074d (77 bytes)\n; \n; 1 xrefs:\n; > LoadingLayer::loadAssets @ 0x1003a3203\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100380700\nmov     rbp, rsp                                                       ; +0x1, 0x100380701\npush    rbx                                                            ; +0x4, 0x100380704\npush    rax                                                            ; +0x5, 0x100380705\nmov     rbx, rdi                                                       ; +0x6, 0x100380706\ncall    FMODAudioEngine__sharedEngine                                  ; +0x9, 0x100380709\nmovss   xmm0, dword ptr [rbx+278h]                                     ; +0xe, 0x10038070e\nmov     rdi, rax                                                       ; +0x16, 0x100380716\ncall    FMODAudioEngine__setBackgroundMusicVolume                      ; +0x19, 0x100380719\ncall    FMODAudioEngine__sharedEngine                                  ; +0x1e, 0x10038071e\nmovss   xmm0, dword ptr [rbx+27Ch]                                     ; +0x23, 0x100380723\nmov     rdi, rax                                                       ; +0x2b, 0x10038072b\ncall    FMODAudioEngine__setEffectsVolume                              ; +0x2e, 0x10038072e\ncall    FMODAudioEngine__sharedEngine                                  ; +0x33, 0x100380733\ncvttss2si ecx, dword ptr [rbx+280h]                                    ; +0x38, 0x100380738\nmov     [rax+21Ch], ecx                                                ; +0x40, 0x100380740\nadd     rsp, 8                                                         ; +0x46, 0x100380746\npop     rbx                                                            ; +0x4a, 0x10038074a\npop     rbp                                                            ; +0x4b, 0x10038074b\nretn                                                                   ; +0x4c, 0x10038074c", "xrefs": ["LoadingLayer::loadAssets @ 0x1003a3203"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}