//
// _fileno from 0x180138498 to 0x1801384be (38 bytes)
//
// 17 xrefs:
// > _fclose_nolock @ 0x18012fa42
// > _fputwc_nolock @ 0x180138369
// > _fputwc_nolock @ 0x180138384
// > _fputwc_nolock @ 0x180138391
// > _fputwc_nolock @ 0x1801383a0
// > _fputwc_nolock @ 0x1801383c9
// > _fputwc_nolock @ 0x1801383d6
// > _fputwc_nolock @ 0x1801383e3
// > _fputwc_nolock @ 0x1801383f2
// > __acrt_should_use_temporary_buffer @ 0x18013851a
// > __acrt_stdio_flush_nolock @ 0x1801389c5
// > unknown_libname_69 @ 0x180138a36
// > write_buffer_nolock @ 0x18013f4c1
// > write_buffer_nolock @ 0x18013f5a6
// > unknown_libname_72 @ 0x18013f702
// > unknown_libname_73 @ 0x18013f7ba
// > ??> @ 0x180203650
//
// 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
//
int __cdecl fileno(FILE *Stream)
{
if ( Stream )
return Stream->_flag;
*errno() = 22;
invalid_parameter_noinfo();
return -1;
}