Skip to content

Commit

Permalink
Fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorsington committed Apr 28, 2021
1 parent c93f49a commit 807c604
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Il2CppDumper/Outputs/StructGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public void WriteScript(string outputDir)
{
orderedRVAPointers[i] = il2Cpp.GetRVA(orderedPointers[i]);
}
json.Addresses = orderedRVAPointers.ToList();
json.Addresses = orderedRVAPointers;
// 处理MetadataUsage
if (il2Cpp.Version >= 27)
{
Expand Down Expand Up @@ -347,9 +347,9 @@ public void WriteScript(string outputDir)
value = x.Value,
address = $"0x{x.Address:X}"
}).ToArray();
File.WriteAllText(outputDir + "stringliteral.json", JsonConvert.SerializeObject(stringLiterals, Formatting.Indented), new UTF8Encoding(false));
//File.WriteAllText(outputDir + "stringliteral.json", JsonConvert.SerializeObject(stringLiterals, Formatting.Indented), new UTF8Encoding(false));
//写入文件
File.WriteAllText(outputDir + "script.json", JsonConvert.SerializeObject(json, Formatting.Indented));
//File.WriteAllText(outputDir + "script.json", JsonConvert.SerializeObject(json, Formatting.Indented));
//il2cpp.h
for (int i = 0; i < genericClassList.Count; i++)
{
Expand Down

0 comments on commit 807c604

Please sign in to comment.