//
// sub_7E506C from 0x7e506c to 0x7e5184 (280 bytes)
//
// 1 xrefs:
// > ??> @ 0xa30d80
//
// 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 sub_7E506C(int a1, int a2, int a3)
{
int v5; // r6
int v6; // r5
int v8; // r0
if ( *(_DWORD *)(a2 + 20) && (v5 = EC_KEY_get0_group(*(_DWORD *)(a2 + 20))) != 0 )
{
if ( BIO_indent(a1, a3, 128)
&& (v8 = EC_GROUP_order_bits(v5), BIO_printf(a1, "%s: (%d bit)\n", "ECDSA-Parameters", v8) > 0)
&& ECPKParameters_print(a1, v5, a3) )
{
v6 = 1;
}
else
{
ERR_put_error(16, 221, 16, "crypto/ec/ec_ameth.c", 392);
v6 = 0;
}
CRYPTO_clear_free(0, 0, "crypto/ec/ec_ameth.c", 393);
CRYPTO_free(0, "crypto/ec/ec_ameth.c", 394);
return v6;
}
else
{
ERR_put_error(16, 221, 67, "crypto/ec/ec_ameth.c", 344);
return 0;
}
}