//
// sub_6A8128 from 0x6a8128 to 0x6a81c0 (152 bytes)
//
// 1 xrefs:
// > _TIFFFindFieldByName @ 0x6a8be0
//
// 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
//
unsigned int __fastcall sub_6A8128(
int a1,
unsigned int a2,
_DWORD *a3,
int a4,
int (__fastcall *a5)(int, unsigned int))
{
unsigned int i; // [sp+10h] [bp-Ch]
unsigned int v10; // [sp+14h] [bp-8h]
v10 = a2 + a4 * *a3;
for ( i = a2; i < v10; i += a4 )
{
if ( !a5(a1, i) )
return i;
}
return 0;
}