//
// PKCS8_decrypt from 0xdcb418 to 0xdcb468 (80 bytes)
//
// 4 xrefs:
// > PEM_read_bio_PrivateKey @ 0xdc8dc0
// > d2i_PKCS8PrivateKey_bio @ 0xe64c34
// > PKCS12_decrypt_skey @ 0xe659f4
// > ??> @ 0x95988
//
// 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 PKCS8_decrypt(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v5; // [xsp+28h] [xbp+28h]
__int64 v6; // [xsp+30h] [xbp+30h]
__int64 v7; // [xsp+38h] [xbp+38h]
v5 = a3;
X509_SIG_get0(a1);
return PKCS12_item_decrypt_d2i(v6, &PKCS8_PRIV_KEY_INFO_it, a2, v5, v7, 1);
}