//
// _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 (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
//
int __cdecl fileno(FILE *Stream)
{
if ( Stream )
return Stream->_flag;
*errno() = 22;
invalid_parameter_noinfo();
return -1;
}