//
// sub_99888E from 0x99888e to 0x9988cc (62 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_99888E(int a1, int a2, unsigned int a3)
{
int v4; // r6
unsigned int v5; // r0
unsigned int v6; // r5
unsigned int v7; // r0
bool v8; // zf
bool v9; // cc
int result; // r0
if ( !a3 )
return 0;
v4 = 0;
while ( 1 )
{
sub_993274();
v6 = v5;
sub_993274();
v8 = v6 == v7;
v9 = v6 > v7;
result = -1;
if ( v9 )
result = 1;
if ( !v8 )
break;
if ( ++v4 >= a3 )
return 0;
}
return result;
}