//
// sub_1800D75D0 from 0x1800d75d0 to 0x1800d76c8 (248 bytes)
//
// 2 xrefs:
// > sub_1800D9E40 @ 0x1800da174
// > ??> @ 0x1801ba9f8
//
// 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
//
__int64 sub_1800D75D0()
{
HMODULE ModuleHandleW; // rax
WNDCLASSEXW v2; // [rsp+30h] [rbp-58h] BYREF
v2.cbSize = 80;
v2.lpfnWndProc = (WNDPROC)sub_1800D8740;
v2.hInstance = phModule;
*(_QWORD *)&v2.cbClsExtra = 0;
*(_OWORD *)&v2.hbrBackground = 0;
v2.hIconSm = nullptr;
v2.style = 35;
v2.hCursor = LoadCursorW(nullptr, (LPCWSTR)0x7F00);
v2.lpszClassName = L"GLFW30";
ModuleHandleW = GetModuleHandleW(nullptr);
v2.hIcon = (HICON)LoadImageW(ModuleHandleW, L"GLFW_ICON", 1u, 0, 0, 0x8040u);
if ( !v2.hIcon )
v2.hIcon = (HICON)LoadImageW(nullptr, (LPCWSTR)0x7F00, 1u, 0, 0, 0x8040u);
if ( RegisterClassExW(&v2) )
return 1;
sub_1800D9BA0(65544, "Win32: Failed to register window class");
return 0;
}