None of it is hardcoded, countries and regions come from the ruleset and topology comes from WORLD.DAT. We do plan on moving it all to rulesets eventually.
In the meantime you can check out this thread regarding previous efforts of modding the globe and a WORLD.DAT editor: https://openxcom.org/forum/index.php/topic,530.0.html
That editor needs more work