//
// _TIFFFindOrRegisterField from 0xeaa340 to 0xeaa3a4 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x9c340
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:11:12 +0000
//
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;
}