//
// __acrt_stdio_free_stream from 0x180138cdc to 0x180138cf8 (28 bytes)
//
// 2 xrefs:
// > _fclose_nolock @ 0x18012fa6d
// > fclose @ 0x18012fabf
//
// 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:01 +0000
//
__int64 __fastcall __acrt_stdio_free_stream(__int64 a1)
{
*(_DWORD *)(a1 + 24) = -1;
*(_QWORD *)a1 = 0;
*(_QWORD *)(a1 + 8) = 0;
*(_DWORD *)(a1 + 16) = 0;
*(_QWORD *)(a1 + 28) = 0;
*(_QWORD *)(a1 + 40) = 0;
return (unsigned int)_InterlockedExchange((volatile __int32 *)(a1 + 20), 0);
}