{"type": "func", "start": 6443272816, "end": 6443272937, "name": "sub_1800C8A70", "pseudocode": "// \n// sub_1800C8A70 from 0x1800c8a70 to 0x1800c8ae9 (121 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c550\n// > <???> @ 0x1801fe25c\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_1800C8A70(_QWORD *a1, _QWORD *a2)\n{\n  __int64 result; // rax\n  __int64 v3; // rcx\n\n  if ( !a2 )\n    return 31;\n  if ( a1[93] )\n  {\n    result = sub_180097F60(a1[93], a2);\n    if ( (_DWORD)result )\n      return result;\n    return 0;\n  }\n  if ( !a1[5] || !a1[83] )\n  {\n    v3 = a1[92];\n    if ( !v3 )\n      return 30;\n    result = sub_180097F60(v3, a2);\n    if ( (_DWORD)result )\n      return result;\n    return 0;\n  }\n  result = sub_180097F60((__int64)(a1 + 14), a2);\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_1800C8A70 from 0x1800c8a70 to 0x1800c8ae9 (121 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c550\n; > <???> @ 0x1801fe25c\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, 0x1800c8a70\ntest    rdx, rdx                                                       ; +0x4, 0x1800c8a74\njnz     short loc_1800C8A83                                            ; +0x7, 0x1800c8a77\nmov     eax, 1Fh                                                       ; +0x9, 0x1800c8a79\nadd     rsp, 28h                                                       ; +0xe, 0x1800c8a7e\nretn                                                                   ; +0x12, 0x1800c8a82\nmov     rax, [rcx+2E8h]                                                ; +0x13, 0x1800c8a83\ntest    rax, rax                                                       ; +0x1a, 0x1800c8a8a\njz      short loc_1800C8AA0                                            ; +0x1d, 0x1800c8a8d\nmov     rcx, rax                                                       ; +0x1f, 0x1800c8a8f\ncall    sub_180097F60                                                  ; +0x22, 0x1800c8a92\ntest    eax, eax                                                       ; +0x27, 0x1800c8a97\njz      short loc_1800C8AD8                                            ; +0x29, 0x1800c8a99\nadd     rsp, 28h                                                       ; +0x2b, 0x1800c8a9b\nretn                                                                   ; +0x2f, 0x1800c8a9f\ncmp     qword ptr [rcx+28h], 0                                         ; +0x30, 0x1800c8aa0\njz      short loc_1800C8AC3                                            ; +0x35, 0x1800c8aa5\ncmp     qword ptr [rcx+298h], 0                                        ; +0x37, 0x1800c8aa7\njz      short loc_1800C8AC3                                            ; +0x3f, 0x1800c8aaf\nadd     rcx, 70h ; 'p'                                                 ; +0x41, 0x1800c8ab1\ncall    sub_180097F60                                                  ; +0x45, 0x1800c8ab5\ntest    eax, eax                                                       ; +0x4a, 0x1800c8aba\njz      short loc_1800C8AD8                                            ; +0x4c, 0x1800c8abc\nadd     rsp, 28h                                                       ; +0x4e, 0x1800c8abe\nretn                                                                   ; +0x52, 0x1800c8ac2\nmov     rcx, [rcx+2E0h]                                                ; +0x53, 0x1800c8ac3\ntest    rcx, rcx                                                       ; +0x5a, 0x1800c8aca\njz      short loc_1800C8ADF                                            ; +0x5d, 0x1800c8acd\ncall    sub_180097F60                                                  ; +0x5f, 0x1800c8acf\ntest    eax, eax                                                       ; +0x64, 0x1800c8ad4\njnz     short loc_1800C8AE4                                            ; +0x66, 0x1800c8ad6\nxor     eax, eax                                                       ; +0x68, 0x1800c8ad8\nadd     rsp, 28h                                                       ; +0x6a, 0x1800c8ada\nretn                                                                   ; +0x6e, 0x1800c8ade\nmov     eax, 1Eh                                                       ; +0x6f, 0x1800c8adf\nadd     rsp, 28h                                                       ; +0x74, 0x1800c8ae4\nretn                                                                   ; +0x78, 0x1800c8ae8", "xrefs": ["<???> @ 0x18016c550", "<???> @ 0x1801fe25c"], "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"}