//
// __acrt_lowio_destroy_handle_array from 0x18013606c to 0x1801360bc (80 bytes)
//
// 2 xrefs:
// > __acrt_uninitialize_lowio @ 0x18013687c
// > ??> @ 0x1802034c4
//
// 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 _acrt_lowio_destroy_handle_array(char *Block)
{
struct _RTL_CRITICAL_SECTION *v1; // rsi
struct _RTL_CRITICAL_SECTION *v3; // rdi
if ( Block )
{
v1 = (struct _RTL_CRITICAL_SECTION *)(Block + 4608);
v3 = (struct _RTL_CRITICAL_SECTION *)Block;
do
{
DeleteCriticalSection(v3);
v3 = (struct _RTL_CRITICAL_SECTION *)((char *)v3 + 72);
}
while ( v3 != v1 );
free_base(Block);
}
}