{"type": "func", "start": 4299022112, "end": 4299022181, "name": "FMODAudioEngine::pauseAllAudio", "pseudocode": "// \n// FMODAudioEngine::pauseAllAudio from 0x1003ddf20 to 0x1003ddf65 (69 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::pauseAudio @ 0x10015116c\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 FMODAudioEngine::pauseAllAudio(FMODAudioEngine *a1)\n{\n  if ( !a1->m_allAudioPaused )\n  {\n    a1->m_allAudioPaused = 1;\n    FMOD::ChannelControl::setPaused(a1->m_backgroundMusicChannel, 1);\n    FMOD::ChannelControl::setPaused(a1->m_globalChannel, 1);\n  }\n}", "assembly": "; \n; FMODAudioEngine::pauseAllAudio from 0x1003ddf20 to 0x1003ddf65 (69 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::pauseAudio @ 0x10015116c\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\ncmp     byte ptr [rdi+219h], 0                                         ; +0x0, 0x1003ddf20\njz      short loc_1003DDF2A                                            ; +0x7, 0x1003ddf27\nretn                                                                   ; +0x9, 0x1003ddf29\npush    rbp                                                            ; +0xa, 0x1003ddf2a\nmov     rbp, rsp                                                       ; +0xb, 0x1003ddf2b\npush    rbx                                                            ; +0xe, 0x1003ddf2e\npush    rax                                                            ; +0xf, 0x1003ddf2f\nmov     byte ptr [rdi+219h], 1                                         ; +0x10, 0x1003ddf30\nmov     rax, [rdi+1E0h]                                                ; +0x17, 0x1003ddf37\nmov     rbx, rdi                                                       ; +0x1e, 0x1003ddf3e\nmov     rdi, rax; this                                                 ; +0x21, 0x1003ddf41\nmov     esi, 1; bool                                                   ; +0x24, 0x1003ddf44\ncall    __ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0x29, 0x1003ddf49\nmov     rdi, [rbx+200h]; this                                          ; +0x2e, 0x1003ddf4e\nmov     esi, 1; bool                                                   ; +0x35, 0x1003ddf55\nadd     rsp, 8                                                         ; +0x3a, 0x1003ddf5a\npop     rbx                                                            ; +0x3e, 0x1003ddf5e\npop     rbp                                                            ; +0x3f, 0x1003ddf5f\njmp     __ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0x40, 0x1003ddf60", "xrefs": ["GJBaseGameLayer::pauseAudio @ 0x10015116c"], "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"}