//
// std::__ndk1::collate_byname::do_compare from 0x96f6f8 to 0x96f7a0 (168 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:51 +0000
//
int std::collate_byname::do_compare()
{
const wchar_t *v0; // r1
const wchar_t *v1; // r0
int v2; // r4
bool v3; // nf
_BOOL4 v4; // r4
int v6; // [sp+0h] [bp-2Ch] BYREF
int v7; // [sp+4h] [bp-28h] BYREF
const wchar_t *v8; // [sp+8h] [bp-24h]
int v9; // [sp+10h] [bp-1Ch] BYREF
int v10; // [sp+14h] [bp-18h] BYREF
const wchar_t *v11; // [sp+18h] [bp-14h]
v11 = nullptr;
v9 = 0;
v10 = 0;
std::wstring::__init(&v9);
v7 = 0;
v8 = nullptr;
v6 = 0;
std::wstring::__init(&v6);
v0 = v8;
v1 = v11;
if ( (v9 & 1) == 0 )
v1 = &v10;
if ( (v6 & 1) == 0 )
v0 = &v7;
v2 = j_j_wcscmp(v1, v0);
std::wstring::~wstring(&v6);
std::wstring::~wstring(&v9);
v3 = v2 < 0;
v4 = v2 != 0;
if ( v3 )
return -1;
return v4;
}