'Call the set_state method in SimStatePlugin class, and then perform the delayed initialization.
:param state: The SimState instance'

def set_state(self, state):

    SimStatePlugin.set_state(self, state)
    (stack_region_map, generic_region_map) = (self._temp_stack_region_map, self._temp_generic_region_map)
    if (stack_region_map or generic_region_map):
        self._stack_region_map = stack_region_map.copy()
        self._generic_region_map = generic_region_map.copy()
    elif ((not self._abstract_backer) and (o.REGION_MAPPING in self.state.options)):
        self._stack_region_map = RegionMap(True)
        self._generic_region_map = RegionMap(False)
    else:
        self._stack_region_map = None
        self._generic_region_map = None
