pub struct MetadataRegistration {
pub address: u64,
pub generic_classes: (u64, u64),
pub generic_insts: (u64, u64),
pub generic_method_table: (u64, u64),
pub types: (u64, u64),
pub method_specs: (u64, u64),
pub field_offsets: (u64, u64),
pub type_definition_sizes: (u64, u64),
}Expand description
Il2CppMetadataRegistration (v29).
Each table is a (count, address) pair, as the struct lays them out.
Fields§
§address: u64Where the struct itself is, as a virtual address.
generic_classes: (u64, u64)genericClasses: every generic type instance the game uses.
generic_insts: (u64, u64)genericInsts: the type argument lists those instances share.
generic_method_table: (u64, u64)genericMethodTable: generic method instances and their code.
types: (u64, u64)types: the Il2CppType pointer table that metadata type indices refer to.
method_specs: (u64, u64)methodSpecs: generic method instances, as (method, class args, method args).
field_offsets: (u64, u64)fieldOffsets: per type definition, its fields’ offsets in the object.
type_definition_sizes: (u64, u64)typeDefinitionsSizes: per type definition, its instance and static sizes.
Implementations§
Source§impl MetadataRegistration
impl MetadataRegistration
Sourcepub fn find(image: &impl LoadedImage, metadata: &Metadata) -> Result<Self>
pub fn find(image: &impl LoadedImage, metadata: &Metadata) -> Result<Self>
Finds the registration by its two counts that equal the number of type definitions
(fieldOffsetsCount and typeDefinitionsSizesCount).
Trait Implementations§
Source§impl Clone for MetadataRegistration
impl Clone for MetadataRegistration
Source§impl Debug for MetadataRegistration
impl Debug for MetadataRegistration
impl Eq for MetadataRegistration
Source§impl<'ʄ> Facet<'ʄ> for MetadataRegistration
Available on crate feature reflect only.
impl<'ʄ> Facet<'ʄ> for MetadataRegistration
reflect only.