System/Log (16 functions) and Thread::WaitForever. Storm SComp review: ImaAdpcmCompress size compares are signed as in 12340. AllocSTL_raw and CCritSect members marked INLINED; SSyncObject ctor out of the header. Platform layout: Windows API code lives in <dir>/Win32/ (whole file in #if WOWDECOMP_ARCH_32) with full copies in <dir>/Win64/ (ARCH_64); no _M_X64 blocks inside files. Former W32/ and *_Win32.cpp files moved, their headers are generic now. Win32 API calls moved out of generic File/Log/Thread/Unicode/SCmd files; Storm SErr/SLog/SReg/SMsg moved whole. CODING_RULES section 7, PORTING_64BIT "Platform folders". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
28 lines
474 B
C++
28 lines
474 B
C++
#if defined(WOWDECOMP_ARCH_64)
|
|
|
|
#include <cstdint>
|
|
#include <windows.h>
|
|
#include "Engine/Source/Os/Tls.h"
|
|
|
|
// OFFSET: 0x0086D6B0
|
|
uint32_t OsTlsAlloc() {
|
|
return TlsAlloc();
|
|
}
|
|
|
|
// OFFSET: 0x0086D6C0
|
|
void OsTlsFree(uint32_t index) {
|
|
TlsFree(index);
|
|
}
|
|
|
|
// OFFSET: 0x0086D6D0
|
|
void* OsTlsGetValue(uint32_t index) {
|
|
return TlsGetValue(index);
|
|
}
|
|
|
|
// OFFSET: 0x0086D6E0
|
|
int32_t OsTlsSetValue(uint32_t index, void* value) {
|
|
return TlsSetValue(index, value);
|
|
}
|
|
|
|
#endif
|