//
// sub_998A90 from 0x998a90 to 0x998aba (42 bytes)
//
// 2 xrefs:
// > sub_97B596 @ 0x97b5d4
// > std::__ndk1::basic_string,std::__ndk1::allocator>::compare @ 0x97b65c
//
// 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_998A90(int a1, int a2, unsigned int a3)
{
int v3; // lr
unsigned int v4; // r12
unsigned int v5; // r3
int result; // r0
if ( !a3 )
return 0;
v3 = 0;
while ( 1 )
{
v4 = *(_DWORD *)(a2 + 4 * v3);
v5 = *(_DWORD *)(a1 + 4 * v3);
if ( v5 != v4 )
break;
if ( ++v3 >= a3 )
return 0;
}
result = -1;
if ( v5 > v4 )
return 1;
return result;
}