//
// std::__ndk1::collate::do_compare from 0xf50300 to 0xf5035c (92 bytes)
//
// 2 xrefs:
// > ??> @ 0x67930
// > ??> @ 0x1533440
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:13:17 +0000
//
__int64 __fastcall std::collate::do_compare(
__int64 a1,
unsigned __int8 *a2,
unsigned __int8 *a3,
unsigned __int8 *a4,
unsigned __int8 *a5)
{
unsigned int v5; // w8
unsigned int v6; // w9
if ( a4 == a5 )
return a2 != a3;
while ( 1 )
{
if ( a3 == a2 )
return 0xFFFFFFFFLL;
v5 = *a2;
v6 = *a4;
if ( v5 < v6 )
return 0xFFFFFFFFLL;
if ( v6 < v5 )
break;
++a2;
if ( a5 == ++a4 )
return a2 != a3;
}
return 1;
}