//
// ec_GF2m_simple_group_init from 0xa9e424 to 0xa9e488 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x842fc
// > ??> @ 0xd19650
//
// 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:09:11 +0000
//
int __fastcall ec_GF2m_simple_group_init(_DWORD *a1)
{
int v2; // r0
int v3; // r3
int v4; // r2
bool v5; // zf
a1[9] = BN_new();
a1[16] = BN_new();
v2 = BN_new();
v3 = a1[9];
a1[17] = v2;
if ( v3 )
{
v4 = a1[16];
v5 = v4 == 0;
if ( v4 )
v5 = v2 == 0;
if ( !v5 )
return 1;
}
BN_free(v3);
BN_free(a1[16]);
BN_free(a1[17]);
return 0;
}