//
// PKCS12_unpack_authsafes from 0xe65a28 to 0xe65a94 (108 bytes)
//
// 2 xrefs:
// > PKCS12_parse @ 0xdca34c
// > ??> @ 0x40260
//
// 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
//
__int64 __fastcall PKCS12_unpack_authsafes(__int64 a1)
{
if ( (unsigned int)OBJ_obj2nid(*(_QWORD *)(*(_QWORD *)(a1 + 16) + 24LL)) == 21 )
return ASN1_item_unpack(*(int **)(*(_QWORD *)(a1 + 16) + 32LL), (__int64)&PKCS12_AUTHSAFES_it);
ERR_put_error(35, 130, 121, (__int64)"crypto/pkcs12/p12_add.c", 159);
return 0;
}