{"type": "func", "start": 3152688, "end": 3152728, "name": "FMODAudioEngine::pauseAllMusic", "pseudocode": "// \n// FMODAudioEngine::pauseAllMusic from 0x301b30 to 0x301b58 (40 bytes)\n// \n// 8 xrefs:\n// > Java_com_customRobTop_JniToCpp_didShowInterstitial @ 0x2beb48\n// > AppDelegate::pauseSound @ 0x307ace\n// > AppDelegate::checkSound @ 0x307bc6\n// > PlayLayer::destroyPlayer @ 0x313f9a\n// > PlayLayer::loadFromCheckpoint @ 0x31f43c\n// > PlayLayer::resetLevel @ 0x31f788\n// > GameManager::videoAdShowed @ 0x32206c\n// > GJBaseGameLayer::pauseAudio @ 0x476920\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 FMODAudioEngine::pauseAllMusic(FMODAudioEngine *a1, bool a2)\n{\n  std::__detail::_Hash_node_base *M_nxt; // r4\n  _BOOL4 v4; // r6\n  FMOD::Channel *v5; // r0\n\n  M_nxt = a1->m_fmodMusic._M_h._M_before_begin._M_nxt;\n  v4 = a2;\n  while ( M_nxt )\n  {\n    if ( v4 || !BYTE1(M_nxt[5]._M_nxt) )\n    {\n      v5 = FMODAudioEngine::channelForChannelID(a1, (int)M_nxt[2]._M_nxt);\n      if ( v5 )\n        FMOD::ChannelControl::setPaused(v5, 1);\n    }\n    M_nxt = M_nxt->_M_nxt;\n  }\n}", "assembly": "; \n; FMODAudioEngine::pauseAllMusic from 0x301b30 to 0x301b58 (40 bytes)\n; \n; 8 xrefs:\n; > Java_com_customRobTop_JniToCpp_didShowInterstitial @ 0x2beb48\n; > AppDelegate::pauseSound @ 0x307ace\n; > AppDelegate::checkSound @ 0x307bc6\n; > PlayLayer::destroyPlayer @ 0x313f9a\n; > PlayLayer::loadFromCheckpoint @ 0x31f43c\n; > PlayLayer::resetLevel @ 0x31f788\n; > GameManager::videoAdShowed @ 0x32206c\n; > GJBaseGameLayer::pauseAudio @ 0x476920\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            {R4-R6,LR}                                             ; +0x0, 0x301b30\nMOV             R5, R0                                                 ; +0x2, 0x301b32\nLDR.W           R4, [R0,#0x110]                                        ; +0x4, 0x301b34\nMOV             R6, R1                                                 ; +0x8, 0x301b38\nCBZ             R4, locret_301B56                                      ; +0xa, 0x301b3a\nCBNZ            R6, loc_301B42                                         ; +0xc, 0x301b3c\nLDRB            R3, [R4,#0x15]                                         ; +0xe, 0x301b3e\nCBNZ            R3, loc_301B52                                         ; +0x10, 0x301b40\nMOV             R0, R5; this                                           ; +0x12, 0x301b42\nLDR             R1, [R4,#8]; int                                       ; +0x14, 0x301b44\nBL              _ZN15FMODAudioEngine19channelForChannelIDEi; FMODAudioEngine::channelForChannelID(int) ; +0x16, 0x301b46\nCBZ             R0, loc_301B52                                         ; +0x1a, 0x301b4a\nMOVS            R1, #1; bool                                           ; +0x1c, 0x301b4c\nBLX             _ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0x1e, 0x301b4e\nLDR             R4, [R4]                                               ; +0x22, 0x301b52\nB               loc_301B3A                                             ; +0x24, 0x301b54\nPOP             {R4-R6,PC}                                             ; +0x26, 0x301b56", "xrefs": ["Java_com_customRobTop_JniToCpp_didShowInterstitial @ 0x2beb48", "AppDelegate::pauseSound @ 0x307ace", "AppDelegate::checkSound @ 0x307bc6", "PlayLayer::destroyPlayer @ 0x313f9a", "PlayLayer::loadFromCheckpoint @ 0x31f43c", "PlayLayer::resetLevel @ 0x31f788", "GameManager::videoAdShowed @ 0x32206c", "GJBaseGameLayer::pauseAudio @ 0x476920"], "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"}