Repository navigation
v2.1.3 — CSwapChainDx11 create signature + struct (m_pSwapChain +0x170)
Small follow-up for CS2 build 14183 (client 2000915), by request from the Discord.
New
CSwapChainDx11_CreateSwapChain(rendersystemdx11.dll) — the engine's swap-chain creation:bool (this, IDXGIFactory*, device, flags). It callsIDXGIFactory::CreateSwapChain(factory vtable slot 10) with&this->m_pSwapChainas the out pointer and logsSuccessfully created dx11 swap chain %s. Verified in IDA.CSwapChainDx11engine struct —m_pSwapChainat +0x170 (IDXGISwapChain*), with the DXGI vtable slots hook authors need: 8Present, 9GetBuffer, 10SetFullscreenState, 12GetDesc, 13ResizeBuffers, 14ResizeTarget. Ships asengine/cswapchaindx11.hand on the site's Engine tab.
There is no single swap-chain global in this engine (swap chains are per-window objects on the render device), so the create function plus the member offset is the right handle: catch the instance in CreateSwapChain, read +0x170 after it returns.
Database: 586 entries, 585 resolve, 0 ambiguous. Everything else is unchanged from v2.1.2.
cs2-sdk.exe below. Run it as administrator with CS2 open.