//
// std::__ndk1::collate_byname::do_compare from 0xf6eb5c to 0xf6ec60 (260 bytes)
//
// 2 xrefs:
// > ??> @ 0x75cd0
// > ??> @ 0x15341b0
//
// 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:38 +0000
//
__int64 std::collate_byname::do_compare()
{
int v0; // w0
unsigned int v1; // w19
_QWORD v3[3]; // [xsp+8h] [xbp-68h] BYREF
_QWORD v4[4]; // [xsp+20h] [xbp-50h] BYREF
v4[3] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40);
memset(v4, 0, 24);
std::wstring::__init(v4);
memset(v3, 0, sizeof(v3));
std::wstring::__init(v3);
v0 = wcscoll_l();
if ( v0 < 0 )
v1 = -1;
else
v1 = v0 != 0;
std::wstring::~wstring(v3);
std::wstring::~wstring(v4);
_ReadStatusReg(TPIDR_EL0);
return v1;
}