{"type": "func", "start": 6443278096, "end": 6443278261, "name": "sub_1800C9F10", "pseudocode": "// \n// sub_1800C9F10 from 0x1800c9f10 to 0x1800c9fb5 (165 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c600\n// > <???> @ 0x1801fe424\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_1800C9F10(__int64 a1, unsigned __int8 a2)\n{\n  __int64 v2; // rdi\n  char v3; // bp\n  unsigned int v6; // ebx\n\n  v2 = *(_QWORD *)(a1 + 8);\n  v3 = 0;\n  if ( v2 )\n  {\n    sub_1801021C0(v2, 8);\n    v3 = 1;\n  }\n  v6 = sub_1800C7CE0(a1, a2);\n  if ( !v6\n    && ((*(_DWORD *)(a1 + 60) & 0x4000) != 0\n     || (v6 = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 192) + 80LL))(*(_QWORD *)(a1 + 192), a2)) == 0) )\n  {\n    v6 = 0;\n  }\n  if ( v3 && v2 )\n    sub_180102300(v2, 8);\n  return v6;\n}", "assembly": "; \n; sub_1800C9F10 from 0x1800c9f10 to 0x1800c9fb5 (165 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c600\n; > <???> @ 0x1801fe424\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c9f10\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800c9f15\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800c9f1a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x1800c9f1f\npush    r14                                                            ; +0x14, 0x1800c9f24\nsub     rsp, 20h                                                       ; +0x16, 0x1800c9f26\nmov     rdi, [rcx+8]                                                   ; +0x1a, 0x1800c9f2a\nxor     bpl, bpl                                                       ; +0x1e, 0x1800c9f2e\nmovzx   r14d, dl                                                       ; +0x21, 0x1800c9f31\nmov     rsi, rcx                                                       ; +0x25, 0x1800c9f35\ntest    rdi, rdi                                                       ; +0x28, 0x1800c9f38\njz      short loc_1800C9F4D                                            ; +0x2b, 0x1800c9f3b\nmov     edx, 8                                                         ; +0x2d, 0x1800c9f3d\nmov     rcx, rdi                                                       ; +0x32, 0x1800c9f42\ncall    sub_1801021C0                                                  ; +0x35, 0x1800c9f45\nmov     bpl, 1                                                         ; +0x3a, 0x1800c9f4a\nmovzx   edx, r14b                                                      ; +0x3d, 0x1800c9f4d\nmov     rcx, rsi                                                       ; +0x41, 0x1800c9f51\ncall    sub_1800C7CE0                                                  ; +0x44, 0x1800c9f54\nmov     ebx, eax                                                       ; +0x49, 0x1800c9f59\ntest    eax, eax                                                       ; +0x4b, 0x1800c9f5b\njnz     short loc_1800C9F81                                            ; +0x4d, 0x1800c9f5d\ntest    dword ptr [rsi+3Ch], 4000h                                     ; +0x4f, 0x1800c9f5f\njnz     short loc_1800C9F7F                                            ; +0x56, 0x1800c9f66\nmov     rcx, [rsi+0C0h]                                                ; +0x58, 0x1800c9f68\nmovzx   edx, r14b                                                      ; +0x5f, 0x1800c9f6f\nmov     rax, [rcx]                                                     ; +0x63, 0x1800c9f73\ncall    qword ptr [rax+50h]                                            ; +0x66, 0x1800c9f76\nmov     ebx, eax                                                       ; +0x69, 0x1800c9f79\ntest    eax, eax                                                       ; +0x6b, 0x1800c9f7b\njnz     short loc_1800C9F81                                            ; +0x6d, 0x1800c9f7d\nxor     ebx, ebx                                                       ; +0x6f, 0x1800c9f7f\ntest    bpl, bpl                                                       ; +0x71, 0x1800c9f81\njz      short loc_1800C9F98                                            ; +0x74, 0x1800c9f84\ntest    rdi, rdi                                                       ; +0x76, 0x1800c9f86\njz      short loc_1800C9F98                                            ; +0x79, 0x1800c9f89\nmov     edx, 8                                                         ; +0x7b, 0x1800c9f8b\nmov     rcx, rdi                                                       ; +0x80, 0x1800c9f90\ncall    sub_180102300                                                  ; +0x83, 0x1800c9f93\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x88, 0x1800c9f98\nmov     eax, ebx                                                       ; +0x8d, 0x1800c9f9d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8f, 0x1800c9f9f\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x94, 0x1800c9fa4\nmov     rdi, [rsp+28h+arg_18]                                          ; +0x99, 0x1800c9fa9\nadd     rsp, 20h                                                       ; +0x9e, 0x1800c9fae\npop     r14                                                            ; +0xa2, 0x1800c9fb2\nretn                                                                   ; +0xa4, 0x1800c9fb4", "xrefs": ["<???> @ 0x18016c600", "<???> @ 0x1801fe424"], "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"}