Miley Cyrus performed "Super Freak" during a charity fundraiser at Los Angeles' Hollywood Palladium on Sunday.

The 22-year-old covered the 1981 Rick James hit during the bash, which also served as James Franco's spoof Bar Mitzvah party, according to NME.

During the performance, Cyrus, dressed in a bright blue bodysuit thong and sparkly gold tights, transformed into an alter ego named "Miley Cyrustein," singing alongside The Super Jews and a large Star of David. Cyrus also dressed in a large gold cape at one point during the night, which read "Shalom Y'all."

"Things are going to get a bit ridiculous," Cyrus said of the night's shenanigans. "And that's coming from someone who flew around on a giant hotdog for 20,000 people for several months last year."

Cyrus also covered "Shout" by Lulu and Leonard Cohen's "I'm Your Man," before performing an acoustic rendition of her track "We Can't Stop."

Franco's co-star in "The Interview" Seth Rogen put together the talented lineup for the event, called "Hilarity for Charity Annual Variety Show: James Franco's Bar Mitzvah." The night benefitted the Alzheimer's Association and was hosted by Funny or Die.

Other performances of the night came from the sisters in Haim, who sang the Israeli folk song "Hava Nagila" and also led a hora dance. Actor Jeff Goldblum also welcomed Franco's mother Betsy Lou Franco to the stage for a mock circumcision.

The night, which was live streamed by Funny or Die, raised a whopping $2 million for Rogen's Hilarity for Charity. The actor and his wife Lauren Miller Rogen launched the charity in 2012.

Cyrus released her fifth studio album, "Miley Cyrus & Her Dead Petz," on Aug. 30. The album was created along with The Flaming Lips, and it was produced by Mike Will Made It and Oren Yoel. Guest artists on the album included Big Sean, Sarah Barthel from Phantogram and Ariel Pink.