//
// X509_REQ_set_version from 0xad87b4 to 0xad87cc (24 bytes)
//
// 1 xrefs:
// > ??> @ 0x8515c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:09:29 +0000
//
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;
}