26 lines
475 B
C++
26 lines
475 B
C++
#include "memory.hpp"
|
|
#include "overlay.hpp"
|
|
#include <stdint.h>
|
|
|
|
int main() {
|
|
run_overlay();
|
|
/*
|
|
if (!open_device())
|
|
return -1;
|
|
|
|
int pid = get_pid("nsnake");
|
|
if (!open_process(pid))
|
|
return -1;
|
|
|
|
uintptr_t addr = get_module("nsnake");
|
|
printf("module : 0x%lx\n", addr);
|
|
WPM<int>(addr + 0x1d71510, 1337);
|
|
|
|
int out = RPM<int>(addr + 0x1d71510);
|
|
printf("Value from RPM: %d\n", out);
|
|
|
|
close_device();
|
|
*/
|
|
return 0;
|
|
}
|