//
// X509_REQ_set_pubkey from 0xe6f514 to 0xe6f530 (28 bytes)
//
// 2 xrefs:
// > X509_to_X509_REQ @ 0xe6f044
// > ??> @ 0x5fc58
//
// 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
//
__int64 __fastcall X509_REQ_set_pubkey(__int64 result, __int64 a2)
{
if ( result )
{
*(_DWORD *)(result + 16) = 1;
return X509_PUBKEY_set(result + 40, a2);
}
return result;
}