Question: I'm coding a C++ WinAPI DLL for a game, it includes a small anti-cheat function, but it can be easily bypassed if someone decides to NOP (0x90) the whole anti-cheat (I'm not PRO in reverse engineering but I'm sure it's possible to do).

Is there anyway to prevent my DLL from being modified?

Answer: 
```
i++

```

You're increasing the value by 1. The value, when you increase it after the first iteration is `31`. `31 + 1` is, surprisingly, `32`. And you print out the value directly after incrementing it.
My guess is:

```
while(i++ < 15)

```

The `i++` increments the value from 31 to 32 on the second loop.

Note, the `++` will be executed even if the condition fails - which in your case, the 31 is greater than 15 (condition fails), however because of the `++` the value is incremented to 32, which is being printed out by the `System.out` at the end.