Glamorgan put themselves in a commanding position on day two of their LV= County Championship fixture against Sussex as they amassed 533/9 before the hosts ended the day on 88/1.
Indian right-hander Shubman Gill struck a maiden century for the Welsh County before wicket-keeper scored a second century of the summer to pile on the pressure at Hove.
"Shubman Gill set things up for us," said Cooke.
"He's different class and has got a huge future ahead of him. I have found some consistency in the last few games and it's nice to finish the season with a hundred and contribute in what is a really important game for us.
"It's nice to have that big total on the board and hopefully now we only have to bat once. They got off to a bit of a flyer when they batted and it's a quick-scoring ground.
"We know what we have to do which is to take 19 wickets and we saw towards the end there Ajaz [Patel] getting some spin which is encouraging. All we can do is try and win here and then we'll worry about the other games."