{"type": "func", "start": 6443249264, "end": 6443249346, "name": "sub_1800C2E70", "pseudocode": "// \n// sub_1800C2E70 from 0x1800c2e70 to 0x1800c2ec2 (82 bytes)\n// \n// 2 xrefs:\n// > sub_1800C2180 @ 0x1800c2235\n// > <???> @ 0x1801fdd1c\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_1800C2E70(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v4; // rax\n\n  v2 = a1 + 1096;\n  if ( !a1 )\n    v2 = 1104;\n  if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)v2 + 56LL))(*(_QWORD *)v2) )\n    return 49;\n  v4 = a1 + 1113;\n  if ( !a1 )\n    v4 = 1121;\n  *(_BYTE *)v4 = 1;\n  return 0;\n}", "assembly": "; \n; sub_1800C2E70 from 0x1800c2e70 to 0x1800c2ec2 (82 bytes)\n; \n; 2 xrefs:\n; > sub_1800C2180 @ 0x1800c2235\n; > <???> @ 0x1801fdd1c\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\npush    rbx                                                            ; +0x0, 0x1800c2e70\nsub     rsp, 20h                                                       ; +0x2, 0x1800c2e72\nmov     rbx, rcx                                                       ; +0x6, 0x1800c2e76\nmov     eax, 450h                                                      ; +0x9, 0x1800c2e79\nadd     rcx, 448h                                                      ; +0xe, 0x1800c2e7e\ntest    rbx, rbx                                                       ; +0x15, 0x1800c2e85\ncmovz   rcx, rax                                                       ; +0x18, 0x1800c2e88\nmov     rcx, [rcx]                                                     ; +0x1c, 0x1800c2e8c\nmov     rax, [rcx]                                                     ; +0x1f, 0x1800c2e8f\ncall    qword ptr [rax+38h]                                            ; +0x22, 0x1800c2e92\ntest    eax, eax                                                       ; +0x25, 0x1800c2e95\njz      short loc_1800C2EA4                                            ; +0x27, 0x1800c2e97\nmov     eax, 31h ; '1'                                                 ; +0x29, 0x1800c2e99\nadd     rsp, 20h                                                       ; +0x2e, 0x1800c2e9e\npop     rbx                                                            ; +0x32, 0x1800c2ea2\nretn                                                                   ; +0x33, 0x1800c2ea3\ntest    rbx, rbx                                                       ; +0x34, 0x1800c2ea4\nlea     rax, [rbx+459h]                                                ; +0x37, 0x1800c2ea7\nmov     ecx, 461h                                                      ; +0x3e, 0x1800c2eae\ncmovz   rax, rcx                                                       ; +0x43, 0x1800c2eb3\nmov     byte ptr [rax], 1                                              ; +0x47, 0x1800c2eb7\nxor     eax, eax                                                       ; +0x4a, 0x1800c2eba\nadd     rsp, 20h                                                       ; +0x4c, 0x1800c2ebc\npop     rbx                                                            ; +0x50, 0x1800c2ec0\nretn                                                                   ; +0x51, 0x1800c2ec1", "xrefs": ["sub_1800C2180 @ 0x1800c2235", "<???> @ 0x1801fdd1c"], "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"}