//
// sub_10DC918 from 0x10dc918 to 0x10dc9c8 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x1410670
//
// 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:46 +0000
//
void *__fastcall sub_10DC918(__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;
}