Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
Latest Saved Source Codes!

Source Code 34046 - botchatov2, Language: C/C++
Source Code 34045 - botchatov2, Language: C/C++
Source Code 34044 - botchatov2 , Language: C/C++
Source Code 34043 - fasf, Language: C/C++
Source Code 34042 - sdfdf, Language: C/C++
Source Code 34041 - a, Language: C/C++
Source Code 34040 - jj, Language: C/C++
Source Code 34039 - 001CC, Language: C/C++
Source Code 34038 - 001CC, Language: C/C++
Source Code 34037 - 11, Language: C/C++
Source Code 34036 - a.exe, Language: C/C++
Source Code 34035 - a.exe, Language: C/C++
Source Code 34034 - a.exe, Language: C/C++
Source Code 34033 - comp project, Language: C/C++
Source Code 34032 - exx, Language: C/C++
Source Code 34031 - teste, Language: C/C++
Source Code 34030 - 1, Language: PASCAL
Source Code 34029 - teste Java, Language: JAVA
Source Code 34028 - test.exe, Language: C/C++
Source Code 34027 - fgdfg, Language: PASCAL
Source Code 34026 - ada, Language: C/C++
Source Code 34025 - sdad, Language: C/C++
Source Code 34024 - test1, Language: BASIC
Source Code 34023 - omid, Language: C/C++
Source Code 34022 - omid, Language: C/C++
Source Code 34021 - omid, Language: C/C++
Source Code 34020 - kjikjiuhu, Language: C/C++
Source Code 34019 - hello world!, Language: C/C++
Source Code 34018 - 27, Language: C/C++
Source Code 34017 - صص, Language: C/C++
Source Code 34016 - s, Language: C/C++
Source Code 34015 - 12, Language: C/C++
Source Code 34014 - test777, Language: PASCAL
Source Code 34013 - Prueba, Language: PASCAL
Source Code 34012 - pithagor, Language: PASCAL
Source Code 34011 - ok, Language: C/C++
Source Code 34010 - test, Language: C/C++
Source Code 34009 - lol, Language: C/C++
Source Code 34008 - 55f, Language: C/C++
Source Code 34007 - sdd, Language: C/C++
Source Code 34006 - like_a_virus, Language: C/C++
Source Code 34005 - progroccaro, Language: PASCAL
Source Code 34004 - Test, Language: JAVA
Source Code 34003 - Cdd, Language: C/C++
Source Code 34002 - dfd, Language: C/C++
Source Code 34001 - aaa, Language: C/C++
Source Code 34000 - 1.exe, Language: C/C++
Source Code 33999 - ptm, Language: C/C++
Source Code 33998 - Combinazioni, Language: C/C++
Source Code 33997 - j, Language: C/C++
Source Code 33996 - afsdf, Language: JAVA
Source Code 33995 - Calcolo Aree, Language: C/C++
Source Code 33994 - asd, Language: C/C++
Source Code 33993 - hej, Language: C/C++
Source Code 33992 - add, Language: C/C++
Source Code 33991 - teste, Language: C/C++
Source Code 33990 - 12, Language: C/C++
Source Code 33989 - ff, Language: C/C++
Source Code 33988 - 13, Language: C/C++
Source Code 33987 - emcosti, Language: C/C++
Source Code 33986 - test, Language: C/C++
Source Code 33985 - 1234, Language: C/C++
Source Code 33984 - dsadsads, Language: C/C++
Source Code 33983 - PC NAME, Language: C/C++
Source Code 33982 - ..., Language: PASCAL
Source Code 33981 - Code, Language: C/C++
Source Code 33980 - analogClock.c, Language: C/C++
Source Code 33979 - Bandymas, Language: C/C++
Source Code 33978 - code, Language: C/C++
Source Code 33977 - turbop, Language: PASCAL
Source Code 33976 - g5rte, Language: C/C++
Source Code 33975 - sla, Language: JAVA
Source Code 33974 - Calc, Language: C/C++
Source Code 33973 - exploit.exe, Language: C/C++
Source Code 33972 - df, Language: C/C++
Source Code 33971 - 6151, Language: FORTRAN
Source Code 33970 - foo.exe, Language: C/C++
Source Code 33969 - s.cpp, Language: C/C++
Source Code 33968 - Newton Raphson, Language: C/C++
Source Code 33967 - sdfg, Language: C/C++
Source Code 33966 - 123, Language: C/C++
Source Code 33965 - homework1, Language: C/C++
Source Code 33964 - Y, Language: PASCAL
Source Code 33963 - asdfasdfad, Language: C/C++
Source Code 33962 - graphics, Language: C/C++
Source Code 33961 - Lab2_AjiaRiley_PerimeterAreaCalculations, Language: C/C++
Source Code 33960 - 8141_Mahesh_Sharma_Q2, Language: C/C++
Source Code 33959 - f, Language: PASCAL
Source Code 33958 - mahesh c++, Language: C/C++
Source Code 33957 - elton, Language: PASCAL
Source Code 33956 - TESTANDO, Language: C/C++
Source Code 33955 - 1, Language: C/C++
Source Code 33954 - gps_dist, Language: C/C++
Source Code 33953 - tt, Language: PASCAL
Source Code 33952 - ad, Language: C/C++
Source Code 33951 - suh dude, Language: C/C++
Source Code 33950 - a, Language: JAVA
Source Code 33949 - azita, Language: JAVA
Source Code 33948 - qxz.c, Language: C/C++
Source Code 33947 - code, Language: C/C++
Source Code 33946 - enos, Language: C/C++
Source Code 33945 - VRN, Language: C/C++
Source Code 33944 - ln.cpp, Language: C/C++
Source Code 33943 - fact, Language: C/C++
Source Code 33942 - Solid liquid equilibria using UNIFAC models ([email protected]), Language: FORTRAN
Source Code 33941 - Solid liquid equilibria using UNIFAC models ([email protected]), Language: FORTRAN
Source Code 33940 - Solid liquid equilibria using UNIFAC models ([email protected]), Language: FORTRAN
Source Code 33939 - Solid liquid equilibria using UNIFAC models ([email protected]), Language: FORTRAN
Source Code 33938 - Solid liquid equilibria using UNIFAC models ([email protected]), Language: FORTRAN
Source Code 33937 - win32trojan, Language: C/C++
Source Code 33936 - ciao, Language: FORTRAN
Source Code 33935 - jj, Language: C/C++
Source Code 33934 - asd, Language: C/C++
Source Code 33933 - as, Language: C/C++
Source Code 33932 - asdasdd, Language: C/C++
Source Code 33931 - est, Language: C/C++
Source Code 33930 - a, Language: C/C++
Source Code 33929 - awd, Language: C/C++
Source Code 33928 - awd, Language: C/C++
Source Code 33927 - alasj, Language: C/C++
Source Code 33926 - a, Language: C/C++
Source Code 33925 - add, Language: C/C++
Source Code 33924 - russo, Language: C/C++
Source Code 33923 - test_Key_serial, Language: C/C++
Source Code 33922 - Mantap, Language: C/C++
Source Code 33921 - generator, Language: C/C++
Source Code 33920 - asad, Language: C/C++
Source Code 33919 - a, Language: C/C++
Source Code 33918 - ww, Language: C/C++
Source Code 33917 - ww, Language: C/C++
Source Code 33916 - sadra, Language: C/C++
Source Code 33915 - idk, Language: C/C++
Source Code 33914 - 8, Language: C/C++
Source Code 33913 - Airway Management, Language: C/C++
Source Code 33912 - h, Language: C/C++
Source Code 33911 - B.java, Language: JAVA
Source Code 33910 - 3r3, Language: C/C++
Source Code 33909 - test, Language: C/C++
Source Code 33908 - suma tres numeros enteros, Language: C/C++
Source Code 33907 - FX.java, Language: JAVA
Source Code 33906 - a.cpp, Language: C/C++
Source Code 33905 - gfd, Language: C/C++
Source Code 33904 - student, Language: C/C++
Source Code 33903 - test, Language: C/C++
Source Code 33902 - col, Language: C/C++
Source Code 33901 - bncc, Language: C/C++
Source Code 33900 - hhh, Language: C/C++
Source Code 33899 - holl, Language: C/C++
Source Code 33898 - программа, Language: C/C++
Source Code 33897 - extfile.c, Language: C/C++
Source Code 33896 - tset, Language: C/C++
Source Code 33895 - v, Language: PASCAL
Source Code 33894 - 1, Language: C/C++
Source Code 33893 - triangulos.pas, Language: PASCAL
Source Code 33892 - triangulos, Language: PASCAL
Source Code 33891 - gg, Language: C/C++
Source Code 33890 - t, Language: C/C++
Source Code 33889 - hola.exe, Language: C/C++
Source Code 33888 - sample.cpp, Language: C/C++
Source Code 33887 - asbc, Language: C/C++
Source Code 33886 - 1, Language: C/C++
Source Code 33885 - qwe, Language: C/C++
Source Code 33884 - lexx.lex, Language: C/C++
Source Code 33883 - yes, Language: C/C++
Source Code 33882 - deneme, Language: C/C++
Source Code 33881 - bin2exe, Language: C/C++
Source Code 33880 - vdsvds, Language: C/C++
Source Code 33879 - 1, Language: C/C++
Source Code 33878 - 12, Language: C/C++
Source Code 33877 - j, Language: C/C++
Source Code 33876 - h, Language: C/C++
Source Code 33875 - WindowsShell2, Language: C/C++
Source Code 33874 - ternary, Language: C/C++
Source Code 33873 - test, Language: C/C++
Source Code 33872 - jgvj, Language: C/C++
Source Code 33871 - add.h, Language: C/C++
Source Code 33870 - hjj, Language: C/C++
Source Code 33869 - 50-22, Language: PASCAL
Source Code 33868 - 50, Language: PASCAL
Source Code 33867 - dsf, Language: C/C++
Source Code 33866 - Decoder, Language: C/C++
Source Code 33865 - Decoder, Language: C/C++
Source Code 33864 - ss.c, Language: C/C++
Source Code 33863 - kakakaka, Language: C/C++
Source Code 33862 - tttt, Language: C/C++
Source Code 33861 - a, Language: C/C++
Source Code 33860 - BanFlag, Language: JAVA
Source Code 33859 - windows.exe, Language: C/C++
Source Code 33858 - a, Language: C/C++
Source Code 33857 - ff, Language: C/C++
Source Code 33856 - brainfuck compiler, Language: C/C++
Source Code 33855 - g, Language: C/C++
Source Code 33854 - nice, Language: PASCAL
Source Code 33853 - asdasd, Language: C/C++
Source Code 33852 - The game, Language: C/C++
Source Code 33851 - جدید, Language: FORTRAN
Source Code 33850 - data do sisema, Language: C/C++
Source Code 33849 - as, Language: C/C++
Source Code 33848 - uuuu.cpp, Language: C/C++
Source Code 33847 - #include "HOffsetManager.h" #include <sstream> #include <fstream> #include <iomanip> #include "../Utilis/HUtilis.h" #include "../NetVarManager/HNetVarManager.h" namespace Dumper { namespace OffsetManager { void COffsetManager::Dump( void ) { if( !pProcess->GetModuleByName( "client.dll" ) || !pProcess->GetModuleByName( "engine.dll" ) ) return; std::stringstream ss; ss << "- - - - - - Tool by Y3t1y3t ( uc ) - - - - - - " << std::endl; ss << "| -> http://www.unknowncheats.me/forum/counterstrike-global-offensive/100856-cs-go-offset-dumper-small-one.html" << std::endl; ss << "| -> " << Utilis::GetTime(); ss << "- -" << std::endl << std::endl; DumpNetVar( "DT_WeaponCSBase", "m_fAccuracyPenalty", 0x0, ss ); DumpNetVar( "DT_BaseAnimating", "m_nForceBone", 0x0, ss ); DumpNetVar( "DT_BaseCombatWeapon", "m_iState", 0x0, ss ); DumpNetVar( "DT_BaseCombatWeapon", "m_iClip1", 0x0, ss ); DumpNetVar( "DT_BaseCombatWeapon", "m_flNextPrimaryAttack", 0x0, ss ); DumpPatternOffset( "DT_BaseCombatWeapon", "m_bCanReload", "client.dll", "80 B9 ? ? ? ? ? 0F 85 ? ? ? ? A1", Remote::SignatureType_t::READ, 0x2, 0x0, ss ); DumpNetVar( "DT_BaseCombatWeapon", "m_iPrimaryAmmoType", 0x0, ss ); LogToStringStream( "DT_BaseCombatWeapon", "m_iWeaponID", pNetVarManager->GetNetVar( "DT_WeaponCSBase", "m_fAccuracyPenalty" ) + 0x2C, ss ); DumpNetVar( "DT_WeaponCSBaseGun", "m_zoomLevel", 0x0, ss ); DumpNetVar( "DT_BaseEntity", "m_bSpotted", 0x0, ss ); DumpNetVar( "DT_BaseEntity", "m_bSpottedByMask", 0x0, ss ); DumpNetVar( "DT_BaseEntity", "m_hOwnerEntity", 0x0, ss ); DumpNetVar( "DT_BaseEntity", "m_vecOrigin", 0x0, ss ); DumpNetVar( "DT_BaseEntity", "m_iTeamNum", 0x0, ss ); DumpNetVar( "DT_CSPlayer", "m_flFlashMaxAlpha", 0x0, ss ); DumpNetVar( "DT_CSPlayer", "m_flFlashDuration", 0x0, ss ); LogToStringStream( "DT_CSPlayer", "m_iGlowIndex", pNetVarManager->GetNetVar( "DT_CSPlayer", "m_flFlashDuration" ) + 0x18, ss ); DumpNetVar( "DT_CSPlayer", "m_angEyeAngles", 0x0, ss ); DumpNetVar( "DT_CSPlayer", "m_iAccount", 0x0, ss ); DumpNetVar( "DT_CSPlayer", "m_ArmorValue", 0x0, ss ); DumpNetVar( "DT_CSPlayer", "m_bGunGameImmunity", 0x0, ss ); DumpNetVar( "DT_CSPlayer", "m_iShotsFired", 0x0, ss ); DumpPatternOffset( "DT_CSPlayerResource", "CSPlayerResource", "client.dll", "8B 3D ? ? ? ? 85 FF 0F 84 ? ? ? ? 81 C7", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x2, 0x0, ss ); DumpNetVar( "DT_CSPlayerResource", "m_iCompetitiveRanking", 0x0, ss ); DumpNetVar( "DT_CSPlayerResource", "m_iCompetitiveWins", 0x0, ss ); DumpNetVar( "DT_CSPlayerResource", "m_iKills", 0x0, ss ); DumpNetVar( "DT_CSPlayerResource", "m_iAssists", 0x0, ss ); DumpNetVar( "DT_CSPlayerResource", "m_iDeaths", 0x0, ss ); DumpNetVar( "DT_CSPlayerResource", "m_iPing", 0x0, ss ); DumpNetVar( "DT_CSPlayerResource", "m_iScore", 0x0, ss ); DumpNetVar( "DT_CSPlayerResource", "m_szClan", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_lifeState", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_fFlags", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_iHealth", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_hLastWeapon", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_hMyWeapons", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_hActiveWeapon", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_Local", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_vecViewOffset[0]", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_nTickBase", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_vecVelocity[0]", 0x0, ss ); DumpNetVar( "DT_BasePlayer", "m_szLastPlaceName", 0x0, ss ); LogToStringStream( "DT_Local", "m_vecPunch", pNetVarManager->GetNetVar( "DT_BasePlayer", "m_Local" ) + 0x70, ss ); LogToStringStream( "DT_Local", "m_iCrossHairID", pNetVarManager->GetNetVar( "DT_CSPlayer", "m_bHasDefuser" ) + 0x5C, ss ); DumpPatternOffset( "BaseEntity", "m_bDormant", "client.dll", "55 8B EC 53 8B 5D 08 56 8B F1 88 9E ? ? ? ? E8", Remote::SignatureType_t::READ, 0xC, 0x0, ss ); LogToStringStream( "BaseEntity", "m_dwModel", 0x6C, ss ); LogToStringStream( "BaseEntity", "m_dwIndex", 0x64, ss ); LogToStringStream( "BaseEntity", "m_dwBoneMatrix", pNetVarManager->GetNetVar( "DT_BaseAnimating", "m_nForceBone" ) + 0x1C, ss ); LogToStringStream( "BaseEntity", "m_bMoveType", 0x258, ss ); DumpPatternOffset( "ClientState", "m_dwClientState", "engine.dll", "A1 ? ? ? ? F3 0F 11 80 ? ? ? ? D9 46 04 D9 05", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x1, 0x0, ss ); DumpPatternOffset( "ClientState", "m_dwLocalPlayerIndex", "engine.dll", "8B 80 ? ? ? ? 40 C3", Remote::SignatureType_t::READ, 0x2, 0x0, ss ); DumpPatternOffset( "ClientState", "m_dwInGame", "engine.dll", "83 B9 ? ? ? ? 06 0F 94 C0 C3", Remote::SignatureType_t::READ, 0x2, 0x0, ss ); DumpPatternOffset( "ClientState", "m_dwMaxPlayer", "engine.dll", "A1 ? ? ? ? 8B 80 ? ? ? ? C3 CC CC CC CC 55 8B EC 8B 45 08", Remote::SignatureType_t::READ, 0x7, 0x0, ss ); DumpPatternOffset( "ClientState", "m_dwMapDirectory", "engine.dll", "05 ? ? ? ? C3 CC CC CC CC CC CC CC 80 3D", Remote::SignatureType_t::READ, 0x1, 0x0, ss ); DumpPatternOffset( "ClientState", "m_dwMapname", "engine.dll", "05 ? ? ? ? C3 CC CC CC CC CC CC CC A1", Remote::SignatureType_t::READ, 0x1, 0x0, ss ); DumpPatternOffset( "ClientState", "m_dwPlayerInfo", "engine.dll", "8B 88 ? ? ? ? 8B 01 8B 40 ? FF D0 8B F8", Remote::SignatureType_t::READ, 0x2, 0x0, ss ); DumpPatternOffset( "ClientState", "m_dwViewAngles", "engine.dll", "F3 0F 11 80 ? ? ? ? D9 46 04 D9 05 ? ? ? ?", Remote::SignatureType_t::READ, 0x4, 0x0, ss ); DumpPatternOffset( "EngineRender", "m_dwViewMatrix", "client.dll", "81 C6 ? ? ? ? 88 45 9A 0F B6 C0", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x352, 0xB0, ss ); DumpPatternOffset( "EngineRender", "m_dwEnginePosition", "engine.dll", "F3 0F 11 15 ? ? ? ? F3 0F 11 0D ? ? ? ? F3 0F 11 05 ? ? ? ? F3 0F 11 3D", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x4, 0x0, ss ); DumpPatternOffset( "RadarBase", "m_dwRadarBase", "client.dll", "A1 ? ? ? ? 8B 0C B0 8B 01 FF 50 ? 46 3B 35 ? ? ? ? 7C EA 8B 0D", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x1, 0x0, ss ); DumpNetVar( "RadarBase", "m_dwRadarBasePointer", 0x50, ss ); DumpPatternOffset( "LocalPlayer", "m_dwLocalPlayer", "client.dll", "A3 ? ? ? ? C7 05 ? ? ? ? ? ? ? ? E8 ? ? ? ? 59 C3 6A", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x1, 0x2C, ss ); DumpPatternOffset( "EntityList", "m_dwEntityList", "client.dll", "BB ? ? ? ? 83 FF 01 0F 8C ? ? ? ? 3B F8", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x1, 0x0, ss ); DumpPatternOffset( "WeaponTable", "m_dwWeaponTable", "client.dll", "A1 ? ? ? ? 0F B7 C9 03 C9 8B 44 ? 0C C3", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x1, 0x0, ss ); DumpPatternOffset( "WeaponTable", "m_dwWeaponTableIndex", "client.dll", "66 8B 8E ? ? ? ? E8 ? ? ? ? 05 ? ? ? ? 50", Remote::SignatureType_t::READ, 0x3, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwInput", "client.dll", "B9 ? ? ? ? FF 75 08 E8 ? ? ? ? 8B 06", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x1, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwGlobalVars", "engine.dll", "8B 0D ? ? ? ? 83 C4 04 8B 01 68 ? ? ? ? FF 35", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x12, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwGlowObject", "client.dll", "A1 ? ? ? ? A8 01 75 4E 0F 57 C0", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x58, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwForceJump", "client.dll", "89 15 ? ? ? ? 8B 15 ? ? ? ? F6 C2 03 74 03 83 CE 08", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x2, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwForceAttack", "client.dll" , "89 15 ? ? ? ? 8B 15 ? ? ? ? F6 C2 03 74 03 83 CE 04", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x2, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwForceAttack2", "client.dll" , "89 15 ? ? ? ? 8B 15 ? ? ? ? F6 C2 03 74 06 81 CE ? 20 ? ? A9 ? 20 ? ? BF FD FF FF FF", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x2, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwForceForward", "client.dll" , "8B 15 ? ? ? ? F6 C2 03 74 03 83 CE 08 A8 08 BF FD FF FF FF", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x2, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwForceBackward", "client.dll" , "8B 15 ? ? ? ? F6 C2 03 74 03 83 CE 10 A8 10 BF FD FF FF FF", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x2, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwForceLeft", "client.dll" , "89 15 ? ? ? ? 8B 15 ? ? ? ? F6 C2 03 74 06 81 CE ? 04 ? ? A9 ? 04 ? ? BF FD FF FF FF", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x2, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwForceRight", "client.dll" , "89 15 ? ? ? ? 8B 15 ? ? ? ? F6 C2 03 74 06 81 CE ? 08 ? ? A9 ? 08 ? ? BF FD FF FF FF", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x2, 0x0, ss ); DumpPatternOffset( "Extra", "m_pSensitivity", "client.dll" , "6A 01 51 C7 04 24 17 B7 D1 38 B9", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0xB, 0x0, ss ); DumpPatternOffset( "Extra", "m_dwSensitivity", "client.dll" , "6A 01 51 C7 04 24 17 B7 D1 38 B9", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0xB, 0x2C, ss ); DumpPatternOffset( "Extra", "m_dwMouseEnable", "client.dll", "F3 0F 10 05 ? ? ? ? EB 17 8B 01 8B 40 30 FF D0 F3 0F 10 0D", Remote::SignatureType_t::READ | Remote::SignatureType_t::SUBTRACT, 0x4, 0x5C, ss ); std::ofstream( "OffsetManager.txt" ) << ss.str(); } void COffsetManager::DumpNetVar( const std::string& tablename, const std::string& varname, uintptr_t offset, std::stringstream& ss ) { LogToStringStream( tablename, varname, pNetVarManager->GetNetVar( tablename, varname ) + offset, ss ); } void COffsetManager::DumpPatternOffset( const std::string& tablename, const std::string& varname, const std::string& module, const char* pattern, int type, uintptr_t pattern_offset, uintptr_t address_offset, std::stringstream& ss ) { LogToStringStream( tablename, varname, pProcess->FindPattern( module, pattern, type, pattern_offset, address_offset ), ss ); } void COffsetManager::LogToStringStream( const std::string& tablename, const std::string& varname, uintptr_t offset, std::stringstream& ss ) { ss << std::setw( 48 ) << std::setfill( '_' ) << std::left << tablename + " -> " + varname + ": " << std::right << std::hex << " 0x" << std::setw( 8 ) << std::setfill( '0' ) << std::uppercase << offset << std::endl; } COffsetManager* COffsetManager::Singleton( void ) { static auto g_pOffsetManager = new COffsetManager(); return g_pOffsetManager; } } }, Language: C/C++