//
// sub_E80DB8 from 0xe80db8 to 0xe80e80 (200 bytes)
//
// 1 xrefs:
// > ??> @ 0x1133550
//
// 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
//
_QWORD *__fastcall sub_E80DB8(__int64 a1)
{
_QWORD *result; // x0
_QWORD *v3; // x19
void *v4; // x0
result = CRYPTO_zalloc(&qword_60, (__int64)"crypto/asn1/bio_asn1.c", 98);
v3 = result;
if ( result )
{
v4 = CRYPTO_malloc(&dword_14, (__int64)"crypto/asn1/bio_asn1.c", 114);
v3[1] = v4;
if ( v4 )
{
*((_DWORD *)v3 + 9) = 4;
*((_DWORD *)v3 + 4) = 20;
*((_DWORD *)v3 + 8) = 0;
*(_DWORD *)v3 = 0;
BIO_set_data(a1, (__int64)v3);
BIO_set_init(a1, 1);
return (_QWORD *)(dword_0 + 1);
}
else
{
CRYPTO_free(v3, (__int64)"crypto/asn1/bio_asn1.c", 103);
return nullptr;
}
}
return result;
}