def METHOD_NAME(self) -> "SimMemView":
    if isinstance(self.type, TypedefType):
        unpacked = SimDebugVariable(self.state, self.addr, self.type.type)
        return unpacked.METHOD_NAME
    if self.type is None or self.type.byte_size is None:
        return self.mem_untyped
    arch = self.state.arch
    size = self.type.byte_size * arch.byte_width
    name = self.type.name
    if name in ALL_TYPES:
        sim_type = ALL_TYPES[name].with_arch(arch)
        assert size == sim_type.size
    else:
        # FIXME A lot more types are supported by angr that are not in ALL_TYPES (structs, arrays, pointers)
        # Use a fallback type
        sim_type = SimTypeReg(size, label=name)
    return self.mem_untyped.with_type(sim_type)