Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Updated game offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaumaus committed Mar 2, 2021
1 parent 4da3483 commit 176b18b
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 37 deletions.
13 changes: 8 additions & 5 deletions Le_Chiffre/Le_Chiffre.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "misc/config.hpp"
#include "misc/xor.hpp"
// #include "sig_scanner.hpp"
// #include <cstddef>
// #include "overlay/overlay.hpp"

using std::cout;
Expand Down Expand Up @@ -58,9 +59,6 @@ int main() {
srand((unsigned int)time(NULL));

Memory mem;

// SigScanner ss(mem.tProcess);
// ::std::ptrdiff_t dwEntityList = ss.find_signature("\x55\x8B\xEC\x51\x53\x8A\x5D\x08", "xxxxxxxx", mem.clientBaseAddr, mem.clientBaseAddr + mem.clientSize); // a test offset scan

Client client(&mem);
Hacks hacks(&mem, &client);
Expand All @@ -80,10 +78,15 @@ int main() {
char* no = XorStr("NO");

cout << std::string(10, '\b');
cout << XorStr("Le Chiffre ") << CHEAT_VERSION << XorStr(" [26 Feb, 2021]") << endl << endl;

/*SigScanner ss(mem.tProcess);
::std::ptrdiff_t dwEntityList = (intptr_t)ss.find("55 8B EC 51 53 8A 5D 08", mem.clientBaseAddr, mem.clientSize);
cout << "dwEntityList " << dwEntityList << endl; */

cout << XorStr("Le Chiffre ") << CHEAT_VERSION << XorStr(" [3 Mar, 2021]") << endl << endl;
cout << XorStr("The official website: https://lechiffre.now.sh") << endl;
cout << XorStr("Support the developer: https://donationalerts.com/r/fuckblm") << endl << endl;

// TODO: Refactor
cout << XorStr("State:");
cout << XorStr("\n Connected to CS:GO process: ");
Expand Down
4 changes: 2 additions & 2 deletions Le_Chiffre/memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "misc/config.hpp"

struct MODULE {
DWORD base;
/*BYTE* */DWORD base;
DWORD size;
};

Expand Down Expand Up @@ -68,7 +68,7 @@ class Memory {
do {
if (!wcscmp(me32.szModule, moduleName)) {
CloseHandle(hmodule);
return { (DWORD)me32.modBaseAddr, (DWORD)me32.modBaseSize };
return { (DWORD)me32.modBaseAddr, me32.modBaseSize };
}
} while (Module32Next(hmodule, &me32));

Expand Down
2 changes: 1 addition & 1 deletion Le_Chiffre/misc/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "xor.hpp"

namespace {
const ::std::string CHEAT_VERSION = XorStr("v1.1.5");
const ::std::string CHEAT_VERSION = XorStr("v1.1.6");
const wchar_t* HOST = L"api.github.com";
const wchar_t* PATH = L"/repos/blaumaus/le_chiffre/tags?per_page=1";
const wchar_t* TARGET = L"csgo.exe";
Expand Down
58 changes: 29 additions & 29 deletions Le_Chiffre/signatures.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#include <cstdint>
#include <cstddef>

// 2021-02-26 13:19:19.634289600 UTC
// 2021-03-02 18:27:17.307586 UTC

namespace hazedumper {
constexpr ::std::int64_t timestamp = 1614345559;
constexpr ::std::int64_t timestamp = 1614709637;
namespace netvars {
constexpr ::std::ptrdiff_t cs_gamerules_data = 0x0;
constexpr ::std::ptrdiff_t m_ArmorValue = 0xB378;
Expand Down Expand Up @@ -111,45 +111,45 @@ namespace hazedumper {
constexpr ::std::ptrdiff_t dwClientState_PlayerInfo = 0x52C0;
constexpr ::std::ptrdiff_t dwClientState_State = 0x108;
constexpr ::std::ptrdiff_t dwClientState_ViewAngles = 0x4D90;
constexpr ::std::ptrdiff_t dwEntityList = 0x4DA2F34;
constexpr ::std::ptrdiff_t dwForceAttack = 0x31D4470;
constexpr ::std::ptrdiff_t dwForceAttack2 = 0x31D447C;
constexpr ::std::ptrdiff_t dwForceBackward = 0x31D44AC;
constexpr ::std::ptrdiff_t dwForceForward = 0x31D4488;
constexpr ::std::ptrdiff_t dwForceJump = 0x524CE94;
constexpr ::std::ptrdiff_t dwForceLeft = 0x31D44A0;
constexpr ::std::ptrdiff_t dwForceRight = 0x31D44C4;
constexpr ::std::ptrdiff_t dwEntityList = 0x4DA2F24;
constexpr ::std::ptrdiff_t dwForceAttack = 0x31D446C;
constexpr ::std::ptrdiff_t dwForceAttack2 = 0x31D4478;
constexpr ::std::ptrdiff_t dwForceBackward = 0x31D44C0;
constexpr ::std::ptrdiff_t dwForceForward = 0x31D44CC;
constexpr ::std::ptrdiff_t dwForceJump = 0x524CE84;
constexpr ::std::ptrdiff_t dwForceLeft = 0x31D44E4;
constexpr ::std::ptrdiff_t dwForceRight = 0x31D44D8;
constexpr ::std::ptrdiff_t dwGameDir = 0x62D7F8;
constexpr ::std::ptrdiff_t dwGameRulesProxy = 0x52C017C;
constexpr ::std::ptrdiff_t dwGetAllClasses = 0xDB2F9C;
constexpr ::std::ptrdiff_t dwGameRulesProxy = 0x52C016C;
constexpr ::std::ptrdiff_t dwGetAllClasses = 0xDB2FAC;
constexpr ::std::ptrdiff_t dwGlobalVars = 0x58ECE8;
constexpr ::std::ptrdiff_t dwGlowObjectManager = 0x52EB550;
constexpr ::std::ptrdiff_t dwInput = 0x51F4518;
constexpr ::std::ptrdiff_t dwInterfaceLinkList = 0x946064;
constexpr ::std::ptrdiff_t dwLocalPlayer = 0xD8B2CC;
constexpr ::std::ptrdiff_t dwMouseEnable = 0xD90E70;
constexpr ::std::ptrdiff_t dwMouseEnablePtr = 0xD90E40;
constexpr ::std::ptrdiff_t dwPlayerResource = 0x31D27F0;
constexpr ::std::ptrdiff_t dwRadarBase = 0x51D7CAC;
constexpr ::std::ptrdiff_t dwSensitivity = 0xD90D0C;
constexpr ::std::ptrdiff_t dwSensitivityPtr = 0xD90CE0;
constexpr ::std::ptrdiff_t dwGlowObjectManager = 0x52EB518;
constexpr ::std::ptrdiff_t dwInput = 0x51F4508;
constexpr ::std::ptrdiff_t dwInterfaceLinkList = 0x946254;
constexpr ::std::ptrdiff_t dwLocalPlayer = 0xD8B2DC;
constexpr ::std::ptrdiff_t dwMouseEnable = 0xD90E80;
constexpr ::std::ptrdiff_t dwMouseEnablePtr = 0xD90E50;
constexpr ::std::ptrdiff_t dwPlayerResource = 0x31D27E0;
constexpr ::std::ptrdiff_t dwRadarBase = 0x51D7C9C;
constexpr ::std::ptrdiff_t dwSensitivity = 0xD90D1C;
constexpr ::std::ptrdiff_t dwSensitivityPtr = 0xD90CF0;
constexpr ::std::ptrdiff_t dwSetClanTag = 0x8A1A0;
constexpr ::std::ptrdiff_t dwViewMatrix = 0x4D94834;
constexpr ::std::ptrdiff_t dwWeaponTable = 0x51F4FD8;
constexpr ::std::ptrdiff_t dwViewMatrix = 0x4D94824;
constexpr ::std::ptrdiff_t dwWeaponTable = 0x51F4FC8;
constexpr ::std::ptrdiff_t dwWeaponTableIndex = 0x325C;
constexpr ::std::ptrdiff_t dwYawPtr = 0xD90AD0;
constexpr ::std::ptrdiff_t dwZoomSensitivityRatioPtr = 0xD95D70;
constexpr ::std::ptrdiff_t dwYawPtr = 0xD90AE0;
constexpr ::std::ptrdiff_t dwZoomSensitivityRatioPtr = 0xD95D80;
constexpr ::std::ptrdiff_t dwbSendPackets = 0xD745A;
constexpr ::std::ptrdiff_t dwppDirect3DDevice9 = 0xA7050;
constexpr ::std::ptrdiff_t find_hud_element = 0x2CAEE320;
constexpr ::std::ptrdiff_t find_hud_element = 0x2DB1E320;
constexpr ::std::ptrdiff_t force_update_spectator_glow = 0x3AD962;
constexpr ::std::ptrdiff_t interface_engine_cvar = 0x3E9EC;
constexpr ::std::ptrdiff_t is_c4_owner = 0x3BA430;
constexpr ::std::ptrdiff_t m_bDormant = 0xED;
constexpr ::std::ptrdiff_t m_flSpawnTime = 0xA370;
constexpr ::std::ptrdiff_t m_pStudioHdr = 0x294C;
constexpr ::std::ptrdiff_t m_pitchClassPtr = 0x51D7F48;
constexpr ::std::ptrdiff_t m_yawClassPtr = 0xD90AD0;
constexpr ::std::ptrdiff_t m_pitchClassPtr = 0x51D7F38;
constexpr ::std::ptrdiff_t m_yawClassPtr = 0xD90AE0;
constexpr ::std::ptrdiff_t model_ambient_min = 0x59205C;
constexpr ::std::ptrdiff_t set_abs_angles = 0x1DF9C0;
constexpr ::std::ptrdiff_t set_abs_origin = 0x1DF800;
Expand Down

1 comment on commit 176b18b

@vercel
Copy link

@vercel vercel bot commented on 176b18b Mar 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.