//
// PKCS12_get_friendlyname from 0x10e3be0 to 0x10e3c20 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x99a90
//
// 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:50 +0000
//
_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;
}