//
// TIFFFieldWithName from 0x6a8ca4 to 0x6a8d18 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x5808c
//
// 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
//
unsigned int __fastcall TIFFFieldWithName(unsigned int *a1, const char *a2)
{
unsigned int v5; // [sp+Ch] [bp-8h]
v5 = TIFFFindFieldByName(a1, a2, 0);
if ( !v5 )
TIFFErrorExt(a1[157], "TIFFFieldWithName", "Internal error, unknown tag %s", a2);
return v5;
}