Batteries and regulators are known to do 100% just that. Fry everything connected to the harness.
Poor bike was not expecting a regulator or battery to kill it. Granted Knockoff regulators (aliexpress ones) or Stock OEM regulators are usually the #1 or #2 i frequently advise people to move up to the Shingden Units (japanese) like what you see on the store but a volt meter attached to the bike can warn the rider while riding that charging system is exceeding 15V limit that Hyosung wants.
Replace the dash its fried. + harness (MAKE SURE the harness & dash match! – If you put a 2012 dash to a 2007 harness, it will go in smoke instantly!)
+ CDI + Reg Rec + Stator
It will be good to go again!
I suspect that you could benefit to replace the HT caps (burst resistors) , use NGK ones , get new OEM coils – We now have sparks!
Things like Lights + Indicators + Relays can be replace bit by bit if there is any budget constraints.