// // sub_1800D6CB0 from 0x1800d6cb0 to 0x1800d6e03 (339 bytes) // // 2 xrefs: // > sub_1800D5870 @ 0x1800d58ed // > @ 0x1801ba980 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // HCURSOR __fastcall sub_1800D6CB0(__int64 a1, int a2) { HCURSOR result; // rax __int64 v5; // rcx HCURSOR CursorW; // rax struct tagPOINT Point; // [rsp+30h] [rbp+8h] BYREF if ( *(HWND *)(a1 + 880) == GetActiveWindow() ) { if ( a2 == 212995 ) { if ( GetCursorPos(&Point) ) { ScreenToClient(*(HWND *)(a1 + 880), &Point); *(double *)&qword_1801ABFD8 = (double)Point.x; *(double *)&qword_1801ABFE0 = (double)Point.y; } sub_1800D5230(a1); if ( *(_DWORD *)(a1 + 504) ) sub_1800D8000(a1); sub_1800D77E0(a1); qword_1801ABFE8 = a1; } else { if ( qword_1801ABFE8 == a1 && *(_DWORD *)(a1 + 504) ) sub_1800D7EB0(a1); ClipCursor(nullptr); qword_1801ABFF0 = 0; if ( qword_1801ABFE8 == a1 ) { qword_1801ABFE8 = 0; sub_1800D6E10(a1); } } } result = (HCURSOR)sub_1800D7D00(a1); if ( (_DWORD)result ) { if ( *(_DWORD *)(a1 + 124) == 212993 ) { v5 = *(_QWORD *)(a1 + 80); if ( v5 ) { return SetCursor(*(HCURSOR *)(v5 + 8)); } else { CursorW = LoadCursorW(nullptr, (LPCWSTR)0x7F00); return SetCursor(CursorW); } } else { return SetCursor(nullptr); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source