//
// sub_1800D9950 from 0x1800d9950 to 0x1800d997c (44 bytes)
//
// 2 xrefs:
// > sub_1800D39B0 @ 0x1800d3afb
// > ??> @ 0x1801bab54
//
// 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
//
void __fastcall sub_1800D9950(__int64 a1)
{
if ( *(_DWORD *)a1 )
DeleteCriticalSection((LPCRITICAL_SECTION)(a1 + 8));
*(_OWORD *)a1 = 0;
*(_OWORD *)(a1 + 16) = 0;
*(_OWORD *)(a1 + 32) = 0;
}