{"type": "func", "start": 4298981440, "end": 4298981521, "name": "FMODAudioEngine::resumeAllMusic", "pseudocode": "// \n// FMODAudioEngine::resumeAllMusic from 0x1003d4040 to 0x1003d4091 (81 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::resumeAudio @ 0x10012f0d9\n// > GJBaseGameLayer::tryResumeAudio @ 0x10012f151\n// > GJBaseGameLayer::update @ 0x10012f290\n// > GameManager::videoAdHidden @ 0x10036959a\n// \n// This function is hookable on this platform (idp: pc, 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:29:40 +0000\n// \n\nvoid __fastcall FMODAudioEngine::resumeAllMusic(__int64 a1)\n{\n  __int64 *i; // r14\n  FMOD::ChannelControl *v2; // rax\n\n  for ( i = *(__int64 **)(a1 + 336); i; i = (__int64 *)*i )\n  {\n    if ( *((int *)i + 4) >= 0 )\n    {\n      v2 = (FMOD::ChannelControl *)FMODAudioEngine::channelForChannelID(a1, *((_DWORD *)i + 6));\n      if ( v2 )\n        FMOD::ChannelControl::setPaused(v2, 0);\n    }\n  }\n}", "assembly": "; \n; FMODAudioEngine::resumeAllMusic from 0x1003d4040 to 0x1003d4091 (81 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::resumeAudio @ 0x10012f0d9\n; > GJBaseGameLayer::tryResumeAudio @ 0x10012f151\n; > GJBaseGameLayer::update @ 0x10012f290\n; > GameManager::videoAdHidden @ 0x10036959a\n; \n; This function is hookable on this platform (idp: pc, 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:29:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003d4040\nmov     rbp, rsp                                                       ; +0x1, 0x1003d4041\npush    r14                                                            ; +0x4, 0x1003d4044\npush    rbx                                                            ; +0x6, 0x1003d4046\nmov     r14, [rdi+150h]                                                ; +0x7, 0x1003d4047\ntest    r14, r14                                                       ; +0xe, 0x1003d404e\njz      short loc_1003D408C                                            ; +0x11, 0x1003d4051\nmov     rbx, rdi                                                       ; +0x13, 0x1003d4053\njmp     short loc_1003D4068                                            ; +0x16, 0x1003d4056\nalign 20h                                                              ; +0x18, 0x1003d4058\nmov     r14, [r14]                                                     ; +0x20, 0x1003d4060\ntest    r14, r14                                                       ; +0x23, 0x1003d4063\njz      short loc_1003D408C                                            ; +0x26, 0x1003d4066\ncmp     dword ptr [r14+10h], 0                                         ; +0x28, 0x1003d4068\njs      short loc_1003D4060                                            ; +0x2d, 0x1003d406d\nmov     esi, [r14+18h]                                                 ; +0x2f, 0x1003d406f\nmov     rdi, rbx                                                       ; +0x33, 0x1003d4073\ncall    FMODAudioEngine__channelForChannelID                           ; +0x36, 0x1003d4076\ntest    rax, rax                                                       ; +0x3b, 0x1003d407b\njz      short loc_1003D4060                                            ; +0x3e, 0x1003d407e\nmov     rdi, rax; this                                                 ; +0x40, 0x1003d4080\nxor     esi, esi; bool                                                 ; +0x43, 0x1003d4083\ncall    __ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0x45, 0x1003d4085\njmp     short loc_1003D4060                                            ; +0x4a, 0x1003d408a\npop     rbx                                                            ; +0x4c, 0x1003d408c\npop     r14                                                            ; +0x4d, 0x1003d408d\npop     rbp                                                            ; +0x4f, 0x1003d408f\nretn                                                                   ; +0x50, 0x1003d4090", "xrefs": ["GJBaseGameLayer::resumeAudio @ 0x10012f0d9", "GJBaseGameLayer::tryResumeAudio @ 0x10012f151", "GJBaseGameLayer::update @ 0x10012f290", "GameManager::videoAdHidden @ 0x10036959a"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}