//
// EC_POINT_point2bn from 0xe34d78 to 0xe34dd8 (96 bytes)
//
// 2 xrefs:
// > ECPKParameters_print @ 0xd95eec
// > ??> @ 0xc0330
//
// 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_point2bn(__int64 a1, _QWORD *a2, __int64 a3, __int64 a4)
{
__int64 result; // x0
unsigned __int64 *v6; // x19
_BYTE *v7; // [xsp+28h] [xbp+28h] BYREF
result = EC_POINT_point2buf(a1, a2, a3, (__int64 *)&v7);
if ( result )
{
v6 = BN_bin2bn(v7, result, a4);
CRYPTO_free(v7, (__int64)"crypto/ec/ec_print.c", 28);
return (__int64)v6;
}
return result;
}