//
// i2d_PKCS8PrivateKeyInfo_bio from 0xdf0570 to 0xdf05c4 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x48eb8
//
// 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 i2d_PKCS8PrivateKeyInfo_bio(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v4; // x19
unsigned int v5; // w20
result = EVP_PKEY2PKCS8(a2);
v4 = result;
if ( result )
{
v5 = i2d_PKCS8_PRIV_KEY_INFO_bio(a1, result);
PKCS8_PRIV_KEY_INFO_free(v4);
return v5;
}
return result;
}