111
This commit is contained in:
@@ -38,22 +38,38 @@ uint32_t NewPushString(uint32_t v, wchar_t* f, int freeVarsCnt)
|
||||
return MLSqPushString(v, f, freeVarsCnt);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
static NoticeCall _Noticecall = NULL;
|
||||
|
||||
void tihuancall(DWORD a1, DWORD a2, DWORD a3, DWORD a4, DWORD a5, DWORD a6, DWORD a7, DWORD a8, DWORD a9, DWORD a10, DWORD a11, DWORD a12, DWORD a13)
|
||||
{
|
||||
std::cout << "true" << std::endl;
|
||||
|
||||
std::cout << a1 << std::endl;
|
||||
std::cout << a2 << std::endl;
|
||||
std::cout << a3 << std::endl;
|
||||
std::cout << a4 << std::endl;
|
||||
//std::cout << a5 << std::endl;
|
||||
|
||||
|
||||
//return _Noticecall(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
|
||||
}
|
||||
*/
|
||||
int HOOK()
|
||||
{
|
||||
std::cout << u8"开始hook" << std::endl;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
if (MH_CreateHook((void*)0x135B850, &NewClosure,
|
||||
reinterpret_cast<void**>(&MLnewclosure)) != MH_OK)
|
||||
if (MH_CreateHook((void*)0x9536C0, &tihuancall,
|
||||
reinterpret_cast<void**>(&_Noticecall)) != MH_OK)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
// Enable the hook for MessageBoxW.
|
||||
if (MH_EnableHook((void*)0x135B850) != MH_OK)
|
||||
if (MH_EnableHook((void*)0x9536C0) != MH_OK)
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
@@ -137,6 +153,8 @@ void testcall()
|
||||
_SendpacksType(*_SendClass, 0, 0x3);
|
||||
_SendPacks();
|
||||
*/
|
||||
|
||||
|
||||
}
|
||||
|
||||
void LenheartThread(void)
|
||||
|
||||
Reference in New Issue
Block a user