//
// EC_POINT_clear_free from 0xd91660 to 0xd916bc (92 bytes)
//
// 6 xrefs:
// > d2i_ECPrivateKey @ 0xd8e6fc
// > EC_GROUP_clear_free @ 0xd916fc
// > EC_GROUP_copy @ 0xd91a0c
// > ec_wNAF_mul @ 0xd92d60
// > EC_POINT_bn2point @ 0xe34ec8
// > ??> @ 0xc6348
//
// 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_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;
}