См. определение в файле GesturesMenu.c строка 169
Перекрестные ссылки Class::CastTo(), g_Game, instance и HumanInputController::WeaponADS().