The function takes an input string, duplicates the last character in the string, and adds an 's' at the end.

[CODE]:
```python
def approx_function(input_str):
    return input_str + input_str[-1] + 's'
```