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