//
// X509_VERIFY_PARAM_set1 from 0x847238 to 0x847258 (32 bytes)
//
// 5 xrefs:
// > ssl_verify_cert_chain @ 0x791938
// > SSL_CTX_set1_param @ 0x7966f4
// > SSL_set1_param @ 0x7966fc
// > X509_STORE_set1_param @ 0x8403bc
// > ??> @ 0x5b2fc
//
// 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
//
bool __fastcall X509_VERIFY_PARAM_set1(_DWORD *a1, int a2)
{
int v2; // r5
_BOOL4 result; // r0
v2 = a1[2];
a1[2] = v2 | 1;
result = X509_VERIFY_PARAM_inherit(a1, a2);
a1[2] = v2;
return result;
}