//
// X509v3_addr_get_afi from 0xdf5a10 to 0xdf5a34 (36 bytes)
//
// 7 xrefs:
// > sub_DF5A34 @ 0xdf5ab0
// > X509v3_addr_is_canonical @ 0xdf62f0
// > X509v3_addr_canonize @ 0xdf6920
// > X509v3_addr_subset @ 0xdf75d4
// > X509v3_addr_validate_path @ 0xdf786c
// > X509v3_addr_validate_resource_set @ 0xdf7bc4
// > ??> @ 0x96888
//
// 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
//
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;
}