{"type": "func", "start": 4116434, "end": 4116476, "name": "FMODAudioEngine::pauseAllMusic", "pseudocode": "// \n// FMODAudioEngine::pauseAllMusic from 0x3ecfd2 to 0x3ecffc (42 bytes)\n// \n// 5 xrefs:\n// > PlayLayer::destroyPlayer @ 0x405cf6\n// > PlayLayer::loadFromCheckpoint @ 0x411916\n// > PlayLayer::resetLevel @ 0x41232c\n// > GameManager::videoAdShowed @ 0x41413c\n// > GJBaseGameLayer::pauseAudio @ 0x595f08\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:10 +0000\n// \n\nFMODAudioEngine *__fastcall FMODAudioEngine::pauseAllMusic(FMODAudioEngine *this, int a2)\n{\n  FMODAudioEngine *v2; // r5\n  int *i; // r4\n\n  v2 = this;\n  for ( i = *((int **)this + 68); i; i = (int *)*i )\n  {\n    if ( a2 || !*((_BYTE *)i + 33) )\n    {\n      this = (FMODAudioEngine *)FMODAudioEngine::channelForChannelID(v2, i[3]);\n      if ( this )\n        this = (FMODAudioEngine *)FMOD::ChannelControl::setPaused(this, 1);\n    }\n  }\n  return this;\n}", "assembly": "; \n; FMODAudioEngine::pauseAllMusic from 0x3ecfd2 to 0x3ecffc (42 bytes)\n; \n; 5 xrefs:\n; > PlayLayer::destroyPlayer @ 0x405cf6\n; > PlayLayer::loadFromCheckpoint @ 0x411916\n; > PlayLayer::resetLevel @ 0x41232c\n; > GameManager::videoAdShowed @ 0x41413c\n; > GJBaseGameLayer::pauseAudio @ 0x595f08\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:10 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3ecfd2\nMOV             R5, R0                                                 ; +0x2, 0x3ecfd4\nLDR.W           R4, [R0,#0x110]                                        ; +0x4, 0x3ecfd6\nMOV             R6, R1                                                 ; +0x8, 0x3ecfda\nCBZ             R4, locret_3ECFFA                                      ; +0xa, 0x3ecfdc\nCBNZ            R6, loc_3ECFE6                                         ; +0xc, 0x3ecfde\nLDRB.W          R3, [R4,#0x21]                                         ; +0xe, 0x3ecfe0\nCBNZ            R3, loc_3ECFF6                                         ; +0x12, 0x3ecfe4\nMOV             R0, R5; this                                           ; +0x14, 0x3ecfe6\nLDR             R1, [R4,#0xC]; int                                     ; +0x16, 0x3ecfe8\nBL              _ZN15FMODAudioEngine19channelForChannelIDEi; FMODAudioEngine::channelForChannelID(int) ; +0x18, 0x3ecfea\nCBZ             R0, loc_3ECFF6                                         ; +0x1c, 0x3ecfee\nMOVS            R1, #1; bool                                           ; +0x1e, 0x3ecff0\nBLX             _ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0x20, 0x3ecff2\nLDR             R4, [R4]                                               ; +0x24, 0x3ecff6\nB               loc_3ECFDC                                             ; +0x26, 0x3ecff8\nPOP             {R4-R6,PC}                                             ; +0x28, 0x3ecffa", "xrefs": ["PlayLayer::destroyPlayer @ 0x405cf6", "PlayLayer::loadFromCheckpoint @ 0x411916", "PlayLayer::resetLevel @ 0x41232c", "GameManager::videoAdShowed @ 0x41413c", "GJBaseGameLayer::pauseAudio @ 0x595f08"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}