{"type": "func", "start": 4296248112, "end": 4296248180, "name": "FMODAudioEngine::pauseAllAudio", "pseudocode": "// \n// FMODAudioEngine::pauseAllAudio from 0x100138b30 to 0x100138b74 (68 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::pauseAudio @ 0x1001fe48c\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 0x100138b30 to 0x100138b74 (68 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::pauseAudio @ 0x1001fe48c\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\nLDRB            W8, [X0,#0x219]                                        ; +0x0, 0x100138b30\nTBZ             W8, #0, loc_100138B3C                                  ; +0x4, 0x100138b34\nRET                                                                    ; +0x8, 0x100138b38\nSTP             X20, X19, [SP,#var_20]!                                ; +0xc, 0x100138b3c\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x10, 0x100138b40\nADD             X29, SP, #0x20+var_10                                  ; +0x14, 0x100138b44\nMOV             X19, X0                                                ; +0x18, 0x100138b48\nMOV             W8, #1                                                 ; +0x1c, 0x100138b4c\nSTRB            W8, [X0,#0x219]                                        ; +0x20, 0x100138b50\nLDR             X0, [X0,#0x1E0]                                        ; +0x24, 0x100138b54\nMOV             W1, #1                                                 ; +0x28, 0x100138b58\nBL              FMOD__ChannelControl__setPaused                        ; +0x2c, 0x100138b5c\nLDR             X0, [X19,#0x200]                                       ; +0x30, 0x100138b60\nMOV             W1, #1                                                 ; +0x34, 0x100138b64\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x38, 0x100138b68\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x3c, 0x100138b6c\nB               FMOD__ChannelControl__setPaused                        ; +0x40, 0x100138b70", "xrefs": ["GJBaseGameLayer::pauseAudio @ 0x1001fe48c"], "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"}