The storm, which already lost some of its strength, wreaked havoc in parts of Mozambique and affected several regions in South Africa.