//
// PKCS8_pkey_get0 from 0x7c3eb4 to 0x7c3f0c (88 bytes)
//
// 7 xrefs:
// > sub_7DE1CC @ 0x7de1f0
// > sub_7E11C4 @ 0x7e11e8
// > sub_7E4854 @ 0x7e4884
// > sub_7F5BBC @ 0x7f5be0
// > EVP_PKCS82PKEY @ 0x803d44
// > sub_82C42C @ 0x82c450
// > ??> @ 0x5e95c
//
// 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_pkey_get0(_DWORD *a1, int *a2, int *a3, _DWORD *a4, int a5)
{
if ( a1 )
*a1 = **(_DWORD **)(a5 + 4);
if ( a2 )
{
*a2 = ASN1_STRING_get0_data(*(_DWORD *)(a5 + 8));
*a3 = ASN1_STRING_length(*(_DWORD *)(a5 + 8));
}
if ( a4 )
*a4 = *(_DWORD *)(a5 + 4);
return 1;
}