//
// X509_keyid_get0 from 0x84b2f0 to 0x84b31c (44 bytes)
//
// 2 xrefs:
// > X509_aux_print @ 0x83d618
// > ??> @ 0x66bac
//
// 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
//
_DWORD *__fastcall X509_keyid_get0(int a1, _DWORD *a2)
{
_DWORD *result; // r0
result = *(_DWORD **)(a1 + 180);
if ( result )
{
result = (_DWORD *)result[3];
if ( result )
{
if ( a2 )
*a2 = *result;
return (_DWORD *)result[2];
}
}
return result;
}