//
// sub_1050E8C from 0x1050e8c to 0x1050f58 (204 bytes)
//
// 1 xrefs:
// > ??> @ 0x140dc90
//
// 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:16:39 +0000
//
bool __fastcall sub_1050E8C(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v5; // x22
__int64 v6; // x0
int v7; // w19
v5 = *(_QWORD *)(a2 + 32);
v6 = *(_QWORD *)(v5 + 32);
if ( v6 )
v7 = BN_num_bits(v6);
else
v7 = 0;
return (unsigned int)BIO_indent(a1, a3, 128)
&& (int)BIO_printf(a1, "Public-Key: (%d bit)\n", v7) > 0
&& (unsigned int)ASN1_bn_print(a1, "Modulus:", *(_QWORD *)(v5 + 32), 0, a3)
&& (unsigned int)ASN1_bn_print(a1, "Exponent:", *(_QWORD *)(v5 + 40), 0, a3) != 0;
}