{"type": "func", "start": 4296348000, "end": 4296348053, "name": "GJBaseGameLayer::pauseAudio", "pseudocode": "// \n// GJBaseGameLayer::pauseAudio from 0x100151160 to 0x100151195 (53 bytes)\n// \n// 7 xrefs:\n// > EditorUI::onPlayback @ 0x10000c325\n// > EditorUI::onPlaytest @ 0x10000c552\n// > PlayLayer::startMusic @ 0x1000b32ee\n// > PlayLayer::loadFromCheckpoint @ 0x1000bd3a8\n// > PlayLayer::resetLevel @ 0x1000be473\n// > PlayLayer::pauseGame @ 0x1000bf396\n// > LevelEditorLayer::onPausePlaytest @ 0x1000f2c00\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::pauseAudio(GJBaseGameLayer *a1)\n{\n  FMODAudioEngine *v1; // rax\n  FMODAudioEngine *v2; // rax\n  FMODAudioEngine *v3; // rax\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 0x100151160 to 0x100151195 (53 bytes)\n; \n; 7 xrefs:\n; > EditorUI::onPlayback @ 0x10000c325\n; > EditorUI::onPlaytest @ 0x10000c552\n; > PlayLayer::startMusic @ 0x1000b32ee\n; > PlayLayer::loadFromCheckpoint @ 0x1000bd3a8\n; > PlayLayer::resetLevel @ 0x1000be473\n; > PlayLayer::pauseGame @ 0x1000bf396\n; > LevelEditorLayer::onPausePlaytest @ 0x1000f2c00\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, 0x100151160\nmov     rbp, rsp                                                       ; +0x1, 0x100151161\ncall    FMODAudioEngine__sharedEngine                                  ; +0x4, 0x100151164\nmov     rdi, rax                                                       ; +0x9, 0x100151169\ncall    FMODAudioEngine__pauseAllAudio                                 ; +0xc, 0x10015116c\ncall    FMODAudioEngine__sharedEngine                                  ; +0x11, 0x100151171\nmov     rdi, rax                                                       ; +0x16, 0x100151176\nmov     esi, 1                                                         ; +0x19, 0x100151179\ncall    FMODAudioEngine__pauseAllMusic                                 ; +0x1e, 0x10015117e\ncall    FMODAudioEngine__sharedEngine                                  ; +0x23, 0x100151183\nmov     rdi, [rax+1E8h]; this                                          ; +0x28, 0x100151188\npop     rbp                                                            ; +0x2f, 0x10015118f\njmp     __ZN4FMOD6System6updateEv; FMOD::System::update(void)          ; +0x30, 0x100151190", "xrefs": ["EditorUI::onPlayback @ 0x10000c325", "EditorUI::onPlaytest @ 0x10000c552", "PlayLayer::startMusic @ 0x1000b32ee", "PlayLayer::loadFromCheckpoint @ 0x1000bd3a8", "PlayLayer::resetLevel @ 0x1000be473", "PlayLayer::pauseGame @ 0x1000bf396", "LevelEditorLayer::onPausePlaytest @ 0x1000f2c00"], "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"}