//
// BIO_new_fp from 0x7d2f80 to 0x7d2fc0 (64 bytes)
//
// 14 xrefs:
// > X509_NAME_print_ex_fp @ 0x7c0764
// > CONF_load_fp @ 0x7d9cf8
// > NCONF_load_fp @ 0x7d9d70
// > CONF_dump_fp @ 0x7da134
// > NCONF_dump_fp @ 0x7da1a8
// > PEM_write_PrivateKey @ 0x8239b4
// > X509V3_EXT_print_fp @ 0x859ec0
// > ERR_print_errors_fp @ 0x8b4a6c
// > d2i_PKCS8PrivateKey_fp @ 0x8ba8e8
// > i2d_PKCS8PrivateKey_fp @ 0x8badf4
// > PEM_write_PKCS8PrivateKey @ 0x8bae90
// > i2d_PKCS8PrivateKey_nid_fp @ 0x8baf2c
// > PEM_write_PKCS8PrivateKey_nid @ 0x8bafcc
// > ??> @ 0x5e32c
//
// 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
//
_DWORD *__fastcall BIO_new_fp(int a1, int a2)
{
void *v4; // r0
_DWORD *v5; // r0
_DWORD *v6; // r4
v4 = BIO_s_file();
v5 = BIO_new((int)v4);
v6 = v5;
if ( v5 )
{
BIO_set_flags((int)v5, 0);
BIO_ctrl(v6, 106, a2, a1);
}
return v6;
}