Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated The Cheat #162

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CS2_External/CS2_External.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,17 @@
<ClInclude Include="Bunnyhop.hpp" />
<ClInclude Include="Bone.h" />
<ClInclude Include="Aimbot.hpp" />
<ClInclude Include="buttons.hpp" />
<ClInclude Include="Cheats.h" />
<ClInclude Include="client.dll.hpp" />
<ClInclude Include="Entity.h" />
<ClInclude Include="Game.h" />
<ClInclude Include="Globals.hpp" />
<ClInclude Include="GlobalVars.h" />
<ClInclude Include="helper.h" />
<ClInclude Include="MenuConfig.hpp" />
<ClInclude Include="Offsets.h" />
<ClInclude Include="offsets.hpp" />
<ClInclude Include="OS-ImGui\imgui\imconfig.h" />
<ClInclude Include="OS-ImGui\imgui\imgui.h" />
<ClInclude Include="OS-ImGui\imgui\imgui_impl_dx11.h" />
Expand Down
15 changes: 15 additions & 0 deletions CS2_External/CS2_External.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<Filter Include="Utils\ConfigSaver">
<UniqueIdentifier>{aa25e002-e95d-4db7-a900-3cd9edf6338f}</UniqueIdentifier>
</Filter>
<Filter Include="Cheats\a2x">
<UniqueIdentifier>{fd8c28e8-4bd6-4c38-9562-ba895c956f46}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="OS-ImGui\imgui\imconfig.h">
Expand Down Expand Up @@ -132,6 +135,18 @@
<ClInclude Include="AntiFlashbang.hpp">
<Filter>Cheats</Filter>
</ClInclude>
<ClInclude Include="client.dll.hpp">
<Filter>Cheats\a2x</Filter>
</ClInclude>
<ClInclude Include="buttons.hpp">
<Filter>Cheats\a2x</Filter>
</ClInclude>
<ClInclude Include="offsets.hpp">
<Filter>Cheats\a2x</Filter>
</ClInclude>
<ClInclude Include="helper.h">
<Filter>Utils</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="OS-ImGui\imgui\imgui.cpp">
Expand Down
4 changes: 2 additions & 2 deletions CS2_External/Entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ bool CEntity::UpdatePawn(const DWORD64& PlayerPawnAddress)

bool PlayerController::GetTeamID()
{
return GetDataAddressWithOffset<int>(Address, Offset::Entity.TeamID, this->TeamID);
return GetDataAddressWithOffset<int>(Address, Offset::Pawn.iTeamNum, this->TeamID);
}

bool PlayerController::GetHealth()
{
return GetDataAddressWithOffset<int>(Address, Offset::Entity.Health, this->Health);
return GetDataAddressWithOffset<int>(Address, Offset::Pawn.CurrentHealth, this->Health);
}

bool PlayerController::GetIsAlive()
Expand Down
68 changes: 62 additions & 6 deletions CS2_External/Offsets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DWORD64 SearchOffsets(std::string Signature, DWORD64 ModuleAddress)
DWORD Offsets = 0;

TempAddressList = ProcessMgr.SearchMemory(Signature, ModuleAddress, ModuleAddress + 0x4000000);

if (TempAddressList.size() <= 0)
return 0;

Expand All @@ -23,7 +23,15 @@ bool Offset::UpdateOffsets()
DWORD64 ClientDLL = reinterpret_cast<DWORD64>(ProcessMgr.GetProcessModuleHandle("client.dll"));
if (ClientDLL == 0)
return false;


DWORD64 ServerDLL = reinterpret_cast<DWORD64>(ProcessMgr.GetProcessModuleHandle("server.dll"));
if (ServerDLL == 0)
return false;

DWORD64 InputDLL = reinterpret_cast<DWORD64>(ProcessMgr.GetProcessModuleHandle("inputsystem.dll"));
if (InputDLL == 0)
return false;

DWORD64 TempAddress = 0;

TempAddress = SearchOffsets(Offset::Signatures::EntityList, ClientDLL);
Expand Down Expand Up @@ -56,18 +64,66 @@ bool Offset::UpdateOffsets()
if (!ProcessMgr.ReadMemory(TempAddress, TempAddress))
return false;

