//
// BN_to_montgomery from 0x7d48c0 to 0x7d48e4 (36 bytes)
//
// 13 xrefs:
// > ec_GFp_mont_group_set_curve @ 0x7efbe8
// > ec_GFp_mont_field_encode @ 0x7efd48
// > BN_mod_exp_mont_consttime @ 0x86d2a0
// > BN_mod_exp_mont_consttime @ 0x86d484
// > BN_mod_exp_mont @ 0x86da38
// > BN_mod_exp_mont @ 0x86db44
// > BN_mod_exp_mont_word @ 0x86df14
// > BN_mod_exp_mont_word @ 0x86dfa8
// > BN_mod_exp_mont_word @ 0x86e0f8
// > BN_mod_exp2_mont @ 0x86e934
// > BN_mod_exp2_mont @ 0x86e9d0
// > BN_mod_exp2_mont @ 0x86ec40
// > ??> @ 0x5fbbc
//
// 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 __fastcall BN_to_montgomery(int a1, int a2, int a3, int a4)
{
return BN_mod_mul_montgomery(a1, a2, a3 + 4, a3, a4);
}