//
// sub_A8D27C from 0xa8d27c to 0xa8d2dc (96 bytes)
//
// 3 xrefs:
// > _CONF_new_data @ 0xa8d574
// > _CONF_new_data @ 0xa8d580
// > ??> @ 0xa8d59c
//
// 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:08:55 +0000
//
int __fastcall sub_A8D27C(const char **a1, const char **a2)
{
const char *v4; // r0
const char *v5; // r1
int result; // r0
const char *v7; // r0
const char *v8; // r1
v4 = *a1;
v5 = *a2;
if ( v4 == v5 || (result = strcmp(v4, v5)) == 0 )
{
v7 = a1[1];
if ( v7 )
{
v8 = a2[1];
if ( v8 )
return strcmp(v7, v8);
else
return 1;
}
else
{
result = (int)a2[1];
if ( result )
return -1;
}
}
return result;
}