//
// X509v3_addr_get_afi from 0xa62bac to 0xa62bdc (48 bytes)
//
// 7 xrefs:
// > sub_A62BDC @ 0xa62c5c
// > X509v3_addr_is_canonical @ 0xa63468
// > X509v3_addr_canonize @ 0xa63af4
// > X509v3_addr_subset @ 0xa64bac
// > X509v3_addr_validate_path @ 0xa64dac
// > X509v3_addr_validate_resource_set @ 0xa651e4
// > ??> @ 0x821dc
//
// 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
//
_DWORD *__fastcall X509v3_addr_get_afi(_DWORD *result)
{
unsigned __int8 *v1; // r3
if ( result )
{
result = (_DWORD *)*result;
if ( result )
{
v1 = (unsigned __int8 *)result[2];
if ( v1 )
return (_DWORD *)(v1[1] | (*v1 << 8));
else
return nullptr;
}
}
return result;
}