├── .gitattributes ├── .gitignore ├── DIA SDK ├── idl │ └── dia2.idl ├── include │ ├── cvconst.h │ ├── dia2.h │ └── diacreate.h └── lib │ ├── amd64 │ └── diaguids.lib │ ├── arm │ └── diaguids.lib │ └── diaguids.lib ├── Images ├── reclass.png └── reclass2.png ├── LICENSE ├── README.md ├── ReClass.sln ├── ReClass ├── BeaEngine_s_stdcall.lib ├── BeaEngine_s_stdcall_64.lib ├── BeaEngine_s_stdcalld.lib ├── BeaEngine_s_stdcalld_64.lib ├── BitArray.h ├── CClassFrame.cpp ├── CClassFrame.h ├── CClassView.cpp ├── CClassView.h ├── CCustomEdit.cpp ├── CCustomEdit.h ├── CCustomToolTip.cpp ├── CCustomToolTip.h ├── CMainFrame.cpp ├── CMainFrame.h ├── CMemory.h ├── CNodeArray.cpp ├── CNodeArray.h ├── CNodeBase.cpp ├── CNodeBase.h ├── CNodeBits.cpp ├── CNodeBits.h ├── CNodeByte.cpp ├── CNodeByte.h ├── CNodeCharPtr.cpp ├── CNodeCharPtr.h ├── CNodeClass.cpp ├── CNodeClass.h ├── CNodeClassInstance.cpp ├── CNodeClassInstance.h ├── CNodeCustom.cpp ├── CNodeCustom.h ├── CNodeDouble.cpp ├── CNodeDouble.h ├── CNodeDword.cpp ├── CNodeDword.h ├── CNodeFloat.cpp ├── CNodeFloat.h ├── CNodeFunction.cpp ├── CNodeFunction.h ├── CNodeFunctionPtr.cpp ├── CNodeFunctionPtr.h ├── CNodeHex16.cpp ├── CNodeHex16.h ├── CNodeHex32.cpp ├── CNodeHex32.h ├── CNodeHex64.cpp ├── CNodeHex64.h ├── CNodeHex8.cpp ├── CNodeHex8.h ├── CNodeIcon.cpp ├── CNodeIcon.h ├── CNodeInt16.cpp ├── CNodeInt16.h ├── CNodeInt32.cpp ├── CNodeInt32.h ├── CNodeInt64.cpp ├── CNodeInt64.h ├── CNodeInt8.cpp ├── CNodeInt8.h ├── CNodeMatrix.cpp ├── CNodeMatrix.h ├── CNodePtr.cpp ├── CNodePtr.h ├── CNodePtrArray.cpp ├── CNodePtrArray.h ├── CNodeQuat.cpp ├── CNodeQuat.h ├── CNodeQword.cpp ├── CNodeQword.h ├── CNodeText.cpp ├── CNodeText.h ├── CNodeUnicode.cpp ├── CNodeUnicode.h ├── CNodeVTable.cpp ├── CNodeVTable.h ├── CNodeVec2.cpp ├── CNodeVec2.h ├── CNodeVec3.cpp ├── CNodeVec3.h ├── CNodeWCharPtr.cpp ├── CNodeWCharPtr.h ├── CNodeWord.cpp ├── CNodeWord.h ├── CProgressBar.cpp ├── CProgressBar.h ├── CScintillaEdit.cpp ├── CScintillaEdit.h ├── ClassDependencyGraph.cpp ├── ClassDependencyGraph.h ├── Debug.h ├── DialogAbout.cpp ├── DialogAbout.h ├── DialogClasses.cpp ├── DialogClasses.h ├── DialogConsole.cpp ├── DialogConsole.h ├── DialogEdit.cpp ├── DialogEdit.h ├── DialogModules.cpp ├── DialogModules.h ├── DialogPlugins.cpp ├── DialogPlugins.h ├── DialogProcSelect.cpp ├── DialogProcSelect.h ├── DialogProgress.cpp ├── DialogProgress.h ├── DialogTypes.cpp ├── DialogTypes.h ├── HotSpot.h ├── Intrinsics.h ├── Intrinsics32.asm ├── Intrinsics64.asm ├── Native.h ├── NativeCommon.h ├── NativeInformation.h ├── NativeLoader.h ├── NativeMemory.h ├── NativeObjects.h ├── NativePeb.h ├── NativeProcess.h ├── NativeRtl.h ├── NativeTeb.h ├── NodeType.h ├── Nodes.h ├── NtDll.cpp ├── NtDll.h ├── PluginAPI.cpp ├── PluginAPI.h ├── ReClassEx.cpp ├── ReClassEx.h ├── ReClassEx.rc ├── ReClassEx.vcxproj ├── ReClassEx.vcxproj.filters ├── Resource.h ├── SciLexer.lib ├── SciLexer_64.lib ├── SciLexerd.lib ├── SciLexerd_64.lib ├── SymbolReader.cpp ├── SymbolReader.h ├── Symbols.cpp ├── Symbols.h ├── Utils.cpp ├── Utils.h ├── res │ ├── ReClass 2011.ico │ ├── Toolbar.bmp │ ├── Toolbar256.bmp │ ├── about.bmp │ ├── about_icon.xcf │ ├── aboutnew.psd │ ├── bmp00001.bmp │ ├── bmp00002.bmp │ ├── bmp00003.bmp │ ├── button.bmp │ ├── buttons.bmp │ ├── classicon.bmp │ ├── console.bmp │ ├── file_large.bmp │ ├── file_small.bmp │ ├── filelarge.bmp │ ├── filesmall.bmp │ ├── home_large.bmp │ ├── home_small.bmp │ ├── icon.bmp │ ├── icon1.ico │ ├── icons │ │ ├── add.ico │ │ ├── array.ico │ │ ├── arrow_icon.ico │ │ ├── camera.ico │ │ ├── close.ico │ │ ├── closed.ico │ │ ├── custom.ico │ │ ├── enum.ico │ │ ├── exchange.ico │ │ ├── float.ico │ │ ├── general_class_VS.ico │ │ ├── general_interface_VS.ico │ │ ├── general_method_VS.ico │ │ ├── icon.ico │ │ ├── icon.png │ │ ├── left.ico │ │ ├── matrix.ico │ │ ├── open.ico │ │ ├── pointer.ico │ │ ├── right.ico │ │ ├── signed.ico │ │ ├── speles_random_ico.ico │ │ ├── text.ico │ │ ├── unsigned.ico │ │ └── vector.ico │ ├── main.bmp │ ├── mainframe.bmp │ ├── mainframe256.bmp │ ├── menu_modify.bmp │ ├── output_wnd.ico │ ├── output_wnd_hc.ico │ ├── properties.bmp │ ├── properties_hc.bmp │ ├── properties_wnd.ico │ ├── properties_wnd_hc.ico │ ├── ribbon.mfcribbon-ms │ ├── symsrv32.dll │ ├── symsrv64.dll │ ├── toolbar1.bmp │ ├── toolbar2.bmp │ ├── writelarge.bmp │ └── writesmall.bmp ├── resource.h ├── stdafx.cpp ├── stdafx.h ├── targetver.h ├── tinyxml2.cpp └── tinyxml2.h ├── TestPlugin ├── TestPlugin.sln └── TestPlugin │ ├── Plugin.cpp │ ├── Plugin.h │ ├── ReClassAPI.h │ ├── ReadMe.txt │ ├── TestPlugin.vcxproj │ ├── TestPlugin.vcxproj.filters │ ├── dllmain.cpp │ ├── exports.def │ ├── res.rc │ ├── resource.h │ └── targetver.h ├── beaengine ├── beaengine │ ├── .gitignore │ ├── CMakeLists.txt │ ├── README.md │ ├── headers │ │ ├── BeaEngine.h │ │ ├── BeaEngineDelphi32.pas │ │ ├── BeaEngineDelphi64.pas │ │ ├── BeaEngineFasm32.inc │ │ ├── BeaEngineFasm64.inc │ │ ├── BeaEngineGoAsm32.inc │ │ ├── BeaEngineGoAsm64.inc │ │ ├── BeaEngineMasm32.inc │ │ ├── BeaEngineMasm64.inc │ │ ├── BeaEngineNasm32.inc │ │ ├── BeaEngineNasm64.inc │ │ ├── BeaEnginePureBasic32.pb │ │ ├── BeaEnginePureBasic64.pb │ │ ├── BeaEnginePython.py │ │ ├── C# headers │ │ │ ├── Constants.cs │ │ │ ├── Engine.cs │ │ │ └── Structs.cs │ │ ├── Includes │ │ │ ├── basic_types.h │ │ │ └── export.h │ │ └── __init__.py │ ├── include │ │ └── beaengine │ │ │ ├── BeaEngine.h │ │ │ ├── basic_types.h │ │ │ ├── export.h │ │ │ └── macros.h │ ├── src │ │ ├── BeaEngine.c │ │ ├── CMakeLists.txt │ │ ├── COPYING.LESSER.txt │ │ ├── COPYING.txt │ │ └── Includes │ │ │ ├── BeaEngineVersion.c │ │ │ ├── Routines_Disasm.c │ │ │ ├── Routines_ModRM.c │ │ │ ├── instr_set │ │ │ ├── Data_opcode.h │ │ │ ├── opcodes_AES.c │ │ │ ├── opcodes_A_M.c │ │ │ ├── opcodes_CLMUL.c │ │ │ ├── opcodes_FPU.c │ │ │ ├── opcodes_Grp1.c │ │ │ ├── opcodes_Grp12.c │ │ │ ├── opcodes_Grp13.c │ │ │ ├── opcodes_Grp14.c │ │ │ ├── opcodes_Grp15.c │ │ │ ├── opcodes_Grp16.c │ │ │ ├── opcodes_Grp17.c │ │ │ ├── opcodes_Grp2.c │ │ │ ├── opcodes_Grp3.c │ │ │ ├── opcodes_Grp4.c │ │ │ ├── opcodes_Grp5.c │ │ │ ├── opcodes_Grp6.c │ │ │ ├── opcodes_Grp7.c │ │ │ ├── opcodes_Grp8.c │ │ │ ├── opcodes_Grp9.c │ │ │ ├── opcodes_MMX.c │ │ │ ├── opcodes_N_Z.c │ │ │ ├── opcodes_SSE.c │ │ │ └── opcodes_prefixes.c │ │ │ ├── internal_datas.h │ │ │ └── protos.h │ └── tests │ │ ├── README.md │ │ ├── examples.py │ │ ├── opcode1byte.yml │ │ └── test.py ├── build_2015 │ ├── ALL_BUILD.vcxproj │ ├── ALL_BUILD.vcxproj.filters │ ├── BeaEngine.sdf │ ├── BeaEngine.sln │ ├── CMakeCache.txt │ ├── CMakeFiles │ │ ├── 3.4.3 │ │ │ ├── CMakeCCompiler.cmake │ │ │ ├── CMakeCXXCompiler.cmake │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeRCCompiler.cmake │ │ │ ├── CMakeSystem.cmake │ │ │ ├── CompilerIdC │ │ │ │ ├── CMakeCCompilerId.c │ │ │ │ └── CompilerIdC.vcxproj │ │ │ └── CompilerIdCXX │ │ │ │ ├── CMakeCXXCompilerId.cpp │ │ │ │ └── CompilerIdCXX.vcxproj │ │ ├── 94eca9190292087aeac67b53696ee2e8 │ │ │ └── generate.stamp.rule │ │ ├── TargetDirectories.txt │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── feature_tests.cxx │ │ ├── generate.stamp │ │ ├── generate.stamp.depend │ │ └── generate.stamp.list │ ├── ZERO_CHECK.vcxproj │ ├── ZERO_CHECK.vcxproj.filters │ └── cmake_install.cmake └── build_2015_64 │ ├── ALL_BUILD.vcxproj │ ├── ALL_BUILD.vcxproj.filters │ ├── BeaEngine.sdf │ ├── BeaEngine.sln │ ├── CMakeCache.txt │ ├── CMakeFiles │ ├── 3.4.3 │ │ ├── CMakeCCompiler.cmake │ │ ├── CMakeCXXCompiler.cmake │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ ├── CMakeRCCompiler.cmake │ │ ├── CMakeSystem.cmake │ │ ├── CompilerIdC │ │ │ ├── CMakeCCompilerId.c │ │ │ └── CompilerIdC.vcxproj │ │ └── CompilerIdCXX │ │ │ ├── CMakeCXXCompilerId.cpp │ │ │ └── CompilerIdCXX.vcxproj │ ├── TargetDirectories.txt │ ├── cmake.check_cache │ ├── f7718e9157b6e3bf98b6c88c858cbd4e │ │ └── generate.stamp.rule │ ├── feature_tests.bin │ ├── feature_tests.cxx │ ├── generate.stamp │ ├── generate.stamp.depend │ └── generate.stamp.list │ ├── ZERO_CHECK.vcxproj │ ├── ZERO_CHECK.vcxproj.filters │ ├── cmake_install.cmake │ └── obj.64 │ └── Windows.msvc.RelWithDebInfo │ └── src │ ├── BeaEngine_s_64.vcxproj │ ├── BeaEngine_s_64.vcxproj.filters │ ├── BeaEngine_s_stdcall_64.vcxproj │ ├── BeaEngine_s_stdcall_64.vcxproj.filters │ ├── CMakeFiles │ ├── generate.stamp │ └── generate.stamp.depend │ └── cmake_install.cmake ├── changelog.txt ├── reclass files ├── Ark.reclass ├── BFHARDLINE.reclass ├── BFHARDLINE_gamerenderer.reclass ├── CSVCMsg_PacketEntities.reclass ├── DyingLight.reclass ├── GunSwayData.reclass ├── MBAM.reclass ├── aLoL.reclass ├── alolEvents.reclass ├── arma2.reclass ├── arma2engine.reclass ├── bf4 character physics.reclass ├── bf4_objects.reclass ├── bf4components.reclass ├── bf4main.reclass ├── bf4pb.reclass ├── bf4skeleton.reclass ├── cdemorecorder.reclass ├── clientmode.reclass ├── clientstate.reclass ├── components.reclass ├── convar.reclass ├── csgo.reclass ├── csgo_backup.reclass ├── csgo_clientmodeshared.reclass ├── csgo_clientmodeshared_backup.reclass ├── csgo_globalvars.reclass ├── csgo_glow.reclass ├── csgo_input.reclass ├── csgo_move.reclass ├── csgo_viewrender.reclass ├── csgo_viewsetup.reclass ├── csgogameresources.reclass ├── csgoinput.reclass ├── darkfall.reclass ├── dayz.reclass ├── dayzsa.reclass ├── dayzsaex.reclass ├── debugoverlaypanel.reclass ├── dfentitylinkedlist.reclass ├── dfposition.reclass ├── dll_path_struct_win10_32.reclass ├── entityarraycsgo.reclass ├── ghjghj.reclass ├── gmod.reclass ├── infectz.reclass ├── inputgmod.reclass ├── insurgency.reclass ├── minesweeper.reclass ├── modelloader.reclass ├── net_packet.reclass ├── netsharkEntityArray.reclass ├── new.reclass ├── packet.reclass ├── packetreversed.reclass ├── pe.reclass ├── peb64.reclass ├── peshit.reclass ├── send_table.reclass ├── sf.reclass ├── some renderer.reclass ├── ssmodule.reclass ├── studiorender.reclass ├── test.reclass ├── thedivision.reclass ├── uiengine stuff.reclass └── yolo.reclass └── scintilla ├── License.txt ├── README ├── delbin.bat ├── delcvs.bat ├── doc ├── Design.html ├── Icons.html ├── Lexer.txt ├── SciBreak.jpg ├── SciCoding.html ├── SciRest.jpg ├── SciTEIco.png ├── SciWord.jpg ├── ScintillaDoc.html ├── ScintillaDownload.html ├── ScintillaHistory.html ├── ScintillaRelated.html ├── ScintillaToDo.html ├── ScintillaUsage.html ├── Steps.html └── index.html ├── gtk ├── Converter.h ├── PlatGTK.cxx ├── ScintillaGTK.cxx ├── deps.mak ├── makefile ├── scintilla-marshal.c ├── scintilla-marshal.h ├── scintilla-marshal.list └── scintilla.mak ├── include ├── Accessor.h ├── Face.py ├── HFacer.py ├── KeyWords.h ├── Platform.h ├── PropSet.h ├── SString.h ├── SciLexer.h ├── Scintilla.h ├── Scintilla.iface ├── ScintillaWidget.h └── WindowAccessor.h ├── src ├── AutoComplete.cxx ├── AutoComplete.h ├── CallTip.cxx ├── CallTip.h ├── CellBuffer.cxx ├── CellBuffer.h ├── CharClassify.cxx ├── CharClassify.h ├── ContractionState.cxx ├── ContractionState.h ├── Document.cxx ├── Document.h ├── DocumentAccessor.cxx ├── DocumentAccessor.h ├── Editor.cxx ├── Editor.h ├── ExternalLexer.cxx ├── ExternalLexer.h ├── Indicator.cxx ├── Indicator.h ├── KeyMap.cxx ├── KeyMap.h ├── KeyWords.cxx ├── LexAPDL.cxx ├── LexAU3.cxx ├── LexAVE.cxx ├── LexAda.cxx ├── LexAsm.cxx ├── LexAsn1.cxx ├── LexBaan.cxx ├── LexBash.cxx ├── LexBasic.cxx ├── LexBullant.cxx ├── LexCLW.cxx ├── LexCPP.cxx ├── LexCSS.cxx ├── LexCaml.cxx ├── LexConf.cxx ├── LexCrontab.cxx ├── LexCsound.cxx ├── LexEScript.cxx ├── LexEiffel.cxx ├── LexErlang.cxx ├── LexFlagship.cxx ├── LexForth.cxx ├── LexFortran.cxx ├── LexGen.py ├── LexGui4Cli.cxx ├── LexHTML.cxx ├── LexHaskell.cxx ├── LexInno.cxx ├── LexKix.cxx ├── LexLisp.cxx ├── LexLout.cxx ├── LexLua.cxx ├── LexMMIXAL.cxx ├── LexMPT.cxx ├── LexMSSQL.cxx ├── LexMatlab.cxx ├── LexMetapost.cxx ├── LexNsis.cxx ├── LexOpal.cxx ├── LexOthers.cxx ├── LexPB.cxx ├── LexPOV.cxx ├── LexPS.cxx ├── LexPascal.cxx ├── LexPerl.cxx ├── LexPython.cxx ├── LexRebol.cxx ├── LexRuby.cxx ├── LexSQL.cxx ├── LexScriptol.cxx ├── LexSmalltalk.cxx ├── LexSpecman.cxx ├── LexSpice.cxx ├── LexTADS3.cxx ├── LexTCL.cxx ├── LexTeX.cxx ├── LexVB.cxx ├── LexVHDL.cxx ├── LexVerilog.cxx ├── LexYAML.cxx ├── LineMarker.cxx ├── LineMarker.h ├── PropSet.cxx ├── RESearch.cxx ├── RESearch.h ├── SVector.h ├── SciTE.properties ├── ScintillaBase.cxx ├── ScintillaBase.h ├── Style.cxx ├── Style.h ├── StyleContext.cxx ├── StyleContext.h ├── UniConversion.cxx ├── UniConversion.h ├── ViewStyle.cxx ├── ViewStyle.h ├── WindowAccessor.cxx ├── XPM.cxx └── XPM.h ├── tgzsrc ├── vcbuild ├── SciLexer.dsp ├── SciLexer.plg ├── SciLexer.sln ├── SciLexer.vcxproj ├── SciLexer.vcxproj.filters ├── rsp_scintilla.txt └── rsp_scintillad.txt ├── version.txt ├── win32 ├── Margin.cur ├── PlatWin.cxx ├── PlatformRes.h ├── SciTE.properties ├── ScintRes.rc ├── Scintilla.def ├── ScintillaWin.cxx ├── deps.mak ├── makefile ├── scintilla.mak └── scintilla_vc6.mak └── zipsrc.bat /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | Thumbs.db 2 | *.VC.opendb 3 | *.VC.db 4 | *.obj 5 | *.exe 6 | *.pdb 7 | *.user 8 | *.aps 9 | *.pch 10 | *.vspscc 11 | *_i.c 12 | *_p.c 13 | *.ncb 14 | *.suo 15 | *.sln.docstates 16 | *.tlb 17 | *.tlh 18 | *.bak 19 | *.cache 20 | *.ilk 21 | *.log 22 | [Bb]in 23 | [Dd]ebug*/ 24 | *.sbr 25 | obj/ 26 | [Rr]elease*/ 27 | _ReSharper*/ 28 | [Tt]est[Rr]esult* 29 | *.vssscc 30 | $tf*/ 31 | ReClass.sdf 32 | ReClass.opensdf 33 | Reclass2015.rar 34 | *.ipch 35 | *.exp 36 | *.iobj 37 | *.ipdb 38 | /ReClass/symsrv.dll 39 | /DriverPlugin 40 | /ReClass/plugins/BlackoutDrv64_dbg.sys 41 | /ReClass/plugins/BlackoutDrv64.sys 42 | /ReClass/plugins/DriverPlugin.lib 43 | /ReClass/plugins/DriverPlugin.rc-plugin64 44 | DriverPlugin.lib 45 | DriverPlugin.rc-plugin64 46 | DriverPlugin_dbg.lib 47 | DriverPlugin_dbg.rc-plugin64d 48 | *.reclass 49 | *.sys 50 | /ReClass/plugins/TestPlugin.lib 51 | /ReClass/plugins/TestPlugin.rc-plugin64 52 | *.db-wal 53 | *.db-shm 54 | *.rc-plugin64d 55 | /ReClass/plugins/TestPlugin_dbg.lib 56 | *.tmp 57 | /BIN/ReClassEx_dbg.lib 58 | /BIN/ReClassEx64_dbg.lib 59 | /BIN/ReClassEx64.lib 60 | /BIN/ReClassEx.lib 61 | /BIN/plugins-lol/TestPlugin.rc-plugin64 62 | /BIN/plugins-lol/TestPlugin.rc-plugin 63 | /BIN/plugins-lol/TestPlugin.lib 64 | *.rc-plugin 65 | /BIN/plugins/TestPlugin.lib 66 | *.rc-plugin64 67 | -------------------------------------------------------------------------------- /DIA SDK/include/diacreate.h: -------------------------------------------------------------------------------- 1 | // diacreate.h - creation helper functions for DIA initialization 2 | //----------------------------------------------------------------- 3 | // 4 | // Copyright Microsoft Corporation. All Rights Reserved. 5 | // 6 | //--------------------------------------------------------------- 7 | #ifndef _DIACREATE_H_ 8 | #define _DIACREATE_H_ 9 | 10 | // 11 | // Create a dia data source object from the dia dll (by dll name - does not access the registry). 12 | // 13 | 14 | HRESULT STDMETHODCALLTYPE NoRegCoCreate( const __wchar_t *dllName, 15 | REFCLSID rclsid, 16 | REFIID riid, 17 | void **ppv); 18 | 19 | #ifndef _NATIVE_WCHAR_T_DEFINED 20 | #ifdef __cplusplus 21 | 22 | HRESULT STDMETHODCALLTYPE NoRegCoCreate( const wchar_t *dllName, 23 | REFCLSID rclsid, 24 | REFIID riid, 25 | void **ppv) 26 | { 27 | return NoRegCoCreate( (const __wchar_t *)dllName, rclsid, riid, ppv ); 28 | } 29 | 30 | #endif 31 | #endif 32 | 33 | 34 | 35 | // 36 | // Create a dia data source object from the dia dll (looks up the class id in the registry). 37 | // 38 | HRESULT STDMETHODCALLTYPE NoOleCoCreate( REFCLSID rclsid, 39 | REFIID riid, 40 | void **ppv); 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /DIA SDK/lib/amd64/diaguids.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/DIA SDK/lib/amd64/diaguids.lib -------------------------------------------------------------------------------- /DIA SDK/lib/arm/diaguids.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/DIA SDK/lib/arm/diaguids.lib -------------------------------------------------------------------------------- /DIA SDK/lib/diaguids.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/DIA SDK/lib/diaguids.lib -------------------------------------------------------------------------------- /Images/reclass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/Images/reclass.png -------------------------------------------------------------------------------- /Images/reclass2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/Images/reclass2.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 DrUnKeN ChEeTaH, P47R!CK, DogMatt, Dude719, Timboy67678, IChooseYou, stevemk14ebr, DarthTon, ReUnioN, leveln, buddyfavors, KN4CK3R, wj32 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /ReClass/BeaEngine_s_stdcall.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/BeaEngine_s_stdcall.lib -------------------------------------------------------------------------------- /ReClass/BeaEngine_s_stdcall_64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/BeaEngine_s_stdcall_64.lib -------------------------------------------------------------------------------- /ReClass/BeaEngine_s_stdcalld.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/BeaEngine_s_stdcalld.lib -------------------------------------------------------------------------------- /ReClass/BeaEngine_s_stdcalld_64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/BeaEngine_s_stdcalld_64.lib -------------------------------------------------------------------------------- /ReClass/CClassFrame.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CClassView.h" 4 | 5 | class CClassFrame : public CMDIChildWndEx { 6 | DECLARE_DYNCREATE( CClassFrame ) 7 | public: 8 | CClassFrame( ); 9 | 10 | // Attributes 11 | public: 12 | 13 | // Operations 14 | public: 15 | 16 | // Overrides 17 | public: 18 | virtual BOOL PreCreateWindow( CREATESTRUCT& cs ); 19 | virtual BOOL OnCmdMsg( UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo ); 20 | 21 | // Implementation 22 | public: 23 | inline void SetClass( CNodeClass* pClass ) { m_pClassView->SetClass( pClass ); } 24 | inline CClassView* GetChildView( void ) { return m_pClassView; } 25 | 26 | // View for the client area of the frame. 27 | CClassView* m_pClassView; 28 | 29 | virtual ~CClassFrame( ); 30 | 31 | #ifdef _DEBUG 32 | virtual void AssertValid( ) const; 33 | virtual void Dump( CDumpContext& dc ) const; 34 | #endif 35 | 36 | // Generated message map functions 37 | protected: 38 | afx_msg void OnFileClose( ); 39 | afx_msg void OnSetFocus( CWnd* pOldWnd ); 40 | afx_msg int OnCreate( LPCREATESTRUCT lpCreateStruct ); 41 | DECLARE_MESSAGE_MAP( ) 42 | }; 43 | -------------------------------------------------------------------------------- /ReClass/CCustomEdit.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | #include "CCustomEdit.h" 4 | #include "CClassFrame.h" 5 | 6 | BEGIN_MESSAGE_MAP( CCustomEdit, CEdit ) 7 | ON_WM_CHAR( ) 8 | ON_CONTROL_REFLECT( EN_CHANGE, &CCustomEdit::OnEnChange ) 9 | ON_WM_CTLCOLOR_REFLECT( ) 10 | END_MESSAGE_MAP( ) 11 | 12 | BOOL CCustomEdit::Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID ) 13 | { 14 | m_brBackGnd = CreateSolidBrush( g_clrSelect ); 15 | dwStyle = dwStyle | ES_AUTOHSCROLL; // ICY 16 | return CEdit::Create( dwStyle, rect, pParentWnd, nID ); 17 | } 18 | 19 | HBRUSH CCustomEdit::CtlColor( CDC* pDC, UINT nCtlColor ) 20 | { 21 | pDC->SetBkColor( g_clrSelect ); 22 | return m_brBackGnd; 23 | } 24 | 25 | void CCustomEdit::OnChar( UINT nChar, UINT nRepCnt, UINT nFlags ) 26 | { 27 | CClassView* ClassView; 28 | CNodeBase* HotspotNode; 29 | UINT HotspotNodeIndex; 30 | DWORD Before, After; 31 | 32 | if (nChar == VK_RETURN) 33 | { 34 | ShowWindow( SW_HIDE ); 35 | GetWindowText( m_Hotspot.Text ); 36 | 37 | ClassView = static_cast(GetParent( )); 38 | HotspotNode = m_Hotspot.Object; 39 | 40 | Before = HotspotNode->GetMemorySize( ); 41 | HotspotNode->Update( &m_Hotspot ); 42 | After = HotspotNode->GetMemorySize( ); 43 | 44 | HotspotNodeIndex = ClassView->FindNodeIndex( HotspotNode ); 45 | 46 | ClassView->ResizeNode( static_cast(HotspotNode->GetParent( )), HotspotNodeIndex, Before, After ); 47 | ClassView->Invalidate( ); 48 | } 49 | 50 | CEdit::OnChar( nChar, nRepCnt, nFlags ); 51 | } 52 | 53 | void CCustomEdit::OnEnChange( ) 54 | { 55 | CString TextString; 56 | int StringWidth; 57 | 58 | GetWindowText( TextString ); 59 | 60 | StringWidth = (TextString.GetLength( ) + 1) * g_FontWidth; // + 6; 61 | if (StringWidth > m_MinWidth) 62 | SetWindowPos( NULL, 0, 0, StringWidth, g_FontHeight, SWP_NOMOVE ); 63 | } 64 | -------------------------------------------------------------------------------- /ReClass/CCustomEdit.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "HotSpot.h" 5 | 6 | class CCustomEdit : public CEdit { 7 | public: 8 | virtual BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID ); 9 | 10 | DECLARE_MESSAGE_MAP( ) 11 | 12 | afx_msg void OnChar( UINT nChar, UINT nRepCnt, UINT nFlags ); 13 | afx_msg void OnEnChange( ); 14 | afx_msg HBRUSH CtlColor( CDC* /*pDC*/, UINT /*nCtlColor*/ ); 15 | 16 | public: 17 | HOTSPOT m_Hotspot; 18 | LONG m_MinWidth; 19 | HBRUSH m_brBackGnd; 20 | }; -------------------------------------------------------------------------------- /ReClass/CCustomToolTip.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | #include "CCustomToolTip.h" 4 | 5 | BEGIN_MESSAGE_MAP( CCustomToolTip, CEdit ) 6 | ON_WM_CTLCOLOR_REFLECT( ) 7 | END_MESSAGE_MAP( ) 8 | 9 | BOOL CCustomToolTip::Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID ) 10 | { 11 | m_brBackGnd = CreateSolidBrush( 0xFFFFFF ); 12 | return CEdit::Create( dwStyle, rect, pParentWnd, nID ); 13 | } 14 | 15 | HBRUSH CCustomToolTip::CtlColor( CDC* pDC, UINT nCtlColor ) 16 | { 17 | pDC->SetBkColor( 0xFFFFFF ); 18 | return m_brBackGnd; 19 | } -------------------------------------------------------------------------------- /ReClass/CCustomToolTip.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class CCustomToolTip : public CEdit { 6 | public: 7 | virtual BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID ); 8 | 9 | DECLARE_MESSAGE_MAP( ) 10 | afx_msg HBRUSH CtlColor( CDC* pDC, UINT nCtlColor ); 11 | 12 | public: 13 | HBRUSH m_brBackGnd; 14 | }; -------------------------------------------------------------------------------- /ReClass/CMemory.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CMemory { 4 | public: 5 | CMemory( ) 6 | : m_ulSize( 0 ) 7 | , m_pMemory( NULL ) 8 | { 9 | } 10 | 11 | ~CMemory( ) 12 | { 13 | if (m_pMemory != NULL) 14 | free( m_pMemory ); 15 | } 16 | 17 | inline void SetSize( unsigned long Size ) 18 | { 19 | if (m_pMemory == NULL || (Size != m_ulSize)) 20 | { 21 | if (m_pMemory != NULL) 22 | free( m_pMemory ); 23 | m_pMemory = (unsigned char *)malloc( Size ); 24 | m_ulSize = Size; 25 | } 26 | } 27 | 28 | inline unsigned char* Data( ) { return m_pMemory; } 29 | inline unsigned long DataSize( ) const { return m_ulSize; } 30 | 31 | private: 32 | unsigned char* m_pMemory; 33 | unsigned long m_ulSize; 34 | }; 35 | -------------------------------------------------------------------------------- /ReClass/CNodeArray.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CNodeArray : public CNodeBase { 4 | public: 5 | CNodeArray( ); 6 | 7 | virtual void Update( const PHOTSPOT Spot ); 8 | 9 | virtual ULONG GetMemorySize( ); 10 | 11 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 12 | 13 | inline void SetTotal( ULONG total ) { m_ulTotal = total; } 14 | inline ULONG GetTotal( void ) { return m_ulTotal; } 15 | 16 | inline void SetClass( CNodeClass* pNode ) { m_pNode = pNode; } 17 | inline CNodeClass* GetClass( void ) { return m_pNode; } 18 | 19 | protected: 20 | CNodeClass* m_pNode; 21 | ULONG m_ulTotal; 22 | INT m_iCurrent; 23 | }; 24 | -------------------------------------------------------------------------------- /ReClass/CNodeBits.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeBits.h" 3 | 4 | #include "BitArray.h" 5 | 6 | CNodeBits::CNodeBits( ) 7 | { 8 | m_nodeType = nt_bits; 9 | } 10 | 11 | void CNodeBits::Update( const PHOTSPOT Spot ) 12 | { 13 | StandardUpdate( Spot ); 14 | unsigned char v = (unsigned char)(_tcstoul( Spot->Text.GetString( ), NULL, 16 ) & 0xFF); 15 | if (Spot->Id == 0) 16 | ReClassWriteMemory( (LPVOID)Spot->Address, &v, 1 ); 17 | } 18 | 19 | NODESIZE CNodeBits::Draw( const PVIEWINFO View, int x, int y ) 20 | { 21 | UCHAR* Data; 22 | NODESIZE DrawSize; 23 | 24 | if (m_bHidden) 25 | return DrawHidden( View, x, y ); 26 | 27 | Data = (UCHAR*)&View->Data[m_Offset]; 28 | AddSelection( View, 0, y, g_FontHeight ); 29 | AddDelete( View, x, y ); 30 | AddTypeDrop( View, x, y ); 31 | //AddAdd(View,x,y); 32 | 33 | int tx = x + TXOFFSET + 16; 34 | tx = AddAddressOffset( View, tx, y ); 35 | 36 | if (g_bText) 37 | { 38 | BitArray bits; 39 | bits.SetValue( Data[0] ); 40 | 41 | tx = AddText( View, tx, y, g_clrChar, HS_EDIT, "%s ", bits.GetBitsReverseString( ) ); 42 | } 43 | 44 | tx = AddText( View, tx, y, g_clrHex, 0, _T( "%0.2X" ), Data[0] ) + g_FontWidth; 45 | tx = AddComment( View, tx, y ); 46 | 47 | DrawSize.x = tx; 48 | DrawSize.y = y + g_FontHeight; 49 | 50 | return DrawSize; 51 | } 52 | -------------------------------------------------------------------------------- /ReClass/CNodeBits.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeBits : public CNodeBase { 6 | public: 7 | CNodeBits( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return 1; } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeByte.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeByte.h" 3 | 4 | CNodeByte::CNodeByte( ) 5 | { 6 | m_nodeType = nt_uint8; 7 | } 8 | 9 | void CNodeByte::Update( const PHOTSPOT Spot ) 10 | { 11 | unsigned __int8 ByteValue; 12 | 13 | StandardUpdate( Spot ); 14 | 15 | ByteValue = (unsigned __int8)_tcstoul( Spot->Text.GetString( ), NULL, g_bUnsignedHex ? 16 : 10 ); 16 | if (Spot->Id == 0) 17 | ReClassWriteMemory( (LPVOID)Spot->Address, &ByteValue, sizeof( unsigned __int8 ) ); 18 | } 19 | 20 | NODESIZE CNodeByte::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | unsigned __int8* Data; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | Data = (unsigned __int8*)(View->Data + m_Offset); 30 | 31 | AddSelection( View, 0, y, g_FontHeight ); 32 | AddDelete( View, x, y ); 33 | AddTypeDrop( View, x, y ); 34 | //AddAdd(View,x,y); 35 | 36 | tx = x + TXOFFSET; 37 | tx = AddIcon( View, tx, y, ICON_UNSIGNED, HS_NONE, HS_NONE ); 38 | tx = AddAddressOffset( View, tx, y ); 39 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "BYTE " ) ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 41 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 42 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, g_bUnsignedHex ? _T( "0x%02X" ) : _T( "%u" ), Data[0] ) + g_FontWidth; 43 | tx = AddComment( View, tx, y ); 44 | 45 | DrawSize.x = tx; 46 | DrawSize.y = y + g_FontHeight; 47 | return DrawSize; 48 | } 49 | -------------------------------------------------------------------------------- /ReClass/CNodeByte.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeByte : public CNodeBase { 6 | public: 7 | CNodeByte( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( unsigned __int8 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeCharPtr.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeCharPtr.h" 3 | 4 | CNodeCharPtr::CNodeCharPtr( ) 5 | { 6 | m_nodeType = nt_pchar; 7 | m_strName = "PChar"; 8 | } 9 | 10 | void CNodeCharPtr::Update( const PHOTSPOT Spot ) 11 | { 12 | uintptr_t PointerValue; 13 | 14 | StandardUpdate( Spot ); 15 | 16 | #if defined(_M_AMD64) 17 | PointerValue = (uintptr_t)_ttoi64( Spot->Text.GetString( ) ); 18 | #else 19 | PointerValue = (uintptr_t)_ttoi( Spot->Text.GetString( ) ); 20 | #endif 21 | if (Spot->Id == 0) 22 | ReClassWriteMemory( (LPVOID)Spot->Address, &PointerValue, sizeof( uintptr_t ) ); 23 | } 24 | 25 | NODESIZE CNodeCharPtr::Draw( const PVIEWINFO View, int x, int y ) 26 | { 27 | int tx; 28 | NODESIZE DrawSize; 29 | uintptr_t* Data; 30 | 31 | if (m_bHidden) 32 | return DrawHidden( View, x, y ); 33 | 34 | Data = (uintptr_t*)(View->Data + m_Offset); 35 | 36 | AddSelection( View, 0, y, g_FontHeight ); 37 | AddDelete( View, x, y ); 38 | AddTypeDrop( View, x, y ); 39 | //AddAdd(View, x, y); 40 | 41 | tx = x + TXOFFSET; 42 | tx = AddIcon( View, tx, y, ICON_INTEGER, HS_NONE, HS_NONE ); 43 | tx = AddAddressOffset( View, tx, y ); 44 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "PCHAR " ) ); 45 | tx = AddText( View, tx, y, g_clrName, HS_NAME, m_strName ); 46 | 47 | //tx = AddText(View,tx,y,g_clrName,HS_NONE," = "); 48 | //tx = AddText(View,tx,y,g_clrValue,0,"%lli",pMemory[0]) + FontWidth; 49 | //tx = AddComment(View,tx,y); 50 | 51 | /* 52 | int tx = x + 16; 53 | tx = AddIcon(View,tx,y,ICON_TEXT,HS_NONE,HS_NONE); 54 | tx = AddAddressOffset(View,tx,y); 55 | tx = AddText(View,tx,y,g_clrType,HS_NONE,"Text "); 56 | tx = AddText(View,tx,y,g_clrName,69,"%s",m_strName); 57 | tx = AddText(View,tx,y,g_clrIndex,HS_NONE,"["); 58 | tx = AddText(View,tx,y,g_clrIndex,0,"%i",memsize); 59 | tx = AddText(View,tx,y,g_clrIndex,HS_NONE,"]"); 60 | */ 61 | 62 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, _T( " = '" ) ); 63 | if (VALID( Data )) 64 | { 65 | CStringA MemoryString( ReadMemoryStringA( *Data, 128 ) ); 66 | tx = AddText( View, tx, y, g_clrChar, 1, "%s", MemoryString.GetBuffer( ) ); 67 | } 68 | 69 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, _T( "' " ) ) + g_FontWidth; 70 | tx = AddComment( View, tx, y ); 71 | 72 | DrawSize.x = tx; 73 | DrawSize.y = y + g_FontHeight; 74 | return DrawSize; 75 | } 76 | -------------------------------------------------------------------------------- /ReClass/CNodeCharPtr.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | #include "CMemory.h" 5 | 6 | class CNodeCharPtr : public CNodeBase { 7 | public: 8 | CNodeCharPtr( ); 9 | 10 | virtual void Update( const PHOTSPOT Spot ); 11 | 12 | virtual ULONG GetMemorySize( ) { return sizeof( void* ); } 13 | 14 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 15 | 16 | public: 17 | CNodeBase* m_pNode; 18 | CMemory m_Memory; 19 | }; -------------------------------------------------------------------------------- /ReClass/CNodeClass.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeClass : public CNodeBase { 6 | public: 7 | CNodeClass( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ); 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | 15 | inline void SetChildClassFrame( class CClassFrame* pChild ) { m_pChildClassFrame = pChild; } 16 | inline class CClassFrame* GetChildClassFrame( ) { return m_pChildClassFrame; } 17 | 18 | inline void SetCodeString( LPCTSTR CodeStr ) { m_Code.SetString( CodeStr ); } 19 | 20 | public: 21 | size_t m_Idx; 22 | size_t m_RequestPosition; 23 | CString m_Code; 24 | class CClassFrame* m_pChildClassFrame; 25 | }; 26 | -------------------------------------------------------------------------------- /ReClass/CNodeClassInstance.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeClassInstance.h" 3 | 4 | CNodeClassInstance::CNodeClassInstance( ) 5 | : m_pNode( NULL ) 6 | { 7 | m_nodeType = nt_instance; 8 | } 9 | 10 | void CNodeClassInstance::Update( const PHOTSPOT Spot ) 11 | { 12 | StandardUpdate( Spot ); 13 | } 14 | 15 | ULONG CNodeClassInstance::GetMemorySize( ) 16 | { 17 | return m_pNode->GetMemorySize( ); 18 | } 19 | 20 | NODESIZE CNodeClassInstance::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | NODESIZE ChildDrawSize; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | DrawSize.x = 0; 30 | DrawSize.y = 0; 31 | 32 | AddSelection( View, 0, y, g_FontHeight ); 33 | AddDelete( View, x, y ); 34 | AddTypeDrop( View, x, y ); 35 | 36 | x = AddOpenClose( View, x, y ); 37 | x = AddIcon( View, x, y, ICON_CLASS, -1, -1 ); 38 | 39 | tx = x; 40 | tx = AddAddressOffset( View, tx, y ); 41 | 42 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Instance " ) ); 43 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 44 | tx = AddText( View, tx, y, g_clrValue, HS_NONE, _T( "<%s>" ), m_pNode->GetName( ) ); 45 | tx = AddIcon( View, tx, y, ICON_CHANGE, HS_CLICK, HS_CHANGE_X ); 46 | 47 | tx += g_FontWidth; 48 | tx = AddComment( View, tx, y ); 49 | 50 | y += g_FontHeight; 51 | if (m_LevelsOpen[View->Level]) 52 | { 53 | VIEWINFO NewView; 54 | memcpy( &NewView, View, sizeof( NewView ) ); 55 | NewView.Address = View->Address + m_Offset; 56 | NewView.Data = (UCHAR*)((uintptr_t)NewView.Data + m_Offset); 57 | 58 | ChildDrawSize = m_pNode->Draw( &NewView, x, y ); 59 | 60 | y = ChildDrawSize.y; 61 | if (ChildDrawSize.x > DrawSize.x) 62 | { 63 | DrawSize.x = ChildDrawSize.x; 64 | } 65 | } 66 | 67 | DrawSize.x = tx; 68 | DrawSize.y = y; 69 | return DrawSize; 70 | } 71 | -------------------------------------------------------------------------------- /ReClass/CNodeClassInstance.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeClassInstance : public CNodeBase { 6 | public: 7 | CNodeClassInstance( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ); 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | 15 | inline void SetClass( CNodeClass* pNode ) { m_pNode = pNode; } 16 | inline CNodeClass* GetClass( void ) { return m_pNode; } 17 | 18 | private: 19 | CNodeClass* m_pNode; 20 | }; -------------------------------------------------------------------------------- /ReClass/CNodeCustom.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeCustom.h" 3 | 4 | CNodeCustom::CNodeCustom( ) 5 | { 6 | m_nodeType = nt_custom; 7 | m_strName = _T( "Custom" ); 8 | m_ulMemorySize = sizeof( void* ); 9 | } 10 | 11 | void CNodeCustom::Update( const PHOTSPOT Spot ) 12 | { 13 | StandardUpdate( Spot ); 14 | if (Spot->Id == 0) 15 | m_ulMemorySize = _ttoi( Spot->Text.GetString( ) ); 16 | } 17 | 18 | ULONG CNodeCustom::GetMemorySize( ) 19 | { 20 | return m_ulMemorySize; 21 | } 22 | 23 | NODESIZE CNodeCustom::Draw( const PVIEWINFO View, int x, int y ) 24 | { 25 | int tx; 26 | NODESIZE DrawSize; 27 | 28 | if (m_bHidden) 29 | return DrawHidden( View, x, y ); 30 | 31 | AddSelection( View, 0, y, g_FontHeight ); 32 | AddDelete( View, x, y ); 33 | AddTypeDrop( View, x, y ); 34 | //AddAdd(View,x,y); 35 | 36 | tx = x + TXOFFSET; 37 | tx = AddIcon( View, tx, y, ICON_CUSTOM, HS_NONE, HS_NONE ); 38 | tx = AddAddressOffset( View, tx, y ); 39 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Custom " ) ); 40 | tx = AddText( View, tx, y, g_clrIndex, HS_NONE, _T( "[" ) ); 41 | tx = AddText( View, tx, y, g_clrIndex, HS_EDIT, _T( "%i" ), m_ulMemorySize ); 42 | tx = AddText( View, tx, y, g_clrIndex, HS_NONE, _T( "] " ) ); 43 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ) + g_FontWidth; 44 | tx = AddComment( View, tx, y ); 45 | 46 | DrawSize.x = tx; 47 | DrawSize.y = y + g_FontHeight; 48 | return DrawSize; 49 | } -------------------------------------------------------------------------------- /ReClass/CNodeCustom.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeCustom : public CNodeBase { 6 | public: 7 | CNodeCustom( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ); 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | 15 | inline void SetSize( ULONG size ) { m_ulMemorySize = size; } 16 | inline ULONG GetSize( void ) { return m_ulMemorySize; } 17 | 18 | private: 19 | ULONG m_ulMemorySize; 20 | }; -------------------------------------------------------------------------------- /ReClass/CNodeDouble.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeDouble.h" 3 | 4 | CNodeDouble::CNodeDouble( ) 5 | { 6 | m_nodeType = nt_double; 7 | } 8 | 9 | void CNodeDouble::Update( const PHOTSPOT Spot ) 10 | { 11 | double DoubleValue; 12 | 13 | StandardUpdate( Spot ); 14 | 15 | DoubleValue = _tcstod( Spot->Text.GetString( ), NULL ); 16 | if (Spot->Id == 0) 17 | ReClassWriteMemory( (LPVOID)Spot->Address, &DoubleValue, sizeof( double ) ); 18 | } 19 | 20 | NODESIZE CNodeDouble::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | double* Data; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | Data = (double*)(View->Data + m_Offset); 30 | 31 | AddSelection( View, 0, y, g_FontHeight ); 32 | AddDelete( View, x, y ); 33 | AddTypeDrop( View, x, y ); 34 | //AddAdd(View,x,y); 35 | 36 | tx = x + TXOFFSET; 37 | tx = AddIcon( View, tx, y, ICON_FLOAT, HS_NONE, HS_NONE ); 38 | tx = AddAddressOffset( View, tx, y ); 39 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "double " ) ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 41 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 42 | //tx = AddText(View, tx, y, g_clrValue, 0, "%.4lg", pMemory[0]) + FontWidth; 43 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, _T( "%.4g" ), *Data ) + g_FontWidth; 44 | tx = AddComment( View, tx, y ); 45 | 46 | DrawSize.x = tx; 47 | DrawSize.y = y + g_FontHeight; 48 | return DrawSize; 49 | } 50 | -------------------------------------------------------------------------------- /ReClass/CNodeDouble.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeDouble : public CNodeBase { 6 | public: 7 | CNodeDouble( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( void ) { return sizeof( double ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeDword.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeDword.h" 3 | 4 | CNodeDword::CNodeDword( ) 5 | { 6 | m_nodeType = nt_uint32; 7 | } 8 | 9 | void CNodeDword::Update( const PHOTSPOT Spot ) 10 | { 11 | DWORD DwordValue; 12 | 13 | StandardUpdate( Spot ); 14 | 15 | DwordValue = _tcstoul( Spot->Text.GetString( ), NULL, g_bUnsignedHex ? 16 : 10 ); 16 | if (Spot->Id == 0) 17 | ReClassWriteMemory( (LPVOID)Spot->Address, &DwordValue, sizeof( DWORD ) ); 18 | } 19 | 20 | NODESIZE CNodeDword::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | DWORD* Data; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | Data = (DWORD*)(View->Data + m_Offset); 30 | AddSelection( View, 0, y, g_FontHeight ); 31 | AddDelete( View, x, y ); 32 | AddTypeDrop( View, x, y ); 33 | //AddAdd(View,x,y); 34 | 35 | tx = x + TXOFFSET; 36 | tx = AddIcon( View, tx, y, ICON_UNSIGNED, HS_NONE, HS_NONE ); 37 | tx = AddAddressOffset( View, tx, y ); 38 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "DWORD " ) ); 39 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 41 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, g_bUnsignedHex ? _T( "0x%X" ) : _T( "%u" ), *Data ) + g_FontWidth; 42 | tx = AddComment( View, tx, y ); 43 | 44 | DrawSize.x = tx; 45 | DrawSize.y = y + g_FontHeight; 46 | return DrawSize; 47 | } 48 | -------------------------------------------------------------------------------- /ReClass/CNodeDword.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeDword : public CNodeBase { 6 | public: 7 | CNodeDword( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( DWORD ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeFloat.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeFloat.h" 3 | 4 | CNodeFloat::CNodeFloat( ) 5 | { 6 | m_nodeType = nt_float; 7 | } 8 | 9 | void CNodeFloat::Update( const PHOTSPOT Spot ) 10 | { 11 | float FloatValue; 12 | 13 | StandardUpdate( Spot ); 14 | 15 | FloatValue = (float)_ttof( Spot->Text.GetString( ) ); 16 | if (Spot->Id == HS_EDIT) 17 | ReClassWriteMemory( (LPVOID)Spot->Address, &FloatValue, sizeof( float ) ); 18 | } 19 | 20 | NODESIZE CNodeFloat::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | float* Data; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | Data = (float*)(View->Data + m_Offset); 30 | AddSelection( View, 0, y, g_FontHeight ); 31 | AddDelete( View, x, y ); 32 | AddTypeDrop( View, x, y ); 33 | //AddAdd(View,x,y); 34 | 35 | tx = x + TXOFFSET; 36 | tx = AddIcon( View, tx, y, ICON_FLOAT, HS_NONE, HS_NONE ); 37 | tx = AddAddressOffset( View, tx, y ); 38 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "float " ) ); 39 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 41 | //tx = AddText(View,tx,y,g_clrValue,0,"%.4f",pMemory[0]) + FontWidth; 42 | 43 | //if ( *pMemory > -99999.0f && *pMemory < 99999.0f ) 44 | // *pMemory = 0; 45 | 46 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, _T( "%4.3f" ), *Data ) + g_FontWidth; 47 | tx = AddComment( View, tx, y ); 48 | 49 | DrawSize.x = tx; 50 | DrawSize.y = y + g_FontHeight; 51 | return DrawSize; 52 | } 53 | -------------------------------------------------------------------------------- /ReClass/CNodeFloat.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeFloat : public CNodeBase { 6 | public: 7 | CNodeFloat( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( float ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeFunction.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | #include "CScintillaEdit.h" 5 | #include "CClassView.h" 6 | 7 | class CNodeFunction : public CNodeBase { 8 | public: 9 | CNodeFunction( ); 10 | ~CNodeFunction( ); 11 | 12 | virtual void Update( const PHOTSPOT Spot ); 13 | 14 | virtual ULONG GetMemorySize( ) { return m_dwMemorySize; } 15 | 16 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 17 | 18 | inline void SetSize( ULONG Size ) { m_dwMemorySize = Size; } 19 | 20 | inline bool IsInitialized( ) { return (m_pEdit != NULL); } 21 | void Initialize( CClassView* pParentWindow, ULONG_PTR Address ); 22 | 23 | private: 24 | void DisassembleBytes( ULONG_PTR Address ); 25 | 26 | private: 27 | DWORD m_dwMemorySize; 28 | std::vector m_Assembly; 29 | 30 | private: 31 | CScintillaEdit* m_pEdit; 32 | 33 | ULONG m_nLines; 34 | ULONG m_nLongestLine; 35 | 36 | int m_iWidth; 37 | int m_iHeight; 38 | 39 | BOOLEAN m_bRedrawNeeded; 40 | }; -------------------------------------------------------------------------------- /ReClass/CNodeFunctionPtr.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | #include "CScintillaEdit.h" 5 | 6 | class CNodeFunctionPtr : public CNodeBase { 7 | public: 8 | CNodeFunctionPtr( ); 9 | CNodeFunctionPtr( CWnd* pParentWindow, ULONG_PTR Address ); 10 | ~CNodeFunctionPtr( ); 11 | 12 | virtual void Update( const PHOTSPOT Spot ); 13 | 14 | virtual ULONG GetMemorySize( ) { return sizeof( void* ); } 15 | 16 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 17 | 18 | void Initialize( CWnd* pParentWindow, ULONG_PTR Address ); 19 | 20 | inline bool IsInitialized( ) { return (m_pAssemblyWindow != NULL); } 21 | 22 | inline void HideAssemblyWindow( ) 23 | { 24 | if (!m_bRedrawNeeded) 25 | { 26 | if (m_pAssemblyWindow != NULL) 27 | m_pAssemblyWindow->ShowWindow( SW_HIDE ); 28 | m_bRedrawNeeded = TRUE; 29 | } 30 | 31 | //if (m_pAssemblyWindow != NULL) 32 | //{ 33 | // m_pAssemblyWindow->ShowWindow( SW_HIDE ); 34 | // m_bRedrawNeeded = TRUE; 35 | //} 36 | } 37 | 38 | private: 39 | void DisassembleBytes( ULONG_PTR Address ); 40 | 41 | public: 42 | std::vector m_Assembly; 43 | 44 | private: 45 | CScintillaEdit* m_pAssemblyWindow; 46 | CWnd* m_pParentWindow; 47 | 48 | ULONG m_nLines; 49 | ULONG m_nLongestLine; 50 | 51 | int m_iWidth; 52 | int m_iHeight; 53 | 54 | BOOLEAN m_bRedrawNeeded; 55 | }; -------------------------------------------------------------------------------- /ReClass/CNodeHex16.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeHex16.h" 3 | 4 | CNodeHex16::CNodeHex16( ) 5 | { 6 | m_nodeType = nt_hex16; 7 | } 8 | 9 | void CNodeHex16::Update( const PHOTSPOT Spot ) 10 | { 11 | StandardUpdate( Spot ); 12 | unsigned char v = (unsigned char)(_tcstoul( Spot->Text.GetString( ), NULL, 16 ) & 0xFF); 13 | if (Spot->Id == 0) 14 | ReClassWriteMemory( (LPVOID)Spot->Address, &v, 1 ); 15 | if (Spot->Id == 1) 16 | ReClassWriteMemory( (LPVOID)(Spot->Address + 1), &v, 1 ); 17 | } 18 | 19 | NODESIZE CNodeHex16::Draw( const PVIEWINFO View, int x, int y ) 20 | { 21 | int tx; 22 | NODESIZE DrawSize; 23 | const UCHAR* Data; 24 | 25 | if (m_bHidden) 26 | return DrawHidden( View, x, y ); 27 | 28 | Data = (const UCHAR*)(View->Data + m_Offset); 29 | AddSelection( View, 0, y, g_FontHeight ); 30 | AddDelete( View, x, y ); 31 | AddTypeDrop( View, x, y ); 32 | //AddAdd(View,x,y); 33 | 34 | tx = x + TXOFFSET + 16; 35 | tx = AddAddressOffset( View, tx, y ); 36 | 37 | if (g_bText) 38 | { 39 | CStringA str = GetStringFromMemoryA( (const char*)Data, 2 ); 40 | str += " "; 41 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, "%s", str.GetBuffer( ) ); 42 | } 43 | 44 | tx = AddText( View, tx, y, g_clrHex, 0, _T( "%0.2X" ), Data[0] & 0xFF ) + g_FontWidth; 45 | tx = AddText( View, tx, y, g_clrHex, 1, _T( "%0.2X" ), Data[1] & 0xFF ) + g_FontWidth; 46 | tx = AddComment( View, tx, y ); 47 | 48 | DrawSize.x = tx; 49 | DrawSize.y = y + g_FontHeight; 50 | return DrawSize; 51 | } 52 | -------------------------------------------------------------------------------- /ReClass/CNodeHex16.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeHex16 : public CNodeBase { 6 | public: 7 | CNodeHex16( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( __int16 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeHex32.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeHex32.h" 3 | 4 | CNodeHex32::CNodeHex32( ) 5 | { 6 | m_nodeType = nt_hex32; 7 | } 8 | 9 | void CNodeHex32::Update( const PHOTSPOT Spot ) 10 | { 11 | StandardUpdate( Spot ); 12 | unsigned char v = (unsigned char)(_tcstoul( Spot->Text.GetString( ), NULL, 16 ) & 0xFF); 13 | if (Spot->Id >= 0 && Spot->Id < 4) 14 | ReClassWriteMemory( (LPVOID)(Spot->Address + Spot->Id), &v, 1 ); 15 | } 16 | 17 | NODESIZE CNodeHex32::Draw( const PVIEWINFO View, int x, int y ) 18 | { 19 | int tx; 20 | NODESIZE DrawSize; 21 | const UCHAR* Data; 22 | 23 | if (m_bHidden) 24 | return DrawHidden( View, x, y ); 25 | 26 | Data = (const UCHAR*)(View->Data + m_Offset); 27 | AddSelection( View, 0, y, g_FontHeight ); 28 | AddDelete( View, x, y ); 29 | AddTypeDrop( View, x, y ); 30 | //AddAdd(View,x,y); 31 | 32 | tx = x + TXOFFSET + 16; 33 | tx = AddAddressOffset( View, tx, y ); 34 | 35 | if (g_bText) 36 | { 37 | // TODO these are the dots, do alignment instead of 4 38 | CStringA str = GetStringFromMemoryA( (const char*)Data, 4 ); 39 | str += " "; 40 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, "%s", str ); 41 | } 42 | 43 | tx = AddText( View, tx, y, g_clrHex, 0, _T( "%0.2X" ), Data[0] ) + g_FontWidth; 44 | tx = AddText( View, tx, y, g_clrHex, 1, _T( "%0.2X" ), Data[1] ) + g_FontWidth; 45 | tx = AddText( View, tx, y, g_clrHex, 2, _T( "%0.2X" ), Data[2] ) + g_FontWidth; 46 | tx = AddText( View, tx, y, g_clrHex, 3, _T( "%0.2X" ), Data[3] ) + g_FontWidth; 47 | tx = AddComment( View, tx, y ); 48 | 49 | DrawSize.x = tx; 50 | DrawSize.y = y + g_FontHeight; 51 | return DrawSize; 52 | } -------------------------------------------------------------------------------- /ReClass/CNodeHex32.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeHex32 : public CNodeBase { 6 | public: 7 | CNodeHex32( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( __int32 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeHex64.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeHex64.h" 3 | 4 | CNodeHex64::CNodeHex64( ) 5 | { 6 | m_nodeType = nt_hex64; 7 | } 8 | 9 | void CNodeHex64::Update( const PHOTSPOT Spot ) 10 | { 11 | StandardUpdate( Spot ); 12 | unsigned char v = (unsigned char)(_tcstoul( Spot->Text.GetString( ), NULL, 16 ) & 0xFF); 13 | if (Spot->Id >= 0 && Spot->Id < 8) 14 | ReClassWriteMemory( (LPVOID)(Spot->Address + Spot->Id), &v, 1 ); 15 | } 16 | 17 | NODESIZE CNodeHex64::Draw( const PVIEWINFO View, int x, int y ) 18 | { 19 | int tx; 20 | NODESIZE DrawSize; 21 | const UCHAR* Data; 22 | 23 | if (m_bHidden) 24 | return DrawHidden( View, x, y ); 25 | 26 | Data = (const UCHAR*)(View->Data + m_Offset); 27 | AddSelection( View, 0, y, g_FontHeight ); 28 | AddDelete( View, x, y ); 29 | AddTypeDrop( View, x, y ); 30 | //AddAdd(View,x,y); 31 | 32 | tx = x + TXOFFSET + 16; 33 | tx = AddAddressOffset( View, tx, y ); 34 | 35 | if (g_bText) 36 | { 37 | CStringA AsciiMemory = GetStringFromMemoryA( (const char*)Data, 8 ) + " "; 38 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, "%s", AsciiMemory.GetBuffer( ) ); 39 | } 40 | 41 | tx = AddText( View, tx, y, g_clrHex, 0, _T( "%0.2X" ), Data[0] ) + g_FontWidth; 42 | tx = AddText( View, tx, y, g_clrHex, 1, _T( "%0.2X" ), Data[1] ) + g_FontWidth; 43 | tx = AddText( View, tx, y, g_clrHex, 2, _T( "%0.2X" ), Data[2] ) + g_FontWidth; 44 | tx = AddText( View, tx, y, g_clrHex, 3, _T( "%0.2X" ), Data[3] ) + g_FontWidth; 45 | tx = AddText( View, tx, y, g_clrHex, 4, _T( "%0.2X" ), Data[4] ) + g_FontWidth; 46 | tx = AddText( View, tx, y, g_clrHex, 5, _T( "%0.2X" ), Data[5] ) + g_FontWidth; 47 | tx = AddText( View, tx, y, g_clrHex, 6, _T( "%0.2X" ), Data[6] ) + g_FontWidth; 48 | tx = AddText( View, tx, y, g_clrHex, 7, _T( "%0.2X" ), Data[7] ) + g_FontWidth; 49 | tx = AddComment( View, tx, y ); 50 | 51 | DrawSize.x = tx; 52 | DrawSize.y = y + g_FontHeight; 53 | return DrawSize; 54 | } 55 | -------------------------------------------------------------------------------- /ReClass/CNodeHex64.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeHex64 : public CNodeBase { 6 | public: 7 | CNodeHex64( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( __int64 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; 15 | -------------------------------------------------------------------------------- /ReClass/CNodeHex8.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeHex8.h" 3 | 4 | CNodeHex8::CNodeHex8( ) 5 | { 6 | m_nodeType = nt_hex8; 7 | } 8 | 9 | void CNodeHex8::Update( const PHOTSPOT Spot ) 10 | { 11 | StandardUpdate( Spot ); 12 | unsigned char v = (unsigned char)(_tcstoul( Spot->Text.GetString( ), NULL, 16 ) & 0xFF); 13 | if (Spot->Id == 0) 14 | ReClassWriteMemory( (LPVOID)Spot->Address, &v, 1 ); 15 | } 16 | 17 | NODESIZE CNodeHex8::Draw( const PVIEWINFO View, int x, int y ) 18 | { 19 | int tx; 20 | NODESIZE DrawSize; 21 | const UCHAR* Data; 22 | 23 | if (m_bHidden) 24 | return DrawHidden( View, x, y ); 25 | 26 | Data = (const UCHAR*)(View->Data + m_Offset); 27 | AddSelection( View, 0, y, g_FontHeight ); 28 | AddDelete( View, x, y ); 29 | AddTypeDrop( View, x, y ); 30 | //AddAdd(View,x,y); 31 | 32 | tx = x + TXOFFSET + 16; 33 | tx = AddAddressOffset( View, tx, y ); 34 | 35 | if (g_bText) 36 | { 37 | CStringA str = GetStringFromMemoryA( (const char*)Data, 1 ); 38 | str += " "; 39 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, "%s", str.GetBuffer( ) ); 40 | } 41 | 42 | tx = AddText( View, tx, y, g_clrHex, 0, _T( "%0.2X" ), Data[0] & 0xFF ) + g_FontWidth; 43 | tx = AddComment( View, tx, y ); 44 | 45 | DrawSize.x = tx; 46 | DrawSize.y = y + g_FontHeight; 47 | return DrawSize; 48 | } -------------------------------------------------------------------------------- /ReClass/CNodeHex8.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeHex8 : public CNodeBase { 6 | public: 7 | CNodeHex8( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( __int8 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeIcon.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeIcon.h" 3 | 4 | NODESIZE CNodeIcon::Draw( const PVIEWINFO View, int x, int y ) 5 | { 6 | NODESIZE DrawSize; 7 | 8 | for (UINT i = 0; i < 21; i++) 9 | x = AddIcon( View, x, y, i, -1, -1 ); 10 | 11 | DrawSize.x = x; 12 | DrawSize.y = y + g_FontHeight; 13 | 14 | return DrawSize; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /ReClass/CNodeIcon.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeIcon : public CNodeBase { 6 | public: 7 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /ReClass/CNodeInt16.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeInt16.h" 3 | 4 | CNodeInt16::CNodeInt16( ) 5 | { 6 | m_nodeType = nt_int16; 7 | } 8 | 9 | void CNodeInt16::Update( const PHOTSPOT Spot ) 10 | { 11 | __int16 Int16Value; 12 | 13 | StandardUpdate( Spot ); 14 | 15 | Int16Value = _ttoi( Spot->Text.GetString( ) ); 16 | if (Spot->Id == 0) 17 | ReClassWriteMemory( (LPVOID)Spot->Address, &Int16Value, sizeof( __int16 ) ); 18 | } 19 | 20 | NODESIZE CNodeInt16::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | __int16* Data; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | Data = (__int16*)(View->Data + m_Offset); 30 | AddSelection( View, 0, y, g_FontHeight ); 31 | AddDelete( View, x, y ); 32 | AddTypeDrop( View, x, y ); 33 | //AddAdd(View,x,y); 34 | 35 | tx = x + TXOFFSET; 36 | tx = AddIcon( View, tx, y, ICON_INTEGER, HS_NONE, HS_NONE ); 37 | tx = AddAddressOffset( View, tx, y ); 38 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Int16 " ) ); 39 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 41 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, _T( "%i" ), *Data ) + g_FontWidth; 42 | tx = AddComment( View, tx, y ); 43 | 44 | DrawSize.x = tx; 45 | DrawSize.y = y + g_FontHeight; 46 | return DrawSize; 47 | } 48 | -------------------------------------------------------------------------------- /ReClass/CNodeInt16.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeInt16 : public CNodeBase { 6 | public: 7 | CNodeInt16( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( __int16 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeInt32.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeInt32.h" 3 | 4 | CNodeInt32::CNodeInt32( ) 5 | { 6 | m_nodeType = nt_int32; 7 | } 8 | 9 | void CNodeInt32::Update( const PHOTSPOT Spot ) 10 | { 11 | __int32 Int32Value; 12 | 13 | StandardUpdate( Spot ); 14 | 15 | Int32Value = _ttoi( Spot->Text.GetString( ) ); 16 | if (Spot->Id == 0) 17 | ReClassWriteMemory( (LPVOID)Spot->Address, &Int32Value, sizeof( long ) ); 18 | } 19 | 20 | NODESIZE CNodeInt32::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | __int32* Data; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | Data = (__int32*)(View->Data + m_Offset); 30 | AddSelection( View, 0, y, g_FontHeight ); 31 | AddDelete( View, x, y ); 32 | AddTypeDrop( View, x, y ); 33 | //AddAdd(View,x,y); 34 | 35 | tx = x + TXOFFSET; 36 | tx = AddIcon( View, tx, y, ICON_INTEGER, HS_NONE, HS_NONE ); 37 | tx = AddAddressOffset( View, tx, y ); 38 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Int32 " ) ); 39 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 41 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, _T( "%i" ), *Data ) + g_FontWidth; 42 | tx = AddComment( View, tx, y ); 43 | 44 | DrawSize.x = tx; 45 | DrawSize.y = y + g_FontHeight; 46 | return DrawSize; 47 | } 48 | -------------------------------------------------------------------------------- /ReClass/CNodeInt32.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeInt32 : public CNodeBase { 6 | public: 7 | CNodeInt32( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( __int32 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeInt64.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeInt64.h" 3 | 4 | CNodeInt64::CNodeInt64( ) 5 | { 6 | m_nodeType = nt_int64; 7 | } 8 | 9 | void CNodeInt64::Update( const PHOTSPOT Spot ) 10 | { 11 | __int64 Int64Value; 12 | 13 | StandardUpdate( Spot ); 14 | 15 | Int64Value = _ttoi64( Spot->Text.GetString( ) ); 16 | if (Spot->Id == 0) 17 | ReClassWriteMemory( (LPVOID)Spot->Address, &Int64Value, sizeof( __int64 ) ); 18 | } 19 | 20 | NODESIZE CNodeInt64::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | __int64 Int64; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | Int64 = *(__int64*)(View->Data + m_Offset); 30 | 31 | AddSelection( View, 0, y, g_FontHeight ); 32 | AddDelete( View, x, y ); 33 | AddTypeDrop( View, x, y ); 34 | //AddAdd(View,x,y); 35 | 36 | tx = x + TXOFFSET; 37 | tx = AddIcon( View, tx, y, ICON_INTEGER, HS_NONE, HS_NONE ); 38 | tx = AddAddressOffset( View, tx, y ); 39 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Int64 " ) ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName.GetString( ) ); 41 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 42 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, _T( "%lli" ), Int64 ) + g_FontWidth; 43 | tx = AddComment( View, tx, y ); 44 | 45 | DrawSize.x = tx; 46 | DrawSize.y = y + g_FontHeight; 47 | return DrawSize; 48 | } 49 | -------------------------------------------------------------------------------- /ReClass/CNodeInt64.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeInt64 : public CNodeBase { 6 | public: 7 | CNodeInt64( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( __int64 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeInt8.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeInt8.h" 3 | 4 | CNodeInt8::CNodeInt8( ) 5 | { 6 | m_nodeType = nt_int8; 7 | } 8 | 9 | void CNodeInt8::Update( const PHOTSPOT Spot ) 10 | { 11 | __int8 Int8Value; 12 | 13 | StandardUpdate( Spot ); 14 | 15 | Int8Value = _ttoi( Spot->Text.GetString( ) ); 16 | if (Spot->Id == 0) 17 | ReClassWriteMemory( (LPVOID)Spot->Address, &Int8Value, sizeof( __int8 ) ); 18 | } 19 | 20 | NODESIZE CNodeInt8::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | __int8* Data; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | Data = (__int8*)(View->Data + m_Offset); 30 | AddSelection( View, 0, y, g_FontHeight ); 31 | AddDelete( View, x, y ); 32 | AddTypeDrop( View, x, y ); 33 | //AddAdd(View,x,y); 34 | 35 | tx = x + TXOFFSET; 36 | tx = AddIcon( View, tx, y, ICON_INTEGER, HS_NONE, HS_NONE ); 37 | tx = AddAddressOffset( View, tx, y ); 38 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Int8 " ) ); 39 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 41 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, _T( "%i" ), *Data ) + g_FontWidth; 42 | tx = AddComment( View, tx, y ); 43 | 44 | DrawSize.x = tx; 45 | DrawSize.y = y + g_FontHeight; 46 | return DrawSize; 47 | } 48 | -------------------------------------------------------------------------------- /ReClass/CNodeInt8.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeInt8 : public CNodeBase { 6 | public: 7 | CNodeInt8( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( __int8 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeMatrix.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CNodeMatrix : public CNodeBase { 4 | public: 5 | CNodeMatrix( ); 6 | 7 | virtual void Update( const PHOTSPOT Spot ); 8 | 9 | virtual ULONG GetMemorySize( ) { return 4 * 4 * sizeof( float ); } 10 | 11 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 12 | }; -------------------------------------------------------------------------------- /ReClass/CNodePtr.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodePtr.h" 3 | 4 | CNodePtr::CNodePtr( ) 5 | : m_pClassNode( NULL ) 6 | { 7 | m_nodeType = nt_pointer; 8 | } 9 | 10 | void CNodePtr::Update( const PHOTSPOT Spot ) 11 | { 12 | StandardUpdate( Spot ); 13 | } 14 | 15 | NODESIZE CNodePtr::Draw( const PVIEWINFO View, int x, int y ) 16 | { 17 | NODESIZE DrawSize; 18 | NODESIZE ChildDrawSize; 19 | ULONG_PTR* Data; 20 | int tx; 21 | 22 | if (m_bHidden) 23 | return DrawHidden( View, x, y ); 24 | 25 | Data = (ULONG_PTR*)(View->Data + m_Offset); 26 | 27 | //printf( "read ptr: %p\n", View->Data ); 28 | AddSelection( View, 0, y, g_FontHeight ); 29 | AddDelete( View, x, y ); 30 | AddTypeDrop( View, x, y ); 31 | 32 | x = AddOpenClose( View, x, y ); 33 | x = AddIcon( View, x, y, ICON_POINTER, -1, -1 ); 34 | 35 | tx = AddAddressOffset( View, x, y ); 36 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Ptr " ) ); 37 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 38 | tx = AddText( View, tx, y, g_clrValue, HS_NONE, _T( " <%s>" ), m_pClassNode->GetName( ) ); 39 | tx = AddIcon( View, tx, y, ICON_CHANGE, HS_CLICK, HS_CHANGE_A ); 40 | 41 | tx += g_FontWidth; 42 | tx = AddComment( View, tx, y ); 43 | 44 | y += g_FontHeight; 45 | DrawSize.x = tx; 46 | 47 | if (m_LevelsOpen[View->Level]) 48 | { 49 | DWORD NeededSize = m_pClassNode->GetMemorySize( ); 50 | m_Memory.SetSize( NeededSize ); 51 | 52 | VIEWINFO NewView; 53 | memcpy( &NewView, View, sizeof( NewView ) ); 54 | NewView.Data = m_Memory.Data( ); 55 | NewView.Address = *Data; 56 | 57 | ReClassReadMemory( (LPVOID)NewView.Address, (LPVOID)NewView.Data, NeededSize ); 58 | 59 | ChildDrawSize = m_pClassNode->Draw( &NewView, x, y ); 60 | 61 | y = ChildDrawSize.y; 62 | if (ChildDrawSize.x > DrawSize.x) 63 | DrawSize.x = ChildDrawSize.x; 64 | } 65 | 66 | DrawSize.y = y; 67 | return DrawSize; 68 | } -------------------------------------------------------------------------------- /ReClass/CNodePtr.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | #include "CMemory.h" 5 | 6 | class CNodePtr : public CNodeBase { 7 | public: 8 | CNodePtr( ); 9 | 10 | virtual void Update( const PHOTSPOT Spot ); 11 | 12 | virtual ULONG GetMemorySize( ) { return sizeof( void* ); } 13 | 14 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 15 | 16 | inline void SetClass( CNodeClass* pClassNode ) { m_pClassNode = pClassNode; } 17 | inline CNodeClass* GetClass( void ) { return m_pClassNode; } 18 | 19 | inline CMemory* Memory( ) { return &m_Memory; } 20 | 21 | private: 22 | CNodeClass* m_pClassNode; 23 | CMemory m_Memory; 24 | }; -------------------------------------------------------------------------------- /ReClass/CNodePtrArray.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodePtrArray : public CNodeBase { 6 | public: 7 | CNodePtrArray( ); 8 | 9 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 10 | 11 | virtual ULONG GetMemorySize( ); 12 | 13 | virtual void Update( const PHOTSPOT Spot ); 14 | 15 | inline ULONG Count( void ) { return m_ulPtrCount; } 16 | inline void SetCount( ULONG Count ) { m_ulPtrCount = Count; } 17 | 18 | void SetClass( CNodeClass* pNode ) { m_pNodePtr->SetClass( pNode ); } 19 | CNodeClass* GetClass( void ) { return m_pNodePtr->GetClass( ); } 20 | 21 | protected: 22 | CNodePtr* m_pNodePtr; 23 | ULONG m_ulPtrCount; 24 | INT m_iCurrentIndex; 25 | }; 26 | 27 | -------------------------------------------------------------------------------- /ReClass/CNodeQuat.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeQuat.h" 3 | 4 | CNodeQuat::CNodeQuat( ) 5 | { 6 | m_nodeType = nt_quat; 7 | for (UINT i = 0; i < m_LevelsOpen.size( ); i++) 8 | m_LevelsOpen[i] = true; 9 | } 10 | 11 | void CNodeQuat::Update( const PHOTSPOT Spot ) 12 | { 13 | float FloatValue; 14 | 15 | StandardUpdate( Spot ); 16 | 17 | FloatValue = (float)_ttof( Spot->Text.GetString( ) ); 18 | if (Spot->Id >= 0 && Spot->Id < 4) 19 | ReClassWriteMemory( (LPVOID)(Spot->Address + (Spot->Id * sizeof( float ))), &FloatValue, sizeof( float ) ); 20 | } 21 | 22 | NODESIZE CNodeQuat::Draw( const PVIEWINFO View, int x, int y ) 23 | { 24 | int tx; 25 | NODESIZE DrawSize; 26 | float* Data; 27 | 28 | if (m_bHidden) 29 | return DrawHidden( View, x, y ); 30 | 31 | Data = (float*)(View->Data + m_Offset); 32 | AddSelection( View, 0, y, g_FontHeight ); 33 | AddDelete( View, x, y ); 34 | AddTypeDrop( View, x, y ); 35 | 36 | tx = x + TXOFFSET; 37 | tx = AddIcon( View, tx, y, ICON_VECTOR, -1, -1 ); 38 | tx = AddAddressOffset( View, tx, y ); 39 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Vec4 " ) ); 40 | tx = AddText( View, tx, y, g_clrName, 69, _T( "%s" ), m_strName ); 41 | tx = AddOpenClose( View, tx, y ); 42 | if (m_LevelsOpen[View->Level]) 43 | { 44 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( "(" ) ); 45 | tx = AddText( View, tx, y, g_clrValue, 0, _T( "%0.3f" ), Data[0] ); 46 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( "," ) ); 47 | tx = AddText( View, tx, y, g_clrValue, 1, _T( "%0.3f" ), Data[1] ); 48 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( "," ) ); 49 | tx = AddText( View, tx, y, g_clrValue, 2, _T( "%0.3f" ), Data[2] ); 50 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( "," ) ); 51 | tx = AddText( View, tx, y, g_clrValue, 3, _T( "%0.3f" ), Data[3] ); 52 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( ")" ) ); 53 | } 54 | tx += g_FontWidth; 55 | tx = AddComment( View, tx, y ); 56 | 57 | DrawSize.x = tx; 58 | DrawSize.y = y + g_FontHeight; 59 | return DrawSize; 60 | } 61 | -------------------------------------------------------------------------------- /ReClass/CNodeQuat.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeQuat : public CNodeBase { 6 | public: 7 | CNodeQuat( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( float ) * 4; } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeQword.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeQword.h" 3 | 4 | CNodeQword::CNodeQword( ) 5 | { 6 | m_nodeType = nt_uint64; 7 | } 8 | 9 | void CNodeQword::Update( const PHOTSPOT Spot ) 10 | { 11 | UINT64 Uint64Value; 12 | 13 | StandardUpdate( Spot ); 14 | 15 | Uint64Value = _tcstoull( Spot->Text.GetString( ), NULL, g_bUnsignedHex ? 16 : 10 ); 16 | if (Spot->Id == 0) 17 | ReClassWriteMemory( (LPVOID)Spot->Address, &Uint64Value, sizeof( UINT64 ) ); 18 | } 19 | 20 | NODESIZE CNodeQword::Draw( const PVIEWINFO View, int x, int y ) 21 | { 22 | int tx; 23 | NODESIZE DrawSize; 24 | UINT64* Data; 25 | 26 | if (m_bHidden) 27 | return DrawHidden( View, x, y ); 28 | 29 | Data = (UINT64*)(View->Data + m_Offset); 30 | AddSelection( View, 0, y, g_FontHeight ); 31 | AddDelete( View, x, y ); 32 | AddTypeDrop( View, x, y ); 33 | //AddAdd(View,x,y); 34 | 35 | tx = x + TXOFFSET; 36 | tx = AddIcon( View, tx, y, ICON_UNSIGNED, HS_NONE, HS_NONE ); 37 | tx = AddAddressOffset( View, tx, y ); 38 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "QWORD " ) ); 39 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 41 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, g_bUnsignedHex ? _T( "0x%I64X" ) : _T( "%llu" ), *Data ) + g_FontWidth; 42 | tx = AddComment( View, tx, y ); 43 | 44 | DrawSize.x = tx; 45 | DrawSize.y = y + g_FontHeight; 46 | return DrawSize; 47 | } 48 | -------------------------------------------------------------------------------- /ReClass/CNodeQword.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeQword : public CNodeBase { 6 | public: 7 | CNodeQword( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( UINT64 ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeText.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeText.h" 3 | 4 | CNodeText::CNodeText( ) 5 | { 6 | m_nodeType = nt_text; 7 | m_strName = _T( "Text" ); 8 | m_dwMemorySize = 16; 9 | } 10 | 11 | void CNodeText::Update( const PHOTSPOT Spot ) 12 | { 13 | SIZE_T Length; 14 | 15 | StandardUpdate( Spot ); 16 | 17 | if (Spot->Id == 0) 18 | { 19 | m_dwMemorySize = _ttoi( Spot->Text.GetString( ) ); 20 | } 21 | else if (Spot->Id == 1) 22 | { 23 | Length = Spot->Text.GetLength( ) + 1; 24 | if (Length > m_dwMemorySize) 25 | Length = m_dwMemorySize; 26 | ReClassWriteMemory( (LPVOID)Spot->Address, (LPVOID)Spot->Text.GetString( ), Length ); 27 | } 28 | } 29 | 30 | NODESIZE CNodeText::Draw( const PVIEWINFO View, int x, int y ) 31 | { 32 | int tx; 33 | NODESIZE DrawSize; 34 | char* Data; 35 | 36 | if (m_bHidden) 37 | return DrawHidden( View, x, y ); 38 | 39 | Data = (char*)(View->Data + m_Offset); 40 | 41 | AddSelection( View, 0, y, g_FontHeight ); 42 | AddDelete( View, x, y ); 43 | AddTypeDrop( View, x, y ); 44 | 45 | tx = x + TXOFFSET; 46 | tx = AddIcon( View, tx, y, ICON_TEXT, HS_NONE, HS_NONE ); 47 | tx = AddAddressOffset( View, tx, y ); 48 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Text " ) ); 49 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 50 | tx = AddText( View, tx, y, g_clrIndex, HS_NONE, _T( "[" ) ); 51 | tx = AddText( View, tx, y, g_clrIndex, HS_EDIT, _T( "%i" ), GetMemorySize( ) ); 52 | tx = AddText( View, tx, y, g_clrIndex, HS_NONE, _T( "]" ) ); 53 | 54 | if (VALID( Data )) 55 | { 56 | CStringA MemoryString( GetStringFromMemoryA( Data, GetMemorySize( ) ) ); 57 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, _T( " = '" ) ); 58 | tx = AddText( View, tx, y, g_clrChar, 1, "%.150s", MemoryString.GetBuffer( ) ); 59 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, _T( "' " ) ) + g_FontWidth; 60 | } 61 | 62 | tx = AddComment( View, tx, y ); 63 | 64 | DrawSize.x = tx; 65 | DrawSize.y = y + g_FontHeight; 66 | return DrawSize; 67 | } 68 | -------------------------------------------------------------------------------- /ReClass/CNodeText.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeText : public CNodeBase { 6 | public: 7 | CNodeText( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return m_dwMemorySize; } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | 15 | inline void SetSize( DWORD size ) { m_dwMemorySize = size; } 16 | inline DWORD GetSize( void ) { return m_dwMemorySize; } 17 | 18 | private: 19 | DWORD m_dwMemorySize; 20 | }; -------------------------------------------------------------------------------- /ReClass/CNodeUnicode.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeUnicode : public CNodeBase 6 | { 7 | public: 8 | CNodeUnicode( ); 9 | 10 | virtual void Update( const PHOTSPOT Spot ); 11 | 12 | virtual ULONG GetMemorySize( void ) { return m_dwMemorySize; } 13 | 14 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 15 | 16 | inline void SetSize( ULONG Size ) { m_dwMemorySize = Size; } 17 | inline ULONG GetSize( void ) { return m_dwMemorySize; } 18 | 19 | private: 20 | ULONG m_dwMemorySize; 21 | }; -------------------------------------------------------------------------------- /ReClass/CNodeVTable.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | #include "CMemory.h" 5 | 6 | class CNodeVTable : public CNodeBase { 7 | public: 8 | CNodeVTable( ); 9 | CNodeVTable( CWnd* pParentWindow ); 10 | 11 | virtual void Update( const PHOTSPOT Spot ); 12 | 13 | virtual ULONG GetMemorySize( ) { return sizeof( void* ); } 14 | 15 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 16 | 17 | inline bool IsInitialized( ) { return (m_pParentWindow != NULL); } 18 | 19 | void Initialize( CWnd* pParentWindow ); 20 | 21 | private: 22 | CMemory m_Memory; 23 | CWnd* m_pParentWindow; 24 | }; 25 | -------------------------------------------------------------------------------- /ReClass/CNodeVec2.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeVec2.h" 3 | 4 | CNodeVec2::CNodeVec2( ) 5 | { 6 | m_nodeType = nt_vec2; 7 | for (size_t i = 0; i < m_LevelsOpen.size( ); i++) 8 | m_LevelsOpen[i] = true; 9 | } 10 | 11 | void CNodeVec2::Update( const PHOTSPOT Spot ) 12 | { 13 | float FloatValue; 14 | 15 | StandardUpdate( Spot ); 16 | 17 | FloatValue = (float)_ttof( Spot->Text.GetString( ) ); 18 | if (Spot->Id >= 0 &&Spot->Id < 2) 19 | ReClassWriteMemory( (LPVOID)(Spot->Address + (Spot->Id * 4)), &FloatValue, sizeof( float ) ); 20 | } 21 | 22 | NODESIZE CNodeVec2::Draw( const PVIEWINFO View, int x, int y ) 23 | { 24 | int tx; 25 | NODESIZE DrawSize; 26 | float* Data; 27 | 28 | if (m_bHidden) 29 | return DrawHidden( View, x, y ); 30 | 31 | Data = (float*)(View->Data + m_Offset); 32 | 33 | AddSelection( View, 0, y, g_FontHeight ); 34 | AddDelete( View, x, y ); 35 | AddTypeDrop( View, x, y ); 36 | 37 | tx = x + TXOFFSET; 38 | tx = AddIcon( View, tx, y, ICON_VECTOR, HS_NONE, HS_NONE ); 39 | tx = AddAddressOffset( View, tx, y ); 40 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Vec2 " ) ); 41 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 42 | tx = AddOpenClose( View, tx, y ); 43 | if (m_LevelsOpen[View->Level]) 44 | { 45 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( "(" ) ); 46 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, _T( "%0.3f" ), Data[0] ); 47 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( "," ) ); 48 | tx = AddText( View, tx, y, g_clrValue, HS_OPENCLOSE, _T( "%0.3f" ), Data[1] ); 49 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( ")" ) ); 50 | } 51 | tx += g_FontWidth; 52 | tx = AddComment( View, tx, y ); 53 | 54 | DrawSize.x = tx; 55 | DrawSize.y = y + g_FontHeight; 56 | return DrawSize; 57 | } 58 | -------------------------------------------------------------------------------- /ReClass/CNodeVec2.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeVec2 : public CNodeBase { 6 | public: 7 | CNodeVec2( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( float ) * 2; } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeVec3.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeVec3.h" 3 | 4 | CNodeVec3::CNodeVec3( ) 5 | { 6 | m_nodeType = nt_vec3; 7 | for (size_t i = 0; i < m_LevelsOpen.size( ); i++) 8 | m_LevelsOpen[i] = true; 9 | } 10 | 11 | void CNodeVec3::Update( const PHOTSPOT Spot ) 12 | { 13 | float FloatValue; 14 | 15 | StandardUpdate( Spot ); 16 | 17 | FloatValue = (float)_ttof( Spot->Text.GetString( ) ); 18 | if (Spot->Id >= 0 && Spot->Id < 3) 19 | ReClassWriteMemory( (LPVOID)(Spot->Address + (Spot->Id * sizeof( float ))), &FloatValue, sizeof( float ) ); 20 | } 21 | 22 | NODESIZE CNodeVec3::Draw( const PVIEWINFO View, int x, int y ) 23 | { 24 | NODESIZE DrawSize; 25 | float* Data; 26 | 27 | if (m_bHidden) 28 | return DrawHidden( View, x, y ); 29 | 30 | Data = (float*)(View->Data + m_Offset); 31 | 32 | AddSelection( View, 0, y, g_FontHeight ); 33 | AddDelete( View, x, y ); 34 | AddTypeDrop( View, x, y ); 35 | 36 | int tx = x + TXOFFSET; 37 | tx = AddIcon( View, tx, y, ICON_VECTOR, HS_NONE, HS_NONE ); 38 | tx = AddAddressOffset( View, tx, y ); 39 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "Vec3 " ) ); 40 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 41 | tx = AddOpenClose( View, tx, y ); 42 | if (m_LevelsOpen[View->Level]) 43 | { 44 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( "(" ) ); 45 | tx = AddText( View, tx, y, g_clrValue, 0, _T( "%0.3f" ), Data[0] ); 46 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( "," ) ); 47 | tx = AddText( View, tx, y, g_clrValue, 1, _T( "%0.3f" ), Data[1] ); 48 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( "," ) ); 49 | tx = AddText( View, tx, y, g_clrValue, 2, _T( "%0.3f" ), Data[2] ); 50 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( ")" ) ); 51 | } 52 | tx += g_FontWidth; 53 | tx = AddComment( View, tx, y ); 54 | 55 | DrawSize.x = tx; 56 | DrawSize.y = y + g_FontHeight; 57 | return DrawSize; 58 | } 59 | -------------------------------------------------------------------------------- /ReClass/CNodeVec3.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeVec3 : public CNodeBase { 6 | public: 7 | CNodeVec3( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( float ) * 3; } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CNodeWCharPtr.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CNodeWCharPtr.h" 3 | 4 | CNodeWCharPtr::CNodeWCharPtr( ) 5 | { 6 | m_nodeType = nt_pwchar; 7 | m_strName = "PWChar"; 8 | } 9 | 10 | void CNodeWCharPtr::Update( const PHOTSPOT Spot ) 11 | { 12 | uintptr_t PointerValue; 13 | 14 | StandardUpdate( Spot ); 15 | 16 | PointerValue = (uintptr_t)_ttoi64( Spot->Text.GetString( ) ); 17 | if (Spot->Id == 0) 18 | ReClassWriteMemory( (LPVOID)Spot->Address, &PointerValue, sizeof( uintptr_t ) ); 19 | } 20 | 21 | NODESIZE CNodeWCharPtr::Draw( const PVIEWINFO View, int x, int y ) 22 | { 23 | int tx; 24 | NODESIZE DrawSize; 25 | uintptr_t* Data; 26 | 27 | if (m_bHidden) 28 | return DrawHidden( View, x, y ); 29 | 30 | Data = (uintptr_t*)(View->Data + m_Offset); 31 | 32 | AddSelection( View, 0, y, g_FontHeight ); 33 | AddDelete( View, x, y ); 34 | AddTypeDrop( View, x, y ); 35 | //AddAdd(View, x, y); 36 | 37 | tx = x + TXOFFSET; 38 | tx = AddIcon( View, tx, y, ICON_INTEGER, HS_NONE, HS_NONE ); 39 | tx = AddAddressOffset( View, tx, y ); 40 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "PWCHAR " ) ); 41 | tx = AddText( View, tx, y, g_clrName, HS_NAME, m_strName ); 42 | 43 | //tx = AddText(View,tx,y,g_clrName,HS_NONE," = "); 44 | //tx = AddText(View,tx,y,g_clrValue,0,"%lli",pMemory[0]) + FontWidth; 45 | //tx = AddComment(View,tx,y); 46 | 47 | /* 48 | tx = x + 16; 49 | tx = AddIcon(View,tx,y,ICON_TEXT,HS_NONE,HS_NONE); 50 | tx = AddAddressOffset(View,tx,y); 51 | tx = AddText(View,tx,y,g_clrType,HS_NONE,"Text "); 52 | tx = AddText(View,tx,y,g_clrName,69,"%s",m_strName); 53 | tx = AddText(View,tx,y,g_clrIndex,HS_NONE,"["); 54 | tx = AddText(View,tx,y,g_clrIndex,0,"%i",memsize); 55 | tx = AddText(View,tx,y,g_clrIndex,HS_NONE,"]"); 56 | */ 57 | 58 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, _T( " = '" ) ); 59 | if (VALID( Data )) 60 | { 61 | CStringW MemoryString = ReadMemoryStringW( *Data, 128 ); 62 | tx = AddText( View, tx, y, g_clrChar, 1, "%ls", MemoryString.GetBuffer( ) ); 63 | } 64 | 65 | tx = AddText( View, tx, y, g_clrChar, HS_NONE, _T( "' " ) ) + g_FontWidth; 66 | tx = AddComment( View, tx, y ); 67 | 68 | DrawSize.x = tx; 69 | DrawSize.y = y + g_FontHeight; 70 | return DrawSize; 71 | } 72 | -------------------------------------------------------------------------------- /ReClass/CNodeWCharPtr.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | #include "CMemory.h" 5 | 6 | class CNodeWCharPtr : public CNodeBase { 7 | public: 8 | CNodeWCharPtr( ); 9 | 10 | virtual void Update( const PHOTSPOT Spot ); 11 | 12 | virtual ULONG GetMemorySize( ) { return sizeof( void* ); } 13 | 14 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 15 | 16 | public: 17 | CNodeBase* pNode; 18 | CMemory Memory; 19 | }; -------------------------------------------------------------------------------- /ReClass/CNodeWord.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | #include "CNodeWord.h" 4 | 5 | CNodeWord::CNodeWord( ) 6 | { 7 | m_nodeType = nt_uint16; 8 | } 9 | 10 | void CNodeWord::Update( const PHOTSPOT Spot ) 11 | { 12 | WORD Uint16Value; 13 | 14 | StandardUpdate( Spot ); 15 | 16 | Uint16Value = (WORD)_tcstoul( Spot->Text.GetString( ), NULL, g_bUnsignedHex ? 16 : 10 ); 17 | if (Spot->Id == 0) 18 | ReClassWriteMemory( (LPVOID)Spot->Address, &Uint16Value, sizeof( WORD ) ); 19 | } 20 | 21 | NODESIZE CNodeWord::Draw( const PVIEWINFO View, int x, int y ) 22 | { 23 | int tx; 24 | NODESIZE DrawSize; 25 | WORD *Data; 26 | 27 | if (m_bHidden) 28 | return DrawHidden( View, x, y ); 29 | 30 | Data = (WORD*)(View->Data + m_Offset); 31 | 32 | AddSelection( View, 0, y, g_FontHeight ); 33 | AddDelete( View, x, y ); 34 | AddTypeDrop( View, x, y ); 35 | //AddAdd(View,x,y); 36 | 37 | tx = x + TXOFFSET; 38 | tx = AddIcon( View, tx, y, ICON_UNSIGNED, HS_NONE, HS_NONE ); 39 | tx = AddAddressOffset( View, tx, y ); 40 | tx = AddText( View, tx, y, g_clrType, HS_NONE, _T( "WORD " ) ); 41 | tx = AddText( View, tx, y, g_clrName, HS_NAME, _T( "%s" ), m_strName ); 42 | tx = AddText( View, tx, y, g_clrName, HS_NONE, _T( " = " ) ); 43 | tx = AddText( View, tx, y, g_clrValue, HS_EDIT, g_bUnsignedHex ? _T( "0x%X" ) : _T( "%u" ), *Data ) + g_FontWidth; 44 | tx = AddComment( View, tx, y ); 45 | 46 | DrawSize.x = tx; 47 | DrawSize.y = y + g_FontHeight; 48 | return DrawSize; 49 | } 50 | -------------------------------------------------------------------------------- /ReClass/CNodeWord.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | 5 | class CNodeWord : public CNodeBase { 6 | public: 7 | CNodeWord( ); 8 | 9 | virtual void Update( const PHOTSPOT Spot ); 10 | 11 | virtual ULONG GetMemorySize( ) { return sizeof( WORD ); } 12 | 13 | virtual NODESIZE Draw( const PVIEWINFO View, int x, int y ); 14 | }; -------------------------------------------------------------------------------- /ReClass/CProgressBar.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class CProgressBar : public CProgressCtrl 6 | { 7 | public: 8 | CProgressBar( ); 9 | CProgressBar( LPCTSTR strMessage, int nSize = 100, int MaxValue = 100, 10 | BOOL bSmooth = FALSE, int nPane = 0, CStatusBar* pBar = NULL ); 11 | ~CProgressBar( ); 12 | BOOL Create( LPCTSTR strMessage, int nSize = 100, int MaxValue = 100, 13 | BOOL bSmooth = FALSE, int nPane = 0 ); 14 | 15 | DECLARE_DYNCREATE( CProgressBar ) 16 | 17 | // operations 18 | public: 19 | BOOL SetRange( int nLower, int nUpper, int nStep = 1 ); 20 | BOOL SetText( LPCTSTR strMessage ); 21 | BOOL SetSize( int nSize ); 22 | COLORREF SetBarColour( COLORREF clrBar ); 23 | COLORREF SetBkColour( COLORREF clrBk ); 24 | int SetPos( int nPos ); 25 | int OffsetPos( int nPos ); 26 | int SetStep( int nStep ); 27 | int StepIt( ); 28 | void Clear( ); 29 | 30 | // Generated message map functions 31 | protected: 32 | afx_msg BOOL OnEraseBkgnd( CDC* pDC ); 33 | 34 | DECLARE_MESSAGE_MAP( ) 35 | 36 | // implementation 37 | protected: 38 | CStatusBar *GetStatusBar( ); 39 | BOOL Resize( ); 40 | 41 | int m_nSize; // Percentage size of control 42 | int m_nPane; // ID of status bar pane progress bar is to appear in 43 | CString m_strMessage; // Message to display to left of control 44 | CString m_strPrevText; // Previous text in status bar 45 | CRect m_Rect; // Dimensions of the whole thing 46 | CStatusBar* m_pStatusBar; // Set in the ctor to explicitly state which status bar to use. 47 | }; -------------------------------------------------------------------------------- /ReClass/DialogAbout.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "DialogAbout.h" 3 | 4 | // For Utils::GetVersionInfo 5 | #pragma comment(lib, "version.lib") 6 | 7 | CDialogAbout::CDialogAbout( ) : CDialogEx( CDialogAbout::IDD ) 8 | { 9 | } 10 | 11 | BEGIN_MESSAGE_MAP( CDialogAbout, CDialogEx ) 12 | END_MESSAGE_MAP( ) 13 | 14 | void CDialogAbout::DoDataExchange( CDataExchange * pDX ) 15 | { 16 | CDialogEx::DoDataExchange( pDX ); 17 | } 18 | 19 | BOOL CDialogAbout::OnInitDialog( ) 20 | { 21 | CDialogEx::OnInitDialog( ); 22 | 23 | CString strTemp; 24 | strTemp.Format( _T( "Build Date: %s - %s" ), _T( __DATE__ ), _T( __TIME__ ) ); 25 | SetDlgItemText( IDC_ABOUT_BUILD_DATE, strTemp ); 26 | CString strReclassVersion = Utils::GetVersionInfo( _T( "FileVersion" ) ); 27 | strTemp.Format( _T( "Version: %s" ), strReclassVersion.GetString( ) ); 28 | SetDlgItemText( IDC_ABOUT_BUILD_VERSION, strTemp ); 29 | CString authors; 30 | authors.LoadString( IDS_AUTHOR_STRING ); 31 | SetDlgItemText( IDC_ABOUT_AUTHORS, authors ); 32 | 33 | CString strLegalCopyright = Utils::GetVersionInfo( _T( "LegalCopyright" ) ); 34 | strTemp.Format( _T( 35 | "The MIT License (MIT)\r\n\r\n" 36 | "%s %s\r\n\r\n" 37 | "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\n" 38 | "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\n" 39 | "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n" 40 | ), strLegalCopyright, authors ); 41 | SetDlgItemText( IDC_ABOUT_LICENSE, strTemp ); 42 | 43 | SetFocus( ); 44 | 45 | return TRUE; 46 | } 47 | -------------------------------------------------------------------------------- /ReClass/DialogAbout.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "afxwin.h" 4 | 5 | // CAboutDlg dialog used for App About 6 | class CDialogAbout : public CDialogEx { 7 | public: 8 | CDialogAbout( ); 9 | enum { IDD = IDD_ABOUTBOX }; // Dialog Data 10 | 11 | protected: // DDX/DDV support 12 | virtual void DoDataExchange( CDataExchange* pDX ); 13 | virtual BOOL OnInitDialog( ); 14 | 15 | DECLARE_MESSAGE_MAP( ) // Implementation 16 | }; 17 | -------------------------------------------------------------------------------- /ReClass/DialogClasses.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "afxwin.h" 4 | 5 | class CDialogClasses : public CDialogEx { 6 | DECLARE_DYNAMIC( CDialogClasses ) 7 | public: 8 | CDialogClasses( CWnd* pParent = NULL ); 9 | virtual ~CDialogClasses( ); 10 | 11 | enum { IDD = IDD_DIALOG_CLASSES }; 12 | 13 | protected: 14 | virtual void DoDataExchange( CDataExchange* pDX ); 15 | 16 | DECLARE_MESSAGE_MAP( ) 17 | 18 | void OnDblclkListControl( LPNMHDR, LRESULT* ); 19 | public: 20 | CImageList m_ImageList; 21 | CListCtrl m_ClassViewList; 22 | CEdit m_Edit; 23 | CString m_Filter; 24 | HICON m_hClassIcon; 25 | 26 | virtual BOOL OnInitDialog( ); 27 | virtual void OnOK( ); 28 | virtual void AddData( int row, int col, const TCHAR* str ); 29 | virtual void BuildList( ); 30 | 31 | afx_msg void OnEnChangeClassname( ); 32 | }; -------------------------------------------------------------------------------- /ReClass/DialogConsole.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "afxwin.h" 4 | #include "Resource.h" 5 | #include "CScintillaEdit.h" 6 | 7 | // CDialogConsole dialog 8 | 9 | class CDialogConsole : public CDialogEx { 10 | DECLARE_DYNAMIC( CDialogConsole ) 11 | 12 | public: 13 | CDialogConsole( CString WindowTitle, CWnd* pParent = NULL ); // standard constructor 14 | virtual ~CDialogConsole( ); 15 | 16 | // Dialog Data 17 | enum { IDD = IDD_DIALOG_CONSOLE }; 18 | 19 | protected: 20 | virtual void DoDataExchange( CDataExchange* pDX ); // DDX/DDV support 21 | 22 | DECLARE_MESSAGE_MAP( ) 23 | 24 | 25 | // Sets a Scintilla style 26 | void SetStyle( int style, COLORREF fore, COLORREF back = RGB( 255, 255, 255 ), int size = -1, const char* face = 0 ); 27 | 28 | public: 29 | afx_msg BOOL Create( UINT nIDTemplate, CWnd* pParentWnd = NULL ); 30 | afx_msg BOOL OnInitDialog( ); 31 | afx_msg void OnCancel( ); 32 | afx_msg void OnSize( UINT nType, int cx, int cy ); 33 | 34 | void PrintText( const TCHAR* message ); 35 | 36 | BOOL IsInitialized( ) { return m_bInitialized; } 37 | 38 | CString m_strWindowTitle; 39 | BOOL m_bVisible; 40 | 41 | private: 42 | void InitialiseEditor( ); 43 | void SizeEditor( ); 44 | 45 | BOOL m_bInitialized; 46 | //CString m_strConsoleText; 47 | 48 | HWND m_hEditWindow; 49 | CScintillaEdit m_Edit; 50 | }; 51 | -------------------------------------------------------------------------------- /ReClass/DialogEdit.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "afxwin.h" 4 | #include "CScintillaEdit.h" 5 | 6 | class CDialogEdit : public CDialogEx { 7 | DECLARE_DYNAMIC( CDialogEdit ) 8 | public: 9 | CDialogEdit( CWnd* pParent = NULL ); 10 | virtual ~CDialogEdit( ); 11 | 12 | CString Title; 13 | CString Text; 14 | 15 | // Sets a Scintilla style 16 | void SetStyle( int style, COLORREF fore, COLORREF back = RGB( 255, 255, 255 ), int size = -1, const char* face = 0 ); 17 | 18 | void InitializeEditor( ); 19 | void SizeEditor( ); 20 | 21 | enum { IDD = IDD_DIALOG_EDIT }; 22 | 23 | protected: 24 | HWND m_hEditWindow; 25 | CScintillaEdit m_Edit; 26 | 27 | protected: 28 | virtual void DoDataExchange( CDataExchange* pDX ); // DDX/DDV support 29 | 30 | public: 31 | virtual BOOL Create( LPCTSTR lpszTemplateName, CWnd* pParentWnd = NULL ); 32 | virtual BOOL OnInitDialog( ); 33 | virtual void OnCancel( ); 34 | 35 | DECLARE_MESSAGE_MAP( ) 36 | afx_msg void OnSize( UINT nType, int cx, int cy ); 37 | afx_msg void OnFileEditoropen( ); 38 | afx_msg void OnFileEditorsaveas( ); 39 | }; 40 | -------------------------------------------------------------------------------- /ReClass/DialogModules.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "afxwin.h" 4 | 5 | class CDialogModules : public CDialogEx { 6 | DECLARE_DYNAMIC( CDialogModules ) 7 | public: 8 | CDialogModules( CWnd* pParent = NULL ); 9 | virtual ~CDialogModules( ); 10 | 11 | enum { IDD = IDD_DIALOG_MODULES }; 12 | 13 | protected: 14 | virtual void DoDataExchange( CDataExchange* pDX ); 15 | 16 | DECLARE_MESSAGE_MAP( ) 17 | 18 | afx_msg void OnEnChangeModuleName( ); 19 | afx_msg void OnSize( UINT nType, int cx, int cy ); 20 | afx_msg void OnColumnClick( NMHDR* pNMHDR, LRESULT* pResult ); 21 | afx_msg void OnDblClkListControl( NMHDR* pNMHDR, LRESULT* pResult ); 22 | afx_msg void OnGetMinMaxInfo( MINMAXINFO *lpinfo ); 23 | afx_msg void OnContextMenu( CWnd* pWnd, CPoint pos ); 24 | 25 | private: 26 | enum MODCOLUMN { 27 | COLUMN_NAME = 0, 28 | COLUMN_PATH, 29 | COLUMN_START, 30 | COLUMN_END, 31 | COLUMN_SIZE, 32 | NUM_OF_COLUMNS 33 | }; 34 | 35 | int FindModuleByName( const TCHAR* szName ); 36 | CNodeClass* GetClassByName( const TCHAR* szClassName ); 37 | 38 | typedef struct _COMPARESTRUCT { 39 | CListCtrl* pListCtrl; 40 | int iColumn; 41 | bool bAscending; 42 | } COMPARESTRUCT, *LPCOMPARESTRUCT; 43 | 44 | static int CALLBACK CompareFunction( LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort ); 45 | 46 | //public: 47 | CImageList m_ModuleIcons; 48 | 49 | CButton m_SymbolLoad; 50 | 51 | CListCtrl m_ModuleList; 52 | bool m_bSortAscendingName; 53 | bool m_bSortAscendingPath; 54 | bool m_bSortAscendingStart; 55 | bool m_bSortAscendingEnd; 56 | bool m_bSortAscendingSize; 57 | 58 | CEdit m_Edit; 59 | CString m_Filter; 60 | std::vector m_hModuleIcons; 61 | CRect m_OriginalSize; 62 | 63 | void SetSelected( ); 64 | 65 | virtual BOOL OnInitDialog( ); 66 | virtual void OnOK( ); 67 | virtual int AddData( int Index, LPCTSTR ModuleName, LPCTSTR ModulePath, LPCTSTR StartAddress, LPCTSTR EndAddress, LPCTSTR ModuleSize, LPARAM lParam ); 68 | virtual void BuildList( ); 69 | }; -------------------------------------------------------------------------------- /ReClass/DialogPlugins.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "afxwin.h" 4 | #include "Resource.h" 5 | #include "PluginAPI.h" 6 | 7 | // CDialogPlugins dialog 8 | 9 | class CDialogPlugins : public CDialogEx { 10 | DECLARE_DYNAMIC( CDialogPlugins ) 11 | public: 12 | // standard constructor 13 | CDialogPlugins( CWnd* pParent = NULL ) : CDialogEx( CDialogPlugins::IDD, pParent ) { } 14 | // virtual deconstructor 15 | virtual ~CDialogPlugins( ) { } 16 | 17 | // Dialog Data 18 | enum { IDD = IDD_DIALOG_PLUGINS, MENU_SETTINGS = 10010, MENU_ABOUT = 10011, MENU_STATECHANGE = 10012 }; 19 | 20 | protected: 21 | virtual void DoDataExchange( CDataExchange *pDX ); // DDX/DDV support 22 | virtual BOOL OnInitDialog( ); 23 | virtual void OnContextMenu( CWnd *pWnd, CPoint pos ); 24 | 25 | DECLARE_MESSAGE_MAP( ) 26 | 27 | afx_msg void OnPopupMenuSettings( ); 28 | afx_msg void OnPopupMenuAbout( ); 29 | afx_msg void OnPopupMenuChangeState( ); 30 | 31 | private: 32 | 33 | inline PRECLASS_PLUGIN GetSelectedPlugin( void ) 34 | { 35 | int SelectedIdx = m_PluginsList.GetSelectionMark( ); 36 | return g_LoadedPlugins.at( SelectedIdx ); 37 | } 38 | 39 | VOID RefreshPlugins( ); 40 | 41 | CListCtrl m_PluginsList; 42 | }; 43 | -------------------------------------------------------------------------------- /ReClass/DialogProcSelect.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "afxwin.h" 4 | #include "Resource.h" 5 | 6 | // CDialogProcSelect dialog 7 | 8 | class CDialogProcSelect : public CDialogEx { 9 | DECLARE_DYNAMIC( CDialogProcSelect ) 10 | public: 11 | CDialogProcSelect( CWnd* pParent = NULL ); 12 | virtual ~CDialogProcSelect( ); 13 | 14 | // Dialog Data 15 | enum { IDD = IDD_DIALOGPROCSELECT }; 16 | 17 | void ListRunningProcs( ); 18 | 19 | virtual void DoDataExchange( CDataExchange* pDX ); // DDX/DDV support 20 | virtual BOOL OnInitDialog( ); 21 | 22 | DECLARE_MESSAGE_MAP( ) 23 | 24 | afx_msg void OnClose( ); 25 | afx_msg void OnAttachButton( ); 26 | afx_msg void OnRefreshButton( ); 27 | afx_msg void OnDblClkListControl( NMHDR* pNMHDR, LRESULT* pResult ); 28 | afx_msg void OnColumnClick( NMHDR* pNMHDR, LRESULT* pResult ); 29 | 30 | private: 31 | enum 32 | { 33 | COLUMN_PROCESSNAME = 0, 34 | COLUMN_PROCESSID, 35 | NUM_OF_COLUMNS 36 | }; 37 | 38 | struct ProcessInfoStack 39 | { 40 | DWORD dwProcessId; 41 | CString strProcessName; 42 | }; 43 | 44 | typedef struct _COMPARESTRUCT 45 | { 46 | CListCtrl* pListCtrl; 47 | INT iColumn; 48 | BOOLEAN bAscending; 49 | } COMPARESTRUCT, *PCOMPARESTRUCT, *LPCOMPARESTRUCT; 50 | 51 | static int CALLBACK CompareFunction( LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort ); 52 | 53 | //Controls 54 | CListCtrl m_ProcessList; 55 | CButton m_FilterCheck; 56 | CButton m_LoadAllSymbols; 57 | 58 | BOOLEAN m_bSortAscendingName; 59 | BOOLEAN m_bSortAscendingId; 60 | 61 | CRect m_OriginalSize; 62 | CImageList m_ProcessIcons; 63 | 64 | //Misc 65 | std::vector m_ProcessInfos; 66 | volatile BOOLEAN m_bLoadingProcesses; 67 | 68 | }; 69 | -------------------------------------------------------------------------------- /ReClass/DialogProgress.cpp: -------------------------------------------------------------------------------- 1 | // DialogProgress.cpp : implementation file 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "DialogProgress.h" 6 | 7 | #include 8 | 9 | 10 | // CDialogProgress dialog 11 | 12 | IMPLEMENT_DYNAMIC(CDialogProgress, CDialogEx) 13 | 14 | CDialogProgress::CDialogProgress(CWnd* pParent /*=NULL*/) 15 | : CDialogEx(IDD_DIALOG_PROGRESS, pParent) 16 | { 17 | } 18 | 19 | CDialogProgress::~CDialogProgress() 20 | { 21 | } 22 | 23 | void CDialogProgress::DoDataExchange(CDataExchange* pDX) 24 | { 25 | CDialogEx::DoDataExchange(pDX); 26 | DDX_Control(pDX, IDC_PROGRESSBAR, m_progressBar); 27 | DDX_Control(pDX, IDC_PROGRESSTEXT, m_progressText); 28 | } 29 | 30 | BEGIN_MESSAGE_MAP(CDialogProgress, CDialogEx) 31 | 32 | END_MESSAGE_MAP() 33 | 34 | 35 | // CDialogProgress message handlers 36 | BOOL CDialogProgress::OnInitDialog() 37 | { 38 | CDialogEx::OnInitDialog(); 39 | 40 | // TODO: Add extra initialization here 41 | return TRUE; // return TRUE unless you set the focus to a control 42 | // EXCEPTION: OCX Property Pages should return FALSE 43 | } 44 | 45 | -------------------------------------------------------------------------------- /ReClass/DialogProgress.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "afxwin.h" 3 | #include "afxcmn.h" 4 | 5 | 6 | // DialogProgress dialog 7 | 8 | class CDialogProgress : public CDialogEx { 9 | DECLARE_DYNAMIC( CDialogProgress ) 10 | 11 | public: 12 | CDialogProgress( CWnd* pParent = NULL ); // standard constructor 13 | virtual ~CDialogProgress( ); 14 | 15 | // Dialog Data 16 | enum { IDD = IDD_DIALOG_PROGRESS }; 17 | 18 | CProgressCtrl& Bar( ) { return m_progressBar; } 19 | void SetProgressText( const CString& str ) { m_progressText.SetWindowText( str.GetString( ) ); } 20 | 21 | virtual void DoDataExchange( CDataExchange* pDX ); // DDX/DDV support 22 | virtual BOOL OnInitDialog( ); 23 | 24 | DECLARE_MESSAGE_MAP( ) 25 | 26 | private: 27 | CProgressCtrl m_progressBar; 28 | CStatic m_progressText; 29 | }; 30 | -------------------------------------------------------------------------------- /ReClass/DialogTypes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "afxwin.h" 3 | 4 | 5 | // CDialogTypes dialog 6 | 7 | class CDialogTypes : public CDialogEx { 8 | DECLARE_DYNAMIC( CDialogTypes ) 9 | public: 10 | CDialogTypes( CWnd* pParent = NULL ); // standard constructor 11 | virtual ~CDialogTypes( ); 12 | 13 | // Dialog Data 14 | enum { IDD = IDD_DIALOG_TYPES }; 15 | 16 | protected: 17 | virtual void DoDataExchange( CDataExchange* pDX ); // DDX/DDV support 18 | 19 | DECLARE_MESSAGE_MAP( ) 20 | 21 | public: 22 | virtual BOOL OnInitDialog( ); 23 | virtual void OnOK( ); 24 | 25 | public: 26 | CEdit m_Int64; 27 | CEdit m_Int32; 28 | CEdit m_Int16; 29 | CEdit m_Int8; 30 | CEdit m_Qword; 31 | CEdit m_Dword; 32 | CEdit m_Word; 33 | CEdit m_Byte; 34 | CEdit m_Vec2; 35 | CEdit m_Vec3; 36 | CEdit m_Quat; 37 | CEdit m_Matrix; 38 | CEdit m_PChar; 39 | CEdit m_PWChar; 40 | CEdit m_Hex; 41 | }; 42 | -------------------------------------------------------------------------------- /ReClass/HotSpot.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #define NONE -1 7 | 8 | #define HS_NONE -1 9 | #define HS_EDIT 0 10 | #define HS_OPENCLOSE 1 11 | #define HS_SELECT 2 12 | #define HS_DROP 3 13 | #define HS_CLICK 4 14 | #define HS_CHANGE_A 5 15 | #define HS_CHANGE_X 6 16 | #define HS_DELETE 7 17 | #define HS_RTTI 8 18 | #define HS_SCINTILLA_EDIT 9 19 | 20 | #define HS_ADDRESS 68 21 | #define HS_NAME 69 22 | #define HS_COMMENT 70 23 | 24 | typedef struct tagHOTSPOT { 25 | CRect Rect; 26 | CString Text; 27 | ULONG_PTR Address; 28 | INT Id; 29 | INT Type; 30 | UINT Level; 31 | class CNodeBase* Object; 32 | } HOTSPOT, *PHOTSPOT; -------------------------------------------------------------------------------- /ReClass/Intrinsics.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #if defined(_M_X64) 8 | unsigned __int64 ReadGS( unsigned __int64 ); 9 | #else 10 | unsigned long __stdcall ReadFS( unsigned long ); 11 | #endif 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | -------------------------------------------------------------------------------- /ReClass/Intrinsics32.asm: -------------------------------------------------------------------------------- 1 | ; ++ 2 | ; 3 | ; File: 4 | ; 5 | ; intrinsics.asm 6 | ; 7 | ; Author: 8 | ; 9 | ; Dude719 10 | ; 11 | ; Environment: 12 | ; 13 | ; 32 bit 14 | ; 15 | ; -- 16 | 17 | 18 | .386 19 | .MODEL flat, stdcall 20 | 21 | ;********************************************************************* 22 | ; .data section 23 | .DATA 24 | 25 | 26 | ;********************************************************************* 27 | ; .text section 28 | .CODE 29 | 30 | ;************************************ 31 | ; UINT32 32 | ; __stdcall 33 | ; ReadFS( 34 | ; UINT32 Offset 35 | ; ); 36 | ;************************************ 37 | ReadFS PROC, arg1:DWORD 38 | push ecx 39 | mov ecx, arg1 40 | assume fs:nothing 41 | mov eax, fs:[ecx] 42 | pop ecx 43 | ret 44 | ReadFS ENDP 45 | 46 | END 47 | -------------------------------------------------------------------------------- /ReClass/Intrinsics64.asm: -------------------------------------------------------------------------------- 1 | ; ++ 2 | ; 3 | ; File: 4 | ; 5 | ; intrinsics.asm 6 | ; 7 | ; Author: 8 | ; 9 | ; Dude719 10 | ; 11 | ; Environment: 12 | ; 13 | ; 64 bit 14 | ; 15 | ; -- 16 | 17 | ;********************************************************************* 18 | ; .data section 19 | .DATA 20 | 21 | ;********************************************************************* 22 | ; .text section 23 | .CODE 24 | 25 | ;************************************ 26 | ; UINT64 27 | ; ReadGS( 28 | ; UINT64 Offset 29 | ; ); 30 | ;************************************ 31 | ReadGS PROC 32 | mov rax, gs:[rcx] 33 | ret 34 | ReadGS ENDP 35 | 36 | END 37 | -------------------------------------------------------------------------------- /ReClass/Native.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // 4 | // Thanks to Microsoft's DDK and Process Hacker for this stuff! 5 | // 6 | 7 | #include "NativeCommon.h" 8 | #include "NativeObjects.h" 9 | #include "NativeProcess.h" 10 | #include "NativeInformation.h" 11 | #include "NativeRtl.h" 12 | #include "NativeLoader.h" 13 | 14 | 15 | typedef NTSTATUS( NTAPI *tNtOpenProcessToken )( 16 | IN HANDLE ProcessHandle, 17 | IN ACCESS_MASK DesiredAccess, 18 | OUT PHANDLE TokenHandle 19 | ); 20 | 21 | typedef NTSTATUS( NTAPI *tNtAdjustPrivilegesToken )( 22 | IN HANDLE TokenHandle, 23 | IN BOOLEAN DisableAllPrivileges, 24 | IN PTOKEN_PRIVILEGES NewState, 25 | IN ULONG BufferLength, 26 | OUT PTOKEN_PRIVILEGES PreviousState OPTIONAL, 27 | OUT PULONG ReturnLength OPTIONAL 28 | ); 29 | 30 | 31 | -------------------------------------------------------------------------------- /ReClass/Nodes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CNodeBase.h" 4 | #include "CNodeIcon.h" 5 | #include "CNodeClass.h" 6 | #include "CNodeHex64.h" 7 | #include "CNodeHex32.h" 8 | #include "CNodeHex16.h" 9 | #include "CNodeHex8.h" 10 | #include "CNodeBits.h" 11 | #include "CNodeVTable.h" 12 | #include "CNodeFunctionPtr.h" 13 | #include "CNodeFunction.h" 14 | #include "CNodePtr.h" 15 | #include "CNodeInt64.h" 16 | #include "CNodeInt32.h" 17 | #include "CNodeInt16.h" 18 | #include "CNodeInt8.h" 19 | #include "CNodeQWORD.h" 20 | #include "CNodeDWORD.h" 21 | #include "CNodeWORD.h" 22 | #include "CNodeByte.h" 23 | #include "CNodeText.h" 24 | #include "CNodeUnicode.h" 25 | #include "CNodeCharPtr.h" 26 | #include "CNodeWCharPtr.h" 27 | #include "CNodeFloat.h" 28 | #include "CNodeDouble.h" 29 | #include "CNodeVec2.h" 30 | #include "CNodeVec3.h" 31 | #include "CNodeQuat.h" 32 | #include "CNodeMatrix.h" 33 | #include "CNodeArray.h" 34 | #include "CNodeClassInstance.h" 35 | #include "CNodePtrArray.h" 36 | #include "CNodeCustom.h" -------------------------------------------------------------------------------- /ReClass/NtDll.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Utils.h" 4 | 5 | // 6 | // NTDLL 7 | // 8 | namespace ntdll { 9 | 10 | extern PVOID Base; 11 | 12 | extern tNtQuerySystemInformation NtQuerySystemInformation; 13 | extern tNtQueryInformationProcess NtQueryInformationProcess; 14 | 15 | extern tNtCreateThreadEx NtCreateThreadEx; 16 | 17 | extern tNtOpenProcessToken NtOpenProcessToken; 18 | extern tNtAdjustPrivilegesToken NtAdjustPrivilegesToken; 19 | 20 | extern tRtlInitializeCriticalSection RtlInitializeCriticalSection; 21 | extern tRtlDeleteCriticalSection RtlDeleteCriticalSection; 22 | extern tRtlEnterCriticalSection RtlEnterCriticalSection; 23 | extern tRtlLeaveCriticalSection RtlLeaveCriticalSection; 24 | 25 | extern tRtlGetVersion RtlGetVersion; 26 | extern tRtlGetNativeSystemInformation RtlGetNativeSystemInformation; 27 | 28 | BOOL Init( VOID ); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /ReClass/Resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/Resource.h -------------------------------------------------------------------------------- /ReClass/SciLexer.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/SciLexer.lib -------------------------------------------------------------------------------- /ReClass/SciLexer_64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/SciLexer_64.lib -------------------------------------------------------------------------------- /ReClass/SciLexerd.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/SciLexerd.lib -------------------------------------------------------------------------------- /ReClass/SciLexerd_64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/SciLexerd_64.lib -------------------------------------------------------------------------------- /ReClass/Symbols.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "SymbolReader.h" 4 | #include 5 | 6 | class Symbols 7 | { 8 | public: 9 | Symbols( ); 10 | ~Symbols( ); 11 | 12 | void ResolveSearchPath( ); 13 | BOOLEAN WriteSymSrvDll( ); 14 | 15 | void Cleanup( ); 16 | BOOLEAN Init( ); 17 | BOOLEAN IsInitialized( ) const { return m_bInitialized; } 18 | 19 | BOOLEAN LoadSymbolsForModule( CString szModulePath, ULONG_PTR ModuleBaseAddress, ULONG SizeOfModule ); 20 | BOOLEAN LoadSymbolsForPdb( CString szPdbPath ); 21 | 22 | SymbolReader* GetSymbolsForModuleAddress( ULONG_PTR ModuleAddress ); 23 | SymbolReader* GetSymbolsForModuleName( CString ModuleName ); 24 | 25 | private: 26 | RTL_CRITICAL_SECTION m_CriticalSection; 27 | 28 | std::map m_SymbolNames; 29 | std::map m_SymbolAddresses; 30 | 31 | BOOLEAN m_bInitialized; 32 | 33 | CString m_strSearchPath; 34 | }; 35 | -------------------------------------------------------------------------------- /ReClass/res/ReClass 2011.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/ReClass 2011.ico -------------------------------------------------------------------------------- /ReClass/res/Toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/Toolbar.bmp -------------------------------------------------------------------------------- /ReClass/res/Toolbar256.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/Toolbar256.bmp -------------------------------------------------------------------------------- /ReClass/res/about.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/about.bmp -------------------------------------------------------------------------------- /ReClass/res/about_icon.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/about_icon.xcf -------------------------------------------------------------------------------- /ReClass/res/aboutnew.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/aboutnew.psd -------------------------------------------------------------------------------- /ReClass/res/bmp00001.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/bmp00001.bmp -------------------------------------------------------------------------------- /ReClass/res/bmp00002.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/bmp00002.bmp -------------------------------------------------------------------------------- /ReClass/res/bmp00003.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/bmp00003.bmp -------------------------------------------------------------------------------- /ReClass/res/button.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/button.bmp -------------------------------------------------------------------------------- /ReClass/res/buttons.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/buttons.bmp -------------------------------------------------------------------------------- /ReClass/res/classicon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/classicon.bmp -------------------------------------------------------------------------------- /ReClass/res/console.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/console.bmp -------------------------------------------------------------------------------- /ReClass/res/file_large.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/file_large.bmp -------------------------------------------------------------------------------- /ReClass/res/file_small.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/file_small.bmp -------------------------------------------------------------------------------- /ReClass/res/filelarge.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/filelarge.bmp -------------------------------------------------------------------------------- /ReClass/res/filesmall.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/filesmall.bmp -------------------------------------------------------------------------------- /ReClass/res/home_large.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/home_large.bmp -------------------------------------------------------------------------------- /ReClass/res/home_small.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/home_small.bmp -------------------------------------------------------------------------------- /ReClass/res/icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icon.bmp -------------------------------------------------------------------------------- /ReClass/res/icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icon1.ico -------------------------------------------------------------------------------- /ReClass/res/icons/add.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/add.ico -------------------------------------------------------------------------------- /ReClass/res/icons/array.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/array.ico -------------------------------------------------------------------------------- /ReClass/res/icons/arrow_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/arrow_icon.ico -------------------------------------------------------------------------------- /ReClass/res/icons/camera.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/camera.ico -------------------------------------------------------------------------------- /ReClass/res/icons/close.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/close.ico -------------------------------------------------------------------------------- /ReClass/res/icons/closed.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/closed.ico -------------------------------------------------------------------------------- /ReClass/res/icons/custom.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/custom.ico -------------------------------------------------------------------------------- /ReClass/res/icons/enum.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/enum.ico -------------------------------------------------------------------------------- /ReClass/res/icons/exchange.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/exchange.ico -------------------------------------------------------------------------------- /ReClass/res/icons/float.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/float.ico -------------------------------------------------------------------------------- /ReClass/res/icons/general_class_VS.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/general_class_VS.ico -------------------------------------------------------------------------------- /ReClass/res/icons/general_interface_VS.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/general_interface_VS.ico -------------------------------------------------------------------------------- /ReClass/res/icons/general_method_VS.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/general_method_VS.ico -------------------------------------------------------------------------------- /ReClass/res/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/icon.ico -------------------------------------------------------------------------------- /ReClass/res/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/icon.png -------------------------------------------------------------------------------- /ReClass/res/icons/left.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/left.ico -------------------------------------------------------------------------------- /ReClass/res/icons/matrix.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/matrix.ico -------------------------------------------------------------------------------- /ReClass/res/icons/open.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/open.ico -------------------------------------------------------------------------------- /ReClass/res/icons/pointer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/pointer.ico -------------------------------------------------------------------------------- /ReClass/res/icons/right.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/right.ico -------------------------------------------------------------------------------- /ReClass/res/icons/signed.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/signed.ico -------------------------------------------------------------------------------- /ReClass/res/icons/speles_random_ico.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/speles_random_ico.ico -------------------------------------------------------------------------------- /ReClass/res/icons/text.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/text.ico -------------------------------------------------------------------------------- /ReClass/res/icons/unsigned.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/unsigned.ico -------------------------------------------------------------------------------- /ReClass/res/icons/vector.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/icons/vector.ico -------------------------------------------------------------------------------- /ReClass/res/main.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/main.bmp -------------------------------------------------------------------------------- /ReClass/res/mainframe.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/mainframe.bmp -------------------------------------------------------------------------------- /ReClass/res/mainframe256.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/mainframe256.bmp -------------------------------------------------------------------------------- /ReClass/res/menu_modify.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/menu_modify.bmp -------------------------------------------------------------------------------- /ReClass/res/output_wnd.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/output_wnd.ico -------------------------------------------------------------------------------- /ReClass/res/output_wnd_hc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/output_wnd_hc.ico -------------------------------------------------------------------------------- /ReClass/res/properties.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/properties.bmp -------------------------------------------------------------------------------- /ReClass/res/properties_hc.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/properties_hc.bmp -------------------------------------------------------------------------------- /ReClass/res/properties_wnd.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/properties_wnd.ico -------------------------------------------------------------------------------- /ReClass/res/properties_wnd_hc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/properties_wnd_hc.ico -------------------------------------------------------------------------------- /ReClass/res/symsrv32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/symsrv32.dll -------------------------------------------------------------------------------- /ReClass/res/symsrv64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/symsrv64.dll -------------------------------------------------------------------------------- /ReClass/res/toolbar1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/toolbar1.bmp -------------------------------------------------------------------------------- /ReClass/res/toolbar2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/toolbar2.bmp -------------------------------------------------------------------------------- /ReClass/res/writelarge.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/writelarge.bmp -------------------------------------------------------------------------------- /ReClass/res/writesmall.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/res/writesmall.bmp -------------------------------------------------------------------------------- /ReClass/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/ReClass/resource.h -------------------------------------------------------------------------------- /ReClass/targetver.h: -------------------------------------------------------------------------------- 1 | // This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface 2 | // (the "Fluent UI") and is provided only as referential material to supplement the 3 | // Microsoft Foundation Classes Reference and related electronic documentation 4 | // included with the MFC C++ library software. 5 | // License terms to copy, use or distribute the Fluent UI are available separately. 6 | // To learn more about our Fluent UI licensing program, please visit 7 | // http://msdn.microsoft.com/officeui. 8 | // 9 | // Copyright (C) Microsoft Corporation 10 | // All rights reserved. 11 | 12 | #pragma once 13 | 14 | // Including SDKDDKVer.h defines the highest available Windows platform. 15 | 16 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and 17 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. 18 | 19 | #include 20 | -------------------------------------------------------------------------------- /TestPlugin/TestPlugin.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.24720.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestPlugin", "TestPlugin\TestPlugin.vcxproj", "{1C466572-2001-4FA9-B4EB-D4A819D802E8}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {1C466572-2001-4FA9-B4EB-D4A819D802E8}.Debug|x64.ActiveCfg = Debug|x64 17 | {1C466572-2001-4FA9-B4EB-D4A819D802E8}.Debug|x64.Build.0 = Debug|x64 18 | {1C466572-2001-4FA9-B4EB-D4A819D802E8}.Debug|x86.ActiveCfg = Debug|Win32 19 | {1C466572-2001-4FA9-B4EB-D4A819D802E8}.Debug|x86.Build.0 = Debug|Win32 20 | {1C466572-2001-4FA9-B4EB-D4A819D802E8}.Release|x64.ActiveCfg = Release|x64 21 | {1C466572-2001-4FA9-B4EB-D4A819D802E8}.Release|x64.Build.0 = Release|x64 22 | {1C466572-2001-4FA9-B4EB-D4A819D802E8}.Release|x86.ActiveCfg = Release|Win32 23 | {1C466572-2001-4FA9-B4EB-D4A819D802E8}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /TestPlugin/TestPlugin/Plugin.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "targetver.h" 4 | #define WIN32_LEAN_AND_MEAN 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | #include "ReClassAPI.h" 11 | 12 | BOOL 13 | PLUGIN_CC 14 | WriteCallback( 15 | IN LPVOID Address, 16 | IN LPVOID Buffer, 17 | IN SIZE_T Size, 18 | OUT PSIZE_T BytesWritten 19 | ); 20 | 21 | BOOL 22 | PLUGIN_CC 23 | ReadCallback( 24 | IN LPVOID Address, 25 | IN LPVOID Buffer, 26 | IN SIZE_T Size, 27 | OUT PSIZE_T BytesRead 28 | ); -------------------------------------------------------------------------------- /TestPlugin/TestPlugin/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | DYNAMIC LINK LIBRARY : TestPlugin Project Overview 3 | ======================================================================== 4 | 5 | AppWizard has created this TestPlugin DLL for you. 6 | 7 | This file contains a summary of what you will find in each of the files that 8 | make up your TestPlugin application. 9 | 10 | 11 | TestPlugin.vcxproj 12 | This is the main project file for VC++ projects generated using an Application Wizard. 13 | It contains information about the version of Visual C++ that generated the file, and 14 | information about the platforms, configurations, and project features selected with the 15 | Application Wizard. 16 | 17 | TestPlugin.vcxproj.filters 18 | This is the filters file for VC++ projects generated using an Application Wizard. 19 | It contains information about the association between the files in your project 20 | and the filters. This association is used in the IDE to show grouping of files with 21 | similar extensions under a specific node (for e.g. ".cpp" files are associated with the 22 | "Source Files" filter). 23 | 24 | TestPlugin.cpp 25 | This is the main DLL source file. 26 | 27 | ///////////////////////////////////////////////////////////////////////////// 28 | Other standard files: 29 | 30 | StdAfx.h, StdAfx.cpp 31 | These files are used to build a precompiled header (PCH) file 32 | named TestPlugin.pch and a precompiled types file named StdAfx.obj. 33 | 34 | ///////////////////////////////////////////////////////////////////////////// 35 | Other notes: 36 | 37 | AppWizard uses "TODO:" comments to indicate parts of the source code you 38 | should add to or customize. 39 | 40 | ///////////////////////////////////////////////////////////////////////////// 41 | -------------------------------------------------------------------------------- /TestPlugin/TestPlugin/TestPlugin.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Header Files 23 | 24 | 25 | Header Files 26 | 27 | 28 | Header Files 29 | 30 | 31 | Header Files 32 | 33 | 34 | 35 | 36 | Source Files 37 | 38 | 39 | Source Files 40 | 41 | 42 | 43 | 44 | Source Files 45 | 46 | 47 | 48 | 49 | Resource Files 50 | 51 | 52 | -------------------------------------------------------------------------------- /TestPlugin/TestPlugin/dllmain.cpp: -------------------------------------------------------------------------------- 1 | // dllmain.cpp : Defines the entry point for the DLL application. 2 | #include 3 | 4 | BOOL APIENTRY DllMain( HMODULE hModule, 5 | DWORD ul_reason_for_call, 6 | LPVOID lpReserved 7 | ) 8 | { 9 | switch (ul_reason_for_call) 10 | { 11 | case DLL_PROCESS_ATTACH: 12 | case DLL_THREAD_ATTACH: 13 | case DLL_THREAD_DETACH: 14 | case DLL_PROCESS_DETACH: 15 | break; 16 | } 17 | return TRUE; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /TestPlugin/TestPlugin/exports.def: -------------------------------------------------------------------------------- 1 | LIBRARY 2 | EXPORTS 3 | PluginInit 4 | PluginStateChange 5 | PluginSettingsDlg -------------------------------------------------------------------------------- /TestPlugin/TestPlugin/res.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/TestPlugin/TestPlugin/res.rc -------------------------------------------------------------------------------- /TestPlugin/TestPlugin/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/TestPlugin/TestPlugin/resource.h -------------------------------------------------------------------------------- /TestPlugin/TestPlugin/targetver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Including SDKDDKVer.h defines the highest available Windows platform. 4 | 5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and 6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. 7 | 8 | #include 9 | -------------------------------------------------------------------------------- /beaengine/beaengine/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | headers/libBeaEngine.so 3 | **.pyc 4 | lib 5 | build 6 | -------------------------------------------------------------------------------- /beaengine/beaengine/README.md: -------------------------------------------------------------------------------- 1 | # BeaEngine 5 (work in progress) 2 | 3 | BeaEngine is a library coded in C respecting ISO C99 norm. It has been designed to decode instructions from 16 bits, 32 bits and 64 bits intel architectures. Actually, the main function available is called Disasm. It includes standard instruction set and instruction set from FPU, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, VMX, CLMUL, AES, MPX technologies. For those who like analyzing malicious codes and more generally obfuscated codes, BeaEngine even decodes undocumented instructions called "alias" on the web site sandpile. In all scenarios, it sends back a complex structure that describes precisely the analyzed instructions. 4 | 5 | You can use it in C/C++ (usable and compilable with Visual Studio, GCC, MinGW, DigitalMars, BorlandC, WatcomC, SunForte, Pelles C, LCC), in assembler (usable with masm32 and masm64, nasm, fasm, GoAsm) in C#, in Python, in Delphi, in PureBasic and in WinDev. You can use it in user mode and kernel mode. It has been thought to do a lot of tasks. 6 | 7 | First, you can retrieve mnemonic and operands according to the specified syntax : intel syntax for Nasm, masm32 and masm64, GoAsm32 and GoAsm64, fasm and AT&T syntax. 8 | Next, you can realize accurate analysis on data-flow and control-flow to generate slices or obfuscation patterns. 9 | 10 | Its source code is under LGPL3 license with a "Makefile builder" and headers for following languages : C/C++, C#, Python, Delphi, PureBasic, masm32, masm64, nasm(x86 and x64), fasm(x86 and x64), GoAsm(x86 and x64). 11 | 12 | BeaEngine has been implemented using opcode tables from the intel documentation and tables from Christian Ludloff website [www.sandpile.org](http://www.sandpile.org) 13 | 14 | 15 | 16 | ## LICENSE 17 | 18 | This software is distributed under the LGPL license. 19 | See the COPYING and COPYING.LESSER files for more details. 20 | 21 | 22 | ## ONLINE DOCUMENTATION 23 | 24 | For online documentation, visit : 25 | 26 | [www.beaengine.org](http://www.beaengine.org) 27 | 28 | 29 | ## quick start 30 | 31 | to compile : 32 | 33 | ``` 34 | apt-get install cmake 35 | git clone https://github.com/BeaEngine/beaengine.git 36 | cmake beaengine 37 | make 38 | ``` 39 | 40 | -------------------------------------------------------------------------------- /beaengine/beaengine/headers/C# headers/Engine.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | 3 | namespace Bea 4 | { 5 | public class BeaEngine 6 | { 7 | [DllImport("BeaEngine.dll")] 8 | public static extern int Disasm([In, Out, MarshalAs(UnmanagedType.LPStruct)] Disasm disasm); 9 | 10 | [DllImport("BeaEngine.dll")] 11 | private static extern string BeaEngineVersion(); 12 | 13 | [DllImport("BeaEngine.dll")] 14 | private static extern string BeaEngineRevision(); 15 | 16 | public static string Version 17 | { 18 | get 19 | { 20 | return BeaEngineVersion(); 21 | } 22 | } 23 | 24 | public static string Revision 25 | { 26 | get 27 | { 28 | return BeaEngineRevision(); 29 | } 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /beaengine/beaengine/headers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/beaengine/beaengine/headers/__init__.py -------------------------------------------------------------------------------- /beaengine/beaengine/include/beaengine/macros.h: -------------------------------------------------------------------------------- 1 | #ifndef __BEAENGINE_MACROS_H__ 2 | #define __BEAENGINE_MACROS_H__ 3 | /* 4 | ============================================================================ 5 | Compiler Silencing macros 6 | 7 | Some compilers complain about parameters that are not used. This macro 8 | should keep them quiet. 9 | ============================================================================ 10 | */ 11 | 12 | # if defined (__GNUC__) && ((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))) 13 | # define BEA_UNUSED_ARG(a) (void) (a) 14 | #elif defined (ghs) || defined (__GNUC__) || defined (__hpux) || defined (__sgi) || defined (__DECCXX) || defined (__rational__) || defined (__USLC__) || defined (BEA__RM544) || defined (__DCC__) || defined (__PGI) || defined (__TANDEM) || defined(__BORLANDC__) 15 | /* 16 | Some compilers complain about "statement with no effect" with (a). 17 | This eliminates the warnings, and no code is generated for the null 18 | conditional statement. Note, that may only be true if -O is enabled, 19 | such as with GreenHills (ghs) 1.8.8. 20 | */ 21 | 22 | # define BEA_UNUSED_ARG(a) do {/* null */} while (&a == 0) 23 | #elif defined (__DMC__) 24 | #if defined(__cplusplus) 25 | #define BEA_UNUSED_ID(identifier) 26 | template 27 | inline void BEA_UNUSED_ARG(const T& BEA_UNUSED_ID(t)) { } 28 | #else 29 | #define BEA_UNUSED_ARG(a) 30 | #endif 31 | #else /* ghs || __GNUC__ || ..... */ 32 | # define BEA_UNUSED_ARG(a) (a) 33 | #endif /* ghs || __GNUC__ || ..... */ 34 | 35 | #if defined (_MSC_VER) || defined(__sgi) || defined (ghs) || defined (__DECCXX) || defined(__BORLANDC__) || defined (BEA_RM544) || defined (__USLC__) || defined (__DCC__) || defined (__PGI) || defined (__TANDEM) || (defined (__HP_aCC) && (__HP_aCC >= 60500)) 36 | # define BEA_NOTREACHED(a) 37 | #else /* __sgi || ghs || ..... */ 38 | # define BEA_NOTREACHED(a) a 39 | #endif /* __sgi || ghs || ..... */ 40 | 41 | #endif /* __BEAENGINE_MACROS_H__ */ 42 | -------------------------------------------------------------------------------- /beaengine/beaengine/src/BeaEngine.c: -------------------------------------------------------------------------------- 1 | /* 2 | * BeaEngine 4 - x86 & x86-64 disassembler library 3 | * 4 | * Copyright 2006-2010, BeatriX 5 | * File coded by BeatriX 6 | * 7 | * This file is part of BeaEngine. 8 | * 9 | * BeaEngine is free software: you can redistribute it and/or modify 10 | * it under the terms of the GNU Lesser General Public License as published by 11 | * the Free Software Foundation, either version 3 of the License, or 12 | * (at your option) any later version. 13 | * 14 | * BeaEngine is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | * GNU Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public License 20 | * along with BeaEngine. If not, see . */ 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #include "beaengine/BeaEngine.h" 27 | #include "Includes/protos.h" 28 | #include "Includes/internal_datas.h" 29 | #include "Includes/instr_set/Data_opcode.h" 30 | #include "Includes/instr_set/opcodes_A_M.c" 31 | #include "Includes/instr_set/opcodes_N_Z.c" 32 | #include "Includes/instr_set/opcodes_Grp1.c" 33 | #include "Includes/instr_set/opcodes_Grp2.c" 34 | #include "Includes/instr_set/opcodes_Grp3.c" 35 | #include "Includes/instr_set/opcodes_Grp4.c" 36 | #include "Includes/instr_set/opcodes_Grp5.c" 37 | #include "Includes/instr_set/opcodes_Grp6.c" 38 | #include "Includes/instr_set/opcodes_Grp7.c" 39 | #include "Includes/instr_set/opcodes_Grp8.c" 40 | #include "Includes/instr_set/opcodes_Grp9.c" 41 | #include "Includes/instr_set/opcodes_Grp12.c" 42 | #include "Includes/instr_set/opcodes_Grp13.c" 43 | #include "Includes/instr_set/opcodes_Grp14.c" 44 | #include "Includes/instr_set/opcodes_Grp15.c" 45 | #include "Includes/instr_set/opcodes_Grp16.c" 46 | #include "Includes/instr_set/opcodes_Grp17.c" 47 | #include "Includes/instr_set/opcodes_FPU.c" 48 | #include "Includes/instr_set/opcodes_MMX.c" 49 | #include "Includes/instr_set/opcodes_SSE.c" 50 | #include "Includes/instr_set/opcodes_AES.c" 51 | #include "Includes/instr_set/opcodes_CLMUL.c" 52 | #include "Includes/instr_set/opcodes_prefixes.c" 53 | #include "Includes/Routines_ModRM.c" 54 | #include "Includes/Routines_Disasm.c" 55 | #include "Includes/BeaEngineVersion.c" 56 | 57 | void BeaEngine(void){return;} 58 | -------------------------------------------------------------------------------- /beaengine/beaengine/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set (BEA_SOURCES BeaEngine.c) 2 | 3 | if (optBUILD_DLL) 4 | add_library (${BEA_TARGET} SHARED BeaEngine.c) 5 | set_target_properties (${BEA_TARGET} PROPERTIES COMPILE_FLAGS "-DBUILD_BEA_ENGINE_DLL") 6 | else () 7 | add_library (${BEA_TARGET} STATIC BeaEngine.c) 8 | set_target_properties (${BEA_TARGET} PROPERTIES COMPILE_FLAGS "-DBEA_ENGINE_STATIC") 9 | endif () 10 | -------------------------------------------------------------------------------- /beaengine/beaengine/src/Includes/BeaEngineVersion.c: -------------------------------------------------------------------------------- 1 | /* Copyright 2006-2010, BeatriX 2 | * File coded by BeatriX 3 | * 4 | * This file is part of BeaEngine. 5 | * 6 | * BeaEngine is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * BeaEngine is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with BeaEngine. If not, see . */ 18 | const__ char* __bea_callspec__ BeaEngineVersion(void) { 19 | return "5.0"; 20 | } 21 | const__ char* __bea_callspec__ BeaEngineRevision(void) { 22 | return "dev"; 23 | } 24 | -------------------------------------------------------------------------------- /beaengine/beaengine/src/Includes/instr_set/opcodes_Grp4.c: -------------------------------------------------------------------------------- 1 | /* Copyright 2006-2009, BeatriX 2 | * File coded by BeatriX 3 | * 4 | * This file is part of BeaEngine. 5 | * 6 | * BeaEngine is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * BeaEngine is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with BeaEngine. If not, see . */ 18 | 19 | /* ==================================================================== 20 | * 0feh 21 | * ==================================================================== */ 22 | void __bea_callspec__ G4_Eb(PDISASM pMyDisasm) 23 | { 24 | GV.REGOPCODE = ((*((UInt8*)(UIntPtr) (GV.EIP_+1))) >> 3) & 0x7; 25 | if (GV.REGOPCODE == 0) { 26 | if ((*pMyDisasm).Prefix.LockPrefix == InvalidPrefix) { 27 | (*pMyDisasm).Prefix.LockPrefix = InUsePrefix; 28 | } 29 | (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+ARITHMETIC_INSTRUCTION; 30 | #ifndef BEA_LIGHT_DISASSEMBLY 31 | (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "inc "); 32 | #endif 33 | Eb(pMyDisasm); 34 | FillFlags(pMyDisasm, 40); 35 | } 36 | else if (GV.REGOPCODE == 1) { 37 | if ((*pMyDisasm).Prefix.LockPrefix == InvalidPrefix) { 38 | (*pMyDisasm).Prefix.LockPrefix = InUsePrefix; 39 | } 40 | (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+ARITHMETIC_INSTRUCTION; 41 | #ifndef BEA_LIGHT_DISASSEMBLY 42 | (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "dec "); 43 | #endif 44 | Eb(pMyDisasm); 45 | FillFlags(pMyDisasm, 30); 46 | } 47 | else { 48 | FailDecode(pMyDisasm); 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /beaengine/beaengine/tests/README.md: -------------------------------------------------------------------------------- 1 | # unit tests 2 | 3 | ## requirements (debian/ubuntu) 4 | 5 | ``` 6 | apt-get install python-nose cmake 7 | ``` 8 | 9 | ## howto (debian/ubuntu) 10 | 11 | ``` 12 | cd ~ 13 | git clone https://github.com/BeaEngine/beaengine.git 14 | cmake -DoptHAS_OPTIMIZED=TRUE -DoptHAS_SYMBOLS=TRUE -DoptBUILD_64BIT=FALSE -DoptBUILD_DLL=TRUE -DoptBUILD_LITE=FALSE beaengine 15 | make 16 | cp beaengine/lib/Linux.gnu.relwithdebinfo/libBeaEngine.so beaengine/headers 17 | cd beaengine & nosetests tests/*.py 18 | ``` 19 | 20 | 21 | -------------------------------------------------------------------------------- /beaengine/beaengine/tests/opcode1byte.yml: -------------------------------------------------------------------------------- 1 | - entry : 'nop ' 2 | seq : 0x90 3 | - entry : 'cmc ' 4 | seq : 0xF5 5 | - entry : 'stc ' 6 | seq : 0xF9 7 | - entry : 'clc ' 8 | seq : 0xF8 9 | - entry : 'cli ' 10 | seq : 0xFA 11 | - entry : 'sti ' 12 | seq : 0xFB 13 | - entry : 'cld ' 14 | seq : 0xFC 15 | - entry : 'std ' 16 | seq : 0xFD 17 | - entry : 'salc ' 18 | seq : 0xD6 19 | - entry : 'xlatb ' 20 | seq : 0xD7 21 | - entry : 'leave ' 22 | seq : 0xC9 23 | - entry : 'int1 ' 24 | seq : 0xF1 25 | - entry : 'int3 ' 26 | seq : 0xCC 27 | - entry : 'into ' 28 | seq : 0xCE 29 | - entry : 'iretd ' 30 | seq : 0xCF 31 | - entry : 'ret ' 32 | seq : 0xC3 33 | - entry : 'hlt ' 34 | seq : 0xF4 35 | - entry : 'lahf ' 36 | seq : 0x9F 37 | - entry : 'sahf ' 38 | seq : 0x9E 39 | - entry : 'wait ' 40 | seq : 0x9B 41 | - entry : 'daa ' 42 | seq : 0x27 43 | - entry : 'aaa ' 44 | seq : 0x37 45 | - entry : 'das ' 46 | seq : 0x2F 47 | - entry : 'aas ' 48 | seq : 0x3F 49 | - entry : 'pushad ' 50 | seq : 0x60 51 | - entry : 'popad ' 52 | seq : 0x61 53 | - entry : 'pushfd ' 54 | seq : 0x9C 55 | - entry : 'popfd ' 56 | seq : 0x9D 57 | -------------------------------------------------------------------------------- /beaengine/build_2015/ALL_BUILD.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /beaengine/build_2015/BeaEngine.sdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/beaengine/build_2015/BeaEngine.sdf -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/3.4.3/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "MSVC") 4 | set(CMAKE_C_COMPILER_VERSION "19.0.23506.0") 5 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") 6 | set(CMAKE_C_COMPILE_FEATURES "") 7 | set(CMAKE_C90_COMPILE_FEATURES "") 8 | set(CMAKE_C99_COMPILE_FEATURES "") 9 | set(CMAKE_C11_COMPILE_FEATURES "") 10 | 11 | set(CMAKE_C_PLATFORM_ID "Windows") 12 | set(CMAKE_C_SIMULATE_ID "") 13 | set(CMAKE_C_SIMULATE_VERSION "") 14 | set(MSVC_C_ARCHITECTURE_ID X86) 15 | set(CMAKE_AR "") 16 | set(CMAKE_RANLIB "") 17 | set(CMAKE_LINKER "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/link.exe") 18 | set(CMAKE_COMPILER_IS_GNUCC ) 19 | set(CMAKE_C_COMPILER_LOADED 1) 20 | set(CMAKE_C_COMPILER_WORKS TRUE) 21 | set(CMAKE_C_ABI_COMPILED TRUE) 22 | set(CMAKE_COMPILER_IS_MINGW ) 23 | set(CMAKE_COMPILER_IS_CYGWIN ) 24 | if(CMAKE_COMPILER_IS_CYGWIN) 25 | set(CYGWIN 1) 26 | set(UNIX 1) 27 | endif() 28 | 29 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 30 | 31 | if(CMAKE_COMPILER_IS_MINGW) 32 | set(MINGW 1) 33 | endif() 34 | set(CMAKE_C_COMPILER_ID_RUN 1) 35 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 36 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 37 | set(CMAKE_C_LINKER_PREFERENCE 10) 38 | 39 | # Save compiler ABI information. 40 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 41 | set(CMAKE_C_COMPILER_ABI "") 42 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 43 | 44 | if(CMAKE_C_SIZEOF_DATA_PTR) 45 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 46 | endif() 47 | 48 | if(CMAKE_C_COMPILER_ABI) 49 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 50 | endif() 51 | 52 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 53 | set(CMAKE_LIBRARY_ARCHITECTURE "") 54 | endif() 55 | 56 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 57 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 58 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 59 | endif() 60 | 61 | 62 | 63 | 64 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") 65 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") 66 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 67 | -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/3.4.3/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/beaengine/build_2015/CMakeFiles/3.4.3/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/3.4.3/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/beaengine/build_2015/CMakeFiles/3.4.3/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/3.4.3/CMakeRCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_RC_COMPILER "rc") 2 | set(CMAKE_RC_COMPILER_ARG1 "") 3 | set(CMAKE_RC_COMPILER_LOADED 1) 4 | set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) 5 | set(CMAKE_RC_OUTPUT_EXTENSION .res) 6 | set(CMAKE_RC_COMPILER_ENV_VAR "RC") 7 | -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/3.4.3/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10240") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10240") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | 7 | 8 | set(CMAKE_SYSTEM "Windows-10.0.10240") 9 | set(CMAKE_SYSTEM_NAME "Windows") 10 | set(CMAKE_SYSTEM_VERSION "10.0.10240") 11 | set(CMAKE_SYSTEM_PROCESSOR "AMD64") 12 | 13 | set(CMAKE_CROSSCOMPILING "FALSE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/94eca9190292087aeac67b53696ee2e8/generate.stamp.rule: -------------------------------------------------------------------------------- 1 | # generated from CMake 2 | -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/obj/Windows.msvc.RelWithDebInfo/src/CMakeFiles/BeaEngine_s_stdcall.dir 2 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/CMakeFiles/ALL_BUILD.dir 3 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/CMakeFiles/ZERO_CHECK.dir 4 | -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/beaengine/build_2015/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/generate.stamp: -------------------------------------------------------------------------------- 1 | # CMake generation timestamp file for this directory. 2 | -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/generate.stamp.depend: -------------------------------------------------------------------------------- 1 | # CMake generation dependency list for this directory. 2 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/beaengine/CMakeLists.txt 3 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/CMakeFiles/3.4.3/CMakeSystem.cmake 4 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeSystemSpecificInitialize.cmake 5 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/CMakeFiles/3.4.3/CMakeCCompiler.cmake 6 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/CMakeFiles/3.4.3/CMakeCXXCompiler.cmake 7 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeSystemSpecificInformation.cmake 8 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeGenericSystem.cmake 9 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows.cmake 10 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/WindowsPaths.cmake 11 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeCInformation.cmake 12 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows-MSVC-C.cmake 13 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows-MSVC.cmake 14 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/CMakeFiles/3.4.3/CMakeRCCompiler.cmake 15 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeRCInformation.cmake 16 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeCommonLanguageInclude.cmake 17 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeCXXInformation.cmake 18 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Compiler/MSVC-CXX.cmake 19 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows-MSVC-CXX.cmake 20 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows-MSVC.cmake 21 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeCommonLanguageInclude.cmake 22 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindZLIB.cmake 23 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/SelectLibraryConfigurations.cmake 24 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake 25 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindPackageMessage.cmake 26 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeParseArguments.cmake 27 | -------------------------------------------------------------------------------- /beaengine/build_2015/CMakeFiles/generate.stamp.list: -------------------------------------------------------------------------------- 1 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/CMakeFiles/generate.stamp 2 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/obj/Windows.msvc.RelWithDebInfo/src/CMakeFiles/generate.stamp 3 | -------------------------------------------------------------------------------- /beaengine/build_2015/ZERO_CHECK.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | CMake Rules 6 | 7 | 8 | 9 | 10 | {29D52704-F769-35D1-B610-D54B1F19951D} 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /beaengine/build_2015/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/beaengine 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:\Users\Owner\Documents\Visual Studio 2013\Projects\Reclass\Reclass64-master\beaengine\install") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | if(NOT CMAKE_INSTALL_LOCAL_ONLY) 31 | # Include the install script for each subdirectory. 32 | include("C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/obj/Windows.msvc.RelWithDebInfo/src/cmake_install.cmake") 33 | 34 | endif() 35 | 36 | if(CMAKE_INSTALL_COMPONENT) 37 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 38 | else() 39 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 40 | endif() 41 | 42 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 43 | "${CMAKE_INSTALL_MANIFEST_FILES}") 44 | file(WRITE "C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015/${CMAKE_INSTALL_MANIFEST}" 45 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 46 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/ALL_BUILD.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/BeaEngine.sdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/beaengine/build_2015_64/BeaEngine.sdf -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "MSVC") 4 | set(CMAKE_C_COMPILER_VERSION "19.0.23506.0") 5 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") 6 | set(CMAKE_C_COMPILE_FEATURES "") 7 | set(CMAKE_C90_COMPILE_FEATURES "") 8 | set(CMAKE_C99_COMPILE_FEATURES "") 9 | set(CMAKE_C11_COMPILE_FEATURES "") 10 | 11 | set(CMAKE_C_PLATFORM_ID "Windows") 12 | set(CMAKE_C_SIMULATE_ID "") 13 | set(CMAKE_C_SIMULATE_VERSION "") 14 | set(MSVC_C_ARCHITECTURE_ID x64) 15 | set(CMAKE_AR "") 16 | set(CMAKE_RANLIB "") 17 | set(CMAKE_LINKER "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/link.exe") 18 | set(CMAKE_COMPILER_IS_GNUCC ) 19 | set(CMAKE_C_COMPILER_LOADED 1) 20 | set(CMAKE_C_COMPILER_WORKS TRUE) 21 | set(CMAKE_C_ABI_COMPILED TRUE) 22 | set(CMAKE_COMPILER_IS_MINGW ) 23 | set(CMAKE_COMPILER_IS_CYGWIN ) 24 | if(CMAKE_COMPILER_IS_CYGWIN) 25 | set(CYGWIN 1) 26 | set(UNIX 1) 27 | endif() 28 | 29 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 30 | 31 | if(CMAKE_COMPILER_IS_MINGW) 32 | set(MINGW 1) 33 | endif() 34 | set(CMAKE_C_COMPILER_ID_RUN 1) 35 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 36 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 37 | set(CMAKE_C_LINKER_PREFERENCE 10) 38 | 39 | # Save compiler ABI information. 40 | set(CMAKE_C_SIZEOF_DATA_PTR "8") 41 | set(CMAKE_C_COMPILER_ABI "") 42 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 43 | 44 | if(CMAKE_C_SIZEOF_DATA_PTR) 45 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 46 | endif() 47 | 48 | if(CMAKE_C_COMPILER_ABI) 49 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 50 | endif() 51 | 52 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 53 | set(CMAKE_LIBRARY_ARCHITECTURE "") 54 | endif() 55 | 56 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 57 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 58 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 59 | endif() 60 | 61 | 62 | 63 | 64 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") 65 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") 66 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 67 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeRCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_RC_COMPILER "rc") 2 | set(CMAKE_RC_COMPILER_ARG1 "") 3 | set(CMAKE_RC_COMPILER_LOADED 1) 4 | set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) 5 | set(CMAKE_RC_OUTPUT_EXTENSION .res) 6 | set(CMAKE_RC_COMPILER_ENV_VAR "RC") 7 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10240") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10240") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | 7 | 8 | set(CMAKE_SYSTEM "Windows-10.0.10240") 9 | set(CMAKE_SYSTEM_NAME "Windows") 10 | set(CMAKE_SYSTEM_VERSION "10.0.10240") 11 | set(CMAKE_SYSTEM_PROCESSOR "AMD64") 12 | 13 | set(CMAKE_CROSSCOMPILING "FALSE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/CMakeFiles/ALL_BUILD.dir 2 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/CMakeFiles/ZERO_CHECK.dir 3 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/obj.64/Windows.msvc.RelWithDebInfo/src/CMakeFiles/BeaEngine_s_stdcall_64.dir 4 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/f7718e9157b6e3bf98b6c88c858cbd4e/generate.stamp.rule: -------------------------------------------------------------------------------- 1 | # generated from CMake 2 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/beaengine/build_2015_64/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/generate.stamp: -------------------------------------------------------------------------------- 1 | # CMake generation timestamp file for this directory. 2 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/generate.stamp.depend: -------------------------------------------------------------------------------- 1 | # CMake generation dependency list for this directory. 2 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/beaengine/CMakeLists.txt 3 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeSystem.cmake 4 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeSystemSpecificInitialize.cmake 5 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeCCompiler.cmake 6 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeCXXCompiler.cmake 7 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeSystemSpecificInformation.cmake 8 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeGenericSystem.cmake 9 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows.cmake 10 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/WindowsPaths.cmake 11 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeCInformation.cmake 12 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows-MSVC-C.cmake 13 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows-MSVC.cmake 14 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/CMakeFiles/3.4.3/CMakeRCCompiler.cmake 15 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeRCInformation.cmake 16 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeCommonLanguageInclude.cmake 17 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeCXXInformation.cmake 18 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Compiler/MSVC-CXX.cmake 19 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows-MSVC-CXX.cmake 20 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Platform/Windows-MSVC.cmake 21 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeCommonLanguageInclude.cmake 22 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindZLIB.cmake 23 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/SelectLibraryConfigurations.cmake 24 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake 25 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindPackageMessage.cmake 26 | C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeParseArguments.cmake 27 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/CMakeFiles/generate.stamp.list: -------------------------------------------------------------------------------- 1 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/CMakeFiles/generate.stamp 2 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/obj.64/Windows.msvc.RelWithDebInfo/src/CMakeFiles/generate.stamp 3 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/ZERO_CHECK.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | CMake Rules 6 | 7 | 8 | 9 | 10 | {D3240301-D800-3D57-8DFF-C3B226242836} 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/beaengine 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files/BeaEngine") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | if(NOT CMAKE_INSTALL_LOCAL_ONLY) 31 | # Include the install script for each subdirectory. 32 | include("C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/obj.64/Windows.msvc.RelWithDebInfo/src/cmake_install.cmake") 33 | 34 | endif() 35 | 36 | if(CMAKE_INSTALL_COMPONENT) 37 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 38 | else() 39 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 40 | endif() 41 | 42 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 43 | "${CMAKE_INSTALL_MANIFEST_FILES}") 44 | file(WRITE "C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/build_2015_64/${CMAKE_INSTALL_MANIFEST}" 45 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 46 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/obj.64/Windows.msvc.RelWithDebInfo/src/BeaEngine_s_64.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Source Files 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | {008586FD-B0C8-3FAB-A9C9-0A3D97567B71} 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/obj.64/Windows.msvc.RelWithDebInfo/src/BeaEngine_s_stdcall_64.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Source Files 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | {008586FD-B0C8-3FAB-A9C9-0A3D97567B71} 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/obj.64/Windows.msvc.RelWithDebInfo/src/CMakeFiles/generate.stamp: -------------------------------------------------------------------------------- 1 | # CMake generation timestamp file for this directory. 2 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/obj.64/Windows.msvc.RelWithDebInfo/src/CMakeFiles/generate.stamp.depend: -------------------------------------------------------------------------------- 1 | # CMake generation dependency list for this directory. 2 | C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/beaengine/src/CMakeLists.txt 3 | -------------------------------------------------------------------------------- /beaengine/build_2015_64/obj.64/Windows.msvc.RelWithDebInfo/src/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: C:/Users/Owner/Documents/Visual Studio 2013/Projects/Reclass/Reclass64-master/beaengine/beaengine/src 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files/BeaEngine") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | -------------------------------------------------------------------------------- /reclass files/GunSwayData.reclass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkhoury/ReClassEx/e4450bcf8673e3ffa3f05c87b3b1e03b970b6f1d/reclass files/GunSwayData.reclass -------------------------------------------------------------------------------- /reclass files/csgo_globalvars.reclass: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 |