//
// _TIFFUInt64ToDouble from 0x6a0cf0 to 0x6a0d70 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x57b4c
//
// 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 TIFFUInt64ToDouble(__int64 a1)
{
double v1; // r2
if ( a1 < 0 )
v1 = (double)a1 + 1.84467441e19;
else
v1 = (double)a1;
return *(_QWORD *)&v1;
}