//
// BIO_new_fp from 0xff70e8 to 0xff7140 (88 bytes)
//
// 14 xrefs:
// > X509_NAME_print_ex_fp @ 0xfe5374
// > CONF_load_fp @ 0xfffbf8
// > NCONF_load_fp @ 0xfffc70
// > CONF_dump_fp @ 0x1000028
// > NCONF_dump_fp @ 0x10000a0
// > PEM_write_PrivateKey @ 0x1047650
// > X509V3_EXT_print_fp @ 0x107e99c
// > ERR_print_errors_fp @ 0x10dc838
// > d2i_PKCS8PrivateKey_fp @ 0x10e2d08
// > i2d_PKCS8PrivateKey_fp @ 0x10e323c
// > PEM_write_PKCS8PrivateKey @ 0x10e3314
// > i2d_PKCS8PrivateKey_nid_fp @ 0x10e33ec
// > PEM_write_PKCS8PrivateKey_nid @ 0x10e34c4
// > ??> @ 0xba748
//
// 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:15:48 +0000
//
__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;
}