#pragma once #include "REX/W32/NT.h" namespace RE { class TLS { public: [[nodiscard]] static TLS* GetSingleton() { return *static_cast(REX::W32::NtCurrentTeb()->threadLocalStoragePointer); } // members std::byte pad000[0x830]; // 000 bool consoleMode; // 830 }; }