//
// PEM_write_PrivateKey from 0xa3859c to 0xa3862c (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x7ef2c
//
// 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:08 +0000
//
int __fastcall PEM_write_PrivateKey(
int a1,
int a2,
int *a3,
char *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 = PEM_write_bio_PrivateKey((int)v10, a2, a3, a4, a5, a6, a7);
BIO_free(v11);
return v12;
}
else
{
ERR_put_error(9, 139, 7, (int)"crypto/pem/pem_pkey.c", 188);
return 0;
}
}