UINT64 __stdcall VerSetConditionMask(ULONGLONG ConditionMask, UINT64 TypeMask, UCHAR Condition){
unsigned __int8 v3;
char v4;
v3 = Condition & 7;
if( !(_DWORD)TypeMask )
return 0i64;
v4 = 0;
do
{
++v4;
LODWORD(TypeMask) = (unsigned int)TypeMask >> 1;
}
while( (_DWORD)TypeMask );
return ConditionMask | ((unsigned __int64)v3 << (3 * (v4 - 1))) | 0x8000000000000000ui64;
}