From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:IL2CPP global-metadata.dat" |
|---|
| claim | "Il2CppType.type uses the ECMA-335 element type numbers; Il2CppDumper's Il2CppTypeEnum lists exactly these 37 names, including the IL2CPP-specific 0x55 (ENUM) and 0xFF (IL2CPP_TYPE_INDEX). Values 0x17, 0x1A and 0x22 to 0x3F are not listed." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:IL2CPP global-metadata.dat" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "Il2CppTypeEnum" |
|---|
| underlying_type | "int" |
|---|
| complete | true |
|---|
| values | | 0x00 | "IL2CPP_TYPE_END" |
|---|
| 0x01 | "IL2CPP_TYPE_VOID" |
|---|
| 0x02 | "IL2CPP_TYPE_BOOLEAN" |
|---|
| 0x03 | "IL2CPP_TYPE_CHAR" |
|---|
| 0x04 | "IL2CPP_TYPE_I1" |
|---|
| 0x05 | "IL2CPP_TYPE_U1" |
|---|
| 0x06 | "IL2CPP_TYPE_I2" |
|---|
| 0x07 | "IL2CPP_TYPE_U2" |
|---|
| 0x08 | "IL2CPP_TYPE_I4" |
|---|
| 0x09 | "IL2CPP_TYPE_U4" |
|---|
| 0x0a | "IL2CPP_TYPE_I8" |
|---|
| 0x0b | "IL2CPP_TYPE_U8" |
|---|
| 0x0c | "IL2CPP_TYPE_R4" |
|---|
| 0x0d | "IL2CPP_TYPE_R8" |
|---|
| 0x0e | "IL2CPP_TYPE_STRING" |
|---|
| 0x0f | "IL2CPP_TYPE_PTR" |
|---|
| 0x10 | "IL2CPP_TYPE_BYREF" |
|---|
| 0x11 | "IL2CPP_TYPE_VALUETYPE" |
|---|
| 0x12 | "IL2CPP_TYPE_CLASS" |
|---|
| 0x13 | "IL2CPP_TYPE_VAR" |
|---|
| 0x14 | "IL2CPP_TYPE_ARRAY" |
|---|
| 0x15 | "IL2CPP_TYPE_GENERICINST" |
|---|
| 0x16 | "IL2CPP_TYPE_TYPEDBYREF" |
|---|
| 0x18 | "IL2CPP_TYPE_I" |
|---|
| 0x19 | "IL2CPP_TYPE_U" |
|---|
| 0x1b | "IL2CPP_TYPE_FNPTR" |
|---|
| 0x1c | "IL2CPP_TYPE_OBJECT" |
|---|
| 0x1d | "IL2CPP_TYPE_SZARRAY" |
|---|
| 0x1e | "IL2CPP_TYPE_MVAR" |
|---|
| 0x1f | "IL2CPP_TYPE_CMOD_REQD" |
|---|
| 0x20 | "IL2CPP_TYPE_CMOD_OPT" |
|---|
| 0x21 | "IL2CPP_TYPE_INTERNAL" |
|---|
| 0x40 | "IL2CPP_TYPE_MODIFIER" |
|---|
| 0x41 | "IL2CPP_TYPE_SENTINEL" |
|---|
| 0x45 | "IL2CPP_TYPE_PINNED" |
|---|
| 0x55 | "IL2CPP_TYPE_ENUM" |
|---|
| 0xff | "IL2CPP_TYPE_IL2CPP_TYPE_INDEX" |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "the whole enum read: 37 members from IL2CPP_TYPE_END to IL2CPP_TYPE_IL2CPP_TYPE_INDEX; source comments: VAR/MVAR = generic parameter number, 0x40 MODIFIER 'or with the following types'. This is the dumper's copy, not the Unity headers." |
|---|
| repo | "https://github.com/Perfare/Il2CppDumper" |
|---|
| commit | "4741d46ba9cd6159c5d853eb9d6fc48b4bfa2b1a" |
|---|
| path | "Il2CppDumper/Il2Cpp/Il2CppClass.cs" |
|---|
| lines | "96-137" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Il2CppTypeEnum" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T17:29:14.823Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T17:41:16.960Z" |
|---|
| result | "confirmed" |
|---|
| method | "Counted the enum in Il2CppClass.cs at 4741d46: 0x00-0x16 (23), 0x18-0x19 (2), 0x1b-0x21 (7), 0x40, 0x41, 0x45, 0x55, 0xff = 37 members; values match the fact." |
|---|
|
|
|---|