//
// OTHERNAME_cmp from 0x856d74 to 0x856db8 (68 bytes)
//
// 2 xrefs:
// > GENERAL_NAME_cmp @ 0x856e20
// > ??> @ 0x690ac
//
// 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 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;
}