//
// ec_GF2m_simple_group_clear_finish from 0xa9e534 to 0xa9e578 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x8433c
// > ??> @ 0xd19658
//
// 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
//
_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;
}