//
// ECParameters_print from 0x100b220 to 0x100b328 (264 bytes)
//
// 2 xrefs:
// > ECParameters_print_fp @ 0x1013f4c
// > ??> @ 0xbec78
//
// 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:15:59 +0000
//
__int64 __fastcall ECParameters_print(__int64 a1, __int64 a2)
{
__int64 v3; // x20
unsigned int v4; // w20
int v6; // w0
if ( a2 && (v3 = EC_KEY_get0_group(a2)) != 0 )
{
if ( (unsigned int)BIO_indent(a1, 4, 128)
&& (v6 = EC_GROUP_order_bits(v3), (int)BIO_printf(a1, "%s: (%d bit)\n", "ECDSA-Parameters", v6) > 0)
&& (unsigned int)ECPKParameters_print(a1, v3, 4) )
{
v4 = 1;
}
else
{
v4 = 0;
ERR_put_error(16, 221, 16, "crypto/ec/ec_ameth.c", 392);
}
CRYPTO_clear_free(0, 0, "crypto/ec/ec_ameth.c", 393);
CRYPTO_free(0, "crypto/ec/ec_ameth.c", 394);
return v4;
}
else
{
ERR_put_error(16, 221, 67, "crypto/ec/ec_ameth.c", 344);
return 0;
}
}