//
// sub_ECFF58 from 0xecff58 to 0xecffd8 (128 bytes)
//
// 1 xrefs:
// > TIFFInitPackBits @ 0xed01b4
//
// 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:40 +0000
//
__int64 __fastcall sub_ECFF58(__int64 a1)
{
_QWORD *v2; // x19
v2 = TIFFmalloc(8u);
*(_QWORD *)(a1 + 848) = v2;
if ( !v2 )
return 0;
if ( (*(_DWORD *)(a1 + 16) & 0x400) != 0 )
*v2 = TIFFTileRowSize(a1);
else
*v2 = TIFFScanlineSize(a1);
return 1;
}