//
// ec_GF2m_simple_group_clear_finish from 0x889934 to 0x889978 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x6a8bc
// > ??> @ 0xab4f7c
//
// 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
//
_BYTE *__fastcall ec_GF2m_simple_group_clear_finish(int a1)
{
_BYTE *result; // r0
BN_clear_free(*(_BYTE **)(a1 + 36));
BN_clear_free(*(_BYTE **)(a1 + 64));
result = BN_clear_free(*(_BYTE **)(a1 + 68));
*(_DWORD *)(a1 + 60) = -1;
*(_DWORD *)(a1 + 40) = 0;
*(_DWORD *)(a1 + 44) = 0;
*(_DWORD *)(a1 + 48) = 0;
*(_DWORD *)(a1 + 52) = 0;
*(_DWORD *)(a1 + 56) = 0;
return result;
}