Ejemplo n.º 1
0
            public bool TryDecompileBinary()
            {
                ParseBinary();
                Code = NSWShaderDecompile.DecompileShader(ShaderType, Data);

                if (Code.Length > 0)
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
Ejemplo n.º 2
0
 private string DecompileShader()
 {
     //Shader A and B usually need to be combined but atm it has some issues
     return(NSWShaderDecompile.DecompileShader(shaderType, data[1], Address));
 }
Ejemplo n.º 3
0
 private string DecompileShader()
 {
     //Shader A and B usually need to be combined but atm it has some issues
     return(NSWShaderDecompile.DecompileShader(shaderType,
                                               Utils.SubArray(data[1], 48, (uint)data[1].Length - 48), 0));
 }