//
// ec_GFp_mont_field_set_to_one from 0xa04a98 to 0xa04af4 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x7b89c
// > ??> @ 0xd16e18
// > ??> @ 0xd16edc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:07:39 +0000
//
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;
}