private string test_string = "hello world"; public int[] test_int_array; protected List<string> test_string_list; private TEST_ENUM test_enum; private Hello hello = new Hello(); private void Awake() { Init(); }
gc_resize_event(void *,long long) #2:il2cpp::vm::Profiler::GCHeapResize(long long) #3:GC_collect_or_expand #4:GC_alloc_large #5:GC_generic_malloc #6:GC_malloc_kind_global #7:il2cpp::vm::Object::AllocatePtrFree(uint,Il2CppClass *) #8:il2cpp::vm::Array::NewSpecific(Il2Cpp...
private string test_string = "hello world"; public int[] test_int_array; protected List<string> test_string_list; private TEST_ENUM test_enum; private Hello hello = new Hello(); private void Awake() { Init(); } private void Init() { test_int = 1; test_float = 2.0f; test_int_...
DEFINE_IL2CPP_FUN(uint32_t, il2cpp_array_get_byte_length, (Il2CppArray * array)); DEFINE_IL2CPP_FUN(Il2CppArray*, il2cpp_array_new, (Il2CppClass * elementTypeInfo, il2cpp_array_size_t length)); DEFINE_IL2CPP_FUN(Il2CppArray*, il2cpp_array_new_specific, (Il2CppClass * arrayTypeIn...
"il2cpp_array_get_byte_length", "il2cpp_array_new", "il2cpp_array_new_specific", "il2cpp_array_new_full", "il2cpp_bounded_array_class_get", "il2cpp_array_element_size", "il2cpp_assembly_get_image", "il2cpp_class_enum_basetype", "il2cpp_class_is_generic", "il2cpp_class_is_infl...
DO_API(uint32_t, il2cpp_array_get_byte_length, (Il2CppArray * array)); DO_API(Il2CppArray*, il2cpp_array_new, (Il2CppClass * elementTypeInfo, il2cpp_array_size_t length)); DO_API(Il2CppArray*, il2cpp_array_new_specific, (Il2CppClass * arrayTypeInfo, il2cpp_array_size_t length...
methodInvokers(array) The virtual address, name and C++ function signature of every Method.Invoke thunk function in the binary stringLiterals(array) For Unity versions lower than 5.3.2: the ordinal, name and text of every string literal in the binary ...
(void*ptr,size_tsize,size_talignment);}Il2CppMemoryCallbacks;typedefvoidIl2CppClass;typedefvoidIl2CppArray;typedefvoidIl2CppImage;typedefvoidIl2CppAssembly;typedefvoidIl2CppReflectionType;typedefvoidEventInfo;typedefuintptr_til2cpp_array_size_t;typedefvoidFieldInfo;typedefvoidPropertyInfo;typedefvoidMethodInfo...
Here we see that the implementation ofFullMemoryBarrieris platform-specific. Since we’re on POSIX-based iOS, we’ll reados/Posix/PosixImpl.h: inlinevoidAtomic::FullMemoryBarrier(){__sync_synchronize();} Finally we’ve reached the implementation! TheGCC docsdescribe__sync_synchronizeas simply ...
may be arbitrarily janky with interface methods. Additionally, using them in foreach may result in implicit casts on managed side (instead ofCast<T>, see below), leading to exceptions. Usevarinforeachor useforinstead offoreachwhen possible as a workaround, or cast them to the specific interf...