//
// sub_6A104C from 0x6a104c to 0x6a10f0 (164 bytes)
//
// 9 xrefs:
// > sub_6A10F8 @ 0x6a1110
// > sub_6A10F8 @ 0x6a1114
// > sub_6A10F8 @ 0x6a112c
// > sub_6A10F8 @ 0x6a1130
// > sub_6A10F8 @ 0x6a1148
// > sub_6A10F8 @ 0x6a114c
// > ??> @ 0x6a1168
// > ??> @ 0x6a116c
// > ??> @ 0x6a1170
//
// 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_6A104C(int a1)
{
char *v1; // r12
char s[20]; // [sp+8h] [bp-1Ch] BYREF
char **v5; // [sp+1Ch] [bp-8h]
v5 = (char **)TIFFFindCODEC(*(unsigned __int16 *)(a1 + 88));
sprintf(s, "%d", *(unsigned __int16 *)(a1 + 88));
if ( v5 )
v1 = *v5;
else
v1 = s;
TIFFErrorExt(*(_DWORD *)(a1 + 628), *(_DWORD *)a1, "%s compression support is not configured", v1);
return 0;
}