{"type": "func", "start": 6443235152, "end": 6443235294, "name": "sub_1800BF750", "pseudocode": "// \n// sub_1800BF750 from 0x1800bf750 to 0x1800bf7de (142 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c0e0\n// > <???> @ 0x1801fd998\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:54:02 +0000\n// \n\n__int64 __fastcall sub_1800BF750(__int64 a1, int a2, int a3, _QWORD *a4)\n{\n  int v6; // r8d\n  unsigned int v8; // r8d\n  unsigned int v9; // [rsp+40h] [rbp+18h] BYREF\n\n  if ( a3 )\n  {\n    v6 = a3 - 1;\n    if ( v6 )\n    {\n      if ( v6 != 1 )\n        return 2147942487LL;\n      v8 = 2;\n    }\n    else\n    {\n      v8 = 1;\n    }\n  }\n  else\n  {\n    v8 = 0;\n  }\n  if ( (unsigned int)sub_1800B3990(*(__int64 **)(a1 + 8), a2, v8) )\n    return 1;\n  if ( a4 )\n  {\n    sub_1800B3D20(*(_QWORD *)(a1 + 8), &v9);\n    *a4 = v9;\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800BF750 from 0x1800bf750 to 0x1800bf7de (142 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c0e0\n; > <???> @ 0x1801fd998\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:54:02 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800bf750\npush    rdi                                                            ; +0x5, 0x1800bf755\nsub     rsp, 20h                                                       ; +0x6, 0x1800bf756\nmov     rbx, r9                                                        ; +0xa, 0x1800bf75a\nmov     rdi, rcx                                                       ; +0xd, 0x1800bf75d\ntest    r8d, r8d                                                       ; +0x10, 0x1800bf760\njz      short loc_1800BF791                                            ; +0x13, 0x1800bf763\nsub     r8d, 1                                                         ; +0x15, 0x1800bf765\njz      short loc_1800BF789                                            ; +0x19, 0x1800bf769\ncmp     r8d, 1                                                         ; +0x1b, 0x1800bf76b\njz      short loc_1800BF781                                            ; +0x1f, 0x1800bf76f\nmov     eax, 80070057h                                                 ; +0x21, 0x1800bf771\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x26, 0x1800bf776\nadd     rsp, 20h                                                       ; +0x2b, 0x1800bf77b\npop     rdi                                                            ; +0x2f, 0x1800bf77f\nretn                                                                   ; +0x30, 0x1800bf780\nmov     r8d, 2                                                         ; +0x31, 0x1800bf781\njmp     short loc_1800BF794                                            ; +0x37, 0x1800bf787\nmov     r8d, 1                                                         ; +0x39, 0x1800bf789\njmp     short loc_1800BF794                                            ; +0x3f, 0x1800bf78f\nxor     r8d, r8d                                                       ; +0x41, 0x1800bf791\nmov     rcx, [rcx+8]                                                   ; +0x44, 0x1800bf794\ncall    sub_1800B3990                                                  ; +0x48, 0x1800bf798\ntest    eax, eax                                                       ; +0x4d, 0x1800bf79d\njz      short loc_1800BF7B1                                            ; +0x4f, 0x1800bf79f\nmov     eax, 1                                                         ; +0x51, 0x1800bf7a1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x56, 0x1800bf7a6\nadd     rsp, 20h                                                       ; +0x5b, 0x1800bf7ab\npop     rdi                                                            ; +0x5f, 0x1800bf7af\nretn                                                                   ; +0x60, 0x1800bf7b0\ntest    rbx, rbx                                                       ; +0x61, 0x1800bf7b1\njz      short loc_1800BF7D1                                            ; +0x64, 0x1800bf7b4\nmov     rcx, [rdi+8]                                                   ; +0x66, 0x1800bf7b6\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x6a, 0x1800bf7ba\ncall    sub_1800B3D20                                                  ; +0x6f, 0x1800bf7bf\nmov     eax, [rsp+28h+arg_10]                                          ; +0x74, 0x1800bf7c4\nmov     [rbx], eax                                                     ; +0x78, 0x1800bf7c8\nmov     dword ptr [rbx+4], 0                                           ; +0x7a, 0x1800bf7ca\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x81, 0x1800bf7d1\nxor     eax, eax                                                       ; +0x86, 0x1800bf7d6\nadd     rsp, 20h                                                       ; +0x88, 0x1800bf7d8\npop     rdi                                                            ; +0x8c, 0x1800bf7dc\nretn                                                                   ; +0x8d, 0x1800bf7dd", "xrefs": ["<???> @ 0x18016c0e0", "<???> @ 0x1801fd998"], "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"}