//
// sub_E5E918 from 0xe5e918 to 0xe5e9c8 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x11330e0
//
// 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
//
void *__fastcall sub_E5E918(__int64 a1)
{
void *result; // x0
__int64 v3; // x21
__int64 v4; // x0
result = CRYPTO_zalloc(&elf_hash_bucket[982], (__int64)"crypto/evp/bio_enc.c", 69);
v3 = (__int64)result;
if ( result )
{
v4 = EVP_CIPHER_CTX_new();
*(_QWORD *)(v3 + 24) = v4;
if ( v4 )
{
*(_QWORD *)(v3 + 32) = v3 + 336;
*(_QWORD *)(v3 + 40) = v3 + 336;
*(_DWORD *)(v3 + 8) = 1;
*(_DWORD *)(v3 + 16) = 1;
BIO_set_data(a1, v3);
BIO_set_init(a1, 1);
return dword_0 + 1;
}
else
{
CRYPTO_free((void *)v3, (__int64)"crypto/evp/bio_enc.c", 75);
return nullptr;
}
}
return result;
}