//
// sub_8D1CCC from 0x8d1ccc to 0x8d1d54 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xa3a624
//
// 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
//
int __fastcall sub_8D1CCC(int a1)
{
_DWORD *v2; // r0
_DWORD *v3; // r5
void *v4; // r6
v2 = CRYPTO_zalloc(&stru_9FC.st_value, (int)"crypto/evp/bio_b64.c", 71);
v3 = v2;
if ( !v2 )
return 0;
v2[6] = 1;
v2[5] = 1;
v4 = EVP_ENCODE_CTX_new();
v3[7] = v4;
if ( v4 )
{
BIO_set_data(a1, (int)v3);
BIO_set_init(a1, 1);
return 1;
}
else
{
CRYPTO_free(v3, (int)"crypto/evp/bio_b64.c", 79);
return 0;
}
}