//
// lfind from 0x6f6b6c to 0x6f6c04 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x20c7c
//
// 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 lfind(int a1, unsigned int a2, _DWORD *a3, int a4, int (__fastcall *a5)(unsigned int, 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(i, a1) )
return i;
}
return 0;
}