def _get_original_constant_from_magic(self, original_constants: Dict[(str, str)]) -> int:
    magic = int(original_constants.get('const_0'), HEX_BASE)
    power = (int(original_constants.get('const_1'), HEX_BASE) + int(original_constants.get('const_2'), HEX_BASE))
    return self.magic_table.get((magic, power))
def _get_original_constant_from_magic(self, original_constants: Dict[(str, str)]) -> int:
    magic = int(original_constants.get('const_0'), HEX_BASE)
    power = (int(original_constants.get('const_1'), HEX_BASE) + int(original_constants.get('const_2'), HEX_BASE))
    return self.magic_table.get((magic, power))