Home › Engine functions › Platform

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

Platform

Operating system and platform layer.

435 functions in this category, 67 with a Windows address (18 high or medium confidence or exported, 49 low). The rest are in the full search.

Function Windows RVA Confidence How mapped Notes Linux address Size
Platform::JobManager::PushJobOntoList(unsigned long, Platform::Job*, Platform::JobSet*, Platform::JobID) 0x53d6a0 medium call-graph propagation 0x3c3f1bb 102
Platform::ResultCode AssetObjects::Deserializer::Deserialize<AssetObjects::AssetInstance>(AssetObjects::AssetInstance*, XML::Document const&) 0x7318b0 medium score-based neighbour propagation (~96% on hold-out) 0x42e2914 238
Platform::ResultCode AssetObjects::Deserializer::Deserialize<AssetObjects::AssetInstance>(AssetObjects::AssetInstance*, char*) 0x731990 medium score-based neighbour propagation (~96% on hold-out) 0x42dd7e2 130
Platform::ResultCode AssetObjects::Deserializer::DeserializeFromFile<AssetObjects::AssetInstance>(AssetObjects::AssetInstance*, wchar_t const*) 0x7327a0 medium score-based neighbour propagation (~96% on hold-out) 0x42dd864 238
Platform::JobManager::DestroyJobSet(Platform::JobSet*) 0x985660 medium call-graph propagation 0x3c3f049 137
Platform::ThreadIdObserver::InitializeWorkerThread() 0x9859a0 medium string anchor 0x3c3fe7e 78
Platform::JobManager::ParallelFor(unsigned int, unsigned int, void*, void (*)(unsigned int, void*)) 0x985a20 medium score-based neighbour propagation (~96% on hold-out) 0x3c3f4be 264
Platform::JobManager::SpawnList(unsigned long) 0x985bf0 medium call-graph propagation 0x3c3f226 163
Platform::ResultCode Platform::ReadCompleteFileImplEx<char>(char const*, Platform::MemoryBuffer&) 0x988080 high string anchor 0x3c423f5 145
Platform::ReadFile_Async(Platform::FileData_Async&, void*, unsigned long, unsigned long) 0x988ad0 medium call-graph propagation 0x3c41a50 105
Platform::GUIDToString(char*, unsigned int, Types::guid_t const&, bool) 0x988dd0 high string anchor 0x3c3c34c 175
Platform::StringToGUID(char const*) 0x988f30 medium call-graph propagation 0x3c3c68f 66
Platform::StringToGUID(Types::guid_t*, char const*, unsigned int) 0x988fa0 medium call-graph propagation 0x3c3c3fb 448
Platform::LogEvent(wchar_t const*, char const*) 0x989c60 medium call-graph propagation 0x3c3d416 83
Platform::SpawnProcess(char const*, char const*, char const*, bool) 0x98a200 medium score-based neighbour propagation (~96% on hold-out) 0x3c431f0 272
Platform::GetTime(bool, bool) 0x98a630 medium score-based neighbour propagation (~96% on hold-out) 0x3c449e3 181
Platform::GetCPUInformation(Platform::CPUInformation&) 0x98b680 medium call-graph propagation 0x3c400d5 471
Platform::PortableExecutable::Open(char const*) 0x98c4f0 high string anchor 0x3c42f06 288
Low confidence (49, unreliable)
Function Windows RVA How mapped Linux address
Platform::dprintf(char const*, ...) 0x3be10 call-graph propagation 0x2f85a60
Platform::JobID::JobID(char const*, unsigned int) 0x79830 call-graph propagation 0x2fa4e30
Platform::GetTotalPhysicalMemorySize() 0x982100 call-graph propagation 0x3c42e64
Platform::memhash(void const*, unsigned long) 0x9825b0 call-graph propagation 0x3c4268e
Platform::memmove(void*, void const*, unsigned long) 0x9825e0 call-graph propagation 0x3c4265e
Platform::strhash(char const*, unsigned long, bool) 0x982610 call-graph propagation 0x3c426d9
Platform::strncmp(char const*, char const*, unsigned long) 0x983790 call-graph propagation 0x3c437bd
Platform::strrchr(char const*, int) 0x9837d0 call-graph propagation 0x3c43849
Platform::strstr(char const*, char const*) 0x9837e0 call-graph propagation 0x3c43821
Platform::strtod(char const*, char**) 0x9837f0 call-graph propagation 0x3c43b72
Platform::strtol(char const*, char**, int) 0x983800 call-graph propagation 0x3c43b36
Platform::strtoul(char const*, char**, int) 0x983820 call-graph propagation 0x3c43b40
Platform::AsyncJob::AsyncJob(Platform::JobID) 0x985130 call-graph propagation 0x3c3f73a
Platform::AsyncJob::~AsyncJob() 0x985250 interval alignment (~65% precise) 0x3c3f778
Platform::AsyncJob::Start() 0x985370 interval alignment (~65% precise) 0x3c3f7aa
Platform::AsyncJob::Finish() 0x985760 call-graph propagation 0x3c3f7fa
Platform::JobManager::GetNumberThreads() 0x9858c0 call-graph propagation 0x3c3f5ea
Platform::GetLogicalProcessorCount() 0x985fe0 interval alignment (~65% precise) 0x3c40099
Platform::GetDebugHelper() 0x986090 call-graph propagation 0x3c40534
Platform::EnumerateDirectory(wchar_t const*, wchar_t const*, bool, void (*)(wchar_t const*, Platform::IO_FILE… 0x988680 call-graph propagation 0x3c41283
Platform::CloseFile(Platform::FileData&) 0x9887b0 interval alignment (~65% precise) 0x3c4153b
Platform::WriteFileAt(Platform::FileData&, unsigned long, Platform::MemoryBuffer const&) 0x988810 interval alignment (~65% precise) 0x3c41655
Platform::ReadCompleteFile(wchar_t const*, Platform::MemoryBuffer&) 0x988850 interval alignment (~65% precise) 0x3c41708
Platform::WriteCompleteFile(char const*, Platform::MemoryBuffer const&) 0x988860 interval alignment (~65% precise) 0x3c41729
Platform::WriteCompleteFile(wchar_t const*, Platform::MemoryBuffer const&) 0x988870 interval alignment (~65% precise) 0x3c4172e
Platform::RemoveFile(char const*) 0x988880 interval alignment (~65% precise) 0x3c41777
Platform::PathExists(char const*) 0x988910 call-graph propagation 0x3c41799
Platform::PathExists(wchar_t const*) 0x988930 interval alignment (~65% precise) 0x3c417a6
Platform::OpenFile_Async(char const*, Platform::FileData_Async&, bool, bool) 0x988990 interval alignment (~65% precise) 0x3c418f1
Platform::RelativeToAbsolutePath(char const*, char*, unsigned long) 0x988b60 call-graph propagation 0x3c41add
Platform::RemoveLastDirectory(wchar_t const*) 0x988c20 call-graph propagation 0x3c4124b
Platform::MemoryBuffer::MemoryBuffer(Platform::Allocator*, unsigned long) 0x989290 call-graph propagation 0x3c3d532
Platform::MemoryBuffer::MemoryBuffer(void*, unsigned long) 0x989320 call-graph propagation 0x3c3d50c
Platform::MemoryBuffer::Append(void const*, unsigned long) 0x9893d0 call-graph propagation 0x3c3d796
Platform::MemoryBuffer::AppendZeros(unsigned long) 0x989410 call-graph propagation 0x3c3d7c6
Platform::MemoryBuffer::GrowToFit(unsigned long) 0x989510 call-graph propagation 0x3c3d84e
Platform::MemoryBuffer::Init(Platform::Allocator*, unsigned long) 0x9895b0 call-graph propagation 0x3c3d638
Platform::MemoryBuffer::InitWithOffset(void*, unsigned long, unsigned long) 0x989720 call-graph propagation 0x3c3d68a
Platform::MemoryBuffer::Move(Platform::MemoryBuffer*) 0x989790 call-graph propagation 0x3c3d57a
Platform::MemoryBuffer::Release() 0x989870 call-graph propagation 0x3c3d76e
Platform::IsLaptopOrTablet() 0x989920 call-graph propagation 0x3c44852
Platform::ThreadKey::ThreadKey() 0x989980 interval alignment (~65% precise) 0x3c44888
Platform::QueryPlatformCounter() 0x98a460 interval alignment (~65% precise) 0x3c448c8
Platform::CounterDeltaToSeconds(unsigned long, unsigned long) 0x98a550 call-graph propagation 0x3c448e3
Platform::GetSecondsSinceEpoch(Platform::DateTime const&) 0x98a5b0 call-graph propagation 0x3c4493b
Platform::AssertLoggingEnable(bool) 0x98b3a0 call-graph propagation 0x2fa09c0
Platform::Job::~Job() 0x98ba80 call-graph propagation 0x3c3c9cc
Platform::MemoryBuffer::MemoryBuffer() 0xe4efd0 call-graph propagation 0x3c3d500
Platform::sprintf(char*, char const*, ...) 0xf2c4b0 call-graph propagation 0x3c43867