//
// __acrt_freeptd from 0x180135274 to 0x1801352b5 (65 bytes)
//
// 2 xrefs:
// > __acrt_thread_detach @ 0x18013298c
// > ??> @ 0x180203350
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:55:00 +0000
//
void _acrt_freeptd()
{
void **Value; // rbx
if ( dword_1801B1870 != -1 )
{
Value = (void **)_acrt_FlsGetValue();
if ( Value )
{
_acrt_FlsSetValue(dword_1801B1870, nullptr);
destroy_ptd_array(Value);
free_base(Value);
}
}
}