INNER CODE UNIT · C++
klass
Perfare/Zygisk-Il2CppDumper · module/src/main/cpp/il2cpp_dump.cpp:411
auto klass = il2cpp_class_from_system_type((Il2CppReflectionType *) items[j]);
auto type = il2cpp_class_get_type(klass);
//LOGD("type name : %s", il2cpp_type_get_name(type));
auto outPut = imageStr.str() + dump_type(type);
outPuts.push_back(outPut);
}
}
}
LOGI("write dump file");
auto outPath = std::string(outDir).append("/files/dump.cs");
std::ofstream outStream(outPath);
outStream << imageOutput.str();
auto count = outPuts.size();
for (int i = 0; i < count; ++i) {
outStream << outPuts[i];
}
outStream.close();
LOGI("dump done!");