43 lines
1.0 KiB
C++
43 lines
1.0 KiB
C++
// Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
|
// Custom injected code entry point
|
|
|
|
#include "pch-il2cpp.h"
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <Windows.h>
|
|
#include <iostream>
|
|
#include "il2cpp-appdata.h"
|
|
#include "helpers.h"
|
|
|
|
#include <chrono>
|
|
#include <thread>
|
|
|
|
#include "wrapper.h"
|
|
#include "object.h"
|
|
|
|
// Set the name of your log file here
|
|
extern const LPCWSTR LOG_FILE = L"DevourClient.txt";
|
|
|
|
// Custom injected code entry point
|
|
void Run()
|
|
{
|
|
// Initialize thread data - DO NOT REMOVE
|
|
il2cpp_thread_attach(il2cpp_domain_get());
|
|
|
|
// If you would like to write to a log file, specify the name above and use il2cppi_log_write()
|
|
il2cppi_log_write("Initializg..");
|
|
|
|
// If you would like to output to a new console window, use il2cppi_new_console() to open one and redirect stdout
|
|
il2cppi_new_console();
|
|
|
|
Wrapper* wrapper = new Wrapper();
|
|
|
|
while (true) {
|
|
if (GetAsyncKeyState(VK_F1) & 0x8000) {
|
|
|
|
|
|
}
|
|
|
|
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
|
}
|
|
} |