Advertisement
Sc2ad

Location of call in DustDevilFramework

Jan 15th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.02 KB | None | 0 0
  1. // Token: 0x060000A4 RID: 164 RVA: 0x000069A0 File Offset: 0x00004BA0
  2. .method public hidebysig
  3. instance void ShowModSettingsMenu (
  4. class [UnityEngine]UnityEngine.GameObject o
  5. ) cil managed
  6. {
  7. // Header Size: 12 bytes
  8. // Code Size: 939 (0x3AB) bytes
  9. // LocalVarSig Token: 0x1100002F RID: 47
  10. .maxstack 5
  11. .locals init (
  12. [0] valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class DustDevilFramework.ScadMod>,
  13. [1] class DustDevilFramework.ScadMod,
  14. [2] class [mscorlib]System.Reflection.FieldInfo[],
  15. [3] int32,
  16. [4] class [mscorlib]System.Reflection.FieldInfo,
  17. [5] bool,
  18. [6] object[],
  19. [7] bool,
  20. [8] object[],
  21. [9] int32,
  22. [10] object,
  23. [11] bool,
  24. [12] bool,
  25. [13] class DustDevilFramework.ModSettings/SettingsRange,
  26. [14] bool,
  27. [15] bool,
  28. [16] string,
  29. [17] bool
  30. )
  31.  
  32. /* 0x00004BAC 00 */ IL_0000: nop
  33. /* 0x00004BAD 72872D0070 */ IL_0001: ldstr "Attempting to show mod settings menu!"
  34. /* 0x00004BB2 28B200000A */ IL_0006: call void [UnityEngine]UnityEngine.Debug::Log(object)
  35. /* 0x00004BB7 00 */ IL_000B: nop
  36. /* 0x00004BB8 00 */ IL_000C: nop
  37. /* 0x00004BB9 7E06000004 */ IL_000D: ldsfld class [mscorlib]System.Collections.Generic.List`1<class DustDevilFramework.ScadMod> DustDevilFramework.DustDevil::ModList
  38. /* 0x00004BBE 6FBE00000A */ IL_0012: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<!0> class [mscorlib]System.Collections.Generic.List`1<class DustDevilFramework.ScadMod>::GetEnumerator()
  39. /* 0x00004BC3 0A */ IL_0017: stloc.0
  40. .try
  41. {
  42. /* 0x00004BC4 3870030000 */ IL_0018: br IL_038D
  43. // loop start (head: IL_038D)
  44. /* 0x00004BC9 1200 */ IL_001D: ldloca.s V_0
  45. /* 0x00004BCB 28BF00000A */ IL_001F: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class DustDevilFramework.ScadMod>::get_Current()
  46. /* 0x00004BD0 0B */ IL_0024: stloc.1
  47. /* 0x00004BD1 00 */ IL_0025: nop
  48. /* 0x00004BD2 1D */ IL_0026: ldc.i4.7
  49. /* 0x00004BD3 8D39000001 */ IL_0027: newarr [mscorlib]System.Object
  50. /* 0x00004BD8 25 */ IL_002C: dup
  51. /* 0x00004BD9 16 */ IL_002D: ldc.i4.0
  52. /* 0x00004BDA 72D32D0070 */ IL_002E: ldstr "Mod: "
  53. /* 0x00004BDF A2 */ IL_0033: stelem.ref
  54. /* 0x00004BE0 25 */ IL_0034: dup
  55. /* 0x00004BE1 17 */ IL_0035: ldc.i4.1
  56. /* 0x00004BE2 07 */ IL_0036: ldloc.1
  57. /* 0x00004BE3 7B0C000004 */ IL_0037: ldfld string DustDevilFramework.ScadMod::name
  58. /* 0x00004BE8 A2 */ IL_003C: stelem.ref
  59. /* 0x00004BE9 25 */ IL_003D: dup
  60. /* 0x00004BEA 18 */ IL_003E: ldc.i4.2
  61. /* 0x00004BEB 72DF2D0070 */ IL_003F: ldstr " has settingsType: "
  62. /* 0x00004BF0 A2 */ IL_0044: stelem.ref
  63. /* 0x00004BF1 25 */ IL_0045: dup
  64. /* 0x00004BF2 19 */ IL_0046: ldc.i4.3
  65. /* 0x00004BF3 07 */ IL_0047: ldloc.1
  66. /* 0x00004BF4 7B0F000004 */ IL_0048: ldfld class [mscorlib]System.Type DustDevilFramework.ScadMod::settingsType
  67. /* 0x00004BF9 6FFB00000A */ IL_004D: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
  68. /* 0x00004BFE A2 */ IL_0052: stelem.ref
  69. /* 0x00004BFF 25 */ IL_0053: dup
  70. /* 0x00004C00 1A */ IL_0054: ldc.i4.4
  71. /* 0x00004C01 72072E0070 */ IL_0055: ldstr " with: "
  72. /* 0x00004C06 A2 */ IL_005A: stelem.ref
  73. /* 0x00004C07 25 */ IL_005B: dup
  74. /* 0x00004C08 1B */ IL_005C: ldc.i4.5
  75. /* 0x00004C09 07 */ IL_005D: ldloc.1
  76. /* 0x00004C0A 7B0F000004 */ IL_005E: ldfld class [mscorlib]System.Type DustDevilFramework.ScadMod::settingsType
  77. /* 0x00004C0F 1F34 */ IL_0063: ldc.i4.s 52
  78. /* 0x00004C11 6F5E01000A */ IL_0065: callvirt instance class [mscorlib]System.Reflection.FieldInfo[] [mscorlib]System.Type::GetFields(valuetype [mscorlib]System.Reflection.BindingFlags)
  79. /* 0x00004C16 8E */ IL_006A: ldlen
  80. /* 0x00004C17 69 */ IL_006B: conv.i4
  81. /* 0x00004C18 8C79000001 */ IL_006C: box [mscorlib]System.Int32
  82. /* 0x00004C1D A2 */ IL_0071: stelem.ref
  83. /* 0x00004C1E 25 */ IL_0072: dup
  84. /* 0x00004C1F 1C */ IL_0073: ldc.i4.6
  85. /* 0x00004C20 72172E0070 */ IL_0074: ldstr " fields."
  86. /* 0x00004C25 A2 */ IL_0079: stelem.ref
  87. /* 0x00004C26 284B00000A */ IL_007A: call string [mscorlib]System.String::Concat(object[])
  88. /* 0x00004C2B 28B200000A */ IL_007F: call void [UnityEngine]UnityEngine.Debug::Log(object)
  89. /* 0x00004C30 00 */ IL_0084: nop
  90. /* 0x00004C31 00 */ IL_0085: nop
  91. /* 0x00004C32 07 */ IL_0086: ldloc.1
  92. /* 0x00004C33 7B0F000004 */ IL_0087: ldfld class [mscorlib]System.Type DustDevilFramework.ScadMod::settingsType
  93. /* 0x00004C38 1F34 */ IL_008C: ldc.i4.s 52
  94. /* 0x00004C3A 6F5E01000A */ IL_008E: callvirt instance class [mscorlib]System.Reflection.FieldInfo[] [mscorlib]System.Type::GetFields(valuetype [mscorlib]System.Reflection.BindingFlags)
  95. /* 0x00004C3F 0C */ IL_0093: stloc.2
  96. /* 0x00004C40 16 */ IL_0094: ldc.i4.0
  97. /* 0x00004C41 0D */ IL_0095: stloc.3
  98. /* 0x00004C42 38DD020000 */ IL_0096: br IL_0378
  99. // loop start (head: IL_0378)
  100. /* 0x00004C47 08 */ IL_009B: ldloc.2
  101. /* 0x00004C48 09 */ IL_009C: ldloc.3
  102. /* 0x00004C49 9A */ IL_009D: ldelem.ref
  103. /* 0x00004C4A 1304 */ IL_009E: stloc.s V_4
  104. /* 0x00004C4C 00 */ IL_00A0: nop
  105. /* 0x00004C4D 17 */ IL_00A1: ldc.i4.1
  106. /* 0x00004C4E 1305 */ IL_00A2: stloc.s V_5
  107. /* 0x00004C50 1104 */ IL_00A4: ldloc.s V_4
  108. /* 0x00004C52 6F5F01000A */ IL_00A6: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  109. /* 0x00004C57 D076000001 */ IL_00AB: ldtoken [mscorlib]System.Single
  110. /* 0x00004C5C 28D500000A */ IL_00B0: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
  111. /* 0x00004C61 6F6001000A */ IL_00B5: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
  112. /* 0x00004C66 2D18 */ IL_00BA: brtrue.s IL_00D4
  113.  
  114. /* 0x00004C68 1104 */ IL_00BC: ldloc.s V_4
  115. /* 0x00004C6A 6F5F01000A */ IL_00BE: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  116. /* 0x00004C6F D079000001 */ IL_00C3: ldtoken [mscorlib]System.Int32
  117. /* 0x00004C74 28D500000A */ IL_00C8: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
  118. /* 0x00004C79 6F6001000A */ IL_00CD: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
  119. /* 0x00004C7E 2B01 */ IL_00D2: br.s IL_00D5
  120.  
  121. /* 0x00004C80 17 */ IL_00D4: ldc.i4.1
  122.  
  123. /* 0x00004C81 1307 */ IL_00D5: stloc.s V_7
  124. /* 0x00004C83 1107 */ IL_00D7: ldloc.s V_7
  125. /* 0x00004C85 2C05 */ IL_00D9: brfalse.s IL_00E0
  126.  
  127. /* 0x00004C87 00 */ IL_00DB: nop
  128. /* 0x00004C88 16 */ IL_00DC: ldc.i4.0
  129. /* 0x00004C89 1305 */ IL_00DD: stloc.s V_5
  130. /* 0x00004C8B 00 */ IL_00DF: nop
  131.  
  132. /* 0x00004C8C 1104 */ IL_00E0: ldloc.s V_4
  133. /* 0x00004C8E 17 */ IL_00E2: ldc.i4.1
  134. /* 0x00004C8F 6F6101000A */ IL_00E3: callvirt instance object[] [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(bool)
  135. /* 0x00004C94 1306 */ IL_00E8: stloc.s V_6
  136. /* 0x00004C96 72292E0070 */ IL_00EA: ldstr "Attribute count: "
  137. /* 0x00004C9B 1106 */ IL_00EF: ldloc.s V_6
  138. /* 0x00004C9D 8E */ IL_00F1: ldlen
  139. /* 0x00004C9E 69 */ IL_00F2: conv.i4
  140. /* 0x00004C9F 8C79000001 */ IL_00F3: box [mscorlib]System.Int32
  141. /* 0x00004CA4 284500000A */ IL_00F8: call string [mscorlib]System.String::Concat(object, object)
  142. /* 0x00004CA9 28B200000A */ IL_00FD: call void [UnityEngine]UnityEngine.Debug::Log(object)
  143. /* 0x00004CAE 00 */ IL_0102: nop
  144. /* 0x00004CAF 00 */ IL_0103: nop
  145. /* 0x00004CB0 1106 */ IL_0104: ldloc.s V_6
  146. /* 0x00004CB2 1308 */ IL_0106: stloc.s V_8
  147. /* 0x00004CB4 16 */ IL_0108: ldc.i4.0
  148. /* 0x00004CB5 1309 */ IL_0109: stloc.s V_9
  149. /* 0x00004CB7 385D010000 */ IL_010B: br IL_026D
  150. // loop start (head: IL_026D)
  151. /* 0x00004CBC 1108 */ IL_0110: ldloc.s V_8
  152. /* 0x00004CBE 1109 */ IL_0112: ldloc.s V_9
  153. /* 0x00004CC0 9A */ IL_0114: ldelem.ref
  154. /* 0x00004CC1 130A */ IL_0115: stloc.s V_10
  155. /* 0x00004CC3 00 */ IL_0117: nop
  156. /* 0x00004CC4 110A */ IL_0118: ldloc.s V_10
  157. /* 0x00004CC6 6FF800000A */ IL_011A: callvirt instance class [mscorlib]System.Type [mscorlib]System.Object::GetType()
  158. /* 0x00004CCB D010000002 */ IL_011F: ldtoken DustDevilFramework.ModSettings/SettingsIgnore
  159. /* 0x00004CD0 28D500000A */ IL_0124: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
  160. /* 0x00004CD5 6F6001000A */ IL_0129: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
  161. /* 0x00004CDA 130B */ IL_012E: stloc.s V_11
  162. /* 0x00004CDC 110B */ IL_0130: ldloc.s V_11
  163. /* 0x00004CDE 2C3E */ IL_0132: brfalse.s IL_0172
  164.  
  165. /* 0x00004CE0 00 */ IL_0134: nop
  166. /* 0x00004CE1 16 */ IL_0135: ldc.i4.0
  167. /* 0x00004CE2 1305 */ IL_0136: stloc.s V_5
  168. /* 0x00004CE4 1A */ IL_0138: ldc.i4.4
  169. /* 0x00004CE5 8D39000001 */ IL_0139: newarr [mscorlib]System.Object
  170. /* 0x00004CEA 25 */ IL_013E: dup
  171. /* 0x00004CEB 16 */ IL_013F: ldc.i4.0
  172. /* 0x00004CEC 724D2E0070 */ IL_0140: ldstr "Ignoring setting with name: "
  173. /* 0x00004CF1 A2 */ IL_0145: stelem.ref
  174. /* 0x00004CF2 25 */ IL_0146: dup
  175. /* 0x00004CF3 17 */ IL_0147: ldc.i4.1
  176. /* 0x00004CF4 1104 */ IL_0148: ldloc.s V_4
  177. /* 0x00004CF6 6FFB00000A */ IL_014A: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
  178. /* 0x00004CFB A2 */ IL_014F: stelem.ref
  179. /* 0x00004CFC 25 */ IL_0150: dup
  180. /* 0x00004CFD 18 */ IL_0151: ldc.i4.2
  181. /* 0x00004CFE 72872E0070 */ IL_0152: ldstr " and type: "
  182. /* 0x00004D03 A2 */ IL_0157: stelem.ref
  183. /* 0x00004D04 25 */ IL_0158: dup
  184. /* 0x00004D05 19 */ IL_0159: ldc.i4.3
  185. /* 0x00004D06 1104 */ IL_015A: ldloc.s V_4
  186. /* 0x00004D08 6F5F01000A */ IL_015C: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  187. /* 0x00004D0D A2 */ IL_0161: stelem.ref
  188. /* 0x00004D0E 284B00000A */ IL_0162: call string [mscorlib]System.String::Concat(object[])
  189. /* 0x00004D13 28B200000A */ IL_0167: call void [UnityEngine]UnityEngine.Debug::Log(object)
  190. /* 0x00004D18 00 */ IL_016C: nop
  191. /* 0x00004D19 3806010000 */ IL_016D: br IL_0278
  192.  
  193. /* 0x00004D1E 110A */ IL_0172: ldloc.s V_10
  194. /* 0x00004D20 6FF800000A */ IL_0174: callvirt instance class [mscorlib]System.Type [mscorlib]System.Object::GetType()
  195. /* 0x00004D25 D00F000002 */ IL_0179: ldtoken DustDevilFramework.ModSettings/SettingsRange
  196. /* 0x00004D2A 28D500000A */ IL_017E: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
  197. /* 0x00004D2F 6F6001000A */ IL_0183: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
  198. /* 0x00004D34 2C33 */ IL_0188: brfalse.s IL_01BD
  199.  
  200. /* 0x00004D36 1104 */ IL_018A: ldloc.s V_4
  201. /* 0x00004D38 6F5F01000A */ IL_018C: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  202. /* 0x00004D3D D076000001 */ IL_0191: ldtoken [mscorlib]System.Single
  203. /* 0x00004D42 28D500000A */ IL_0196: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
  204. /* 0x00004D47 6F6001000A */ IL_019B: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
  205. /* 0x00004D4C 2D18 */ IL_01A0: brtrue.s IL_01BA
  206.  
  207. /* 0x00004D4E 1104 */ IL_01A2: ldloc.s V_4
  208. /* 0x00004D50 6F5F01000A */ IL_01A4: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  209. /* 0x00004D55 D079000001 */ IL_01A9: ldtoken [mscorlib]System.Int32
  210. /* 0x00004D5A 28D500000A */ IL_01AE: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
  211. /* 0x00004D5F 6F6001000A */ IL_01B3: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
  212. /* 0x00004D64 2B01 */ IL_01B8: br.s IL_01BB
  213.  
  214. /* 0x00004D66 17 */ IL_01BA: ldc.i4.1
  215.  
  216. /* 0x00004D67 2B01 */ IL_01BB: br.s IL_01BE
  217.  
  218. /* 0x00004D69 16 */ IL_01BD: ldc.i4.0
  219.  
  220. /* 0x00004D6A 130C */ IL_01BE: stloc.s V_12
  221. /* 0x00004D6C 110C */ IL_01C0: ldloc.s V_12
  222. /* 0x00004D6E 399F000000 */ IL_01C2: brfalse IL_0266
  223.  
  224. /* 0x00004D73 00 */ IL_01C7: nop
  225. /* 0x00004D74 110A */ IL_01C8: ldloc.s V_10
  226. /* 0x00004D76 750F000002 */ IL_01CA: isinst DustDevilFramework.ModSettings/SettingsRange
  227. /* 0x00004D7B 130D */ IL_01CF: stloc.s V_13
  228. /* 0x00004D7D 17 */ IL_01D1: ldc.i4.1
  229. /* 0x00004D7E 1305 */ IL_01D2: stloc.s V_5
  230. /* 0x00004D80 1E */ IL_01D4: ldc.i4.8
  231. /* 0x00004D81 8D39000001 */ IL_01D5: newarr [mscorlib]System.Object
  232. /* 0x00004D86 25 */ IL_01DA: dup
  233. /* 0x00004D87 16 */ IL_01DB: ldc.i4.0
  234. /* 0x00004D88 729F2E0070 */ IL_01DC: ldstr "Showing float/int with name: "
  235. /* 0x00004D8D A2 */ IL_01E1: stelem.ref
  236. /* 0x00004D8E 25 */ IL_01E2: dup
  237. /* 0x00004D8F 17 */ IL_01E3: ldc.i4.1
  238. /* 0x00004D90 1104 */ IL_01E4: ldloc.s V_4
  239. /* 0x00004D92 6FFB00000A */ IL_01E6: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
  240. /* 0x00004D97 A2 */ IL_01EB: stelem.ref
  241. /* 0x00004D98 25 */ IL_01EC: dup
  242. /* 0x00004D99 18 */ IL_01ED: ldc.i4.2
  243. /* 0x00004D9A 72872E0070 */ IL_01EE: ldstr " and type: "
  244. /* 0x00004D9F A2 */ IL_01F3: stelem.ref
  245. /* 0x00004DA0 25 */ IL_01F4: dup
  246. /* 0x00004DA1 19 */ IL_01F5: ldc.i4.3
  247. /* 0x00004DA2 1104 */ IL_01F6: ldloc.s V_4
  248. /* 0x00004DA4 6F5F01000A */ IL_01F8: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  249. /* 0x00004DA9 A2 */ IL_01FD: stelem.ref
  250. /* 0x00004DAA 25 */ IL_01FE: dup
  251. /* 0x00004DAB 1A */ IL_01FF: ldc.i4.4
  252. /* 0x00004DAC 72DB2E0070 */ IL_0200: ldstr " because it has a SettingsRange of: "
  253. /* 0x00004DB1 A2 */ IL_0205: stelem.ref
  254. /* 0x00004DB2 25 */ IL_0206: dup
  255. /* 0x00004DB3 1B */ IL_0207: ldc.i4.5
  256. /* 0x00004DB4 110D */ IL_0208: ldloc.s V_13
  257. /* 0x00004DB6 6FAD000006 */ IL_020A: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_Low()
  258. /* 0x00004DBB 8C76000001 */ IL_020F: box [mscorlib]System.Single
  259. /* 0x00004DC0 A2 */ IL_0214: stelem.ref
  260. /* 0x00004DC1 25 */ IL_0215: dup
  261. /* 0x00004DC2 1C */ IL_0216: ldc.i4.6
  262. /* 0x00004DC3 72252F0070 */ IL_0217: ldstr " to "
  263. /* 0x00004DC8 A2 */ IL_021C: stelem.ref
  264. /* 0x00004DC9 25 */ IL_021D: dup
  265. /* 0x00004DCA 1D */ IL_021E: ldc.i4.7
  266. /* 0x00004DCB 110D */ IL_021F: ldloc.s V_13
  267. /* 0x00004DCD 6FAF000006 */ IL_0221: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_High()
  268. /* 0x00004DD2 8C76000001 */ IL_0226: box [mscorlib]System.Single
  269. /* 0x00004DD7 A2 */ IL_022B: stelem.ref
  270. /* 0x00004DD8 284B00000A */ IL_022C: call string [mscorlib]System.String::Concat(object[])
  271. /* 0x00004DDD 28B200000A */ IL_0231: call void [UnityEngine]UnityEngine.Debug::Log(object)
  272. /* 0x00004DE2 00 */ IL_0236: nop
  273. /* 0x00004DE3 02 */ IL_0237: ldarg.0
  274. /* 0x00004DE4 110D */ IL_0238: ldloc.s V_13
  275. /* 0x00004DE6 6FAD000006 */ IL_023A: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_Low()
  276. /* 0x00004DEB 110D */ IL_023F: ldloc.s V_13
  277. /* 0x00004DED 6FAF000006 */ IL_0241: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_High()
  278. /* 0x00004DF2 1104 */ IL_0246: ldloc.s V_4
  279. /* 0x00004DF4 07 */ IL_0248: ldloc.1
  280. /* 0x00004DF5 7B0E000004 */ IL_0249: ldfld class DustDevilFramework.ModSettings DustDevilFramework.ScadMod::settings
  281. /* 0x00004DFA 6FFC00000A */ IL_024E: callvirt instance object [mscorlib]System.Reflection.FieldInfo::GetValue(object)
  282. /* 0x00004DFF A576000001 */ IL_0253: unbox.any [mscorlib]System.Single
  283. /* 0x00004E04 110D */ IL_0258: ldloc.s V_13
  284. /* 0x00004E06 6FB1000006 */ IL_025A: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_Increment()
  285. /* 0x00004E0B 28A3000006 */ IL_025F: call instance void DustDevilFramework.DustDevil/ClickHandler::CreateSlider(float32, float32, float32, float32)
  286. /* 0x00004E10 00 */ IL_0264: nop
  287. /* 0x00004E11 00 */ IL_0265: nop
  288.  
  289. /* 0x00004E12 00 */ IL_0266: nop
  290. /* 0x00004E13 1109 */ IL_0267: ldloc.s V_9
  291. /* 0x00004E15 17 */ IL_0269: ldc.i4.1
  292. /* 0x00004E16 58 */ IL_026A: add
  293. /* 0x00004E17 1309 */ IL_026B: stloc.s V_9
  294.  
  295. /* 0x00004E19 1109 */ IL_026D: ldloc.s V_9
  296. /* 0x00004E1B 1108 */ IL_026F: ldloc.s V_8
  297. /* 0x00004E1D 8E */ IL_0271: ldlen
  298. /* 0x00004E1E 69 */ IL_0272: conv.i4
  299. /* 0x00004E1F 3F98FEFFFF */ IL_0273: blt IL_0110
  300. // end loop
  301.  
  302. /* 0x00004E24 1104 */ IL_0278: ldloc.s V_4
  303. /* 0x00004E26 6F5F01000A */ IL_027A: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  304. /* 0x00004E2B D076000001 */ IL_027F: ldtoken [mscorlib]System.Single
  305. /* 0x00004E30 28D500000A */ IL_0284: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
  306. /* 0x00004E35 6F6001000A */ IL_0289: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
  307. /* 0x00004E3A 2D33 */ IL_028E: brtrue.s IL_02C3
  308.  
  309. /* 0x00004E3C 1104 */ IL_0290: ldloc.s V_4
  310. /* 0x00004E3E 6F5F01000A */ IL_0292: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  311. /* 0x00004E43 D079000001 */ IL_0297: ldtoken [mscorlib]System.Int32
  312. /* 0x00004E48 28D500000A */ IL_029C: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
  313. /* 0x00004E4D 6F6001000A */ IL_02A1: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
  314. /* 0x00004E52 2D1B */ IL_02A6: brtrue.s IL_02C3
  315.  
  316. /* 0x00004E54 1104 */ IL_02A8: ldloc.s V_4
  317. /* 0x00004E56 6F5F01000A */ IL_02AA: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  318. /* 0x00004E5B D071000001 */ IL_02AF: ldtoken [mscorlib]System.Boolean
  319. /* 0x00004E60 28D500000A */ IL_02B4: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
  320. /* 0x00004E65 6F6001000A */ IL_02B9: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
  321. /* 0x00004E6A 16 */ IL_02BE: ldc.i4.0
  322. /* 0x00004E6B FE01 */ IL_02BF: ceq
  323. /* 0x00004E6D 2B01 */ IL_02C1: br.s IL_02C4
  324.  
  325. /* 0x00004E6F 16 */ IL_02C3: ldc.i4.0
  326.  
  327. /* 0x00004E70 130E */ IL_02C4: stloc.s V_14
  328. /* 0x00004E72 110E */ IL_02C6: ldloc.s V_14
  329. /* 0x00004E74 2C05 */ IL_02C8: brfalse.s IL_02CF
  330.  
  331. /* 0x00004E76 00 */ IL_02CA: nop
  332. /* 0x00004E77 16 */ IL_02CB: ldc.i4.0
  333. /* 0x00004E78 1305 */ IL_02CC: stloc.s V_5
  334. /* 0x00004E7A 00 */ IL_02CE: nop
  335.  
  336. /* 0x00004E7B 1105 */ IL_02CF: ldloc.s V_5
  337. /* 0x00004E7D 130F */ IL_02D1: stloc.s V_15
  338. /* 0x00004E7F 110F */ IL_02D3: ldloc.s V_15
  339. /* 0x00004E81 3999000000 */ IL_02D5: brfalse IL_0373
  340.  
  341. /* 0x00004E86 00 */ IL_02DA: nop
  342. /* 0x00004E87 1104 */ IL_02DB: ldloc.s V_4
  343. /* 0x00004E89 6FFB00000A */ IL_02DD: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
  344. /* 0x00004E8E 1310 */ IL_02E2: stloc.s V_16
  345. /* 0x00004E90 1104 */ IL_02E4: ldloc.s V_4
  346. /* 0x00004E92 6FFB00000A */ IL_02E6: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
  347. /* 0x00004E97 722F2F0070 */ IL_02EB: ldstr "<"
  348. /* 0x00004E9C 6F7200000A */ IL_02F0: callvirt instance bool [mscorlib]System.String::Contains(string)
  349. /* 0x00004EA1 1311 */ IL_02F5: stloc.s V_17
  350. /* 0x00004EA3 1111 */ IL_02F7: ldloc.s V_17
  351. /* 0x00004EA5 2C36 */ IL_02F9: brfalse.s IL_0331
  352.  
  353. /* 0x00004EA7 00 */ IL_02FB: nop
  354. /* 0x00004EA8 1104 */ IL_02FC: ldloc.s V_4
  355. /* 0x00004EAA 6FFB00000A */ IL_02FE: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
  356. /* 0x00004EAF 1104 */ IL_0303: ldloc.s V_4
  357. /* 0x00004EB1 6FFB00000A */ IL_0305: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
  358. /* 0x00004EB6 722F2F0070 */ IL_030A: ldstr "<"
  359. /* 0x00004EBB 6F9600000A */ IL_030F: callvirt instance int32 [mscorlib]System.String::IndexOf(string)
  360. /* 0x00004EC0 17 */ IL_0314: ldc.i4.1
  361. /* 0x00004EC1 58 */ IL_0315: add
  362. /* 0x00004EC2 1104 */ IL_0316: ldloc.s V_4
  363. /* 0x00004EC4 6FFB00000A */ IL_0318: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
  364. /* 0x00004EC9 72332F0070 */ IL_031D: ldstr ">"
  365. /* 0x00004ECE 6F6201000A */ IL_0322: callvirt instance int32 [mscorlib]System.String::LastIndexOf(string)
  366. /* 0x00004ED3 17 */ IL_0327: ldc.i4.1
  367. /* 0x00004ED4 59 */ IL_0328: sub
  368. /* 0x00004ED5 6F6301000A */ IL_0329: callvirt instance string [mscorlib]System.String::Substring(int32, int32)
  369. /* 0x00004EDA 1310 */ IL_032E: stloc.s V_16
  370. /* 0x00004EDC 00 */ IL_0330: nop
  371.  
  372. /* 0x00004EDD 1C */ IL_0331: ldc.i4.6
  373. /* 0x00004EDE 8D39000001 */ IL_0332: newarr [mscorlib]System.Object
  374. /* 0x00004EE3 25 */ IL_0337: dup
  375. /* 0x00004EE4 16 */ IL_0338: ldc.i4.0
  376. /* 0x00004EE5 72372F0070 */ IL_0339: ldstr "ATTEMPTING TO SHOW FIELD: "
  377. /* 0x00004EEA A2 */ IL_033E: stelem.ref
  378. /* 0x00004EEB 25 */ IL_033F: dup
  379. /* 0x00004EEC 17 */ IL_0340: ldc.i4.1
  380. /* 0x00004EED 1110 */ IL_0341: ldloc.s V_16
  381. /* 0x00004EEF A2 */ IL_0343: stelem.ref
  382. /* 0x00004EF0 25 */ IL_0344: dup
  383. /* 0x00004EF1 18 */ IL_0345: ldc.i4.2
  384. /* 0x00004EF2 726D2F0070 */ IL_0346: ldstr " WITH TYPE: "
  385. /* 0x00004EF7 A2 */ IL_034B: stelem.ref
  386. /* 0x00004EF8 25 */ IL_034C: dup
  387. /* 0x00004EF9 19 */ IL_034D: ldc.i4.3
  388. /* 0x00004EFA 1104 */ IL_034E: ldloc.s V_4
  389. /* 0x00004EFC 6F5F01000A */ IL_0350: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
  390. /* 0x00004F01 A2 */ IL_0355: stelem.ref
  391. /* 0x00004F02 25 */ IL_0356: dup
  392. /* 0x00004F03 1A */ IL_0357: ldc.i4.4
  393. /* 0x00004F04 72872F0070 */ IL_0358: ldstr " IN MOD: "
  394. /* 0x00004F09 A2 */ IL_035D: stelem.ref
  395. /* 0x00004F0A 25 */ IL_035E: dup
  396. /* 0x00004F0B 1B */ IL_035F: ldc.i4.5
  397. /* 0x00004F0C 07 */ IL_0360: ldloc.1
  398. /* 0x00004F0D 7B0C000004 */ IL_0361: ldfld string DustDevilFramework.ScadMod::name
  399. /* 0x00004F12 A2 */ IL_0366: stelem.ref
  400. /* 0x00004F13 284B00000A */ IL_0367: call string [mscorlib]System.String::Concat(object[])
  401. /* 0x00004F18 28B200000A */ IL_036C: call void [UnityEngine]UnityEngine.Debug::Log(object)
  402. /* 0x00004F1D 00 */ IL_0371: nop
  403. /* 0x00004F1E 00 */ IL_0372: nop
  404.  
  405. /* 0x00004F1F 00 */ IL_0373: nop
  406. /* 0x00004F20 09 */ IL_0374: ldloc.3
  407. /* 0x00004F21 17 */ IL_0375: ldc.i4.1
  408. /* 0x00004F22 58 */ IL_0376: add
  409. /* 0x00004F23 0D */ IL_0377: stloc.3
  410.  
  411. /* 0x00004F24 09 */ IL_0378: ldloc.3
  412. /* 0x00004F25 08 */ IL_0379: ldloc.2
  413. /* 0x00004F26 8E */ IL_037A: ldlen
  414. /* 0x00004F27 69 */ IL_037B: conv.i4
  415. /* 0x00004F28 3F1AFDFFFF */ IL_037C: blt IL_009B
  416. // end loop
  417.  
  418. /* 0x00004F2D 729B2F0070 */ IL_0381: ldstr "=========================================="
  419. /* 0x00004F32 28B200000A */ IL_0386: call void [UnityEngine]UnityEngine.Debug::Log(object)
  420. /* 0x00004F37 00 */ IL_038B: nop
  421. /* 0x00004F38 00 */ IL_038C: nop
  422.  
  423. /* 0x00004F39 1200 */ IL_038D: ldloca.s V_0
  424. /* 0x00004F3B 28C000000A */ IL_038F: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class DustDevilFramework.ScadMod>::MoveNext()
  425. /* 0x00004F40 3A84FCFFFF */ IL_0394: brtrue IL_001D
  426. // end loop
  427.  
  428. /* 0x00004F45 DE0F */ IL_0399: leave.s IL_03AA
  429. } // end .try
  430. finally
  431. {
  432. /* 0x00004F47 1200 */ IL_039B: ldloca.s V_0
  433. /* 0x00004F49 FE161D00001B */ IL_039D: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class DustDevilFramework.ScadMod>
  434. /* 0x00004F4F 6F1200000A */ IL_03A3: callvirt instance void [mscorlib]System.IDisposable::Dispose()
  435. /* 0x00004F54 00 */ IL_03A8: nop
  436. /* 0x00004F55 DC */ IL_03A9: endfinally
  437. } // end handler
  438.  
  439. /* 0x00004F56 2A */ IL_03AA: ret
  440. } // end of method ClickHandler::ShowModSettingsMenu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement