Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Harmony id=rimworld.aelanna.arimreborn.core, version=2.2.2.0, location=D:\SteamLibrary\steamapps\common\data-000002DAA1B43DD0, env/clr=4.0.30319.42000, platform=Win32NT, ptrsize:runtime/env=8/Bits64, Windows
- ### Started from static System.Void ARimReborn.HarmonyPatches::.cctor(), location D:\SteamLibrary\steamapps\common\data-000002DAA1CAC820
- ### At 2023-12-03 12.43.46
- ### Patch: virtual System.Void Verse.UIRoot_Entry::Init()
- ### Replacement: static System.Void Verse.UIRoot_Entry::Verse.UIRoot_Entry.Init_Patch1(Verse.UIRoot_Entry this)
- IL_0000: Local var 0: Verse.Dialog_MessageBox
- IL_0000: // start original
- IL_0000: ldarg.0
- IL_0001: call virtual System.Void Verse.UIRoot::Init()
- IL_0006: newobj System.Void RimWorld.UI_BackgroundMain::.ctor()
- IL_000B: stsfld Verse.UIMenuBackground Verse.UIMenuBackgroundManager::background
- IL_0010: call static System.Void RimWorld.MainMenuDrawer::Init()
- IL_0015: call static System.Boolean Verse.QuickStarter::CheckQuickStart()
- IL_001A: pop
- IL_001B: call static System.Void RimWorld.VersionUpdateDialogMaker::CreateVersionUpdateDialogIfNecessary()
- IL_0020: call static System.Boolean Verse.Steam.SteamManager::get_Initialized()
- IL_0025: brtrue => Label0
- IL_002A: ldstr "SteamClientMissing"
- IL_002F: call static Verse.TaggedString Verse.Translator::Translate(System.String key)
- IL_0034: call static System.String Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
- IL_0039: call static Verse.TaggedString Verse.TaggedString::op_Implicit(System.String str)
- IL_003E: ldstr "Quit"
- IL_0043: call static Verse.TaggedString Verse.Translator::Translate(System.String key)
- IL_0048: call static System.String Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
- IL_004D: ldsfld System.Action Verse.<>c::<>9__2_0
- IL_0052: dup
- IL_0053: brtrue => Label1
- IL_0058: pop
- IL_0059: ldsfld Verse.<>c Verse.<>c::<>9
- IL_005E: ldftn System.Void Verse.<>c::<Init>b__2_0()
- IL_0064: newobj System.Void System.Action::.ctor(System.Object object, System.IntPtr method)
- IL_0069: dup
- IL_006A: stsfld System.Action Verse.<>c::<>9__2_0
- IL_006F: Label1
- IL_006F: ldstr "Ignore"
- IL_0074: call static Verse.TaggedString Verse.Translator::Translate(System.String key)
- IL_0079: call static System.String Verse.TaggedString::op_Implicit(Verse.TaggedString taggedString)
- IL_007E: ldnull
- IL_007F: ldnull
- IL_0080: ldc.i4.0
- IL_0081: ldnull
- IL_0082: ldnull
- IL_0083: ldc.i4.1
- IL_0084: newobj System.Void Verse.Dialog_MessageBox::.ctor(Verse.TaggedString text, System.String buttonAText, System.Action buttonAAction, System.String buttonBText, System.Action buttonBAction, System.String title, System.Boolean buttonADestructive, System.Action acceptAction, System.Action cancelAction, Verse.WindowLayer layer)
- IL_0089: stloc.0
- IL_008A: call static Verse.WindowStack Verse.Find::get_WindowStack()
- IL_008F: ldloc.0
- IL_0090: callvirt System.Void Verse.WindowStack::Add(Verse.Window window)
- IL_0095: // end original
- IL_0095: Label0
- IL_0095: call static System.Void ARimReborn.HarmonyPatches::UIRootEntryInit_Prefix()
- IL_009A: ret
- DONE
- ### Patch: System.Void RimWorld.CompIngredients::RegisterIngredient(Verse.ThingDef def)
- ### Replacement: static System.Void RimWorld.CompIngredients::RimWorld.CompIngredients.RegisterIngredient_Patch1(RimWorld.CompIngredients this, Verse.ThingDef def)
- IL_0000: Local var 0: System.Boolean
- IL_0000: ldc.i4 0
- IL_0005: stloc 0 (System.Boolean)
- IL_0009: ldc.i4.1
- IL_000A: stloc 0 (System.Boolean)
- IL_000E: ldloc 0 (System.Boolean)
- IL_0012: brfalse => Label1
- IL_0017: ldarg 1
- IL_001B: call static System.Boolean ARimReborn.HarmonyPatches::CompIngredientsRegisterIngredient_Prefix(Verse.ThingDef def)
- IL_0020: stloc 0 (System.Boolean)
- IL_0024: Label1
- IL_0024: nop
- IL_0025: ldloc 0 (System.Boolean)
- IL_0029: brfalse => Label0
- IL_002E: // start original
- IL_002E: ldarg.0
- IL_002F: ldfld System.Collections.Generic.List`1<Verse.ThingDef> RimWorld.CompIngredients::ingredients
- IL_0034: ldarg.1
- IL_0035: callvirt virtual System.Boolean System.Collections.Generic.List`1<Verse.ThingDef>::Contains(Verse.ThingDef item)
- IL_003A: brtrue => Label2
- IL_003F: ldarg.0
- IL_0040: ldfld System.Collections.Generic.List`1<Verse.ThingDef> RimWorld.CompIngredients::ingredients
- IL_0045: ldarg.1
- IL_0046: callvirt virtual System.Void System.Collections.Generic.List`1<Verse.ThingDef>::Add(Verse.ThingDef item)
- IL_004B: ldarg.0
- IL_004C: ldnull
- IL_004D: stfld System.Collections.Generic.List`1<System.String> RimWorld.CompIngredients::cachedMergeCompatibilityTags
- IL_0052: // end original
- IL_0052: Label2
- IL_0052: Label0
- IL_0052: ret
- DONE
- ### Patch: virtual System.Void RimWorld.WeatherEvent_LightningStrike::FireEvent()
- ### Replacement: static System.Void RimWorld.WeatherEvent_LightningStrike::RimWorld.WeatherEvent_LightningStrike.FireEvent_Patch1(RimWorld.WeatherEvent_LightningStrike this)
- IL_0000: Local var 0: System.Boolean
- IL_0000: ldc.i4 0
- IL_0005: stloc 0 (System.Boolean)
- IL_0009: ldc.i4.1
- IL_000A: stloc 0 (System.Boolean)
- IL_000E: ldloc 0 (System.Boolean)
- IL_0012: brfalse => Label1
- IL_0017: ldarg.0
- IL_0018: ldfld Verse.Map Verse.WeatherEvent::map
- IL_001D: ldarg.0
- IL_001E: ldflda Verse.IntVec3 RimWorld.WeatherEvent_LightningStrike::strikeLoc
- IL_0023: ldarg.0
- IL_0024: ldflda UnityEngine.Mesh RimWorld.WeatherEvent_LightningStrike::boltMesh
- IL_0029: call static System.Boolean ARimReborn.HarmonyPatches::WeatherEventLightningStrikeFireEvent_Prefix(Verse.Map ___map, Verse.IntVec3& ___strikeLoc, UnityEngine.Mesh& ___boltMesh)
- IL_002E: stloc 0 (System.Boolean)
- IL_0032: Label1
- IL_0032: nop
- IL_0033: ldloc 0 (System.Boolean)
- IL_0037: brfalse => Label0
- IL_003C: // start original
- IL_003C: ldarg.0
- IL_003D: ldfld Verse.IntVec3 RimWorld.WeatherEvent_LightningStrike::strikeLoc
- IL_0042: ldarg.0
- IL_0043: ldfld Verse.Map Verse.WeatherEvent::map
- IL_0048: ldarg.0
- IL_0049: ldflda UnityEngine.Mesh RimWorld.WeatherEvent_LightningStrike::boltMesh
- IL_004E: call static System.Void RimWorld.WeatherEvent_LightningStrike::DoStrike(Verse.IntVec3 strikeLoc, Verse.Map map, UnityEngine.Mesh& boltMesh)
- IL_0053: // end original
- IL_0053: Label0
- IL_0053: ret
- DONE
- ### Patch: System.Single Verse.VerbProperties::AdjustedMeleeDamageAmount(Verse.Tool tool, Verse.Pawn attacker, Verse.Thing equipment, Verse.HediffComp_VerbGiver hediffCompSource)
- ### Replacement: static System.Single Verse.VerbProperties::Verse.VerbProperties.AdjustedMeleeDamageAmount_Patch1(Verse.VerbProperties this, Verse.Tool tool, Verse.Pawn attacker, Verse.Thing equipment, Verse.HediffComp_VerbGiver hediffCompSource)
- IL_0000: Local var 0: System.Single
- IL_0000: Local var 1: System.Single
- IL_0000: ldc.r4 0
- IL_0005: stloc 1 (System.Single)
- IL_0009: // start original
- IL_0009: ldarg.0
- IL_000A: call System.Boolean Verse.VerbProperties::get_IsMeleeAttack()
- IL_000F: brtrue => Label0
- IL_0014: ldstr "Attempting to get melee damage for a non-melee verb {0}"
- IL_0019: ldarg.0
- IL_001A: call static System.String System.String::Format(System.String format, System.Object arg0)
- IL_001F: ldc.i4 26181238
- IL_0024: call static System.Void Verse.Log::ErrorOnce(System.String text, System.Int32 key)
- IL_0029: Label0
- IL_0029: ldarg.1
- IL_002A: brfalse => Label1
- IL_002F: ldarg.1
- IL_0030: ldarg.3
- IL_0031: ldarg.0
- IL_0032: ldfld Verse.DamageDef Verse.VerbProperties::meleeDamageDef
- IL_0037: callvirt System.Single Verse.Tool::AdjustedBaseMeleeDamageAmount(Verse.Thing ownerEquipment, Verse.DamageDef damageDef)
- IL_003C: stloc.0
- IL_003D: br => Label2
- IL_0042: Label1
- IL_0042: ldarg.0
- IL_0043: ldfld System.Int32 Verse.VerbProperties::meleeDamageBaseAmount
- IL_0048: conv.r4
- IL_0049: stloc.0
- IL_004A: Label2
- IL_004A: ldarg.2
- IL_004B: brfalse => Label3
- IL_0050: ldloc.0
- IL_0051: ldarg.0
- IL_0052: ldarg.1
- IL_0053: ldarg.2
- IL_0054: ldarg.s 4
- IL_0056: call System.Single Verse.VerbProperties::GetDamageFactorFor(Verse.Tool tool, Verse.Pawn attacker, Verse.HediffComp_VerbGiver hediffCompSource)
- IL_005B: mul
- IL_005C: stloc.0
- IL_005D: Label3
- IL_005D: ldloc.0
- IL_005E: // end original
- IL_005E: stloc 1 (System.Single)
- IL_0062: ldarg 2
- IL_0066: ldarg 3
- IL_006A: ldloca 1 (System.Single)
- IL_006E: call static System.Void ARimReborn.HarmonyPatches::VerbPropertiesAdjustedMeleeDamageAmount_Postfix(Verse.Pawn attacker, Verse.Thing equipment, System.Single& __result)
- IL_0073: ldloc 1 (System.Single)
- IL_0077: ret
- DONE
- ### Patch: System.Single Verse.VerbProperties::AdjustedArmorPenetration(Verse.Tool tool, Verse.Pawn attacker, Verse.Thing equipment, Verse.HediffComp_VerbGiver hediffCompSource)
- ### Replacement: static System.Single Verse.VerbProperties::Verse.VerbProperties.AdjustedArmorPenetration_Patch1(Verse.VerbProperties this, Verse.Tool tool, Verse.Pawn attacker, Verse.Thing equipment, Verse.HediffComp_VerbGiver hediffCompSource)
- IL_0000: Local var 0: System.Single
- IL_0000: Local var 1: System.Single
- IL_0000: Local var 2: System.Single
- IL_0000: ldc.r4 0
- IL_0005: stloc 2 (System.Single)
- IL_0009: // start original
- IL_0009: ldarg.1
- IL_000A: brfalse => Label0
- IL_000F: ldarg.1
- IL_0010: ldfld System.Single Verse.Tool::armorPenetration
- IL_0015: stloc.0
- IL_0016: br => Label1
- IL_001B: Label0
- IL_001B: ldarg.0
- IL_001C: ldfld System.Single Verse.VerbProperties::meleeArmorPenetrationBase
- IL_0021: stloc.0
- IL_0022: Label1
- IL_0022: ldloc.0
- IL_0023: ldc.r4 0
- IL_0028: bge.un => Label2
- IL_002D: ldarg.0
- IL_002E: ldarg.1
- IL_002F: ldarg.2
- IL_0030: ldarg.3
- IL_0031: ldarg.s 4
- IL_0033: call System.Single Verse.VerbProperties::AdjustedMeleeDamageAmount(Verse.Tool tool, Verse.Pawn attacker, Verse.Thing equipment, Verse.HediffComp_VerbGiver hediffCompSource)
- IL_0038: ldc.r4 0.015
- IL_003D: mul
- IL_003E: stloc.0
- IL_003F: br => Label3
- IL_0044: Label2
- IL_0044: ldarg.3
- IL_0045: brfalse => Label4
- IL_004A: ldarg.3
- IL_004B: ldsfld RimWorld.StatDef RimWorld.StatDefOf::MeleeWeapon_DamageMultiplier
- IL_0050: ldc.i4.1
- IL_0051: ldc.i4.m1
- IL_0052: call static System.Single RimWorld.StatExtension::GetStatValue(Verse.Thing thing, RimWorld.StatDef stat, System.Boolean applyPostProcess, System.Int32 cacheStaleAfterTicks)
- IL_0057: stloc.1
- IL_0058: ldloc.0
- IL_0059: ldloc.1
- IL_005A: mul
- IL_005B: stloc.0
- IL_005C: Label3
- IL_005C: Label4
- IL_005C: ldloc.0
- IL_005D: // end original
- IL_005D: stloc 2 (System.Single)
- IL_0061: ldarg 2
- IL_0065: ldarg 3
- IL_0069: ldloca 2 (System.Single)
- IL_006D: call static System.Void ARimReborn.HarmonyPatches::VerbPropertiesAdjustedArmorPenetration_Postfix(Verse.Pawn attacker, Verse.Thing equipment, System.Single& __result)
- IL_0072: ldloc 2 (System.Single)
- IL_0076: ret
- DONE
- ### Patch: static Verse.Name RimWorld.PawnBioAndNameGenerator::NameResolvedFrom(Verse.RulePackDef nameMaker, System.String forcedLastName, System.Boolean forceNoNick)
- ### Replacement: static Verse.Name RimWorld.PawnBioAndNameGenerator::RimWorld.PawnBioAndNameGenerator.NameResolvedFrom_Patch1(Verse.RulePackDef nameMaker, System.String forcedLastName, System.Boolean forceNoNick)
- IL_0000: Local var 0: Verse.Name
- IL_0000: Local var 1: System.Boolean
- IL_0000: ldnull
- IL_0001: stloc 0 (Verse.Name)
- IL_0005: ldc.i4 0
- IL_000A: stloc 1 (System.Boolean)
- IL_000E: ldc.i4.1
- IL_000F: stloc 1 (System.Boolean)
- IL_0013: ldloc 1 (System.Boolean)
- IL_0017: brfalse => Label1
- IL_001C: ldarg 0
- IL_0020: ldarga 1
- IL_0024: call static System.Void ARimReborn.HarmonyPatches::PawnBioAndNameGeneratorNameResolvedFrom_Prefix(Verse.RulePackDef nameMaker, System.String& forcedLastName)
- IL_0029: Label1
- IL_0029: nop
- IL_002A: ldloc 1 (System.Boolean)
- IL_002E: brfalse => Label0
- IL_0033: // start original
- IL_0033: ldarg.0
- IL_0034: ldsfld System.Predicate`1<System.String> RimWorld.<>c::<>9__24_0
- IL_0039: dup
- IL_003A: brtrue => Label2
- IL_003F: pop
- IL_0040: ldsfld RimWorld.<>c RimWorld.<>c::<>9
- IL_0045: ldftn System.Boolean RimWorld.<>c::<NameResolvedFrom>b__24_0(System.String x)
- IL_004B: newobj System.Void System.Predicate`1<System.String>::.ctor(System.Object object, System.IntPtr method)
- IL_0050: dup
- IL_0051: stsfld System.Predicate`1<System.String> RimWorld.<>c::<>9__24_0
- IL_0056: Label2
- IL_0056: ldc.i4.0
- IL_0057: ldnull
- IL_0058: ldnull
- IL_0059: call static System.String RimWorld.NameGenerator::GenerateName(Verse.RulePackDef rootPack, System.Predicate`1<System.String> validator, System.Boolean appendNumberIfNameUsed, System.String rootKeyword, System.String testPawnNameSymbol)
- IL_005E: ldarg.2
- IL_005F: call static Verse.NameTriple Verse.NameTriple::FromString(System.String rawName, System.Boolean forceNoNick)
- IL_0064: // end original
- IL_0064: stloc 0 (Verse.Name)
- IL_0068: Label0
- IL_0068: ldloc 0 (Verse.Name)
- IL_006C: ret
- DONE
- ### Patch: static Verse.Name RimWorld.PawnBioAndNameGenerator::NameResolvedFrom(Verse.RulePackDef nameMaker, System.String forcedLastName, System.Boolean forceNoNick)
- ### Replacement: static Verse.Name RimWorld.PawnBioAndNameGenerator::RimWorld.PawnBioAndNameGenerator.NameResolvedFrom_Patch2(Verse.RulePackDef nameMaker, System.String forcedLastName, System.Boolean forceNoNick)
- IL_0000: Local var 0: Verse.Name
- IL_0000: Local var 1: System.Boolean
- IL_0000: ldnull
- IL_0001: stloc 0 (Verse.Name)
- IL_0005: ldc.i4 0
- IL_000A: stloc 1 (System.Boolean)
- IL_000E: ldc.i4.1
- IL_000F: stloc 1 (System.Boolean)
- IL_0013: ldloc 1 (System.Boolean)
- IL_0017: brfalse => Label1
- IL_001C: ldarg 0
- IL_0020: ldarga 1
- IL_0024: call static System.Void ARimReborn.HarmonyPatches::PawnBioAndNameGeneratorNameResolvedFrom_Prefix(Verse.RulePackDef nameMaker, System.String& forcedLastName)
- IL_0029: Label1
- IL_0029: nop
- IL_002A: ldloc 1 (System.Boolean)
- IL_002E: brfalse => Label0
- IL_0033: // start original
- IL_0033: ldarg.0
- IL_0034: ldsfld System.Predicate`1<System.String> RimWorld.<>c::<>9__24_0
- IL_0039: dup
- IL_003A: brtrue => Label2
- IL_003F: pop
- IL_0040: ldsfld RimWorld.<>c RimWorld.<>c::<>9
- IL_0045: ldftn System.Boolean RimWorld.<>c::<NameResolvedFrom>b__24_0(System.String x)
- IL_004B: newobj System.Void System.Predicate`1<System.String>::.ctor(System.Object object, System.IntPtr method)
- IL_0050: dup
- IL_0051: stsfld System.Predicate`1<System.String> RimWorld.<>c::<>9__24_0
- IL_0056: Label2
- IL_0056: ldc.i4.0
- IL_0057: ldnull
- IL_0058: ldnull
- IL_0059: call static System.String RimWorld.NameGenerator::GenerateName(Verse.RulePackDef rootPack, System.Predicate`1<System.String> validator, System.Boolean appendNumberIfNameUsed, System.String rootKeyword, System.String testPawnNameSymbol)
- IL_005E: ldarg.2
- IL_005F: call static Verse.NameTriple Verse.NameTriple::FromString(System.String rawName, System.Boolean forceNoNick)
- IL_0064: // end original
- IL_0064: stloc 0 (Verse.Name)
- IL_0068: Label0
- IL_0068: ldarg 0
- IL_006C: ldloca 0 (Verse.Name)
- IL_0070: call static System.Void ARimReborn.HarmonyPatches::PawnBioAndNameGeneratorNameResolvedFrom_Postfix(Verse.RulePackDef nameMaker, Verse.Name& __result)
- IL_0075: ldloc 0 (Verse.Name)
- IL_0079: ret
- DONE
- ### Patch: virtual System.Void Verse.Pawn::ExposeData()
- ### Replacement: static System.Void Verse.Pawn::Verse.Pawn.ExposeData_Patch1(Verse.Pawn this)
- IL_0000: // start original
- IL_0000: ldarg.0
- IL_0001: call virtual System.Void Verse.ThingWithComps::ExposeData()
- IL_0006: ldarg.0
- IL_0007: ldflda Verse.PawnKindDef Verse.Pawn::kindDef
- IL_000C: ldstr "kindDef"
- IL_0011: call static System.Void Verse.Scribe_Defs::Look(Verse.PawnKindDef& value, System.String label)
- IL_0016: ldarg.0
- IL_0017: ldflda Verse.Gender Verse.Pawn::gender
- IL_001C: ldstr "gender"
- IL_0021: ldc.i4.1
- IL_0022: ldc.i4.0
- IL_0023: call static System.Void Verse.Scribe_Values::Look(Verse.Gender& value, System.String label, Verse.Gender defaultValue, System.Boolean forceSave)
- IL_0028: ldarg.0
- IL_0029: ldflda System.Int32 Verse.Pawn::becameWorldPawnTickAbs
- IL_002E: ldstr "becameWorldPawnTickAbs"
- IL_0033: ldc.i4.m1
- IL_0034: ldc.i4.0
- IL_0035: call static System.Void Verse.Scribe_Values::Look(System.Int32& value, System.String label, System.Int32 defaultValue, System.Boolean forceSave)
- IL_003A: ldarg.0
- IL_003B: ldflda System.Boolean Verse.Pawn::teleporting
- IL_0040: ldstr "teleporting"
- IL_0045: ldc.i4.0
- IL_0046: ldc.i4.0
- IL_0047: call static System.Void Verse.Scribe_Values::Look(System.Boolean& value, System.String label, System.Boolean defaultValue, System.Boolean forceSave)
- IL_004C: ldarg.0
- IL_004D: ldflda System.Int32 Verse.Pawn::showNamePromptOnTick
- IL_0052: ldstr "showNamePromptOnTick"
- IL_0057: ldc.i4.m1
- IL_0058: ldc.i4.0
- IL_0059: call static System.Void Verse.Scribe_Values::Look(System.Int32& value, System.String label, System.Int32 defaultValue, System.Boolean forceSave)
- IL_005E: ldarg.0
- IL_005F: ldflda System.Int32 Verse.Pawn::babyNamingDeadline
- IL_0064: ldstr "babyNamingDeadline"
- IL_0069: ldc.i4.m1
- IL_006A: ldc.i4.0
- IL_006B: call static System.Void Verse.Scribe_Values::Look(System.Int32& value, System.String label, System.Int32 defaultValue, System.Boolean forceSave)
- IL_0070: ldarg.0
- IL_0071: ldflda Verse.Name Verse.Pawn::nameInt
- IL_0076: ldstr "name"
- IL_007B: call static System.Object[] System.Array::Empty()
- IL_0080: call static System.Void Verse.Scribe_Deep::Look(Verse.Name& target, System.String label, System.Object[] ctorArgs)
- IL_0085: ldarg.0
- IL_0086: ldflda Verse.AI.Pawn_MindState Verse.Pawn::mindState
- IL_008B: ldstr "mindState"
- IL_0090: ldc.i4.1
- IL_0091: newarr System.Object
- IL_0096: dup
- IL_0097: ldc.i4.0
- IL_0098: ldarg.0
- IL_0099: stelem.ref
- IL_009A: call static System.Void Verse.Scribe_Deep::Look(Verse.AI.Pawn_MindState& target, System.String label, System.Object[] ctorArgs)
- IL_009F: ldarg.0
- IL_00A0: ldflda Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
- IL_00A5: ldstr "jobs"
- IL_00AA: ldc.i4.1
- IL_00AB: newarr System.Object
- IL_00B0: dup
- IL_00B1: ldc.i4.0
- IL_00B2: ldarg.0
- IL_00B3: stelem.ref
- IL_00B4: call static System.Void Verse.Scribe_Deep::Look(Verse.AI.Pawn_JobTracker& target, System.String label, System.Object[] ctorArgs)
- IL_00B9: ldarg.0
- IL_00BA: ldflda Verse.Pawn_StanceTracker Verse.Pawn::stances
- IL_00BF: ldstr "stances"
- IL_00C4: ldc.i4.1
- IL_00C5: newarr System.Object
- IL_00CA: dup
- IL_00CB: ldc.i4.0
- IL_00CC: ldarg.0
- IL_00CD: stelem.ref
- IL_00CE: call static System.Void Verse.Scribe_Deep::Look(Verse.Pawn_StanceTracker& target, System.String label, System.Object[] ctorArgs)
- IL_00D3: ldarg.0
- IL_00D4: ldflda Verse.VerbTracker Verse.Pawn::verbTracker
- IL_00D9: ldstr "verbTracker"
- IL_00DE: ldc.i4.1
- IL_00DF: newarr System.Object
- IL_00E4: dup
- IL_00E5: ldc.i4.0
- IL_00E6: ldarg.0
- IL_00E7: stelem.ref
- IL_00E8: call static System.Void Verse.Scribe_Deep::Look(Verse.VerbTracker& target, System.String label, System.Object[] ctorArgs)
- IL_00ED: ldarg.0
- IL_00EE: ldflda RimWorld.Pawn_NativeVerbs Verse.Pawn::natives
- IL_00F3: ldstr "natives"
- IL_00F8: ldc.i4.1
- IL_00F9: newarr System.Object
- IL_00FE: dup
- IL_00FF: ldc.i4.0
- IL_0100: ldarg.0
- IL_0101: stelem.ref
- IL_0102: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_NativeVerbs& target, System.String label, System.Object[] ctorArgs)
- IL_0107: ldarg.0
- IL_0108: ldflda RimWorld.Pawn_MeleeVerbs Verse.Pawn::meleeVerbs
- IL_010D: ldstr "meleeVerbs"
- IL_0112: ldc.i4.1
- IL_0113: newarr System.Object
- IL_0118: dup
- IL_0119: ldc.i4.0
- IL_011A: ldarg.0
- IL_011B: stelem.ref
- IL_011C: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_MeleeVerbs& target, System.String label, System.Object[] ctorArgs)
- IL_0121: ldarg.0
- IL_0122: ldflda Verse.Pawn_RotationTracker Verse.Pawn::rotationTracker
- IL_0127: ldstr "rotationTracker"
- IL_012C: ldc.i4.1
- IL_012D: newarr System.Object
- IL_0132: dup
- IL_0133: ldc.i4.0
- IL_0134: ldarg.0
- IL_0135: stelem.ref
- IL_0136: call static System.Void Verse.Scribe_Deep::Look(Verse.Pawn_RotationTracker& target, System.String label, System.Object[] ctorArgs)
- IL_013B: ldarg.0
- IL_013C: ldflda Verse.AI.Pawn_PathFollower Verse.Pawn::pather
- IL_0141: ldstr "pather"
- IL_0146: ldc.i4.1
- IL_0147: newarr System.Object
- IL_014C: dup
- IL_014D: ldc.i4.0
- IL_014E: ldarg.0
- IL_014F: stelem.ref
- IL_0150: call static System.Void Verse.Scribe_Deep::Look(Verse.AI.Pawn_PathFollower& target, System.String label, System.Object[] ctorArgs)
- IL_0155: ldarg.0
- IL_0156: ldflda Verse.Pawn_CarryTracker Verse.Pawn::carryTracker
- IL_015B: ldstr "carryTracker"
- IL_0160: ldc.i4.1
- IL_0161: newarr System.Object
- IL_0166: dup
- IL_0167: ldc.i4.0
- IL_0168: ldarg.0
- IL_0169: stelem.ref
- IL_016A: call static System.Void Verse.Scribe_Deep::Look(Verse.Pawn_CarryTracker& target, System.String label, System.Object[] ctorArgs)
- IL_016F: ldarg.0
- IL_0170: ldflda RimWorld.Pawn_ApparelTracker Verse.Pawn::apparel
- IL_0175: ldstr "apparel"
- IL_017A: ldc.i4.1
- IL_017B: newarr System.Object
- IL_0180: dup
- IL_0181: ldc.i4.0
- IL_0182: ldarg.0
- IL_0183: stelem.ref
- IL_0184: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_ApparelTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0189: ldarg.0
- IL_018A: ldflda RimWorld.Pawn_StoryTracker Verse.Pawn::story
- IL_018F: ldstr "story"
- IL_0194: ldc.i4.1
- IL_0195: newarr System.Object
- IL_019A: dup
- IL_019B: ldc.i4.0
- IL_019C: ldarg.0
- IL_019D: stelem.ref
- IL_019E: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_StoryTracker& target, System.String label, System.Object[] ctorArgs)
- IL_01A3: ldarg.0
- IL_01A4: ldflda Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
- IL_01A9: ldstr "equipment"
- IL_01AE: ldc.i4.1
- IL_01AF: newarr System.Object
- IL_01B4: dup
- IL_01B5: ldc.i4.0
- IL_01B6: ldarg.0
- IL_01B7: stelem.ref
- IL_01B8: call static System.Void Verse.Scribe_Deep::Look(Verse.Pawn_EquipmentTracker& target, System.String label, System.Object[] ctorArgs)
- IL_01BD: ldarg.0
- IL_01BE: ldflda RimWorld.Pawn_DraftController Verse.Pawn::drafter
- IL_01C3: ldstr "drafter"
- IL_01C8: ldc.i4.1
- IL_01C9: newarr System.Object
- IL_01CE: dup
- IL_01CF: ldc.i4.0
- IL_01D0: ldarg.0
- IL_01D1: stelem.ref
- IL_01D2: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_DraftController& target, System.String label, System.Object[] ctorArgs)
- IL_01D7: ldarg.0
- IL_01D8: ldflda Verse.Pawn_AgeTracker Verse.Pawn::ageTracker
- IL_01DD: ldstr "ageTracker"
- IL_01E2: ldc.i4.1
- IL_01E3: newarr System.Object
- IL_01E8: dup
- IL_01E9: ldc.i4.0
- IL_01EA: ldarg.0
- IL_01EB: stelem.ref
- IL_01EC: call static System.Void Verse.Scribe_Deep::Look(Verse.Pawn_AgeTracker& target, System.String label, System.Object[] ctorArgs)
- IL_01F1: ldarg.0
- IL_01F2: ldflda Verse.Pawn_HealthTracker Verse.Pawn::health
- IL_01F7: ldstr "healthTracker"
- IL_01FC: ldc.i4.1
- IL_01FD: newarr System.Object
- IL_0202: dup
- IL_0203: ldc.i4.0
- IL_0204: ldarg.0
- IL_0205: stelem.ref
- IL_0206: call static System.Void Verse.Scribe_Deep::Look(Verse.Pawn_HealthTracker& target, System.String label, System.Object[] ctorArgs)
- IL_020B: ldarg.0
- IL_020C: ldflda RimWorld.Pawn_RecordsTracker Verse.Pawn::records
- IL_0211: ldstr "records"
- IL_0216: ldc.i4.1
- IL_0217: newarr System.Object
- IL_021C: dup
- IL_021D: ldc.i4.0
- IL_021E: ldarg.0
- IL_021F: stelem.ref
- IL_0220: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_RecordsTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0225: ldarg.0
- IL_0226: ldflda Verse.Pawn_InventoryTracker Verse.Pawn::inventory
- IL_022B: ldstr "inventory"
- IL_0230: ldc.i4.1
- IL_0231: newarr System.Object
- IL_0236: dup
- IL_0237: ldc.i4.0
- IL_0238: ldarg.0
- IL_0239: stelem.ref
- IL_023A: call static System.Void Verse.Scribe_Deep::Look(Verse.Pawn_InventoryTracker& target, System.String label, System.Object[] ctorArgs)
- IL_023F: ldarg.0
- IL_0240: ldflda RimWorld.Pawn_FilthTracker Verse.Pawn::filth
- IL_0245: ldstr "filth"
- IL_024A: ldc.i4.1
- IL_024B: newarr System.Object
- IL_0250: dup
- IL_0251: ldc.i4.0
- IL_0252: ldarg.0
- IL_0253: stelem.ref
- IL_0254: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_FilthTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0259: ldarg.0
- IL_025A: ldflda RimWorld.Pawn_RopeTracker Verse.Pawn::roping
- IL_025F: ldstr "roping"
- IL_0264: ldc.i4.1
- IL_0265: newarr System.Object
- IL_026A: dup
- IL_026B: ldc.i4.0
- IL_026C: ldarg.0
- IL_026D: stelem.ref
- IL_026E: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_RopeTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0273: ldarg.0
- IL_0274: ldflda RimWorld.Pawn_NeedsTracker Verse.Pawn::needs
- IL_0279: ldstr "needs"
- IL_027E: ldc.i4.1
- IL_027F: newarr System.Object
- IL_0284: dup
- IL_0285: ldc.i4.0
- IL_0286: ldarg.0
- IL_0287: stelem.ref
- IL_0288: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_NeedsTracker& target, System.String label, System.Object[] ctorArgs)
- IL_028D: ldarg.0
- IL_028E: ldflda RimWorld.Pawn_GuestTracker Verse.Pawn::guest
- IL_0293: ldstr "guest"
- IL_0298: ldc.i4.1
- IL_0299: newarr System.Object
- IL_029E: dup
- IL_029F: ldc.i4.0
- IL_02A0: ldarg.0
- IL_02A1: stelem.ref
- IL_02A2: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_GuestTracker& target, System.String label, System.Object[] ctorArgs)
- IL_02A7: ldarg.0
- IL_02A8: ldflda RimWorld.Pawn_GuiltTracker Verse.Pawn::guilt
- IL_02AD: ldstr "guilt"
- IL_02B2: ldc.i4.1
- IL_02B3: newarr System.Object
- IL_02B8: dup
- IL_02B9: ldc.i4.0
- IL_02BA: ldarg.0
- IL_02BB: stelem.ref
- IL_02BC: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_GuiltTracker& target, System.String label, System.Object[] ctorArgs)
- IL_02C1: ldarg.0
- IL_02C2: ldflda RimWorld.Pawn_RoyaltyTracker Verse.Pawn::royalty
- IL_02C7: ldstr "royalty"
- IL_02CC: ldc.i4.1
- IL_02CD: newarr System.Object
- IL_02D2: dup
- IL_02D3: ldc.i4.0
- IL_02D4: ldarg.0
- IL_02D5: stelem.ref
- IL_02D6: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_RoyaltyTracker& target, System.String label, System.Object[] ctorArgs)
- IL_02DB: ldarg.0
- IL_02DC: ldflda RimWorld.Pawn_RelationsTracker Verse.Pawn::relations
- IL_02E1: ldstr "social"
- IL_02E6: ldc.i4.1
- IL_02E7: newarr System.Object
- IL_02EC: dup
- IL_02ED: ldc.i4.0
- IL_02EE: ldarg.0
- IL_02EF: stelem.ref
- IL_02F0: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_RelationsTracker& target, System.String label, System.Object[] ctorArgs)
- IL_02F5: ldarg.0
- IL_02F6: ldflda RimWorld.Pawn_PsychicEntropyTracker Verse.Pawn::psychicEntropy
- IL_02FB: ldstr "psychicEntropy"
- IL_0300: ldc.i4.1
- IL_0301: newarr System.Object
- IL_0306: dup
- IL_0307: ldc.i4.0
- IL_0308: ldarg.0
- IL_0309: stelem.ref
- IL_030A: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_PsychicEntropyTracker& target, System.String label, System.Object[] ctorArgs)
- IL_030F: ldarg.0
- IL_0310: ldflda RimWorld.Pawn_Ownership Verse.Pawn::ownership
- IL_0315: ldstr "ownership"
- IL_031A: ldc.i4.1
- IL_031B: newarr System.Object
- IL_0320: dup
- IL_0321: ldc.i4.0
- IL_0322: ldarg.0
- IL_0323: stelem.ref
- IL_0324: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_Ownership& target, System.String label, System.Object[] ctorArgs)
- IL_0329: ldarg.0
- IL_032A: ldflda RimWorld.Pawn_InteractionsTracker Verse.Pawn::interactions
- IL_032F: ldstr "interactions"
- IL_0334: ldc.i4.1
- IL_0335: newarr System.Object
- IL_033A: dup
- IL_033B: ldc.i4.0
- IL_033C: ldarg.0
- IL_033D: stelem.ref
- IL_033E: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_InteractionsTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0343: ldarg.0
- IL_0344: ldflda RimWorld.Pawn_SkillTracker Verse.Pawn::skills
- IL_0349: ldstr "skills"
- IL_034E: ldc.i4.1
- IL_034F: newarr System.Object
- IL_0354: dup
- IL_0355: ldc.i4.0
- IL_0356: ldarg.0
- IL_0357: stelem.ref
- IL_0358: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_SkillTracker& target, System.String label, System.Object[] ctorArgs)
- IL_035D: ldarg.0
- IL_035E: ldflda RimWorld.Pawn_AbilityTracker Verse.Pawn::abilities
- IL_0363: ldstr "abilities"
- IL_0368: ldc.i4.1
- IL_0369: newarr System.Object
- IL_036E: dup
- IL_036F: ldc.i4.0
- IL_0370: ldarg.0
- IL_0371: stelem.ref
- IL_0372: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_AbilityTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0377: ldarg.0
- IL_0378: ldflda RimWorld.Pawn_IdeoTracker Verse.Pawn::ideo
- IL_037D: ldstr "ideo"
- IL_0382: ldc.i4.1
- IL_0383: newarr System.Object
- IL_0388: dup
- IL_0389: ldc.i4.0
- IL_038A: ldarg.0
- IL_038B: stelem.ref
- IL_038C: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_IdeoTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0391: ldarg.0
- IL_0392: ldflda RimWorld.Pawn_WorkSettings Verse.Pawn::workSettings
- IL_0397: ldstr "workSettings"
- IL_039C: ldc.i4.1
- IL_039D: newarr System.Object
- IL_03A2: dup
- IL_03A3: ldc.i4.0
- IL_03A4: ldarg.0
- IL_03A5: stelem.ref
- IL_03A6: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_WorkSettings& target, System.String label, System.Object[] ctorArgs)
- IL_03AB: ldarg.0
- IL_03AC: ldflda RimWorld.Pawn_TraderTracker Verse.Pawn::trader
- IL_03B1: ldstr "trader"
- IL_03B6: ldc.i4.1
- IL_03B7: newarr System.Object
- IL_03BC: dup
- IL_03BD: ldc.i4.0
- IL_03BE: ldarg.0
- IL_03BF: stelem.ref
- IL_03C0: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_TraderTracker& target, System.String label, System.Object[] ctorArgs)
- IL_03C5: ldarg.0
- IL_03C6: ldflda RimWorld.Pawn_OutfitTracker Verse.Pawn::outfits
- IL_03CB: ldstr "outfits"
- IL_03D0: ldc.i4.1
- IL_03D1: newarr System.Object
- IL_03D6: dup
- IL_03D7: ldc.i4.0
- IL_03D8: ldarg.0
- IL_03D9: stelem.ref
- IL_03DA: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_OutfitTracker& target, System.String label, System.Object[] ctorArgs)
- IL_03DF: ldarg.0
- IL_03E0: ldflda RimWorld.Pawn_DrugPolicyTracker Verse.Pawn::drugs
- IL_03E5: ldstr "drugs"
- IL_03EA: ldc.i4.1
- IL_03EB: newarr System.Object
- IL_03F0: dup
- IL_03F1: ldc.i4.0
- IL_03F2: ldarg.0
- IL_03F3: stelem.ref
- IL_03F4: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_DrugPolicyTracker& target, System.String label, System.Object[] ctorArgs)
- IL_03F9: ldarg.0
- IL_03FA: ldflda RimWorld.Pawn_FoodRestrictionTracker Verse.Pawn::foodRestriction
- IL_03FF: ldstr "foodRestriction"
- IL_0404: ldc.i4.1
- IL_0405: newarr System.Object
- IL_040A: dup
- IL_040B: ldc.i4.0
- IL_040C: ldarg.0
- IL_040D: stelem.ref
- IL_040E: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_FoodRestrictionTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0413: ldarg.0
- IL_0414: ldflda RimWorld.Pawn_TimetableTracker Verse.Pawn::timetable
- IL_0419: ldstr "timetable"
- IL_041E: ldc.i4.1
- IL_041F: newarr System.Object
- IL_0424: dup
- IL_0425: ldc.i4.0
- IL_0426: ldarg.0
- IL_0427: stelem.ref
- IL_0428: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_TimetableTracker& target, System.String label, System.Object[] ctorArgs)
- IL_042D: ldarg.0
- IL_042E: ldflda RimWorld.Pawn_PlayerSettings Verse.Pawn::playerSettings
- IL_0433: ldstr "playerSettings"
- IL_0438: ldc.i4.1
- IL_0439: newarr System.Object
- IL_043E: dup
- IL_043F: ldc.i4.0
- IL_0440: ldarg.0
- IL_0441: stelem.ref
- IL_0442: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_PlayerSettings& target, System.String label, System.Object[] ctorArgs)
- IL_0447: ldarg.0
- IL_0448: ldflda RimWorld.Pawn_TrainingTracker Verse.Pawn::training
- IL_044D: ldstr "training"
- IL_0452: ldc.i4.1
- IL_0453: newarr System.Object
- IL_0458: dup
- IL_0459: ldc.i4.0
- IL_045A: ldarg.0
- IL_045B: stelem.ref
- IL_045C: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_TrainingTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0461: ldarg.0
- IL_0462: ldflda RimWorld.Pawn_StyleTracker Verse.Pawn::style
- IL_0467: ldstr "style"
- IL_046C: ldc.i4.1
- IL_046D: newarr System.Object
- IL_0472: dup
- IL_0473: ldc.i4.0
- IL_0474: ldarg.0
- IL_0475: stelem.ref
- IL_0476: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_StyleTracker& target, System.String label, System.Object[] ctorArgs)
- IL_047B: ldarg.0
- IL_047C: ldflda RimWorld.Pawn_StyleObserverTracker Verse.Pawn::styleObserver
- IL_0481: ldstr "styleObserver"
- IL_0486: ldc.i4.1
- IL_0487: newarr System.Object
- IL_048C: dup
- IL_048D: ldc.i4.0
- IL_048E: ldarg.0
- IL_048F: stelem.ref
- IL_0490: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_StyleObserverTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0495: ldarg.0
- IL_0496: ldflda RimWorld.Pawn_ConnectionsTracker Verse.Pawn::connections
- IL_049B: ldstr "connections"
- IL_04A0: ldc.i4.1
- IL_04A1: newarr System.Object
- IL_04A6: dup
- IL_04A7: ldc.i4.0
- IL_04A8: ldarg.0
- IL_04A9: stelem.ref
- IL_04AA: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_ConnectionsTracker& target, System.String label, System.Object[] ctorArgs)
- IL_04AF: ldarg.0
- IL_04B0: ldflda RimWorld.Pawn_InventoryStockTracker Verse.Pawn::inventoryStock
- IL_04B5: ldstr "inventoryStock"
- IL_04BA: ldc.i4.1
- IL_04BB: newarr System.Object
- IL_04C0: dup
- IL_04C1: ldc.i4.0
- IL_04C2: ldarg.0
- IL_04C3: stelem.ref
- IL_04C4: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_InventoryStockTracker& target, System.String label, System.Object[] ctorArgs)
- IL_04C9: ldarg.0
- IL_04CA: ldflda RimWorld.Pawn_SurroundingsTracker Verse.Pawn::surroundings
- IL_04CF: ldstr "treeSightings"
- IL_04D4: ldc.i4.1
- IL_04D5: newarr System.Object
- IL_04DA: dup
- IL_04DB: ldc.i4.0
- IL_04DC: ldarg.0
- IL_04DD: stelem.ref
- IL_04DE: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_SurroundingsTracker& target, System.String label, System.Object[] ctorArgs)
- IL_04E3: ldarg.0
- IL_04E4: ldflda Verse.AI.Pawn_Thinker Verse.Pawn::thinker
- IL_04E9: ldstr "thinker"
- IL_04EE: ldc.i4.1
- IL_04EF: newarr System.Object
- IL_04F4: dup
- IL_04F5: ldc.i4.0
- IL_04F6: ldarg.0
- IL_04F7: stelem.ref
- IL_04F8: call static System.Void Verse.Scribe_Deep::Look(Verse.AI.Pawn_Thinker& target, System.String label, System.Object[] ctorArgs)
- IL_04FD: ldarg.0
- IL_04FE: ldflda RimWorld.Pawn_MechanitorTracker Verse.Pawn::mechanitor
- IL_0503: ldstr "mechanitor"
- IL_0508: ldc.i4.1
- IL_0509: newarr System.Object
- IL_050E: dup
- IL_050F: ldc.i4.0
- IL_0510: ldarg.0
- IL_0511: stelem.ref
- IL_0512: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_MechanitorTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0517: ldarg.0
- IL_0518: ldflda RimWorld.Pawn_GeneTracker Verse.Pawn::genes
- IL_051D: ldstr "genes"
- IL_0522: ldc.i4.1
- IL_0523: newarr System.Object
- IL_0528: dup
- IL_0529: ldc.i4.0
- IL_052A: ldarg.0
- IL_052B: stelem.ref
- IL_052C: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_GeneTracker& target, System.String label, System.Object[] ctorArgs)
- IL_0531: ldarg.0
- IL_0532: ldflda RimWorld.Pawn_LearningTracker Verse.Pawn::learning
- IL_0537: ldstr "learning"
- IL_053C: ldc.i4.1
- IL_053D: newarr System.Object
- IL_0542: dup
- IL_0543: ldc.i4.0
- IL_0544: ldarg.0
- IL_0545: stelem.ref
- IL_0546: call static System.Void Verse.Scribe_Deep::Look(RimWorld.Pawn_LearningTracker& target, System.String label, System.Object[] ctorArgs)
- IL_054B: ldarg.0
- IL_054C: call static System.Void Verse.BackCompatibility::PostExposeData(System.Object obj)
- IL_0551: // end original
- IL_0551: ldarga 0
- IL_0555: call static System.Void ARimReborn.HarmonyPatches::PawnExposeData_Postfix(Verse.Pawn& __instance)
- IL_055A: ret
- DONE
- ### Patch: System.Void Verse.PawnRenderer::DrawHeadHair(UnityEngine.Vector3 rootLoc, UnityEngine.Vector3 headOffset, System.Single angle, Verse.Rot4 bodyFacing, Verse.Rot4 headFacing, Verse.RotDrawMode bodyDrawType, Verse.PawnRenderFlags flags, System.Boolean bodyDrawn)
- ### Replacement: static System.Void Verse.PawnRenderer::Verse.PawnRenderer.DrawHeadHair_Patch0(Verse.PawnRenderer this, UnityEngine.Vector3 rootLoc, UnityEngine.Vector3 headOffset, System.Single angle, Verse.Rot4 bodyFacing, Verse.Rot4 headFacing, Verse.RotDrawMode bodyDrawType, Verse.PawnRenderFlags flags, System.Boolean bodyDrawn)
- IL_0000: Local var 0: Verse.PawnRenderer/<>c__DisplayClass54_0
- IL_0000: Local var 1: System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>
- IL_0000: Local var 2: System.Boolean
- IL_0000: Local var 3: System.Boolean
- IL_0000: Local var 4: System.Boolean
- IL_0000: Local var 5: System.Boolean
- IL_0000: Local var 6: System.Boolean
- IL_0000: Local var 7: System.Int32
- IL_0000: Local var 8: UnityEngine.Vector3
- IL_0000: Local var 9: System.Collections.Generic.List`1/Enumerator<Verse.Hediff>
- IL_0000: Local var 10: Verse.Hediff
- IL_0000: Local var 11: Verse.GraphicData
- IL_0000: Local var 12: System.Boolean
- IL_0000: Local var 13: UnityEngine.Vector3
- IL_0000: Local var 14: UnityEngine.Mesh
- IL_0000: Local var 15: UnityEngine.Material
- IL_0000: Local var 16: System.Int32
- IL_0000: Local var 17: UnityEngine.Mesh
- IL_0000: Local var 18: UnityEngine.Material
- IL_0000: Local var 19: System.Int32
- IL_0000: // start original
- IL_0000: newobj System.Void Verse.<>c__DisplayClass54_0::.ctor()
- IL_0005: stloc.0
- IL_0006: ldloc.0
- IL_0007: ldarg.0
- IL_0008: stfld Verse.PawnRenderer Verse.<>c__DisplayClass54_0::<>4__this
- IL_000D: ldloc.0
- IL_000E: ldarg.s 5
- IL_0010: stfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_0015: ldloc.0
- IL_0016: ldarg.s 4
- IL_0018: stfld Verse.Rot4 Verse.<>c__DisplayClass54_0::bodyFacing
- IL_001D: ldloc.0
- IL_001E: ldarg.s 7
- IL_0020: stfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0025: ldloc.0
- IL_0026: ldarg.1
- IL_0027: stfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::rootLoc
- IL_002C: ldloc.0
- IL_002D: ldarg.2
- IL_002E: stfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::headOffset
- IL_0033: ldloc.0
- IL_0034: ldarg.s 6
- IL_0036: stfld Verse.RotDrawMode Verse.<>c__DisplayClass54_0::bodyDrawType
- IL_003B: ldarg.0
- IL_003C: ldloc.0
- IL_003D: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0042: call System.Boolean Verse.PawnRenderer::ShellFullyCoversHead(Verse.PawnRenderFlags flags)
- IL_0047: ldarg.s 8
- IL_0049: and
- IL_004A: brfalse => Label0
- IL_004F: br => Label78
- IL_0054: Label0
- IL_0054: ldloc.0
- IL_0055: ldloc.0
- IL_0056: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::rootLoc
- IL_005B: ldloc.0
- IL_005C: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::headOffset
- IL_0061: call static UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
- IL_0066: stfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::onHeadLoc
- IL_006B: ldloc.0
- IL_006C: ldflda UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::onHeadLoc
- IL_0071: ldflda System.Single UnityEngine.Vector3::y
- IL_0076: dup
- IL_0077: ldind.r4
- IL_0078: ldc.r4 0.02895753
- IL_007D: add
- IL_007E: stind.r4
- IL_007F: ldarg.0
- IL_0080: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_0085: ldfld System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord> Verse.PawnGraphicSet::apparelGraphics
- IL_008A: stloc.1
- IL_008B: ldloc.0
- IL_008C: ldarg.0
- IL_008D: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_0092: ldfld System.Collections.Generic.List`1<Verse.GeneGraphicRecord> Verse.PawnGraphicSet::geneGraphics
- IL_0097: stfld System.Collections.Generic.List`1<Verse.GeneGraphicRecord> Verse.<>c__DisplayClass54_0::geneGraphics
- IL_009C: ldloc.0
- IL_009D: ldarg.3
- IL_009E: call static UnityEngine.Vector3 UnityEngine.Vector3::get_up()
- IL_00A3: call static UnityEngine.Quaternion UnityEngine.Quaternion::AngleAxis(System.Single angle, UnityEngine.Vector3 axis)
- IL_00A8: stfld UnityEngine.Quaternion Verse.<>c__DisplayClass54_0::quat
- IL_00AD: ldarg.0
- IL_00AE: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_00B3: callvirt Verse.DevelopmentalStage Verse.Pawn::get_DevelopmentalStage()
- IL_00B8: call static System.Boolean Verse.DevelopmentalStageExtensions::Baby(Verse.DevelopmentalStage developmentalStage)
- IL_00BD: brtrue => Label1
- IL_00C2: ldloc.0
- IL_00C3: ldfld Verse.RotDrawMode Verse.<>c__DisplayClass54_0::bodyDrawType
- IL_00C8: ldc.i4.2
- IL_00C9: beq => Label2
- IL_00CE: ldloc.0
- IL_00CF: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_00D4: ldc.i4.2
- IL_00D5: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_00DA: br => Label3
- IL_00DF: Label1
- IL_00DF: Label2
- IL_00DF: ldc.i4.1
- IL_00E0: Label3
- IL_00E0: dup
- IL_00E1: brfalse => Label4
- IL_00E6: ldarg.0
- IL_00E7: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_00EC: ldfld RimWorld.Pawn_StoryTracker Verse.Pawn::story
- IL_00F1: dup
- IL_00F2: brtrue => Label5
- IL_00F7: pop
- IL_00F8: ldnull
- IL_00F9: br => Label6
- IL_00FE: Label5
- IL_00FE: ldfld RimWorld.HairDef RimWorld.Pawn_StoryTracker::hairDef
- IL_0103: Label6
- IL_0103: brfalse => Label7
- IL_0108: ldarg.0
- IL_0109: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_010E: ldfld RimWorld.Pawn_StoryTracker Verse.Pawn::story
- IL_0113: ldfld RimWorld.HairDef RimWorld.Pawn_StoryTracker::hairDef
- IL_0118: ldfld System.Boolean RimWorld.StyleItemDef::noGraphic
- IL_011D: br => Label8
- IL_0122: Label4
- IL_0122: Label7
- IL_0122: ldc.i4.1
- IL_0123: Label8
- IL_0123: stloc.2
- IL_0124: brtrue => Label9
- IL_0129: ldloc.0
- IL_012A: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::bodyFacing
- IL_012F: ldsfld Verse.Rot4 Verse.Rot4::North
- IL_0134: call static System.Boolean Verse.Rot4::op_Inequality(Verse.Rot4 a, Verse.Rot4 b)
- IL_0139: brfalse => Label10
- IL_013E: ldarg.0
- IL_013F: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_0144: callvirt Verse.DevelopmentalStage Verse.Pawn::get_DevelopmentalStage()
- IL_0149: call static System.Boolean Verse.DevelopmentalStageExtensions::Adult(Verse.DevelopmentalStage developmentalStage)
- IL_014E: brfalse => Label11
- IL_0153: ldarg.0
- IL_0154: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_0159: ldfld RimWorld.Pawn_StyleTracker Verse.Pawn::style
- IL_015E: dup
- IL_015F: brtrue => Label12
- IL_0164: pop
- IL_0165: ldnull
- IL_0166: br => Label13
- IL_016B: Label12
- IL_016B: ldfld RimWorld.BeardDef RimWorld.Pawn_StyleTracker::beardDef
- IL_0170: Label13
- IL_0170: dup
- IL_0171: brtrue => Label14
- IL_0176: pop
- IL_0177: ldsfld RimWorld.BeardDef RimWorld.BeardDefOf::NoBeard
- IL_017C: Label14
- IL_017C: ldsfld RimWorld.BeardDef RimWorld.BeardDefOf::NoBeard
- IL_0181: ceq
- IL_0183: ldc.i4.0
- IL_0184: ceq
- IL_0186: br => Label15
- IL_018B: Label9
- IL_018B: Label10
- IL_018B: Label11
- IL_018B: ldc.i4.0
- IL_018C: Label15
- IL_018C: stloc.3
- IL_018D: ldloc.0
- IL_018E: ldc.i4.0
- IL_018F: stfld System.Boolean Verse.<>c__DisplayClass54_0::allFaceCovered
- IL_0194: ldloc.0
- IL_0195: ldc.i4.1
- IL_0196: stfld System.Boolean Verse.<>c__DisplayClass54_0::drawEyes
- IL_019B: ldloc.0
- IL_019C: ldc.i4.0
- IL_019D: stfld System.Boolean Verse.<>c__DisplayClass54_0::middleFaceCovered
- IL_01A2: ldarg.0
- IL_01A3: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_01A8: call static RimWorld.Building_Bed RimWorld.RestUtility::CurrentBed(Verse.Pawn p)
- IL_01AD: brfalse => Label16
- IL_01B2: ldarg.0
- IL_01B3: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_01B8: call static RimWorld.Building_Bed RimWorld.RestUtility::CurrentBed(Verse.Pawn p)
- IL_01BD: ldfld Verse.ThingDef Verse.Thing::def
- IL_01C2: ldfld RimWorld.BuildingProperties Verse.ThingDef::building
- IL_01C7: ldfld System.Boolean RimWorld.BuildingProperties::bed_showSleeperBody
- IL_01CC: ldc.i4.0
- IL_01CD: ceq
- IL_01CF: br => Label17
- IL_01D4: Label16
- IL_01D4: ldc.i4.0
- IL_01D5: Label17
- IL_01D5: stloc.s 4 (System.Boolean)
- IL_01D7: ldloc.0
- IL_01D8: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_01DD: ldc.i4.1
- IL_01DE: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_01E3: ldc.i4.0
- IL_01E4: ceq
- IL_01E6: ldloc.s 4 (System.Boolean)
- IL_01E8: and
- IL_01E9: stloc.s 5 (System.Boolean)
- IL_01EB: ldloc.0
- IL_01EC: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_01F1: ldc.i4.s 32
- IL_01F3: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_01F8: brfalse => Label18
- IL_01FD: ldloc.0
- IL_01FE: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0203: ldc.i4.1
- IL_0204: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_0209: brfalse => Label19
- IL_020E: call static System.Boolean Verse.Prefs::get_HatsOnlyOnMap()
- IL_0213: brfalse => Label20
- IL_0218: ldloc.0
- IL_0219: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_021E: ldc.i4 256
- IL_0223: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_0228: br => Label21
- IL_022D: Label19
- IL_022D: Label20
- IL_022D: ldc.i4.1
- IL_022E: br => Label22
- IL_0233: Label18
- IL_0233: ldc.i4.0
- IL_0234: Label21
- IL_0234: Label22
- IL_0234: stloc.s 6 (System.Boolean)
- IL_0236: ldarg.0
- IL_0237: ldfld Verse.BodyPartRecord Verse.PawnRenderer::leftEyeCached
- IL_023C: brtrue => Label23
- IL_0241: ldarg.0
- IL_0242: ldarg.0
- IL_0243: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_0248: call static Verse.BodyDef AlienRace.HarmonyPatches::ReplacedBody(Verse.Pawn pawn)
- IL_024D: callvirt System.Collections.Generic.List`1<Verse.BodyPartRecord> Verse.BodyDef::get_AllParts()
- IL_0252: ldsfld System.Predicate`1<Verse.BodyPartRecord> Verse.<>c::<>9__54_0
- IL_0257: dup
- IL_0258: brtrue => Label24
- IL_025D: pop
- IL_025E: ldsfld Verse.<>c Verse.<>c::<>9
- IL_0263: ldftn System.Boolean Verse.<>c::<DrawHeadHair>b__54_0(Verse.BodyPartRecord p)
- IL_0269: newobj System.Void System.Predicate`1<Verse.BodyPartRecord>::.ctor(System.Object object, System.IntPtr method)
- IL_026E: dup
- IL_026F: stsfld System.Predicate`1<Verse.BodyPartRecord> Verse.<>c::<>9__54_0
- IL_0274: Label24
- IL_0274: call static Verse.BodyPartRecord Verse.GenCollection::FirstOrDefault(System.Collections.Generic.List`1<Verse.BodyPartRecord> list, System.Predicate`1<Verse.BodyPartRecord> predicate)
- IL_0279: stfld Verse.BodyPartRecord Verse.PawnRenderer::leftEyeCached
- IL_027E: Label23
- IL_027E: ldarg.0
- IL_027F: ldfld Verse.BodyPartRecord Verse.PawnRenderer::rightEyeCached
- IL_0284: brtrue => Label25
- IL_0289: ldarg.0
- IL_028A: ldarg.0
- IL_028B: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_0290: call static Verse.BodyDef AlienRace.HarmonyPatches::ReplacedBody(Verse.Pawn pawn)
- IL_0295: callvirt System.Collections.Generic.List`1<Verse.BodyPartRecord> Verse.BodyDef::get_AllParts()
- IL_029A: ldsfld System.Predicate`1<Verse.BodyPartRecord> Verse.<>c::<>9__54_1
- IL_029F: dup
- IL_02A0: brtrue => Label26
- IL_02A5: pop
- IL_02A6: ldsfld Verse.<>c Verse.<>c::<>9
- IL_02AB: ldftn System.Boolean Verse.<>c::<DrawHeadHair>b__54_1(Verse.BodyPartRecord p)
- IL_02B1: newobj System.Void System.Predicate`1<Verse.BodyPartRecord>::.ctor(System.Object object, System.IntPtr method)
- IL_02B6: dup
- IL_02B7: stsfld System.Predicate`1<Verse.BodyPartRecord> Verse.<>c::<>9__54_1
- IL_02BC: Label26
- IL_02BC: call static Verse.BodyPartRecord Verse.GenCollection::FirstOrDefault(System.Collections.Generic.List`1<Verse.BodyPartRecord> list, System.Predicate`1<Verse.BodyPartRecord> predicate)
- IL_02C1: stfld Verse.BodyPartRecord Verse.PawnRenderer::rightEyeCached
- IL_02C6: Label25
- IL_02C6: ldloc.0
- IL_02C7: ldarg.0
- IL_02C8: ldfld Verse.BodyPartRecord Verse.PawnRenderer::leftEyeCached
- IL_02CD: brfalse => Label27
- IL_02D2: ldarg.0
- IL_02D3: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_02D8: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
- IL_02DD: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
- IL_02E2: ldarg.0
- IL_02E3: ldfld Verse.BodyPartRecord Verse.PawnRenderer::leftEyeCached
- IL_02E8: callvirt System.Boolean Verse.HediffSet::PartIsMissing(Verse.BodyPartRecord part)
- IL_02ED: ldc.i4.0
- IL_02EE: ceq
- IL_02F0: br => Label28
- IL_02F5: Label27
- IL_02F5: ldc.i4.0
- IL_02F6: Label28
- IL_02F6: stfld System.Boolean Verse.<>c__DisplayClass54_0::hasLeftEye
- IL_02FB: ldloc.0
- IL_02FC: ldarg.0
- IL_02FD: ldfld Verse.BodyPartRecord Verse.PawnRenderer::rightEyeCached
- IL_0302: brfalse => Label29
- IL_0307: ldarg.0
- IL_0308: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_030D: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
- IL_0312: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
- IL_0317: ldarg.0
- IL_0318: ldfld Verse.BodyPartRecord Verse.PawnRenderer::rightEyeCached
- IL_031D: callvirt System.Boolean Verse.HediffSet::PartIsMissing(Verse.BodyPartRecord part)
- IL_0322: ldc.i4.0
- IL_0323: ceq
- IL_0325: br => Label30
- IL_032A: Label29
- IL_032A: ldc.i4.0
- IL_032B: Label30
- IL_032B: stfld System.Boolean Verse.<>c__DisplayClass54_0::hasRightEye
- IL_0330: ldloc.s 6 (System.Boolean)
- IL_0332: brfalse => Label31
- IL_0337: ldc.i4.0
- IL_0338: stloc.s 7 (System.Int32)
- IL_033A: br => Label32
- IL_033F: Label42
- IL_033F: ldloc.s 5 (System.Boolean)
- IL_0341: brfalse => Label33
- IL_0346: ldloc.1
- IL_0347: ldloc.s 7 (System.Int32)
- IL_0349: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_034E: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_0353: ldfld Verse.ThingDef Verse.Thing::def
- IL_0358: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_035D: ldfld System.Boolean RimWorld.ApparelProperties::hatRenderedFrontOfFace
- IL_0362: brfalse => Label34
- IL_0367: Label33
- IL_0367: ldloc.1
- IL_0368: ldloc.s 7 (System.Int32)
- IL_036A: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_036F: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_0374: ldfld Verse.ThingDef Verse.Thing::def
- IL_0379: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_037E: callvirt Verse.ApparelLayerDef RimWorld.ApparelProperties::get_LastLayer()
- IL_0383: ldsfld Verse.ApparelLayerDef RimWorld.ApparelLayerDefOf::Overhead
- IL_0388: beq => Label35
- IL_038D: ldloc.1
- IL_038E: ldloc.s 7 (System.Int32)
- IL_0390: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_0395: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_039A: ldfld Verse.ThingDef Verse.Thing::def
- IL_039F: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_03A4: callvirt Verse.ApparelLayerDef RimWorld.ApparelProperties::get_LastLayer()
- IL_03A9: ldsfld Verse.ApparelLayerDef RimWorld.ApparelLayerDefOf::EyeCover
- IL_03AE: bne.un => Label36
- IL_03B3: Label35
- IL_03B3: ldloc.1
- IL_03B4: ldloc.s 7 (System.Int32)
- IL_03B6: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_03BB: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_03C0: ldfld Verse.ThingDef Verse.Thing::def
- IL_03C5: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_03CA: ldfld System.Collections.Generic.List`1<Verse.BodyPartGroupDef> RimWorld.ApparelProperties::bodyPartGroups
- IL_03CF: ldsfld Verse.BodyPartGroupDef RimWorld.BodyPartGroupDefOf::FullHead
- IL_03D4: callvirt virtual System.Boolean System.Collections.Generic.List`1<Verse.BodyPartGroupDef>::Contains(Verse.BodyPartGroupDef item)
- IL_03D9: brfalse => Label37
- IL_03DE: ldc.i4.0
- IL_03DF: stloc.3
- IL_03E0: ldloc.0
- IL_03E1: ldc.i4.1
- IL_03E2: stfld System.Boolean Verse.<>c__DisplayClass54_0::allFaceCovered
- IL_03E7: ldloc.1
- IL_03E8: ldloc.s 7 (System.Int32)
- IL_03EA: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_03EF: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_03F4: ldfld Verse.ThingDef Verse.Thing::def
- IL_03F9: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_03FE: ldfld System.Collections.Generic.List`1<System.Int32> RimWorld.ApparelProperties::forceEyesVisibleForRotations
- IL_0403: ldloc.0
- IL_0404: ldflda Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_0409: call System.Int32 Verse.Rot4::get_AsInt()
- IL_040E: callvirt virtual System.Boolean System.Collections.Generic.List`1<System.Int32>::Contains(System.Int32 item)
- IL_0413: brtrue => Label38
- IL_0418: ldloc.0
- IL_0419: ldc.i4.0
- IL_041A: stfld System.Boolean Verse.<>c__DisplayClass54_0::drawEyes
- IL_041F: Label37
- IL_041F: Label38
- IL_041F: ldloc.1
- IL_0420: ldloc.s 7 (System.Int32)
- IL_0422: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_0427: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_042C: ldfld Verse.ThingDef Verse.Thing::def
- IL_0431: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_0436: ldfld System.Boolean RimWorld.ApparelProperties::hatRenderedFrontOfFace
- IL_043B: brtrue => Label39
- IL_0440: ldloc.1
- IL_0441: ldloc.s 7 (System.Int32)
- IL_0443: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_0448: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_044D: ldfld Verse.ThingDef Verse.Thing::def
- IL_0452: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_0457: ldfld System.Boolean RimWorld.ApparelProperties::forceRenderUnderHair
- IL_045C: brtrue => Label40
- IL_0461: ldloc.1
- IL_0462: ldloc.s 7 (System.Int32)
- IL_0464: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_0469: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_046E: isinst ARimReborn.Apparel_NonHairOccluding
- IL_0473: brtrue => Label40
- IL_0478: ldc.i4.0
- IL_0479: stloc.2
- IL_047A: Label39
- IL_047A: Label40
- IL_047A: ldloc.1
- IL_047B: ldloc.s 7 (System.Int32)
- IL_047D: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_0482: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_0487: ldfld Verse.ThingDef Verse.Thing::def
- IL_048C: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_0491: ldfld System.Boolean RimWorld.ApparelProperties::coversHeadMiddle
- IL_0496: brfalse => Label41
- IL_049B: ldloc.0
- IL_049C: ldc.i4.1
- IL_049D: stfld System.Boolean Verse.<>c__DisplayClass54_0::middleFaceCovered
- IL_04A2: Label34
- IL_04A2: Label36
- IL_04A2: Label41
- IL_04A2: ldloc.s 7 (System.Int32)
- IL_04A4: ldc.i4.1
- IL_04A5: add
- IL_04A6: stloc.s 7 (System.Int32)
- IL_04A8: Label32
- IL_04A8: ldloc.s 7 (System.Int32)
- IL_04AA: ldloc.1
- IL_04AB: callvirt virtual System.Int32 System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Count()
- IL_04B0: blt => Label42
- IL_04B5: Label31
- IL_04B5: ldloc.0
- IL_04B6: ldc.i4.1
- IL_04B7: callvirt System.Void Verse.<>c__DisplayClass54_0::<DrawHeadHair>g__TryDrawGenes|3(Verse.GeneDrawLayer layer)
- IL_04BC: call static System.Boolean Verse.ModsConfig::get_IdeologyActive()
- IL_04C1: brfalse => Label43
- IL_04C6: ldarg.0
- IL_04C7: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_04CC: ldfld Verse.Graphic Verse.PawnGraphicSet::faceTattooGraphic
- IL_04D1: brfalse => Label44
- IL_04D6: ldloc.0
- IL_04D7: ldfld Verse.RotDrawMode Verse.<>c__DisplayClass54_0::bodyDrawType
- IL_04DC: ldc.i4.2
- IL_04DD: beq => Label45
- IL_04E2: ldloc.0
- IL_04E3: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_04E8: ldc.i4.2
- IL_04E9: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_04EE: brtrue => Label46
- IL_04F3: ldloc.0
- IL_04F4: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::bodyFacing
- IL_04F9: ldsfld Verse.Rot4 Verse.Rot4::North
- IL_04FE: call static System.Boolean Verse.Rot4::op_Inequality(Verse.Rot4 a, Verse.Rot4 b)
- IL_0503: brtrue => Label47
- IL_0508: ldarg.0
- IL_0509: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_050E: ldfld RimWorld.Pawn_StyleTracker Verse.Pawn::style
- IL_0513: callvirt RimWorld.TattooDef RimWorld.Pawn_StyleTracker::get_FaceTattoo()
- IL_0518: ldfld System.Boolean RimWorld.TattooDef::visibleNorth
- IL_051D: brfalse => Label48
- IL_0522: Label47
- IL_0522: ldloc.0
- IL_0523: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::rootLoc
- IL_0528: ldloc.0
- IL_0529: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::headOffset
- IL_052E: call static UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
- IL_0533: stloc.s 8 (UnityEngine.Vector3)
- IL_0535: ldloca.s 8 (UnityEngine.Vector3)
- IL_0537: ldflda System.Single UnityEngine.Vector3::y
- IL_053C: dup
- IL_053D: ldind.r4
- IL_053E: ldc.r4 0.02316602
- IL_0543: add
- IL_0544: stind.r4
- IL_0545: ldloc.0
- IL_0546: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::bodyFacing
- IL_054B: ldsfld Verse.Rot4 Verse.Rot4::North
- IL_0550: call static System.Boolean Verse.Rot4::op_Equality(Verse.Rot4 a, Verse.Rot4 b)
- IL_0555: brfalse => Label49
- IL_055A: ldloca.s 8 (UnityEngine.Vector3)
- IL_055C: ldflda System.Single UnityEngine.Vector3::y
- IL_0561: dup
- IL_0562: ldind.r4
- IL_0563: ldc.r4 0.001
- IL_0568: sub
- IL_0569: stind.r4
- IL_056A: br => Label50
- IL_056F: Label49
- IL_056F: ldloca.s 8 (UnityEngine.Vector3)
- IL_0571: ldflda System.Single UnityEngine.Vector3::y
- IL_0576: dup
- IL_0577: ldind.r4
- IL_0578: ldc.r4 0.001
- IL_057D: add
- IL_057E: stind.r4
- IL_057F: Label50
- IL_057F: ldarg.0
- IL_0580: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_0585: callvirt Verse.GraphicMeshSet Verse.PawnGraphicSet::get_HairMeshSet()
- IL_058A: ldloc.0
- IL_058B: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_0590: callvirt UnityEngine.Mesh Verse.GraphicMeshSet::MeshAt(Verse.Rot4 rot)
- IL_0595: ldloc.s 8 (UnityEngine.Vector3)
- IL_0597: ldloc.0
- IL_0598: ldfld UnityEngine.Quaternion Verse.<>c__DisplayClass54_0::quat
- IL_059D: ldarg.0
- IL_059E: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_05A3: ldfld Verse.Graphic Verse.PawnGraphicSet::faceTattooGraphic
- IL_05A8: ldloc.0
- IL_05A9: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_05AE: ldnull
- IL_05AF: callvirt virtual UnityEngine.Material Verse.Graphic::MatAt(Verse.Rot4 rot, Verse.Thing thing)
- IL_05B4: ldloc.0
- IL_05B5: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_05BA: ldc.i4.8
- IL_05BB: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_05C0: call static System.Void Verse.GenDraw::DrawMeshNowOrLater(UnityEngine.Mesh mesh, UnityEngine.Vector3 loc, UnityEngine.Quaternion quat, UnityEngine.Material mat, System.Boolean drawNow)
- IL_05C5: Label43
- IL_05C5: Label44
- IL_05C5: Label45
- IL_05C5: Label46
- IL_05C5: Label48
- IL_05C5: ldloc.0
- IL_05C6: ldc.i4.2
- IL_05C7: callvirt System.Void Verse.<>c__DisplayClass54_0::<DrawHeadHair>g__TryDrawGenes|3(Verse.GeneDrawLayer layer)
- IL_05CC: ldloc.0
- IL_05CD: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_05D2: ldsfld Verse.Rot4 Verse.Rot4::North
- IL_05D7: call static System.Boolean Verse.Rot4::op_Inequality(Verse.Rot4 a, Verse.Rot4 b)
- IL_05DC: brfalse => Label51
- IL_05E1: ldloc.0
- IL_05E2: ldfld System.Boolean Verse.<>c__DisplayClass54_0::allFaceCovered
- IL_05E7: ldc.i4.0
- IL_05E8: ceq
- IL_05EA: ldloc.0
- IL_05EB: ldfld System.Boolean Verse.<>c__DisplayClass54_0::drawEyes
- IL_05F0: or
- IL_05F1: brfalse => Label52
- IL_05F6: ldarg.0
- IL_05F7: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_05FC: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
- IL_0601: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
- IL_0606: ldfld System.Collections.Generic.List`1<Verse.Hediff> Verse.HediffSet::hediffs
- IL_060B: callvirt System.Collections.Generic.Enumerator<Verse.Hediff> System.Collections.Generic.List`1<Verse.Hediff>::GetEnumerator()
- IL_0610: stloc.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Hediff])
- .try
- {
- IL_0612: br => Label53
- IL_0617: Label58
- IL_0617: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Hediff])
- IL_0619: call virtual Verse.Hediff System.Collections.Generic.Enumerator<Verse.Hediff>::get_Current()
- IL_061E: stloc.s 10 (Verse.Hediff)
- IL_0620: ldloc.s 10 (Verse.Hediff)
- IL_0622: ldfld Verse.HediffDef Verse.Hediff::def
- IL_0627: ldfld Verse.GraphicData Verse.HediffDef::eyeGraphicSouth
- IL_062C: brfalse => Label54
- IL_0631: ldloc.s 10 (Verse.Hediff)
- IL_0633: ldfld Verse.HediffDef Verse.Hediff::def
- IL_0638: ldfld Verse.GraphicData Verse.HediffDef::eyeGraphicEast
- IL_063D: brfalse => Label55
- IL_0642: ldloc.0
- IL_0643: ldflda Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_0648: call System.Boolean Verse.Rot4::get_IsHorizontal()
- IL_064D: brtrue => Label56
- IL_0652: ldloc.s 10 (Verse.Hediff)
- IL_0654: ldfld Verse.HediffDef Verse.Hediff::def
- IL_0659: ldfld Verse.GraphicData Verse.HediffDef::eyeGraphicSouth
- IL_065E: br => Label57
- IL_0663: Label56
- IL_0663: ldloc.s 10 (Verse.Hediff)
- IL_0665: ldfld Verse.HediffDef Verse.Hediff::def
- IL_066A: ldfld Verse.GraphicData Verse.HediffDef::eyeGraphicEast
- IL_066F: Label57
- IL_066F: stloc.s 11 (Verse.GraphicData)
- IL_0671: ldloc.s 10 (Verse.Hediff)
- IL_0673: callvirt Verse.BodyPartRecord Verse.Hediff::get_Part()
- IL_0678: ldfld System.String Verse.BodyPartRecord::woundAnchorTag
- IL_067D: ldstr "LeftEye"
- IL_0682: call static System.Boolean System.String::op_Equality(System.String a, System.String b)
- IL_0687: stloc.s 12 (System.Boolean)
- IL_0689: ldloc.0
- IL_068A: ldloc.s 11 (Verse.GraphicData)
- IL_068C: callvirt Verse.Graphic Verse.GraphicData::get_Graphic()
- IL_0691: ldloc.s 10 (Verse.Hediff)
- IL_0693: ldfld Verse.HediffDef Verse.Hediff::def
- IL_0698: ldfld System.Single Verse.HediffDef::eyeGraphicScale
- IL_069D: ldarg.0
- IL_069E: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_06A3: ldfld Verse.Pawn_AgeTracker Verse.Pawn::ageTracker
- IL_06A8: callvirt RimWorld.LifeStageDef Verse.Pawn_AgeTracker::get_CurLifeStage()
- IL_06AD: ldflda System.Nullable`1<System.Single> RimWorld.LifeStageDef::eyeSizeFactor
- IL_06B2: ldc.r4 1
- IL_06B7: call System.Single System.Nullable`1<System.Single>::GetValueOrDefault(System.Single defaultValue)
- IL_06BC: mul
- IL_06BD: ldc.r4 0.0014
- IL_06C2: ldloc.s 12 (System.Boolean)
- IL_06C4: ldloc.s 12 (System.Boolean)
- IL_06C6: ldc.i4.0
- IL_06C7: ceq
- IL_06C9: callvirt System.Void Verse.<>c__DisplayClass54_0::<DrawHeadHair>g__DrawExtraEyeGraphic|6(Verse.Graphic graphic, System.Single scale, System.Single yOffset, System.Boolean drawLeft, System.Boolean drawRight)
- IL_06CE: Label53
- IL_06CE: Label54
- IL_06CE: Label55
- IL_06CE: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Hediff])
- IL_06D0: call virtual System.Boolean System.Collections.Generic.Enumerator<Verse.Hediff>::MoveNext()
- IL_06D5: brtrue => Label58
- IL_06DA: leave => Label59
- IL_06DF: leave => (autogenerated)
- } // end try
- .finally
- {
- IL_06E4: ldloca.s 9 (System.Collections.Generic.List`1+Enumerator[Verse.Hediff])
- IL_06E6: constrained. System.Collections.Generic.List`1+Enumerator[Verse.Hediff]
- IL_06EC: callvirt abstract virtual System.Void System.IDisposable::Dispose()
- IL_06F1: endfinally
- IL_06F2: leave => (autogenerated)
- } // end handler
- IL_06F3: Label51
- IL_06F3: Label52
- IL_06F3: Label59
- IL_06F3: ldloc.3
- IL_06F4: brfalse => Label60
- IL_06F9: ldloc.0
- IL_06FA: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::rootLoc
- IL_06FF: ldloc.0
- IL_0700: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::headOffset
- IL_0705: call static UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
- IL_070A: ldloc.0
- IL_070B: ldfld UnityEngine.Quaternion Verse.<>c__DisplayClass54_0::quat
- IL_0710: ldarg.0
- IL_0711: ldarg.0
- IL_0712: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_0717: ldfld RimWorld.Pawn_StyleTracker Verse.Pawn::style
- IL_071C: ldfld RimWorld.BeardDef RimWorld.Pawn_StyleTracker::beardDef
- IL_0721: ldarg.0
- IL_0722: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_0727: ldfld RimWorld.Pawn_StoryTracker Verse.Pawn::story
- IL_072C: ldfld Verse.HeadTypeDef RimWorld.Pawn_StoryTracker::headType
- IL_0731: ldloc.0
- IL_0732: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_0737: call static UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
- IL_073C: call UnityEngine.Vector3 Verse.PawnRenderer::OffsetBeardLocationForHead(RimWorld.BeardDef beardDef, Verse.HeadTypeDef head, Verse.Rot4 headFacing, UnityEngine.Vector3 beardLoc)
- IL_0741: call static UnityEngine.Vector3 UnityEngine.Quaternion::op_Multiply(UnityEngine.Quaternion rotation, UnityEngine.Vector3 point)
- IL_0746: call static UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
- IL_074B: stloc.s 13 (UnityEngine.Vector3)
- IL_074D: ldarg.0
- IL_074E: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_0753: callvirt Verse.GraphicMeshSet Verse.PawnGraphicSet::get_BeardMeshSet()
- IL_0758: ldloc.0
- IL_0759: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_075E: callvirt UnityEngine.Mesh Verse.GraphicMeshSet::MeshAt(Verse.Rot4 rot)
- IL_0763: stloc.s 14 (UnityEngine.Mesh)
- IL_0765: ldarg.0
- IL_0766: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_076B: ldloc.0
- IL_076C: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_0771: ldloc.0
- IL_0772: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0777: ldc.i4.1
- IL_0778: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_077D: ldloc.0
- IL_077E: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0783: ldc.i4.s 16
- IL_0785: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_078A: callvirt UnityEngine.Material Verse.PawnGraphicSet::BeardMatAt(Verse.Rot4 facing, System.Boolean portrait, System.Boolean cached)
- IL_078F: stloc.s 15 (UnityEngine.Material)
- IL_0791: ldloc.s 15 (UnityEngine.Material)
- IL_0793: ldnull
- IL_0794: call static System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object x, UnityEngine.Object y)
- IL_0799: brfalse => Label61
- IL_079E: ldloc.s 14 (UnityEngine.Mesh)
- IL_07A0: ldloc.s 13 (UnityEngine.Vector3)
- IL_07A2: ldloc.0
- IL_07A3: ldfld UnityEngine.Quaternion Verse.<>c__DisplayClass54_0::quat
- IL_07A8: ldloc.s 15 (UnityEngine.Material)
- IL_07AA: ldloc.0
- IL_07AB: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_07B0: ldc.i4.8
- IL_07B1: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_07B6: call static System.Void Verse.GenDraw::DrawMeshNowOrLater(UnityEngine.Mesh mesh, UnityEngine.Vector3 loc, UnityEngine.Quaternion quat, UnityEngine.Material mat, System.Boolean drawNow)
- IL_07BB: Label60
- IL_07BB: Label61
- IL_07BB: ldloc.s 6 (System.Boolean)
- IL_07BD: brfalse => Label62
- IL_07C2: ldc.i4.0
- IL_07C3: stloc.s 16 (System.Int32)
- IL_07C5: br => Label63
- IL_07CA: Label67
- IL_07CA: ldloc.s 5 (System.Boolean)
- IL_07CC: brfalse => Label64
- IL_07D1: ldloc.1
- IL_07D2: ldloc.s 16 (System.Int32)
- IL_07D4: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_07D9: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_07DE: ldfld Verse.ThingDef Verse.Thing::def
- IL_07E3: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_07E8: ldfld System.Boolean RimWorld.ApparelProperties::hatRenderedFrontOfFace
- IL_07ED: brfalse => Label65
- IL_07F2: Label64
- IL_07F2: ldloc.1
- IL_07F3: ldloc.s 16 (System.Int32)
- IL_07F5: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_07FA: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_07FF: ldfld Verse.ThingDef Verse.Thing::def
- IL_0804: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_0809: ldfld System.Boolean RimWorld.ApparelProperties::forceRenderUnderHair
- IL_080E: brfalse => Label66
- IL_0813: ldloc.0
- IL_0814: ldloc.1
- IL_0815: ldloc.s 16 (System.Int32)
- IL_0817: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_081C: callvirt System.Void Verse.<>c__DisplayClass54_0::<DrawHeadHair>g__DrawApparel|2(RimWorld.ApparelGraphicRecord apparelRecord)
- IL_0821: Label65
- IL_0821: Label66
- IL_0821: ldloc.s 16 (System.Int32)
- IL_0823: ldc.i4.1
- IL_0824: add
- IL_0825: stloc.s 16 (System.Int32)
- IL_0827: Label63
- IL_0827: ldloc.s 16 (System.Int32)
- IL_0829: ldloc.1
- IL_082A: callvirt virtual System.Int32 System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Count()
- IL_082F: blt => Label67
- IL_0834: Label62
- IL_0834: ldloc.2
- IL_0835: brfalse => Label68
- IL_083A: ldarg.0
- IL_083B: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_0840: callvirt Verse.GraphicMeshSet Verse.PawnGraphicSet::get_HairMeshSet()
- IL_0845: ldloc.0
- IL_0846: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_084B: callvirt UnityEngine.Mesh Verse.GraphicMeshSet::MeshAt(Verse.Rot4 rot)
- IL_0850: stloc.s 17 (UnityEngine.Mesh)
- IL_0852: ldarg.0
- IL_0853: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_0858: ldloc.0
- IL_0859: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_085E: ldloc.0
- IL_085F: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0864: ldc.i4.1
- IL_0865: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_086A: ldloc.0
- IL_086B: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0870: ldc.i4.s 16
- IL_0872: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_0877: callvirt UnityEngine.Material Verse.PawnGraphicSet::HairMatAt(Verse.Rot4 facing, System.Boolean portrait, System.Boolean cached)
- IL_087C: stloc.s 18 (UnityEngine.Material)
- IL_087E: ldloc.s 18 (UnityEngine.Material)
- IL_0880: ldnull
- IL_0881: call static System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object x, UnityEngine.Object y)
- IL_0886: brfalse => Label69
- IL_088B: ldloc.s 17 (UnityEngine.Mesh)
- IL_088D: ldloc.0
- IL_088E: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::onHeadLoc
- IL_0893: ldloc.0
- IL_0894: ldfld UnityEngine.Quaternion Verse.<>c__DisplayClass54_0::quat
- IL_0899: ldloc.s 18 (UnityEngine.Material)
- IL_089B: ldloc.0
- IL_089C: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_08A1: ldc.i4.8
- IL_08A2: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_08A7: call static System.Void Verse.GenDraw::DrawMeshNowOrLater(UnityEngine.Mesh mesh, UnityEngine.Vector3 loc, UnityEngine.Quaternion quat, UnityEngine.Material mat, System.Boolean drawNow)
- IL_08AC: Label68
- IL_08AC: Label69
- IL_08AC: ldloc.0
- IL_08AD: ldc.i4.3
- IL_08AE: callvirt System.Void Verse.<>c__DisplayClass54_0::<DrawHeadHair>g__TryDrawGenes|3(Verse.GeneDrawLayer layer)
- IL_08B3: ldloc.s 6 (System.Boolean)
- IL_08B5: brfalse => Label70
- IL_08BA: ldc.i4.0
- IL_08BB: stloc.s 19 (System.Int32)
- IL_08BD: br => Label71
- IL_08C2: Label77
- IL_08C2: ldloc.s 5 (System.Boolean)
- IL_08C4: brfalse => Label72
- IL_08C9: ldloc.1
- IL_08CA: ldloc.s 19 (System.Int32)
- IL_08CC: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_08D1: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_08D6: ldfld Verse.ThingDef Verse.Thing::def
- IL_08DB: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_08E0: ldfld System.Boolean RimWorld.ApparelProperties::hatRenderedFrontOfFace
- IL_08E5: brfalse => Label73
- IL_08EA: Label72
- IL_08EA: ldloc.1
- IL_08EB: ldloc.s 19 (System.Int32)
- IL_08ED: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_08F2: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_08F7: ldfld Verse.ThingDef Verse.Thing::def
- IL_08FC: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_0901: callvirt Verse.ApparelLayerDef RimWorld.ApparelProperties::get_LastLayer()
- IL_0906: ldsfld Verse.ApparelLayerDef RimWorld.ApparelLayerDefOf::Overhead
- IL_090B: beq => Label74
- IL_0910: ldloc.1
- IL_0911: ldloc.s 19 (System.Int32)
- IL_0913: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_0918: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_091D: ldfld Verse.ThingDef Verse.Thing::def
- IL_0922: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_0927: callvirt Verse.ApparelLayerDef RimWorld.ApparelProperties::get_LastLayer()
- IL_092C: ldsfld Verse.ApparelLayerDef RimWorld.ApparelLayerDefOf::EyeCover
- IL_0931: bne.un => Label75
- IL_0936: Label74
- IL_0936: ldloc.1
- IL_0937: ldloc.s 19 (System.Int32)
- IL_0939: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_093E: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_0943: ldfld Verse.ThingDef Verse.Thing::def
- IL_0948: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_094D: ldfld System.Boolean RimWorld.ApparelProperties::forceRenderUnderHair
- IL_0952: brtrue => Label76
- IL_0957: ldloc.0
- IL_0958: ldloc.1
- IL_0959: ldloc.s 19 (System.Int32)
- IL_095B: callvirt virtual RimWorld.ApparelGraphicRecord System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Item(System.Int32 index)
- IL_0960: callvirt System.Void Verse.<>c__DisplayClass54_0::<DrawHeadHair>g__DrawApparel|2(RimWorld.ApparelGraphicRecord apparelRecord)
- IL_0965: Label73
- IL_0965: Label75
- IL_0965: Label76
- IL_0965: ldloc.s 19 (System.Int32)
- IL_0967: ldc.i4.1
- IL_0968: add
- IL_0969: stloc.s 19 (System.Int32)
- IL_096B: Label71
- IL_096B: ldloc.s 19 (System.Int32)
- IL_096D: ldloc.1
- IL_096E: callvirt virtual System.Int32 System.Collections.Generic.List`1<RimWorld.ApparelGraphicRecord>::get_Count()
- IL_0973: blt => Label77
- IL_0978: Label70
- IL_0978: ldloc.0
- IL_0979: ldc.i4.4
- IL_097A: callvirt System.Void Verse.<>c__DisplayClass54_0::<DrawHeadHair>g__TryDrawGenes|3(Verse.GeneDrawLayer layer)
- IL_097F: // end original
- IL_097F: Label78
- IL_097F: ret
- DONE
- ### Patch: System.Void Verse.<>c__DisplayClass54_0::<DrawHeadHair>g__DrawApparel|2(RimWorld.ApparelGraphicRecord apparelRecord)
- ### Replacement: static System.Void Verse.PawnRenderer+<>c__DisplayClass54_0::Verse.PawnRenderer+c__DisplayClass54_0.<DrawHeadHair>g__DrawApparel|2_Patch0(Verse.<>c__DisplayClass54_0 this, RimWorld.ApparelGraphicRecord apparelRecord)
- IL_0000: Local var 0: UnityEngine.Mesh
- IL_0000: Local var 1: UnityEngine.Material
- IL_0000: Local var 2: UnityEngine.Material
- IL_0000: Local var 3: UnityEngine.Vector3
- IL_0000: // start original
- IL_0000: ldarg.0
- IL_0001: ldfld Verse.PawnRenderer Verse.<>c__DisplayClass54_0::<>4__this
- IL_0006: ldfld Verse.PawnGraphicSet Verse.PawnRenderer::graphics
- IL_000B: callvirt Verse.GraphicMeshSet Verse.PawnGraphicSet::get_HairMeshSet()
- IL_0010: ldarg.0
- IL_0011: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::headFacing
- IL_0016: callvirt UnityEngine.Mesh Verse.GraphicMeshSet::MeshAt(Verse.Rot4 rot)
- IL_001B: stloc.0
- IL_001C: ldarg.1
- IL_001D: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_0022: ldfld Verse.ThingDef Verse.Thing::def
- IL_0027: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_002C: ldfld System.Boolean RimWorld.ApparelProperties::hatRenderedFrontOfFace
- IL_0031: brtrue => Label0
- IL_0036: ldarg.1
- IL_0037: ldfld Verse.Graphic RimWorld.ApparelGraphicRecord::graphic
- IL_003C: ldarg.0
- IL_003D: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::bodyFacing
- IL_0042: ldnull
- IL_0043: callvirt virtual UnityEngine.Material Verse.Graphic::MatAt(Verse.Rot4 rot, Verse.Thing thing)
- IL_0048: stloc.1
- IL_0049: ldarg.0
- IL_004A: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_004F: ldc.i4.s 16
- IL_0051: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_0056: brtrue => Label1
- IL_005B: ldarg.0
- IL_005C: ldfld Verse.PawnRenderer Verse.<>c__DisplayClass54_0::<>4__this
- IL_0061: ldloc.1
- IL_0062: ldarg.0
- IL_0063: ldfld Verse.PawnRenderer Verse.<>c__DisplayClass54_0::<>4__this
- IL_0068: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_006D: ldarg.0
- IL_006E: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0073: ldc.i4.1
- IL_0074: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_0079: call UnityEngine.Material Verse.PawnRenderer::OverrideMaterialIfNeeded(UnityEngine.Material original, Verse.Pawn pawn, System.Boolean portrait)
- IL_007E: br => Label2
- IL_0083: Label1
- IL_0083: ldloc.1
- IL_0084: Label2
- IL_0084: stloc.1
- IL_0085: ldloc.0
- IL_0086: ldarg.0
- IL_0087: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::onHeadLoc
- IL_008C: ldarg.0
- IL_008D: ldfld UnityEngine.Quaternion Verse.<>c__DisplayClass54_0::quat
- IL_0092: ldloc.1
- IL_0093: ldarg.0
- IL_0094: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0099: ldc.i4.8
- IL_009A: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_009F: ldarg.1
- IL_00A0: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_00A5: call static System.Void ARimReborn.HarmonyPatches::DrawNonHairOccludingApparel(UnityEngine.Mesh mesh, UnityEngine.Vector3 position, UnityEngine.Quaternion quat, UnityEngine.Material material, System.Boolean drawNow, RimWorld.Apparel apparel)
- IL_00AA: br => Label10
- IL_00AF: Label0
- IL_00AF: ldarg.1
- IL_00B0: ldfld Verse.Graphic RimWorld.ApparelGraphicRecord::graphic
- IL_00B5: ldarg.0
- IL_00B6: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::bodyFacing
- IL_00BB: ldnull
- IL_00BC: callvirt virtual UnityEngine.Material Verse.Graphic::MatAt(Verse.Rot4 rot, Verse.Thing thing)
- IL_00C1: stloc.2
- IL_00C2: ldarg.0
- IL_00C3: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_00C8: ldc.i4.s 16
- IL_00CA: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_00CF: brtrue => Label3
- IL_00D4: ldarg.0
- IL_00D5: ldfld Verse.PawnRenderer Verse.<>c__DisplayClass54_0::<>4__this
- IL_00DA: ldloc.2
- IL_00DB: ldarg.0
- IL_00DC: ldfld Verse.PawnRenderer Verse.<>c__DisplayClass54_0::<>4__this
- IL_00E1: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_00E6: ldarg.0
- IL_00E7: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_00EC: ldc.i4.1
- IL_00ED: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_00F2: call UnityEngine.Material Verse.PawnRenderer::OverrideMaterialIfNeeded(UnityEngine.Material original, Verse.Pawn pawn, System.Boolean portrait)
- IL_00F7: br => Label4
- IL_00FC: Label3
- IL_00FC: ldloc.2
- IL_00FD: Label4
- IL_00FD: stloc.2
- IL_00FE: ldarg.0
- IL_00FF: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::rootLoc
- IL_0104: ldarg.0
- IL_0105: ldfld UnityEngine.Vector3 Verse.<>c__DisplayClass54_0::headOffset
- IL_010A: call static UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
- IL_010F: stloc.3
- IL_0110: ldarg.1
- IL_0111: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_0116: ldfld Verse.ThingDef Verse.Thing::def
- IL_011B: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_0120: ldfld System.Boolean RimWorld.ApparelProperties::hatRenderedBehindHead
- IL_0125: brfalse => Label5
- IL_012A: ldloca.s 3 (UnityEngine.Vector3)
- IL_012C: ldflda System.Single UnityEngine.Vector3::y
- IL_0131: dup
- IL_0132: ldind.r4
- IL_0133: ldc.r4 0.02216602
- IL_0138: add
- IL_0139: stind.r4
- IL_013A: br => Label6
- IL_013F: Label5
- IL_013F: ldloca.s 3 (UnityEngine.Vector3)
- IL_0141: ldflda System.Single UnityEngine.Vector3::y
- IL_0146: dup
- IL_0147: ldind.r4
- IL_0148: ldarg.0
- IL_0149: ldfld Verse.Rot4 Verse.<>c__DisplayClass54_0::bodyFacing
- IL_014E: ldsfld Verse.Rot4 Verse.Rot4::North
- IL_0153: call static System.Boolean Verse.Rot4::op_Equality(Verse.Rot4 a, Verse.Rot4 b)
- IL_0158: brfalse => Label7
- IL_015D: ldarg.1
- IL_015E: ldfld RimWorld.Apparel RimWorld.ApparelGraphicRecord::sourceApparel
- IL_0163: ldfld Verse.ThingDef Verse.Thing::def
- IL_0168: ldfld RimWorld.ApparelProperties Verse.ThingDef::apparel
- IL_016D: ldfld System.Boolean RimWorld.ApparelProperties::hatRenderedAboveBody
- IL_0172: brfalse => Label8
- IL_0177: Label7
- IL_0177: ldc.r4 0.03185328
- IL_017C: br => Label9
- IL_0181: Label8
- IL_0181: ldc.r4 0.002895753
- IL_0186: Label9
- IL_0186: add
- IL_0187: stind.r4
- IL_0188: Label6
- IL_0188: ldloc.0
- IL_0189: ldloc.3
- IL_018A: ldarg.0
- IL_018B: ldfld UnityEngine.Quaternion Verse.<>c__DisplayClass54_0::quat
- IL_0190: ldloc.2
- IL_0191: ldarg.0
- IL_0192: ldfld Verse.PawnRenderFlags Verse.<>c__DisplayClass54_0::flags
- IL_0197: ldc.i4.8
- IL_0198: call static System.Boolean Verse.PawnRenderFlagsExtension::FlagSet(Verse.PawnRenderFlags flags, Verse.PawnRenderFlags flag)
- IL_019D: call static System.Void Verse.GenDraw::DrawMeshNowOrLater(UnityEngine.Mesh mesh, UnityEngine.Vector3 loc, UnityEngine.Quaternion quat, UnityEngine.Material mat, System.Boolean drawNow)
- IL_01A2: // end original
- IL_01A2: Label10
- IL_01A2: ret
- DONE
- ### Harmony id=rimworld.aelanna.eccentrictech.projectiles, version=2.2.2.0, location=D:\SteamLibrary\steamapps\common\data-000002DAA1B43DD0, env/clr=4.0.30319.42000, platform=Win32NT, ptrsize:runtime/env=8/Bits64, Windows
- ### Started from static System.Void EccentricProjectiles.HarmonyPatches::.cctor(), location D:\SteamLibrary\steamapps\common\data-000002DAA2734DD0
- ### At 2023-12-03 12.43.46
- ### Patch: System.Collections.Generic.IEnumerable`1<Verse.Command> Verse.CompEquippable::GetVerbsCommands()
- ### Replacement: static System.Collections.Generic.IEnumerable`1<Verse.Command> Verse.CompEquippable::Verse.CompEquippable.GetVerbsCommands_Patch1(Verse.CompEquippable this)
- IL_0000: Local var 0: System.Collections.Generic.IEnumerable`1<Verse.Command>
- IL_0000: ldnull
- IL_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.Command])
- IL_0005: // start original
- IL_0005: ldarg.0
- IL_0006: ldfld Verse.VerbTracker Verse.CompEquippable::verbTracker
- IL_000B: ldc.i4.0
- IL_000C: callvirt System.Collections.Generic.IEnumerable`1<Verse.Command> Verse.VerbTracker::GetVerbsCommands(UnityEngine.KeyCode hotKey)
- IL_0011: // end original
- IL_0011: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.Command])
- IL_0015: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.Command])
- IL_0019: ldarg.0
- IL_001A: call static System.Collections.Generic.IEnumerable`1<Verse.Command> EccentricProjectiles.HarmonyPatches::VerbTrackerGetVerbsCommands_Postfix(System.Collections.Generic.IEnumerable`1<Verse.Command> __result, Verse.CompEquippable __instance)
- IL_001F: ret
- DONE
- ### Patch: virtual System.Collections.Generic.IEnumerable`1<Verse.Gizmo> RimWorld.Building_TurretGun::GetGizmos()
- ### Replacement: static System.Collections.Generic.IEnumerable`1<Verse.Gizmo> RimWorld.Building_TurretGun::RimWorld.Building_TurretGun.GetGizmos_Patch1(RimWorld.Building_TurretGun this)
- IL_0000: Local var 0: System.Collections.Generic.IEnumerable`1<Verse.Gizmo>
- IL_0000: ldnull
- IL_0001: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
- IL_0005: // start original
- IL_0005: ldc.i4.s -2
- IL_0007: newobj System.Void RimWorld.<GetGizmos>d__69::.ctor(System.Int32 <>1__state)
- IL_000C: dup
- IL_000D: ldarg.0
- IL_000E: stfld RimWorld.Building_TurretGun RimWorld.<GetGizmos>d__69::<>4__this
- IL_0013: // end original
- IL_0013: stloc 0 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
- IL_0017: ldloc 0 (System.Collections.Generic.IEnumerable`1[Verse.Gizmo])
- IL_001B: ldarg.0
- IL_001C: call static System.Collections.Generic.IEnumerable`1<Verse.Gizmo> EccentricProjectiles.HarmonyPatches::BuildingTurretGunGetGizmos_Postfix(System.Collections.Generic.IEnumerable`1<Verse.Gizmo> __result, RimWorld.Building_TurretGun __instance)
- IL_0021: ret
- DONE
- ### Patch: static System.Void Verse.PawnGenerator::PostProcessGeneratedGear(Verse.Thing gear, Verse.Pawn pawn)
- ### Replacement: static System.Void Verse.PawnGenerator::Verse.PawnGenerator.PostProcessGeneratedGear_Patch1(Verse.Thing gear, Verse.Pawn pawn)
- IL_0000: Local var 0: RimWorld.CompQuality
- IL_0000: Local var 1: RimWorld.QualityCategory
- IL_0000: Local var 2: RimWorld.RoyalTitleDef
- IL_0000: Local var 3: System.Single
- IL_0000: Local var 4: System.Int32
- IL_0000: // start original
- IL_0000: ldarg.0
- IL_0001: call static RimWorld.CompQuality Verse.ThingCompUtility::TryGetComp(Verse.Thing thing)
- IL_0006: stloc.0
- IL_0007: ldloc.0
- IL_0008: brfalse => Label0
- IL_000D: ldarg.1
- IL_000E: ldfld Verse.PawnKindDef Verse.Pawn::kindDef
- IL_0013: ldarg.0
- IL_0014: ldfld Verse.ThingDef Verse.Thing::def
- IL_0019: call static RimWorld.QualityCategory RimWorld.QualityUtility::GenerateQualityGeneratingPawn(Verse.PawnKindDef pawnKind, Verse.ThingDef forThing)
- IL_001E: stloc.1
- IL_001F: ldarg.1
- IL_0020: ldfld RimWorld.Pawn_RoyaltyTracker Verse.Pawn::royalty
- IL_0025: brfalse => Label1
- IL_002A: ldarg.1
- IL_002B: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
- IL_0030: brfalse => Label2
- IL_0035: ldarg.1
- IL_0036: ldfld RimWorld.Pawn_RoyaltyTracker Verse.Pawn::royalty
- IL_003B: ldarg.1
- IL_003C: callvirt virtual RimWorld.Faction Verse.Thing::get_Faction()
- IL_0041: callvirt RimWorld.RoyalTitleDef RimWorld.Pawn_RoyaltyTracker::GetCurrentTitle(RimWorld.Faction faction)
- IL_0046: stloc.2
- IL_0047: ldloc.2
- IL_0048: brfalse => Label3
- IL_004D: ldloc.1
- IL_004E: ldloc.2
- IL_004F: ldfld RimWorld.QualityCategory RimWorld.RoyalTitleDef::requiredMinimumApparelQuality
- IL_0054: ldc.i4.6
- IL_0055: call static System.Int32 UnityEngine.Mathf::Clamp(System.Int32 value, System.Int32 min, System.Int32 max)
- IL_005A: conv.u1
- IL_005B: stloc.1
- IL_005C: Label1
- IL_005C: Label2
- IL_005C: Label3
- IL_005C: ldloc.0
- IL_005D: ldloc.1
- IL_005E: ldc.i4.0
- IL_005F: callvirt System.Void RimWorld.CompQuality::SetQuality(RimWorld.QualityCategory q, RimWorld.ArtGenerationContext source)
- IL_0064: Label0
- IL_0064: ldarg.0
- IL_0065: ldfld Verse.ThingDef Verse.Thing::def
- IL_006A: ldfld System.Boolean Verse.ThingDef::useHitPoints
- IL_006F: brfalse => Label4
- IL_0074: ldarg.1
- IL_0075: ldfld Verse.PawnKindDef Verse.Pawn::kindDef
- IL_007A: ldflda Verse.FloatRange Verse.PawnKindDef::gearHealthRange
- IL_007F: call System.Single Verse.FloatRange::get_RandomInRange()
- IL_0084: stloc.3
- IL_0085: ldloc.3
- IL_0086: ldc.r4 1
- IL_008B: bge.un => Label5
- IL_0090: ldloc.3
- IL_0091: ldarg.0
- IL_0092: callvirt System.Int32 Verse.Thing::get_MaxHitPoints()
- IL_0097: conv.r4
- IL_0098: mul
- IL_0099: call static System.Int32 UnityEngine.Mathf::RoundToInt(System.Single f)
- IL_009E: stloc.s 4 (System.Int32)
- IL_00A0: ldc.i4.1
- IL_00A1: ldloc.s 4 (System.Int32)
- IL_00A3: call static System.Int32 UnityEngine.Mathf::Max(System.Int32 a, System.Int32 b)
- IL_00A8: stloc.s 4 (System.Int32)
- IL_00AA: ldarg.0
- IL_00AB: ldloc.s 4 (System.Int32)
- IL_00AD: callvirt virtual System.Void Verse.Thing::set_HitPoints(System.Int32 value)
- IL_00B2: // end original
- IL_00B2: Label4
- IL_00B2: Label5
- IL_00B2: ldarg 0
- IL_00B6: call static System.Void EccentricProjectiles.HarmonyPatches::PawnGeneratorPostProcessGeneratedGear_Postfix(Verse.Thing gear)
- IL_00BB: ret
- DONE
- ### Patch: System.Void Verse.PawnRenderer::DrawEquipmentAiming(Verse.Thing eq, UnityEngine.Vector3 drawLoc, System.Single aimAngle)
- ### Replacement: static System.Void Verse.PawnRenderer::Verse.PawnRenderer.DrawEquipmentAiming_Patch1(Verse.PawnRenderer this, Verse.Thing eq, UnityEngine.Vector3 drawLoc, System.Single aimAngle)
- IL_0000: Local var 0: UnityEngine.Mesh
- IL_0000: Local var 1: System.Single
- IL_0000: Local var 2: Verse.CompEquippable
- IL_0000: Local var 3: UnityEngine.Material
- IL_0000: Local var 4: Verse.Graphic_StackCount
- IL_0000: Local var 5: UnityEngine.Vector3
- IL_0000: Local var 6: UnityEngine.Matrix4x4
- IL_0000: Local var 7: UnityEngine.Vector3
- IL_0000: Local var 8: System.Single
- IL_0000: Local var 9: System.Boolean
- IL_0000: ldc.i4 0
- IL_0005: stloc 9 (System.Boolean)
- IL_0009: ldc.i4.1
- IL_000A: stloc 9 (System.Boolean)
- IL_000E: ldloc 9 (System.Boolean)
- IL_0012: brfalse => Label1
- IL_0017: ldarg 1
- IL_001B: ldarg 2
- IL_001F: ldarg 3
- IL_0023: ldarg.0
- IL_0024: ldfld Verse.Pawn Verse.PawnRenderer::pawn
- IL_0029: call static System.Boolean EccentricProjectiles.HarmonyPatches::PawnRendererDrawEquipmentAiming_Prefix(Verse.Thing eq, UnityEngine.Vector3 drawLoc, System.Single aimAngle, Verse.Pawn ___pawn)
- IL_002E: stloc 9 (System.Boolean)
- IL_0032: Label1
- IL_0032: nop
- IL_0033: ldloc 9 (System.Boolean)
- IL_0037: brfalse => Label0
- IL_003C: // start original
- IL_003C: ldnull
- IL_003D: stloc.0
- IL_003E: ldarg.3
- IL_003F: ldc.r4 90
- IL_0044: sub
- IL_0045: stloc.1
- IL_0046: ldarg.3
- IL_0047: ldc.r4 20
- IL_004C: ble.un => Label2
- IL_0051: ldarg.3
- IL_0052: ldc.r4 160
- IL_0057: bge.un => Label3
- IL_005C: ldsfld UnityEngine.Mesh Verse.MeshPool::plane10
- IL_0061: stloc.0
- IL_0062: ldloc.1
- IL_0063: ldarg.1
- IL_0064: ldfld Verse.ThingDef Verse.Thing::def
- IL_0069: ldfld System.Single Verse.ThingDef::equippedAngleOffset
- IL_006E: add
- IL_006F: stloc.1
- IL_0070: br => Label4
- IL_0075: Label2
- IL_0075: Label3
- IL_0075: ldarg.3
- IL_0076: ldc.r4 200
- IL_007B: ble.un => Label5
- IL_0080: ldarg.3
- IL_0081: ldc.r4 340
- IL_0086: bge.un => Label6
- IL_008B: ldsfld UnityEngine.Mesh Verse.MeshPool::plane10Flip
- IL_0090: stloc.0
- IL_0091: ldloc.1
- IL_0092: ldc.r4 180
- IL_0097: sub
- IL_0098: stloc.1
- IL_0099: ldloc.1
- IL_009A: ldarg.1
- IL_009B: ldfld Verse.ThingDef Verse.Thing::def
- IL_00A0: ldfld System.Single Verse.ThingDef::equippedAngleOffset
- IL_00A5: sub
- IL_00A6: stloc.1
- IL_00A7: br => Label7
- IL_00AC: Label5
- IL_00AC: Label6
- IL_00AC: ldsfld UnityEngine.Mesh Verse.MeshPool::plane10
- IL_00B1: stloc.0
- IL_00B2: ldloc.1
- IL_00B3: ldarg.1
- IL_00B4: ldfld Verse.ThingDef Verse.Thing::def
- IL_00B9: ldfld System.Single Verse.ThingDef::equippedAngleOffset
- IL_00BE: add
- IL_00BF: stloc.1
- IL_00C0: Label4
- IL_00C0: Label7
- IL_00C0: ldloc.1
- IL_00C1: ldc.r4 360
- IL_00C6: rem
- IL_00C7: stloc.1
- IL_00C8: ldarg.1
- IL_00C9: call static Verse.CompEquippable Verse.ThingCompUtility::TryGetComp(Verse.Thing thing)
- IL_00CE: stloc.2
- IL_00CF: ldloc.2
- IL_00D0: brfalse => Label8
- IL_00D5: ldarg.1
- IL_00D6: ldfld Verse.ThingDef Verse.Thing::def
- IL_00DB: ldloc.2
- IL_00DC: callvirt System.Collections.Generic.List`1<Verse.Verb> Verse.CompEquippable::get_AllVerbs()
- IL_00E1: call static Verse.Verb_LaunchProjectile RimWorld.EquipmentUtility::GetRecoilVerb(System.Collections.Generic.List`1<Verse.Verb> allWeaponVerbs)
- IL_00E6: ldloca.s 7 (UnityEngine.Vector3)
- IL_00E8: ldloca.s 8 (System.Single)
- IL_00EA: ldarg.3
- IL_00EB: call static System.Void RimWorld.EquipmentUtility::Recoil(Verse.ThingDef weaponDef, Verse.Verb_LaunchProjectile shootVerb, UnityEngine.Vector3& drawOffset, System.Single& angleOffset, System.Single aimAngle)
- IL_00F0: ldarg.2
- IL_00F1: ldloc.s 7 (UnityEngine.Vector3)
- IL_00F3: call static UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
- IL_00F8: starg.s 2
- IL_00FA: ldloc.1
- IL_00FB: ldloc.s 8 (System.Single)
- IL_00FD: add
- IL_00FE: stloc.1
- IL_00FF: Label8
- IL_00FF: ldnull
- IL_0100: stloc.3
- IL_0101: ldarg.1
- IL_0102: callvirt virtual Verse.Graphic Verse.Thing::get_Graphic()
- IL_0107: isinst Verse.Graphic_StackCount
- IL_010C: stloc.s 4 (Verse.Graphic_StackCount)
- IL_010E: ldloc.s 4 (Verse.Graphic_StackCount)
- IL_0110: brfalse => Label9
- IL_0115: ldloc.s 4 (Verse.Graphic_StackCount)
- IL_0117: ldc.i4.1
- IL_0118: ldarg.1
- IL_0119: ldfld Verse.ThingDef Verse.Thing::def
- IL_011E: callvirt Verse.Graphic Verse.Graphic_StackCount::SubGraphicForStackCount(System.Int32 stackCount, Verse.ThingDef def)
- IL_0123: ldarg.1
- IL_0124: callvirt virtual UnityEngine.Material Verse.Graphic::MatSingleFor(Verse.Thing thing)
- IL_0129: stloc.3
- IL_012A: br => Label10
- IL_012F: Label9
- IL_012F: ldarg.1
- IL_0130: callvirt virtual Verse.Graphic Verse.Thing::get_Graphic()
- IL_0135: ldarg.1
- IL_0136: callvirt virtual UnityEngine.Material Verse.Graphic::MatSingleFor(Verse.Thing thing)
- IL_013B: stloc.3
- IL_013C: Label10
- IL_013C: ldloca.s 5 (UnityEngine.Vector3)
- IL_013E: ldarg.1
- IL_013F: callvirt virtual Verse.Graphic Verse.Thing::get_Graphic()
- IL_0144: ldflda UnityEngine.Vector2 Verse.Graphic::drawSize
- IL_0149: ldfld System.Single UnityEngine.Vector2::x
- IL_014E: ldc.r4 0
- IL_0153: ldarg.1
- IL_0154: callvirt virtual Verse.Graphic Verse.Thing::get_Graphic()
- IL_0159: ldflda UnityEngine.Vector2 Verse.Graphic::drawSize
- IL_015E: ldfld System.Single UnityEngine.Vector2::y
- IL_0163: call System.Void UnityEngine.Vector3::.ctor(System.Single x, System.Single y, System.Single z)
- IL_0168: ldarg.2
- IL_0169: ldloc.1
- IL_016A: call static UnityEngine.Vector3 UnityEngine.Vector3::get_up()
- IL_016F: call static UnityEngine.Quaternion UnityEngine.Quaternion::AngleAxis(System.Single angle, UnityEngine.Vector3 axis)
- IL_0174: ldloc.s 5 (UnityEngine.Vector3)
- IL_0176: call static UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::TRS(UnityEngine.Vector3 pos, UnityEngine.Quaternion q, UnityEngine.Vector3 s)
- IL_017B: stloc.s 6 (UnityEngine.Matrix4x4)
- IL_017D: ldloc.0
- IL_017E: ldloc.s 6 (UnityEngine.Matrix4x4)
- IL_0180: ldloc.3
- IL_0181: ldc.i4.0
- IL_0182: call static System.Void UnityEngine.Graphics::DrawMesh(UnityEngine.Mesh mesh, UnityEngine.Matrix4x4 matrix, UnityEngine.Material material, System.Int32 layer)
- IL_0187: // end original
- IL_0187: Label0
- IL_0187: ret
- DONE
- ### Patch: System.Boolean Verse.Projectile::CheckForFreeInterceptBetween(UnityEngine.Vector3 lastExactPos, UnityEngine.Vector3 newExactPos)
- ### Replacement: static System.Boolean Verse.Projectile::Verse.Projectile.CheckForFreeInterceptBetween_Patch0(Verse.Projectile this, UnityEngine.Vector3 lastExactPos, UnityEngine.Vector3 newExactPos)
- IL_0000: Local var 0: System.Collections.Generic.List`1<Verse.Thing>
- IL_0000: Local var 1: Verse.IntVec3
- IL_0000: Local var 2: Verse.IntVec3
- IL_0000: Local var 3: UnityEngine.Vector3
- IL_0000: Local var 4: UnityEngine.Vector3
- IL_0000: Local var 5: UnityEngine.Vector3
- IL_0000: Local var 6: System.Int32
- IL_0000: Local var 7: System.Int32
- IL_0000: Local var 8: System.Int32
- IL_0000: Local var 9: Verse.IntVec3
- IL_0000: // start original
- IL_0000: ldarg.1
- IL_0001: ldarg.2
- IL_0002: call static System.Boolean UnityEngine.Vector3::op_Equality(UnityEngine.Vector3 lhs, UnityEngine.Vector3 rhs)
- IL_0007: brfalse => Label0
- IL_000C: ldc.i4.0
- IL_000D: br => Label14
- IL_0012: Label0
- IL_0012: ldarg.0
- IL_0013: call virtual Verse.Map Verse.Thing::get_Map()
- IL_0018: ldfld Verse.ListerThings Verse.Map::listerThings
- IL_001D: ldc.i4.s 47
- IL_001F: callvirt System.Collections.Generic.List`1<Verse.Thing> Verse.ListerThings::ThingsInGroup(Verse.ThingRequestGroup group)
- IL_0024: stloc.0
- IL_0025: ldc.i4.0
- IL_0026: stloc.s 8 (System.Int32)
- IL_0028: br => Label1
- IL_002D: Label3
- IL_002D: ldloc.0
- IL_002E: ldloc.s 8 (System.Int32)
- IL_0030: callvirt virtual Verse.Thing System.Collections.Generic.List`1<Verse.Thing>::get_Item(System.Int32 index)
- IL_0035: call static RimWorld.CompProjectileInterceptor Verse.ThingCompUtility::TryGetComp(Verse.Thing thing)
- IL_003A: ldarg.0
- IL_003B: ldarg.1
- IL_003C: ldarg.2
- IL_003D: callvirt System.Boolean RimWorld.CompProjectileInterceptor::CheckIntercept(Verse.Projectile projectile, UnityEngine.Vector3 lastExactPos, UnityEngine.Vector3 newExactPos)
- IL_0042: brfalse => Label2
- IL_0047: ldarg.0
- IL_0048: ldnull
- IL_0049: ldc.i4.1
- IL_004A: callvirt virtual System.Void Verse.Projectile::Impact(Verse.Thing hitThing, System.Boolean blockedByShield)
- IL_004F: ldc.i4.1
- IL_0050: br => Label15
- IL_0055: Label2
- IL_0055: ldloc.s 8 (System.Int32)
- IL_0057: ldc.i4.1
- IL_0058: add
- IL_0059: stloc.s 8 (System.Int32)
- IL_005B: Label1
- IL_005B: ldloc.s 8 (System.Int32)
- IL_005D: ldloc.0
- IL_005E: callvirt virtual System.Int32 System.Collections.Generic.List`1<Verse.Thing>::get_Count()
- IL_0063: blt => Label3
- IL_0068: ldarg.0
- IL_0069: ldarg.1
- IL_006A: ldarg.2
- IL_006B: call static System.Boolean EccentricProjectiles.HarmonyPatches::CheckIntercept(Verse.Projectile projectile, UnityEngine.Vector3 origin, UnityEngine.Vector3 destination)
- IL_0070: brfalse => Label13
- IL_0075: ldarg.0
- IL_0076: ldnull
- IL_0077: ldc.i4.1
- IL_0078: callvirt virtual System.Void Verse.Projectile::Impact(Verse.Thing hitThing, System.Boolean blockedByShield)
- IL_007D: ldc.i4.1
- IL_007E: br => Label16
- IL_0083: Label13
- IL_0083: nop
- IL_0084: ldarg.1
- IL_0085: call static Verse.IntVec3 Verse.IntVec3Utility::ToIntVec3(UnityEngine.Vector3 vect)
- IL_008A: stloc.1
- IL_008B: ldarg.2
- IL_008C: call static Verse.IntVec3 Verse.IntVec3Utility::ToIntVec3(UnityEngine.Vector3 vect)
- IL_0091: stloc.2
- IL_0092: ldloc.2
- IL_0093: ldloc.1
- IL_0094: call static System.Boolean Verse.IntVec3::op_Equality(Verse.IntVec3 a, Verse.IntVec3 b)
- IL_0099: brfalse => Label4
- IL_009E: ldc.i4.0
- IL_009F: br => Label17
- IL_00A4: Label4
- IL_00A4: ldloc.1
- IL_00A5: ldarg.0
- IL_00A6: call virtual Verse.Map Verse.Thing::get_Map()
- IL_00AB: call static System.Boolean Verse.GenGrid::InBounds(Verse.IntVec3 c, Verse.Map map)
- IL_00B0: brfalse => Label5
- IL_00B5: ldloc.2
- IL_00B6: ldarg.0
- IL_00B7: call virtual Verse.Map Verse.Thing::get_Map()
- IL_00BC: call static System.Boolean Verse.GenGrid::InBounds(Verse.IntVec3 c, Verse.Map map)
- IL_00C1: brtrue => Label6
- IL_00C6: Label5
- IL_00C6: ldc.i4.0
- IL_00C7: br => Label18
- IL_00CC: Label6
- IL_00CC: ldloca.s 2 (Verse.IntVec3)
- IL_00CE: ldloc.1
- IL_00CF: call System.Boolean Verse.IntVec3::AdjacentToCardinal(Verse.IntVec3 other)
- IL_00D4: brfalse => Label7
- IL_00D9: ldarg.0
- IL_00DA: ldloc.2
- IL_00DB: call System.Boolean Verse.Projectile::CheckForFreeIntercept(Verse.IntVec3 c)
- IL_00E0: br => Label19
- IL_00E5: Label7
- IL_00E5: ldarg.0
- IL_00E6: ldfld UnityEngine.Vector3 Verse.Projectile::origin
- IL_00EB: ldloc.2
- IL_00EC: call static System.Single Verse.VerbUtility::InterceptChanceFactorFromDistance(UnityEngine.Vector3 origin, Verse.IntVec3 c)
- IL_00F1: ldc.r4 0
- IL_00F6: bgt.un => Label8
- IL_00FB: ldc.i4.0
- IL_00FC: br => Label20
- IL_0101: Label8
- IL_0101: ldarg.1
- IL_0102: stloc.3
- IL_0103: ldarg.2
- IL_0104: ldarg.1
- IL_0105: call static UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
- IL_010A: stloc.s 4 (UnityEngine.Vector3)
- IL_010C: ldloca.s 4 (UnityEngine.Vector3)
- IL_010E: call UnityEngine.Vector3 UnityEngine.Vector3::get_normalized()
- IL_0113: ldc.r4 0.2
- IL_0118: call static UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3 a, System.Single d)
- IL_011D: stloc.s 5 (UnityEngine.Vector3)
- IL_011F: ldloc.s 4 (UnityEngine.Vector3)
- IL_0121: call static System.Single Verse.GenGeo::MagnitudeHorizontal(UnityEngine.Vector3 v)
- IL_0126: ldc.r4 0.2
- IL_012B: div
- IL_012C: conv.i4
- IL_012D: stloc.s 6 (System.Int32)
- IL_012F: ldsfld System.Collections.Generic.List`1<Verse.IntVec3> Verse.Projectile::checkedCells
- IL_0134: callvirt virtual System.Void System.Collections.Generic.List`1<Verse.IntVec3>::Clear()
- IL_0139: ldc.i4.0
- IL_013A: stloc.s 7 (System.Int32)
- IL_013C: Label12
- IL_013C: ldloc.3
- IL_013D: ldloc.s 5 (UnityEngine.Vector3)
- IL_013F: call static UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3 a, UnityEngine.Vector3 b)
- IL_0144: stloc.3
- IL_0145: ldloc.3
- IL_0146: call static Verse.IntVec3 Verse.IntVec3Utility::ToIntVec3(UnityEngine.Vector3 vect)
- IL_014B: stloc.s 9 (Verse.IntVec3)
- IL_014D: ldsfld System.Collections.Generic.List`1<Verse.IntVec3> Verse.Projectile::checkedCells
- IL_0152: ldloc.s 9 (Verse.IntVec3)
- IL_0154: callvirt virtual System.Boolean System.Collections.Generic.List`1<Verse.IntVec3>::Contains(Verse.IntVec3 item)
- IL_0159: brtrue => Label9
- IL_015E: ldarg.0
- IL_015F: ldloc.s 9 (Verse.IntVec3)
- IL_0161: call System.Boolean Verse.Projectile::CheckForFreeIntercept(Verse.IntVec3 c)
- IL_0166: brfalse => Label10
- IL_016B: ldc.i4.1
- IL_016C: br => Label21
- IL_0171: Label10
- IL_0171: ldsfld System.Collections.Generic.List`1<Verse.IntVec3> Verse.Projectile::checkedCells
- IL_0176: ldloc.s 9 (Verse.IntVec3)
- IL_0178: callvirt virtual System.Void System.Collections.Generic.List`1<Verse.IntVec3>::Add(Verse.IntVec3 item)
- IL_017D: Label9
- IL_017D: ldloc.s 7 (System.Int32)
- IL_017F: ldc.i4.1
- IL_0180: add
- IL_0181: stloc.s 7 (System.Int32)
- IL_0183: ldloc.s 7 (System.Int32)
- IL_0185: ldloc.s 6 (System.Int32)
- IL_0187: ble => Label11
- IL_018C: ldc.i4.0
- IL_018D: br => Label22
- IL_0192: Label11
- IL_0192: ldloc.s 9 (Verse.IntVec3)
- IL_0194: ldloc.2
- IL_0195: call static System.Boolean Verse.IntVec3::op_Equality(Verse.IntVec3 a, Verse.IntVec3 b)
- IL_019A: brfalse => Label12
- IL_019F: ldc.i4.0
- IL_01A0: // end original
- IL_01A0: Label14
- IL_01A0: Label15
- IL_01A0: Label16
- IL_01A0: Label17
- IL_01A0: Label18
- IL_01A0: Label19
- IL_01A0: Label20
- IL_01A0: Label21
- IL_01A0: Label22
- IL_01A0: ret
- DONE
- ### Patch: System.Void RimWorld.Bombardment::TryDoExplosion(RimWorld.BombardmentProjectile proj)
- ### Replacement: static System.Void RimWorld.Bombardment::RimWorld.Bombardment.TryDoExplosion_Patch0(RimWorld.Bombardment this, RimWorld.BombardmentProjectile proj)
- IL_0000: Local var 0: System.Collections.Generic.List`1<Verse.Thing>
- IL_0000: Local var 1: System.Int32
- IL_0000: Local var 2: Verse.ThingDef
- IL_0000: Local var 3: System.Nullable`1<Verse.GasType>
- IL_0000: Local var 4: System.Nullable`1<System.Single>
- IL_0000: Local var 5: System.Nullable`1<Verse.FloatRange>
- IL_0000: // start original
- IL_0000: ldarg.0
- IL_0001: call virtual Verse.Map Verse.Thing::get_Map()
- IL_0006: ldfld Verse.ListerThings Verse.Map::listerThings
- IL_000B: ldc.i4.s 47
- IL_000D: callvirt System.Collections.Generic.List`1<Verse.Thing> Verse.ListerThings::ThingsInGroup(Verse.ThingRequestGroup group)
- IL_0012: stloc.0
- IL_0013: ldc.i4.0
- IL_0014: stloc.1
- IL_0015: br => Label0
- IL_001A: Label2
- IL_001A: ldloc.0
- IL_001B: ldloc.1
- IL_001C: callvirt virtual Verse.Thing System.Collections.Generic.List`1<Verse.Thing>::get_Item(System.Int32 index)
- IL_0021: call static RimWorld.CompProjectileInterceptor Verse.ThingCompUtility::TryGetComp(Verse.Thing thing)
- IL_0026: ldarg.0
- IL_0027: ldarg.1
- IL_0028: callvirt System.Boolean RimWorld.CompProjectileInterceptor::CheckBombardmentIntercept(RimWorld.Bombardment bombardment, RimWorld.BombardmentProjectile projectile)
- IL_002D: brfalse => Label1
- IL_0032: br => Label4
- IL_0037: Label1
- IL_0037: ldloc.1
- IL_0038: ldc.i4.1
- IL_0039: add
- IL_003A: stloc.1
- IL_003B: Label0
- IL_003B: ldloc.1
- IL_003C: ldloc.0
- IL_003D: callvirt virtual System.Int32 System.Collections.Generic.List`1<Verse.Thing>::get_Count()
- IL_0042: blt => Label2
- IL_0047: ldarg.0
- IL_0048: ldarg.1
- IL_0049: call static System.Boolean EccentricProjectiles.HarmonyPatches::CheckInterceptBombardment(RimWorld.Bombardment bombardment, RimWorld.BombardmentProjectile projectile)
- IL_004E: brfalse => Label3
- IL_0053: br => Label5
- IL_0058: Label3
- IL_0058: nop
- IL_0059: ldarg.1
- IL_005A: ldfld Verse.IntVec3 RimWorld.BombardmentProjectile::targetCell
- IL_005F: ldarg.0
- IL_0060: call virtual Verse.Map Verse.Thing::get_Map()
- IL_0065: ldarg.0
- IL_0066: ldflda Verse.FloatRange RimWorld.Bombardment::explosionRadiusRange
- IL_006B: call System.Single Verse.FloatRange::get_RandomInRange()
- IL_0070: ldsfld Verse.DamageDef RimWorld.DamageDefOf::Bomb
- IL_0075: ldarg.0
- IL_0076: ldfld Verse.Thing RimWorld.OrbitalStrike::instigator
- IL_007B: ldc.i4.m1
- IL_007C: ldc.r4 -1
- IL_0081: ldnull
- IL_0082: ldarg.0
- IL_0083: ldfld Verse.ThingDef Verse.Thing::def
- IL_0088: stloc.2
- IL_0089: ldarg.0
- IL_008A: ldfld Verse.ThingDef RimWorld.OrbitalStrike::weaponDef
- IL_008F: ldloc.2
- IL_0090: ldnull
- IL_0091: ldnull
- IL_0092: ldc.r4 0
- IL_0097: ldc.i4.1
- IL_0098: ldloca.s 3 (System.Nullable`1[Verse.GasType])
- IL_009A: initobj System.Nullable`1[Verse.GasType]
- IL_00A0: ldloc.3
- IL_00A1: ldc.i4.0
- IL_00A2: ldnull
- IL_00A3: ldc.r4 0
- IL_00A8: ldc.i4.1
- IL_00A9: ldc.r4 0
- IL_00AE: ldc.i4.0
- IL_00AF: ldloca.s 4 (System.Nullable`1[System.Single])
- IL_00B1: initobj System.Nullable`1[System.Single]
- IL_00B7: ldloc.s 4 (System.Nullable`1[System.Single])
- IL_00B9: ldnull
- IL_00BA: ldloca.s 5 (System.Nullable`1[Verse.FloatRange])
- IL_00BC: initobj System.Nullable`1[Verse.FloatRange]
- IL_00C2: ldloc.s 5 (System.Nullable`1[Verse.FloatRange])
- IL_00C4: ldc.i4.1
- IL_00C5: ldc.r4 1
- IL_00CA: ldc.r4 0
- IL_00CF: ldc.i4.1
- IL_00D0: ldnull
- IL_00D1: ldc.r4 1
- IL_00D6: call static System.Void Verse.GenExplosion::DoExplosion(Verse.IntVec3 center, Verse.Map map, System.Single radius, Verse.DamageDef damType, Verse.Thing instigator, System.Int32 damAmount, System.Single armorPenetration, Verse.SoundDef explosionSound, Verse.ThingDef weapon, Verse.ThingDef projectile, Verse.Thing intendedTarget, Verse.ThingDef postExplosionSpawnThingDef, System.Single postExplosionSpawnChance, System.Int32 postExplosionSpawnThingCount, System.Nullable`1<Verse.GasType> postExplosionGasType, System.Boolean applyDamageToExplosionCellsNeighbors, Verse.ThingDef preExplosionSpawnThingDef, System.Single preExplosionSpawnChance, System.Int32 preExplosionSpawnThingCount, System.Single chanceToStartFire, System.Boolean damageFalloff, System.Nullable`1<System.Single> direction, System.Collections.Generic.List`1<Verse.Thing> ignoredThings, System.Nullable`1<Verse.FloatRange> affectedAngle, System.Boolean doVisualEffects, System.Single propagationSpeed, System.Single excludeRadius, System.Boolean doSoundEffects, Verse.ThingDef postExplosionSpawnThingDefWater, System.Single screenShakeFactor)
- IL_00DB: // end original
- IL_00DB: Label4
- IL_00DB: Label5
- IL_00DB: ret
- DONE
- ### Patch: virtual System.Void Verse.Pawn::SpawnSetup(Verse.Map map, System.Boolean respawningAfterLoad)
- ### Replacement: static System.Void Verse.Pawn::Verse.Pawn.SpawnSetup_Patch1(Verse.Pawn this, Verse.Map map, System.Boolean respawningAfterLoad)
- IL_0000: Local var 0: System.Exception
- IL_0000: Local var 1: System.Int32
- IL_0000: // start original
- IL_0000: ldarg.0
- IL_0001: call System.Boolean Verse.Pawn::get_Dead()
- IL_0006: brfalse => Label0
- IL_000B: ldstr "Tried to spawn Dead Pawn "
- IL_0010: ldarg.0
- IL_0011: call static System.String Verse.Gen::ToStringSafe(Verse.Pawn obj)
- IL_0016: ldstr ". Replacing with corpse."
- IL_001B: call static System.String System.String::Concat(System.String str0, System.String str1, System.String str2)
- IL_0020: call static System.Void Verse.Log::Warning(System.String text)
- IL_0025: ldarg.0
- IL_0026: call Verse.RaceProperties Verse.Pawn::get_RaceProps()
- IL_002B: ldfld Verse.ThingDef Verse.RaceProperties::corpseDef
- IL_0030: ldnull
- IL_0031: call static Verse.Thing Verse.ThingMaker::MakeThing(Verse.ThingDef def, Verse.ThingDef stuff)
- IL_0036: castclass Verse.Corpse
- IL_003B: dup
- IL_003C: ldarg.0
- IL_003D: callvirt System.Void Verse.Corpse::set_InnerPawn(Verse.Pawn value)
- IL_0042: ldarg.0
- IL_0043: call virtual Verse.IntVec3 Verse.Thing::get_Position()
- IL_0048: ldarg.1
- IL_0049: ldc.i4.0
- IL_004A: call static Verse.Thing Verse.GenSpawn::Spawn(Verse.Thing newThing, Verse.IntVec3 loc, Verse.Map map, Verse.WipeMode wipeMode)
- IL_004F: pop
- IL_0050: br => Label24
- IL_0055: Label0
- IL_0055: ldarg.0
- IL_0056: ldfld Verse.ThingDef Verse.Thing::def
- IL_005B: brfalse => Label1
- IL_0060: ldarg.0
- IL_0061: ldfld Verse.PawnKindDef Verse.Pawn::kindDef
- IL_0066: brtrue => Label2
- IL_006B: Label1
- IL_006B: ldstr "Tried to spawn pawn without def "
- IL_0070: ldarg.0
- IL_0071: call static System.String Verse.Gen::ToStringSafe(Verse.Pawn obj)
- IL_0076: ldstr "."
- IL_007B: call static System.String System.String::Concat(System.String str0, System.String str1, System.String str2)
- IL_0080: call static System.Void Verse.Log::Warning(System.String text)
- IL_0085: br => Label25
- IL_008A: Label2
- IL_008A: ldarg.0
- IL_008B: ldarg.1
- IL_008C: ldarg.2
- IL_008D: call virtual System.Void Verse.ThingWithComps::SpawnSetup(Verse.Map map, System.Boolean respawningAfterLoad)
- IL_0092: call static RimWorld.Planet.WorldPawns Verse.Find::get_WorldPawns()
- IL_0097: ldarg.0
- IL_0098: callvirt System.Boolean RimWorld.Planet.WorldPawns::Contains(Verse.Pawn p)
- IL_009D: brfalse => Label3
- IL_00A2: call static RimWorld.Planet.WorldPawns Verse.Find::get_WorldPawns()
- IL_00A7: ldarg.0
- IL_00A8: callvirt System.Void RimWorld.Planet.WorldPawns::RemovePawn(Verse.Pawn p)
- IL_00AD: Label3
- IL_00AD: ldarg.0
- IL_00AE: call static System.Void RimWorld.PawnComponentsUtility::AddComponentsForSpawn(Verse.Pawn pawn)
- IL_00B3: ldarg.0
- IL_00B4: call static System.Boolean RimWorld.PawnUtility::InValidState(Verse.Pawn p)
- IL_00B9: brtrue => Label4
- IL_00BE: ldstr "Pawn "
- IL_00C3: ldarg.0
- IL_00C4: call static System.String Verse.Gen::ToStringSafe(Verse.Pawn obj)
- IL_00C9: ldstr " spawned in invalid state. Destroying..."
- IL_00CE: call static System.String System.String::Concat(System.String str0, System.String str1, System.String str2)
- IL_00D3: call static System.Void Verse.Log::Error(System.String text)
- .try
- {
- IL_00D8: ldarg.0
- IL_00D9: ldc.i4.0
- IL_00DA: callvirt abstract virtual System.Void Verse.Entity::DeSpawn(Verse.DestroyMode mode)
- IL_00DF: leave => Label5
- IL_00E4: leave => (autogenerated)
- } // end try
- .catch System.Exception
- {
- IL_00E9: stloc.0
- IL_00EA: ldc.i4.4
- IL_00EB: newarr System.Object
- IL_00F0: dup
- IL_00F1: ldc.i4.0
- IL_00F2: ldstr "Tried to despawn "
- IL_00F7: stelem.ref
- IL_00F8: dup
- IL_00F9: ldc.i4.1
- IL_00FA: ldarg.0
- IL_00FB: call static System.String Verse.Gen::ToStringSafe(Verse.Pawn obj)
- IL_0100: stelem.ref
- IL_0101: dup
- IL_0102: ldc.i4.2
- IL_0103: ldstr " because of the previous error but couldn\'t: "
- IL_0108: stelem.ref
- IL_0109: dup
- IL_010A: ldc.i4.3
- IL_010B: ldloc.0
- IL_010C: stelem.ref
- IL_010D: call static System.String System.String::Concat(System.Object[] args)
- IL_0112: call static System.Void Verse.Log::Error(System.String text)
- IL_0117: leave => Label6
- IL_011C: leave => (autogenerated)
- } // end handler
- IL_0121: Label5
- IL_0121: Label6
- IL_0121: call static RimWorld.Planet.WorldPawns Verse.Find::get_WorldPawns()
- IL_0126: ldarg.0
- IL_0127: ldc.i4.2
- IL_0128: callvirt System.Void RimWorld.Planet.WorldPawns::PassToWorld(Verse.Pawn pawn, RimWorld.Planet.PawnDiscardDecideMode discardMode)
- IL_012D: br => Label30
- IL_0132: Label4
- IL_0132: ldarg.0
- IL_0133: call Verse.Pawn_DrawTracker Verse.Pawn::get_Drawer()
- IL_0138: callvirt System.Void Verse.Pawn_DrawTracker::Notify_Spawned()
- IL_013D: ldarg.0
- IL_013E: ldfld Verse.Pawn_RotationTracker Verse.Pawn::rotationTracker
- IL_0143: callvirt System.Void Verse.Pawn_RotationTracker::Notify_Spawned()
- IL_0148: ldarg.2
- IL_0149: brtrue => Label7
- IL_014E: ldarg.0
- IL_014F: ldfld Verse.AI.Pawn_PathFollower Verse.Pawn::pather
- IL_0154: callvirt System.Void Verse.AI.Pawn_PathFollower::ResetToCurrentPosition()
- IL_0159: Label7
- IL_0159: ldarg.0
- IL_015A: call virtual Verse.Map Verse.Thing::get_Map()
- IL_015F: ldfld Verse.MapPawns Verse.Map::mapPawns
- IL_0164: ldarg.0
- IL_0165: callvirt System.Void Verse.MapPawns::RegisterPawn(Verse.Pawn p)
- IL_016A: ldarg.0
- IL_016B: call virtual Verse.Map Verse.Thing::get_Map()
- IL_0170: ldfld Verse.AutoSlaughterManager Verse.Map::autoSlaughterManager
- IL_0175: callvirt System.Void Verse.AutoSlaughterManager::Notify_PawnSpawned()
- IL_017A: ldarg.0
- IL_017B: call Verse.RaceProperties Verse.Pawn::get_RaceProps()
- IL_0180: callvirt System.Boolean Verse.RaceProperties::get_IsFlesh()
- IL_0185: brfalse => Label8
- IL_018A: ldarg.0
- IL_018B: ldfld RimWorld.Pawn_RelationsTracker Verse.Pawn::relations
- IL_0190: ldc.i4.1
- IL_0191: stfld System.Boolean RimWorld.Pawn_RelationsTracker::everSeenByPlayer
- IL_0196: Label8
- IL_0196: ldarg.0
- IL_0197: call static System.Void RimWorld.AddictionUtility::CheckDrugAddictionTeachOpportunity(Verse.Pawn pawn)
- IL_019C: ldarg.0
- IL_019D: ldfld RimWorld.Pawn_NeedsTracker Verse.Pawn::needs
- IL_01A2: brfalse => Label9
- IL_01A7: ldarg.0
- IL_01A8: ldfld RimWorld.Pawn_NeedsTracker Verse.Pawn::needs
- IL_01AD: ldfld RimWorld.Need_Mood RimWorld.Pawn_NeedsTracker::mood
- IL_01B2: brfalse => Label10
- IL_01B7: ldarg.0
- IL_01B8: ldfld RimWorld.Pawn_NeedsTracker Verse.Pawn::needs
- IL_01BD: ldfld RimWorld.Need_Mood RimWorld.Pawn_NeedsTracker::mood
- IL_01C2: ldfld RimWorld.PawnRecentMemory RimWorld.Need_Mood::recentMemory
- IL_01C7: brfalse => Label11
- IL_01CC: ldarg.0
- IL_01CD: ldfld RimWorld.Pawn_NeedsTracker Verse.Pawn::needs
- IL_01D2: ldfld RimWorld.Need_Mood RimWorld.Pawn_NeedsTracker::mood
- IL_01D7: ldfld RimWorld.PawnRecentMemory RimWorld.Need_Mood::recentMemory
- IL_01DC: ldarg.2
- IL_01DD: callvirt System.Void RimWorld.PawnRecentMemory::Notify_Spawned(System.Boolean respawningAfterLoad)
- IL_01E2: Label9
- IL_01E2: Label10
- IL_01E2: Label11
- IL_01E2: ldarg.0
- IL_01E3: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
- IL_01E8: brfalse => Label12
- IL_01ED: ldarg.0
- IL_01EE: ldfld Verse.Pawn_EquipmentTracker Verse.Pawn::equipment
- IL_01F3: callvirt System.Void Verse.Pawn_EquipmentTracker::Notify_PawnSpawned()
- IL_01F8: Label12
- IL_01F8: ldarg.0
- IL_01F9: ldfld RimWorld.Pawn_MechanitorTracker Verse.Pawn::mechanitor
- IL_01FE: brfalse => Label13
- IL_0203: ldarg.0
- IL_0204: ldfld RimWorld.Pawn_MechanitorTracker Verse.Pawn::mechanitor
- IL_0209: ldarg.2
- IL_020A: callvirt System.Void RimWorld.Pawn_MechanitorTracker::Notify_PawnSpawned(System.Boolean respawningAfterLoad)
- IL_020F: Label13
- IL_020F: ldarg.0
- IL_0210: call virtual RimWorld.Faction Verse.Thing::get_Faction()
- IL_0215: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
- IL_021A: bne.un => Label14
- IL_021F: ldarg.0
- IL_0220: call RimWorld.Ideo Verse.Pawn::get_Ideo()
- IL_0225: dup
- IL_0226: brtrue => Label15
- IL_022B: pop
- IL_022C: br => Label16
- IL_0231: Label15
- IL_0231: call System.Int32 RimWorld.Ideo::RecacheColonistBelieverCount()
- IL_0236: pop
- IL_0237: Label14
- IL_0237: Label16
- IL_0237: ldarg.2
- IL_0238: brtrue => Label17
- IL_023D: call static RimWorld.GameEnder Verse.Find::get_GameEnder()
- IL_0242: callvirt System.Void RimWorld.GameEnder::CheckOrUpdateGameOver()
- IL_0247: ldarg.0
- IL_0248: call virtual RimWorld.Faction Verse.Thing::get_Faction()
- IL_024D: call static RimWorld.Faction RimWorld.Faction::get_OfPlayer()
- IL_0252: bne.un => Label18
- IL_0257: call static RimWorld.StoryWatcher Verse.Find::get_StoryWatcher()
- IL_025C: ldfld RimWorld.StatsRecord RimWorld.StoryWatcher::statsRecord
- IL_0261: callvirt System.Void RimWorld.StatsRecord::UpdateGreatestPopulation()
- IL_0266: call static RimWorld.Planet.World Verse.Find::get_World()
- IL_026B: callvirt virtual RimWorld.StoryState RimWorld.Planet.World::get_StoryState()
- IL_0270: callvirt System.Void RimWorld.StoryState::RecordPopulationIncrease()
- IL_0275: Label18
- IL_0275: ldarg.0
- IL_0276: call static System.Void RimWorld.PawnDiedOrDownedThoughtsUtility::RemoveDiedThoughts(Verse.Pawn pawn)
- IL_027B: ldarg.0
- IL_027C: call static System.Boolean RimWorld.QuestUtility::IsQuestLodger(Verse.Pawn p)
- IL_0281: brfalse => Label19
- IL_0286: ldarg.0
- IL_0287: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
- IL_028C: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
- IL_0291: ldfld System.Collections.Generic.List`1<Verse.Hediff> Verse.HediffSet::hediffs
- IL_0296: callvirt virtual System.Int32 System.Collections.Generic.List`1<Verse.Hediff>::get_Count()
- IL_029B: ldc.i4.1
- IL_029C: sub
- IL_029D: stloc.1
- IL_029E: br => Label20
- IL_02A3: Label22
- IL_02A3: ldarg.0
- IL_02A4: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
- IL_02A9: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
- IL_02AE: ldfld System.Collections.Generic.List`1<Verse.Hediff> Verse.HediffSet::hediffs
- IL_02B3: ldloc.1
- IL_02B4: callvirt virtual Verse.Hediff System.Collections.Generic.List`1<Verse.Hediff>::get_Item(System.Int32 index)
- IL_02B9: ldfld Verse.HediffDef Verse.Hediff::def
- IL_02BE: ldfld System.Boolean Verse.HediffDef::removeOnQuestLodgers
- IL_02C3: brfalse => Label21
- IL_02C8: ldarg.0
- IL_02C9: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
- IL_02CE: ldarg.0
- IL_02CF: ldfld Verse.Pawn_HealthTracker Verse.Pawn::health
- IL_02D4: ldfld Verse.HediffSet Verse.Pawn_HealthTracker::hediffSet
- IL_02D9: ldfld System.Collections.Generic.List`1<Verse.Hediff> Verse.HediffSet::hediffs
- IL_02DE: ldloc.1
- IL_02DF: callvirt virtual Verse.Hediff System.Collections.Generic.List`1<Verse.Hediff>::get_Item(System.Int32 index)
- IL_02E4: callvirt System.Void Verse.Pawn_HealthTracker::RemoveHediff(Verse.Hediff hediff)
- IL_02E9: Label21
- IL_02E9: ldloc.1
- IL_02EA: ldc.i4.1
- IL_02EB: sub
- IL_02EC: stloc.1
- IL_02ED: Label20
- IL_02ED: ldloc.1
- IL_02EE: ldc.i4.0
- IL_02EF: bge => Label22
- IL_02F4: Label17
- IL_02F4: Label19
- IL_02F4: ldarg.0
- IL_02F5: call Verse.RaceProperties Verse.Pawn::get_RaceProps()
- IL_02FA: ldfld Verse.SoundDef Verse.RaceProperties::soundAmbience
- IL_02FF: brfalse => Label23
- IL_0304: ldarg.0
- IL_0305: ldftn System.Void Verse.Pawn::<SpawnSetup>b__223_0()
- IL_030B: newobj System.Void System.Action::.ctor(System.Object object, System.IntPtr method)
- IL_0310: call static System.Void Verse.LongEventHandler::ExecuteWhenFinished(System.Action action)
- IL_0315: // end original
- IL_0315: Label23
- IL_0315: Label24
- IL_0315: Label25
- IL_0315: Label30
- IL_0315: ldarg.0
- IL_0316: ldarg 1
- IL_031A: call static System.Void EccentricProjectiles.HarmonyPatches::PawnSpawnSetup_Postfix(Verse.Pawn __instance, Verse.Map map)
- IL_031F: ret
- DONE
- ### Patch: virtual System.Void Verse.Pawn::DeSpawn(Verse.DestroyMode mode)
- ### Replacement: static System.Void Verse.Pawn::Verse.Pawn.DeSpawn_Patch1(Verse.Pawn this, Verse.DestroyMode mode)
- IL_0000: Local var 0: Verse.Map
- IL_0000: ldarg.0
- IL_0001: call static System.Void EccentricProjectiles.HarmonyPatches::PawnDeSpawn_Prefix(Verse.Pawn __instance)
- IL_0006: // start original
- IL_0006: ldarg.0
- IL_0007: call virtual Verse.Map Verse.Thing::get_Map()
- IL_000C: stloc.0
- IL_000D: ldarg.0
- IL_000E: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
- IL_0013: brfalse => Label0
- IL_0018: ldarg.0
- IL_0019: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
- IL_001E: ldfld Verse.AI.Job Verse.AI.Pawn_JobTracker::curJob
- IL_0023: brfalse => Label1
- IL_0028: ldarg.0
- IL_0029: ldfld Verse.AI.Pawn_JobTracker Verse.Pawn::jobs
- IL_002E: ldc.i4.0
- IL_002F: ldc.i4.1
- IL_0030: callvirt System.Void Verse.AI.Pawn_JobTracker::StopAll(System.Boolean ifLayingKeepLaying, System.Boolean canReturnToPool)
- IL_0035: Label0
- IL_0035: Label1
- IL_0035: ldarg.0
- IL_0036: ldarg.1
- IL_0037: call virtual System.Void Verse.ThingWithComps::DeSpawn(Verse.DestroyMode mode)
- IL_003C: ldarg.0
- IL_003D: ldfld Verse.AI.Pawn_PathFollower Verse.Pawn::pather
- IL_0042: brfalse => Label2
- IL_0047: ldarg.0
- IL_0048: ldfld Verse.AI.Pawn_PathFollower Verse.Pawn::pather
- IL_004D: callvirt System.Void Verse.AI.Pawn_PathFollower::StopDead()
- IL_0052: Label2
- IL_0052: ldarg.0
- IL_0053: ldfld RimWorld.Pawn_RopeTracker Verse.Pawn::roping
- IL_0058: dup
- IL_0059: brtrue => Label3
- IL_005E: pop
- IL_005F: br => Label4
- IL_0064: Label3
- IL_0064: call System.Void RimWorld.Pawn_RopeTracker::Notify_DeSpawned()
- IL_0069: Label4
- IL_0069: ldarg.0
- IL_006A: ldfld Verse.AI.Pawn_MindState Verse.Pawn::mindState
- IL_006F: ldnull
- IL_0070: stfld Verse.Thing Verse.AI.Pawn_MindState::droppedWeapon
- IL_0075: ldarg.0
- IL_0076: ldfld RimWorld.Pawn_NeedsTracker Verse.Pawn::needs
- IL_007B: brfalse => Label5
- IL_0080: ldarg.0
- IL_0081: ldfld RimWorld.Pawn_NeedsTracker Verse.Pawn::needs
- IL_0086: ldfld RimWorld.Need_Mood RimWorld.Pawn_NeedsTracker::mood
- IL_008B: brfalse => Label6
- IL_0090: ldarg.0
- IL_0091: ldfld RimWorld.Pawn_NeedsTracker Verse.Pawn::needs
- IL_0096: ldfld RimWorld.Need_Mood RimWorld.Pawn_NeedsTracker::mood
- IL_009B: ldfld RimWorld.ThoughtHandler RimWorld.Need_Mood::thoughts
- IL_00A0: ldfld RimWorld.SituationalThoughtHandler RimWorld.ThoughtHandler::situational
- IL_00A5: callvirt System.Void RimWorld.SituationalThoughtHandler::Notify_SituationalThoughtsDirty()
- IL_00AA: Label5
- IL_00AA: Label6
- IL_00AA: ldarg.0
- IL_00AB: ldfld RimWorld.Pawn_MeleeVerbs Verse.Pawn::meleeVerbs
- IL_00B0: brfalse => Label7
- IL_00B5: ldarg.0
- IL_00B6: ldfld RimWorld.Pawn_MeleeVerbs Verse.Pawn::meleeVerbs
- IL_00BB: callvirt System.Void RimWorld.Pawn_MeleeVerbs::Notify_PawnDespawned()
- IL_00C0: Label7
- IL_00C0: ldarg.0
- IL_00C1: ldfld RimWorld.Pawn_MechanitorTracker Verse.Pawn::mechanitor
- IL_00C6: dup
- IL_00C7: brtrue => Label8
- IL_00CC: pop
- IL_00CD: br => Label9
- IL_00D2: Label8
- IL_00D2: ldarg.1
- IL_00D3: call System.Void RimWorld.Pawn_MechanitorTracker::Notify_DeSpawned(Verse.DestroyMode mode)
- IL_00D8: Label9
- IL_00D8: ldarg.0
- IL_00D9: ldc.i4.0
- IL_00DA: call System.Void Verse.Pawn::ClearAllReservations(System.Boolean releaseDestinationsOnlyIfObsolete)
- IL_00DF: ldloc.0
- IL_00E0: brfalse => Label10
- IL_00E5: ldloc.0
- IL_00E6: ldfld Verse.MapPawns Verse.Map::mapPawns
- IL_00EB: ldarg.0
- IL_00EC: callvirt System.Void Verse.MapPawns::DeRegisterPawn(Verse.Pawn p)
- IL_00F1: ldloc.0
- IL_00F2: ldfld Verse.AutoSlaughterManager Verse.Map::autoSlaughterManager
- IL_00F7: callvirt System.Void Verse.AutoSlaughterManager::Notify_PawnDespawned()
- IL_00FC: Label10
- IL_00FC: ldarg.0
- IL_00FD: call static System.Void RimWorld.PawnComponentsUtility::RemoveComponentsOnDespawned(Verse.Pawn pawn)
- IL_0102: ldarg.0
- IL_0103: ldfld Verse.Sound.Sustainer Verse.Pawn::sustainerAmbient
- IL_0108: brfalse => Label11
- IL_010D: ldarg.0
- IL_010E: ldfld Verse.Sound.Sustainer Verse.Pawn::sustainerAmbient
- IL_0113: callvirt System.Void Verse.Sound.Sustainer::End()
- IL_0118: ldarg.0
- IL_0119: ldnull
- IL_011A: stfld Verse.Sound.Sustainer Verse.Pawn::sustainerAmbient
- IL_011F: // end original
- IL_011F: Label11
- IL_011F: ret
- DONE
Advertisement
Add Comment
Please, Sign In to add comment