SplitScript reference / Il2CppProfile
Il2CppProfile
struct
struct Il2CppProfile
A complete measured or custom IL2CPP memory layout.
All members are required when constructing a custom profile. Unknown optional metadata facts must be written as None; they are never borrowed from another build.
Examples
Choose a measured player layout
let profile = Il2CppProfile.unity2020_2_0f1X64()
Fields
| Member | Description | Available through |
|---|---|---|
| assemblyImage | Target byte offset for assembly.image. | |
| assemblyName | Target byte offset for assembly.name. None means this fact is unavailable. | |
| classDeclaring | Target byte offset for class.declaring_type. None means this fact is unavailable. | |
| classFieldCount | Target byte offset for class.field_count. | |
| classFields | Target byte offset for class.fields. | |
| classInstanceSize | Target byte offset for class.instance_size. None means this fact is unavailable. | |
| className | Target byte offset for class.name. | |
| classNamespace | Target byte offset for class.namespace. | |
| classParent | Target byte offset for class.parent. | |
| classStatics | Target byte offset for class.static_fields. | |
| fieldName | Target byte offset for field.name. | |
| fieldStride | Target byte stride for field.size. | |
| fieldType | Target byte offset for field.type_. None means this fact is unavailable. | |
| fieldValue | Target byte offset for field.offset. | |
| genericCachedClass | Target byte offset for generic.cached_class. None means this fact is unavailable. | |
| imageAssemblyName | Target byte offset for image.assembly_name. None means this fact is unavailable. | |
| imageTypeCount | Target byte offset for image.type_count. | |
| imageTypeStart | Location and storage mode of the image's first type index. | |
| pointerSize | Target pointer width. | |
| typeData | Target byte offset for type_.data. None means this fact is unavailable. | |
| typeKind | Target byte offset for type_.kind. None means this fact is unavailable. |
Methods
| Member | Description | Available through |
|---|---|---|
| unity2018_1_0f1X64 | Measured UNITY_2018_1_0F1_X86_64; player file version 2018.1.0.30795. | |
| unity2018_1_0f1X86 | Measured UNITY_2018_1_0F1_X86; player file version 2018.1.0.30795. | |
| unity2018_2_0f2X64 | Measured UNITY_2018_2_0F2_X86_64; player file version 2018.2.0.30296. | |
| unity2018_2_0f2X86 | Measured UNITY_2018_2_0F2_X86; player file version 2018.2.0.30296. | |
| unity2018_3_0f1X64 | Measured UNITY_2018_3_0F1_X86_64; player file version 2018.3.0.9156. | |
| unity2018_3_0f1X86 | Measured UNITY_2018_3_0F1_X86; player file version 2018.3.0.9156. | |
| unity2019_1_0f2X64 | Measured UNITY_2019_1_0F2_X86_64; player file version 2019.1.0.11155. | |
| unity2019_1_0f2X86 | Measured UNITY_2019_1_0F2_X86; player file version 2019.1.0.11155. | |
| unity2020_2_0f1X64 | Measured UNITY_2020_2_0F1_X86_64; player file version 2020.2.0.8671. | |
| unity2020_2_0f1X86 | Measured UNITY_2020_2_0F1_X86; player file version 2020.2.0.8671. | |
| unity2022_2_0f1X64 | Measured UNITY_2022_2_0F1_X86_64; player file version 2022.2.0.56532. | |
| unity2022_2_0f1X86 | Measured UNITY_2022_2_0F1_X86; player file version 2022.2.0.56532. | |
| unity6000_5_0f1X64 | Measured UNITY_6000_5_0F1_X86_64; player file version 6000.5.0.46204. | |
| unity6000_5_0f1X86 | Measured UNITY_6000_5_0F1_X86; player file version 6000.5.0.46204. | |
| unity6000_6_0f1X64 | Measured UNITY_6000_6_0F1_X86_64; player file version 6000.6.0.63725. | |
| unity6000_6_0f1X86 | Measured UNITY_6000_6_0F1_X86; player file version 6000.6.0.63725. |