//
// sub_FEBC04 from 0xfebc04 to 0xfebc48 (68 bytes)
//
// 2 xrefs:
// > sub_FEC57C @ 0xfec9e8
// > sub_FEC57C @ 0xfec9f4
//
// 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:15:42 +0000
//
__int64 __fastcall sub_FEBC04(__int64 a1, __int64 a2)
{
int v2; // w20
int v3; // w19
const void *v4; // x1
const void *v5; // x0
int v6; // w2
unsigned int v7; // w19
__int64 result; // x0
v2 = *(_DWORD *)(a2 + 8);
v3 = *(_DWORD *)(a1 + 8);
v4 = *(const void **)a2;
v5 = *(const void **)a1;
if ( v3 > v2 )
v6 = v2;
else
v6 = v3;
v7 = v3 - v2;
LODWORD(result) = memcmp(v5, v4, v6);
if ( (_DWORD)result )
return (unsigned int)result;
else
return v7;
}