//
// PKCS12_SAFEBAG_create0_pkcs8 from 0xa3aa60 to 0xa3aab4 (84 bytes)
//
// 2 xrefs:
// > PKCS12_SAFEBAG_create_pkcs8_encrypt @ 0xa3ab14
// > ??> @ 0x7f3cc
//
// 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:08:10 +0000
//
_DWORD *__fastcall PKCS12_SAFEBAG_create0_pkcs8(int a1)
{
_DWORD *v2; // r4
v2 = PKCS12_SAFEBAG_new();
if ( v2 )
{
*v2 = OBJ_nid2obj(0x97u);
v2[1] = a1;
}
else
{
ERR_put_error(35, 113, 65, (int)"crypto/pkcs12/p12_sbag.c", 129);
}
return v2;
}