//
// sub_ECAB1C from 0xecab1c to 0xecab68 (76 bytes)
//
// 1 xrefs:
// > TIFFInitSGILog @ 0xecd854
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:11:37 +0000
//
__int64 __fastcall sub_ECAB1C(_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);
}