//
// EVP_PKEY_print_public from 0xdac860 to 0xdac8dc (124 bytes)
//
// 2 xrefs:
// > X509_print_ex @ 0xde5a10
// > ??> @ 0x57360
//
// 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
//
__int64 __fastcall EVP_PKEY_print_public(__int64 a1, unsigned int *a2, int a3)
{
__int64 v3; // x4
__int64 (*v6)(void); // x4
const char *v8; // x0
v3 = *((_QWORD *)a2 + 2);
if ( v3 )
{
v6 = *(__int64 (**)(void))(v3 + 56);
if ( v6 )
return v6();
}
BIO_indent(a1, a3, 128);
v8 = (const char *)OBJ_nid2ln(*a2);
BIO_printf(a1, "%s algorithm \"%s\" unsupported\n", "Public Key", v8);
return 1;
}