//
// X509_CRL_get0_by_cert from 0x84950c to 0x849564 (88 bytes)
//
// 2 xrefs:
// > sub_842228 @ 0x84225c
// > ??> @ 0x6749c
//
// 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 X509_CRL_get0_by_cert(int a1, int a2, int a3)
{
int (__fastcall *v3)(int, int, int, int); // r7
int serialNumber; // r8
int issuer_name; // r0
v3 = *(int (__fastcall **)(int, int, int, int))(*(_DWORD *)(a1 + 124) + 12);
if ( !v3 )
return 0;
serialNumber = X509_get_serialNumber(a3);
issuer_name = X509_get_issuer_name(a3);
return v3(a1, a2, serialNumber, issuer_name);
}