Don't bother reverse engineering.
Just look at the end of your owners manual.
It's all there.
That manual is a must-have if you plan on writing an editor. Google for "cs1x owners manual". I just did it, and this was the first that popped up:
Note: I don't own a cs1x, but I'...