//
// sub_1800D9980 from 0x1800d9980 to 0x1800d99a2 (34 bytes)
//
// 3 xrefs:
// > sub_1800D39B0 @ 0x1800d3ae3
// > sub_1800D39B0 @ 0x1800d3aef
// > ??> @ 0x1801bab60
//
// 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 __fastcall sub_1800D9980(_DWORD *a1)
{
if ( *a1 )
TlsFree(a1[1]);
*(_QWORD *)a1 = 0;
return 0;
}