The function takes a string as input, replaces the vowels 'a', 'i', 'o', 'u' (case-insensitive) with their neighboring characters (e.g., 'a' becomes 'e', 'i' becomes 'e', 'o' becomes 'e', 'u' becomes 'r'), and returns the modified string.

[CODE]:
```python
def approx_function(input_string):
    replacement_dict = {'a': 'e', 'i': 'e', 'o': 'e', 'u': 'r',
                        'A': 'E', 'I': 'E', 'O': 'E', 'U': 'R'}
    output_string = "".join([replacement_dict.get(char, char) for char in input_string])
    return output_string
```