//
// EC_POINT_clear_free from 0x9ff33c to 0x9ff388 (76 bytes)
//
// 6 xrefs:
// > d2i_ECPrivateKey @ 0x9fc0f0
// > EC_GROUP_clear_free @ 0x9ff3c8
// > EC_GROUP_copy @ 0x9ff704
// > ec_wNAF_mul @ 0xa00b40
// > EC_POINT_bn2point @ 0xaa0170
// > ??> @ 0x7afac
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:37 +0000
//
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;
}