//
// X509_PUBKEY_get0_param from 0x1070928 to 0x1070968 (64 bytes)
//
// 8 xrefs:
// > sub_1004294 @ 0x10042c0
// > sub_1007138 @ 0x1007164
// > sub_100A414 @ 0x100a448
// > sub_1019DFC @ 0x1019e24
// > sub_10506B4 @ 0x10506dc
// > X509_print_ex @ 0x1063cc4
// > sub_10800E4 @ 0x1080158
// > ??> @ 0x47b90
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:17:00 +0000
//
__int64 __fastcall X509_PUBKEY_get0_param(_QWORD *a1, _QWORD *a2, _DWORD *a3, _QWORD *a4, __int64 a5)
{
if ( a1 )
*a1 = **(_QWORD **)a5;
if ( a2 )
{
*a2 = *(_QWORD *)(*(_QWORD *)(a5 + 8) + 8LL);
*a3 = **(_DWORD **)(a5 + 8);
}
if ( a4 )
*a4 = *(_QWORD *)a5;
return 1;
}