//
// ec_GFp_mont_field_sqr from 0x7efddc to 0x7efe38 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x61dfc
// > ??> @ 0xab272c
// > ??> @ 0xab27f0
//
// 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 ec_GFp_mont_field_sqr(int a1, int *a2, _DWORD *a3, int a4)
{
_DWORD *v4; // r4
v4 = *(_DWORD **)(a1 + 76);
if ( v4 )
return BN_mod_mul_montgomery(a2, a3, a3, v4, a4);
ERR_put_error(16, 132, 111, "crypto/ec/ecp_mont.c", 202);
return 0;
}