//
// sub_7E0DF4 from 0x7e0df4 to 0x7e0f1c (296 bytes)
//
// 1 xrefs:
// > ??> @ 0xa30c34
//
// 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
//
bool __fastcall sub_7E0DF4(int a1, int a2, int a3)
{
int v3; // r4
int v4; // r6
int v6; // r8
int v9; // r0
v3 = *(_DWORD *)(a2 + 20);
v4 = *(_DWORD *)(v3 + 24);
v6 = *(_DWORD *)(v3 + 20);
if ( (!v4
|| BIO_indent(a1, a3, 128)
&& (v9 = BN_num_bits(*(_DWORD **)(v3 + 8)), BIO_printf(a1, "%s: (%d bit)\n", "Private-Key", v9) > 0))
&& ASN1_bn_print(a1, "priv:", v4, 0, a3)
&& ASN1_bn_print(a1, "pub: ", v6, 0, a3)
&& ASN1_bn_print(a1, "P: ", *(_DWORD *)(v3 + 8), 0, a3)
&& ASN1_bn_print(a1, "Q: ", *(_DWORD *)(v3 + 12), 0, a3) )
{
return ASN1_bn_print(a1, "G: ", *(_DWORD *)(v3 + 16), 0, a3) != 0;
}
else
{
return 0;
}
}