//
// __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 (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 __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);
}
}