//
// __acrt_should_use_temporary_buffer from 0x1801384f0 to 0x180138536 (70 bytes)
//
// 4 xrefs:
// > __acrt_stdio_begin_temporary_buffering_nolock @ 0x180138545
// > unknown_libname_72 @ 0x18013f778
// > unknown_libname_73 @ 0x18013f832
// > ??> @ 0x18020365c
//
// 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
//
bool __fastcall _acrt_should_use_temporary_buffer(FILE *Stream)
{
int v2; // eax
bool result; // al
result = true;
if ( Stream != _acrt_iob_func(2u) )
{
if ( Stream != _acrt_iob_func(1u) )
return false;
v2 = fileno(Stream);
if ( !isatty(v2) )
return false;
}
return result;
}