//
// ec_GFp_mont_group_clear_finish from 0xd96358 to 0xd96390 (56 bytes)
//
// 3 xrefs:
// > ??> @ 0xc1998
// > ??> @ 0x1222110
// > ??> @ 0x1222290
//
// 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_GFp_mont_group_clear_finish(__int64 a1)
{
BN_MONT_CTX_free(*(_QWORD *)(a1 + 120));
*(_QWORD *)(a1 + 120) = 0;
BN_clear_free(*(_BYTE **)(a1 + 128));
*(_QWORD *)(a1 + 128) = 0;
return ec_GFp_simple_group_clear_finish(a1);
}