//
// std::__ndk1::collate::do_compare from 0xf504e0 to 0xf5053c (92 bytes)
//
// 2 xrefs:
// > ??> @ 0xcf6e8
// > ??> @ 0x1533480
//
// 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, _DWORD *a2, _DWORD *a3, _DWORD *a4, _DWORD *a5)
{
if ( a4 == a5 )
return a2 != a3;
while ( 1 )
{
if ( a3 == a2 )
return 0xFFFFFFFFLL;
if ( *a2 < *a4 )
return 0xFFFFFFFFLL;
if ( *a4 < *a2 )
break;
++a2;
if ( a5 == ++a4 )
return a2 != a3;
}
return 1;
}