//
// X509_REQ_set_version from 0x8c37b4 to 0x8c37cc (24 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b6dc
//
// 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
//
const char *__fastcall X509_REQ_set_version(const char *result, int a2)
{
if ( result )
{
*((_DWORD *)result + 2) = 1;
return ASN1_INTEGER_set(*((signed int **)result + 3), a2);
}
return result;
}