//
// X509_REQ_set_pubkey from 0x10ed514 to 0x10ed530 (28 bytes)
//
// 2 xrefs:
// > X509_to_X509_REQ @ 0x10ed044
// > ??> @ 0x82c48
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:18:05 +0000
//
__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;
}