Skip to content

About il2cpp ForeachFields Static #54

Description

@LuoMillet

In this code, if you just use
pField->static_field = pField->offset <= 0;
To judge as static, the static field in some structures has an offset. I encountered one with an offset of 0x8 but it is really static, so this is a problem.
Maybe you can use il2cpp_field_get_flags to determine whether static or not

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions