//
// X509_VERIFY_PARAM_set_flags from 0x106c7ec to 0x106c80c (32 bytes)
//
// 3 xrefs:
// > X509_STORE_set_flags @ 0x1066794
// > X509_STORE_CTX_set_flags @ 0x106c06c
// > ??> @ 0xf2590
//
// 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:16:57 +0000
//
__int64 __fastcall X509_VERIFY_PARAM_set_flags(__int64 a1, __int64 a2)
{
__int64 v2; // x2
v2 = a2 | *(_QWORD *)(a1 + 24);
if ( (a2 & 0x780) != 0 )
v2 |= 0x80uLL;
*(_QWORD *)(a1 + 24) = v2;
return 1;
}