//
// sub_6B290C from 0x6b290c to 0x6b2994 (136 bytes)
//
// 4 xrefs:
// > TIFFReadDirectory @ 0x6b10a8
// > TIFFReadDirectory @ 0x6b1100
// > TIFFReadDirectory @ 0x6b1544
// > TIFFReadDirectory @ 0x6b158c
//
// 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
//
_WORD *__fastcall sub_6B290C(int a1, _WORD *a2, unsigned __int16 a3, __int16 a4)
{
unsigned __int16 i; // [sp+16h] [bp-6h]
for ( i = 0; i < (unsigned int)a3; ++i )
{
if ( a4 == *a2 )
return a2;
a2 += 12;
}
return nullptr;
}