Offset::ViewAngle = TempAddress + 0x6140 - ClientDLL;
Offset::ViewAngle = TempAddress + 0x5390 - ClientDLL;

TempAddress = SearchOffsets(Offset::Signatures::LocalPlayerPawn, ClientDLL);
if (TempAddress == 0)
return false;

Offset::LocalPlayerPawn = TempAddress + 0x138 - ClientDLL;
/*
TempAddress = SearchOffsets(Offset::Signatures::ForceJump, ClientDLL);
if (TempAddress == 0)
return false;

Offset::ForceJump = TempAddress + 0x30 - ClientDLL;


TempAddress = SearchOffsets(Offset::Signatures::ForceCrouch, ClientDLL);
if (TempAddress == 0)
return false;

Offset::ForceCrouch = TempAddress + 0x30 - ClientDLL;

TempAddress = SearchOffsets(Offset::Signatures::ForceForward, ClientDLL);
if (TempAddress == 0)
return false;

Offset::ForceForward = TempAddress + 0x30 - ClientDLL;

TempAddress = SearchOffsets(Offset::Signatures::ForceLeft, ClientDLL);
if (TempAddress == 0)
return false;

Offset::ForceLeft = TempAddress + 0x30 - ClientDLL;

TempAddress = SearchOffsets(Offset::Signatures::ForceJump, ClientDLL);
TempAddress = SearchOffsets(Offset::Signatures::ForceRight, ClientDLL);
if (TempAddress == 0)
return false;

Offset::ForceRight = TempAddress + 0x30 - ClientDLL;
*/

TempAddress = SearchOffsets(Offset::Signatures::PlantedC4, ClientDLL);
if (TempAddress == 0)
return false;

Offset::ForceJump = TempAddress + 0x30 - ClientDLL;
Offset::PlantedC4 = TempAddress - ClientDLL;

TempAddress = SearchOffsets(Offset::Signatures::dwSensitivity, ClientDLL);
if (TempAddress == 0)
return false;

Offset::Sensitivity = TempAddress - ClientDLL;

TempAddress = SearchOffsets(Offset::Signatures::InputSystem, InputDLL);
if (TempAddress == 0)
return false;

Offset::InputSystem = TempAddress - InputDLL;

ProcessMgr.ReadMemory(ClientDLL + Offset::LocalPlayerPawn, TempAddress);
Offset::Pointer = TempAddress;

return true;
}
}
179 changes: 145 additions & 34 deletions CS2_External/Offsets.h
Original file line number Diff line number Diff line change
@@ -1,48 +1,78 @@
#pragma once
#include <Windows.h>
#include "Utils/ProcessManager.hpp"
#include "Utils/Helpers.h"
#include "a2x/offsets.hpp"
#include "a2x/client.dll.hpp"
#include "a2x/buttons.hpp"

