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