//
// sub_DE7248 from 0xde7248 to 0xde728c (68 bytes)
//
// 1 xrefs:
// > X509_STORE_new @ 0xde76b4
//
// 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
//
__int64 __fastcall sub_DE7248(int **a1, __int64 *a2)
{
int *v2; // x3
__int64 v3; // x2
int v4; // w1
__int64 result; // x0
v2 = *a1;
v3 = *a2;
v4 = **a1;
result = (unsigned int)(v4 - *(_DWORD *)v3);
if ( v4 == *(_DWORD *)v3 )
{
if ( v4 == 1 )
{
return X509_subject_name_cmp(*((_QWORD *)v2 + 1), *(_QWORD *)(v3 + 8));
}
else if ( v4 == 2 )
{
return X509_CRL_cmp(*((_QWORD *)v2 + 1), *(_QWORD *)(v3 + 8));
}
}
return result;
}