資源簡介
csgo c++源碼
代碼片段和文件信息
#include?“hooks.hpp“
#include???
#include?“render.hpp“
#include?“menu.hpp“
#include?“options.hpp“
#include?“helpers/input.hpp“
#include?“helpers/utils.hpp“
#include?“features/bhop.hpp“
#include?“features/chams.hpp“
#include?“features/visuals.hpp“
#include?“features/glow.hpp“
#pragma?intrinsic(_ReturnAddress)??
namespace?Hooks
{
vfunc_hook?hlclient_hook;
vfunc_hook?direct3d_hook;
vfunc_hook?vguipanel_hook;
vfunc_hook?vguisurf_hook;
vfunc_hook?sound_hook;
vfunc_hook?mdlrender_hook;
vfunc_hook?clientmode_hook;
vfunc_hook?sv_cheats;
void?Initialize()
{
hlclient_hook.setup(g_CHLClient);
direct3d_hook.setup(g_D3DDevice9);
vguipanel_hook.setup(g_VGuiPanel);
vguisurf_hook.setup(g_VGuiSurface);
sound_hook.setup(g_EngineSound);
mdlrender_hook.setup(g_MdlRender);
clientmode_hook.setup(g_ClientMode);
ConVar*?sv_cheats_con?=?g_CVar->FindVar(“sv_cheats“);
sv_cheats.setup(sv_cheats_con);
direct3d_hook.hook_index(index::EndScene?hkEndScene);
direct3d_hook.hook_index(index::Reset?hkReset);
hlclient_hook.hook_index(index::frameStageNotify?hkframeStageNotify);
hlclient_hook.hook_index(index::CreateMove?hkCreateMove_Proxy);
vguipanel_hook.hook_index(index::PaintTraverse?hkPaintTraverse);
sound_hook.hook_index(index::EmitSound1?hkEmitSound1);
vguisurf_hook.hook_index(index::LockCursor?hkLockCursor);
mdlrender_hook.hook_index(index::DrawModelExecute?hkDrawModelExecute);
clientmode_hook.hook_index(index::DoPostScreenSpaceEffects?hkDoPostScreenEffects);
clientmode_hook.hook_index(index::OverrideView?hkOverrideView);
sv_cheats.hook_index(index::SvCheatsGetBool?hkSvCheatsGetBool);
}
//--------------------------------------------------------------------------------
void?Shutdown()
{
hlclient_hook.unhook_all();
direct3d_hook.unhook_all();
vguipanel_hook.unhook_all();
vguisurf_hook.unhook_all();
mdlrender_hook.unhook_all();
clientmode_hook.unhook_all();
Glow::Get().Shutdown();
}
//--------------------------------------------------------------------------------
long?__stdcall?hkEndScene(IDirect3DDevice9*?pDevice)
{
auto?oEndScene?=?direct3d_hook.get_original(index::EndScene);
static?auto?viewmodel_fov?=?g_CVar->FindVar(“viewmodel_fov“);
static?auto?mat_ambient_light_r?=?g_CVar->FindVar(“mat_ambient_light_r“);
static?auto?mat_ambient_light_g?=?g_CVar->FindVar(“mat_ambient_light_g“);
static?auto?mat_ambient_light_b?=?g_CVar->FindVar(“mat_ambient_light_b“);
static?auto?crosshair_cvar?=?g_CVar->FindVar(“crosshair“);
viewmodel_fov->m_fnChangeCallbacks.m_Size?=?0;
viewmodel_fov->SetValue(g_Options.viewmodel_fov);
mat_ambient_light_r->SetValue(g_Options.mat_ambient_light_r);
mat_ambient_light_g->SetValue(g_Options.mat_ambient_light_g);
mat_ambient_light_b->SetValue(g_Options.mat_ambient_light_b);
crosshair_cvar->SetValue(!g_Options.esp_crosshair);
DWORD?color
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-12-31?07:37??CSGOSimple-master\
?????文件????????4926??2018-12-31?07:37??CSGOSimple-master\.gitignore
?????文件????????1387??2018-12-31?07:37??CSGOSimple-master\CSGOSimple.DotSettings
?????文件????????1905??2018-12-31?07:37??CSGOSimple-master\CSGOSimple.sln
?????文件????????1157??2018-12-31?07:37??CSGOSimple-master\CSGOSimple.sln.DotSettings
?????目錄???????????0??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\
?????文件???????11167??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\CSGOSimple.vcxproj
?????文件???????14043??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\CSGOSimple.vcxproj.filters
?????文件?????????301??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\IRefCounted.h
?????文件???????11065??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\UI.cpp
?????文件????????3466??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\datamap.hpp
?????文件??????406082??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\droid.hpp
?????目錄???????????0??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\features\
?????文件?????????602??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\features\bhop.cpp
?????文件?????????111??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\features\bhop.hpp
?????文件????????6728??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\features\chams.cpp
?????文件?????????755??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\features\chams.hpp
?????文件????????3652??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\features\glow.cpp
?????文件?????????192??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\features\glow.hpp
?????文件???????13135??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\features\visuals.cpp
?????文件?????????944??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\features\visuals.hpp
?????目錄???????????0??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\helpers\
?????文件????????5235??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\helpers\input.cpp
?????文件????????1241??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\helpers\input.hpp
?????文件????????5055??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\helpers\math.cpp
?????文件????????1184??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\helpers\math.hpp
?????文件????????7779??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\helpers\utils.cpp
?????文件????????1794??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\helpers\utils.hpp
?????文件????????1346??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\helpers\vfunc_hook.cpp
?????文件????????1463??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\helpers\vfunc_hook.hpp
?????文件???????10343??2018-12-31?07:37??CSGOSimple-master\CSGOSimple\hooks.cpp
............此處省略106個文件信息
評論
共有 條評論