{"type": "func", "start": 6443238992, "end": 6443239222, "name": "sub_1800C0650", "pseudocode": "// \n// sub_1800C0650 from 0x1800c0650 to 0x1800c0736 (230 bytes)\n// \n// 4 xrefs:\n// > sub_1800BF8E0 @ 0x1800bf930\n// > <???> @ 0x18018a574\n// > <???> @ 0x18018a5a8\n// > <???> @ 0x1801fda1c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_1800C0650(__int64 a1, __int64 a2, __int64 a3)\n{\n  int v3; // eax\n  _DWORD *v6; // rdx\n  int v7; // esi\n  __int64 v8; // rdi\n  int v10; // [rsp+30h] [rbp-18h]\n\n  v3 = *(_DWORD *)(a1 + 412);\n  if ( v3 )\n  {\n    v6 = *(_DWORD **)(a1 + 416);\n    if ( v6 )\n    {\n      v7 = 0;\n      if ( v3 > 0 )\n      {\n        v8 = 0;\n        do\n        {\n          LOBYTE(v10) = 1;\n          (*(void (__fastcall **)(__int64, _QWORD, __int64, _QWORD, _QWORD, int, int))(*(_QWORD *)a3 + 264LL))(\n            a3,\n            *(unsigned int *)(*(_QWORD *)(a1 + 416) + v8 + 48),\n            2,\n            *(_QWORD *)(*(_QWORD *)(a1 + 416) + v8 + 32),\n            0,\n            -1,\n            v10);\n          ++v7;\n          v8 += 316;\n        }\n        while ( v7 < *(_DWORD *)(a1 + 412) );\n        v6 = *(_DWORD **)(a1 + 416);\n      }\n      sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), v6);\n      *(_QWORD *)(a1 + 416) = 0;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800C0650 from 0x1800c0650 to 0x1800c0736 (230 bytes)\n; \n; 4 xrefs:\n; > sub_1800BF8E0 @ 0x1800bf930\n; > <???> @ 0x18018a574\n; > <???> @ 0x18018a5a8\n; > <???> @ 0x1801fda1c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_18], rbx                                              ; +0x0, 0x1800c0650\npush    r14                                                            ; +0x5, 0x1800c0655\nsub     rsp, 40h                                                       ; +0x7, 0x1800c0657\nmov     eax, [rcx+19Ch]                                                ; +0xb, 0x1800c065b\nmov     r14, r8                                                        ; +0x11, 0x1800c0661\nmov     rbx, rcx                                                       ; +0x14, 0x1800c0664\ntest    eax, eax                                                       ; +0x17, 0x1800c0667\njz      loc_1800C0728                                                  ; +0x19, 0x1800c0669\nmov     rdx, [rcx+1A0h]                                                ; +0x1f, 0x1800c066f\ntest    rdx, rdx                                                       ; +0x26, 0x1800c0676\njz      loc_1800C0728                                                  ; +0x29, 0x1800c0679\nmov     [rsp+48h+arg_0], rbp                                           ; +0x2f, 0x1800c067f\nxor     ebp, ebp                                                       ; +0x34, 0x1800c0684\nmov     [rsp+48h+arg_8], rsi                                           ; +0x36, 0x1800c0686\nmov     esi, ebp                                                       ; +0x3b, 0x1800c068b\ntest    eax, eax                                                       ; +0x3d, 0x1800c068d\njle     short loc_1800C06F2                                            ; +0x3f, 0x1800c068f\nmov     [rsp+48h+arg_10], rdi                                          ; +0x41, 0x1800c0691\nmov     edi, ebp                                                       ; +0x46, 0x1800c0696\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x48, 0x1800c0698\nmov     rax, [rbx+1A0h]                                                ; +0x50, 0x1800c06a0\nmov     r8d, 2                                                         ; +0x57, 0x1800c06a7\nmov     r10, [r14]                                                     ; +0x5d, 0x1800c06ad\nmov     rcx, r14                                                       ; +0x60, 0x1800c06b0\nmov     byte ptr [rsp+48h+var_18], 1                                   ; +0x63, 0x1800c06b3\nmov     [rsp+48h+var_20], 0FFFFFFFFh                                   ; +0x68, 0x1800c06b8\nmov     r9, [rax+rdi+20h]                                              ; +0x70, 0x1800c06c0\nmov     edx, [rax+rdi+30h]                                             ; +0x75, 0x1800c06c5\nmov     [rsp+48h+var_28], rbp                                          ; +0x79, 0x1800c06c9\ncall    qword ptr [r10+108h]                                           ; +0x7e, 0x1800c06ce\ninc     esi                                                            ; +0x85, 0x1800c06d5\nlea     rdi, [rdi+13Ch]                                                ; +0x87, 0x1800c06d7\ncmp     esi, [rbx+19Ch]                                                ; +0x8e, 0x1800c06de\njl      short loc_1800C06A0                                            ; +0x94, 0x1800c06e4\nmov     rdx, [rbx+1A0h]                                                ; +0x96, 0x1800c06e6\nmov     rdi, [rsp+48h+arg_10]                                          ; +0x9d, 0x1800c06ed\nmov     rcx, cs:off_1801AED20                                          ; +0xa2, 0x1800c06f2\nlea     r8, aCBuildagent1Wo_45; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0xa9, 0x1800c06f9\nmov     r9d, 3A6h                                                      ; +0xb0, 0x1800c0700\nmov     byte ptr [rsp+48h+var_28], 1                                   ; +0xb6, 0x1800c0706\nmov     rcx, [rcx+1A0h]                                                ; +0xbb, 0x1800c070b\ncall    sub_1800B6AA0                                                  ; +0xc2, 0x1800c0712\nmov     rsi, [rsp+48h+arg_8]                                           ; +0xc7, 0x1800c0717\nmov     [rbx+1A0h], rbp                                                ; +0xcc, 0x1800c071c\nmov     rbp, [rsp+48h+arg_0]                                           ; +0xd3, 0x1800c0723\nmov     rbx, [rsp+48h+arg_18]                                          ; +0xd8, 0x1800c0728\nxor     eax, eax                                                       ; +0xdd, 0x1800c072d\nadd     rsp, 40h                                                       ; +0xdf, 0x1800c072f\npop     r14                                                            ; +0xe3, 0x1800c0733\nretn                                                                   ; +0xe5, 0x1800c0735", "xrefs": ["sub_1800BF8E0 @ 0x1800bf930", "<???> @ 0x18018a574", "<???> @ 0x18018a5a8", "<???> @ 0x1801fda1c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}