Skip to content

v2.1.2 — signature audit: 16 wrong names removed, aliases folded, 584/585

Choose a tag to compare

@scros22 scros22 released this 24 Sep 11:25
· 11 commits to main since this release

Signature-database audit for CS2 build 14183 (client 2000915). Live at https://cs2-sdk.com.

Every duplicate audited against the decompiled function

57 functions were listed under two or three names. Each group's shared target was decompiled in IDA and every name checked against what the function actually does. Result:

  • 41 groups are genuine aliases (two community names for one function, e.g. TraceShape / CGameTrace_TraceShape_Client, GetInaccuracy / C_CSWeaponBaseGun_GetInaccuracy). The dump now publishes each of these once, under its most descriptive name, with the other names in an aliases field. Every alias still resolves in the site search, Ctrl+K and /api/query.
  • 16 names were wrong or noise and are removed from the database:
    • GetLocalControllerById — the function resolves and returns the local pawn (GetLocalPawn stays)
    • GetBonePositionByName — returns a bone index (C_BaseEntity_GetBoneIdByName stays)
    • CGameTraceManager_TraceRay — the function is CGamePhysicsQueryInterface::TraceShape (its own log string)
    • SendChatMessage — HudChatPrintf formats a line into the local HUD chat, it sends nothing
    • DrawTeamIntro — fires the team_intro_start / team_intro_end events, draws nothing
    • RemoveLegs — the first-person legs render pass (DrawLegs); "remove" describes a hook use, not the function
    • TraceToExit — same function as CreateTrace; the exit-trace name was unverified
    • pVPhys2World — the global is the game trace manager (pGameTraceManager)
    • pGetBBox — the global is g_pGameRules (pGameRules)
    • CCSPlayerController_SwitchTeam — the warning string names CCSPlayerPawnBase::SwitchTeam
    • plus a duplicated CSkeletonInstance_SetMeshGroupMask, a SetBodyGroup case-duplicate, CreateSOSubclassEconItem, and two redundant NetSystem_ copies
  • One entry was misnamed under both names: CalculateInterpolation / GetCUserCmdTick is CEntityInstance::GetEntityIndex (takes the identity at +0x10, walks the entity-list chunks, writes the index or -1). Published as CEntityInstance_GetEntityIndex.

Database: 585 entries, 584 resolve (only GameSystem_Think_CheckSteamBan remains), 0 ambiguous matches.

Naming

Class prefixes are still stripped for readability (CCSGOInput_CreateMove → CreateMove), but never down to a bare word: CCSInventoryManager_Get and CInButtonStatePB_New keep their class instead of appearing as Get and New.

Files

  • patterns/patterns.json gains unique_functions and a per-entry aliases list; patterns/patterns.hpp notes aliases as comments.
  • offsets/offsets_all.json (from v2.1.1): every resolved global, tagged by kind.
  • CHandle<T>::Get() (from v2.1.1) in macros.hpp + impl/entity_system.hpp.

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