//
// PKCS8_pkey_get0 from 0x9d8ab4 to 0x9d8b0c (88 bytes)
//
// 7 xrefs:
// > sub_9F2DCC @ 0x9f2df0
// > sub_9F5DC4 @ 0x9f5de8
// > sub_9F9454 @ 0x9f9484
// > sub_A0A7BC @ 0xa0a7e0
// > EVP_PKCS82PKEY @ 0xa18944
// > sub_A4102C @ 0xa41050
// > ??> @ 0x783dc
//
// 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:07:16 +0000
//
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;
}