//
// BN_MONT_CTX_new from 0xd7bc8c to 0xd7bcd0 (68 bytes)
//
// 13 xrefs:
// > BN_MONT_CTX_set_locked @ 0xd7bffc
// > EC_GROUP_copy @ 0xd91988
// > ec_precompute_mont_data @ 0xd926f8
// > ec_GFp_mont_group_set_curve @ 0xd963e0
// > ec_GFp_mont_group_copy @ 0xd9654c
// > BN_mod_exp_mont_consttime @ 0xe16f18
// > BN_mod_exp_mont @ 0xe17320
// > BN_mod_exp_mont_word @ 0xe178fc
// > BN_mod_exp2_mont @ 0xe18204
// > dsa_builtin_paramgen @ 0xe2a5c4
// > dsa_builtin_paramgen2 @ 0xe2b06c
// > BN_is_prime_fasttest_ex @ 0xe77108
// > ??> @ 0x95118
//
// 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 BN_MONT_CTX_new()
{
__int64 v0; // x0
__int64 v1; // x19
v0 = CRYPTO_malloc(104, "crypto/bn/bn_mont.c", 217);
v1 = v0;
if ( v0 )
{
BN_MONT_CTX_init(v0);
*(_DWORD *)(v1 + 96) = 1;
}
return v1;
}