When Greg and Rowley exit Grandma's garage in the Diary of a Wimpy Kid (2010) movie, the song is:
"The Hustle" by Van McCoy & The Soul City Symphony (1975).
The disco track underscores the boys' overconfident, ridiculous strut—a perfect needle-drop for their delusional "cool moment."