rewritng mupen64rr LuaExtension