// From: https://github.com/a2x/cs2-dumper/blob/main/generated/client.dll.hpp
namespace Offset
{
inline DWORD EntityList;
inline DWORD ForceJump = cs2_dumper::buttons::jump;
inline DWORD ForceCrouch = cs2_dumper::buttons::duck;
inline DWORD ForceForward = cs2_dumper::buttons::forward;
inline DWORD ForceLeft = cs2_dumper::buttons::left;
inline DWORD ForceRight = cs2_dumper::buttons::right;

inline DWORD EntityList;// = cs2_dumper::offsets::client_dll::dwEntityList;
inline DWORD Matrix;
inline DWORD ViewAngle;
inline DWORD LocalPlayerController;
inline DWORD LocalPlayerPawn;
inline DWORD ForceJump;
inline DWORD GlobalVars;
inline DWORD InventoryServices;
inline DWORD PlantedC4;
inline DWORD InputSystem;
inline DWORD Sensitivity;
inline DWORD Pointer;

struct
{
DWORD Health = 0x32C;
DWORD TeamID = 0x3BF;
DWORD IsAlive = 0x7DC;
DWORD PlayerPawn = 0x5F4;
DWORD iszPlayerName = 0x628;
//DWORD Health = Offset::Pawn.CurrentHealth;
//DWORD TeamID = Offset::Pawn.iTeamNum;
DWORD IsAlive = cs2_dumper::schemas::client_dll::CCSPlayerController::m_bPawnIsAlive;
DWORD PlayerPawn = cs2_dumper::schemas::client_dll::CCSPlayerController::m_hPlayerPawn;
DWORD iszPlayerName = cs2_dumper::schemas::client_dll::CBasePlayerController::m_iszPlayerName;
//outdated DWORD EnemySensor = 0x1440;
DWORD GravityScale = cs2_dumper::schemas::client_dll::C_BaseEntity::m_flGravityScale;
}Entity;

struct
{
DWORD Pos = 0x1224;
DWORD MaxHealth = 0x328;
DWORD CurrentHealth = 0x32C;
DWORD GameSceneNode = 0x310;
DWORD BoneArray = 0x1E0;
DWORD angEyeAngles = 0x1510;
DWORD vecLastClipCameraPos = 0x128C;
DWORD pClippingWeapon = 0x12A8;
DWORD iShotsFired = 0x1418;
DWORD flFlashDuration = 0x1468;
DWORD aimPunchAngle = 0x1714;
DWORD aimPunchCache = 0x1738;
DWORD iIDEntIndex = 0x153C;
DWORD iTeamNum = 0x3BF;
DWORD CameraServices = 0x10E0;
DWORD iFovStart = 0x214;
DWORD fFlags = 0x3C8;
DWORD bSpottedByMask = 0x1630 + 0xC; // entitySpottedState + bSpottedByMask
}Pawn;
DWORD MovementServices = cs2_dumper::schemas::client_dll::C_BasePlayerPawn::m_pMovementServices; // CPlayer_MovementServices*
DWORD WeaponServices = cs2_dumper::schemas::client_dll::C_BasePlayerPawn::m_pWeaponServices; // CPlayer_WeaponServices*
DWORD BulletServices = cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_pBulletServices; // CCSPlayer_BulletServices*
DWORD CameraServices = cs2_dumper::schemas::client_dll::C_BasePlayerPawn::m_pCameraServices; // CPlayer_CameraServices*
DWORD ViewModelServices = cs2_dumper::schemas::client_dll::C_CSPlayerPawnBase::m_pViewModelServices; // CPlayer_ViewModelServices*
DWORD pClippingWeapon = cs2_dumper::schemas::client_dll::C_CSPlayerPawnBase::m_pClippingWeapon; // C_CSWeaponBase*

DWORD ViewModel = cs2_dumper::schemas::client_dll::CCSPlayer_ViewModelServices::m_hViewModel; // CCSPlayer_ViewModelServices::m_hViewModel
//wahss diz? DWORD StartAccount = 0x1490;
DWORD isScoped = cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_bIsScoped;
DWORD isDefusing = cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_bIsDefusing;
DWORD TotalHit = cs2_dumper::schemas::client_dll::CCSPlayer_BulletServices::m_totalHitsOnServer;
DWORD Pos = cs2_dumper::schemas::client_dll::C_BasePlayerPawn::m_vOldOrigin;// C_BasePlayerPawn::m_vOldOrigin
DWORD CurrentArmor = cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_ArmorValue;// C_CSPlayerPawn::m_ArmorValue
DWORD MaxHealth = cs2_dumper::schemas::client_dll::C_BaseEntity::m_iMaxHealth; // C_BaseEntity::m_iMaxHealth
DWORD CurrentHealth = cs2_dumper::schemas::client_dll::C_BaseEntity::m_iHealth;// C_BaseEntity::m_iHealth
DWORD GameSceneNode = cs2_dumper::schemas::client_dll::C_BaseEntity::m_pGameSceneNode; // C_BaseEntity::m_pGameSceneNode
DWORD BoneArray = cs2_dumper::schemas::client_dll::CSkeletonInstance::m_modelState + cs2_dumper::schemas::client_dll::CGameSceneNode::m_vecOrigin; // CSkeletonInstance_::m_modelState + CGameSceneNode_::m_vecOrigin
DWORD angEyeAngles = cs2_dumper::schemas::client_dll::C_CSPlayerPawnBase::m_angEyeAngles;
DWORD vecLastClipCameraPos = cs2_dumper::schemas::client_dll::C_CSPlayerPawnBase::m_vecLastClipCameraPos;
DWORD iShotsFired = cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_iShotsFired;
DWORD flFlashMaxAlpha = cs2_dumper::schemas::client_dll::C_CSPlayerPawnBase::m_flFlashMaxAlpha;
DWORD flFlashDuration = cs2_dumper::schemas::client_dll::C_CSPlayerPawnBase::m_flFlashDuration;
DWORD aimPunchAngle = cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_aimPunchAngle; // C_CSPlayerPawn::m_aimPunchAngle
DWORD aimPunchCache = cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_aimPunchCache;
DWORD iIDEntIndex = cs2_dumper::schemas::client_dll::C_CSPlayerPawnBase::m_iIDEntIndex;
DWORD iTeamNum = cs2_dumper::schemas::client_dll::C_BaseEntity::m_iTeamNum;
DWORD DesiredFov = cs2_dumper::schemas::client_dll::CBasePlayerController::m_iDesiredFOV;
DWORD iFovStart = cs2_dumper::schemas::client_dll::CCSPlayerBase_CameraServices::m_iFOVStart;
DWORD fFlags = cs2_dumper::schemas::client_dll::C_BaseEntity::m_fFlags;
DWORD bSpottedByMask = cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_entitySpottedState + cs2_dumper::schemas::client_dll::EntitySpottedState_t::m_bSpottedByMask; // C_CSPlayerPawn::entitySpottedState + EntitySpottedState_t::bSpottedByMask
DWORD AbsVelocity = cs2_dumper::schemas::client_dll::C_BaseEntity::m_vecAbsVelocity;
DWORD IsBuying = cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_bIsBuyMenuOpen;
} Pawn;

