{"type": "func", "start": 6443384272, "end": 6443384438, "name": "sub_1800E3DD0", "pseudocode": "// \n// sub_1800E3DD0 from 0x1800e3dd0 to 0x1800e3e76 (166 bytes)\n// \n// 4 xrefs:\n// > FMOD::System::getAdvancedSettings @ 0x1800acc90\n// > <???> @ 0x18018d470\n// > <???> @ 0x18018d480\n// > <???> @ 0x1801ffb58\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:16 +0000\n// \n\n__int64 __fastcall sub_1800E3DD0(__int64 a1, int *a2)\n{\n  size_t v4; // rsi\n  __int64 v5; // rbp\n  __int64 v6; // rbx\n  __int64 i; // rdx\n\n  if ( !a2 )\n    return 31;\n  v4 = *a2;\n  if ( (unsigned int)(v4 - 49) > 0x37 )\n    return 31;\n  if ( (v4 & 3) != 0 )\n    return 31;\n  v5 = a2[8];\n  if ( (unsigned int)v5 > 0x20 )\n    return 31;\n  v6 = *((_QWORD *)a2 + 6);\n  memmove(a2, (const void *)(a1 + 69632), v4);\n  *((_QWORD *)a2 + 6) = v6;\n  *a2 = v4;\n  if ( v6 && (int)v5 > 0 )\n  {\n    for ( i = 0; i < v5; ++i )\n      *(_DWORD *)(*((_QWORD *)a2 + 6) + 4 * i) = *(_DWORD *)(a1 + 4 * i + 73128);\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800E3DD0 from 0x1800e3dd0 to 0x1800e3e76 (166 bytes)\n; \n; 4 xrefs:\n; > FMOD::System::getAdvancedSettings @ 0x1800acc90\n; > <???> @ 0x18018d470\n; > <???> @ 0x18018d480\n; > <???> @ 0x1801ffb58\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:16 +0000\n; \nmov     [rsp+arg_8], rbp                                               ; +0x0, 0x1800e3dd0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800e3dd5\nmov     [rsp+arg_18], rdi                                              ; +0xa, 0x1800e3dda\npush    r14                                                            ; +0xf, 0x1800e3ddf\nsub     rsp, 20h                                                       ; +0x11, 0x1800e3de1\nmov     rdi, rdx                                                       ; +0x15, 0x1800e3de5\nmov     r14, rcx                                                       ; +0x18, 0x1800e3de8\ntest    rdx, rdx                                                       ; +0x1b, 0x1800e3deb\njz      short loc_1800E3E5B                                            ; +0x1e, 0x1800e3dee\nmovsxd  rsi, dword ptr [rdx]                                           ; +0x20, 0x1800e3df0\nlea     eax, [rsi-31h]                                                 ; +0x23, 0x1800e3df3\ncmp     eax, 37h ; '7'                                                 ; +0x26, 0x1800e3df6\nja      short loc_1800E3E5B                                            ; +0x29, 0x1800e3df9\ntest    sil, 3                                                         ; +0x2b, 0x1800e3dfb\njnz     short loc_1800E3E5B                                            ; +0x2f, 0x1800e3dff\nmovsxd  rbp, dword ptr [rdx+20h]                                       ; +0x31, 0x1800e3e01\ncmp     ebp, 20h ; ' '                                                 ; +0x35, 0x1800e3e05\nja      short loc_1800E3E5B                                            ; +0x38, 0x1800e3e08\nmov     [rsp+28h+arg_0], rbx                                           ; +0x3a, 0x1800e3e0a\nmov     r8, rsi; Size                                                  ; +0x3f, 0x1800e3e0f\nmov     rbx, [rdx+30h]                                                 ; +0x42, 0x1800e3e12\nlea     rdx, [rcx+11000h]; Src                                         ; +0x46, 0x1800e3e16\nmov     rcx, rdi; void *                                               ; +0x4d, 0x1800e3e1d\ncall    memmove                                                        ; +0x50, 0x1800e3e20\ntest    rbx, rbx                                                       ; +0x55, 0x1800e3e25\nmov     [rdi+30h], rbx                                                 ; +0x58, 0x1800e3e28\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5c, 0x1800e3e2c\nmov     [rdi], esi                                                     ; +0x61, 0x1800e3e31\njz      short loc_1800E3E57                                            ; +0x63, 0x1800e3e33\ntest    ebp, ebp                                                       ; +0x65, 0x1800e3e35\njle     short loc_1800E3E57                                            ; +0x67, 0x1800e3e37\nxor     edx, edx                                                       ; +0x69, 0x1800e3e39\nnop     dword ptr [rax+rax+00h]                                        ; +0x6b, 0x1800e3e3b\nmov     eax, [r14+rdx*4+11DA8h]                                        ; +0x70, 0x1800e3e40\nmov     rcx, [rdi+30h]                                                 ; +0x78, 0x1800e3e48\nmov     [rcx+rdx*4], eax                                               ; +0x7c, 0x1800e3e4c\ninc     rdx                                                            ; +0x7f, 0x1800e3e4f\ncmp     rdx, rbp                                                       ; +0x82, 0x1800e3e52\njl      short loc_1800E3E40                                            ; +0x85, 0x1800e3e55\nxor     eax, eax                                                       ; +0x87, 0x1800e3e57\njmp     short loc_1800E3E60                                            ; +0x89, 0x1800e3e59\nmov     eax, 1Fh                                                       ; +0x8b, 0x1800e3e5b\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x90, 0x1800e3e60\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x95, 0x1800e3e65\nmov     rdi, [rsp+28h+arg_18]                                          ; +0x9a, 0x1800e3e6a\nadd     rsp, 20h                                                       ; +0x9f, 0x1800e3e6f\npop     r14                                                            ; +0xa3, 0x1800e3e73\nretn                                                                   ; +0xa5, 0x1800e3e75", "xrefs": ["FMOD::System::getAdvancedSettings @ 0x1800acc90", "<???> @ 0x18018d470", "<???> @ 0x18018d480", "<???> @ 0x1801ffb58"], "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"}