Reverse Engineering - trigger-segfault/TriggersTools.CatSystem2 GitHub Wiki
CatSystem2 Reverse Engineering
This page is the dedicated home to documenting knowledge about, and reverse engineering of the CatSystem2 cs2.exe and cs2_open.exe assemblies.
🚧 This page is a work in progress
Tools
The information documented here was found using the following decompiler and debugger tools:
- Ghidra - Decompiler: Analysis, Function ID, etc. (free, unlike IDA)
- OllyDbg - Debugger: GUI, Breakpoints, and Memory/Register View
- ret-sync - Plugin: Debugger/Decompiler Synchronization
Internal Libraries
The main library of CatSystem2 is called "kclib", this can be seen with the strings being allocated all throughout the program of this exact text: "e:\prg-ares\dev-env\vs2013\kclib-dx9\include\..\kcClassBase\kcClassBase.h".
kclib contains classes such as kcImage, kcImageHg3,
- kcClassBase: universal base class
- kcFileBase: I/O base class
- kcBigFile: KIF Archive
- kcImage: image base class
- kcImageHg3: HG-3 Image
- kcImageHg2: HG-2 Image
- kcTaskBase: task base class, presumably runtime handling
- kcTaskFESScript: FES Screen
- kcTaskScript: CST Scene
- kcTaskZTExport: ZT Package