для этого вам нужен мой репозиторий
// by default findclass function use "Assembly-CSharp"
auto NetworkManager = il2cpp::FindClass("NetworkManager"/*your class name*/);
//if your class in other module you need do like this
auto Camera = il2cpp::FindClass("Camera","UnityEngine.CoreModule")...