//
// ec_GFp_simple_point_set_affine_coordinates from 0xa08ba8 to 0xa08c24 (124 bytes)
//
// 4 xrefs:
// > ??> @ 0x7b94c
// > ??> @ 0xd16dc4
// > ??> @ 0xd16e88
// > ??> @ 0xd16f4c
//
// 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:42 +0000
//
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);
}
}