WIP: rewrite 32-bit redirector/wrapper

Use single wrapper for all sorts of wrapped functions.
The idea is that *added* code must have no visible effects on execution,
the original code effects should stay as is.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>