generator for smSetState and smAssignVar
merged
merged