//
// TIFFFdOpen from 0xc64228 to 0xc642a8 (128 bytes)
//
// 2 xrefs:
// > TIFFOpen @ 0xc64300
// > ??> @ 0x628c8
//
// 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 TIFFFdOpen(int a1, const char *a2, const char *a3)
{
__int64 result; // x0
result = TIFFClientOpen(
a2,
a3,
a1,
(__int64)j__read,
(__int64)j__write,
(__int64)j__lseek,
(__int64)j__close,
(__int64)sub_C64040,
(__int64)sub_C6406C,
(void (*)())sub_C64034);
if ( result )
*(_DWORD *)(result + 8) = a1;
return result;
}