//
// sub_6DE4E8 from 0x6de4e8 to 0x6de5a4 (188 bytes)
//
// 3 xrefs:
// > TIFFInitLZW @ 0x6df31c
// > TIFFInitLZW @ 0x6df320
// > ??> @ 0x6df3f8
//
// 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
//
int __fastcall sub_6DE4E8(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;
}