//
// sub_9988F4 from 0x9988f4 to 0x998938 (68 bytes)
//
// 0 xrefs:
//
// 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_9988F4(int a1, int a2, unsigned int a3)
{
int result; // r0
int v5; // lr
unsigned int v6; // r4
int v7; // r3
unsigned int v8; // r5
bool v9; // zf
bool v10; // cc
int v11; // r4
result = 0;
if ( a3 )
{
v5 = 0;
while ( 1 )
{
v6 = *(_DWORD *)(a1 + 4 * v5);
v7 = 0;
v8 = *(_DWORD *)(a2 + 4 * v5);
if ( !v6 )
v7 = 2;
v9 = v6 == v8;
v10 = v6 > v8;
v11 = -1;
if ( !v9 )
v7 = 1;
if ( v10 )
v11 = 1;
if ( !v9 )
result = v11;
if ( v7 )
break;
if ( ++v5 >= a3 )
return 0;
}
if ( v7 == 2 )
return 0;
}
return result;
}