//
// ec_GF2m_simple_group_init from 0x10b135c to 0x10b13d0 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0xe0938
// > ??> @ 0x153eec8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:17:43 +0000
//
__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;
}