//
// sub_8EE0A8 from 0x8ee0a8 to 0x8ee164 (188 bytes)
//
// 3 xrefs:
// > TIFFInitLZW @ 0x8eeedc
// > TIFFInitLZW @ 0x8eeee0
// > ??> @ 0x8eefb8
//
// 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
//
int __fastcall sub_8EE0A8(int a1)
{
int v4; // [sp+Ch] [bp-8h]
v4 = *(_DWORD *)(a1 + 576);
if ( !v4 )
_assert2();
*(_DWORD *)(v4 + 152) = TIFFmalloc(72008);
if ( *(_DWORD *)(v4 + 152) )
return 1;
TIFFErrorExt(*(_DWORD *)(a1 + 628), (int)"LZWSetupEncode", "No space for LZW hash table");
return 0;
}