//
// sub_7F5620 from 0x7f5620 to 0x7f5718 (248 bytes)
//
// 1 xrefs:
// > ??> @ 0xa30fc8
//
// 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_7F5620(int a1, int a2, int a3)
{
int v3; // r4
v3 = *(_DWORD *)(a2 + 20);
if ( !v3 || !*(_DWORD *)(v3 + 32) )
return BIO_printf(a1, "%*s\n", a3, &byte_9B1912) > 0;
if ( BIO_printf(a1, "%*sX25519 Private-Key:\n", a3, &byte_9B1912) > 0
&& BIO_printf(a1, "%*spriv:\n", a3, &byte_9B1912) > 0
&& ASN1_buf_print(a1, *(_DWORD *)(v3 + 32), 32, a3 + 4)
&& BIO_printf(a1, "%*spub:\n", a3, &byte_9B1912) > 0 )
{
return ASN1_buf_print(a1, v3, 32, a3 + 4) != 0;
}
return 0;
}