//
// PKCS12_get_friendlyname from 0xad06dc to 0xad0718 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x84ebc
//
// 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:09:23 +0000
//
_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;
}