1123
This commit is contained in:
parent
d9c40e50f8
commit
dfcb43e818
|
|
@ -10,9 +10,18 @@ int 属性头地址;
|
||||||
int 可开始执行判断;
|
int 可开始执行判断;
|
||||||
|
|
||||||
|
|
||||||
|
typedef int func(int a,int b);
|
||||||
|
func* f = (func*)0x1127D60;
|
||||||
|
|
||||||
|
typedef int funa();
|
||||||
|
funa* a = (funa*)0x1127EC0;
|
||||||
|
|
||||||
|
void testcall()
|
||||||
|
{
|
||||||
|
int num = *(int*)(0x1AEB6E4);
|
||||||
|
f(num, 0xf);
|
||||||
|
a();
|
||||||
|
}
|
||||||
|
|
||||||
//获取EXE使用头 号位数据
|
//获取EXE使用头 号位数据
|
||||||
int GetExeNutWrtNum(int Pos)
|
int GetExeNutWrtNum(int Pos)
|
||||||
|
|
@ -69,11 +78,7 @@ int GetHook(int Addr , std::string 地址)
|
||||||
num = *(int*)(num + GetHookArr[z]);
|
num = *(int*)(num + GetHookArr[z]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cout << num << std::endl;
|
|
||||||
|
|
||||||
return num;
|
return num;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ThreadFun(void)
|
void ThreadFun(void)
|
||||||
|
|
@ -98,6 +103,7 @@ void ThreadFun(void)
|
||||||
std::cout << u8"写成功" << std::endl;;
|
std::cout << u8"写成功" << std::endl;;
|
||||||
SetExeNutWrtNum(0, 0);
|
SetExeNutWrtNum(0, 0);
|
||||||
SetNutArrNum(20, 0);
|
SetNutArrNum(20, 0);
|
||||||
|
testcall();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -73,11 +73,11 @@
|
||||||
<PropertyGroup Label="UserMacros" />
|
<PropertyGroup Label="UserMacros" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
<OutDir>D:\BaiduNetdiskWorkspace\DOF-Lenheart\Plugins</OutDir>
|
<OutDir>D:\BaiduNetdiskWorkspace\DOF-Lenheart\Plugins\</OutDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<LinkIncremental>false</LinkIncremental>
|
<LinkIncremental>false</LinkIncremental>
|
||||||
<OutDir>D:\BaiduNetdiskWorkspace\DOF-Lenheart\Plugins</OutDir>
|
<OutDir>D:\BaiduNetdiskWorkspace\DOF-Lenheart\Plugins\</OutDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue