//
// sub_1019AC8 from 0x1019ac8 to 0x1019bf0 (296 bytes)
//
// 1 xrefs:
// > ??> @ 0x1400900
//
// 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:06 +0000
//
bool __fastcall sub_1019AC8(__int64 a1, __int64 a2, int a3)
{
__int64 v3; // x19
v3 = *(_QWORD *)(a2 + 32);
if ( !v3 || !*(_QWORD *)(v3 + 32) )
return (int)BIO_printf(a1, "%*s\n", a3, &byte_11B8890) > 0;
if ( (int)BIO_printf(a1, "%*sX25519 Private-Key:\n", a3, &byte_11B8890) > 0
&& (int)BIO_printf(a1, "%*spriv:\n", a3, &byte_11B8890) > 0
&& (unsigned int)ASN1_buf_print(a1, *(_QWORD *)(v3 + 32), 32, (unsigned int)(a3 + 4))
&& (int)BIO_printf(a1, "%*spub:\n", a3, &byte_11B8890) > 0 )
{
return (unsigned int)ASN1_buf_print(a1, v3, 32, (unsigned int)(a3 + 4)) != 0;
}
return 0;
}