you're coercing `flags` to a `uint32` just before passing ti to `SetEngine()` so argument length will always be 2, and the second argument will always be a `uint32`.