//
// BN_new from 0x7d3eac to 0x7d3f08 (92 bytes)
//
// 107 xrefs:
// > ssl_get_auto_dh @ 0x7b4be8
// > a2d_ASN1_OBJECT @ 0x7bd604
// > BN_secure_new @ 0x7d3f10
// > BN_dup @ 0x7d4efc
// > BN_bin2bn @ 0x7d50f8
// > BN_lebin2bn @ 0x7d51fc
// > BN_hex2bn @ 0x7d7944
// > BN_dec2bn @ 0x7d7af4
// > sub_7E01E0 @ 0x7e02f8
// > sub_7E01E0 @ 0x7e03a0
// > sub_7E11C4 @ 0x7e12dc
// > sub_7E255C @ 0x7e25c4
// > sub_7E255C @ 0x7e25cc
// > sub_7E255C @ 0x7e25d4
// > sub_7E28B8 @ 0x7e28cc
// > sub_7E28B8 @ 0x7e28d4
// > sub_7E28B8 @ 0x7e2920
// > sub_7E28B8 @ 0x7e2928
// > sub_7E28B8 @ 0x7e2988
// > sub_7E2D78 @ 0x7e2db4
// > EC_GROUP_get_ecparameters @ 0x7e5e2c
// > EC_GROUP_get_ecparameters @ 0x7e5e38
// > EC_GROUP_get_ecparameters @ 0x7e6124
// > EC_GROUP_new_from_ecparameters @ 0x7e6a1c
// > EC_KEY_copy @ 0x7e8ca0
// > ec_key_simple_generate_key @ 0x7e8f2c
// > EC_GROUP_new @ 0x7ea090
// > EC_GROUP_new @ 0x7ea0a0
// > ossl_ecdsa_sign_setup @ 0x7eda8c
// > ossl_ecdsa_sign_setup @ 0x7eda94
// > ossl_ecdsa_sign_setup @ 0x7eda9c
// > ossl_ecdsa_sign_sig @ 0x7edfec
// > ossl_ecdsa_sign_sig @ 0x7edff4
// > ossl_ecdsa_sign_sig @ 0x7ee01c
// > ossl_ecdsa_sign_sig @ 0x7ee02c
// > ossl_ecdsa_sign_sig @ 0x7ee0e8
// > ossl_ecdsa_sign_sig @ 0x7ee0f0
// > ossl_ecdsa_sign_sig @ 0x7ee0fc
// > ECPKParameters_print @ 0x7ef454
// > ECPKParameters_print @ 0x7ef460
// > ECPKParameters_print @ 0x7ef46c
// > ec_GFp_mont_group_set_curve @ 0x7efbbc
// > sub_7F0594 @ 0x7f06e8
// > sub_7F0594 @ 0x7f06f4
// > ec_GFp_simple_group_init @ 0x7f2d24
// > ec_GFp_simple_group_init @ 0x7f2d2c
// > ec_GFp_simple_group_init @ 0x7f2d34
// > ec_GFp_simple_point_init @ 0x7f2db8
// > ec_GFp_simple_point_init @ 0x7f2dc0
// > ec_GFp_simple_point_init @ 0x7f2dc8
// > ec_GFp_simple_points_make_affine @ 0x7f4da8
// > OBJ_obj2txt @ 0x81ca4c
// > PKCS12_key_gen_uni @ 0x824274
// > PKCS12_key_gen_uni @ 0x82427c
// > RSA_setup_blinding @ 0x82d488
// > RSA_setup_blinding @ 0x82d55c
// > sub_82DDB0 @ 0x82ddf4
// > sub_82DDB0 @ 0x82ddfc
// > sub_82DDB0 @ 0x82deac
// > sub_82DDB0 @ 0x82dee4
// > sub_82DDB0 @ 0x82df5c
// > sub_82DDB0 @ 0x82e008
// > sub_82DDB0 @ 0x82e1a0
// > sub_82E968 @ 0x82ebc4
// > sub_82EE80 @ 0x82f018
// > sub_8303D4 @ 0x830468
// > SRP_Calc_server_key @ 0x8369a4
// > SRP_Calc_server_key @ 0x836a18
// > SRP_Calc_B @ 0x836aa0
// > SRP_Calc_B @ 0x836aac
// > SRP_Calc_B @ 0x836ab8
// > SRP_Calc_A @ 0x836dbc
// > SRP_Calc_client_key @ 0x836e68
// > SRP_Calc_client_key @ 0x836e74
// > SRP_Calc_client_key @ 0x836e80
// > SRP_Calc_client_key @ 0x836fac
// > SRP_Verify_B_mod_N @ 0x837010
// > SRP_create_verifier_BN @ 0x838248
// > sub_852030 @ 0x85218c
// > sub_8522B4 @ 0x8524f4
// > s2i_ASN1_INTEGER @ 0x85d030
// > sub_869780 @ 0x869788
// > sub_8697F4 @ 0x869834
// > sub_869888 @ 0x8698d4
// > BN_BLINDING_create_param @ 0x86bcac
// > BN_BLINDING_create_param @ 0x86bcc0
// > int_bn_mod_inverse @ 0x86f374
// > int_bn_mod_inverse @ 0x86f5f0
// > BN_mod_sqrt @ 0x8716e8
// > BN_mod_sqrt @ 0x871748
// > BN_mod_sqrt @ 0x871a2c
// > ec_GF2m_simple_group_init @ 0x88982c
// > ec_GF2m_simple_group_init @ 0x889834
// > ec_GF2m_simple_group_init @ 0x88983c
// > ec_GF2m_simple_point_init @ 0x8898b4
// > ec_GF2m_simple_point_init @ 0x8898bc
// > ec_GF2m_simple_point_init @ 0x8898c4
// > RSA_generate_key_ex @ 0x8bfc3c
// > RSA_generate_key_ex @ 0x8bfc78
// > RSA_generate_key_ex @ 0x8bfd74
// > RSA_generate_key_ex @ 0x8bfdb0
// > RSA_generate_key_ex @ 0x8bfe40
// > DH_generate_parameters_ex @ 0x8d0ab8
// > DH_generate_parameters_ex @ 0x8d0acc
// > DSA_generate_key @ 0x8d0f44
// > DSA_generate_key @ 0x8d0fbc
// > ??> @ 0x5da1c
//
// 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 BN_new()
{
int v0; // r0
int v1; // r4
v0 = CRYPTO_zalloc(20, "crypto/bn/bn_lib.c", 227);
v1 = v0;
if ( v0 )
*(_DWORD *)(v0 + 16) = 1;
else
ERR_put_error(3, 113, 65, "crypto/bn/bn_lib.c", 228);
return v1;
}