//
// _TIFFFindOrRegisterField from 0x6a8e18 to 0x6a8ea0 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x580fc
//
// 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 TIFFFindOrRegisterField(_DWORD *a1, int a2, int a3)
{
int v8; // [sp+14h] [bp-8h]
v8 = TIFFFindField((int)a1, a2, a3);
if ( v8 )
return v8;
v8 = TIFFCreateAnonField(a1, a2, a3);
if ( TIFFMergeFields(a1, v8, 1u) )
return v8;
else
return 0;
}