//
// ec_GFp_simple_point_set_affine_coordinates from 0x7f3fa8 to 0x7f4024 (124 bytes)
//
// 4 xrefs:
// > ??> @ 0x61ecc
// > ??> @ 0xab26e8
// > ??> @ 0xab27ac
// > ??> @ 0xab2870
//
// 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_GFp_simple_point_set_affine_coordinates(int a1, _DWORD *a2, int a3, int a4)
{
bool v4; // zf
v4 = a4 == 0;
if ( a4 )
v4 = a3 == 0;
if ( v4 )
{
ERR_put_error(16, 168, 67, "crypto/ec/ecp_smpl.c", 486);
return 0;
}
else
{
BN_value_one();
return EC_POINT_set_Jprojective_coordinates_GFp(a1, a2);
}
}