//
// X509_keyid_get0 from 0x1070fd4 to 0x1070ff8 (36 bytes)
//
// 2 xrefs:
// > X509_aux_print @ 0x106382c
// > ??> @ 0xadcb0
//
// 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:01 +0000
//
__int64 __fastcall X509_keyid_get0(__int64 a1, _DWORD *a2)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 312);
if ( result )
{
result = *(_QWORD *)(result + 24);
if ( result )
{
if ( a2 )
*a2 = *(_DWORD *)result;
return *(_QWORD *)(result + 8);
}
}
return result;
}