{"type": "func", "start": 6443293872, "end": 6443293953, "name": "sub_1800CDCB0", "pseudocode": "// \n// sub_1800CDCB0 from 0x1800cdcb0 to 0x1800cdd01 (81 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016cb00\n// > <???> @ 0x1801fe7cc\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_1800CDCB0(__int64 a1, _DWORD *a2)\n{\n  __int64 v2; // rax\n  __int64 result; // rax\n  __int64 v4; // rcx\n\n  v2 = *(_QWORD *)(a1 + 472);\n  if ( !v2 || !*(_QWORD *)(a1 + 32) )\n    return 30;\n  if ( !*(_QWORD *)(v2 + 40) )\n  {\n    v4 = *(_QWORD *)(v2 + 48);\n    if ( v4 )\n    {\n      *a2 = *(unsigned __int16 *)(v4 + 280);\n      return 0;\n    }\n    return 30;\n  }\n  result = sub_1800DEB00();\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_1800CDCB0 from 0x1800cdcb0 to 0x1800cdd01 (81 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016cb00\n; > <???> @ 0x1801fe7cc\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800cdcb0\nmov     rax, [rcx+1D8h]                                                ; +0x4, 0x1800cdcb4\ntest    rax, rax                                                       ; +0xb, 0x1800cdcbb\njz      short loc_1800CDCF7                                            ; +0xe, 0x1800cdcbe\ncmp     qword ptr [rcx+20h], 0                                         ; +0x10, 0x1800cdcc0\njz      short loc_1800CDCF7                                            ; +0x15, 0x1800cdcc5\nmov     rcx, [rax+28h]                                                 ; +0x17, 0x1800cdcc7\ntest    rcx, rcx                                                       ; +0x1b, 0x1800cdccb\njz      short loc_1800CDCDE                                            ; +0x1e, 0x1800cdcce\ncall    sub_1800DEB00                                                  ; +0x20, 0x1800cdcd0\ntest    eax, eax                                                       ; +0x25, 0x1800cdcd5\njz      short loc_1800CDCF0                                            ; +0x27, 0x1800cdcd7\nadd     rsp, 28h                                                       ; +0x29, 0x1800cdcd9\nretn                                                                   ; +0x2d, 0x1800cdcdd\nmov     rcx, [rax+30h]                                                 ; +0x2e, 0x1800cdcde\ntest    rcx, rcx                                                       ; +0x32, 0x1800cdce2\njz      short loc_1800CDCF7                                            ; +0x35, 0x1800cdce5\nmovzx   eax, word ptr [rcx+118h]                                       ; +0x37, 0x1800cdce7\nmov     [rdx], eax                                                     ; +0x3e, 0x1800cdcee\nxor     eax, eax                                                       ; +0x40, 0x1800cdcf0\nadd     rsp, 28h                                                       ; +0x42, 0x1800cdcf2\nretn                                                                   ; +0x46, 0x1800cdcf6\nmov     eax, 1Eh                                                       ; +0x47, 0x1800cdcf7\nadd     rsp, 28h                                                       ; +0x4c, 0x1800cdcfc\nretn                                                                   ; +0x50, 0x1800cdd00", "xrefs": ["<???> @ 0x18016cb00", "<???> @ 0x1801fe7cc"], "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"}