I`ve perform decompile of pm_shared.c CS functions with windows library.
Amazing change CTEXTURESMAX to 1024, but whole rest code still with 512
All my comments with triple slash, when its possible i`d try to keep HLSDK code, for compare simplification. Also provided Length of functions, if developers changed something - it will be much easier to find.
@Arkshine Please, add it to CSSDK