//
// friendNameCompare from 0x5f4aa4 to 0x5f4b20 (124 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 11:54:30 +0000
//
int __fastcall friendNameCompare(_DWORD *a1, int *a2)
{
int v2; // r8
char *v3; // r7
unsigned __int8 *v4; // r1
int v5; // r7
int v7[3]; // [sp+4h] [bp-1Ch] BYREF
int v8[3]; // [sp+10h] [bp-10h] BYREF
v2 = *a2;
std::string::basic_string(v7, *a1 + 264);
if ( (v7[0] & 1) != 0 )
v3 = (char *)v7[2];
else
v3 = (char *)v7 + 1;
std::string::basic_string(v8, v2 + 264);
if ( (v8[0] & 1) != 0 )
v4 = (unsigned __int8 *)v8[2];
else
v4 = (unsigned __int8 *)v8 + 1;
v5 = sub_5F324C((int)v3, v4);
std::string::~string((int)v8);
std::string::~string((int)v7);
return v5;
}