The function takes an input string and applies the ROT-13 cipher to the last character of the string. The ROT-13 cipher shifts the character by 13 positions in the alphabet. After 'z,' the cipher wraps around to the beginning of the alphabet.

[CODE]:
```python
def rot_13_last_char(text):
    if len(text) == 0:
        return text

    last_char = text[-1]
    if 'a' <= last_char <= 'z':
        return text[:-1] + chr(((ord(last_char) - ord('a') + 13) % 26) + ord('a'))
    elif 'A' <= last_char <= 'Z':
        return text[:-1] + chr(((ord(last_char) - ord('A') + 13) % 26) + ord('A'))
    else:
        return text
```

Please note that this code approximates the behavior of the function and may not handle special cases or edge cases in the same way as the original function.