//
// sub_8EBED4 from 0x8ebed4 to 0x8ebf88 (180 bytes)
//
// 3 xrefs:
// > TIFFInitSGILog @ 0x8ec408
// > TIFFInitSGILog @ 0x8ec40c
// > ??> @ 0x8ec4e0
//
// 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:04:12 +0000
//
_DWORD *__fastcall sub_8EBED4(_DWORD *a1)
{
_DWORD *v3; // [sp+Ch] [bp-8h]
v3 = (_DWORD *)a1[144];
if ( !v3 )
_assert2();
a1[168] = v3[6];
a1[167] = v3[7];
if ( v3[3] )
TIFFfree(v3[3]);
TIFFfree(v3);
a1[144] = 0;
return TIFFSetDefaultCompressionState(a1);
}