//
// sub_777568 from 0x777568 to 0x777588 (32 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_777568(const wchar_t **a1, const wchar_t **a2)
{
const wchar_t *v2; // r0
const wchar_t *v3; // r1
size_t v4; // r5
size_t v5; // r4
size_t v6; // r2
int result; // r0
v2 = *a1;
v3 = *a2;
v4 = *(v2 - 3);
v5 = *(v3 - 3);
v6 = v5;
if ( v5 >= v4 )
v6 = *(v2 - 3);
result = wmemcmp(v2, v3, v6);
if ( !result )
return v4 - v5;
return result;
}