//
// ec_GFp_simple_point_init from 0x7f2db0 to 0x7f2e1c (108 bytes)
//
// 4 xrefs:
// > ??> @ 0x61e5c
// > ??> @ 0xab26cc
// > ??> @ 0xab2790
// > ??> @ 0xab2854
//
// 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_init(_DWORD *a1)
{
int v2; // r0
int v3; // r3
int v4; // r2
bool v5; // zf
a1[1] = BN_new();
a1[2] = BN_new();
v2 = BN_new();
v3 = a1[1];
a1[4] = 0;
a1[3] = v2;
if ( v3 )
{
v4 = a1[2];
v5 = v4 == 0;
if ( v4 )
v5 = v2 == 0;
if ( !v5 )
return 1;
}
BN_free(v3);
BN_free(a1[2]);
BN_free(a1[3]);
return 0;
}