{"type": "func", "start": 5369094192, "end": 5369094346, "name": "FMODAudioEngine::resumeSuspendedAudio", "pseudocode": "// \n// FMODAudioEngine::resumeSuspendedAudio from 0x14005e030 to 0x14005e0ca (154 bytes)\n// \n// 2 xrefs:\n// > FMODAudioEngine::start @ 0x14005dfff\n// > <???> @ 0x140910910\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 11:25:43 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::resumeSuspendedAudio(__int64 a1)\n{\n  unsigned int *v2; // rsi\n  unsigned int *i; // rbx\n  __int64 v4; // rax\n  __int64 result; // rax\n\n  if ( *(_BYTE *)(a1 + 625) && !*(_BYTE *)(a1 + 617) )\n    FMOD::ChannelControl::setPaused(*(_QWORD *)(a1 + 584), 0);\n  *(_BYTE *)(a1 + 625) = 0;\n  v2 = *(unsigned int **)(a1 + 640);\n  for ( i = *(unsigned int **)(a1 + 632); i != v2; ++i )\n  {\n    v4 = FMODAudioEngine::channelForChannelID(a1, *i);\n    if ( v4 )\n      FMOD::ChannelControl::setPaused(v4, 0);\n  }\n  result = *(_QWORD *)(a1 + 632);\n  if ( result != *(_QWORD *)(a1 + 640) )\n    *(_QWORD *)(a1 + 640) = result;\n  return result;\n}", "assembly": "; \n; FMODAudioEngine::resumeSuspendedAudio from 0x14005e030 to 0x14005e0ca (154 bytes)\n; \n; 2 xrefs:\n; > FMODAudioEngine::start @ 0x14005dfff\n; > <???> @ 0x140910910\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 11:25:43 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14005e030\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14005e035\npush    rdi                                                            ; +0xa, 0x14005e03a\nsub     rsp, 20h                                                       ; +0xb, 0x14005e03b\ncmp     byte ptr [rcx+271h], 0                                         ; +0xf, 0x14005e03f\nmov     rdi, rcx                                                       ; +0x16, 0x14005e046\njz      short loc_14005E063                                            ; +0x19, 0x14005e049\ncmp     byte ptr [rcx+269h], 0                                         ; +0x1b, 0x14005e04b\njnz     short loc_14005E063                                            ; +0x22, 0x14005e052\nmov     rcx, [rcx+248h]                                                ; +0x24, 0x14005e054\nxor     edx, edx                                                       ; +0x2b, 0x14005e05b\ncall    cs:?setPaused@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::ChannelControl::setPaused(bool) ; +0x2d, 0x14005e05d\nmov     byte ptr [rdi+271h], 0                                         ; +0x33, 0x14005e063\nmov     rsi, [rdi+280h]                                                ; +0x3a, 0x14005e06a\nmov     rbx, [rdi+278h]                                                ; +0x41, 0x14005e071\ncmp     rbx, rsi                                                       ; +0x48, 0x14005e078\njz      short loc_14005E0A3                                            ; +0x4b, 0x14005e07b\nnop     dword ptr [rax]                                                ; +0x4d, 0x14005e07d\nmov     edx, [rbx]                                                     ; +0x50, 0x14005e080\nmov     rcx, rdi                                                       ; +0x52, 0x14005e082\ncall    FMODAudioEngine__channelForChannelID                           ; +0x55, 0x14005e085\ntest    rax, rax                                                       ; +0x5a, 0x14005e08a\njz      short loc_14005E09A                                            ; +0x5d, 0x14005e08d\nxor     edx, edx                                                       ; +0x5f, 0x14005e08f\nmov     rcx, rax                                                       ; +0x61, 0x14005e091\ncall    cs:?setPaused@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::ChannelControl::setPaused(bool) ; +0x64, 0x14005e094\nadd     rbx, 4                                                         ; +0x6a, 0x14005e09a\ncmp     rbx, rsi                                                       ; +0x6e, 0x14005e09e\njnz     short loc_14005E080                                            ; +0x71, 0x14005e0a1\nmov     rax, [rdi+278h]                                                ; +0x73, 0x14005e0a3\ncmp     rax, [rdi+280h]                                                ; +0x7a, 0x14005e0aa\njz      short loc_14005E0BA                                            ; +0x81, 0x14005e0b1\nmov     [rdi+280h], rax                                                ; +0x83, 0x14005e0b3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8a, 0x14005e0ba\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x8f, 0x14005e0bf\nadd     rsp, 20h                                                       ; +0x94, 0x14005e0c4\npop     rdi                                                            ; +0x98, 0x14005e0c8\nretn                                                                   ; +0x99, 0x14005e0c9", "xrefs": ["FMODAudioEngine::start @ 0x14005dfff", "<???> @ 0x140910910"], "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"}