ilasm /DLL < /.cil>
string[] strArray = new string[7];
int index1 = 0;
string str2 = "You were shot in the ";
strArray[index1] = str2;
int index2 = 1;
string str3 = str1;
strArray[index2] = str3;
int index3 = 2;
string str4 = " with the ";
strArray[index3] = str4;
int index4 = 3;
string name = ItemName.getName(this.GetComponent().\u0014);
strArray[index4] = name;
int index5 = 4;
string str5 = " by ";
strArray[index5] = str5;
int index6 = 5;
string str6 = this.GetComponent().\u0841.\u0887;
strArray[index6] = str6;
int index7 = 6;
string str7 = "!";
strArray[index7] = str7;
string str8 = string.Concat(strArray);
component.damage(num2, str8);
, " DEAD ( 2)".
, shootPlayer():
NetworkTools.kick(this.networkView.owner, "Kicking " + this.name + " for cheating their ammo.");
cil:
IL_002f: ldstr "Kicking "
IL_0034: ldarg.0
IL_0035: call instance string [UnityEngine]UnityEngine.Object::get_name()
IL_003a: ldstr " for cheating their ammo."
IL_003f: call string [mscorlib]System.String::Concat(string,
string,
string)
IL_0044: call void NetworkTools::kick(valuetype [UnityEngine]UnityEngine.NetworkPlayer,
string)
.
cil "connceted."", :
call void NetworkChat::sendAlert(string)
Life::damage() CIL.
die :
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
ilasm, , , , .... 3 , 1- 2 .
damage() 1.
:
ldarg.1 // 1 ( )
ldc.i4.s 1 // 1
ble.s IL_0061 // IL_0061
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
IL_0061:
CIL .
string name = ItemName.getName(this.GetComponent().\u0014);
strArray[index4] = name;
int index5 = 4;
string str5 = " by ";
strArray[index5] = str5;
int index6 = 5;
string str6 = this.GetComponent().\u0841.\u0887;
strArray[index6] = str6;
int index7 = 6;
string str7 = "!";
strArray[index7] = str7;
string str8 = string.Concat(strArray);
component.damage(num2, str8);
, " DEAD ( 2)".
, shootPlayer():
NetworkTools.kick(this.networkView.owner, "Kicking " + this.name + " for cheating their ammo.");
cil:
IL_002f: ldstr "Kicking "
IL_0034: ldarg.0
IL_0035: call instance string [UnityEngine]UnityEngine.Object::get_name()
IL_003a: ldstr " for cheating their ammo."
IL_003f: call string [mscorlib]System.String::Concat(string,
string,
string)
IL_0044: call void NetworkTools::kick(valuetype [UnityEngine]UnityEngine.NetworkPlayer,
string)
.
cil "connceted."", :
call void NetworkChat::sendAlert(string)
Life::damage() CIL.
die :
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
ilasm, , , , .... 3 , 1- 2 .
damage() 1.
:
ldarg.1 // 1 ( )
ldc.i4.s 1 // 1
ble.s IL_0061 // IL_0061
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
IL_0061:
CIL .
string name = ItemName.getName(this.GetComponent().\u0014);
strArray[index4] = name;
int index5 = 4;
string str5 = " by ";
strArray[index5] = str5;
int index6 = 5;
string str6 = this.GetComponent().\u0841.\u0887;
strArray[index6] = str6;
int index7 = 6;
string str7 = "!";
strArray[index7] = str7;
string str8 = string.Concat(strArray);
component.damage(num2, str8);
, " DEAD ( 2)".
, shootPlayer():
NetworkTools.kick(this.networkView.owner, "Kicking " + this.name + " for cheating their ammo.");
cil:
IL_002f: ldstr "Kicking "
IL_0034: ldarg.0
IL_0035: call instance string [UnityEngine]UnityEngine.Object::get_name()
IL_003a: ldstr " for cheating their ammo."
IL_003f: call string [mscorlib]System.String::Concat(string,
string,
string)
IL_0044: call void NetworkTools::kick(valuetype [UnityEngine]UnityEngine.NetworkPlayer,
string)
.
cil "connceted."", :
call void NetworkChat::sendAlert(string)
Life::damage() CIL.
die :
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
ilasm, , , , .... 3 , 1- 2 .
damage() 1.
:
ldarg.1 // 1 ( )
ldc.i4.s 1 // 1
ble.s IL_0061 // IL_0061
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
IL_0061:
CIL .
string name = ItemName.getName(this.GetComponent().\u0014);
strArray[index4] = name;
int index5 = 4;
string str5 = " by ";
strArray[index5] = str5;
int index6 = 5;
string str6 = this.GetComponent().\u0841.\u0887;
strArray[index6] = str6;
int index7 = 6;
string str7 = "!";
strArray[index7] = str7;
string str8 = string.Concat(strArray);
component.damage(num2, str8);
, " DEAD ( 2)".
, shootPlayer():
NetworkTools.kick(this.networkView.owner, "Kicking " + this.name + " for cheating their ammo.");
cil:
IL_002f: ldstr "Kicking "
IL_0034: ldarg.0
IL_0035: call instance string [UnityEngine]UnityEngine.Object::get_name()
IL_003a: ldstr " for cheating their ammo."
IL_003f: call string [mscorlib]System.String::Concat(string,
string,
string)
IL_0044: call void NetworkTools::kick(valuetype [UnityEngine]UnityEngine.NetworkPlayer,
string)
.
cil "connceted."", :
call void NetworkChat::sendAlert(string)
Life::damage() CIL.
die :
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
ilasm, , , , .... 3 , 1- 2 .
damage() 1.
:
ldarg.1 // 1 ( )
ldc.i4.s 1 // 1
ble.s IL_0061 // IL_0061
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
IL_0061:
CIL .
string name = ItemName.getName(this.GetComponent().\u0014);
strArray[index4] = name;
int index5 = 4;
string str5 = " by ";
strArray[index5] = str5;
int index6 = 5;
string str6 = this.GetComponent().\u0841.\u0887;
strArray[index6] = str6;
int index7 = 6;
string str7 = "!";
strArray[index7] = str7;
string str8 = string.Concat(strArray);
component.damage(num2, str8);
, " DEAD ( 2)".
, shootPlayer():
NetworkTools.kick(this.networkView.owner, "Kicking " + this.name + " for cheating their ammo.");
cil:
IL_002f: ldstr "Kicking "
IL_0034: ldarg.0
IL_0035: call instance string [UnityEngine]UnityEngine.Object::get_name()
IL_003a: ldstr " for cheating their ammo."
IL_003f: call string [mscorlib]System.String::Concat(string,
string,
string)
IL_0044: call void NetworkTools::kick(valuetype [UnityEngine]UnityEngine.NetworkPlayer,
string)
.
cil "connceted."", :
call void NetworkChat::sendAlert(string)
Life::damage() CIL.
die :
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
ilasm, , , , .... 3 , 1- 2 .
damage() 1.
:
ldarg.1 // 1 ( )
ldc.i4.s 1 // 1
ble.s IL_0061 // IL_0061
ldarg.0 // 0
call instance string [UnityEngine]UnityEngine.Object::get_name() // ( )
ldstr " DEAD (" //
ldarg.2 // 2 ( )
ldstr ")" //
call string [mscorlib]System.String::Concat(string, //
string,
string,
string)
call void NetworkChat::sendAlert(string) //
IL_0061:
CIL .
Source: https://habr.com/ru/post/234101/
All Articles