//
// d2i_PKCS8PrivateKey_fp from 0x10e2cec to 0x10e2d64 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0xd00a8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:17:49 +0000
//
__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;
}
}