@staticmethod
def relea(addr):
    '\n            Calculate the relative address compare to the IDA image base.\n            The calcul done is ``ADDR - IMGBASE``.\n    \n            The opposite of this function is :func:`absea`.\n    \n            :param int addr: The absolute address to translate.\n            :return: The offset from image base corresponding to ``addr``.\n            :rtype: int\n        '
    return (addr - idaapi.get_imagebase())
Calculate the relative address compare to the IDA image base.
The calcul done is ``ADDR - IMGBASE``.

The opposite of this function is :func:`absea`.

:param int addr: The absolute address to translate.
:return: The offset from image base corresponding to ``addr``.
:rtype: int
@staticmethod
def relea(addr):
    '\n            Calculate the relative address compare to the IDA image base.\n            The calcul done is ``ADDR - IMGBASE``.\n    \n            The opposite of this function is :func:`absea`.\n    \n            :param int addr: The absolute address to translate.\n            :return: The offset from image base corresponding to ``addr``.\n            :rtype: int\n        '
    return (addr - idaapi.get_imagebase())