//
// EC_POINT_set_Jprojective_coordinates_GFp from 0x7eac50 to 0x7eace4 (148 bytes)
//
// 2 xrefs:
// > ec_GFp_simple_point_set_affine_coordinates @ 0x7f3fec
// > ??> @ 0x61aac
//
// 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_POINT_set_Jprojective_coordinates_GFp(int a1, _DWORD *a2)
{
if ( !*(_DWORD *)(*(_DWORD *)a1 + 64) )
{
ERR_put_error(16, 126, 66, "crypto/ec/ec_lib.c", 657);
return 0;
}
if ( *(_DWORD *)a1 != *a2 )
{
ERR_put_error(16, 126, 101, "crypto/ec/ec_lib.c", 662);
return 0;
}
return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 64))(a1);
}