//
// sub_A53F4C from 0xa53f4c to 0xa53f90 (68 bytes)
//
// 3 xrefs:
// > X509_STORE_new @ 0xa54318
// > X509_STORE_new @ 0xa5431c
// > ??> @ 0xa543cc
//
// 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:24 +0000
//
int __fastcall sub_A53F4C(int **a1, _DWORD *a2)
{
int *v2; // r12
_DWORD *v3; // r2
int v4; // r3
int result; // r0
v2 = *a1;
v3 = (_DWORD *)*a2;
v4 = **a1;
result = v4 - *(_DWORD *)*a2;
if ( !result )
{
if ( v4 == 1 )
{
return X509_subject_name_cmp(v2[1], v3[1]);
}
else if ( v4 == 2 )
{
return X509_CRL_cmp(v2[1], v3[1]);
}
}
return result;
}