//
// sub_ECD908 from 0xecd908 to 0xecd95c (84 bytes)
//
// 2 xrefs:
// > TIFFInitLZW @ 0xeced7c
// > TIFFInitLZW @ 0xeced8c
//
// 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:38 +0000
//
__int64 __fastcall sub_ECD908(__int64 a1)
{
_QWORD *v2; // x1
void *v3; // x0
void *v4; // x0
TIFFPredictorCleanup();
v2 = *(_QWORD **)(a1 + 848);
v3 = (void *)v2[28];
if ( v3 )
{
TIFFfree(v3);
v2 = *(_QWORD **)(a1 + 848);
}
v4 = (void *)v2[35];
if ( v4 )
{
TIFFfree(v4);
v2 = *(_QWORD **)(a1 + 848);
}
TIFFfree(v2);
*(_QWORD *)(a1 + 848) = 0;
return TIFFSetDefaultCompressionState(a1);
}