mirror of
https://github.com/vxunderground/VX-API
synced 2026-06-06 16:54:55 +00:00
Create GetPeb.cpp
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
PPEB GetPeb(VOID)
|
||||
{
|
||||
#if defined(_WIN64)
|
||||
return (PPEB)__readgsqword(0x60);
|
||||
#elif define(_WIN32)
|
||||
return (PPEB)__readfsdword(0x30);
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user