{"type": "func", "start": 6443242464, "end": 6443242613, "name": "sub_1800C13E0", "pseudocode": "// \n// sub_1800C13E0 from 0x1800c13e0 to 0x1800c1475 (149 bytes)\n// \n// 2 xrefs:\n// > sub_1800D4520 @ 0x1800d4540\n// > <???> @ 0x1801fdba8\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:03 +0000\n// \n\n__int64 sub_1800C13E0()\n{\n  if ( hLibModule )\n  {\n    FreeLibrary(hLibModule);\n    hLibModule = nullptr;\n  }\n  if ( qword_1801EF758 )\n  {\n    (*(void (__fastcall **)(LPVOID))(*(_QWORD *)ppv + 56LL))(ppv);\n    sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), (_DWORD *)qword_1801EF758);\n    qword_1801EF758 = 0;\n  }\n  if ( ppv )\n  {\n    (*(void (__fastcall **)(LPVOID))(*(_QWORD *)ppv + 16LL))(ppv);\n    ppv = nullptr;\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800C13E0 from 0x1800c13e0 to 0x1800c1475 (149 bytes)\n; \n; 2 xrefs:\n; > sub_1800D4520 @ 0x1800d4540\n; > <???> @ 0x1801fdba8\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:03 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x1800c13e0\nmov     rcx, cs:hLibModule; hLibModule                                 ; +0x4, 0x1800c13e4\ntest    rcx, rcx                                                       ; +0xb, 0x1800c13eb\njz      short loc_1800C1401                                            ; +0xe, 0x1800c13ee\ncall    cs:FreeLibrary                                                 ; +0x10, 0x1800c13f0\nmov     cs:hLibModule, 0                                               ; +0x16, 0x1800c13f6\nmov     rdx, cs:qword_1801EF758                                        ; +0x21, 0x1800c1401\ntest    rdx, rdx                                                       ; +0x28, 0x1800c1408\njz      short loc_1800C1451                                            ; +0x2b, 0x1800c140b\nmov     rcx, cs:ppv                                                    ; +0x2d, 0x1800c140d\nmov     rax, [rcx]                                                     ; +0x34, 0x1800c1414\ncall    qword ptr [rax+38h]                                            ; +0x37, 0x1800c1417\nmov     rcx, cs:off_1801AED20                                          ; +0x3a, 0x1800c141a\nlea     r8, aCBuildagent1Wo_46; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x41, 0x1800c1421\nmov     rdx, cs:qword_1801EF758                                        ; +0x48, 0x1800c1428\nmov     r9d, 99h                                                       ; +0x4f, 0x1800c142f\nmov     [rsp+38h+var_18], 1                                            ; +0x55, 0x1800c1435\nmov     rcx, [rcx+1A0h]                                                ; +0x5a, 0x1800c143a\ncall    sub_1800B6AA0                                                  ; +0x61, 0x1800c1441\nmov     cs:qword_1801EF758, 0                                          ; +0x66, 0x1800c1446\nmov     rcx, cs:ppv                                                    ; +0x71, 0x1800c1451\ntest    rcx, rcx                                                       ; +0x78, 0x1800c1458\njz      short loc_1800C146E                                            ; +0x7b, 0x1800c145b\nmov     rax, [rcx]                                                     ; +0x7d, 0x1800c145d\ncall    qword ptr [rax+10h]                                            ; +0x80, 0x1800c1460\nmov     cs:ppv, 0                                                      ; +0x83, 0x1800c1463\nxor     eax, eax                                                       ; +0x8e, 0x1800c146e\nadd     rsp, 38h                                                       ; +0x90, 0x1800c1470\nretn                                                                   ; +0x94, 0x1800c1474", "xrefs": ["sub_1800D4520 @ 0x1800d4540", "<???> @ 0x1801fdba8"], "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"}