//
// d2i_PKCS8PrivateKey_fp from 0xe64cec to 0xe64d64 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x9e0b8
//
// 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 d2i_PKCS8PrivateKey_fp(
__int64 a1,
__int64 *a2,
__int64 (__fastcall *a3)(char *, __int64, _QWORD, char *),
char *a4)
{
__int64 v5; // x0
_QWORD *v6; // x20
__int64 v7; // x19
v5 = BIO_new_fp(a1, 0);
v6 = (_QWORD *)v5;
if ( v5 )
{
v7 = d2i_PKCS8PrivateKey_bio(v5, a2, a3, a4);
BIO_free(v6);
return v7;
}
else
{
ERR_put_error(9, 121, 7, (__int64)"crypto/pem/pem_pk8.c", 199);
return 0;
}
}