public bool TryDecompileBinary() { ParseBinary(); Code = NSWShaderDecompile.DecompileShader(ShaderType, Data); if (Code.Length > 0) { return(true); } else { return(false); } }
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)); }
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)); }