{"type": "func", "start": 6443283536, "end": 6443283684, "name": "sub_1800CB450", "pseudocode": "// \n// sub_1800CB450 from 0x1800cb450 to 0x1800cb4e4 (148 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c8a0\n// > <???> @ 0x1801fe55c\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_1800CB450(__int64 a1)\n{\n  int v2; // eax\n  _QWORD **v3; // rdx\n\n  if ( (*(_BYTE *)(a1 + 72) & 0x40) == 0\n    && (*(_BYTE *)(a1 + 512) & 0x10) == 0\n    && *(_QWORD *)(a1 + 272) == a1 + 272\n    && *(_QWORD *)(a1 + 280) == a1 + 272\n    && *(_DWORD *)(*(_QWORD *)(a1 + 112) + 684LL)\n    || (*(_DWORD *)(a1 + 512) & 0x1000000) != 0 )\n  {\n    v2 = *(_DWORD *)(a1 + 72);\n    if ( (v2 & 0x80u) == 0 )\n    {\n      v3 = (_QWORD **)(a1 + 448);\n      *v3[1] = *v3;\n      (*v3)[1] = v3[1];\n      *(_QWORD *)(a1 + 456) = a1 + 448;\n      *(_QWORD *)(a1 + 448) = a1 + 448;\n      return 0;\n    }\n    else\n    {\n      *(_DWORD *)(a1 + 72) = v2 & 0xFFFFFF7F;\n      return 0;\n    }\n  }\n  else\n  {\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 520LL))(a1);\n    return 0;\n  }\n}", "assembly": "; \n; sub_1800CB450 from 0x1800cb450 to 0x1800cb4e4 (148 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c8a0\n; > <???> @ 0x1801fe55c\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, 0x1800cb450\ntest    byte ptr [rcx+48h], 40h                                        ; +0x4, 0x1800cb454\nmov     rdx, rcx                                                       ; +0x8, 0x1800cb458\njnz     short loc_1800CB486                                            ; +0xb, 0x1800cb45b\ntest    byte ptr [rcx+200h], 10h                                       ; +0xd, 0x1800cb45d\njnz     short loc_1800CB486                                            ; +0x14, 0x1800cb464\nlea     rax, [rcx+110h]                                                ; +0x16, 0x1800cb466\ncmp     [rax], rax                                                     ; +0x1d, 0x1800cb46d\njnz     short loc_1800CB486                                            ; +0x20, 0x1800cb470\ncmp     [rax+8], rax                                                   ; +0x22, 0x1800cb472\njnz     short loc_1800CB486                                            ; +0x26, 0x1800cb476\nmov     rax, [rcx+70h]                                                 ; +0x28, 0x1800cb478\nmov     ecx, [rax+2ACh]                                                ; +0x2c, 0x1800cb47c\ntest    ecx, ecx                                                       ; +0x32, 0x1800cb482\njnz     short loc_1800CB4A5                                            ; +0x34, 0x1800cb484\ntest    dword ptr [rdx+200h], 1000000h                                 ; +0x36, 0x1800cb486\njnz     short loc_1800CB4A5                                            ; +0x40, 0x1800cb490\nmov     rax, [rdx]                                                     ; +0x42, 0x1800cb492\nmov     rcx, rdx                                                       ; +0x45, 0x1800cb495\ncall    qword ptr [rax+208h]                                           ; +0x48, 0x1800cb498\nxor     eax, eax                                                       ; +0x4e, 0x1800cb49e\nadd     rsp, 28h                                                       ; +0x50, 0x1800cb4a0\nretn                                                                   ; +0x54, 0x1800cb4a4\nmov     eax, [rdx+48h]                                                 ; +0x55, 0x1800cb4a5\ntest    al, al                                                         ; +0x58, 0x1800cb4a8\njns     short loc_1800CB4BA                                            ; +0x5a, 0x1800cb4aa\nbtr     eax, 7                                                         ; +0x5c, 0x1800cb4ac\nmov     [rdx+48h], eax                                                 ; +0x60, 0x1800cb4b0\nxor     eax, eax                                                       ; +0x63, 0x1800cb4b3\nadd     rsp, 28h                                                       ; +0x65, 0x1800cb4b5\nretn                                                                   ; +0x69, 0x1800cb4b9\nadd     rdx, 1C0h                                                      ; +0x6a, 0x1800cb4ba\nmov     rcx, [rdx+8]                                                   ; +0x71, 0x1800cb4c1\nmov     rax, [rdx]                                                     ; +0x75, 0x1800cb4c5\nmov     [rcx], rax                                                     ; +0x78, 0x1800cb4c8\nmov     rax, [rdx+8]                                                   ; +0x7b, 0x1800cb4cb\nmov     rcx, [rdx]                                                     ; +0x7f, 0x1800cb4cf\nmov     [rcx+8], rax                                                   ; +0x82, 0x1800cb4d2\nxor     eax, eax                                                       ; +0x86, 0x1800cb4d6\nmov     [rdx+8], rdx                                                   ; +0x88, 0x1800cb4d8\nmov     [rdx], rdx                                                     ; +0x8c, 0x1800cb4dc\nadd     rsp, 28h                                                       ; +0x8f, 0x1800cb4df\nretn                                                                   ; +0x93, 0x1800cb4e3", "xrefs": ["<???> @ 0x18016c8a0", "<???> @ 0x1801fe55c"], "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"}