{"type": "func", "start": 4679952, "end": 4679988, "name": "GJBaseGameLayer::pauseAudio", "pseudocode": "// \n// GJBaseGameLayer::pauseAudio from 0x476910 to 0x476934 (36 bytes)\n// \n// 7 xrefs:\n// > PlayLayer::pauseGame @ 0x314512\n// > PlayLayer::startMusic @ 0x31f34a\n// > PlayLayer::loadFromCheckpoint @ 0x31f430\n// > PlayLayer::resetLevel @ 0x31f77c\n// > LevelEditorLayer::onPausePlaytest @ 0x368a48\n// > EditorUI::onPlayback @ 0x37da02\n// > EditorUI::onPlaytest @ 0x3a33b6\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; // r0\n  FMODAudioEngine *v2; // r0\n  FMODAudioEngine *v3; // r0\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 0x476910 to 0x476934 (36 bytes)\n; \n; 7 xrefs:\n; > PlayLayer::pauseGame @ 0x314512\n; > PlayLayer::startMusic @ 0x31f34a\n; > PlayLayer::loadFromCheckpoint @ 0x31f430\n; > PlayLayer::resetLevel @ 0x31f77c\n; > LevelEditorLayer::onPausePlaytest @ 0x368a48\n; > EditorUI::onPlayback @ 0x37da02\n; > EditorUI::onPlaytest @ 0x3a33b6\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            {R3,LR}                                                ; +0x0, 0x476910\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x2, 0x476912\nBL              _ZN15FMODAudioEngine13pauseAllAudioEv; FMODAudioEngine::pauseAllAudio(void) ; +0x6, 0x476916\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0xa, 0x47691a\nMOVS            R1, #1; bool                                           ; +0xe, 0x47691e\nBL              _ZN15FMODAudioEngine13pauseAllMusicEb; FMODAudioEngine::pauseAllMusic(bool) ; +0x10, 0x476920\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x14, 0x476924\nPOP.W           {R3,LR}                                                ; +0x18, 0x476928\nLDR.W           R0, [R0,#0x184]; this                                  ; +0x1c, 0x47692c\nB.W             j__ZN4FMOD6System6updateEv; FMOD::System::update(void) ; +0x20, 0x476930", "xrefs": ["PlayLayer::pauseGame @ 0x314512", "PlayLayer::startMusic @ 0x31f34a", "PlayLayer::loadFromCheckpoint @ 0x31f430", "PlayLayer::resetLevel @ 0x31f77c", "LevelEditorLayer::onPausePlaytest @ 0x368a48", "EditorUI::onPlayback @ 0x37da02", "EditorUI::onPlaytest @ 0x3a33b6"], "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"}