//
// sub_10073E3E0 from 0x10073e3e0 to 0x10073e4c4 (228 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009ee2f8
//
// This function is hookable on this platform (idp: arm, 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 11:13:19 +0000
//
__int64 sub_10073E3E0()
{
int v0; // w0
sub_1006AE2F8(9, 31, (__int64)"ui_openssl.c", 478);
byte_100A0EA20 = 1;
qword_100A0EA30 = (__int64)fopen("/dev/tty", "r");
if ( !qword_100A0EA30 )
qword_100A0EA30 = (__int64)__stdinp;
qword_100A0EA38 = (__int64)fopen("/dev/tty", "w");
if ( !qword_100A0EA38 )
qword_100A0EA38 = (__int64)__stderrp;
v0 = fileno((FILE *)qword_100A0EA30);
if ( tcgetattr(v0, &stru_100A0EA40) != -1 )
return 1;
if ( *__error() == 25 || *__error() == 22 )
{
byte_100A0EA20 = 0;
return 1;
}
return 0;
}