//
// _TIFFPrintFieldInfo from 0x8b8268 to 0x8b83b0 (328 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b07c
//
// 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:56 +0000
//
int __fastcall TIFFPrintFieldInfo(int a1, FILE *a2)
{
int result; // r0
const char *v3; // r2
const char *v4; // r3
unsigned int i; // [sp+28h] [bp-1Ch]
int v8; // [sp+2Ch] [bp-18h]
result = fprintf(a2, "%s: \n", *(const char **)a1);
for ( i = 0; *(_DWORD *)(a1 + 660) > i; ++i )
{
v8 = *(_DWORD *)(*(_DWORD *)(a1 + 656) + 4 * i);
if ( *(_BYTE *)(v8 + 26) )
v3 = "TRUE";
else
v3 = "FALSE";
if ( *(_BYTE *)(v8 + 27) )
v4 = "TRUE";
else
v4 = "FALSE";
result = fprintf(
a2,
"field[%2d] %5lu, %2d, %2d, %d, %2d, %5s, %5s, %s\n",
i,
*(_DWORD *)v8,
*(__int16 *)(v8 + 4),
*(__int16 *)(v8 + 6),
*(_DWORD *)(v8 + 8),
*(unsigned __int16 *)(v8 + 24),
v3,
v4,
*(const char **)(v8 + 28));
}
return result;
}