{"type": "func", "start": 6443272944, "end": 6443273016, "name": "sub_1800C8AF0", "pseudocode": "// \n// sub_1800C8AF0 from 0x1800c8af0 to 0x1800c8b38 (72 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c5a8\n// > <???> @ 0x1801fe268\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_1800C8AF0(__int64 a1, _DWORD *a2, char a3)\n{\n  __int64 result; // rax\n  int v5; // [rsp+38h] [rbp+10h] BYREF\n\n  if ( !a2 )\n    return 31;\n  if ( (a3 & 0x10) == 0 )\n    return 68;\n  result = (*(__int64 (__fastcall **)(__int64, int *))(*(_QWORD *)a1 + 128LL))(a1, &v5);\n  if ( !(_DWORD)result )\n  {\n    *a2 = v5;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800C8AF0 from 0x1800c8af0 to 0x1800c8b38 (72 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c5a8\n; > <???> @ 0x1801fe268\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, 0x1800c8af0\nsub     rsp, 20h                                                       ; +0x2, 0x1800c8af2\nmov     rbx, rdx                                                       ; +0x6, 0x1800c8af6\ntest    rdx, rdx                                                       ; +0x9, 0x1800c8af9\njnz     short loc_1800C8B07                                            ; +0xc, 0x1800c8afc\nlea     eax, [rdx+1Fh]                                                 ; +0xe, 0x1800c8afe\nadd     rsp, 20h                                                       ; +0x11, 0x1800c8b01\npop     rbx                                                            ; +0x15, 0x1800c8b05\nretn                                                                   ; +0x16, 0x1800c8b06\ntest    r8b, 10h                                                       ; +0x17, 0x1800c8b07\njnz     short loc_1800C8B18                                            ; +0x1b, 0x1800c8b0b\nmov     eax, 44h ; 'D'                                                 ; +0x1d, 0x1800c8b0d\nadd     rsp, 20h                                                       ; +0x22, 0x1800c8b12\npop     rbx                                                            ; +0x26, 0x1800c8b16\nretn                                                                   ; +0x27, 0x1800c8b17\nmov     rax, [rcx]                                                     ; +0x28, 0x1800c8b18\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x2b, 0x1800c8b1b\ncall    qword ptr [rax+80h]                                            ; +0x30, 0x1800c8b20\ntest    eax, eax                                                       ; +0x36, 0x1800c8b26\njnz     short loc_1800C8B32                                            ; +0x38, 0x1800c8b28\nmov     eax, [rsp+28h+arg_8]                                           ; +0x3a, 0x1800c8b2a\nmov     [rbx], eax                                                     ; +0x3e, 0x1800c8b2e\nxor     eax, eax                                                       ; +0x40, 0x1800c8b30\nadd     rsp, 20h                                                       ; +0x42, 0x1800c8b32\npop     rbx                                                            ; +0x46, 0x1800c8b36\nretn                                                                   ; +0x47, 0x1800c8b37", "xrefs": ["<???> @ 0x18016c5a8", "<???> @ 0x1801fe268"], "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"}