//
// EC_POINT_point2bn from 0xaa0034 to 0xaa008c (88 bytes)
//
// 2 xrefs:
// > ECPKParameters_print @ 0xa04158
// > ??> @ 0x7b79c
//
// 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:09:12 +0000
//
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;
}