{"type": "func", "start": 6443387488, "end": 6443387638, "name": "sub_1800E4A60", "pseudocode": "// \n// sub_1800E4A60 from 0x1800e4a60 to 0x1800e4af6 (150 bytes)\n// \n// 2 xrefs:\n// > FMOD::System::getRecordPosition @ 0x1800aeb99\n// > <???> @ 0x1801ffc3c\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_1800E4A60(__int64 a1, int a2, _DWORD *a3)\n{\n  __int64 v4; // rbx\n  __int64 result; // rax\n  unsigned int v7; // r9d\n  __int64 v8; // rdx\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      v7 = 0;\n      if ( a3 )\n      {\n        v8 = *(_QWORD *)(56 * v4 + *(_QWORD *)(a1 + 1696) + 48);\n        if ( v8 )\n          *a3 = *(_DWORD *)(v8 + 52);\n        else\n          *a3 = 0;\n      }\n      if ( (*(_BYTE *)(56 * v4 + *(_QWORD *)(a1 + 1696) + 24) & 1) == 0 )\n        return 80;\n      return v7;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800E4A60 from 0x1800e4a60 to 0x1800e4af6 (150 bytes)\n; \n; 2 xrefs:\n; > FMOD::System::getRecordPosition @ 0x1800aeb99\n; > <???> @ 0x1801ffc3c\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, 0x1800e4a60\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800e4a65\npush    rdi                                                            ; +0xa, 0x1800e4a6a\nsub     rsp, 20h                                                       ; +0xb, 0x1800e4a6b\nmov     rdi, r8                                                        ; +0xf, 0x1800e4a6f\nmovsxd  rbx, edx                                                       ; +0x12, 0x1800e4a72\nmov     rsi, rcx                                                       ; +0x15, 0x1800e4a75\ncall    sub_1800E8520                                                  ; +0x18, 0x1800e4a78\ntest    eax, eax                                                       ; +0x1d, 0x1800e4a7d\njnz     short loc_1800E4AE6                                            ; +0x1f, 0x1800e4a7f\ntest    ebx, ebx                                                       ; +0x21, 0x1800e4a81\njs      short loc_1800E4AE1                                            ; +0x23, 0x1800e4a83\ncmp     ebx, [rsi+694h]                                                ; +0x25, 0x1800e4a85\njge     short loc_1800E4AE1                                            ; +0x2b, 0x1800e4a8b\nxor     r9d, r9d                                                       ; +0x2d, 0x1800e4a8d\ntest    rdi, rdi                                                       ; +0x30, 0x1800e4a90\njz      short loc_1800E4AB4                                            ; +0x33, 0x1800e4a93\nmov     rax, [rsi+6A0h]                                                ; +0x35, 0x1800e4a95\nimul    rcx, rbx, 38h ; '8'                                            ; +0x3c, 0x1800e4a9c\nmov     rdx, [rcx+rax+30h]                                             ; +0x40, 0x1800e4aa0\ntest    rdx, rdx                                                       ; +0x45, 0x1800e4aa5\njz      short loc_1800E4AB1                                            ; +0x48, 0x1800e4aa8\nmov     eax, [rdx+34h]                                                 ; +0x4a, 0x1800e4aaa\nmov     [rdi], eax                                                     ; +0x4d, 0x1800e4aad\njmp     short loc_1800E4AB4                                            ; +0x4f, 0x1800e4aaf\nmov     [rdi], r9d                                                     ; +0x51, 0x1800e4ab1\nmov     r8, [rsi+6A0h]                                                 ; +0x54, 0x1800e4ab4\nmov     eax, 50h ; 'P'                                                 ; +0x5b, 0x1800e4abb\nimul    rdx, rbx, 38h ; '8'                                            ; +0x60, 0x1800e4ac0\ntest    byte ptr [rdx+r8+18h], 1                                       ; +0x64, 0x1800e4ac4\ncmovz   r9d, eax                                                       ; +0x6a, 0x1800e4aca\nmov     eax, r9d                                                       ; +0x6e, 0x1800e4ace\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x71, 0x1800e4ad1\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x76, 0x1800e4ad6\nadd     rsp, 20h                                                       ; +0x7b, 0x1800e4adb\npop     rdi                                                            ; +0x7f, 0x1800e4adf\nretn                                                                   ; +0x80, 0x1800e4ae0\nmov     eax, 1Fh                                                       ; +0x81, 0x1800e4ae1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x86, 0x1800e4ae6\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x8b, 0x1800e4aeb\nadd     rsp, 20h                                                       ; +0x90, 0x1800e4af0\npop     rdi                                                            ; +0x94, 0x1800e4af4\nretn                                                                   ; +0x95, 0x1800e4af5", "xrefs": ["FMOD::System::getRecordPosition @ 0x1800aeb99", "<???> @ 0x1801ffc3c"], "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"}