//
// TIFFUnRegisterCODEC from 0x6a2b5c to 0x6a2c00 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x57dbc
//
// 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 TIFFUnRegisterCODEC(const char **a1)
{
int *v2; // [sp+8h] [bp-Ch]
int *i; // [sp+Ch] [bp-8h]
for ( i = &dword_ACAED8; ; i = (int *)*i )
{
v2 = (int *)*i;
if ( !*i )
break;
if ( (const char **)v2[1] == a1 )
{
*i = *v2;
return TIFFfree(v2);
}
}
return TIFFErrorExt(0, "TIFFUnRegisterCODEC", "Cannot remove compression scheme %s; not registered", *a1);
}