//
// sub_8C24CC from 0x8c24cc to 0x8c2554 (136 bytes)
//
// 4 xrefs:
// > TIFFReadDirectory @ 0x8c0c68
// > TIFFReadDirectory @ 0x8c0cc0
// > TIFFReadDirectory @ 0x8c1104
// > TIFFReadDirectory @ 0x8c114c
//
// 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:04:00 +0000
//
_WORD *__fastcall sub_8C24CC(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;
}