//
// sub_1800DD9E0 from 0x1800dd9e0 to 0x1800dda0c (44 bytes)
//
// 2 xrefs:
// > sub_1800DC900 @ 0x1800dcd2d
// > ??> @ 0x1801bae24
//
// 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
//
BOOL __fastcall sub_1800DD9E0(__int64 a1)
{
HGLRC v2; // rcx
BOOL result; // eax
v2 = *(HGLRC *)(a1 + 640);
if ( v2 )
{
result = wglDeleteContext(v2);
*(_QWORD *)(a1 + 640) = 0;
}
return result;
}