mirror of
https://github.com/vxunderground/VX-API
synced 2024-06-20 13:58:33 +00:00
9 lines
140 B
C++
9 lines
140 B
C++
![]() |
PPEB GetPeb(VOID)
|
||
|
{
|
||
|
#if defined(_WIN64)
|
||
|
return (PPEB)__readgsqword(0x60);
|
||
|
#elif define(_WIN32)
|
||
|
return (PPEB)__readfsdword(0x30);
|
||
|
#endif
|
||
|
}
|