Skip to content

v2.1.5 — CS2 build 14184: full verification pass (offsets, protobufs, headers, signature audit)

Choose a tag to compare

@scros22 scros22 released this 25 Sep 14:07
· 7 commits to main since this release

Full verification pass for CS2 build 14184 (client 2000917, patched 2026-09-24 22:53). Every module was re-analysed from scratch in IDA and the whole dump was checked against the binaries and against a2x's dump of the same build, not just re-scanned. Live at https://cs2-sdk.com.

Wrong, now fixed

  • dwGameRules pointed at a vtable pointer in .rdata, not at g_pGameRules. Same read-site anchor as a2x now; it resolves to the global the pGameRules signature already found (651 references).
  • dwSensitivity was the cl_leveloverview ConVar, not sensitivity — both go through the same ConVarRef helper, the registration sites name them. Re-anchored on the sensitivity * zoom_sensitivity_ratio site, with dwSensitivity_sensitivity = 0x58 (the value offset inside ConVarInfo_t). pSensitivity resolves to the same slot.
  • dwSoundSystem_engineViewData was 0x7C, read from a stack store in an unrelated function. The view block is at 0x6C. dwSoundSystem and dwNetworkGameClient_isBackgroundMap had silently stopped resolving; both are back. The classic globals are now the same 32 a2x publishes, and every value matches a2x's for this build.
  • CBaseUserCmdPB in protobufs.json / protobufs.hpp was wrong. The reader sorted fields by number while libprotobuf's offset table is in declaration order, which shifted viewangles, forwardmove, leftmove, … by one slot. Fixed at the source; the layout now agrees with CBaseUserCmdPB::_InternalParse and with the hand-verified engine struct.
  • The generated headers did not compile under MSVC (CUtlStringTokenNoRegistration was never declared; std::unique_ptr without <memory>). Fixed; cs2.hpp compiles with cl /std:c++17 and /std:c++20 /permissive-.

Signatures, verified entry by entry

Each function target was checked in fresh IDA analysis of 14184: is it a function start, does the Hex-Rays prototype match, does the name describe what the code does (strings, callers, vtable).

  • Two patterns started one byte into their function and published an RVA one byte late (BulkRegenIterator, SDL_EventHandler).
  • CreateEntityByClassName had drifted onto a flex-controller warning; re-anchored on the client's networked entity creator.
  • Renamed to what the function does: SetupCmd → GetUserCmdSequence, DrawOverHead → IsRenderingEnabledForSlot, UnlockInventory → IsInventoryUnlocked, DrawViewPunch2 → CalcLocalPlayerView, DrawCrosshair → ShouldDrawCrosshair, DynamicLight_SetDieTime → GetGameTimeOrCurrent, CreateParticleEffect → Particles_SetControlPointPosition, AutowallInit → C_BaseModelEntity_UpdateOnRemove, PrepareSceneMaterial → CMaterial2_GetFloatParam, UtlBuffer → CBufferString_Purge, LoadKeyValues → LoadKV3.
  • Removed because the name described a different function: ReportHit (a CCLCMsg_HltvReplay destructor), SetupMove (the quick-buy radial), SetupMovementMoves (a call site in a schema helper), AutowallTracePos (C_GlobalLight skybox slots), CCSGOInput_HandleViewAngles (an input-state reset), UpdatePostProcessing (watch-menu match selection), DrawLightScene (a struct copy), and the placeholders UnknownParticleFunction and SomeTimingFromPawn.
  • 162 prototypes filled in or refreshed from the current build.

577 entries, 576 resolve, 0 ambiguous. Schema field offsets (9,251 compared), buttons and all interface instances match a2x's 14184 dump exactly.

cs2-sdk.exe below. Run it as administrator with CS2 open; dump in a match for the full weapons list.