//
// X509_get1_email from 0xa72a88 to 0xa72ad0 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x8326c
//
// 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:42 +0000
//
int *__fastcall X509_get1_email(int a1)
{
_DWORD *ext_d2i; // r4
int *subject_name; // r0
int *v4; // r5
ext_d2i = (_DWORD *)X509_get_ext_d2i(a1);
subject_name = (int *)X509_get_subject_name(a1);
v4 = sub_A728C8(subject_name, ext_d2i);
OPENSSL_sk_pop_free((int)ext_d2i, (void (__fastcall *)(int))GENERAL_NAME_free);
return v4;
}