//
// EC_POINT_free from 0xd9158c to 0xd915d8 (76 bytes)
//
// 34 xrefs:
// > EC_GROUP_new_from_ecparameters @ 0xd8dd7c
// > EC_GROUP_new_by_curve_name @ 0xd8f294
// > EC_KEY_free @ 0xd8fa3c
// > EC_KEY_copy @ 0xd8fb94
// > ec_key_simple_generate_key @ 0xd8ff60
// > ec_key_simple_check_key @ 0xd90080
// > EC_KEY_set_public_key @ 0xd903c4
// > EC_KEY_set_public_key_affine_coordinates @ 0xd904a8
// > EC_GROUP_free @ 0xd91618
// > EC_POINT_dup @ 0xd91ab8
// > EC_ec_pre_comp_free @ 0xd92928
// > ec_wNAF_mul @ 0xd92cf0
// > ec_wNAF_mul @ 0xd92e30
// > ec_wNAF_mul @ 0xd92ee8
// > ec_wNAF_mul @ 0xd930e4
// > ec_wNAF_mul @ 0xd93684
// > ec_wNAF_mul @ 0xd936f4
// > ec_wNAF_precompute_mult @ 0xd938a4
// > ec_wNAF_precompute_mult @ 0xd938ac
// > ec_wNAF_precompute_mult @ 0xd939d8
// > ecdh_simple_compute_key @ 0xd94388
// > ecdh_simple_compute_key @ 0xd943cc
// > ossl_ecdsa_sign_setup @ 0xd9473c
// > ossl_ecdsa_sign_sig @ 0xd94ce0
// > ossl_ecdsa_sign_sig @ 0xd952dc
// > ossl_ecdsa_verify_sig @ 0xd95558
// > sub_D96D88 @ 0xd96fb8
// > sub_D96D88 @ 0xd97c8c
// > sub_D96D88 @ 0xd97cb4
// > sub_D98060 @ 0xd98174
// > sub_D98060 @ 0xd9817c
// > ec_GF2m_simple_mul @ 0xe7d554
// > ec_GF2m_simple_mul @ 0xe7d55c
// > ??> @ 0x3a4e8
//
// 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_free(__int64 result)
{
__int64 v1; // x19
void (*v2)(void); // x1
if ( result )
{
v1 = result;
v2 = *(void (**)(void))(*(_QWORD *)result + 88LL);
if ( v2 )
v2();
return CRYPTO_free(v1, "crypto/ec/ec_lib.c", 582);
}
return result;
}