//
// sub_6A8408 from 0x6a8408 to 0x6a84a8 (160 bytes)
//
// 3 xrefs:
// > _TIFFFindFieldByName @ 0x6a8bd0
// > _TIFFFindFieldByName @ 0x6a8bd4
// > ??> @ 0x6a8c24
//
// 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 sub_6A8408(int *a1, int *a2)
{
int v4; // [sp+Ch] [bp-10h]
int v5; // [sp+10h] [bp-Ch]
int v6; // [sp+14h] [bp-8h]
v4 = *a1;
v5 = *a2;
v6 = strcmp(*(const char **)(*a1 + 28), *(const char **)(*a2 + 28));
if ( v6 )
return v6;
if ( *(_DWORD *)(v4 + 8) )
return *(_DWORD *)(v5 + 8) - *(_DWORD *)(v4 + 8);
return 0;
}