{"type": "func", "start": 4296348112, "end": 4296348147, "name": "GJBaseGameLayer::resetAudio", "pseudocode": "// \n// GJBaseGameLayer::resetAudio from 0x1001511d0 to 0x1001511f3 (35 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::onQuit @ 0x1000b2f9b\n// > PlayLayer::resumeAndRestart @ 0x1000bf461\n// > PauseLayer::onEdit @ 0x1003d7884\n// > EndLevelLayer::goEdit @ 0x1004c3127\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 GJBaseGameLayer::resetAudio(GJBaseGameLayer *a1)\n{\n  FMODAudioEngine *v1; // rax\n  FMODAudioEngine *v2; // rax\n\n  v1 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::clearAllAudio(v1);\n  v2 = FMODAudioEngine::sharedEngine();\n  FMOD::System::update(v2->m_system);\n}", "assembly": "; \n; GJBaseGameLayer::resetAudio from 0x1001511d0 to 0x1001511f3 (35 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::onQuit @ 0x1000b2f9b\n; > PlayLayer::resumeAndRestart @ 0x1000bf461\n; > PauseLayer::onEdit @ 0x1003d7884\n; > EndLevelLayer::goEdit @ 0x1004c3127\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, 0x1001511d0\nmov     rbp, rsp                                                       ; +0x1, 0x1001511d1\ncall    FMODAudioEngine__sharedEngine                                  ; +0x4, 0x1001511d4\nmov     rdi, rax                                                       ; +0x9, 0x1001511d9\ncall    FMODAudioEngine__clearAllAudio                                 ; +0xc, 0x1001511dc\ncall    FMODAudioEngine__sharedEngine                                  ; +0x11, 0x1001511e1\nmov     rdi, [rax+1E8h]; this                                          ; +0x16, 0x1001511e6\npop     rbp                                                            ; +0x1d, 0x1001511ed\njmp     __ZN4FMOD6System6updateEv; FMOD::System::update(void)          ; +0x1e, 0x1001511ee", "xrefs": ["PlayLayer::onQuit @ 0x1000b2f9b", "PlayLayer::resumeAndRestart @ 0x1000bf461", "PauseLayer::onEdit @ 0x1003d7884", "EndLevelLayer::goEdit @ 0x1004c3127"], "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"}