diff --git a/Il2CppInspector.Common/IL2CPP/MetadataUsage.cs b/Il2CppInspector.Common/IL2CPP/MetadataUsage.cs index bfca78a..4ef31f3 100644 --- a/Il2CppInspector.Common/IL2CPP/MetadataUsage.cs +++ b/Il2CppInspector.Common/IL2CPP/MetadataUsage.cs @@ -1,6 +1,6 @@ /* Copyright (c) 2019-2020 Carter Bush - https://github.com/carterbush - Copyright (c) 2020 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com + Copyright (c) 2020 Katy Coe - http://www.djkaty.com - https://github.com/djkaty Copyright 2020 Robert Xiao - https://robertxiao.ca All rights reserved. diff --git a/Il2CppInspector.Common/Outputs/JSONMetadata.cs b/Il2CppInspector.Common/Outputs/JSONMetadata.cs index e559753..b86765f 100644 --- a/Il2CppInspector.Common/Outputs/JSONMetadata.cs +++ b/Il2CppInspector.Common/Outputs/JSONMetadata.cs @@ -179,11 +179,11 @@ namespace Il2CppInspector.Outputs } private void writeExports() { - var exports = model.Package.Binary.GetAPIExports(); + var exports = model.Exports; writeArray("exports", () => { foreach (var export in exports) { - writeObject(() => writeName(export.Value, export.Key)); + writeObject(() => writeName(export.VirtualAddress, export.Name)); } }, "Exports"); }