//
// PKCS8_decrypt from 0x825c2c to 0x825c78 (76 bytes)
//
// 4 xrefs:
// > PEM_read_bio_PrivateKey @ 0x8234e8
// > d2i_PKCS8PrivateKey_bio @ 0x8ba820
// > PKCS12_decrypt_skey @ 0x8bb4e8
// > ??> @ 0x6542c
//
// 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
//
int __fastcall PKCS8_decrypt(int a1, int a2, int a3)
{
int v6; // [sp+8h] [bp-Ch] BYREF
int v7; // [sp+Ch] [bp-8h] BYREF
X509_SIG_get0(a1, &v6, &v7);
return PKCS12_item_decrypt_d2i(v6, &PKCS8_PRIV_KEY_INFO_it, a2, a3, v7, 1);
}