// // ASN1_TYPE_cmp from 0x864758 to 0x8647cc (116 bytes) // // 4 xrefs: // > X509_ALGOR_cmp @ 0x7ca970 // > OTHERNAME_cmp @ 0x856dac // > GENERAL_NAME_cmp @ 0x856e38 // > @ 0x5f1dc // // 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_TYPE_cmp(int *a1, _DWORD *a2) { bool v2; // zf int v3; // r2 int v4; // r3 v2 = a2 == nullptr; if ( a2 ) v2 = a1 == nullptr; v3 = v2; if ( v2 ) return -1; v4 = *a1; if ( *a1 != *a2 ) return -1; switch ( v4 ) { case 5: return v3; case 6: return OBJ_cmp(a1[1], a2[1]); case 1: return a1[1] - a2[1]; } return ASN1_STRING_cmp(a1[1], a2[1]); }