Expand description
The game binary (GameAssembly): the registration tables and the
Il2CppType table that metadata type indices refer to.
The binary is read through pewter’s LoadedImage, which abstracts over
ELF (.so) and PE (.dll) and resolves virtual addresses after relocation.
Modules§
- element
Il2CppTypeEnum, the same values as ECMA-335 element types.
Structs§
- Binary
- The game binary’s type table, decoded.
- Code
GenModule - Per-image method pointer table, from
Il2CppCodeGenModule. - Code
Registration Il2CppCodeRegistration— the code-side registration that holds method pointers, invoker pointers, and per-module code generation tables.- ElfImage
- A loaded ELF image (e.g. a
.so). Pointers are resolved through the relocation table, since ELF stores relative relocations rather than absolute addresses. - Il2Cpp
Type - Metadata
Registration Il2CppMetadataRegistration(v29).- PeImage
- A loaded PE image (e.g. a
.dll). Pointers stored in a PE hold absolute virtual addresses at the preferred image base, so no relocation step is needed: the on-disk values and the addresses computed here share that base.
Enums§
Traits§
- Loaded
Image - Reads a loaded binary by virtual address, as it will be after relocation.