//
// EC_POINT_point2bn from 0x10b3078 to 0x10b30d8 (96 bytes)
//
// 2 xrefs:
// > ECPKParameters_print @ 0x101424c
// > ??> @ 0xfa738
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:17:44 +0000
//
__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;
}