Family comedy “Diary of a Wimpy Kid: Rodrick Rules” out-muscled adventure “Sucker Punch” to claim the weekend box office title with $24.4 million in ticket sales, according to studio estimates yesterday.

“Wimpy Kid,” based on the successful books about a boy in middle school, easily toppled “Sucker Punch,” a fantasy tale of young women who can escape their dark lives by retreating into a dreamworld where they battle rivals. It claimed the No. 2 spot on movie charts with $19 million.

Rounding out the top 3 at $15.2 million was thriller “Limitless,” starring Bradley Cooper as a man who takes a drug that increases his brain capacity.

The rundown

1 ‘Diary of a Wimpy Kid: Rodrick Rules’ $24.4 million

2 ‘Sucker Punch’ $19 million

3 ‘Limitless’ $15.2 million

4 ‘The Lincoln Lawyer’ $11 million

5 ‘Rango’ $9.8 million

6 ‘Battle: Los Angeles’ $7.6 million

7 ‘Paul’ $7.5 million

8 ‘Red Riding Hood’ $4.3 million

9 ‘The Adjustment Bureau’ $4.2 million

10 ‘Mars Needs Moms’ $2.2 million