Add sdecode for highstate

Fix #18361