C++: Output DLL injection boilerplate project
This commit is contained in:
234
Il2CppInspector.Common/Properties/Resources.Designer.cs
generated
234
Il2CppInspector.Common/Properties/Resources.Designer.cs
generated
@@ -60,6 +60,192 @@ namespace Il2CppInspector.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to // Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
||||
///
|
||||
///#define WIN32_LEAN_AND_MEAN
|
||||
///#include "windows.h"
|
||||
///#include "dllmain.h"
|
||||
///
|
||||
///// DLL entry point
|
||||
///BOOL APIENTRY DllMain( HMODULE hModule,
|
||||
/// DWORD ul_reason_for_call,
|
||||
/// LPVOID lpReserved
|
||||
/// )
|
||||
///{
|
||||
/// switch (ul_reason_for_call)
|
||||
/// {
|
||||
/// case DLL_PROCESS_ATTACH:
|
||||
/// init_il2cpp();
|
||||
/// CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) Run, NULL, [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_DLLMainCpp {
|
||||
get {
|
||||
return ResourceManager.GetString("Cpp-DLLMainCpp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to // Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
||||
///
|
||||
///// Entry point declaration for custom injected code
|
||||
///void Run();
|
||||
///
|
||||
///// IL2CPP initializer
|
||||
///void init_il2cpp();.
|
||||
/// </summary>
|
||||
internal static string Cpp_DLLMainH {
|
||||
get {
|
||||
return ResourceManager.GetString("Cpp-DLLMainH", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to // Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
||||
///// Logging functions
|
||||
///
|
||||
///#define WIN32_LEAN_AND_MEAN
|
||||
///#define WIN32_EXTRA_LEAN
|
||||
///#include <windows.h>
|
||||
///#include "helpers.h"
|
||||
///
|
||||
///// Write some text to the log file
|
||||
///void LogWrite(std::string text)
|
||||
///{
|
||||
/// HANDLE hfile = CreateFileW(LOG_FILE, FILE_APPEND_DATA, FILE_SHARE_READ, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
///
|
||||
/// if (hfile == INVALID_HANDLE_VALUE)
|
||||
/// MessageBox(0, L"Could not open log file", 0, [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_HelpersCpp {
|
||||
get {
|
||||
return ResourceManager.GetString("Cpp-HelpersCpp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to // Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
||||
///// Logging functions
|
||||
///
|
||||
///#pragma once
|
||||
///#include <string>
|
||||
///#include <sstream>
|
||||
///#include <iomanip>
|
||||
///
|
||||
///extern const LPCWSTR LOG_FILE;
|
||||
///
|
||||
///// Helper function to append text to a file
|
||||
///void LogWrite(std::string text);
|
||||
///
|
||||
///// Helper function to convert a pointer to hex
|
||||
///template<typename T> std::string to_hex_string(T i) {
|
||||
/// std::stringstream stream;
|
||||
/// stream << "0x" << std::setfill('0') << std::setw(sizeof(T) * 2) << [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_HelpersH {
|
||||
get {
|
||||
return ResourceManager.GetString("Cpp-HelpersH", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to // Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
||||
///// IL2CPP application initializer
|
||||
///
|
||||
///#pragma once
|
||||
///
|
||||
///#include <cstdint>
|
||||
///
|
||||
///// Application-specific types
|
||||
///#include "il2cpp-types.h"
|
||||
///
|
||||
///// IL2CPP API function pointers
|
||||
///#include "il2cpp-function-ptr.h"
|
||||
///
|
||||
///// IL2CPP APIs
|
||||
///#define DO_API(r, n, p) r (*n) p
|
||||
///#include "il2cpp-api-functions.h"
|
||||
///#undef DO_API
|
||||
///
|
||||
///// Application-specific functions
|
||||
///#define DO_APP_FUNC(a, r, n, p) r (*n) p
|
||||
///#include "il2cpp-functions.h"
|
||||
///#und [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_IL2CPPInitH {
|
||||
get {
|
||||
return ResourceManager.GetString("Cpp-IL2CPPInitH", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to // Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
||||
///// Custom injected code entry point
|
||||
///
|
||||
///#include "il2cpp-init.h"
|
||||
///#include "helpers.h"
|
||||
///
|
||||
///using namespace app;
|
||||
///
|
||||
///// Set the name of your log file here
|
||||
///extern const LPCWSTR LOG_FILE = L"il2cpp-log.txt";
|
||||
///
|
||||
///// Injected code entry point
|
||||
///void Run()
|
||||
///{
|
||||
/// LogWrite("Startup");
|
||||
///
|
||||
/// // Place your custom code here
|
||||
///}.
|
||||
/// </summary>
|
||||
internal static string Cpp_MainCpp {
|
||||
get {
|
||||
return ResourceManager.GetString("Cpp-MainCpp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to <?xml version="1.0" encoding="utf-8"?>
|
||||
///<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
/// <ItemGroup Label="ProjectConfigurations">
|
||||
/// <ProjectConfiguration Include="Debug|Win32">
|
||||
/// <Configuration>Debug</Configuration>
|
||||
/// <Platform>Win32</Platform>
|
||||
/// </ProjectConfiguration>
|
||||
/// <ProjectConfiguration Include="Release|Win32">
|
||||
/// <Configuration>Release</Configuration>
|
||||
/// <Platform>Win32</Platform>
|
||||
/// </ProjectConfiguration>
|
||||
/// <ProjectCon [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string CppProjTemplate {
|
||||
get {
|
||||
return ResourceManager.GetString("CppProjTemplate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
///# Visual Studio Version 16
|
||||
///VisualStudioVersion = 16.0.30204.135
|
||||
///MinimumVisualStudioVersion = 10.0.40219.1
|
||||
///Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "%PROJECTNAME%", "%PROJECTFILE%", "{%PROJECTGUID%}"
|
||||
///EndProject
|
||||
///Global
|
||||
/// GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
/// Debug|x64 = Debug|x64
|
||||
/// Debug|x86 = Debug|x86
|
||||
/// Release|x64 = Release|x64
|
||||
/// Release|x86 = Release|x86
|
||||
/// EndGlobalSection
|
||||
/// GlobalSection(ProjectConfig [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string CppSlnTemplate {
|
||||
get {
|
||||
return ResourceManager.GetString("CppSlnTemplate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to <?xml version="1.0" encoding="utf-8"?>
|
||||
///<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
@@ -80,6 +266,30 @@ namespace Il2CppInspector.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
///# Visual Studio Version 16
|
||||
///%PROJECTDEFINITIONS%
|
||||
///Global
|
||||
/// GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
/// Debug|Any CPU = Debug|Any CPU
|
||||
/// Release|Any CPU = Release|Any CPU
|
||||
/// EndGlobalSection
|
||||
/// GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
///%PROJECTCONFIGURATIONS%
|
||||
/// EndGlobalSection
|
||||
/// GlobalSection(SolutionProperties) = preSolution
|
||||
/// HideSolutionNode = FALSE
|
||||
/// EndGlobalSection
|
||||
///EndGlobal
|
||||
///.
|
||||
/// </summary>
|
||||
internal static string CsSlnTemplate {
|
||||
get {
|
||||
return ResourceManager.GetString("CsSlnTemplate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {%PROJECTGUID%}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
/// {%PROJECTGUID%}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
@@ -103,29 +313,5 @@ namespace Il2CppInspector.Properties {
|
||||
return ResourceManager.GetString("SlnProjectDefinition", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
///# Visual Studio Version 16
|
||||
///%PROJECTDEFINITIONS%
|
||||
///Global
|
||||
/// GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
/// Debug|Any CPU = Debug|Any CPU
|
||||
/// Release|Any CPU = Release|Any CPU
|
||||
/// EndGlobalSection
|
||||
/// GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
///%PROJECTCONFIGURATIONS%
|
||||
/// EndGlobalSection
|
||||
/// GlobalSection(SolutionProperties) = preSolution
|
||||
/// HideSolutionNode = FALSE
|
||||
/// EndGlobalSection
|
||||
///EndGlobal
|
||||
///.
|
||||
/// </summary>
|
||||
internal static string SlnTemplate {
|
||||
get {
|
||||
return ResourceManager.GetString("SlnTemplate", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user