public static void SignHash(zzPakNode2 pakNode) { if (pakNode.method_6(GameSettingsChecker._hashPath)) { pakNode.method_7(GameSettingsChecker._hashPath); } zzGenericNode1 @class = new zzGenericNode1(); @class.method_3(new UnicodeRootNode("version", GameSettingsChecker._hashPath, Assembly.GetExecutingAssembly().GetName().Version.ToString())); using (Stream26 stream = pakNode.method_17()) { stream.Position = 0L; @class.method_3(new ArrayPointerRootNode("hash", GameSettingsChecker._hashPath, new IntegerArrayNode(KeyGenerator.smethod_21(KeyGenerator.HashStream(stream._stream))))); } GC.Collect(); DateTime now = DateTime.Now; @class.method_3(new ArrayPointerRootNode("date", GameSettingsChecker._hashPath, new FloatArrayNode(new float[] { (float)now.Year, (float)now.Month, (float)now.Day }))); pakNode.method_1 <zzCocoaNode12>(GameSettingsChecker._hashPath, new zzCocoaNode12(GameSettingsChecker._hashPath, KeyGenerator.smethod_2(@class.method_8(), "MaC39SubInfo1245"))); }
public override void vmethod_0() { zzGenericNode1 @class = this.class318_0.zzGetNode1("scripts\\guitar\\guitar_events.qb"); ((StructureHeaderNode)@class.method_5 <TagStructureNode>(new TagStructureNode("event", "star_power_on")).Parent).method_5 <TagStructureNode>(new TagStructureNode("scr")).method_9(this.bool_0 ? "guitarevent_starpoweroff" : "guitarevent_starpoweron"); if (!this.bool_0) { @class.method_5 <ScriptRootNode>(new ScriptRootNode("hit_note_fx")).int_0 = QbSongClass1.smethod_9("hit_note_fx_empty"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("guitarevent_starsequencebonus")).int_0 = QbSongClass1.smethod_9("guitarevent_starsequencebonus_empty"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("guitarevent_multiplier4xon_spawned")).int_0 = QbSongClass1.smethod_9("guitarevent_multiplier4xon_spawned_empty"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("first_gem_fx")).int_0 = QbSongClass1.smethod_9("first_gem_fx_empty"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("hit_note_fx_original")).int_0 = QbSongClass1.smethod_9("hit_note_fx"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("guitarevent_starsequencebonus_original")).int_0 = QbSongClass1.smethod_9("guitarevent_starsequencebonus"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("guitarevent_multiplier4xon_spawned_original")).int_0 = QbSongClass1.smethod_9("guitarevent_multiplier4xon_spawned"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("first_gem_fx_original")).int_0 = QbSongClass1.smethod_9("first_gem_fx"); return; } @class.method_5 <ScriptRootNode>(new ScriptRootNode("hit_note_fx")).int_0 = QbSongClass1.smethod_9("hit_note_fx_original"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("guitarevent_starsequencebonus")).int_0 = QbSongClass1.smethod_9("guitarevent_starsequencebonus_original"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("guitarevent_multiplier4xon_spawned")).int_0 = QbSongClass1.smethod_9("guitarevent_multiplier4xon_spawned_original"); @class.method_5 <ScriptRootNode>(new ScriptRootNode("first_gem_fx")).int_0 = QbSongClass1.smethod_9("first_gem_fx_original"); ScriptRootNode class2 = @class.method_5 <ScriptRootNode>(new ScriptRootNode("hit_note_fx_empty")); if (class2 != null) { class2.int_0 = QbSongClass1.smethod_9("hit_note_fx"); } else { @class.method_3(new ScriptRootNode("hit_note_fx", "scripts\\guitar\\guitar_events.qb", new QbScriptNode())); } class2 = @class.method_5 <ScriptRootNode>(new ScriptRootNode("guitarevent_starsequencebonus_empty")); if (class2 != null) { class2.int_0 = QbSongClass1.smethod_9("guitarevent_starsequencebonus"); } else { @class.method_3(new ScriptRootNode("guitarevent_starsequencebonus", "scripts\\guitar\\guitar_events.qb", new QbScriptNode())); } class2 = @class.method_5 <ScriptRootNode>(new ScriptRootNode("guitarevent_multiplier4xon_spawned_empty")); if (class2 != null) { class2.int_0 = QbSongClass1.smethod_9("guitarevent_multiplier4xon_spawned"); } else { @class.method_3(new ScriptRootNode("guitarevent_multiplier4xon_spawned", "scripts\\guitar\\guitar_events.qb", new QbScriptNode())); } class2 = @class.method_5 <ScriptRootNode>(new ScriptRootNode("first_gem_fx_empty")); if (class2 != null) { class2.int_0 = QbSongClass1.smethod_9("first_gem_fx"); return; } @class.method_3(new ScriptRootNode("first_gem_fx", "scripts\\guitar\\guitar_events.qb", new QbScriptNode())); }