//
// PEM_write_PrivateKey from 0xdc92c8 to 0xdc9360 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x301f8
//
// 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 PEM_write_PrivateKey(
__int64 a1,
__int64 a2,
unsigned int *a3,
char *a4,
int a5,
__int64 (__fastcall *a6)(char *, __int64, __int64, char *, _QWORD),
char *a7)
{
__int64 v8; // x0
_QWORD *v9; // x20
unsigned int v10; // w19
v8 = BIO_new_fp(a1, 0);
v9 = (_QWORD *)v8;
if ( v8 )
{
v10 = PEM_write_bio_PrivateKey(v8, a2, a3, a4, a5, a6, a7);
BIO_free(v9);
return v10;
}
else
{
ERR_put_error(9, 139, 7, (__int64)"crypto/pem/pem_pkey.c", 188);
return 0;
}
}