//
// PKCS12_get_friendlyname from 0xe65be0 to 0xe65c20 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x724e0
//
// 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(__int64 a1)
{
__int64 v1; // x0
v1 = PKCS12_SAFEBAG_get0_attr(a1);
if ( v1 && *(_DWORD *)v1 == 30 )
return OPENSSL_uni2utf8(*(_QWORD *)(*(_QWORD *)(v1 + 8) + 8LL), **(_DWORD **)(v1 + 8));
else
return nullptr;
}