//
// sub_8F3C84 from 0x8f3c84 to 0x8f3d78 (244 bytes)
//
// 3 xrefs:
// > TIFFInitPixarLog @ 0x8f7584
// > TIFFInitPixarLog @ 0x8f7588
// > ??> @ 0x8f770c
//
// 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:14 +0000
//
bool __fastcall sub_8F3C84(_DWORD *a1)
{
int v4; // [sp+Ch] [bp-8h]
v4 = a1[144];
if ( !v4 )
_assert2();
*(_DWORD *)(v4 + 64) = a1[147];
*(_DWORD *)(v4 + 68) = a1[152];
if ( *(_DWORD *)(v4 + 68) == a1[152] )
return j_inflateReset(v4 + 64) == 0;
TIFFErrorExt(a1[157], (int)"PixarLogPreDecode", "ZLib cannot deal with buffers this size");
return 0;
}