//
// X509_signature_print from 0x106355c to 0x1063640 (228 bytes)
//
// 6 xrefs:
// > sub_E2B824 @ 0xe2bb54
// > OCSP_REQUEST_print @ 0x10430e8
// > OCSP_RESPONSE_print @ 0x10435ec
// > X509_print_ex @ 0x1063b3c
// > X509_print_ex @ 0x1063e00
// > ??> @ 0xc6118
//
// 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:51 +0000
//
__int64 __fastcall X509_signature_print(__int64 a1, __int64 *a2, __int64 a3)
{
int v6; // w0
__int64 v8; // x0
__int64 (__fastcall *v9)(__int64, __int64 *, __int64, __int64, _QWORD); // x5
unsigned int v10; // [xsp+38h] [xbp+38h] BYREF
int v11; // [xsp+3Ch] [xbp+3Ch] BYREF
if ( (int)BIO_puts(a1, (__int64)" Signature Algorithm: ") <= 0 || (int)i2a_ASN1_OBJECT(a1, *a2) <= 0 )
return 0;
v6 = OBJ_obj2nid(*a2);
if ( v6 )
{
if ( (unsigned int)OBJ_find_sigid_algs(v6, &v11, &v10) )
{
v8 = EVP_PKEY_asn1_find(nullptr, v10);
if ( v8 )
{
v9 = *(__int64 (__fastcall **)(__int64, __int64 *, __int64, __int64, _QWORD))(v8 + 160);
if ( v9 )
return v9(a1, a2, a3, 9, 0);
}
}
}
if ( a3 )
return X509_signature_dump(a1, a3, 9);
return (int)BIO_puts(a1, (__int64)&byte_11AAA48) > 0;
}