/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h
Translates the hardcoded script config names (engine, editor, input and game) to their global pendants and otherwise uses config(myini) name to look for a game specific implementation and creates one based on the default if it doesn't exist yet.
name of the class specific ini file
const [FString](API\Runtime\Core\Containers\FString) GetConfigName() const