//
// sub_10EDC74 from 0x10edc74 to 0x10edd30 (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x153f860
//
// 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:18:05 +0000
//
int *__fastcall sub_10EDC74(__int64 a1, unsigned __int8 ***a2, int *a3)
{
unsigned __int8 **v3; // x0
char *v5; // x20
unsigned int *v6; // x1
unsigned __int8 **v7; // x0
char *v8; // x19
int *v10; // [xsp+28h] [xbp+28h] BYREF
v3 = *a2;
v10 = a3;
if ( v3 )
{
v5 = OPENSSL_buf2hexstr(v3[1], *(int *)v3);
X509V3_add_value("keyid", v5, &v10);
CRYPTO_free(v5, (__int64)"crypto/x509v3/v3_akey.c", 46);
}
v6 = (unsigned int *)a2[1];
if ( v6 )
v10 = (int *)i2v_GENERAL_NAMES(0, v6, (__int64)v10);
v7 = a2[2];
if ( v7 )
{
v8 = OPENSSL_buf2hexstr(v7[1], *(int *)v7);
X509V3_add_value("serial", v8, &v10);
CRYPTO_free(v8, (__int64)"crypto/x509v3/v3_akey.c", 53);
}
return v10;
}