//
// __acrt_stdio_free_stream from 0x180138cdc to 0x180138cf8 (28 bytes)
//
// 2 xrefs:
// > _fclose_nolock @ 0x18012fa6d
// > fclose @ 0x18012fabf
//
// 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
//
__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);
}