INNER CODE UNIT · C++
prop
Perfare/Zygisk-Il2CppDumper · module/src/main/cpp/il2cpp_dump.cpp:164
auto prop = const_cast<PropertyInfo *>(prop_const);
auto get = il2cpp_property_get_get_method(prop);
auto set = il2cpp_property_get_set_method(prop);
auto prop_name = il2cpp_property_get_name(prop);
outPut << "\t";
Il2CppClass *prop_class = nullptr;
uint32_t iflags = 0;
if (get) {
outPut << get_method_modifier(il2cpp_method_get_flags(get, &iflags));
prop_class = il2cpp_class_from_type(il2cpp_method_get_return_type(get));
} else if (set) {
outPut << get_method_modifier(il2cpp_method_get_flags(set, &iflags));
auto param = il2cpp_method_get_param(set, 0);
prop_class = il2cpp_class_from_type(param);
}
if (prop_class) {
outPut << il2cpp_class_get_name(prop_class) << " " << prop_name << " { ";
if (get) {