MANILA, Philippines—It was a night of fun, funk, and flirting onstage—but ultimately a successful fundraiser for victims of last year’s massive floods.

A benefit concert featuring US pop superstar Justin Timberlake, rapper-producer Timbaland and teen singer Jojo drew thousands of screaming fans on Saturday night to the SM Mall of Asia grounds in Pasay City.

Proceeds of the show dubbed “Changing Lives,” mounted by Francis Lumen’s All-Youth Channels and bankrolled by Smart Buddy and Smart Bro, will go to the PLDT Smart Foundation.

Among the beneficiaries are families in Benguet and Rizal provinces who lost their homes or loved ones during the onslaught of Storms “Ondoy” and “Pepeng,” as well as students of the devastated Angono School of the Arts.

The displaced families in Benguet and Rizal continue to live in tents, while the Angono students lost some of their classmates and had most of their books and musical instruments destroyed by floodwaters.

Organizers said some 80,000 people saw the concert, which turned the Mall of Asia area into a sprawling dance club.

The burly Timbaland (Timothy Zachary Mosley off-stage) and his seven-member band warmed up the show with a sci-fi sounding intro.

One of the most sought-after record producers in America, “Tim” has been known for an uncanny ability to produce a flavorful mix of exotic and old-school rhythms: A potent cocktail for banishing inhibitions on the dance floor. His emphasis on the downbeat had invited flattering comparisons with the great James Brown.

Fueled by tickling guitar riffs, swaggering bass and solid drums, Tim performed mostly tracks from his latest album “Shock Value II.”

His guest artists on the album, including a recent Manila visitor Katy Perry, appeared on the giant video screens to sing in synch with his live numbers.

Still, Tim is said to be at his best not as a front man but as a collaborator who enables fellow artists to reinvent themselves.

Such may be the case with Jojo, who that night proved she was no longer just a teenybopper doing bubblegum pop, but one “breaking the mold,” as the lyrics proclaimed in “Lose Control,” the duet she did with Timbaland.

The show did sag at some portions, especially whenever Tim had to exit to catch his breath. Until the video screens signaled the night’s main act and flashed Timberlake’s face.

“JT, my brother!” Tim yelled, sending the crowd into a wilder frenzy.

Timberlake grooved to his mostly sex-spiked songs. He flirted with a drive-through counter girl in “Carry Out,” then pledged to write a symphony in “My Love.” His “Lovestoned” captured a drug-laced party scene.

For those who saw how JT had grown up since his boy band days, his agenda that night was clear: He knows his music and it’s no longer “NSync-era” pop but a heady blend of hip-hop, rock and funk. The fusion reached its peak in the naughty “SexyBack.”

Known to hang out with rock stars like the members of Coldplay, Timberlake also did emotional rock ballads on the piano.

A number of local celebrities came out to party, including those from the rival TV networks, as Tim and JT traded vocal jams in a friendly hip-hop battle.

A few days before the show, a Timberlake press con was canceled at the last minute while the artist also failed to attend some promotional events, leaving reporters wondering whether he was really in the mood to talk with the local press.

The stated reason: JT needed more time to prepare something special for the Filipino audience.