{"type": "func", "start": 7157600, "end": 7157696, "name": "FMODAudioEngine::pauseAllMusic", "pseudocode": "// \n// FMODAudioEngine::pauseAllMusic from 0x6d3760 to 0x6d37c0 (96 bytes)\n// \n// 6 xrefs:\n// > PlayLayer::destroyPlayer @ 0x6ff7ec\n// > PlayLayer::loadFromCheckpoint @ 0x70fa10\n// > PlayLayer::resetLevel @ 0x711b40\n// > GameManager::videoAdShowed @ 0x715bbc\n// > GJBaseGameLayer::pauseAudio @ 0x9a87ac\n// > <???> @ 0x42df0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:51:28 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::pauseAllMusic(__int64 this, unsigned __int8 a2)\n{\n  int v2; // w20\n  FMODAudioEngine *v3; // x21\n  __int64 *i; // x19\n\n  v2 = a2;\n  v3 = (FMODAudioEngine *)this;\n  for ( i = *(__int64 **)(this + 336); i; i = (__int64 *)*i )\n  {\n    if ( !v2 )\n    {\n      this = *((unsigned __int8 *)i + 65);\n      if ( *((_BYTE *)i + 65) )\n        continue;\n    }\n    this = FMODAudioEngine::channelForChannelID(v3, *((_DWORD *)i + 6));\n    if ( this )\n      this = FMOD::ChannelControl::setPaused((FMOD::ChannelControl *)this, 1);\n  }\n  return this;\n}", "assembly": "; \n; FMODAudioEngine::pauseAllMusic from 0x6d3760 to 0x6d37c0 (96 bytes)\n; \n; 6 xrefs:\n; > PlayLayer::destroyPlayer @ 0x6ff7ec\n; > PlayLayer::loadFromCheckpoint @ 0x70fa10\n; > PlayLayer::resetLevel @ 0x711b40\n; > GameManager::videoAdShowed @ 0x715bbc\n; > GJBaseGameLayer::pauseAudio @ 0x9a87ac\n; > <???> @ 0x42df0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:51:28 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x6d3760\nMOV             X29, SP                                                ; +0x4, 0x6d3764\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x6d3768\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x6d376c\nUXTB            W20, W1                                                ; +0x10, 0x6d3770\nMOV             X21, X0                                                ; +0x14, 0x6d3774\nLDR             X19, [X0,#0x150]                                       ; +0x18, 0x6d3778\nCBZ             X19, loc_6D37B0                                        ; +0x1c, 0x6d377c\nADD             X1, X19, #0x10                                         ; +0x20, 0x6d3780\nCBNZ            W20, loc_6D3790                                        ; +0x24, 0x6d3784\nLDRB            W0, [X1,#0x31]                                         ; +0x28, 0x6d3788\nCBNZ            W0, loc_6D37A8                                         ; +0x2c, 0x6d378c\nLDR             W1, [X1,#8]; int                                       ; +0x30, 0x6d3790\nMOV             X0, X21; this                                          ; +0x34, 0x6d3794\nBL              _ZN15FMODAudioEngine19channelForChannelIDEi; FMODAudioEngine::channelForChannelID(int) ; +0x38, 0x6d3798\nMOV             W1, #1; bool                                           ; +0x3c, 0x6d379c\nCBZ             X0, loc_6D37A8                                         ; +0x40, 0x6d37a0\nBL              ._ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0x44, 0x6d37a4\nLDR             X19, [X19]                                             ; +0x48, 0x6d37a8\nCBNZ            X19, loc_6D3780                                        ; +0x4c, 0x6d37ac\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x50, 0x6d37b0\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x54, 0x6d37b4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x58, 0x6d37b8\nRET                                                                    ; +0x5c, 0x6d37bc", "xrefs": ["PlayLayer::destroyPlayer @ 0x6ff7ec", "PlayLayer::loadFromCheckpoint @ 0x70fa10", "PlayLayer::resetLevel @ 0x711b40", "GameManager::videoAdShowed @ 0x715bbc", "GJBaseGameLayer::pauseAudio @ 0x9a87ac", "<???> @ 0x42df0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}