public static GClass104.GClass105 smethod_2(Stream stream_0) { if (GClass104.smethod_1(stream_0) != GClass104.GEnum7.const_3) { throw new Exception("No IMD5 Header found!"); } GClass104.GClass105 gclass105 = new GClass104.GClass105(); gclass105.method_3(stream_0); return(gclass105); }
public static GClass104.GClass106 smethod_0(Stream stream_0) { GClass104.GEnum7 genum7 = GClass104.smethod_1(stream_0); switch (genum7) { case GClass104.GEnum7.const_1: case GClass104.GEnum7.const_2: GClass104.GClass106 gclass106 = new GClass104.GClass106(); if (genum7 == GClass104.GEnum7.const_1) { gclass106.bool_1 = true; } gclass106.method_2(stream_0); return(gclass106); default: throw new Exception("No IMET Header found!"); } }