rotate.cpp core base rotate.rc