{"type": "func", "start": 6443249360, "end": 6443249449, "name": "sub_1800C2ED0", "pseudocode": "// \n// sub_1800C2ED0 from 0x1800c2ed0 to 0x1800c2f29 (89 bytes)\n// \n// 2 xrefs:\n// > sub_1800C2180 @ 0x1800c2198\n// > <???> @ 0x1801fdd28\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_1800C2ED0(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rdx\n  __int64 v3; // rax\n\n  v1 = a1 + 1096;\n  if ( !a1 )\n    v1 = 1104;\n  v2 = *(_QWORD *)v1;\n  if ( !*(_QWORD *)v1 )\n    return 0;\n  v3 = a1 + 1113;\n  if ( !a1 )\n    v3 = 1121;\n  if ( *(_BYTE *)v3 && (*(_BYTE *)v3 = 0, (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v2 + 64LL))(v2)) )\n    return 49;\n  else\n    return 0;\n}", "assembly": "; \n; sub_1800C2ED0 from 0x1800c2ed0 to 0x1800c2f29 (89 bytes)\n; \n; 2 xrefs:\n; > sub_1800C2180 @ 0x1800c2198\n; > <???> @ 0x1801fdd28\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, 0x1800c2ed0\ntest    rcx, rcx                                                       ; +0x4, 0x1800c2ed4\nlea     rax, [rcx+448h]                                                ; +0x7, 0x1800c2ed7\nmov     edx, 450h                                                      ; +0xe, 0x1800c2ede\ncmovz   rax, rdx                                                       ; +0x13, 0x1800c2ee3\nmov     rdx, [rax]                                                     ; +0x17, 0x1800c2ee7\ntest    rdx, rdx                                                       ; +0x1a, 0x1800c2eea\njz      short loc_1800C2F22                                            ; +0x1d, 0x1800c2eed\ntest    rcx, rcx                                                       ; +0x1f, 0x1800c2eef\nlea     rax, [rcx+459h]                                                ; +0x22, 0x1800c2ef2\nmov     r8d, 461h                                                      ; +0x29, 0x1800c2ef9\ncmovz   rax, r8                                                        ; +0x2f, 0x1800c2eff\ncmp     byte ptr [rax], 0                                              ; +0x33, 0x1800c2f03\njz      short loc_1800C2F22                                            ; +0x36, 0x1800c2f06\nmov     byte ptr [rax], 0                                              ; +0x38, 0x1800c2f08\nmov     rcx, rdx                                                       ; +0x3b, 0x1800c2f0b\nmov     rax, [rdx]                                                     ; +0x3e, 0x1800c2f0e\ncall    qword ptr [rax+40h]                                            ; +0x41, 0x1800c2f11\ntest    eax, eax                                                       ; +0x44, 0x1800c2f14\njz      short loc_1800C2F22                                            ; +0x46, 0x1800c2f16\nmov     eax, 31h ; '1'                                                 ; +0x48, 0x1800c2f18\nadd     rsp, 28h                                                       ; +0x4d, 0x1800c2f1d\nretn                                                                   ; +0x51, 0x1800c2f21\nxor     eax, eax                                                       ; +0x52, 0x1800c2f22\nadd     rsp, 28h                                                       ; +0x54, 0x1800c2f24\nretn                                                                   ; +0x58, 0x1800c2f28", "xrefs": ["sub_1800C2180 @ 0x1800c2198", "<???> @ 0x1801fdd28"], "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"}