A Brazilian hospital says Pele is "recovering well" after undergoing surgery to remove kidney stones.
Barcelona teammates Neymar and Lionel Messi were both on target as Brazil and Argentina claimed international friendly wins.
Brazilian legend Pele was taken to hospital with a stomach ailment, missing an event at the museum honoring his career in Santos.
Brazil forward Hulk has defended his absence from the national squad for his country's first post-SWC friendlies under new coach Dunga.
Brazil players are being told not to wear hats, earrings or flip-flops while serving the national team under Dunga.
Neymar was left overjoyed with his four-goal haul against Japan, saying even the thought of it still gives him "goosebumps".
Neymar thumped four goals past Japan in a spectacular solo performance as Brazil hammered the Asian champions.
Dunga denied insinuating drug use in the Argentina camp after he was filmed pinching his nose and pointing at the rival bench.
Lionel Messi missed a first-half penalty as Brazil beat Argentina in a fiercely contested "Superclasico" friendly in Beijing.
Paris Saint-Germain full-back Maxwell has announced his retirement from international football with immediate effect.
Dunga can be satisfied with his first few weeks back in charge of Brazil emerging from the ashes of the SWC.
Willian's strike against Ecuador helped the Brazilians to a 1-0 victory in an international friendly in New Jersey.
Less than two months after the worst defeat in their history, Brazil are set to embark on a new path against Colombia.
Brazil coach Dunga has announced the first squad of his second spell in charge, retaining 10 of those who featured at the SWC.
Brazil star Neymar has returned to training with Barcelona for the first time since fracturing a vertebra in his back.