//
// ec_GFp_mont_field_set_to_one from 0xd9670c to 0xd9676c (96 bytes)
//
// 3 xrefs:
// > ??> @ 0x67de8
// > ??> @ 0x1222228
// > ??> @ 0x12223a8
//
// 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(__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;
}