//
// std::__ndk1::collate::do_compare from 0x95d8e0 to 0x95d918 (56 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:05:35 +0000
//
int __fastcall std::collate::do_compare(
int a1,
unsigned __int8 *a2,
unsigned __int8 *a3,
unsigned __int8 *a4,
unsigned __int8 *a5)
{
unsigned int v5; // lr
unsigned int v6; // r0
if ( a4 == a5 )
return a2 != a3;
while ( 1 )
{
if ( a3 == a2 )
return -1;
v5 = *a4;
v6 = *a2;
if ( v6 < v5 )
return -1;
if ( v5 < v6 )
break;
++a4;
++a2;
if ( a5 == a4 )
return a2 != a3;
}
return 1;
}