PdcPoReportButton

VOID __stdcall PdcPoReportButton(UINT64 Flags, UINT8 Present){
  char v3; 
  v3 = Flags;
  PopAcquirePolicyLock();
  if( (v3 & 1) != 0 )
  {
    if( Present )
    {
      if( PopCapabilities == 1 )
        goto LABEL_6;
      PopCapabilities = 1;
      goto LABEL_5;
    }
    if( PopCapabilities )
    {
      PopCapabilities = 0;
LABEL_5:
      PopResetCurrentPolicies();
    }
  }
LABEL_6:
  if( (v3 & 2) == 0 )
    goto LABEL_7;
  if( Present )
  {
    if( *(&PopCapabilities + 1) == 1 )
      goto LABEL_7;
    *(&PopCapabilities + 1) = 1;
  }
  else
  {
    if( !*(&PopCapabilities + 1) )
      goto LABEL_7;
    *(&PopCapabilities + 1) = 0;
  }
  PopResetCurrentPolicies();
LABEL_7:
  if( (v3 & 4) != 0 )
  {
    if( Present )
    {
      if( *(&PopCapabilities + 2) == 1 )
        goto LABEL_8;
      *(&PopCapabilities + 2) = 1;
    }
    else
    {
      if( !*(&PopCapabilities + 2) )
        goto LABEL_8;
      *(&PopCapabilities + 2) = 0;
    }
    PopResetCurrentPolicies();
  }
LABEL_8:
  PopReleasePolicyLock();
}

Referenced by:

No references.