{"type": "func", "start": 6443392640, "end": 6443392871, "name": "sub_1800E5E80", "pseudocode": "// \n// sub_1800E5E80 from 0x1800e5e80 to 0x1800e5f67 (231 bytes)\n// \n// 2 xrefs:\n// > FMOD::System::mixerSuspend @ 0x1800afc95\n// > <???> @ 0x1801ffd38\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 10:54:17 +0000\n// \n\n__int64 __fastcall sub_1800E5E80(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // rcx\n  int v5; // edi\n  __int64 v6; // rsi\n  __int64 v7; // rax\n  __int64 v8; // rcx\n  __int64 result; // rax\n  __int64 (__fastcall *v10)(__int64, __int64); // rax\n\n  if ( !*(_BYTE *)(a1 + 8) || *(_BYTE *)(a1 + 69976) )\n    return 0;\n  v4 = *(_QWORD *)(a1 + 1648);\n  if ( !*(_QWORD *)(v4 + 1040) || (v5 = 0, *(int *)(a1 + 1684) <= 0) )\n  {\nLABEL_12:\n    v10 = *(__int64 (__fastcall **)(__int64, __int64))(v4 + 976);\n    if ( v10 )\n    {\n      LOBYTE(a2) = 1;\n      result = v10(v4 + 8, a2);\n      if ( (_DWORD)result )\n        return result;\n    }\n    if ( *(_BYTE *)(*(_QWORD *)(a1 + 1648) + 972LL) )\n    {\n      result = sub_1800FC360(a1);\n      if ( (_DWORD)result )\n        return result;\n    }\n    *(_BYTE *)(a1 + 69976) = 1;\n    return 0;\n  }\n  v6 = 0;\n  while ( 1 )\n  {\n    a2 = *(_QWORD *)(v6 + *(_QWORD *)(a1 + 1696) + 48);\n    if ( a2 )\n    {\n      v7 = *(_QWORD *)(a1 + 1648);\n      LOBYTE(a3) = 1;\n      v8 = v7 + 8;\n      if ( !v7 )\n        v8 = 0;\n      result = (*(__int64 (__fastcall **)(__int64, __int64, __int64))(v7 + 1040))(v8, a2, a3);\n      if ( (_DWORD)result )\n        return result;\n    }\n    ++v5;\n    v6 += 56;\n    if ( v5 >= *(_DWORD *)(a1 + 1684) )\n    {\n      v4 = *(_QWORD *)(a1 + 1648);\n      goto LABEL_12;\n    }\n  }\n}", "assembly": "; \n; sub_1800E5E80 from 0x1800e5e80 to 0x1800e5f67 (231 bytes)\n; \n; 2 xrefs:\n; > FMOD::System::mixerSuspend @ 0x1800afc95\n; > <???> @ 0x1801ffd38\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 10:54:17 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800e5e80\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800e5e85\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800e5e8a\npush    rdi                                                            ; +0xf, 0x1800e5e8f\nsub     rsp, 20h                                                       ; +0x10, 0x1800e5e90\ncmp     byte ptr [rcx+8], 0                                            ; +0x14, 0x1800e5e94\nmov     rbx, rcx                                                       ; +0x18, 0x1800e5e98\njz      loc_1800E5F50                                                  ; +0x1b, 0x1800e5e9b\ncmp     byte ptr [rcx+11158h], 0                                       ; +0x21, 0x1800e5ea1\njnz     loc_1800E5F50                                                  ; +0x28, 0x1800e5ea8\nmov     rcx, [rcx+670h]                                                ; +0x2e, 0x1800e5eae\ncmp     qword ptr [rcx+410h], 0                                        ; +0x35, 0x1800e5eb5\njz      short loc_1800E5F15                                            ; +0x3d, 0x1800e5ebd\nxor     ebp, ebp                                                       ; +0x3f, 0x1800e5ebf\nmov     edi, ebp                                                       ; +0x41, 0x1800e5ec1\ncmp     [rbx+694h], ebp                                                ; +0x43, 0x1800e5ec3\njle     short loc_1800E5F15                                            ; +0x49, 0x1800e5ec9\nmov     esi, ebp                                                       ; +0x4b, 0x1800e5ecb\nnop     dword ptr [rax]                                                ; +0x4d, 0x1800e5ecd\nmov     rax, [rbx+6A0h]                                                ; +0x50, 0x1800e5ed0\nmov     rdx, [rsi+rax+30h]                                             ; +0x57, 0x1800e5ed7\ntest    rdx, rdx                                                       ; +0x5c, 0x1800e5edc\njz      short loc_1800E5F00                                            ; +0x5f, 0x1800e5edf\nmov     rax, [rbx+670h]                                                ; +0x61, 0x1800e5ee1\nmov     r8b, 1                                                         ; +0x68, 0x1800e5ee8\ntest    rax, rax                                                       ; +0x6b, 0x1800e5eeb\nlea     rcx, [rax+8]                                                   ; +0x6e, 0x1800e5eee\ncmovz   rcx, rbp                                                       ; +0x72, 0x1800e5ef2\ncall    qword ptr [rax+410h]                                           ; +0x76, 0x1800e5ef6\ntest    eax, eax                                                       ; +0x7c, 0x1800e5efc\njnz     short loc_1800E5F52                                            ; +0x7e, 0x1800e5efe\ninc     edi                                                            ; +0x80, 0x1800e5f00\nadd     rsi, 38h ; '8'                                                 ; +0x82, 0x1800e5f02\ncmp     edi, [rbx+694h]                                                ; +0x86, 0x1800e5f06\njl      short loc_1800E5ED0                                            ; +0x8c, 0x1800e5f0c\nmov     rcx, [rbx+670h]                                                ; +0x8e, 0x1800e5f0e\nmov     rax, [rcx+3D0h]                                                ; +0x95, 0x1800e5f15\ntest    rax, rax                                                       ; +0x9c, 0x1800e5f1c\njz      short loc_1800E5F2D                                            ; +0x9f, 0x1800e5f1f\nadd     rcx, 8                                                         ; +0xa1, 0x1800e5f21\nmov     dl, 1                                                          ; +0xa5, 0x1800e5f25\ncall    rax                                                            ; +0xa7, 0x1800e5f27\ntest    eax, eax                                                       ; +0xa9, 0x1800e5f29\njnz     short loc_1800E5F52                                            ; +0xab, 0x1800e5f2b\nmov     rax, [rbx+670h]                                                ; +0xad, 0x1800e5f2d\ncmp     byte ptr [rax+3CCh], 0                                         ; +0xb4, 0x1800e5f34\njz      short loc_1800E5F49                                            ; +0xbb, 0x1800e5f3b\nmov     rcx, rbx                                                       ; +0xbd, 0x1800e5f3d\ncall    sub_1800FC360                                                  ; +0xc0, 0x1800e5f40\ntest    eax, eax                                                       ; +0xc5, 0x1800e5f45\njnz     short loc_1800E5F52                                            ; +0xc7, 0x1800e5f47\nmov     byte ptr [rbx+11158h], 1                                       ; +0xc9, 0x1800e5f49\nxor     eax, eax                                                       ; +0xd0, 0x1800e5f50\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xd2, 0x1800e5f52\nmov     rbp, [rsp+28h+arg_8]                                           ; +0xd7, 0x1800e5f57\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xdc, 0x1800e5f5c\nadd     rsp, 20h                                                       ; +0xe1, 0x1800e5f61\npop     rdi                                                            ; +0xe5, 0x1800e5f65\nretn                                                                   ; +0xe6, 0x1800e5f66", "xrefs": ["FMOD::System::mixerSuspend @ 0x1800afc95", "<???> @ 0x1801ffd38"], "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"}