//
// sub_D9B768 from 0xd9b768 to 0xd9b890 (296 bytes)
//
// 1 xrefs:
// > ??> @ 0x1123370
//
// 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_D9B768(__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_F288A0) > 0;
if ( (int)BIO_printf(a1, "%*sX25519 Private-Key:\n", a3, &byte_F288A0) > 0
&& (int)BIO_printf(a1, "%*spriv:\n", a3, &byte_F288A0) > 0
&& (unsigned int)ASN1_buf_print(a1, *(_QWORD *)(v3 + 32), 32, (unsigned int)(a3 + 4))
&& (int)BIO_printf(a1, "%*spub:\n", a3, &byte_F288A0) > 0 )
{
return (unsigned int)ASN1_buf_print(a1, v3, 32, (unsigned int)(a3 + 4)) != 0;
}
return 0;
}