//
// sub_C64040 from 0xc64040 to 0xc6406c (44 bytes)
//
// 2 xrefs:
// > TIFFFdOpen @ 0xc6423c
// > TIFFFdOpen @ 0xc64284
//
// 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
//
__int64 __fastcall sub_C64040(int a1)
{
_BYTE v2[48]; // [xsp+10h] [xbp+10h] BYREF
__int64 v3; // [xsp+40h] [xbp+40h]
if ( fstat(a1, (struct stat *)v2) < 0 )
return 0;
else
return v3;
}