//
// BN_to_montgomery from 0xd7aa3c to 0xd7aa50 (20 bytes)
//
// 14 xrefs:
// > ec_GFp_mont_group_set_curve @ 0xd9647c
// > ec_GFp_mont_field_encode @ 0xd965cc
// > BN_mod_exp_mont_consttime @ 0xe16a00
// > BN_mod_exp_mont_consttime @ 0xe16b38
// > BN_mod_exp_mont_consttime @ 0xe16f78
// > BN_mod_exp_mont @ 0xe171d0
// > BN_mod_exp_mont @ 0xe17230
// > BN_mod_exp_mont_word @ 0xe176a8
// > BN_mod_exp_mont_word @ 0xe17718
// > BN_mod_exp_mont_word @ 0xe17770
// > BN_mod_exp2_mont @ 0xe18074
// > BN_mod_exp2_mont @ 0xe18118
// > BN_mod_exp2_mont @ 0xe18338
// > ??> @ 0x4e270
//
// 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 __fastcall BN_to_montgomery(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
return BN_mod_mul_montgomery(a1, a2, a3 + 8, a3, a4);
}