{"type": "func", "start": 6443337168, "end": 6443337268, "name": "sub_1800D85D0", "pseudocode": "// \n// sub_1800D85D0 from 0x1800d85d0 to 0x1800d8634 (100 bytes)\n// \n// 2 xrefs:\n// > sub_1800DD410 @ 0x1800dd477\n// > <???> @ 0x1801c4a34\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 11:22:33 +0000\n// \n\nHCURSOR __fastcall sub_1800D85D0(__int64 a1)\n{\n  HCURSOR result; // rax\n  __int64 v3; // rcx\n  HCURSOR CursorW; // rax\n\n  result = (HCURSOR)sub_1800D9690();\n  if ( (_DWORD)result )\n  {\n    if ( *(_DWORD *)(a1 + 124) == 212993 )\n    {\n      v3 = *(_QWORD *)(a1 + 80);\n      if ( v3 )\n      {\n        return SetCursor(*(HCURSOR *)(v3 + 8));\n      }\n      else\n      {\n        CursorW = LoadCursorW(nullptr, (LPCWSTR)0x7F00);\n        return SetCursor(CursorW);\n      }\n    }\n    else\n    {\n      return SetCursor(nullptr);\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D85D0 from 0x1800d85d0 to 0x1800d8634 (100 bytes)\n; \n; 2 xrefs:\n; > sub_1800DD410 @ 0x1800dd477\n; > <???> @ 0x1801c4a34\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 11:22:33 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800d85d0\nsub     rsp, 20h                                                       ; +0x2, 0x1800d85d2\nmov     rbx, rcx                                                       ; +0x6, 0x1800d85d6\ncall    sub_1800D9690                                                  ; +0x9, 0x1800d85d9\ntest    eax, eax                                                       ; +0xe, 0x1800d85de\njz      short loc_1800D862E                                            ; +0x10, 0x1800d85e0\ncmp     dword ptr [rbx+7Ch], 34001h                                    ; +0x12, 0x1800d85e2\njnz     short loc_1800D8620                                            ; +0x19, 0x1800d85e9\nmov     rcx, [rbx+50h]                                                 ; +0x1b, 0x1800d85eb\ntest    rcx, rcx                                                       ; +0x1f, 0x1800d85ef\njz      short loc_1800D8604                                            ; +0x22, 0x1800d85f2\nmov     rcx, [rcx+8]                                                   ; +0x24, 0x1800d85f4\nadd     rsp, 20h                                                       ; +0x28, 0x1800d85f8\npop     rbx                                                            ; +0x2c, 0x1800d85fc\njmp     cs:SetCursor                                                   ; +0x2d, 0x1800d85fd\nmov     edx, 7F00h; lpCursorName                                       ; +0x34, 0x1800d8604\nxor     ecx, ecx; hInstance                                            ; +0x39, 0x1800d8609\ncall    cs:LoadCursorW                                                 ; +0x3b, 0x1800d860b\nmov     rcx, rax                                                       ; +0x41, 0x1800d8611\nadd     rsp, 20h                                                       ; +0x44, 0x1800d8614\npop     rbx                                                            ; +0x48, 0x1800d8618\njmp     cs:SetCursor                                                   ; +0x49, 0x1800d8619\nxor     ecx, ecx                                                       ; +0x50, 0x1800d8620\nadd     rsp, 20h                                                       ; +0x52, 0x1800d8622\npop     rbx                                                            ; +0x56, 0x1800d8626\njmp     cs:SetCursor                                                   ; +0x57, 0x1800d8627\nadd     rsp, 20h                                                       ; +0x5e, 0x1800d862e\npop     rbx                                                            ; +0x62, 0x1800d8632\nretn                                                                   ; +0x63, 0x1800d8633", "xrefs": ["sub_1800DD410 @ 0x1800dd477", "<???> @ 0x1801c4a34"], "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"}