//
// sub_9989B8 from 0x9989b8 to 0x9989d4 (28 bytes)
//
// 1 xrefs:
// > sub_9930B8 @ 0x9930c4
//
// 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:06:42 +0000
//
int __fastcall sub_9989B8(int a1, int a2)
{
int i; // r2
int v3; // r3
for ( i = 0; ; ++i )
{
v3 = *(_DWORD *)(a1 + 4 * i);
if ( v3 == a2 )
return a1 + 4 * i;
if ( !v3 )
break;
}
return 0;
}