//
// TIFFVGetField from 0x8b6570 to 0x8b662c (188 bytes)
//
// 3 xrefs:
// > TIFFVGetFieldDefaulted @ 0x8b0558
// > TIFFGetField @ 0x8b654c
// > ??> @ 0x6ab2c
//
// 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:03:55 +0000
//
int __fastcall TIFFVGetField(int a1, unsigned int a2, int a3)
{
int v8; // [sp+14h] [bp-8h]
v8 = TIFFFindField(a1, a2, 0);
if ( v8
&& (a2 > 0xFFFF
|| ((*(_DWORD *)(a1 + 4 * ((*(_WORD *)(v8 + 24) >> 5) + 10)) >> (*(_WORD *)(v8 + 24) & 0x1F)) & 1) != 0) )
{
return (*(int (__fastcall **)(int, unsigned int, int))(a1 + 672))(a1, a2, a3);
}
else
{
return 0;
}
}