//
// X509v3_addr_add_inherit from 0xa62fe0 to 0xa63068 (136 bytes)
//
// 2 xrefs:
// > sub_A64180 @ 0xa642fc
// > ??> @ 0x821ec
//
// 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:35 +0000
//
int __fastcall X509v3_addr_add_inherit(int *a1, unsigned int a2, unsigned int *a3)
{
int *v3; // r0
int *v4; // r5
_DWORD *v5; // r4
int v6; // r3
void *v8; // r0
v3 = sub_A62A64(a1, a2, a3);
v4 = v3;
if ( !v3 )
return 0;
v5 = (_DWORD *)v3[1];
if ( !v5 )
return 0;
if ( *v5 == 1 )
{
if ( v5[1] )
return 0;
}
else
{
v6 = v5[1];
if ( *v5 )
{
if ( v6 )
{
LABEL_8:
*v5 = 0;
return 1;
}
}
else if ( v6 )
{
return 1;
}
}
v8 = ASN1_NULL_new();
v5[1] = v8;
if ( v8 )
{
v5 = (_DWORD *)v4[1];
goto LABEL_8;
}
return 0;
}