{"type": "func", "start": 4298207664, "end": 4298207732, "name": "GameManager::updateMusic", "pseudocode": "// \n// GameManager::updateMusic from 0x1003171b0 to 0x1003171f4 (68 bytes)\n// \n// 1 xrefs:\n// > LoadingLayer::loadAssets @ 0x1001d6aa0\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 *v2; // x0\n  FMODAudioEngine *v3; // x0\n\n  v2 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::setBackgroundMusicVolume(v2, a1->m_bgVolume);\n  v3 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::setEffectsVolume(v3, a1->m_sfxVolume);\n  FMODAudioEngine::sharedEngine()->m_musicOffset = (int)a1->m_timeOffset;\n}", "assembly": "; \n; GameManager::updateMusic from 0x1003171b0 to 0x1003171f4 (68 bytes)\n; \n; 1 xrefs:\n; > LoadingLayer::loadAssets @ 0x1001d6aa0\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003171b0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003171b4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003171b8\nMOV             X19, X0                                                ; +0xc, 0x1003171bc\nBL              FMODAudioEngine__sharedEngine                          ; +0x10, 0x1003171c0\nLDR             S0, [X19,#0x278]                                       ; +0x14, 0x1003171c4\nBL              FMODAudioEngine__setBackgroundMusicVolume              ; +0x18, 0x1003171c8\nBL              FMODAudioEngine__sharedEngine                          ; +0x1c, 0x1003171cc\nLDR             S0, [X19,#0x27C]                                       ; +0x20, 0x1003171d0\nBL              FMODAudioEngine__setEffectsVolume                      ; +0x24, 0x1003171d4\nBL              FMODAudioEngine__sharedEngine                          ; +0x28, 0x1003171d8\nLDR             S0, [X19,#0x280]                                       ; +0x2c, 0x1003171dc\nFCVTZS          W8, S0                                                 ; +0x30, 0x1003171e0\nSTR             W8, [X0,#0x21C]                                        ; +0x34, 0x1003171e4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x1003171e8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x1003171ec\nRET                                                                    ; +0x40, 0x1003171f0", "xrefs": ["LoadingLayer::loadAssets @ 0x1001d6aa0"], "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"}