//
// EC_POINT_clear_free from 0x7ea73c to 0x7ea788 (76 bytes)
//
// 6 xrefs:
// > d2i_ECPrivateKey @ 0x7e74f0
// > EC_GROUP_clear_free @ 0x7ea7c8
// > EC_GROUP_copy @ 0x7eab04
// > ec_wNAF_mul @ 0x7ebf40
// > EC_POINT_bn2point @ 0x88b570
// > ??> @ 0x6152c
//
// 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_clear_free(int result)
{
int v1; // r4
void (*v2)(void); // r3
v1 = result;
if ( result )
{
v2 = *(void (**)(void))(*(_DWORD *)result + 52);
if ( v2 || (v2 = *(void (**)(void))(*(_DWORD *)result + 48)) != nullptr )
v2();
return CRYPTO_clear_free(v1, 20, "crypto/ec/ec_lib.c", 594);
}
return result;
}