//
// _TIFFFindOrRegisterField from 0xc34180 to 0xc341e4 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x746a0
//
// 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(_QWORD *a1, int a2, int a3)
{
int *result; // x0
int *v7; // x19
result = TIFFFindField(a1, a2, a3);
if ( !result )
{
v7 = (int *)TIFFCreateAnonField((__int64)a1, a2, a3);
if ( (unsigned int)TIFFMergeFields(a1, v7, 1u) )
return v7;
else
return nullptr;
}
return result;
}