//
// X509v3_addr_inherits from 0xa64a98 to 0xa64af8 (96 bytes)
//
// 4 xrefs:
// > X509v3_addr_subset @ 0xa64b18
// > X509v3_addr_subset @ 0xa64b40
// > X509v3_addr_validate_resource_set @ 0xa6509c
// > ??> @ 0x8225c
//
// 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_inherits(_DWORD *a1)
{
signed int v2; // r4
int v3; // r0
unsigned int v4; // r1
if ( !a1 )
return 0;
v2 = 0;
do
{
v3 = OPENSSL_sk_num((int)a1);
v4 = v2;
if ( v2 >= v3 )
return 0;
++v2;
}
while ( **(_DWORD **)(OPENSSL_sk_value(a1, v4) + 4) );
return 1;
}