//
// sub_6F5F6C from 0x6f5f6c to 0x6f6068 (252 bytes)
//
// 3 xrefs:
// > TIFFInitZIP @ 0x6f6238
// > TIFFInitZIP @ 0x6f623c
// > ??> @ 0x6f6394
//
// 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_6F5F6C(int a1, int a2, _DWORD *a3)
{
int v6; // [sp+14h] [bp-8h]
v6 = *(_DWORD *)(a1 + 576);
if ( a2 != 65557 )
return (*(int (__fastcall **)(int, int, _DWORD *))(v6 + 132))(a1, a2, a3);
*(_DWORD *)(v6 + 120) = *a3;
if ( (*(_DWORD *)(v6 + 124) & 2) == 0 || !j_deflateParams(v6 + 64, *(_DWORD *)(v6 + 120), 0) )
return 1;
TIFFErrorExt(*(_DWORD *)(a1 + 628), (int)"ZIPVSetField", "ZLib error: %s", *(const char **)(v6 + 88));
return 0;
}