//
// TIFFUnRegisterCODEC from 0x8b2bdc to 0x8b2c80 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x6adcc
//
// 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 TIFFUnRegisterCODEC(const char **a1)
{
int *v2; // [sp+8h] [bp-Ch]
int *i; // [sp+Ch] [bp-8h]
for ( i = &dword_D31670; ; 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);
}