//
// i2d_PKCS8PrivateKeyInfo_bio from 0x106e8b0 to 0x106e904 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x67048
//
// 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:16:59 +0000
//
__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;
}