{"type": "func", "start": 6443391680, "end": 6443391821, "name": "sub_1800E5AC0", "pseudocode": "// \n// sub_1800E5AC0 from 0x1800e5ac0 to 0x1800e5b4d (141 bytes)\n// \n// 2 xrefs:\n// > FMOD::System::isRecording @ 0x1800af719\n// > <???> @ 0x1801ffca8\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_1800E5AC0(__int64 a1, int a2, bool *a3)\n{\n  __int64 v4; // rbx\n  __int64 result; // rax\n\n  v4 = a2;\n  result = sub_1800E8520();\n  if ( !(_DWORD)result )\n  {\n    if ( (int)v4 < 0 || (int)v4 >= *(_DWORD *)(a1 + 1684) )\n    {\n      return 31;\n    }\n    else\n    {\n      if ( a3 )\n        *a3 = *(_QWORD *)(56 * v4 + *(_QWORD *)(a1 + 1696) + 48) != 0;\n      result = 0;\n      if ( (*(_BYTE *)(56 * v4 + *(_QWORD *)(a1 + 1696) + 24) & 1) == 0 )\n        return 80;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800E5AC0 from 0x1800e5ac0 to 0x1800e5b4d (141 bytes)\n; \n; 2 xrefs:\n; > FMOD::System::isRecording @ 0x1800af719\n; > <???> @ 0x1801ffca8\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, 0x1800e5ac0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800e5ac5\npush    rdi                                                            ; +0xa, 0x1800e5aca\nsub     rsp, 20h                                                       ; +0xb, 0x1800e5acb\nmov     rsi, r8                                                        ; +0xf, 0x1800e5acf\nmovsxd  rbx, edx                                                       ; +0x12, 0x1800e5ad2\nmov     rdi, rcx                                                       ; +0x15, 0x1800e5ad5\ncall    sub_1800E8520                                                  ; +0x18, 0x1800e5ad8\ntest    eax, eax                                                       ; +0x1d, 0x1800e5add\njnz     short loc_1800E5B3D                                            ; +0x1f, 0x1800e5adf\ntest    ebx, ebx                                                       ; +0x21, 0x1800e5ae1\njs      short loc_1800E5B38                                            ; +0x23, 0x1800e5ae3\ncmp     ebx, [rdi+694h]                                                ; +0x25, 0x1800e5ae5\njge     short loc_1800E5B38                                            ; +0x2b, 0x1800e5aeb\nmov     rdx, rbx                                                       ; +0x2d, 0x1800e5aed\ntest    rsi, rsi                                                       ; +0x30, 0x1800e5af0\njz      short loc_1800E5B0B                                            ; +0x33, 0x1800e5af3\nmov     rax, [rdi+6A0h]                                                ; +0x35, 0x1800e5af5\nimul    rcx, rdx, 38h ; '8'                                            ; +0x3c, 0x1800e5afc\ncmp     qword ptr [rcx+rax+30h], 0                                     ; +0x40, 0x1800e5b00\nsetnz   al                                                             ; +0x46, 0x1800e5b06\nmov     [rsi], al                                                      ; +0x49, 0x1800e5b09\nmov     rcx, [rdi+6A0h]                                                ; +0x4b, 0x1800e5b0b\nimul    rax, rdx, 38h ; '8'                                            ; +0x52, 0x1800e5b12\ntest    byte ptr [rax+rcx+18h], 1                                      ; +0x56, 0x1800e5b16\nmov     eax, 0                                                         ; +0x5b, 0x1800e5b1b\nmov     ecx, 50h ; 'P'                                                 ; +0x60, 0x1800e5b20\ncmovz   eax, ecx                                                       ; +0x65, 0x1800e5b25\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x68, 0x1800e5b28\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6d, 0x1800e5b2d\nadd     rsp, 20h                                                       ; +0x72, 0x1800e5b32\npop     rdi                                                            ; +0x76, 0x1800e5b36\nretn                                                                   ; +0x77, 0x1800e5b37\nmov     eax, 1Fh                                                       ; +0x78, 0x1800e5b38\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7d, 0x1800e5b3d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x82, 0x1800e5b42\nadd     rsp, 20h                                                       ; +0x87, 0x1800e5b47\npop     rdi                                                            ; +0x8b, 0x1800e5b4b\nretn                                                                   ; +0x8c, 0x1800e5b4c", "xrefs": ["FMOD::System::isRecording @ 0x1800af719", "<???> @ 0x1801ffca8"], "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"}