//
// ASN1_STRING_cmp from 0x7c2da0 to 0x7c2de4 (68 bytes)
//
// 7 xrefs:
// > OCSP_check_validity @ 0x81dfa4
// > sub_848CCC @ 0x848cd4
// > GENERAL_NAME_cmp @ 0x856e2c
// > ASN1_INTEGER_cmp @ 0x861694
// > ASN1_OCTET_STRING_cmp @ 0x863a08
// > ASN1_TYPE_cmp @ 0x86479c
// > ??> @ 0x5e7cc
//
// 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 ASN1_STRING_cmp(int a1, int a2)
{
int result; // r0
if ( *(_DWORD *)a1 != *(_DWORD *)a2 )
return *(_DWORD *)a1 - *(_DWORD *)a2;
result = memcmp(*(const void **)(a1 + 8), *(const void **)(a2 + 8), *(_DWORD *)a1);
if ( !result )
return *(_DWORD *)(a1 + 4) - *(_DWORD *)(a2 + 4);
return result;
}