//
// X509v3_addr_get_afi from 0x1073d50 to 0x1073d74 (36 bytes)
//
// 7 xrefs:
// > sub_1073D74 @ 0x1073df0
// > X509v3_addr_is_canonical @ 0x1074630
// > X509v3_addr_canonize @ 0x1074c60
// > X509v3_addr_subset @ 0x1075914
// > X509v3_addr_validate_path @ 0x1075bac
// > X509v3_addr_validate_resource_set @ 0x1075f04
// > ??> @ 0xc6d30
//
// 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:03 +0000
//
unsigned __int8 *__fastcall X509v3_addr_get_afi(unsigned __int8 *result)
{
if ( result )
{
result = *(unsigned __int8 **)result;
if ( result )
{
result = *((unsigned __int8 **)result + 1);
if ( result )
return (unsigned __int8 *)(result[1] | (*result << 8));
}
}
return result;
}