//
// ec_GFp_mont_field_set_to_one from 0x1014a6c to 0x1014acc (96 bytes)
//
// 3 xrefs:
// > ??> @ 0x8cd58
// > ??> @ 0x1539fb0
// > ??> @ 0x153a130
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:04 +0000
//
bool __fastcall ec_GFp_mont_field_set_to_one(__int64 a1, unsigned __int64 *a2)
{
__int64 v2; // x19
v2 = *(_QWORD *)(a1 + 128);
if ( v2 )
return BN_copy(a2, v2) != nullptr;
ERR_put_error(16, 209, 111, "crypto/ec/ecp_mont.c", 235);
return 0;
}