struct
{
Expand All @@ -59,16 +89,97 @@ namespace Offset
DWORD CurrentMapName = 0x0188;
} GlobalVar;

struct
{
DWORD m_hPawn = cs2_dumper::schemas::client_dll::CBasePlayerController::m_hPawn;
DWORD m_pObserverServices = cs2_dumper::schemas::client_dll::C_BasePlayerPawn::m_pObserverServices;
DWORD m_hObserverTarget = cs2_dumper::schemas::client_dll::CPlayer_ObserverServices::m_hObserverTarget;
DWORD m_hController = cs2_dumper::schemas::client_dll::C_BasePlayerPawn::m_hController;
DWORD PawnArmor = cs2_dumper::schemas::client_dll::CCSPlayerController::m_iPawnArmor;
DWORD HasDefuser = cs2_dumper::schemas::client_dll::CCSPlayerController::m_bPawnHasDefuser;
DWORD HasHelmet = cs2_dumper::schemas::client_dll::CCSPlayerController::m_bPawnHasHelmet;
} PlayerController;

struct
{
DWORD AttributeManager = cs2_dumper::schemas::client_dll::C_EconEntity::m_AttributeManager; // C_AttributeContainer
DWORD FallbackPaintKit = cs2_dumper::schemas::client_dll::C_EconEntity::m_nFallbackPaintKit;
DWORD FallbackSeed = cs2_dumper::schemas::client_dll::C_EconEntity::m_nFallbackSeed;
DWORD FallbackWear = cs2_dumper::schemas::client_dll::C_EconEntity::m_flFallbackWear;
DWORD FallbackStatTrak = cs2_dumper::schemas::client_dll::C_EconEntity::m_nFallbackStatTrak;
DWORD szCustomName = cs2_dumper::schemas::client_dll::C_EconItemView::m_szCustomName;

DWORD EntityQuality = cs2_dumper::schemas::client_dll::C_EconItemView::m_iEntityQuality; // EconItemView::m_iEntityQuality
DWORD ItemIDHigh = cs2_dumper::schemas::client_dll::C_EconItemView::m_iItemIDHigh; // EconItemView::m_iItemIDHigh
} EconEntity;

