//
// sub_785E28 from 0x785e28 to 0x785eac (132 bytes)
//
// 1 xrefs:
// > ??> @ 0xa2ee8c
//
// 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_785E28(int a1)
{
int v2; // r4
v2 = CRYPTO_zalloc(24, "ssl/bio_ssl.c", 55);
if ( v2 )
{
BIO_set_init(a1, 0);
BIO_set_data(a1, v2);
BIO_clear_flags(a1, -1);
return 1;
}
else
{
ERR_put_error(32, 118, 65, "ssl/bio_ssl.c", 58);
return 0;
}
}