diff --git a/Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs b/Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs index 089b8e6..8ad8a39 100644 --- a/Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs +++ b/Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs @@ -542,7 +542,7 @@ namespace Il2CppInspector.Cpp } /* Reserve commonly defined C++ symbols for MSVC DLL projects */ /* This is not an exhaustive list! (windows.h etc.) */ - foreach (var symbol in new[] {"_int32", "DEFAULT_CHARSET", "FILETIME", "NULL", "SYSTEMTIME", "stderr", "stdin", "stdout", "Sleep"}) { + foreach (var symbol in new[] {"_int32", "DEFAULT_CHARSET", "FILETIME", "NULL", "SYSTEMTIME", "stderr", "stdin", "stdout", "Sleep", "PlatformInformation", "LoadResource"}) { ns.ReserveName(symbol); } /* Reserve builtin keywords in IDA */