//
// BIO_new_fp from 0xd78d88 to 0xd78de0 (88 bytes)
//
// 14 xrefs:
// > X509_NAME_print_ex_fp @ 0xd67014
// > CONF_load_fp @ 0xd81898
// > NCONF_load_fp @ 0xd81910
// > CONF_dump_fp @ 0xd81cc8
// > NCONF_dump_fp @ 0xd81d40
// > PEM_write_PrivateKey @ 0xdc92f0
// > X509V3_EXT_print_fp @ 0xe0065c
// > ERR_print_errors_fp @ 0xe5e838
// > d2i_PKCS8PrivateKey_fp @ 0xe64d08
// > i2d_PKCS8PrivateKey_fp @ 0xe6523c
// > PEM_write_PKCS8PrivateKey @ 0xe65314
// > i2d_PKCS8PrivateKey_nid_fp @ 0xe653ec
// > PEM_write_PKCS8PrivateKey_nid @ 0xe654c4
// > ??> @ 0x8cca0
//
// 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
//
__int64 __fastcall BIO_new_fp(__int64 a1, int a2)
{
void *v4; // x0
__int64 v5; // x0
__int64 v6; // x19
v4 = BIO_s_file();
v5 = BIO_new((__int64)v4);
v6 = v5;
if ( v5 )
{
BIO_set_flags(v5, 0);
BIO_ctrl(v6, 0x6Au, a2, a1);
}
return v6;
}