//
// sub_100AAF4 from 0x100aaf4 to 0x100ac10 (284 bytes)
//
// 1 xrefs:
// > ??> @ 0x1400480
//
// 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 sub_100AAF4(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v5; // x20
unsigned int v6; // w20
int v8; // w0
if ( *(_QWORD *)(a2 + 32) && (v5 = EC_KEY_get0_group(*(_QWORD *)(a2 + 32))) != 0 )
{
if ( (unsigned int)BIO_indent(a1, a3, 128)
&& (v8 = EC_GROUP_order_bits(v5), (int)BIO_printf(a1, "%s: (%d bit)\n", "ECDSA-Parameters", v8) > 0)
&& (unsigned int)ECPKParameters_print(a1, v5, a3) )
{
v6 = 1;
}
else
{
v6 = 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 v6;
}
else
{
ERR_put_error(16, 221, 67, "crypto/ec/ec_ameth.c", 344);
return 0;
}
}