add: bypass server player limit, items/goats/demons/azael ESP
This commit is contained in:
@@ -41,6 +41,14 @@ void il2cpp_close_console() {
|
||||
FreeConsole();
|
||||
}
|
||||
|
||||
bool string_replace(std::string& str, const std::string& from, const std::string& to) {
|
||||
size_t start_pos = str.find(from);
|
||||
if (start_pos == std::string::npos)
|
||||
return false;
|
||||
str.replace(start_pos, from.length(), to);
|
||||
return true;
|
||||
}
|
||||
|
||||
#if _MSC_VER >= 1920
|
||||
// Helper function to convert Il2CppString to std::string
|
||||
std::string il2cppi_to_string(Il2CppString* str) {
|
||||
@@ -52,6 +60,7 @@ std::string il2cppi_to_string(Il2CppString* str) {
|
||||
std::string il2cppi_to_string(app::String* str) {
|
||||
return il2cppi_to_string(reinterpret_cast<Il2CppString*>(str));
|
||||
}
|
||||
|
||||
app::String* ConvertToSystemString(const char* str)
|
||||
{
|
||||
Il2CppString* il2cpp_str = il2cpp_string_new(str);
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
#include "il2cpp-metadata-version.h"
|
||||
|
||||
#define il2cpp_object_get_field_value(object, type, field) *(type*)((uintptr_t)object + field->offset)
|
||||
|
||||
// Helper function to get the module base address
|
||||
uintptr_t il2cppi_get_base_address();
|
||||
|
||||
@@ -20,6 +22,8 @@ void il2cppi_new_console();
|
||||
|
||||
void il2cpp_close_console();
|
||||
|
||||
bool string_replace(std::string& str, const std::string& from, const std::string& to);
|
||||
|
||||
#if _MSC_VER >= 1920
|
||||
// Helper function to convert Il2CppString to std::string
|
||||
std::string il2cppi_to_string(Il2CppString* str);
|
||||
|
||||
Reference in New Issue
Block a user