﻿# V8034\. Potentially incorrect order of arguments passed to a function\.

The analyzer has detected a suspicious sequence of arguments passed to a method\. Perhaps, some arguments are misplaced\.

The example:

```cpp
func SetARGB(a, r, g, b byte) { .... }

func Foo(A, R, G, B byte) {
  var A, R, G, B byte
  ....
  SetARGB(A, R, B, G)
}
```

When calling the `SetARGB` function, the `B` and `G` arguments were swapped\.

The fixed code:

```cpp
func SetARGB(a, r, g, b byte) { .... }

func Foo(A, R, G, B byte) {
  var A, R, G, B byte
  ....
  SetARGB(A, R, G, B)
}
```