//
// ec_GFp_simple_point_init from 0xa079b0 to 0xa07a1c (108 bytes)
//
// 4 xrefs:
// > ??> @ 0x7b8dc
// > ??> @ 0xd16da8
// > ??> @ 0xd16e6c
// > ??> @ 0xd16f30
//
// 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:41 +0000
//
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;
}