//
// sub_1072538 from 0x1072538 to 0x107258c (84 bytes)
//
// 9 xrefs:
// > X509v3_addr_canonize @ 0x1074c20
// > sub_107521C @ 0x1075220
// > sub_107521C @ 0x1075228
// > X509v3_addr_subset @ 0x10758b4
// > X509v3_addr_subset @ 0x10758bc
// > X509v3_addr_validate_path @ 0x10759e8
// > X509v3_addr_validate_path @ 0x10759f0
// > X509v3_addr_validate_resource_set @ 0x1075e0c
// > X509v3_addr_validate_resource_set @ 0x1075e14
//
// 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:02 +0000
//
__int64 __fastcall sub_1072538(int ***a1, int ***a2)
{
int *v2; // x0
int *v3; // x1
int v4; // w19
int v5; // w20
const void *v6; // x0
const void *v7; // x1
int v8; // w2
unsigned int v9; // w19
__int64 result; // x0
v2 = **a1;
v3 = **a2;
v4 = *v2;
v5 = *v3;
v6 = *((const void **)v2 + 1);
v7 = *((const void **)v3 + 1);
if ( v5 > v4 )
v8 = v4;
else
v8 = v5;
v9 = v4 - v5;
LODWORD(result) = memcmp(v6, v7, v8);
if ( (_DWORD)result )
return (unsigned int)result;
else
return v9;
}