// // ASN1_TYPE_cmp from 0x108ad04 to 0x108ad74 (112 bytes) // // 4 xrefs: // > X509_ALGOR_cmp @ 0xfeecd4 // > OTHERNAME_cmp @ 0x107bbf4 // > GENERAL_NAME_cmp @ 0x107bc60 // > @ 0xf8350 // // 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:15 +0000 // __int64 __fastcall ASN1_TYPE_cmp(int *a1, __int64 a2) { int v2; // w2 if ( !a1 ) return 0xFFFFFFFFLL; if ( !a2 ) return 0xFFFFFFFFLL; v2 = *a1; if ( *a1 != *(_DWORD *)a2 ) return 0xFFFFFFFFLL; switch ( v2 ) { case 5: return 0; case 6: return OBJ_cmp(*((_QWORD *)a1 + 1), *(_QWORD *)(a2 + 8)); case 1: return (unsigned int)(a1[2] - *(_DWORD *)(a2 + 8)); } return ASN1_STRING_cmp(*((const void ***)a1 + 1), *(_QWORD *)(a2 + 8)); }