reNX.cpp: Implement functionality.

Signed-off-by: angelsl <hidingfromhidden@gmail.com>