//
// sub_9F9C6C from 0x9f9c6c to 0x9f9d84 (280 bytes)
//
// 1 xrefs:
// > ??> @ 0xc78000
//
// 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:07:34 +0000
//
int __fastcall sub_9F9C6C(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;
}
}