mirror of
https://gitgud.io/yuv420p10le/plexmediaserver_crack
synced 2025-07-05 00:44:46 +00:00
Oops.. removed duplicate code
This commit is contained in:
parent
bdd01d94e1
commit
5a38ffb6c4
@ -122,14 +122,5 @@ void hook()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Jumps to specified address
|
|
||||||
uint8_t shellcode[] =
|
|
||||||
{
|
|
||||||
0xFF, 0x25, 0x00, 0x00, 0x00, 0x00, // jmp [rip+0x06]
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // ?
|
|
||||||
};
|
|
||||||
|
|
||||||
*reinterpret_cast<decltype(&hook_is_feature_available)*>(&shellcode[6]) = &hook_is_feature_available;
|
|
||||||
|
|
||||||
write_jmp(_is_feature_available, reinterpret_cast<uintptr_t>(&hook_is_feature_available));
|
write_jmp(_is_feature_available, reinterpret_cast<uintptr_t>(&hook_is_feature_available));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user