//
// X509_get_version from 0x840a78 to 0x840a80 (8 bytes)
//
// 6 xrefs:
// > sub_64231C @ 0x642422
// > X509_print_ex @ 0x83d870
// > X509_chain_check_suiteb @ 0x83ecb0
// > X509_chain_check_suiteb @ 0x83ee6c
// > sub_85AB54 @ 0x85ab7c
// > ??> @ 0x54cac
//
// 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 X509_get_version(_DWORD *a1)
{
return ASN1_INTEGER_get(*a1);
}