{"type": "func", "start": 6443197216, "end": 6443197341, "name": "sub_1800B6320", "pseudocode": "// \n// sub_1800B6320 from 0x1800b6320 to 0x1800b639d (125 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016e7e0\n// > <???> @ 0x1801fd074\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:53:59 +0000\n// \n\n__int64 __fastcall sub_1800B6320(_QWORD *a1, __int64 a2)\n{\n  __int64 (__fastcall *v2)(_QWORD, __int64, _QWORD); // rax\n  __int64 result; // rax\n  __int64 (__fastcall *v4)(_QWORD, __int64, _QWORD); // r9\n\n  if ( a1[67] || !a1[65] && *(_QWORD *)(a1[51] + 70144LL) )\n    return 0;\n  v2 = (__int64 (__fastcall *)(_QWORD, __int64, _QWORD))a1[66];\n  if ( v2 )\n  {\n    result = v2(a1[69], a2, a1[70]);\n    if ( (_DWORD)result )\n      return result;\n    return 0;\n  }\n  v4 = *(__int64 (__fastcall **)(_QWORD, __int64, _QWORD))(a1[51] + 70136LL);\n  if ( !v4 )\n    return 0;\n  result = v4(a1[69], a2, a1[70]);\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_1800B6320 from 0x1800b6320 to 0x1800b639d (125 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016e7e0\n; > <???> @ 0x1801fd074\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:53:59 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800b6320\ncmp     qword ptr [rcx+218h], 0                                        ; +0x4, 0x1800b6324\njnz     short loc_1800B6396                                            ; +0xc, 0x1800b632c\ncmp     qword ptr [rcx+208h], 0                                        ; +0xe, 0x1800b632e\njnz     short loc_1800B6349                                            ; +0x16, 0x1800b6336\nmov     rax, [rcx+198h]                                                ; +0x18, 0x1800b6338\ncmp     qword ptr [rax+11200h], 0                                      ; +0x1f, 0x1800b633f\njnz     short loc_1800B6396                                            ; +0x27, 0x1800b6347\nmov     rax, [rcx+210h]                                                ; +0x29, 0x1800b6349\ntest    rax, rax                                                       ; +0x30, 0x1800b6350\njz      short loc_1800B636E                                            ; +0x33, 0x1800b6353\nmov     r8, [rcx+230h]                                                 ; +0x35, 0x1800b6355\nmov     rcx, [rcx+228h]                                                ; +0x3c, 0x1800b635c\ncall    rax                                                            ; +0x43, 0x1800b6363\ntest    eax, eax                                                       ; +0x45, 0x1800b6365\njz      short loc_1800B6396                                            ; +0x47, 0x1800b6367\nadd     rsp, 28h                                                       ; +0x49, 0x1800b6369\nretn                                                                   ; +0x4d, 0x1800b636d\nmov     rax, [rcx+198h]                                                ; +0x4e, 0x1800b636e\nmov     r9, [rax+111F8h]                                               ; +0x55, 0x1800b6375\ntest    r9, r9                                                         ; +0x5c, 0x1800b637c\njz      short loc_1800B6396                                            ; +0x5f, 0x1800b637f\nmov     r8, [rcx+230h]                                                 ; +0x61, 0x1800b6381\nmov     rcx, [rcx+228h]                                                ; +0x68, 0x1800b6388\ncall    r9                                                             ; +0x6f, 0x1800b638f\ntest    eax, eax                                                       ; +0x72, 0x1800b6392\njnz     short loc_1800B6398                                            ; +0x74, 0x1800b6394\nxor     eax, eax                                                       ; +0x76, 0x1800b6396\nadd     rsp, 28h                                                       ; +0x78, 0x1800b6398\nretn                                                                   ; +0x7c, 0x1800b639c", "xrefs": ["<???> @ 0x18016e7e0", "<???> @ 0x1801fd074"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}