struct
{
//DWORD ClippingWeapon = Offset::Pawn.pClippingWeapon; // WeaponBase
DWORD WeaponDataPTR = 0x368;
DWORD szName = cs2_dumper::schemas::client_dll::CCSWeaponBaseVData::m_szName;
DWORD Clip1 = cs2_dumper::schemas::client_dll::C_BasePlayerWeapon::m_iClip1; // C_BasePlayerWeapon::m_iClip1
DWORD MaxClip = cs2_dumper::schemas::client_dll::CBasePlayerWeaponVData::m_iMaxClip1; // CBasePlayerWeaponVData::m_iMaxClip1
DWORD CycleTime = cs2_dumper::schemas::client_dll::CCSWeaponBaseVData::m_flCycleTime;
DWORD Penetration = cs2_dumper::schemas::client_dll::CCSWeaponBaseVData::m_flPenetration;
DWORD WeaponType = cs2_dumper::schemas::client_dll::CCSWeaponBaseVData::m_WeaponType;
DWORD Inaccuracy = cs2_dumper::schemas::client_dll::CCSWeaponBaseVData::m_flInaccuracyMove; // CCSWeaponBaseVData::m_flInaccuracyMove
DWORD inReload = cs2_dumper::schemas::client_dll::C_CSWeaponBase::m_bInReload;

DWORD WeaponSize = 0x50;
DWORD ActiveWeapon = cs2_dumper::schemas::client_dll::CPlayer_WeaponServices::m_hActiveWeapon;
DWORD Item = cs2_dumper::schemas::client_dll::C_AttributeContainer::m_Item; // C_AttributeContainer::m_Item
DWORD ItemDefinitionIndex = cs2_dumper::schemas::client_dll::C_EconItemView::m_iItemDefinitionIndex;
DWORD m_MeshGroupMask = cs2_dumper::schemas::client_dll::CModelState::m_MeshGroupMask; // CModelState::m_MeshGroupMask
} WeaponBaseData;

struct
{
DWORD m_bBeingDefused = cs2_dumper::schemas::client_dll::C_PlantedC4::m_bBeingDefused;
DWORD m_flDefuseCountDown = cs2_dumper::schemas::client_dll::C_PlantedC4::m_flDefuseCountDown;
DWORD m_nBombSite = cs2_dumper::schemas::client_dll::C_PlantedC4::m_nBombSite;
} C4;

struct
{
DWORD MoneyServices = cs2_dumper::schemas::client_dll::CCSPlayerController::m_pInGameMoneyServices;
DWORD Account = cs2_dumper::schemas::client_dll::CCSPlayerController_InGameMoneyServices::m_iAccount;
DWORD TotalCashSpent = cs2_dumper::schemas::client_dll::CCSPlayerController_InGameMoneyServices::m_iTotalCashSpent;
DWORD CashSpentThisRound = cs2_dumper::schemas::client_dll::CCSPlayerController_InGameMoneyServices::m_iCashSpentThisRound;
} InGameMoneyServices;

struct // C_BaseCSGrenadeProjectile
{
DWORD nSmokeEffectTickBegin = cs2_dumper::schemas::client_dll::C_SmokeGrenadeProjectile::m_nSmokeEffectTickBegin; // int32_t
DWORD bDidSmokeEffect = cs2_dumper::schemas::client_dll::C_SmokeGrenadeProjectile::m_bDidSmokeEffect; // bool
DWORD nRandomSeed = cs2_dumper::schemas::client_dll::C_SmokeGrenadeProjectile::m_nRandomSeed; // int32_t
DWORD vSmokeColor = cs2_dumper::schemas::client_dll::C_SmokeGrenadeProjectile::m_vSmokeColor; // Vector
DWORD vSmokeDetonationPos = cs2_dumper::schemas::client_dll::C_SmokeGrenadeProjectile::m_vSmokeDetonationPos; // Vector
DWORD VoxelFrameData = cs2_dumper::schemas::client_dll::C_SmokeGrenadeProjectile::m_VoxelFrameData; // CUtlVector<uint8_t>
DWORD bSmokeVolumeDataReceived = cs2_dumper::schemas::client_dll::C_SmokeGrenadeProjectile::m_bSmokeVolumeDataReceived; // bool
uintptr_t bSmokeEffectSpawned = cs2_dumper::schemas::client_dll::C_SmokeGrenadeProjectile::m_bSmokeEffectSpawned; // bool
} SmokeGrenadeProjectile;

