{"type": "func", "start": 4296265252, "end": 4296265344, "name": "FMODAudioEngine::pauseAllMusic", "pseudocode": "// \n// FMODAudioEngine::pauseAllMusic from 0x10013ce24 to 0x10013ce80 (92 bytes)\n// \n// 6 xrefs:\n// > PlayLayer::destroyPlayer @ 0x10011ed30\n// > PlayLayer::loadFromCheckpoint @ 0x100121044\n// > PlayLayer::resetLevel @ 0x100121c34\n// > GJBaseGameLayer::pauseAudio @ 0x1001fe498\n// > AppDelegate::pauseSound @ 0x10026951c\n// > AppDelegate::checkSound @ 0x10026970c\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::pauseAllMusic(FMODAudioEngine *a1, bool a2)\n{\n  std::__hash_node_base<std::__hash_node<std::__hash_value_type<int, FMODMusic>, void *> *>::__next_pointer i; // x21\n  FMOD::Channel *v5; // x0\n\n  for ( i = a1->m_fmodMusic.__table_.__p1_.__value_.__next_; i; i = i->__next_ )\n  {\n    if ( a2 || (BYTE1(i[8].__next_) & 1) == 0 )\n    {\n      v5 = FMODAudioEngine::channelForChannelID(a1, (int)i[3].__next_);\n      if ( v5 )\n        FMOD::ChannelControl::setPaused(v5, 1);\n    }\n  }\n}", "assembly": "; \n; FMODAudioEngine::pauseAllMusic from 0x10013ce24 to 0x10013ce80 (92 bytes)\n; \n; 6 xrefs:\n; > PlayLayer::destroyPlayer @ 0x10011ed30\n; > PlayLayer::loadFromCheckpoint @ 0x100121044\n; > PlayLayer::resetLevel @ 0x100121c34\n; > GJBaseGameLayer::pauseAudio @ 0x1001fe498\n; > AppDelegate::pauseSound @ 0x10026951c\n; > AppDelegate::checkSound @ 0x10026970c\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10013ce24\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10013ce28\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10013ce2c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10013ce30\nLDR             X21, [X0,#0x150]                                       ; +0x10, 0x10013ce34\nCBZ             X21, loc_10013CE70                                     ; +0x14, 0x10013ce38\nMOV             X19, X1                                                ; +0x18, 0x10013ce3c\nMOV             X20, X0                                                ; +0x1c, 0x10013ce40\nTBNZ            W19, #0, loc_10013CE50                                 ; +0x20, 0x10013ce44\nLDRB            W8, [X21,#0x41]                                        ; +0x24, 0x10013ce48\nTBNZ            W8, #0, loc_10013CE68                                  ; +0x28, 0x10013ce4c\nLDR             W1, [X21,#0x18]                                        ; +0x2c, 0x10013ce50\nMOV             X0, X20                                                ; +0x30, 0x10013ce54\nBL              FMODAudioEngine__channelForChannelID                   ; +0x34, 0x10013ce58\nCBZ             X0, loc_10013CE68                                      ; +0x38, 0x10013ce5c\nMOV             W1, #1                                                 ; +0x3c, 0x10013ce60\nBL              FMOD__ChannelControl__setPaused                        ; +0x40, 0x10013ce64\nLDR             X21, [X21]                                             ; +0x44, 0x10013ce68\nCBNZ            X21, loc_10013CE44                                     ; +0x48, 0x10013ce6c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x4c, 0x10013ce70\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x50, 0x10013ce74\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x54, 0x10013ce78\nRET                                                                    ; +0x58, 0x10013ce7c", "xrefs": ["PlayLayer::destroyPlayer @ 0x10011ed30", "PlayLayer::loadFromCheckpoint @ 0x100121044", "PlayLayer::resetLevel @ 0x100121c34", "GJBaseGameLayer::pauseAudio @ 0x1001fe498", "AppDelegate::pauseSound @ 0x10026951c", "AppDelegate::checkSound @ 0x10026970c"], "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"}