from typing import List


def uncompress_rle(original_code: str) -> List[int]:
    """Uncompress function for RLE of coco API.

    Source Code: https://github.com/cocodataset/cocoapi/blob/master/common/maskApi.c#L218

    Arguments:
        original_code: The original ASCII code.

    Returns:
        The uncompressed RLE.

    """
    pointer = 0
    rle: List[int] = []
    m = 0
    while pointer < len(original_code):
        x = 0
        k = 0
        more = 1
        while more:
            char = ord(original_code[pointer]) - 48
            x |= (char & 0x1F) << 5 * k
            more = char & 0x20
            pointer += 1
            k += 1
            if not more and (char & 0x10):
                x |= -1 << 5 * k
        if m > 2:
            x += rle[m - 2]
        rle.append(x)
        m += 1
    return rle