C++: Rename il2cpp-api-functions-ptr.h and il2cpp-types-ptr.h
This commit is contained in:
@@ -122,6 +122,7 @@ namespace Il2CppInspector.Properties {
|
||||
///
|
||||
///#include <string>
|
||||
///#include <sstream>
|
||||
///#include <iomanip>
|
||||
///
|
||||
///// Helper function to get the module base address
|
||||
///uintptr_t GetBaseAddress();
|
||||
@@ -133,7 +134,7 @@ namespace Il2CppInspector.Properties {
|
||||
///void NewConsole();
|
||||
///
|
||||
///// Helper function to convert a pointer to hex
|
||||
///template<typename T> std::string to_hex_string(T [rest of string was truncated]";.
|
||||
///template<t [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_HelpersH {
|
||||
get {
|
||||
@@ -153,7 +154,7 @@ namespace Il2CppInspector.Properties {
|
||||
///#include "il2cpp-types.h"
|
||||
///
|
||||
///// IL2CPP API function pointers
|
||||
///#include "il2cpp-function-ptr.h"
|
||||
///#include "il2cpp-api-functions-ptr.h"
|
||||
///
|
||||
///// IL2CPP APIs
|
||||
///#define DO_API(r, n, p) extern r (*n) p
|
||||
@@ -163,8 +164,7 @@ namespace Il2CppInspector.Properties {
|
||||
///// Application-specific functions
|
||||
///#define DO_APP_FUNC(a, r, n, p) extern r (*n) p
|
||||
///namespace app {
|
||||
/// #include "il2cpp-functions.h"
|
||||
///} [rest of string was truncated]";.
|
||||
/// #incl [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_Il2CppAppDataH {
|
||||
get {
|
||||
@@ -195,7 +195,7 @@ namespace Il2CppInspector.Properties {
|
||||
///#undef DO_APP_FUNC
|
||||
///
|
||||
///// TypeInfo pointers
|
||||
///#define DO_TYPEDEF(a, n [rest of string was truncated]";.
|
||||
///# [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_Il2CppInitCpp {
|
||||
get {
|
||||
|
||||
@@ -190,6 +190,7 @@ void NewConsole() {
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
// Helper function to get the module base address
|
||||
uintptr_t GetBaseAddress();
|
||||
@@ -290,9 +291,9 @@ void Run()
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="appdata\il2cpp-api-functions.h" />
|
||||
<ClInclude Include="appdata\il2cpp-function-ptr.h" />
|
||||
<ClInclude Include="appdata\il2cpp-api-functions-ptr.h" />
|
||||
<ClInclude Include="appdata\il2cpp-functions.h" />
|
||||
<ClInclude Include="appdata\il2cpp-type-ptr.h" />
|
||||
<ClInclude Include="appdata\il2cpp-types-ptr.h" />
|
||||
<ClInclude Include="appdata\il2cpp-types.h" />
|
||||
<ClInclude Include="framework\helpers.h" />
|
||||
<ClInclude Include="framework\il2cpp-appdata.h" />
|
||||
@@ -1143,7 +1144,7 @@ EndGlobal
|
||||
#include "il2cpp-types.h"
|
||||
|
||||
// IL2CPP API function pointers
|
||||
#include "il2cpp-function-ptr.h"
|
||||
#include "il2cpp-api-functions-ptr.h"
|
||||
|
||||
// IL2CPP APIs
|
||||
#define DO_API(r, n, p) extern r (*n) p
|
||||
@@ -1160,7 +1161,7 @@ namespace app {
|
||||
// TypeInfo pointers
|
||||
#define DO_TYPEDEF(a, n) extern n ## __Class* n ## __TypeInfo
|
||||
namespace app {
|
||||
#include "il2cpp-type-ptr.h"
|
||||
#include "il2cpp-types-ptr.h"
|
||||
}
|
||||
#undef DO_TYPEDEF</value>
|
||||
</data>
|
||||
@@ -1189,7 +1190,7 @@ namespace app {
|
||||
// TypeInfo pointers
|
||||
#define DO_TYPEDEF(a, n) n ## __Class* n ## __TypeInfo
|
||||
namespace app {
|
||||
#include "il2cpp-type-ptr.h"
|
||||
#include "il2cpp-types-ptr.h"
|
||||
}
|
||||
#undef DO_TYPEDEF
|
||||
|
||||
@@ -1213,7 +1214,7 @@ void init_il2cpp()
|
||||
|
||||
// Define TypeInfo variables
|
||||
#define DO_TYPEDEF(a, n) n ## __TypeInfo = *(n ## __Class**) (baseAddress + a);
|
||||
#include "il2cpp-type-ptr.h"
|
||||
#include "il2cpp-types-ptr.h"
|
||||
#undef DO_TYPEDEF
|
||||
}</value>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user