//
// X509v3_addr_inherits from 0x84fe98 to 0x84fef8 (96 bytes)
//
// 4 xrefs:
// > X509v3_addr_subset @ 0x84ff18
// > X509v3_addr_subset @ 0x84ff40
// > X509v3_addr_validate_resource_set @ 0x85049c
// > ??> @ 0x687dc
//
// 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 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;
}