//
// TIFFSetCompressionScheme from 0x6a2900 to 0x6a296c (108 bytes)
//
// 2 xrefs:
// > sub_6A344C @ 0x6a3918
// > ??> @ 0x57d9c
//
// 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 TIFFSetCompressionScheme(_DWORD *a1, int a2)
{
int v6; // [sp+Ch] [bp-8h]
v6 = TIFFFindCODEC((unsigned __int16)a2);
TIFFSetDefaultCompressionState(a1);
if ( v6 )
return (*(int (__fastcall **)(_DWORD *, int))(v6 + 8))(a1, a2);
else
return 1;
}