//
// PKCS12_SAFEBAG_create0_pkcs8 from 0x825e60 to 0x825eb4 (84 bytes)
//
// 2 xrefs:
// > PKCS12_SAFEBAG_create_pkcs8_encrypt @ 0x825f14
// > ??> @ 0x6594c
//
// 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
//
_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;
}