//
// __acrt_freeptd from 0x180135274 to 0x1801352b5 (65 bytes)
//
// 2 xrefs:
// > __acrt_thread_detach @ 0x18013298c
// > ??> @ 0x180203350
//
// 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 _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);
}
}
}