//
// PKCS7_get_issuer_and_serial from 0xa3ca1c to 0xa3ca7c (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x7f87c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:11 +0000
//
int __fastcall PKCS7_get_issuer_and_serial(int a1, int a2)
{
int v4; // r3
int v5; // r4
if ( OBJ_obj2nid(*(_DWORD *)(a1 + 16)) == (char *)&dword_18
&& (v4 = *(_DWORD *)(a1 + 20)) != 0
&& (v5 = *(_DWORD *)(v4 + 24)) != 0
&& a2 < OPENSSL_sk_num(*(_DWORD *)(v4 + 24)) )
{
return *(_DWORD *)(OPENSSL_sk_value(v5, a2) + 4);
}
else
{
return 0;
}
}