//
// ec_GFp_mont_group_finish from 0x1014680 to 0x10146b8 (56 bytes)
//
// 3 xrefs:
// > ??> @ 0x8fea8
// > ??> @ 0x1539e90
// > ??> @ 0x153a010
//
// 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:16:04 +0000
//
__int64 __fastcall ec_GFp_mont_group_finish(__int64 a1)
{
BN_MONT_CTX_free(*(_QWORD *)(a1 + 120));
*(_QWORD *)(a1 + 120) = 0;
BN_free(*(_QWORD *)(a1 + 128));
*(_QWORD *)(a1 + 128) = 0;
return ec_GFp_simple_group_finish(a1);
}