{"type": "func", "start": 6443330624, "end": 6443330724, "name": "sub_1800D6C40", "pseudocode": "// \n// sub_1800D6C40 from 0x1800d6c40 to 0x1800d6ca4 (100 bytes)\n// \n// 2 xrefs:\n// > sub_1800D56E0 @ 0x1800d5747\n// > <???> @ 0x1801ba974\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\nHCURSOR __fastcall sub_1800D6C40(__int64 a1)\n{\n  HCURSOR result; // rax\n  __int64 v3; // rcx\n  HCURSOR CursorW; // rax\n\n  result = (HCURSOR)sub_1800D7D00();\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_1800D6C40 from 0x1800d6c40 to 0x1800d6ca4 (100 bytes)\n; \n; 2 xrefs:\n; > sub_1800D56E0 @ 0x1800d5747\n; > <???> @ 0x1801ba974\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, 0x1800d6c40\nsub     rsp, 20h                                                       ; +0x2, 0x1800d6c42\nmov     rbx, rcx                                                       ; +0x6, 0x1800d6c46\ncall    sub_1800D7D00                                                  ; +0x9, 0x1800d6c49\ntest    eax, eax                                                       ; +0xe, 0x1800d6c4e\njz      short loc_1800D6C9E                                            ; +0x10, 0x1800d6c50\ncmp     dword ptr [rbx+7Ch], 34001h                                    ; +0x12, 0x1800d6c52\njnz     short loc_1800D6C90                                            ; +0x19, 0x1800d6c59\nmov     rcx, [rbx+50h]                                                 ; +0x1b, 0x1800d6c5b\ntest    rcx, rcx                                                       ; +0x1f, 0x1800d6c5f\njz      short loc_1800D6C74                                            ; +0x22, 0x1800d6c62\nmov     rcx, [rcx+8]                                                   ; +0x24, 0x1800d6c64\nadd     rsp, 20h                                                       ; +0x28, 0x1800d6c68\npop     rbx                                                            ; +0x2c, 0x1800d6c6c\njmp     cs:SetCursor                                                   ; +0x2d, 0x1800d6c6d\nmov     edx, 7F00h; lpCursorName                                       ; +0x34, 0x1800d6c74\nxor     ecx, ecx; hInstance                                            ; +0x39, 0x1800d6c79\ncall    cs:LoadCursorW                                                 ; +0x3b, 0x1800d6c7b\nmov     rcx, rax                                                       ; +0x41, 0x1800d6c81\nadd     rsp, 20h                                                       ; +0x44, 0x1800d6c84\npop     rbx                                                            ; +0x48, 0x1800d6c88\njmp     cs:SetCursor                                                   ; +0x49, 0x1800d6c89\nxor     ecx, ecx                                                       ; +0x50, 0x1800d6c90\nadd     rsp, 20h                                                       ; +0x52, 0x1800d6c92\npop     rbx                                                            ; +0x56, 0x1800d6c96\njmp     cs:SetCursor                                                   ; +0x57, 0x1800d6c97\nadd     rsp, 20h                                                       ; +0x5e, 0x1800d6c9e\npop     rbx                                                            ; +0x62, 0x1800d6ca2\nretn                                                                   ; +0x63, 0x1800d6ca3", "xrefs": ["sub_1800D56E0 @ 0x1800d5747", "<???> @ 0x1801ba974"], "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"}