{"type": "func", "start": 6443256432, "end": 6443256564, "name": "sub_1800C4A70", "pseudocode": "// \n// sub_1800C4A70 from 0x1800c4a70 to 0x1800c4af4 (132 bytes)\n// \n// 2 xrefs:\n// > sub_1800C3960 @ 0x1800c39e4\n// > <???> @ 0x1801fde90\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_1800C4A70(__int64 a1, __int64 a2)\n{\n  _QWORD *v2; // rbx\n  __int64 v4; // rcx\n  _DWORD *v5; // rdx\n\n  v2 = *(_QWORD **)(a2 + 40);\n  if ( v2 )\n  {\n    if ( *v2 )\n      (*(void (__fastcall **)(_QWORD))(*(_QWORD *)*v2 + 88LL))(*v2);\n    v4 = v2[1];\n    if ( v4 )\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);\n    if ( *v2 )\n      (*(void (__fastcall **)(_QWORD))(*(_QWORD *)*v2 + 16LL))(*v2);\n    v5 = *(_DWORD **)(a2 + 40);\n    if ( v5 )\n    {\n      sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), v5);\n      *(_QWORD *)(a2 + 40) = 0;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800C4A70 from 0x1800c4a70 to 0x1800c4af4 (132 bytes)\n; \n; 2 xrefs:\n; > sub_1800C3960 @ 0x1800c39e4\n; > <???> @ 0x1801fde90\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_0], rbx                                               ; +0x0, 0x1800c4a70\npush    rdi                                                            ; +0x5, 0x1800c4a75\nsub     rsp, 30h                                                       ; +0x6, 0x1800c4a76\nmov     rbx, [rdx+28h]                                                 ; +0xa, 0x1800c4a7a\nmov     rdi, rdx                                                       ; +0xe, 0x1800c4a7e\ntest    rbx, rbx                                                       ; +0x11, 0x1800c4a81\njz      short loc_1800C4AE7                                            ; +0x14, 0x1800c4a84\nmov     rcx, [rbx]                                                     ; +0x16, 0x1800c4a86\ntest    rcx, rcx                                                       ; +0x19, 0x1800c4a89\njz      short loc_1800C4A94                                            ; +0x1c, 0x1800c4a8c\nmov     rax, [rcx]                                                     ; +0x1e, 0x1800c4a8e\ncall    qword ptr [rax+58h]                                            ; +0x21, 0x1800c4a91\nmov     rcx, [rbx+8]                                                   ; +0x24, 0x1800c4a94\ntest    rcx, rcx                                                       ; +0x28, 0x1800c4a98\njz      short loc_1800C4AA3                                            ; +0x2b, 0x1800c4a9b\nmov     rax, [rcx]                                                     ; +0x2d, 0x1800c4a9d\ncall    qword ptr [rax+10h]                                            ; +0x30, 0x1800c4aa0\nmov     rcx, [rbx]                                                     ; +0x33, 0x1800c4aa3\ntest    rcx, rcx                                                       ; +0x36, 0x1800c4aa6\njz      short loc_1800C4AB1                                            ; +0x39, 0x1800c4aa9\nmov     rax, [rcx]                                                     ; +0x3b, 0x1800c4aab\ncall    qword ptr [rax+10h]                                            ; +0x3e, 0x1800c4aae\nmov     rdx, [rdi+28h]                                                 ; +0x41, 0x1800c4ab1\ntest    rdx, rdx                                                       ; +0x45, 0x1800c4ab5\njz      short loc_1800C4AE7                                            ; +0x48, 0x1800c4ab8\nmov     rcx, cs:off_1801AED20                                          ; +0x4a, 0x1800c4aba\nlea     r8, aCBuildagent1Wo_48; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x51, 0x1800c4ac1\nmov     r9d, 39Ch                                                      ; +0x58, 0x1800c4ac8\nmov     [rsp+38h+var_18], 1                                            ; +0x5e, 0x1800c4ace\nmov     rcx, [rcx+1A0h]                                                ; +0x63, 0x1800c4ad3\ncall    sub_1800B6AA0                                                  ; +0x6a, 0x1800c4ada\nmov     qword ptr [rdi+28h], 0                                         ; +0x6f, 0x1800c4adf\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x77, 0x1800c4ae7\nxor     eax, eax                                                       ; +0x7c, 0x1800c4aec\nadd     rsp, 30h                                                       ; +0x7e, 0x1800c4aee\npop     rdi                                                            ; +0x82, 0x1800c4af2\nretn                                                                   ; +0x83, 0x1800c4af3", "xrefs": ["sub_1800C3960 @ 0x1800c39e4", "<???> @ 0x1801fde90"], "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"}