23 static_assert(offsetof(
TLSData, consoleMode) == 0x600);
24 static_assert(offsetof(
TLSData, taskFlag) == 0x768);
29 auto tlsDataArray =
reinterpret_cast<TLSData**
>(__readgsqword(0x58));
30 return tlsDataArray[*tlsIndex];
Definition: Relocation.h:204
constexpr auto TlsIndex
Definition: Offsets.h:584
Definition: AbsorbEffect.h:6
static TLSData * GetStaticTLSData()
Definition: TLSData.h:26
std::uint32_t pad014
Definition: TLSData.h:14
ExtraDataList * cachedExtraDataList
Definition: TLSData.h:15
std::uint32_t stateCounter
Definition: TLSData.h:13
std::uint8_t unk601[0x167]
Definition: TLSData.h:19
std::uint32_t taskFlag
Definition: TLSData.h:20
static constexpr uint32_t CACHED_EXTRA_DATA_SIZE
Definition: TLSData.h:11
std::uint8_t unk5D0[0x30]
Definition: TLSData.h:17
std::uint8_t unk000[0x10]
Definition: TLSData.h:12
bool consoleMode
Definition: TLSData.h:18
BSExtraData * cachedExtraData[CACHED_EXTRA_DATA_SIZE]
Definition: TLSData.h:16