//
// X509_VERIFY_PARAM_set_flags from 0xa5b4bc to 0xa5b4d8 (28 bytes)
//
// 3 xrefs:
// > X509_STORE_set_flags @ 0xa54f90
// > X509_STORE_CTX_set_flags @ 0xa5ad98
// > ??> @ 0x80b5c
//
// 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:08:29 +0000
//
int __fastcall X509_VERIFY_PARAM_set_flags(int a1, int a2)
{
bool v2; // zf
int v3; // r1
v2 = (a2 & 0x780) == 0;
v3 = a2 | *(_DWORD *)(a1 + 12);
if ( !v2 )
v3 |= 0x80u;
*(_DWORD *)(a1 + 12) = v3;
return 1;
}