//
// d2i_PKCS8PrivateKey_fp from 0xacf8d0 to 0xacf944 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x84d0c
//
// 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:09:23 +0000
//
int __fastcall d2i_PKCS8PrivateKey_fp(
int a1,
int *a2,
int (__fastcall *a3)(char *, int, _DWORD, const char *),
const char *a4)
{
_DWORD *v7; // r0
_DWORD *v8; // r5
int v9; // r4
v7 = BIO_new_fp(a1, 0);
v8 = v7;
if ( v7 )
{
v9 = d2i_PKCS8PrivateKey_bio((int)v7, a2, a3, a4);
BIO_free(v8);
return v9;
}
else
{
ERR_put_error(9, 121, 7, (int)"crypto/pem/pem_pk8.c", 199);
return 0;
}
}