//
// X509_CRL_sort from 0x8474c4 to 0x84750c (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x67a7c
//
// 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_sort(int a1)
{
signed int i; // r4
OPENSSL_sk_sort(*(_DWORD *)(a1 + 24));
for ( i = 0; i < OPENSSL_sk_num(*(_DWORD *)(a1 + 24)); ++i )
*(_DWORD *)(OPENSSL_sk_value(*(_DWORD **)(a1 + 24), i) + 32) = i;
*(_DWORD *)(a1 + 40) = 1;
return 1;
}