//
// PKCS12_get_friendlyname from 0x8bb6dc to 0x8bb718 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b43c
//
// 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
//
_BYTE *__fastcall PKCS12_get_friendlyname(int a1)
{
int v1; // r0
v1 = PKCS12_SAFEBAG_get0_attr(a1);
if ( v1 && *(_DWORD *)v1 == 30 )
return OPENSSL_uni2utf8(*(_DWORD *)(*(_DWORD *)(v1 + 4) + 8), **(_DWORD **)(v1 + 4));
else
return nullptr;
}