//
// EC_POINT_clear_free from 0x100f9c0 to 0x100fa1c (92 bytes)
//
// 6 xrefs:
// > d2i_ECPrivateKey @ 0x100ca5c
// > EC_GROUP_clear_free @ 0x100fa5c
// > EC_GROUP_copy @ 0x100fd6c
// > ec_wNAF_mul @ 0x10110c0
// > EC_POINT_bn2point @ 0x10b31c8
// > ??> @ 0x101ed8
//
// 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:02 +0000
//
__int64 __fastcall EC_POINT_clear_free(__int64 result)
{
__int64 v1; // x19
void (*v2)(void); // x1
if ( result )
{
v1 = result;
v2 = *(void (**)(void))(*(_QWORD *)result + 96LL);
if ( v2 || (v2 = *(void (**)(void))(*(_QWORD *)result + 88LL)) != nullptr )
v2();
return CRYPTO_clear_free(v1, 40, "crypto/ec/ec_lib.c", 594);
}
return result;
}