//
// X509_CRL_get0_by_cert from 0x106f2d4 to 0x106f348 (116 bytes)
//
// 2 xrefs:
// > sub_1068574 @ 0x10685a8
// > ??> @ 0xf9670
//
// 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:17:00 +0000
//
__int64 __fastcall X509_CRL_get0_by_cert(__int64 a1, __int64 a2, __int64 a3)
{
__int64 (__fastcall *v3)(__int64, __int64, __int64, __int64); // x19
__int64 issuer_name; // x0
__int64 serialNumber; // [xsp+38h] [xbp+38h]
v3 = *(__int64 (__fastcall **)(__int64, __int64, __int64, __int64))(*(_QWORD *)(a1 + 208) + 24LL);
if ( !v3 )
return 0;
serialNumber = X509_get_serialNumber(a3);
issuer_name = X509_get_issuer_name(a3);
return v3(a1, a2, serialNumber, issuer_name);
}