public static void DefineOpcodeHandler() { Type[] array = PacketManager.smethod_1(PacketManager.smethod_0()); while (true) { IL_1DB: uint arg_1B6_0 = 1781133873u; while (true) { uint num; int num2; uint arg_142_0; int num3; switch ((num = (arg_1B6_0 ^ 315123486u)) % 6u) { case 0u: goto IL_1DB; case 1u: num2 = 0; arg_1B6_0 = (num * 2433928120u ^ 2770631119u); continue; case 2u: goto IL_186; case 3u: IL_11E: if (num2 < array.Length) { goto IL_186; } arg_142_0 = 792245191u; break; case 4u: num3 = 0; goto IL_111; case 5u: goto IL_16A; default: goto IL_16A; } while (true) { IL_13D: switch ((num = (arg_142_0 ^ 315123486u)) % 5u) { case 1u: num2++; arg_142_0 = (num * 2650436441u ^ 3815917589u); continue; case 2u: goto IL_11E; case 3u: goto IL_111; case 4u: goto IL_163; } return; } IL_186: MethodInfo[] array2 = PacketManager.smethod_2(array[num2]); arg_1B6_0 = 2007019048u; continue; IL_111: if (num3 >= array2.Length) { arg_142_0 = 235062078u; goto IL_13D; } goto IL_16A; IL_163: arg_142_0 = 1841975739u; goto IL_13D; IL_16A: MethodInfo methodInfo = array2[num3]; IEnumerator <OpcodeAttribute> enumerator = methodInfo.GetCustomAttributes <OpcodeAttribute>().GetEnumerator(); try { while (true) { IL_BA: uint arg_8A_0 = PacketManager.smethod_5(enumerator) ? 2138237464u : 70193693u; while (true) { switch ((num = (arg_8A_0 ^ 315123486u)) % 5u) { case 0u: arg_8A_0 = 2138237464u; continue; case 1u: goto IL_BA; case 2u: { OpcodeAttribute current = enumerator.Current; arg_8A_0 = ((current == null) ? 314398218u : 1728240380u); continue; } case 4u: { OpcodeAttribute current; PacketManager.OpcodeHandlers[current.Opcode] = (PacketManager.HandlePacket)PacketManager.smethod_4(PacketManager.smethod_3(typeof(PacketManager.HandlePacket).TypeHandle), methodInfo); arg_8A_0 = (num * 3181307333u ^ 518397664u); continue; } } goto Block_7; } } Block_7 :; } finally { if (enumerator != null) { while (true) { IL_103 : uint arg_EA_0 = 921856005u; while (true) { switch ((num = (arg_EA_0 ^ 315123486u)) % 3u) { case 0u: goto IL_103; case 1u: PacketManager.smethod_6(enumerator); arg_EA_0 = (num * 374831327u ^ 897885318u); continue; } goto Block_11; } } Block_11 :; } } num3++; goto IL_163; } } }
public static void DefineOpcodeHandler2() { Type[] array = PacketManager.smethod_1(PacketManager.smethod_0()); int num = 0; while (true) { IL_1E0: int arg_1B8_0 = 720968842; while (true) { int num2; MethodInfo[] array2; MethodInfo methodInfo; uint arg_44_0; switch ((arg_1B8_0 ^ 187693299) % 6) { case 0: goto IL_83; case 1: num2 = 0; goto IL_34; case 2: goto IL_1E0; case 3: IL_70: methodInfo = array2[num2]; arg_1B8_0 = 2134993717; continue; case 4: goto IL_9A; case 5: IL_68: if (num < array.Length) { goto IL_83; } arg_44_0 = 1169583308u; break; default: goto IL_9A; } while (true) { IL_3F: uint num3; switch ((num3 = (arg_44_0 ^ 187693299u)) % 5u) { case 0u: goto IL_68; case 1u: goto IL_34; case 3u: num++; arg_44_0 = (num3 * 2911205606u ^ 2944092559u); continue; case 4u: goto IL_19; } return; } IL_34: if (num2 >= array2.Length) { arg_44_0 = 953874035u; goto IL_3F; } goto IL_70; IL_19: arg_44_0 = 193044341u; goto IL_3F; IL_83: array2 = PacketManager.smethod_2(array[num]); arg_1B8_0 = 296719328; continue; IL_9A: IEnumerator <Opcode2Attribute> enumerator = methodInfo.GetCustomAttributes <Opcode2Attribute>().GetEnumerator(); try { while (true) { IL_152: uint arg_122_0 = (!PacketManager.smethod_5(enumerator)) ? 862574067u : 741055446u; while (true) { uint num3; switch ((num3 = (arg_122_0 ^ 187693299u)) % 5u) { case 0u: arg_122_0 = 741055446u; continue; case 2u: { Opcode2Attribute current; PacketManager.OpcodeHandlers2[current.Opcode] = (PacketManager.HandlePacket2)PacketManager.smethod_4(PacketManager.smethod_3(typeof(PacketManager.HandlePacket2).TypeHandle), methodInfo); arg_122_0 = (num3 * 2220846814u ^ 4198299646u); continue; } case 3u: goto IL_152; case 4u: { Opcode2Attribute current = enumerator.Current; arg_122_0 = ((current != null) ? 1372132325u : 1481746154u); continue; } } goto Block_8; } } Block_8 :; } finally { if (enumerator != null) { while (true) { IL_19B : uint arg_182_0 = 1737012298u; while (true) { uint num3; switch ((num3 = (arg_182_0 ^ 187693299u)) % 3u) { case 0u: goto IL_19B; case 2u: PacketManager.smethod_6(enumerator); arg_182_0 = (num3 * 2286764410u ^ 2847179084u); continue; } goto Block_12; } } Block_12 :; } } num2++; goto IL_19; } } }