How to spawn actor in C++? Been trying for 9 hours now

@phil_me_up could you give an insight on the idea behind “StaticClass” in EU4. In the templated function SpawnActor, we are already specifying the template type by AmySphere. Therefore we already say that we need an instance of this class. So what is a staticclass? Is it unreal way of saying an instance of the class?