//
// i2d_PKCS8PrivateKey_nid_fp from 0x8baf14 to 0x8bafb0 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b35c
//
// 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
//
int __fastcall i2d_PKCS8PrivateKey_nid_fp(
int a1,
int a2,
int a3,
int a4,
int a5,
int (__fastcall *a6)(char *, int, int, const char *),
const char *a7)
{
_DWORD *v10; // r0
_DWORD *v11; // r5
int v12; // r4
v10 = BIO_new_fp(a1, 0);
v11 = v10;
if ( v10 )
{
v12 = sub_8BAB28((int)v10, a2, 1, a3, 0, a4, a5, a6, a7);
BIO_free(v11);
return v12;
}
else
{
ERR_put_error(9, 125, 7, (int)"crypto/pem/pem_pk8.c", 184);
return 0;
}
}