//
// sub_906124 from 0x906124 to 0x906174 (80 bytes)
//
// 4 xrefs:
// > sub_906174 @ 0x906190
// > TIFFFdOpen @ 0x9062ac
// > TIFFFdOpen @ 0x9062b0
// > ??> @ 0x906320
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:04:18 +0000
//
__int64 __fastcall sub_906124(int a1)
{
_BYTE v3[48]; // [sp+8h] [bp-6Ch] BYREF
__int64 v4; // [sp+38h] [bp-3Ch]
if ( fstat(a1, (struct stat *)v3) >= 0 )
return v4;
else
return 0;
}