//
// TIFFError from 0x8cf8d4 to 0x8cf96c (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b31c
//
// 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:04:05 +0000
//
int TIFFError(int result, int a2, ...)
{
int v2; // [sp+4h] [bp-14h]
va_list varg_r2; // [sp+20h] [bp+8h] BYREF
va_start(varg_r2, a2);
v2 = result;
if ( TIFFerrorHandler )
result = TIFFerrorHandler(result, a2, (char *)varg_r2);
if ( TIFFerrorHandlerExt )
return TIFFerrorHandlerExt(0, v2, a2, (char *)varg_r2);
return result;
}