Skip to content

Instantly share code, notes, and snippets.

#include <Windows.h>
#include <memory>
class fastJumpOnBike {
public:
fastJumpOnBike() {
unsigned long oldVP = 0;
VirtualProtect(addr, 0x12, PAGE_EXECUTE_READWRITE, &oldVP);
std::memset(addr, 0x90, 0x12);
@4el0ve4ik
4el0ve4ik / main.cpp
Created October 13, 2022 17:16
bullyWindowedMode plugin
#include <Windows.h>
#include <process.h>
RECT Size = { 0,0,800,480 };
using tProcWMMessage = bool(__stdcall*)(unsigned int);
tProcWMMessage procWMMessage = nullptr;
unsigned long hookedProcWM(bool stat) {
return false;
}
// ==UserScript==
// @name Tea Coins Helper
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author DXM & molimawka
// @match https://game.qw0.ru/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=qw0.ru
// @grant none
// @run-at document-idle
@4el0ve4ik
4el0ve4ik / main.cpp
Last active September 14, 2023 20:30
radarrect.ASI source
#include <Windows.h>
#include <cmath>
float flt = 0.000001f;
void InjectJmp(unsigned long _offset, void* target){
void *pBlock = VirtualAlloc(0, 0x1000, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
unsigned long Protection;
VirtualProtect((void*)_offset, 5, PAGE_EXECUTE_READWRITE, &Protection);
#include <Windows.h>
BOOL __stdcall DllMain(HINSTANCE, DWORD fdwReason, LPVOID) {
if (fdwReason == 1) {
DWORD oldProt = 0;
void* adr = reinterpret_cast<void*>(0x4061BF);
VirtualProtect(adr, 6, PAGE_EXECUTE_READWRITE, &oldProt);
*reinterpret_cast<BYTE*>(0x4061BF) = 0x2B;
*reinterpret_cast<BYTE*>(0x4061C2) = 0xEB;
VirtualProtect(adr, 6, oldProt, NULL);