diff --git a/Ghidra/Features/MicrosoftDemangler/src/main/java/ghidra/app/util/demangler/microsoft/MicrosoftDemangler.java b/Ghidra/Features/MicrosoftDemangler/src/main/java/ghidra/app/util/demangler/microsoft/MicrosoftDemangler.java index 0cd7171070..5e1daa680e 100644 --- a/Ghidra/Features/MicrosoftDemangler/src/main/java/ghidra/app/util/demangler/microsoft/MicrosoftDemangler.java +++ b/Ghidra/Features/MicrosoftDemangler/src/main/java/ghidra/app/util/demangler/microsoft/MicrosoftDemangler.java @@ -112,7 +112,7 @@ public class MicrosoftDemangler implements Demangler { if (mdType == null) { return null; } - String originalDemangled = item.toString(); + String originalDemangled = mdType.toString(); demangler.getOutputOptions().setUseEncodedAnonymousNamespace(true); dataType = MicrosoftDemanglerUtil.convertToDemangledDataType(mdType, mangled, originalDemangled);