//
// ec_GF2m_simple_point_init from 0x10b1400 to 0x10b1474 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x86a88
// > ??> @ 0x153ef10
//
// 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_point_init(__int64 *a1)
{
__int64 v2; // x0
__int64 result; // x0
a1[1] = BN_new();
a1[2] = BN_new();
v2 = BN_new();
a1[3] = v2;
if ( !a1[1] || !v2 || (result = 1, !a1[2]) )
{
BN_free(a1[1]);
BN_free(a1[2]);
BN_free(a1[3]);
return 0;
}
return result;
}