//
// X509_REQ_set_pubkey from 0xad87e4 to 0xad87fc (24 bytes)
//
// 2 xrefs:
// > X509_to_X509_REQ @ 0xad831c
// > ??> @ 0x84ffc
//
// 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
//
int __fastcall X509_REQ_set_pubkey(int result, int a2)
{
if ( result )
{
*(_DWORD *)(result + 8) = 1;
return X509_PUBKEY_set(result + 20, a2);
}
return result;
}