//
// X509_get1_email from 0x108282c to 0x1082884 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0xb8768
//
// 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:17:11 +0000
//
int *__fastcall X509_get1_email(__int64 a1)
{
unsigned int *ext_d2i; // x19
unsigned int **subject_name; // x0
int *v4; // x20
ext_d2i = (unsigned int *)X509_get_ext_d2i(a1);
subject_name = (unsigned int **)X509_get_subject_name(a1);
v4 = sub_1082650(subject_name, ext_d2i);
OPENSSL_sk_pop_free((int *)ext_d2i, (void (__fastcall *)(__int64))GENERAL_NAME_free);
return v4;
}