{"type": "func", "start": 6443368960, "end": 6443369086, "name": "sub_1800E0200", "pseudocode": "// \n// sub_1800E0200 from 0x1800e0200 to 0x1800e027e (126 bytes)\n// \n// 2 xrefs:\n// > sub_1800DEF70 @ 0x1800df373\n// > <???> @ 0x1801c50dc\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 11:22:36 +0000\n// \n\n_QWORD *__fastcall sub_1800E0200(unsigned int a1)\n{\n  _QWORD *result; // rax\n  bool v3; // zf\n  int v4; // [rsp+30h] [rbp+8h] BYREF\n\n  result = sub_1800DE110((__int64)&unk_1801B520C);\n  v3 = result[9] == 0;\n  *((_DWORD *)result + 162) = a1;\n  if ( v3 )\n  {\n    result = (_QWORD *)sub_1800E1CB0(6);\n    if ( (_DWORD)result )\n    {\n      result = (_QWORD *)sub_1800E1CB0(6);\n      v4 = (int)result;\n      if ( (_DWORD)result || (result = (_QWORD *)qword_1801B6100(&v4), (int)result >= 0) && v4 )\n        a1 = 0;\n    }\n  }\n  if ( dword_1801B61B0 )\n    return (_QWORD *)qword_1801B6188(a1);\n  return result;\n}", "assembly": "; \n; sub_1800E0200 from 0x1800e0200 to 0x1800e027e (126 bytes)\n; \n; 2 xrefs:\n; > sub_1800DEF70 @ 0x1800df373\n; > <???> @ 0x1801c50dc\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 11:22:36 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800e0200\nsub     rsp, 20h                                                       ; +0x2, 0x1800e0202\nmov     ebx, ecx                                                       ; +0x6, 0x1800e0206\nlea     rcx, unk_1801B520C                                             ; +0x8, 0x1800e0208\ncall    sub_1800DE110                                                  ; +0xf, 0x1800e020f\ncmp     qword ptr [rax+48h], 0                                         ; +0x14, 0x1800e0214\nmov     [rax+288h], ebx                                                ; +0x19, 0x1800e0219\njnz     short loc_1800E0261                                            ; +0x1f, 0x1800e021f\nxor     edx, edx                                                       ; +0x21, 0x1800e0221\nxor     r8d, r8d                                                       ; +0x23, 0x1800e0223\nlea     ecx, [rdx+6]                                                   ; +0x26, 0x1800e0226\ncall    sub_1800E1CB0                                                  ; +0x29, 0x1800e0229\ntest    eax, eax                                                       ; +0x2e, 0x1800e022e\njz      short loc_1800E0261                                            ; +0x30, 0x1800e0230\nxor     r8d, r8d                                                       ; +0x32, 0x1800e0232\nlea     edx, [r8+2]                                                    ; +0x35, 0x1800e0235\nlea     ecx, [rdx+4]                                                   ; +0x39, 0x1800e0239\ncall    sub_1800E1CB0                                                  ; +0x3c, 0x1800e023c\nmov     [rsp+28h+arg_0], eax                                           ; +0x41, 0x1800e0241\ntest    eax, eax                                                       ; +0x45, 0x1800e0245\njnz     short loc_1800E025F                                            ; +0x47, 0x1800e0247\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x49, 0x1800e0249\ncall    cs:qword_1801B6100                                             ; +0x4e, 0x1800e024e\ntest    eax, eax                                                       ; +0x54, 0x1800e0254\njs      short loc_1800E0261                                            ; +0x56, 0x1800e0256\ncmp     [rsp+28h+arg_0], 0                                             ; +0x58, 0x1800e0258\njz      short loc_1800E0261                                            ; +0x5d, 0x1800e025d\nxor     ebx, ebx                                                       ; +0x5f, 0x1800e025f\ncmp     cs:dword_1801B61B0, 0                                          ; +0x61, 0x1800e0261\njz      short loc_1800E0278                                            ; +0x68, 0x1800e0268\nmov     ecx, ebx                                                       ; +0x6a, 0x1800e026a\nadd     rsp, 20h                                                       ; +0x6c, 0x1800e026c\npop     rbx                                                            ; +0x70, 0x1800e0270\njmp     cs:qword_1801B6188                                             ; +0x71, 0x1800e0271\nadd     rsp, 20h                                                       ; +0x78, 0x1800e0278\npop     rbx                                                            ; +0x7c, 0x1800e027c\nretn                                                                   ; +0x7d, 0x1800e027d", "xrefs": ["sub_1800DEF70 @ 0x1800df373", "<???> @ 0x1801c50dc"], "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"}