//
// sub_C5495C from 0xc5495c to 0xc549a8 (76 bytes)
//
// 1 xrefs:
// > TIFFInitSGILog @ 0xc57694
//
// 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_C5495C(_QWORD *a1)
{
_QWORD *v1; // x20
__int64 v3; // x1
void *v4; // x0
v1 = (_QWORD *)a1[106];
v3 = v1[6];
v4 = (void *)v1[2];
a1[130] = v1[5];
a1[129] = v3;
if ( v4 )
TIFFfree(v4);
TIFFfree(v1);
a1[106] = 0;
return TIFFSetDefaultCompressionState((__int64)a1);
}