[mr2891] Use R2 StateMgr instead of MGen