//
// sub_ECE784 from 0xece784 to 0xece7f0 (108 bytes)
//
// 1 xrefs:
// > TIFFInitLZW @ 0xeced44
//
// 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:39 +0000
//
__int64 __fastcall sub_ECE784(__int64 a1)
{
__int64 v2; // x20
void *v3; // x0
v2 = *(_QWORD *)(a1 + 848);
v3 = TIFFmalloc(0x23290u);
*(_QWORD *)(v2 + 280) = v3;
if ( v3 )
return 1;
TIFFErrorExt(*(_QWORD *)(a1 + 952), (__int64)"LZWSetupEncode", "No space for LZW hash table");
return 0;
}