commit
1888e4c357
@ -21,11 +21,11 @@ namespace Components
|
|||||||
__asm
|
__asm
|
||||||
{
|
{
|
||||||
pushad
|
pushad
|
||||||
push [esp + 20h]
|
push[esp + 18h]
|
||||||
|
|
||||||
call SlowMotion::ApplySlowMotion
|
call SlowMotion::ApplySlowMotion
|
||||||
|
|
||||||
pop ecx
|
add esp, 4
|
||||||
popad
|
popad
|
||||||
|
|
||||||
retn
|
retn
|
||||||
@ -76,10 +76,10 @@ namespace Components
|
|||||||
|
|
||||||
void SlowMotion::DrawConnectionInterruptedStub(int /*a1*/)
|
void SlowMotion::DrawConnectionInterruptedStub(int /*a1*/)
|
||||||
{
|
{
|
||||||
// if (!*reinterpret_cast<bool*>(0x1AD8ED0) && !*reinterpret_cast<bool*>(0x1AD8EEC) && !*reinterpret_cast<int*>(0x1AD78F8))
|
// if (!*reinterpret_cast<bool*>(0x1AD8ED0) && !*reinterpret_cast<bool*>(0x1AD8EEC) && !*reinterpret_cast<int*>(0x1AD78F8))
|
||||||
// {
|
// {
|
||||||
// Utils::Hook::Call<void(int)>(0x454A70)(a1);
|
// Utils::Hook::Call<void(int)>(0x454A70)(a1);
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
SlowMotion::SlowMotion()
|
SlowMotion::SlowMotion()
|
||||||
@ -91,4 +91,4 @@ namespace Components
|
|||||||
Utils::Hook(0x4A54ED, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick();
|
Utils::Hook(0x4A54ED, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick();
|
||||||
Utils::Hook(0x4A54FB, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick();
|
Utils::Hook(0x4A54FB, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user