{"type": "func", "start": 6443230096, "end": 6443230242, "name": "sub_1800BE390", "pseudocode": "// \n// sub_1800BE390 from 0x1800be390 to 0x1800be422 (146 bytes)\n// \n// 2 xrefs:\n// > _cfltcvt_init @ 0x1800be6aa\n// > <???> @ 0x1801fd878\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_1800BE390(__int64 *a1)\n{\n  __int64 v1; // rdx\n  _DWORD *v3; // rax\n  _QWORD *v4; // rdi\n\n  v1 = *a1;\n  if ( *a1 )\n  {\n    v3 = *(_DWORD **)(v1 + 24);\n    v4 = (_QWORD *)(v1 + 24);\n    if ( !v3 || (sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), v3), *v4 = 0, (v1 = *a1) != 0) )\n    {\n      sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), (_DWORD *)v1);\n      *a1 = 0;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800BE390 from 0x1800be390 to 0x1800be422 (146 bytes)\n; \n; 2 xrefs:\n; > _cfltcvt_init @ 0x1800be6aa\n; > <???> @ 0x1801fd878\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, 0x1800be390\npush    rdi                                                            ; +0x5, 0x1800be395\nsub     rsp, 30h                                                       ; +0x6, 0x1800be396\nmov     rdx, [rcx]                                                     ; +0xa, 0x1800be39a\nmov     rbx, rcx                                                       ; +0xd, 0x1800be39d\ntest    rdx, rdx                                                       ; +0x10, 0x1800be3a0\njz      short loc_1800BE415                                            ; +0x13, 0x1800be3a3\nmov     rax, [rdx+18h]                                                 ; +0x15, 0x1800be3a5\nlea     rdi, [rdx+18h]                                                 ; +0x19, 0x1800be3a9\ntest    rax, rax                                                       ; +0x1d, 0x1800be3ad\njz      short loc_1800BE3E9                                            ; +0x20, 0x1800be3b0\nmov     rcx, cs:off_1801AED20                                          ; +0x22, 0x1800be3b2\nlea     r8, aCBuildagent1Wo_40; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x29, 0x1800be3b9\nmov     r9d, 67h ; 'g'                                                 ; +0x30, 0x1800be3c0\nmov     [rsp+38h+var_18], 1                                            ; +0x36, 0x1800be3c6\nmov     rdx, rax                                                       ; +0x3b, 0x1800be3cb\nmov     rcx, [rcx+1A0h]                                                ; +0x3e, 0x1800be3ce\ncall    sub_1800B6AA0                                                  ; +0x45, 0x1800be3d5\nmov     qword ptr [rdi], 0                                             ; +0x4a, 0x1800be3da\nmov     rdx, [rbx]                                                     ; +0x51, 0x1800be3e1\ntest    rdx, rdx                                                       ; +0x54, 0x1800be3e4\njz      short loc_1800BE415                                            ; +0x57, 0x1800be3e7\nmov     rcx, cs:off_1801AED20                                          ; +0x59, 0x1800be3e9\nlea     r8, aCBuildagent1Wo_40; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x60, 0x1800be3f0\nmov     r9d, 6Ah ; 'j'                                                 ; +0x67, 0x1800be3f7\nmov     [rsp+38h+var_18], 1                                            ; +0x6d, 0x1800be3fd\nmov     rcx, [rcx+1A0h]                                                ; +0x72, 0x1800be402\ncall    sub_1800B6AA0                                                  ; +0x79, 0x1800be409\nmov     qword ptr [rbx], 0                                             ; +0x7e, 0x1800be40e\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x85, 0x1800be415\nxor     eax, eax                                                       ; +0x8a, 0x1800be41a\nadd     rsp, 30h                                                       ; +0x8c, 0x1800be41c\npop     rdi                                                            ; +0x90, 0x1800be420\nretn                                                                   ; +0x91, 0x1800be421", "xrefs": ["_cfltcvt_init @ 0x1800be6aa", "<???> @ 0x1801fd878"], "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"}