{"type": "func", "start": 6443347360, "end": 6443347627, "name": "sub_1800DADA0", "pseudocode": "// \n// sub_1800DADA0 from 0x1800dada0 to 0x1800daeab (267 bytes)\n// \n// 2 xrefs:\n// > sub_1800E4E00 @ 0x1800e59d5\n// > <???> @ 0x1801ff318\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:13 +0000\n// \n\n__int64 __fastcall sub_1800DADA0(__int64 a1, __int64 a2, _QWORD *a3)\n{\n  _QWORD *v6; // rax\n  _QWORD *v7; // rbx\n  __int64 result; // rax\n\n  *a3 = 0;\n  v6 = sub_1800B6530(\n         *((_QWORD *)off_1801AED20 + 52),\n         152,\n         \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_profile_dsp.cpp\",\n         17,\n         0,\n         0,\n         1);\n  v7 = v6;\n  if ( !v6 )\n    return 38;\n  v6[12] = 0;\n  v6[3] = 0;\n  v6[2] = v6 + 1;\n  v6[1] = v6 + 1;\n  *v6 = off_18016CF48;\n  v6[13] = 0;\n  v6[14] = 0;\n  v6[15] = 0;\n  *((_DWORD *)v6 + 32) = -1;\n  *((_DWORD *)v6 + 33) = 0;\n  v6[17] = 0;\n  v6[18] = 0;\n  v6[4] = a1;\n  v6[5] = a2;\n  result = sub_1800DB250(v6);\n  if ( !(_DWORD)result )\n  {\n    result = (*(__int64 (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 8LL))(a1, v7);\n    if ( !(_DWORD)result )\n      *a3 = v7;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800DADA0 from 0x1800dada0 to 0x1800daeab (267 bytes)\n; \n; 2 xrefs:\n; > sub_1800E4E00 @ 0x1800e59d5\n; > <???> @ 0x1801ff318\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:13 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x1800dada0\nmov     [rax+8], rbx                                                   ; +0x3, 0x1800dada3\nmov     [rax+10h], rbp                                                 ; +0x7, 0x1800dada7\nmov     [rax+18h], rsi                                                 ; +0xb, 0x1800dadab\nmov     [rax+20h], rdi                                                 ; +0xf, 0x1800dadaf\npush    r14                                                            ; +0x13, 0x1800dadb3\nsub     rsp, 40h                                                       ; +0x15, 0x1800dadb5\nxor     r14d, r14d                                                     ; +0x19, 0x1800dadb9\nmov     byte ptr [rax-18h], 1                                          ; +0x1c, 0x1800dadbc\nmov     [r8], r14                                                      ; +0x20, 0x1800dadc0\nmov     rdi, rcx                                                       ; +0x23, 0x1800dadc3\nmov     rcx, cs:off_1801AED20                                          ; +0x26, 0x1800dadc6\nmov     rsi, r8                                                        ; +0x2d, 0x1800dadcd\nmov     rbp, rdx                                                       ; +0x30, 0x1800dadd0\nmov     [rax-20h], r14b                                                ; +0x33, 0x1800dadd3\nlea     r9d, [r14+11h]                                                 ; +0x37, 0x1800dadd7\nmov     [rax-28h], r14d                                                ; +0x3b, 0x1800daddb\nlea     r8, aCBuildagent1Wo_59; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x3f, 0x1800daddf\nmov     edx, 98h                                                       ; +0x46, 0x1800dade6\nmov     rcx, [rcx+1A0h]                                                ; +0x4b, 0x1800dadeb\ncall    sub_1800B6530                                                  ; +0x52, 0x1800dadf2\nmov     rbx, rax                                                       ; +0x57, 0x1800dadf7\ntest    rax, rax                                                       ; +0x5a, 0x1800dadfa\njz      loc_1800DAE8B                                                  ; +0x5d, 0x1800dadfd\nlea     rcx, [rax+8]                                                   ; +0x63, 0x1800dae03\nmov     [rbx+60h], r14                                                 ; +0x67, 0x1800dae07\nmov     [rcx+10h], r14                                                 ; +0x6b, 0x1800dae0b\nlea     rax, off_18016CF48                                             ; +0x6f, 0x1800dae0f\nmov     [rcx+8], rcx                                                   ; +0x76, 0x1800dae16\nmov     [rcx], rcx                                                     ; +0x7a, 0x1800dae1a\nlea     rcx, sub_1800DB250                                             ; +0x7d, 0x1800dae1d\nmov     [rbx], rax                                                     ; +0x84, 0x1800dae24\nmov     [rbx+68h], r14                                                 ; +0x87, 0x1800dae27\nmov     [rbx+70h], r14                                                 ; +0x8b, 0x1800dae2b\nmov     [rbx+78h], r14                                                 ; +0x8f, 0x1800dae2f\nmov     dword ptr [rbx+80h], 0FFFFFFFFh                                ; +0x93, 0x1800dae33\nmov     [rbx+84h], r14d                                                ; +0x9d, 0x1800dae3d\nmov     [rbx+88h], r14                                                 ; +0xa4, 0x1800dae44\nmov     [rbx+90h], r14                                                 ; +0xab, 0x1800dae4b\nmov     [rbx+20h], rdi                                                 ; +0xb2, 0x1800dae52\nmov     [rbx+28h], rbp                                                 ; +0xb6, 0x1800dae56\nmov     rax, cs:off_18016CFB0                                          ; +0xba, 0x1800dae5a\ncmp     rax, rcx                                                       ; +0xc1, 0x1800dae61\nmov     rcx, rbx                                                       ; +0xc4, 0x1800dae64\njnz     short loc_1800DAE70                                            ; +0xc7, 0x1800dae67\ncall    sub_1800DB250                                                  ; +0xc9, 0x1800dae69\njmp     short loc_1800DAE72                                            ; +0xce, 0x1800dae6e\ncall    rax ; sub_1800DB250                                            ; +0xd0, 0x1800dae70\ntest    eax, eax                                                       ; +0xd2, 0x1800dae72\njnz     short loc_1800DAE90                                            ; +0xd4, 0x1800dae74\nmov     rax, [rdi]                                                     ; +0xd6, 0x1800dae76\nmov     rdx, rbx                                                       ; +0xd9, 0x1800dae79\nmov     rcx, rdi                                                       ; +0xdc, 0x1800dae7c\ncall    qword ptr [rax+8]                                              ; +0xdf, 0x1800dae7f\ntest    eax, eax                                                       ; +0xe2, 0x1800dae82\njnz     short loc_1800DAE90                                            ; +0xe4, 0x1800dae84\nmov     [rsi], rbx                                                     ; +0xe6, 0x1800dae86\njmp     short loc_1800DAE90                                            ; +0xe9, 0x1800dae89\nmov     eax, 26h ; '&'                                                 ; +0xeb, 0x1800dae8b\nmov     rbx, [rsp+48h+arg_0]                                           ; +0xf0, 0x1800dae90\nmov     rbp, [rsp+48h+arg_8]                                           ; +0xf5, 0x1800dae95\nmov     rsi, [rsp+48h+arg_10]                                          ; +0xfa, 0x1800dae9a\nmov     rdi, [rsp+48h+arg_18]                                          ; +0xff, 0x1800dae9f\nadd     rsp, 40h                                                       ; +0x104, 0x1800daea4\npop     r14                                                            ; +0x108, 0x1800daea8\nretn                                                                   ; +0x10a, 0x1800daeaa", "xrefs": ["sub_1800E4E00 @ 0x1800e59d5", "<???> @ 0x1801ff318"], "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"}