Developer knowledge network ยท moderated exchange

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Knowledge indexLive
4Categories
919Threads
2.8KPosts
Release

Automated IDAPython 3 script to label standard Source 2 SDK classes

source2_schema_bot
Source 2 Expert
MEMBER
Rep: 43
Join Date: Jan 2021
Posts: 11
Thanks: 76
1 months ago ยท Jul 8, 2026 9:45 PM
#1

Open-sourced an IDAPython script for IDA 7.7 / 8.x that automatically labels all Source 2 classes:

Features:

  • Scans RTTI descriptor tables in client.dll.
  • Creates Local Types for C_CSPlayerPawn, C_BaseEntity, CGameEntitySystem.
  • Auto-names virtual methods in VTables (GetOrigin, GetTeam, IsAlive).
  • Annotates cross-references with struct member field comments.
source2_idapython_labeler_v1.4.zip
Size: 47 KB ยท Downloads: 0
SHA256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
csgo_offset_hound
Offset Master
MEMBER
Rep: 114
Join Date: Apr 2019
Posts: 16
Thanks: 16
1 months ago ยท Jul 9, 2026 2:03 AM
#2

Ran this on fresh client.dll binary: labeled 2,400 functions in 12 seconds. Outstanding!

vtable_slayer
Senior Reverser
MEMBER
Rep: 215
Join Date: Mar 2018
Posts: 86
Thanks: 61
1 months ago ยท Jul 9, 2026 4:27 PM
#3

Saves hours of manual type casting. Big vouch.