//
// ec_GFp_mont_field_mul from 0xd965fc to 0xd96658 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x600d8
// > ??> @ 0x1222200
// > ??> @ 0x1222380
//
// 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
//
unsigned __int64 *__fastcall ec_GFp_mont_field_mul(
__int64 a1,
unsigned __int64 *a2,
__int64 a3,
__int64 a4,
__int64 a5)
{
__int64 v5; // x19
v5 = *(_QWORD *)(a1 + 120);
if ( v5 )
return BN_mod_mul_montgomery(a2, a3, a4, v5, a5);
ERR_put_error(16, 131, 111, "crypto/ec/ecp_mont.c", 191);
return nullptr;
}