MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / GetWowTEB

Function GetWowTEB

Source/Windows/WOW64/Module.cpp:146–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146uint64_t GetWowTEB(void* TEB) {
147 static constexpr size_t WowTEBOffsetMemberOffset {0x180c};
148 return static_cast<uint64_t>(
149 *reinterpret_cast<LONG*>(reinterpret_cast<uintptr_t>(TEB) + WowTEBOffsetMemberOffset) + reinterpret_cast<uint64_t>(TEB));
150}
151
152bool IsDispatcherAddress(uint64_t Address) {
153 const auto& Config = SignalDelegator->GetConfig();

Callers 2

LockJITContextFunction · 0.85
BTCpuSetContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected