//
// PKCS8_decrypt from 0xa3a82c to 0xa3a878 (76 bytes)
//
// 4 xrefs:
// > PEM_read_bio_PrivateKey @ 0xa380e8
// > d2i_PKCS8PrivateKey_bio @ 0xacf820
// > PKCS12_decrypt_skey @ 0xad04e8
// > ??> @ 0x7eeac
//
// 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:08:10 +0000
//
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);
}