//
// ec_GFp_mont_field_set_to_one from 0x7efe98 to 0x7efef4 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x61e1c
// > ??> @ 0xab273c
// > ??> @ 0xab2800
//
// 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
//
bool __fastcall ec_GFp_mont_field_set_to_one(int a1, int a2)
{
int v2; // r4
v2 = *(_DWORD *)(a1 + 80);
if ( v2 )
return BN_copy(a2, v2) != 0;
ERR_put_error(16, 209, 111, "crypto/ec/ecp_mont.c", 235);
return 0;
}