F4MP/tiltedcode/Code/immersive_launcher/utils/NtInternal.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

21 lines
307 B
C++

#pragma once
#include <intrin.h>
namespace NtInternal
{
struct MyPEB
{
char pad_0[2];
bool bBeingDebugged;
char pad_3[4];
char pad_4[8];
void* pImageBase;
};
// 64 bit only
inline MyPEB* ThePeb()
{
return reinterpret_cast<MyPEB*>(__readgsqword(0x60));
}
} // namespace NtInternal