//
// sub_10FB85C from 0x10fb85c to 0x10fb90c (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x1410a90
//
// 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:18:15 +0000
//
_QWORD *__fastcall sub_10FB85C(__int64 a1)
{
_QWORD *result; // x0
_QWORD *v3; // x20
void *v4; // x0
result = CRYPTO_zalloc(&elf_hash_bucket[516], (__int64)"crypto/evp/bio_b64.c", 71);
v3 = result;
if ( result )
{
*((_DWORD *)result + 6) = 1;
*((_DWORD *)result + 5) = 1;
v4 = EVP_ENCODE_CTX_new();
v3[4] = v4;
if ( v4 )
{
BIO_set_data(a1, (__int64)v3);
BIO_set_init(a1, 1);
return (_QWORD *)(dword_0 + 1);
}
else
{
CRYPTO_free(v3, (__int64)"crypto/evp/bio_b64.c", 79);
return nullptr;
}
}
return result;
}