//
// sub_C2D114 from 0xc2d114 to 0xc2d1ac (152 bytes)
//
// 1 xrefs:
// > sub_C2D0EC @ 0xc2d0f0
//
// 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
//
__int64 __fastcall sub_C2D114(__int64 a1)
{
const char **v2; // x22
const char *v3; // x3
char v5[24]; // [xsp+30h] [xbp+30h] BYREF
v2 = (const char **)TIFFFindCODEC(*(unsigned __int16 *)(a1 + 120));
sprintf(v5, "%d", *(unsigned __int16 *)(a1 + 120));
if ( v2 )
v3 = *v2;
else
v3 = v5;
TIFFErrorExt(*(_QWORD *)(a1 + 952), *(_QWORD *)a1, "%s compression support is not configured", v3);
return 0;
}