{"type": "func", "start": 6443353088, "end": 6443353156, "name": "sub_1800DC400", "pseudocode": "// \n// sub_1800DC400 from 0x1800dc400 to 0x1800dc444 (68 bytes)\n// \n// 3 xrefs:\n// > sub_1800E2620 @ 0x1800e29c3\n// > sub_1800FD180 @ 0x1800fd1cf\n// > <???> @ 0x1801ff54c\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:14 +0000\n// \n\n__int64 __fastcall sub_1800DC400(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 result; // rax\n\n  v2 = *(_QWORD *)(a1 + 8);\n  if ( !v2 )\n    return 0;\n  result = sub_180096490(v2, 0, 0, 4);\n  if ( !(_DWORD)result )\n  {\n    result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 16LL))(*(_QWORD *)(a1 + 8));\n    if ( !(_DWORD)result )\n    {\n      *(_QWORD *)(a1 + 8) = 0;\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800DC400 from 0x1800dc400 to 0x1800dc444 (68 bytes)\n; \n; 3 xrefs:\n; > sub_1800E2620 @ 0x1800e29c3\n; > sub_1800FD180 @ 0x1800fd1cf\n; > <???> @ 0x1801ff54c\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:14 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800dc400\nsub     rsp, 20h                                                       ; +0x2, 0x1800dc402\nmov     rbx, rcx                                                       ; +0x6, 0x1800dc406\nmov     rcx, [rcx+8]                                                   ; +0x9, 0x1800dc409\ntest    rcx, rcx                                                       ; +0xd, 0x1800dc40d\njz      short loc_1800DC43C                                            ; +0x10, 0x1800dc410\nmov     r9d, 4                                                         ; +0x12, 0x1800dc412\nxor     r8d, r8d                                                       ; +0x18, 0x1800dc418\nxor     edx, edx                                                       ; +0x1b, 0x1800dc41b\ncall    sub_180096490                                                  ; +0x1d, 0x1800dc41d\ntest    eax, eax                                                       ; +0x22, 0x1800dc422\njnz     short loc_1800DC43E                                            ; +0x24, 0x1800dc424\nmov     rcx, [rbx+8]                                                   ; +0x26, 0x1800dc426\nmov     rax, [rcx]                                                     ; +0x2a, 0x1800dc42a\ncall    qword ptr [rax+10h]                                            ; +0x2d, 0x1800dc42d\ntest    eax, eax                                                       ; +0x30, 0x1800dc430\njnz     short loc_1800DC43E                                            ; +0x32, 0x1800dc432\nmov     qword ptr [rbx+8], 0                                           ; +0x34, 0x1800dc434\nxor     eax, eax                                                       ; +0x3c, 0x1800dc43c\nadd     rsp, 20h                                                       ; +0x3e, 0x1800dc43e\npop     rbx                                                            ; +0x42, 0x1800dc442\nretn                                                                   ; +0x43, 0x1800dc443", "xrefs": ["sub_1800E2620 @ 0x1800e29c3", "sub_1800FD180 @ 0x1800fd1cf", "<???> @ 0x1801ff54c"], "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"}