См. определение в файле FireworksLauncher.c строка 392
Перекрестные ссылки g_Game, GetState(), orientation, position и SetState().