//
// ec_GF2m_simple_group_init from 0xe3305c to 0xe330d0 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0xab5e8
// > ??> @ 0x1227140
//
// 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
//
__int64 __fastcall ec_GF2m_simple_group_init(__int64 *a1)
{
__int64 v2; // x0
__int64 result; // x0
a1[8] = BN_new();
a1[12] = BN_new();
v2 = BN_new();
a1[13] = v2;
if ( !a1[8] || !v2 || (result = 1, !a1[12]) )
{
BN_free(a1[8]);
BN_free(a1[12]);
BN_free(a1[13]);
return 0;
}
return result;
}