//
// PKCS7_cert_from_signer_info from 0x829ae8 to 0x829b28 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x6601c
//
// 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
//
int __fastcall PKCS7_cert_from_signer_info(int a1, int a2)
{
if ( OBJ_obj2nid(*(_DWORD *)(a1 + 16)) == (_BYTE *)&dword_14 + 2 )
return X509_find_by_issuer_and_serial(
*(_DWORD *)(*(_DWORD *)(a1 + 20) + 8),
**(_DWORD **)(a2 + 4),
*(_DWORD *)(*(_DWORD *)(a2 + 4) + 4));
else
return 0;
}