From Longman Dictionary of Contemporary Englishget your rocks offget your rocks offinformal not politeSEX/HAVE SEX WITH if a man gets his rocks off, he has sex → rock
Examples from the Corpus
get your rocks off• You're a rock group so people get their rocks off.• I don't just want people to get their rocks off.