1 Star 0 Fork 0

phy0292/cheat-engine

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
frmFilePatcherUnit.pas 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
Dark Byte 提交于 2020-12-11 06:39 +08:00 . dark mode support
unit frmFilePatcherUnit;
{Not implemented as I currently don't see a real use for it}
{$mode delphi}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, EditBtn, PEInfoFunctions, PEInfounit, betterControls;
type
{ TfrmFilePatcher }
TfrmFilePatcher = class(TForm)
Button1: TButton;
edtBaseAddress: TEdit;
filename: TFileNameEdit;
lblFilename: TLabel;
lblBaseAddress: TLabel;
lbModules: TListBox;
rbAuto: TRadioButton;
rbManual: TRadioButton;
procedure AutoOrManual(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ private declarations }
fmodule: string;
procedure setModule(m: string);
public
{ public declarations }
property module: string read fmodule write setModule;
end;
var
frmFilePatcher: TfrmFilePatcher;
implementation
{$R *.lfm}
resourcestring
rsFilePatcher = 'File Patcher: ';
procedure TfrmFilePatcher.setModule;
begin
fmodule:=m;
caption:=rsFilePatcher+m;
end;
procedure TfrmFilePatcher.AutoOrManual(Sender: TObject);
begin
lblFilename.enabled:=rbManual.checked;
filename.enabled:=rbManual.checked;
lblBaseAddress.enabled:=rbManual.checked;
edtBaseAddress.enabled:=rbManual.checked;
lbModules.enabled:=rbAuto.checked;
end;
procedure TfrmFilePatcher.Button1Click(Sender: TObject);
begin
//get the filename to patch
//get the base address to read from
end;
end.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/phy0292/cheat-engine.git
git@gitee.com:phy0292/cheat-engine.git
phy0292
cheat-engine
cheat-engine
master

搜索帮助