namespace Signatures
{
const std::string GlobalVars = "48 89 0D ?? ?? ?? ?? 48 89 41";
const std::string ViewMatrix = "48 8D 0D ?? ?? ?? ?? 48 C1 E0 06";
const std::string ViewAngles = "48 8B 0D ?? ?? ?? ?? E9 ?? ?? ?? ?? CC CC CC CC 40 55";
const std::string EntityList = "48 8B 0D ?? ?? ?? ?? 48 89 7C 24 ?? 8B FA C1";
const std::string LocalPlayerController = "48 8B 05 ?? ?? ?? ?? 48 85 C0 74 4F";
const std::string ForceJump = "48 8B 05 ?? ?? ?? ?? 48 8D 1D ?? ?? ?? ?? 48 89 45";
/*
const std::string ForceForward = "48 8D 05 ?? ?? ?? ?? 48 89 05 ?? ?? ?? ?? 48 83 C4 ?? E9 ?? ?? ?? ?? CC CC CC CC CC CC CC CC CC CC 48 81 EC";
const std::string ForceLeft = "48 8D 05 ?? ?? ?? ?? 48 89 45 ? 48 8D 05 ?? ?? ?? ?? 48 89 45 ?? 48 8D 05 ?? ?? ?? ?? 48 89 45 ?? 4C 6B E3";
const std::string ForceRight = "48 8D 05 ?? ?? ?? ?? 48 89 45 ? 48 8D 05 ?? ?? ?? ?? 48 89 45 ?? 4C 6B E3";
const std::string ForceJump = "48 8D 05 ?? ?? ?? ?? 48 89 4D ?? 48 89 45 ?? 48 8D 05 ?? ?? ?? ?? 48 89 45 ?? 48 8D 05 ?? ?? ?? ?? 48 89 45 ?? 48 8D 05 ?? ?? ?? ?? 48 89 45 ?? 48 8D 05 ?? ?? ?? ?? 48 89 45 ?? 48 8D 05 ?? ?? ?? ?? 48 89 45 ?? 48 8D 05 ?? ?? ?? ?? 48 89 45 ?? 4C 6B E3";
const std::string ForceCrouch = "48 8D 05 ?? ?? ?? ?? 48 89 05 ?? ?? ?? ?? 48 83 C4 ?? E9 ?? ?? ?? ?? CC CC CC CC CC CC CC CC CC CC 48 83 EC ?? 66 C7 44 24";
*/
const std::string LocalPlayerPawn = "48 8D 05 ?? ?? ?? ?? C3 CC CC CC CC CC CC CC CC 48 83 EC ?? 8B 0D";
const std::string InventoryServices = "E8 ?? ?? ?? ?? 8B 45 D0 48 8B 55 D8";
const std::string GlobalVars = "48 89 15 ?? ?? ?? ?? 48 8D 05 ?? ?? ?? ?? 48 85 D2";
const std::string EntityList = "48 8B 0D ?? ?? ?? ?? 48 89 7C 24 ?? 8B FA C1 EB";
const std::string LocalPlayerController = "48 8B 05 ?? ?? ?? ?? 48 85 C0 74 ?? 8B 88";
const std::string ViewAngles = "48 8B 0D ?? ?? ?? ?? 48 8B 01 48 FF 60 30";
const std::string ViewMatrix = "48 8D 0D ?? ?? ?? ?? 48 C1 E0 06";
const std::string PlantedC4 = "48 8B 15 ?? ?? ?? ?? FF C0 48 8D 4C 24 40";
const std::string InputSystem = "48 89 05 ?? ?? ?? ?? 48 8D 05";
const std::string dwSensitivity = "48 8B 05 ?? ?? ?? ?? 48 8B 40 ?? F3 41 0F 59 F4";
}

bool UpdateOffsets();
}
}
1 change: 1 addition & 0 deletions CS2_External/Utils/helpers.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#pragma once
Loading