//
// EC_POINT_point2bn from 0x88b434 to 0x88b48c (88 bytes)
//
// 2 xrefs:
// > ECPKParameters_print @ 0x7ef558
// > ??> @ 0x61d1c
//
// 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_point2bn(int a1, _DWORD *a2, int a3, int *a4)
{
int v5; // r1
int *v7; // r4
_BYTE *v8; // [sp+Ch] [bp-4h] BYREF
v5 = EC_POINT_point2buf(a1, a2, a3, (int *)&v8);
if ( !v5 )
return nullptr;
v7 = BN_bin2bn(v8, v5, a4);
CRYPTO_free(v8, (int)"crypto/ec/ec_print.c", 28);
return v7;
}