{"type": "func", "start": 8806576, "end": 8806620, "name": "GJBaseGameLayer::pauseAudio", "pseudocode": "// \n// GJBaseGameLayer::pauseAudio from 0x8660b0 to 0x8660dc (44 bytes)\n// \n// 8 xrefs:\n// > PlayLayer::pauseGame @ 0x5d26e8\n// > PlayLayer::startMusic @ 0x5e4578\n// > PlayLayer::loadFromCheckpoint @ 0x5e4f38\n// > PlayLayer::resetLevel @ 0x5e5874\n// > LevelEditorLayer::onPausePlaytest @ 0x661670\n// > EditorUI::onPlayback @ 0x689588\n// > EditorUI::onPlaytest @ 0x6bee44\n// > <???> @ 0x5fa48\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 GJBaseGameLayer::pauseAudio(GJBaseGameLayer *a1)\n{\n  FMODAudioEngine *v1; // x0\n  FMODAudioEngine *v2; // x0\n  FMODAudioEngine *v3; // x0\n\n  v1 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::pauseAllAudio(v1);\n  v2 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::pauseAllMusic(v2, 1);\n  v3 = FMODAudioEngine::sharedEngine();\n  FMOD::System::update(v3->m_system);\n}", "assembly": "; \n; GJBaseGameLayer::pauseAudio from 0x8660b0 to 0x8660dc (44 bytes)\n; \n; 8 xrefs:\n; > PlayLayer::pauseGame @ 0x5d26e8\n; > PlayLayer::startMusic @ 0x5e4578\n; > PlayLayer::loadFromCheckpoint @ 0x5e4f38\n; > PlayLayer::resetLevel @ 0x5e5874\n; > LevelEditorLayer::onPausePlaytest @ 0x661670\n; > EditorUI::onPlayback @ 0x689588\n; > EditorUI::onPlaytest @ 0x6bee44\n; > <???> @ 0x5fa48\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             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x8660b0\nMOV             X29, SP                                                ; +0x4, 0x8660b4\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x8, 0x8660b8\nBL              _ZN15FMODAudioEngine13pauseAllAudioEv; FMODAudioEngine::pauseAllAudio(void) ; +0xc, 0x8660bc\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x10, 0x8660c0\nMOV             W1, #1; bool                                           ; +0x14, 0x8660c4\nBL              _ZN15FMODAudioEngine13pauseAllMusicEb; FMODAudioEngine::pauseAllMusic(bool) ; +0x18, 0x8660c8\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x1c, 0x8660cc\nLDR             X0, [X0,#0x218]; this                                  ; +0x20, 0x8660d0\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x24, 0x8660d4\nB               ._ZN4FMOD6System6updateEv; FMOD::System::update(void)  ; +0x28, 0x8660d8", "xrefs": ["PlayLayer::pauseGame @ 0x5d26e8", "PlayLayer::startMusic @ 0x5e4578", "PlayLayer::loadFromCheckpoint @ 0x5e4f38", "PlayLayer::resetLevel @ 0x5e5874", "LevelEditorLayer::onPausePlaytest @ 0x661670", "EditorUI::onPlayback @ 0x689588", "EditorUI::onPlaytest @ 0x6bee44", "<???> @ 0x5fa48"], "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"}