//
// sub_8B10CC from 0x8b10cc to 0x8b1170 (164 bytes)
//
// 9 xrefs:
// > sub_8B1178 @ 0x8b1190
// > sub_8B1178 @ 0x8b1194
// > sub_8B1178 @ 0x8b11ac
// > sub_8B1178 @ 0x8b11b0
// > sub_8B1178 @ 0x8b11c8
// > sub_8B1178 @ 0x8b11cc
// > ??> @ 0x8b11e8
// > ??> @ 0x8b11ec
// > ??> @ 0x8b11f0
//
// 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:03:54 +0000
//
int __fastcall sub_8B10CC(int a1)
{
const char *v1; // r12
_BYTE v4[20]; // [sp+8h] [bp-1Ch] BYREF
const char **v5; // [sp+1Ch] [bp-8h]
v5 = (const char **)TIFFFindCODEC(*(unsigned __int16 *)(a1 + 88));
sub_AF7FC4(v4, "%d", *(unsigned __int16 *)(a1 + 88));
if ( v5 )
v1 = *v5;
else
v1 = v4;
TIFFErrorExt(*(_DWORD *)(a1 + 628), *(_DWORD *)a1, "%s compression support is not configured", v1);
return 0;
}