//
// EC_POINT_free from 0x7ea684 to 0x7ea6bc (56 bytes)
//
// 34 xrefs:
// > EC_GROUP_new_from_ecparameters @ 0x7e69a4
// > EC_GROUP_new_by_curve_name @ 0x7e814c
// > EC_KEY_free @ 0x7e8a00
// > EC_KEY_copy @ 0x7e8b80
// > ec_key_simple_generate_key @ 0x7e8f4c
// > ec_key_simple_check_key @ 0x7e90a8
// > EC_KEY_set_public_key @ 0x7e9438
// > EC_KEY_set_public_key_affine_coordinates @ 0x7e9544
// > EC_GROUP_free @ 0x7ea6fc
// > EC_POINT_dup @ 0x7eabb4
// > EC_ec_pre_comp_free @ 0x7ebb0c
// > ec_wNAF_mul @ 0x7ebeb4
// > ec_wNAF_mul @ 0x7ebfc8
// > ec_wNAF_mul @ 0x7ec09c
// > ec_wNAF_mul @ 0x7ec308
// > ec_wNAF_mul @ 0x7ec6d0
// > ec_wNAF_mul @ 0x7ec73c
// > ec_wNAF_precompute_mult @ 0x7ecc48
// > ec_wNAF_precompute_mult @ 0x7ecc50
// > ec_wNAF_precompute_mult @ 0x7ecd6c
// > ecdh_simple_compute_key @ 0x7ed7a4
// > ecdh_simple_compute_key @ 0x7ed7d8
// > ossl_ecdsa_sign_setup @ 0x7edb90
// > ossl_ecdsa_sign_sig @ 0x7ee1cc
// > ossl_ecdsa_sign_sig @ 0x7ee860
// > ossl_ecdsa_verify_sig @ 0x7eeb70
// > sub_7F0594 @ 0x7f07b8
// > sub_7F0594 @ 0x7f16cc
// > sub_7F0594 @ 0x7f17c4
// > sub_7F1BA0 @ 0x7f1cd4
// > sub_7F1BA0 @ 0x7f1cdc
// > ec_GF2m_simple_mul @ 0x8d19ac
// > ec_GF2m_simple_mul @ 0x8d19b4
// > ??> @ 0x6147c
//
// 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
//
int __fastcall EC_POINT_free(int result)
{
int v1; // r4
void (*v2)(void); // r3
v1 = result;
if ( result )
{
v2 = *(void (**)(void))(*(_DWORD *)result + 48);
if ( v2 )
v2();
return CRYPTO_free(v1, "crypto/ec/ec_lib.c", 582);
}
return result;
}