//
// OTHERNAME_cmp from 0xa6b974 to 0xa6b9b8 (68 bytes)
//
// 2 xrefs:
// > GENERAL_NAME_cmp @ 0xa6ba20
// > ??> @ 0x82b2c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:39 +0000
//
int __fastcall OTHERNAME_cmp(int *a1, int *a2)
{
bool v2; // zf
int result; // r0
v2 = a2 == nullptr;
if ( a2 )
v2 = a1 == nullptr;
if ( v2 )
return -1;
result = OBJ_cmp(*a1, *a2);
if ( !result )
return ASN1_TYPE_cmp(a1[1], a2[1]);
return result;
}