SynthMaze/Builds/Alpha 1.0/Synth Maze_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/AstarPathfindingProject__3.cpp
2024-04-28 11:26:46 +02:00

29862 lines
1.3 MiB

#include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
struct VirtualActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct VirtualActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2, typename T3>
struct VirtualActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename R>
struct VirtualFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1>
struct VirtualFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R, typename T1, typename T2>
struct VirtualFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct VirtualFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct VirtualFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
struct InterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct InterfaceActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2, typename T3>
struct InterfaceActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename R>
struct InterfaceFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1>
struct InterfaceFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct InterfaceFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
struct InterfaceFuncInvoker5
{
typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
}
};
// System.Action`1<Pathfinding.NavmeshTile[]>
struct Action_1_tA3439EC8A386FAF754C06299F3FD4600EF357973;
// System.Action`1<Pathfinding.GraphNode>
struct Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5;
// System.Action`1<System.Object>
struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>
struct Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180;
// System.Collections.Generic.Dictionary`2<Pathfinding.NavGraph,System.Int32>
struct Dictionary_2_t57DE010FA204AEBA366AFF531618E9916A878D9D;
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
struct Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA;
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
struct Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889;
// System.Func`1<UnityEngine.Vector3>
struct Func_1_t58C51DB29153B53A9136AE397958F3FCC1F596EC;
// System.Func`2<Pathfinding.Connection,System.Boolean>
struct Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91;
// System.Func`2<Pathfinding.GraphNode,System.Boolean>
struct Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB;
// System.Func`2<Pathfinding.NavmeshTile,System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>>
struct Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130;
// System.Func`2<System.Object,System.Boolean>
struct Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00;
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
struct Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23;
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.TriangleMeshNode>
struct Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E;
// System.Collections.Generic.IComparer`1<Pathfinding.GraphNode>
struct IComparer_1_tBE33C31C48027A7B04A46E210D877CE0758C162A;
// System.Collections.Generic.IComparer`1<System.Object>
struct IComparer_1_tC0A12A847AF97F369A5CE9A0CCE71CE18EE1440E;
// System.Collections.Generic.IEnumerable`1<Pathfinding.Connection>
struct IEnumerable_1_t920F408891D6BAF805BF517EE14B9EBFB0079797;
// System.Collections.Generic.IEnumerable`1<Pathfinding.GraphNode>
struct IEnumerable_1_t3E745DA935CD89E19D03AEFF34B20B14CB943963;
// System.Collections.Generic.IEnumerable`1<System.Int32>
struct IEnumerable_1_tCE758D940790D6D0D56B457E522C195F8C413AF2;
// System.Collections.Generic.IEnumerable`1<System.Object>
struct IEnumerable_1_tF95C9E01A913DD50575531C8305932628663D9E9;
// System.Collections.Generic.IEnumerable`1<Pathfinding.Progress>
struct IEnumerable_1_t0064AAC2102BF24FE1A2441E4B32C75CA0C24B85;
// System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>
struct IEnumerable_1_t18EE40D3B9D971977B708F174EF91C6A6CC914E7;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Vector3>
struct IEnumerable_1_t5C1E5CDFEA99062D152E83B174072FEDB9763788;
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress>
struct IEnumerator_1_t5873E37892996C4E37155DAB51A1CBF55EE81B55;
// System.Collections.Generic.IEqualityComparer`1<Pathfinding.TriangleMeshNode>
struct IEqualityComparer_1_t65C0BF141BD3CEBE03BABD0439C13F81E1B30DE9;
// System.Collections.Generic.Dictionary`2/KeyCollection<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
struct KeyCollection_tA7BF47219F0BBF9B5BFFF0438E5DBC9788F63DA6;
// System.Collections.Generic.List`1<System.Boolean>
struct List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A;
// System.Collections.Generic.List`1<Pathfinding.Connection>
struct List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F;
// System.Collections.Generic.List`1<Pathfinding.GraphNode>
struct List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59;
// System.Collections.Generic.List`1<Pathfinding.IPathModifier>
struct List_1_t942307E6491535C222375071452B86EBA636C4CD;
// System.Collections.Generic.List`1<Pathfinding.Int3>
struct List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200;
// System.Collections.Generic.List`1<System.Int32>
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73;
// System.Collections.Generic.List`1<Pathfinding.MeshNode>
struct List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9;
// System.Collections.Generic.List`1<System.Object>
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D;
// System.Collections.Generic.List`1<System.String>
struct List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD;
// System.Collections.Generic.List`1<System.UInt32>
struct List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A;
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B;
// System.Collections.Generic.List`1<Pathfinding.Funnel/PathPart>
struct List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77;
// System.Collections.Generic.Queue`1<Pathfinding.GraphNode>
struct Queue_1_t650C221587750A78A5F24F28500F5EACF98E3822;
// System.Collections.Generic.Stack`1<Pathfinding.GraphNode[]>
struct Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73;
// System.Collections.Generic.Stack`1<System.Int32>
struct Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6;
// System.Collections.Generic.Stack`1<System.Object>
struct Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5;
// System.Collections.Generic.Dictionary`2/ValueCollection<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
struct ValueCollection_tF36CE635295D4731FFA1256FBA024025C9E832C5;
// System.Collections.Generic.Dictionary`2/Entry<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>[]
struct EntryU5BU5D_t3877E6E3A73A17100CC870EBC6AD42B7FAEE19B0;
// System.Collections.Generic.IComparer`1<Pathfinding.GraphNode>[]
struct IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2;
// System.Collections.Generic.List`1<Pathfinding.GraphNode>[]
struct List_1U5BU5D_t35DBA366950D94C09F4106122C8475036A4EFEBE;
// System.Collections.Generic.List`1<System.Int32>[]
struct List_1U5BU5D_t37294D7C303231F2FD83B3C398AED0937F4F3206;
// Pathfinding.GraphNode[][]
struct GraphNodeU5BU5DU5BU5D_t49101B425B640534143E0D7DAF00FA166162064C;
// System.Byte[]
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
// System.Char[]
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
// UnityEngine.Collider2D[]
struct Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034;
// Pathfinding.Connection[]
struct ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82;
// System.Delegate[]
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
// UnityEngine.GameObject[]
struct GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF;
// Pathfinding.GraphNode[]
struct GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557;
// Pathfinding.GridGraph[]
struct GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D;
// Pathfinding.GridNode[]
struct GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA;
// Pathfinding.INavmeshHolder[]
struct INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E;
// Pathfinding.Int3[]
struct Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926;
// System.Int32[]
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
// System.IntPtr[]
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
// Pathfinding.IntRect[]
struct IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE;
// Pathfinding.NavGraph[]
struct NavGraphU5BU5D_tCD8E01900C524AE9B8A467B06E1D606FB9E0FD93;
// Pathfinding.NavmeshTile[]
struct NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF;
// System.Object[]
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
// Pathfinding.PathNode[]
struct PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F;
// Pathfinding.PointNode[]
struct PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2;
// UnityEngine.RaycastHit[]
struct RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8;
// System.Single[]
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
// System.String[]
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
// Pathfinding.TriangleMeshNode[]
struct TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142;
// System.Type[]
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB;
// System.UInt32[]
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA;
// UnityEngine.Vector2[]
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
// Pathfinding.BBTree/BBTreeBox[]
struct BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A;
// Pathfinding.BinaryHeap/Tuple[]
struct TupleU5BU5D_tEA48D47F98E16D0FCC5E0CDF753BDC61A28D53CD;
// Pathfinding.Funnel/PathPart[]
struct PathPartU5BU5D_t47B37C2EE7F83186D2028EB90D9C12C6985385FA;
// Pathfinding.PointKDTree/Node[]
struct NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253;
// Pathfinding.ABPath
struct ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F;
// System.Action
struct Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07;
// Pathfinding.AlternativePath
struct AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19;
// System.ArgumentException
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263;
// System.ArgumentNullException
struct ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129;
// Pathfinding.AstarColor
struct AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632;
// Pathfinding.AstarData
struct AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81;
// AstarPath
struct AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760;
// Pathfinding.BBTree
struct BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E;
// Pathfinding.BinaryHeap
struct BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A;
// System.IO.BinaryReader
struct BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158;
// System.IO.BinaryWriter
struct BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E;
// UnityEngine.Component
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
// System.Text.Decoder
struct Decoder_tE16E789E38B25DD304004FC630EA8B21000ECBBC;
// System.DelegateData
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
// System.Text.Encoder
struct Encoder_tAF9067231A76315584BDF4CD27990E2F485A78FA;
// System.Text.Encoding
struct Encoding_t65CDEF28CF20A7B8C92E85A4E808920C2465F095;
// Pathfinding.EuclideanEmbedding
struct EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890;
// System.Exception
struct Exception_t;
// Pathfinding.FunnelModifier
struct FunnelModifier_tF924FDF9477B84DB3CC5F9462E9251B1FD10FCB5;
// UnityEngine.GameObject
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
// Pathfinding.GraphCollision
struct GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9;
// Pathfinding.Serialization.GraphMeta
struct GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79;
// Pathfinding.GraphNode
struct GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A;
// Pathfinding.Serialization.GraphSerializationContext
struct GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283;
// Pathfinding.Util.GraphTransform
struct GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426;
// Pathfinding.GraphUpdateObject
struct GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3;
// Pathfinding.GraphUpdateProcessor
struct GraphUpdateProcessor_t85A8143F946CAAF56C39223ACB7B75649E0D4598;
// Pathfinding.GraphUpdateShape
struct GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C;
// Pathfinding.GridGraph
struct GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC;
// Pathfinding.GridNode
struct GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578;
// Pathfinding.GridNodeBase
struct GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25;
// Pathfinding.HierarchicalGraph
struct HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8;
// System.Collections.IDictionary
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
// System.Collections.IEnumerator
struct IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA;
// Pathfinding.INavmeshHolder
struct INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81;
// Pathfinding.IPathModifier
struct IPathModifier_t5617519EAD3EB175D7C985572447D456FF1CAC49;
// Pathfinding.ITraversalProvider
struct ITraversalProvider_t474AA0687BE15276ECA6110D88A03BFFED8340A2;
// System.IO.MemoryStream
struct MemoryStream_tAAED1B42172E3390584E4194308AB878E786AAC2;
// UnityEngine.Mesh
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4;
// Pathfinding.MeshNode
struct MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// Pathfinding.MonoModifier
struct MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768;
// Pathfinding.NNConstraint
struct NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5;
// Pathfinding.NavGraph
struct NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0;
// Pathfinding.NavMeshGraph
struct NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B;
// Pathfinding.NavmeshBase
struct NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704;
// Pathfinding.NavmeshTile
struct NavmeshTile_tB162562405C06B86115076300DED318EC59873C0;
// Pathfinding.NavmeshUpdates
struct NavmeshUpdates_t7F920048D3085C42E645452F047686C8E51C4A77;
// Pathfinding.NodeLink3
struct NodeLink3_tAE1E7EF2606C6B093F2D46937692F8D1D638707F;
// Pathfinding.NodeLink3Node
struct NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94;
// System.NotSupportedException
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A;
// Pathfinding.ObjImporter
struct ObjImporter_t648B62A1FF9A887F6F8D9815F7847362BB26F617;
// UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
// Pathfinding.OnGraphDelegate
struct OnGraphDelegate_tDBDF2146A1F5472AAF480750BC84F179B134D858;
// Pathfinding.OnPathDelegate
struct OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4;
// Pathfinding.OnScanDelegate
struct OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88;
// Pathfinding.Path
struct Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A;
// Pathfinding.PathHandler
struct PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638;
// Pathfinding.PathModifier
struct PathModifier_t5F147EA05018864929F69B47D1A07F76A36E4414;
// Pathfinding.PathNode
struct PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A;
// Pathfinding.PathProcessor
struct PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C;
// Pathfinding.PathReturnQueue
struct PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31;
// Pathfinding.PointGraph
struct PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178;
// Pathfinding.PointKDTree
struct PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC;
// Pathfinding.PointNode
struct PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0;
// System.Random
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8;
// Pathfinding.RaycastModifier
struct RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0;
// Pathfinding.Util.RetainedGizmos
struct RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
// Pathfinding.Seeker
struct Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441;
// Pathfinding.Serialization.SerializeSettings
struct SerializeSettings_tD9568A89D0CA78EA5391BDACC5AC288C89B2D35F;
// Pathfinding.SimpleSmoothModifier
struct SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C;
// Pathfinding.StartEndModifier
struct StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7;
// System.IO.Stream
struct Stream_tF844051B786E8F7F4244DBD218D74E8617B9A2DE;
// System.IO.StreamReader
struct StreamReader_t81027449065C1B0C339DB46241D8001A6F61130B;
// System.String
struct String_t;
// System.Text.StringBuilder
struct StringBuilder_t;
// System.IO.StringReader
struct StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8;
// System.Threading.Tasks.Task
struct Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572;
// UnityEngine.TextAsset
struct TextAsset_t2C64E93DA366D9DE5A8209E1802FA4884AC1BD69;
// System.IO.TextReader
struct TextReader_tB8D43017CB6BE1633E5A86D64E7757366507C1F7;
// UnityEngine.Transform
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
// Pathfinding.TriangleMeshNode
struct TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80;
// System.Text.UTF8Encoding
struct UTF8Encoding_t90B56215A1B0B7ED5CDEA772E695F0DDAFBCD3BE;
// System.Version
struct Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7;
// Pathfinding.VersionedMonoBehaviour
struct VersionedMonoBehaviour_t13F17B0D6039238CC5328E19B6DBB74A6E9CFD3B;
// System.Void
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
// Pathfinding.WorkItemProcessor
struct WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5;
// Pathfinding.Ionic.Zip.ZipFile
struct ZipFile_t9DF6FA07046D82E186A9D42B3B8DBBAE516B89DF;
// Pathfinding.NavMeshGraph/<>c__DisplayClass19_0
struct U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0;
// Pathfinding.NavMeshGraph/<ScanInternal>d__21
struct U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E;
// Pathfinding.NavmeshBase/<>c
struct U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F;
// Pathfinding.NavmeshBase/<>c__DisplayClass74_0
struct U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE;
// Pathfinding.NavmeshBase/<>c__DisplayClass74_1
struct U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928;
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings
struct NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F;
// Pathfinding.PointGraph/<ConnectNodesAsync>d__34
struct U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886;
// Pathfinding.PointGraph/<ScanInternal>d__32
struct U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11;
// Pathfinding.PointKDTree/CompareX
struct CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640;
// Pathfinding.PointKDTree/CompareY
struct CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697;
// Pathfinding.PointKDTree/CompareZ
struct CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5;
// Pathfinding.RaycastModifier/Filter
struct Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE;
IL2CPP_EXTERN_C RuntimeClass* ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArrayPool_1_t140968A91FD5036E20A3A88A374CF27817EB0989_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArrayPool_1_t3AC346D71543F07B5D488BBBA66EA999C04143F2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArrayPool_1_t55739C3C0E2AD6C37884470952AD8C50316E13F4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerable_1_t0064AAC2102BF24FE1A2441E4B32C75CA0C24B85_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_1_t5873E37892996C4E37155DAB51A1CBF55EE81B55_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* INavmesh_tA28F6D8B4619D596B99A0107BC2CE0E1C642357B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IRaycastableGraph_t833F9A92A796447C85D2C83EFEC6CC894EAD7336_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ITransformedGraph_tF4C03A346ABB2DF1ACA9A31D063D66798ECBE91D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_t4C400CB95B7E553EF3DB6C4E398C859B8E2164E9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_t95EEBDA5121606BF041488FE36AD79404D5620C9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t96C3467432BCBA53327BCA69F3498356FA455EDC____F10EB800F205B09A732C0E1EB94A9D53194237405ABA783F698D7D11C18CFB89_2_FieldInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral00BB7BF1C78234AC40D473CAFECD550920F699BF;
IL2CPP_EXTERN_C String_t* _stringLiteral06D3F60B399DCA8172E7964E814A35D2D0ACEC50;
IL2CPP_EXTERN_C String_t* _stringLiteral174511C17A0C389A1C6989EC81BBFDFADFFFCDDE;
IL2CPP_EXTERN_C String_t* _stringLiteral1E4942D9212F2988432D6A5434D4D56E49892512;
IL2CPP_EXTERN_C String_t* _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745;
IL2CPP_EXTERN_C String_t* _stringLiteral27316A4940BF2B13EE1D13319104AE84C93A6010;
IL2CPP_EXTERN_C String_t* _stringLiteral2B9B6C84CC15492CCB290C4B79418FA6D7DD24C1;
IL2CPP_EXTERN_C String_t* _stringLiteral2C945D246C2B7897F000E1C591A686EB9EF010F0;
IL2CPP_EXTERN_C String_t* _stringLiteral2D841A409B1F9DABD0E771E042671CA745F846B0;
IL2CPP_EXTERN_C String_t* _stringLiteral3E321812348924F7AA224F948AC80E9E5A7841FE;
IL2CPP_EXTERN_C String_t* _stringLiteral40BB26162F88142489981625C395842722FE6881;
IL2CPP_EXTERN_C String_t* _stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D;
IL2CPP_EXTERN_C String_t* _stringLiteral47B064EEB40CF1A29DC7815158EAB966D01B9907;
IL2CPP_EXTERN_C String_t* _stringLiteral4B42BE46BB854D75F9A6082C831E3CFEEE2D648F;
IL2CPP_EXTERN_C String_t* _stringLiteral4B752498CA45AB14E5BD67D359EAE6F257213868;
IL2CPP_EXTERN_C String_t* _stringLiteral4E773BAC94EB3B80D321E74F2842A9CA34B296F4;
IL2CPP_EXTERN_C String_t* _stringLiteral4EA526C4094316E1ABDC97726C22C86A9A389C1A;
IL2CPP_EXTERN_C String_t* _stringLiteral529788B3A8B9D3896A06D6C788DD3831BB92F59A;
IL2CPP_EXTERN_C String_t* _stringLiteral53654C44A0EA960BF851DF7B706A8F16EB187F02;
IL2CPP_EXTERN_C String_t* _stringLiteral5425E4DDE72D9B019B45A16C8F497D3B7D8EE6B2;
IL2CPP_EXTERN_C String_t* _stringLiteral59BE7B947DEEDC98BF10D9E5A2F5DC31EEEEA46C;
IL2CPP_EXTERN_C String_t* _stringLiteral5A4E80934A5A137F1DE4A10FD04D11D2C4F9A83A;
IL2CPP_EXTERN_C String_t* _stringLiteral5C2A869861C346A190F25CA2098438E90837D8DE;
IL2CPP_EXTERN_C String_t* _stringLiteral77BED74CB52AF5F5CE7A8D081DA177FAB96A4177;
IL2CPP_EXTERN_C String_t* _stringLiteral795FE86F3DC9E2089D1A33EE091AF05050A47B7D;
IL2CPP_EXTERN_C String_t* _stringLiteral7A0FADE91808BFEA62C68743C2EF05BA007CD87F;
IL2CPP_EXTERN_C String_t* _stringLiteral816AF15D1D3239E081779CE3E6B255C50367DAC3;
IL2CPP_EXTERN_C String_t* _stringLiteral832717F6DAEDB69A0AB5F44CBE008C33CE5DD496;
IL2CPP_EXTERN_C String_t* _stringLiteral8A8EFDA91C6C257127F8C8D526FAD7E7552766AA;
IL2CPP_EXTERN_C String_t* _stringLiteral91BA0BFEE39A878ED243A61DE051D5D17B6388A0;
IL2CPP_EXTERN_C String_t* _stringLiteral92B4B04622775C57C3CFA9EACCAB56CAD2FBE663;
IL2CPP_EXTERN_C String_t* _stringLiteral9DFFC3267C5F999585E61B45BA9C8DF18D4B02CA;
IL2CPP_EXTERN_C String_t* _stringLiteralA067DCF7E189AC44F89249565422DE596AC9C3D6;
IL2CPP_EXTERN_C String_t* _stringLiteralA3CD0224CF2E61DE16825903B9A06B269894E21F;
IL2CPP_EXTERN_C String_t* _stringLiteralA59BC3B44764990046065BA0D84E1188DA162469;
IL2CPP_EXTERN_C String_t* _stringLiteralAE2888C62400EFA4A8E55D3F28E20EF765A79200;
IL2CPP_EXTERN_C String_t* _stringLiteralC55350EAD762E1CF489870067854921F4D9B67E3;
IL2CPP_EXTERN_C String_t* _stringLiteralC78109A2E5DE4620A5B6C18BF318B1B322C0D3C7;
IL2CPP_EXTERN_C String_t* _stringLiteralCE94086335F135C03B27A45802001093EBAFC2B5;
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
IL2CPP_EXTERN_C String_t* _stringLiteralF194DAEB0919B4940474DBA636771B1C24C3A2E2;
IL2CPP_EXTERN_C String_t* _stringLiteralFF58697ED636DB5BE0E1B0D11850ADEA3B188274;
IL2CPP_EXTERN_C String_t* _stringLiteralFF9F061FAD25E6BEA133D47C40B680E60D40D5CE;
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Claim_m497D9965DF6F084ED1C487DE7B20E1771A0225A2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Claim_m58490F73868B059517CF8CED5751A5EA5F6C5752_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Release_m0C8F5FE3750CC790D6CE6A1386E1FD752F3F5E41_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Release_mD700A63E5C6664397A961B7FF120378A7F0239A1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisSeeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441_m179FE34C9BA1E2ADE08520ABE3281BCB187FD629_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Item_m934D8B14E1E3E74E525628661C8AF9F13DF13B94_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_ToList_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m65FEE28653F8DBD49C9CCAACF6436DC0B39AA1EF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_Where_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_mA1F974DA2F049344009C424AE2314F445FCAAE66_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m46CB43B305187BFF94742C33D44905931B5F4572_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m1DC38C349B6712C1ECA850376CBC4CF87ABABE28_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_mF36B1C2353072BC4860616AEF9852ED47B114B65_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Filter_CanTraverse_m65B185F29033C9B4DDA295E33F96B0CC89E1ADB8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GridNodeBase_AddConnection_m6C44A470EB6480E7B7986653509EFD36A3938E93_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListExtensions_ClearFast_TisGraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A_m69A7B138C812E7BBD6740774B97D17BD3B5E8C2C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Claim_mFB263E7D84B814B9730990630F063CCFA3283D87_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_m45CDA4615068AD09237147BD0211A0DD4E4CFD99_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_m599A2865676852CD535EFC68BA2F0E383B8C5B52_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m5074E49FED0A20D75EEBFEF32BD7C59CBB6F0FEE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m3379DEA703C536D8D6F82BD9CDFC7441FC2D90CB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mA937F129E2EC4ED2E068F66C45A0D79F0189C78B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_m8E7E84C2827CAB2C135E174711A77AAC0E891C45_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Insert_mE7623D84AEA50E917A6371C1DD13D356C9190F2F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Sort_m2B87243B34780D3C92855FF64BC22237A14848A2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_m24C92EA16BBE53010A10A365A9D125EC585F92B0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m428B7CEE69C31C0EA0EDA9677F955093673BEB50_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mC9C44B14BF63B847909B4B23EB4912E2436D3132_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mCC0E71080DE343C1A527526A1AC2DBEC355CEA6C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PointGraph_AddNode_TisPointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_m60D98FCBC0CE62055DBBEAA711B9DB0F61BB4390_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PointKDTree_Rebuild_mB0BC3FAD6E992D25302C5F3206B1DF9C217B0441_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PointNode_AddConnection_mF60D20AB9AB35A16A5DF72862ABC6B524C0C6B74_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1_Pop_m5C7DA07E1026CCC9124C4D65FF17E3374517AB36_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1_Push_mB444F0EB42BA5EFBF28B234CCA60ED28D18FC680_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1__ctor_mB4CB1C12C21380C071C854B61038D8168C594071_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1_get_Count_m50B0D72C3B2B5493EBA5EF19E484CD2FD5A6109C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* StartEndModifier_Snap_m32883D7EBB0EB6E7516A8503906A7A367399E82D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TriangleMeshNode_GetPortal_mD6640BD4885273CC931E6FDBD00B15A59292B0FC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CConnectNodesAsyncU3Ed__34_System_Collections_IEnumerator_Reset_mD97ED99D0E06B906E9E59B201F7D23F6EB577202_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CScanInternalU3Ed__21_System_Collections_IEnumerator_Reset_m6DB46565E85CEE8B6938F45120DF6BC6916FD451_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CScanInternalU3Ed__32_System_Collections_IEnumerator_Reset_mC790E45C576DFF75B0B0A1851B60E1F84D66D179_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass19_0_U3CUpdateAreaU3Eb__0_m2129D10888EFF7B410FBADB8DB83600C0E05F15B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass74_1_U3CPostDeserializationU3Eb__4_m09B26A83C41D6B50D55BE7EBA99167371FC6D262_RuntimeMethod_var;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7;
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2;
struct IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2;
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
struct ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82;
struct GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF;
struct GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557;
struct GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D;
struct GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA;
struct INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E;
struct Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926;
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
struct IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE;
struct NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF;
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
struct PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2;
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
struct TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142;
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA;
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
struct BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A;
struct NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
struct Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889 : public RuntimeObject
{
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
EntryU5BU5D_t3877E6E3A73A17100CC870EBC6AD42B7FAEE19B0* ____entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::_count
int32_t ____count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
int32_t ____freeList_3;
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
int32_t ____freeCount_4;
// System.Int32 System.Collections.Generic.Dictionary`2::_version
int32_t ____version_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
RuntimeObject* ____comparer_6;
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
KeyCollection_tA7BF47219F0BBF9B5BFFF0438E5DBC9788F63DA6* ____keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
ValueCollection_tF36CE635295D4731FFA1256FBA024025C9E832C5* ____values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject* ____syncRoot_9;
};
// System.Collections.Generic.List`1<Pathfinding.Connection>
struct List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject* ____syncRoot_4;
};
// System.Collections.Generic.List`1<Pathfinding.GraphNode>
struct List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59 : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject* ____syncRoot_4;
};
// System.Collections.Generic.List`1<Pathfinding.Int3>
struct List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200 : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject* ____syncRoot_4;
};
// System.Collections.Generic.List`1<System.Int32>
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73 : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject* ____syncRoot_4;
};
// System.Collections.Generic.List`1<System.Object>
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject* ____syncRoot_4;
};
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject* ____syncRoot_4;
};
// System.Collections.Generic.List`1<Pathfinding.Funnel/PathPart>
struct List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77 : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
PathPartU5BU5D_t47B37C2EE7F83186D2028EB90D9C12C6985385FA* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject* ____syncRoot_4;
};
// System.Collections.Generic.Stack`1<Pathfinding.GraphNode[]>
struct Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73 : public RuntimeObject
{
// T[] System.Collections.Generic.Stack`1::_array
GraphNodeU5BU5DU5BU5D_t49101B425B640534143E0D7DAF00FA166162064C* ____array_0;
// System.Int32 System.Collections.Generic.Stack`1::_size
int32_t ____size_1;
// System.Int32 System.Collections.Generic.Stack`1::_version
int32_t ____version_2;
// System.Object System.Collections.Generic.Stack`1::_syncRoot
RuntimeObject* ____syncRoot_3;
};
// System.Collections.Generic.Stack`1<System.Object>
struct Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5 : public RuntimeObject
{
// T[] System.Collections.Generic.Stack`1::_array
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____array_0;
// System.Int32 System.Collections.Generic.Stack`1::_size
int32_t ____size_1;
// System.Int32 System.Collections.Generic.Stack`1::_version
int32_t ____version_2;
// System.Object System.Collections.Generic.Stack`1::_syncRoot
RuntimeObject* ____syncRoot_3;
};
// Pathfinding.AstarData
struct AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81 : public RuntimeObject
{
// Pathfinding.NavMeshGraph Pathfinding.AstarData::<navmesh>k__BackingField
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* ___U3CnavmeshU3Ek__BackingField_0;
// Pathfinding.GridGraph Pathfinding.AstarData::<gridGraph>k__BackingField
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* ___U3CgridGraphU3Ek__BackingField_1;
// Pathfinding.PointGraph Pathfinding.AstarData::<pointGraph>k__BackingField
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* ___U3CpointGraphU3Ek__BackingField_2;
// System.Type[] Pathfinding.AstarData::<graphTypes>k__BackingField
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___U3CgraphTypesU3Ek__BackingField_3;
// Pathfinding.NavGraph[] Pathfinding.AstarData::graphs
NavGraphU5BU5D_tCD8E01900C524AE9B8A467B06E1D606FB9E0FD93* ___graphs_4;
// System.String Pathfinding.AstarData::dataString
String_t* ___dataString_5;
// System.Byte[] Pathfinding.AstarData::upgradeData
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___upgradeData_6;
// UnityEngine.TextAsset Pathfinding.AstarData::file_cachedStartup
TextAsset_t2C64E93DA366D9DE5A8209E1802FA4884AC1BD69* ___file_cachedStartup_7;
// System.Byte[] Pathfinding.AstarData::data_cachedStartup
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___data_cachedStartup_8;
// System.Boolean Pathfinding.AstarData::cacheStartup
bool ___cacheStartup_9;
// System.Collections.Generic.List`1<System.Boolean> Pathfinding.AstarData::graphStructureLocked
List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* ___graphStructureLocked_10;
};
// Pathfinding.Serialization.AstarSerializer
struct AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0 : public RuntimeObject
{
// Pathfinding.AstarData Pathfinding.Serialization.AstarSerializer::data
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* ___data_0;
// Pathfinding.Ionic.Zip.ZipFile Pathfinding.Serialization.AstarSerializer::zip
ZipFile_t9DF6FA07046D82E186A9D42B3B8DBBAE516B89DF* ___zip_1;
// System.IO.MemoryStream Pathfinding.Serialization.AstarSerializer::zipStream
MemoryStream_tAAED1B42172E3390584E4194308AB878E786AAC2* ___zipStream_2;
// Pathfinding.Serialization.GraphMeta Pathfinding.Serialization.AstarSerializer::meta
GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79* ___meta_3;
// Pathfinding.Serialization.SerializeSettings Pathfinding.Serialization.AstarSerializer::settings
SerializeSettings_tD9568A89D0CA78EA5391BDACC5AC288C89B2D35F* ___settings_4;
// UnityEngine.GameObject Pathfinding.Serialization.AstarSerializer::contextRoot
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___contextRoot_5;
// Pathfinding.NavGraph[] Pathfinding.Serialization.AstarSerializer::graphs
NavGraphU5BU5D_tCD8E01900C524AE9B8A467B06E1D606FB9E0FD93* ___graphs_6;
// System.Collections.Generic.Dictionary`2<Pathfinding.NavGraph,System.Int32> Pathfinding.Serialization.AstarSerializer::graphIndexInZip
Dictionary_2_t57DE010FA204AEBA366AFF531618E9916A878D9D* ___graphIndexInZip_7;
// System.Int32 Pathfinding.Serialization.AstarSerializer::graphIndexOffset
int32_t ___graphIndexOffset_8;
// System.UInt32 Pathfinding.Serialization.AstarSerializer::checksum
uint32_t ___checksum_11;
// System.Text.UTF8Encoding Pathfinding.Serialization.AstarSerializer::encoding
UTF8Encoding_t90B56215A1B0B7ED5CDEA772E695F0DDAFBCD3BE* ___encoding_12;
};
// Pathfinding.BBTree
struct BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E : public RuntimeObject
{
// Pathfinding.BBTree/BBTreeBox[] Pathfinding.BBTree::tree
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* ___tree_0;
// Pathfinding.TriangleMeshNode[] Pathfinding.BBTree::nodeLookup
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___nodeLookup_1;
// System.Int32 Pathfinding.BBTree::count
int32_t ___count_2;
// System.Int32 Pathfinding.BBTree::leafNodes
int32_t ___leafNodes_3;
};
// Pathfinding.BinaryHeap
struct BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A : public RuntimeObject
{
// System.Int32 Pathfinding.BinaryHeap::numberOfItems
int32_t ___numberOfItems_0;
// System.Single Pathfinding.BinaryHeap::growthFactor
float ___growthFactor_1;
// Pathfinding.BinaryHeap/Tuple[] Pathfinding.BinaryHeap::heap
TupleU5BU5D_tEA48D47F98E16D0FCC5E0CDF753BDC61A28D53CD* ___heap_5;
};
// System.IO.BinaryReader
struct BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158 : public RuntimeObject
{
// System.IO.Stream System.IO.BinaryReader::m_stream
Stream_tF844051B786E8F7F4244DBD218D74E8617B9A2DE* ___m_stream_0;
// System.Byte[] System.IO.BinaryReader::m_buffer
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___m_buffer_1;
// System.Text.Decoder System.IO.BinaryReader::m_decoder
Decoder_tE16E789E38B25DD304004FC630EA8B21000ECBBC* ___m_decoder_2;
// System.Byte[] System.IO.BinaryReader::m_charBytes
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___m_charBytes_3;
// System.Char[] System.IO.BinaryReader::m_singleChar
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___m_singleChar_4;
// System.Char[] System.IO.BinaryReader::m_charBuffer
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___m_charBuffer_5;
// System.Int32 System.IO.BinaryReader::m_maxCharsSize
int32_t ___m_maxCharsSize_6;
// System.Boolean System.IO.BinaryReader::m_2BytesPerChar
bool ___m_2BytesPerChar_7;
// System.Boolean System.IO.BinaryReader::m_isMemoryStream
bool ___m_isMemoryStream_8;
// System.Boolean System.IO.BinaryReader::m_leaveOpen
bool ___m_leaveOpen_9;
};
// System.IO.BinaryWriter
struct BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E : public RuntimeObject
{
// System.IO.Stream System.IO.BinaryWriter::OutStream
Stream_tF844051B786E8F7F4244DBD218D74E8617B9A2DE* ___OutStream_1;
// System.Byte[] System.IO.BinaryWriter::_buffer
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ____buffer_2;
// System.Text.Encoding System.IO.BinaryWriter::_encoding
Encoding_t65CDEF28CF20A7B8C92E85A4E808920C2465F095* ____encoding_3;
// System.Text.Encoder System.IO.BinaryWriter::_encoder
Encoder_tAF9067231A76315584BDF4CD27990E2F485A78FA* ____encoder_4;
// System.Boolean System.IO.BinaryWriter::_leaveOpen
bool ____leaveOpen_5;
// System.Byte[] System.IO.BinaryWriter::_largeByteBuffer
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ____largeByteBuffer_6;
// System.Int32 System.IO.BinaryWriter::_maxChars
int32_t ____maxChars_7;
};
// Pathfinding.Serialization.GraphMeta
struct GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79 : public RuntimeObject
{
// System.Version Pathfinding.Serialization.GraphMeta::version
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___version_0;
// System.Int32 Pathfinding.Serialization.GraphMeta::graphs
int32_t ___graphs_1;
// System.Collections.Generic.List`1<System.String> Pathfinding.Serialization.GraphMeta::guids
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ___guids_2;
// System.Collections.Generic.List`1<System.String> Pathfinding.Serialization.GraphMeta::typeNames
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ___typeNames_3;
};
// Pathfinding.Serialization.GraphSerializationContext
struct GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283 : public RuntimeObject
{
// Pathfinding.GraphNode[] Pathfinding.Serialization.GraphSerializationContext::id2NodeMapping
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___id2NodeMapping_0;
// System.IO.BinaryReader Pathfinding.Serialization.GraphSerializationContext::reader
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* ___reader_1;
// System.IO.BinaryWriter Pathfinding.Serialization.GraphSerializationContext::writer
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* ___writer_2;
// System.UInt32 Pathfinding.Serialization.GraphSerializationContext::graphIndex
uint32_t ___graphIndex_3;
// Pathfinding.Serialization.GraphMeta Pathfinding.Serialization.GraphSerializationContext::meta
GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79* ___meta_4;
};
// Pathfinding.HierarchicalGraph
struct HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8 : public RuntimeObject
{
// System.Collections.Generic.List`1<Pathfinding.GraphNode>[] Pathfinding.HierarchicalGraph::children
List_1U5BU5D_t35DBA366950D94C09F4106122C8475036A4EFEBE* ___children_3;
// System.Collections.Generic.List`1<System.Int32>[] Pathfinding.HierarchicalGraph::connections
List_1U5BU5D_t37294D7C303231F2FD83B3C398AED0937F4F3206* ___connections_4;
// System.Int32[] Pathfinding.HierarchicalGraph::areas
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___areas_5;
// System.Byte[] Pathfinding.HierarchicalGraph::dirty
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___dirty_6;
// System.Int32 Pathfinding.HierarchicalGraph::<version>k__BackingField
int32_t ___U3CversionU3Ek__BackingField_7;
// System.Action Pathfinding.HierarchicalGraph::onConnectedComponentsChanged
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___onConnectedComponentsChanged_8;
// System.Action`1<Pathfinding.GraphNode> Pathfinding.HierarchicalGraph::connectionCallback
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___connectionCallback_9;
// System.Collections.Generic.Queue`1<Pathfinding.GraphNode> Pathfinding.HierarchicalGraph::temporaryQueue
Queue_1_t650C221587750A78A5F24F28500F5EACF98E3822* ___temporaryQueue_10;
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.HierarchicalGraph::currentChildren
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___currentChildren_11;
// System.Collections.Generic.List`1<System.Int32> Pathfinding.HierarchicalGraph::currentConnections
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___currentConnections_12;
// System.Int32 Pathfinding.HierarchicalGraph::currentHierarchicalNodeIndex
int32_t ___currentHierarchicalNodeIndex_13;
// System.Collections.Generic.Stack`1<System.Int32> Pathfinding.HierarchicalGraph::temporaryStack
Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* ___temporaryStack_14;
// System.Int32 Pathfinding.HierarchicalGraph::numDirtyNodes
int32_t ___numDirtyNodes_15;
// Pathfinding.GraphNode[] Pathfinding.HierarchicalGraph::dirtyNodes
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___dirtyNodes_16;
// System.Collections.Generic.Stack`1<System.Int32> Pathfinding.HierarchicalGraph::freeNodeIndices
Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* ___freeNodeIndices_17;
// System.Int32 Pathfinding.HierarchicalGraph::gizmoVersion
int32_t ___gizmoVersion_18;
// System.Int32 Pathfinding.HierarchicalGraph::<NumConnectedComponents>k__BackingField
int32_t ___U3CNumConnectedComponentsU3Ek__BackingField_19;
};
// System.MarshalByRefObject
struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE : public RuntimeObject
{
// System.Object System.MarshalByRefObject::_identity
RuntimeObject* ____identity_0;
};
// Native definition for P/Invoke marshalling of System.MarshalByRefObject
struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_pinvoke
{
Il2CppIUnknown* ____identity_0;
};
// Native definition for COM marshalling of System.MarshalByRefObject
struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_com
{
Il2CppIUnknown* ____identity_0;
};
// Pathfinding.NavmeshTile
struct NavmeshTile_tB162562405C06B86115076300DED318EC59873C0 : public RuntimeObject
{
// System.Int32[] Pathfinding.NavmeshTile::tris
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___tris_0;
// Pathfinding.Int3[] Pathfinding.NavmeshTile::verts
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___verts_1;
// Pathfinding.Int3[] Pathfinding.NavmeshTile::vertsInGraphSpace
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___vertsInGraphSpace_2;
// System.Int32 Pathfinding.NavmeshTile::x
int32_t ___x_3;
// System.Int32 Pathfinding.NavmeshTile::z
int32_t ___z_4;
// System.Int32 Pathfinding.NavmeshTile::w
int32_t ___w_5;
// System.Int32 Pathfinding.NavmeshTile::d
int32_t ___d_6;
// Pathfinding.TriangleMeshNode[] Pathfinding.NavmeshTile::nodes
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___nodes_7;
// Pathfinding.BBTree Pathfinding.NavmeshTile::bbTree
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* ___bbTree_8;
// System.Boolean Pathfinding.NavmeshTile::flag
bool ___flag_9;
// Pathfinding.NavmeshBase Pathfinding.NavmeshTile::graph
NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* ___graph_10;
};
// Pathfinding.ObjImporter
struct ObjImporter_t648B62A1FF9A887F6F8D9815F7847362BB26F617 : public RuntimeObject
{
};
// Pathfinding.PathHandler
struct PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638 : public RuntimeObject
{
// System.UInt16 Pathfinding.PathHandler::pathID
uint16_t ___pathID_0;
// System.Int32 Pathfinding.PathHandler::threadID
int32_t ___threadID_1;
// System.Int32 Pathfinding.PathHandler::totalThreadCount
int32_t ___totalThreadCount_2;
// Pathfinding.BinaryHeap Pathfinding.PathHandler::heap
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* ___heap_3;
// Pathfinding.PathNode[] Pathfinding.PathHandler::nodes
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* ___nodes_4;
// System.Text.StringBuilder Pathfinding.PathHandler::DebugStringBuilder
StringBuilder_t* ___DebugStringBuilder_5;
};
// Pathfinding.PathModifier
struct PathModifier_t5F147EA05018864929F69B47D1A07F76A36E4414 : public RuntimeObject
{
// Pathfinding.Seeker Pathfinding.PathModifier::seeker
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* ___seeker_0;
};
// Pathfinding.PathNode
struct PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A : public RuntimeObject
{
// Pathfinding.GraphNode Pathfinding.PathNode::node
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
// Pathfinding.PathNode Pathfinding.PathNode::parent
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___parent_1;
// System.UInt16 Pathfinding.PathNode::pathID
uint16_t ___pathID_2;
// System.UInt16 Pathfinding.PathNode::heapIndex
uint16_t ___heapIndex_3;
// System.UInt32 Pathfinding.PathNode::flags
uint32_t ___flags_4;
// System.UInt32 Pathfinding.PathNode::g
uint32_t ___g_10;
// System.UInt32 Pathfinding.PathNode::h
uint32_t ___h_11;
};
// Pathfinding.PointKDTree
struct PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC : public RuntimeObject
{
// Pathfinding.PointKDTree/Node[] Pathfinding.PointKDTree::tree
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* ___tree_2;
// System.Int32 Pathfinding.PointKDTree::numNodes
int32_t ___numNodes_3;
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.PointKDTree::largeList
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___largeList_4;
// System.Collections.Generic.Stack`1<Pathfinding.GraphNode[]> Pathfinding.PointKDTree::arrayCache
Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* ___arrayCache_5;
};
// System.Random
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8 : public RuntimeObject
{
// System.Int32 System.Random::_inext
int32_t ____inext_3;
// System.Int32 System.Random::_inextp
int32_t ____inextp_4;
// System.Int32[] System.Random::_seedArray
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____seedArray_5;
};
// System.String
struct String_t : public RuntimeObject
{
// System.Int32 System.String::_stringLength
int32_t ____stringLength_4;
// System.Char System.String::_firstChar
Il2CppChar ____firstChar_5;
};
// System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
{
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
{
};
// System.Version
struct Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7 : public RuntimeObject
{
// System.Int32 System.Version::_Major
int32_t ____Major_0;
// System.Int32 System.Version::_Minor
int32_t ____Minor_1;
// System.Int32 System.Version::_Build
int32_t ____Build_2;
// System.Int32 System.Version::_Revision
int32_t ____Revision_3;
};
// Pathfinding.NavmeshBase/<>c
struct U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F : public RuntimeObject
{
};
// Pathfinding.NavmeshBase/<>c__DisplayClass74_0
struct U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE : public RuntimeObject
{
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]> Pathfinding.NavmeshBase/<>c__DisplayClass74_0::conns
Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889* ___conns_0;
};
// Pathfinding.NavmeshBase/<>c__DisplayClass74_1
struct U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928 : public RuntimeObject
{
// Pathfinding.TriangleMeshNode Pathfinding.NavmeshBase/<>c__DisplayClass74_1::triNode
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* ___triNode_0;
// System.Func`2<Pathfinding.Connection,System.Boolean> Pathfinding.NavmeshBase/<>c__DisplayClass74_1::<>9__4
Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* ___U3CU3E9__4_1;
};
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings
struct NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F : public RuntimeObject
{
};
// Pathfinding.PointKDTree/CompareX
struct CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640 : public RuntimeObject
{
};
// Pathfinding.PointKDTree/CompareY
struct CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697 : public RuntimeObject
{
};
// Pathfinding.PointKDTree/CompareZ
struct CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5 : public RuntimeObject
{
};
// Pathfinding.RaycastModifier/Filter
struct Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE : public RuntimeObject
{
// Pathfinding.Path Pathfinding.RaycastModifier/Filter::path
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___path_0;
// System.Func`2<Pathfinding.GraphNode,System.Boolean> Pathfinding.RaycastModifier/Filter::cachedDelegate
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* ___cachedDelegate_1;
};
// System.Boolean
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
{
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
};
// System.Byte
struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
{
// System.Byte System.Byte::m_value
uint8_t ___m_value_0;
};
// System.Char
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
{
// System.Char System.Char::m_value
Il2CppChar ___m_value_0;
};
// UnityEngine.Color
struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
{
// System.Single UnityEngine.Color::r
float ___r_0;
// System.Single UnityEngine.Color::g
float ___g_1;
// System.Single UnityEngine.Color::b
float ___b_2;
// System.Single UnityEngine.Color::a
float ___a_3;
};
// Pathfinding.Connection
struct Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0
{
// Pathfinding.GraphNode Pathfinding.Connection::node
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
// System.UInt32 Pathfinding.Connection::cost
uint32_t ___cost_1;
// System.Byte Pathfinding.Connection::shapeEdge
uint8_t ___shapeEdge_2;
};
// Native definition for P/Invoke marshalling of Pathfinding.Connection
struct Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_pinvoke
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
uint32_t ___cost_1;
uint8_t ___shapeEdge_2;
};
// Native definition for COM marshalling of Pathfinding.Connection
struct Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_com
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
uint32_t ___cost_1;
uint8_t ___shapeEdge_2;
};
// System.Double
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
{
// System.Double System.Double::m_value
double ___m_value_0;
};
// System.Enum
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
{
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
{
};
// Pathfinding.GraphMask
struct GraphMask_t0D3B81600BFA722AB8C720E124358F9ABA57D404
{
// System.Int32 Pathfinding.GraphMask::value
int32_t ___value_0;
};
// Pathfinding.Util.Guid
struct Guid_tBC9E5F061A2D2C250FE723BF5874F7DFCE0A983A
{
// System.UInt64 Pathfinding.Util.Guid::_a
uint64_t ____a_3;
// System.UInt64 Pathfinding.Util.Guid::_b
uint64_t ____b_4;
};
// Pathfinding.Int3
struct Int3_t3D1B990C798A218E8F705930EF9F0A373A439553
{
// System.Int32 Pathfinding.Int3::x
int32_t ___x_0;
// System.Int32 Pathfinding.Int3::y
int32_t ___y_1;
// System.Int32 Pathfinding.Int3::z
int32_t ___z_2;
};
// System.Int32
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
{
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
};
// System.Int64
struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
{
// System.Int64 System.Int64::m_value
int64_t ___m_value_0;
};
// System.IntPtr
struct IntPtr_t
{
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
};
// Pathfinding.IntRect
struct IntRect_t60B6F9748EA84B611917F6C791199A0122F51312
{
// System.Int32 Pathfinding.IntRect::xmin
int32_t ___xmin_0;
// System.Int32 Pathfinding.IntRect::ymin
int32_t ___ymin_1;
// System.Int32 Pathfinding.IntRect::xmax
int32_t ___xmax_2;
// System.Int32 Pathfinding.IntRect::ymax
int32_t ___ymax_3;
};
// UnityEngine.LayerMask
struct LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB
{
// System.Int32 UnityEngine.LayerMask::m_Mask
int32_t ___m_Mask_0;
};
// UnityEngine.Mathf
struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682
{
union
{
struct
{
};
uint8_t Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682__padding[1];
};
};
// UnityEngine.Matrix4x4
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6
{
// System.Single UnityEngine.Matrix4x4::m00
float ___m00_0;
// System.Single UnityEngine.Matrix4x4::m10
float ___m10_1;
// System.Single UnityEngine.Matrix4x4::m20
float ___m20_2;
// System.Single UnityEngine.Matrix4x4::m30
float ___m30_3;
// System.Single UnityEngine.Matrix4x4::m01
float ___m01_4;
// System.Single UnityEngine.Matrix4x4::m11
float ___m11_5;
// System.Single UnityEngine.Matrix4x4::m21
float ___m21_6;
// System.Single UnityEngine.Matrix4x4::m31
float ___m31_7;
// System.Single UnityEngine.Matrix4x4::m02
float ___m02_8;
// System.Single UnityEngine.Matrix4x4::m12
float ___m12_9;
// System.Single UnityEngine.Matrix4x4::m22
float ___m22_10;
// System.Single UnityEngine.Matrix4x4::m32
float ___m32_11;
// System.Single UnityEngine.Matrix4x4::m03
float ___m03_12;
// System.Single UnityEngine.Matrix4x4::m13
float ___m13_13;
// System.Single UnityEngine.Matrix4x4::m23
float ___m23_14;
// System.Single UnityEngine.Matrix4x4::m33
float ___m33_15;
};
// Pathfinding.Progress
struct Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8
{
// System.Single Pathfinding.Progress::progress
float ___progress_0;
// System.String Pathfinding.Progress::description
String_t* ___description_1;
};
// Native definition for P/Invoke marshalling of Pathfinding.Progress
struct Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_marshaled_pinvoke
{
float ___progress_0;
char* ___description_1;
};
// Native definition for COM marshalling of Pathfinding.Progress
struct Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_marshaled_com
{
float ___progress_0;
Il2CppChar* ___description_1;
};
// UnityEngine.Quaternion
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
{
// System.Single UnityEngine.Quaternion::x
float ___x_0;
// System.Single UnityEngine.Quaternion::y
float ___y_1;
// System.Single UnityEngine.Quaternion::z
float ___z_2;
// System.Single UnityEngine.Quaternion::w
float ___w_3;
};
// UnityEngine.Rect
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
{
// System.Single UnityEngine.Rect::m_XMin
float ___m_XMin_0;
// System.Single UnityEngine.Rect::m_YMin
float ___m_YMin_1;
// System.Single UnityEngine.Rect::m_Width
float ___m_Width_2;
// System.Single UnityEngine.Rect::m_Height
float ___m_Height_3;
};
// System.Single
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
{
// System.Single System.Single::m_value
float ___m_value_0;
};
// System.IO.TextReader
struct TextReader_tB8D43017CB6BE1633E5A86D64E7757366507C1F7 : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE
{
};
// System.UInt16
struct UInt16_tF4C148C876015C212FD72652D0B6ED8CC247A455
{
// System.UInt16 System.UInt16::m_value
uint16_t ___m_value_0;
};
// System.UInt32
struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
{
// System.UInt32 System.UInt32::m_value
uint32_t ___m_value_0;
};
// UnityEngine.Vector2
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
{
// System.Single UnityEngine.Vector2::x
float ___x_0;
// System.Single UnityEngine.Vector2::y
float ___y_1;
};
// UnityEngine.Vector3
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
{
// System.Single UnityEngine.Vector3::x
float ___x_2;
// System.Single UnityEngine.Vector3::y
float ___y_3;
// System.Single UnityEngine.Vector3::z
float ___z_4;
};
// System.Void
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
{
union
{
struct
{
};
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
};
};
// Pathfinding.Funnel/FunnelPortals
struct FunnelPortals_tE9EAFDA27FDFC407CC8FD385317739A3ADFD2EEF
{
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.Funnel/FunnelPortals::left
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___left_0;
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.Funnel/FunnelPortals::right
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___right_1;
};
// Native definition for P/Invoke marshalling of Pathfinding.Funnel/FunnelPortals
struct FunnelPortals_tE9EAFDA27FDFC407CC8FD385317739A3ADFD2EEF_marshaled_pinvoke
{
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___left_0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___right_1;
};
// Native definition for COM marshalling of Pathfinding.Funnel/FunnelPortals
struct FunnelPortals_tE9EAFDA27FDFC407CC8FD385317739A3ADFD2EEF_marshaled_com
{
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___left_0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___right_1;
};
// Pathfinding.ObjImporter/meshStruct
struct meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E
{
// UnityEngine.Vector3[] Pathfinding.ObjImporter/meshStruct::vertices
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___vertices_0;
// UnityEngine.Vector3[] Pathfinding.ObjImporter/meshStruct::normals
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___normals_1;
// UnityEngine.Vector2[] Pathfinding.ObjImporter/meshStruct::uv
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___uv_2;
// System.Int32[] Pathfinding.ObjImporter/meshStruct::triangles
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___triangles_3;
// UnityEngine.Vector3[] Pathfinding.ObjImporter/meshStruct::faceData
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___faceData_4;
// System.String Pathfinding.ObjImporter/meshStruct::fileName
String_t* ___fileName_5;
};
// Native definition for P/Invoke marshalling of Pathfinding.ObjImporter/meshStruct
struct meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshaled_pinvoke
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___vertices_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___normals_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* ___uv_2;
Il2CppSafeArray/*NONE*/* ___triangles_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___faceData_4;
char* ___fileName_5;
};
// Native definition for COM marshalling of Pathfinding.ObjImporter/meshStruct
struct meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshaled_com
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___vertices_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___normals_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* ___uv_2;
Il2CppSafeArray/*NONE*/* ___triangles_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___faceData_4;
Il2CppChar* ___fileName_5;
};
// Pathfinding.PathProcessor/GraphUpdateLock
struct GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3
{
// Pathfinding.PathProcessor Pathfinding.PathProcessor/GraphUpdateLock::pathProcessor
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___pathProcessor_0;
// System.Int32 Pathfinding.PathProcessor/GraphUpdateLock::id
int32_t ___id_1;
};
// Native definition for P/Invoke marshalling of Pathfinding.PathProcessor/GraphUpdateLock
struct GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_pinvoke
{
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___pathProcessor_0;
int32_t ___id_1;
};
// Native definition for COM marshalling of Pathfinding.PathProcessor/GraphUpdateLock
struct GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_com
{
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___pathProcessor_0;
int32_t ___id_1;
};
// Pathfinding.PointKDTree/Node
struct Node_t43228590B77931D856C0EB4966838C08B95E580C
{
// Pathfinding.GraphNode[] Pathfinding.PointKDTree/Node::data
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___data_0;
// System.Int32 Pathfinding.PointKDTree/Node::split
int32_t ___split_1;
// System.UInt16 Pathfinding.PointKDTree/Node::count
uint16_t ___count_2;
// System.Byte Pathfinding.PointKDTree/Node::splitAxis
uint8_t ___splitAxis_3;
};
// Native definition for P/Invoke marshalling of Pathfinding.PointKDTree/Node
struct Node_t43228590B77931D856C0EB4966838C08B95E580C_marshaled_pinvoke
{
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___data_0;
int32_t ___split_1;
uint16_t ___count_2;
uint8_t ___splitAxis_3;
};
// Native definition for COM marshalling of Pathfinding.PointKDTree/Node
struct Node_t43228590B77931D856C0EB4966838C08B95E580C_marshaled_com
{
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___data_0;
int32_t ___split_1;
uint16_t ___count_2;
uint8_t ___splitAxis_3;
};
// System.Collections.Generic.List`1/Enumerator<Pathfinding.Connection>
struct Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B
{
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::_list
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* ____list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::_index
int32_t ____index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::_version
int32_t ____version_2;
// T System.Collections.Generic.List`1/Enumerator::_current
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 ____current_3;
};
// UnityEngine.Bounds
struct Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3
{
// UnityEngine.Vector3 UnityEngine.Bounds::m_Center
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Center_0;
// UnityEngine.Vector3 UnityEngine.Bounds::m_Extents
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Extents_1;
};
// Pathfinding.ColliderType
struct ColliderType_t6AB78C3E1351F957D7208760E224F941FC9370C5
{
// System.Int32 Pathfinding.ColliderType::value__
int32_t ___value___2;
};
// UnityEngine.ContactFilter2D
struct ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14
{
// System.Boolean UnityEngine.ContactFilter2D::useTriggers
bool ___useTriggers_0;
// System.Boolean UnityEngine.ContactFilter2D::useLayerMask
bool ___useLayerMask_1;
// System.Boolean UnityEngine.ContactFilter2D::useDepth
bool ___useDepth_2;
// System.Boolean UnityEngine.ContactFilter2D::useOutsideDepth
bool ___useOutsideDepth_3;
// System.Boolean UnityEngine.ContactFilter2D::useNormalAngle
bool ___useNormalAngle_4;
// System.Boolean UnityEngine.ContactFilter2D::useOutsideNormalAngle
bool ___useOutsideNormalAngle_5;
// UnityEngine.LayerMask UnityEngine.ContactFilter2D::layerMask
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___layerMask_6;
// System.Single UnityEngine.ContactFilter2D::minDepth
float ___minDepth_7;
// System.Single UnityEngine.ContactFilter2D::maxDepth
float ___maxDepth_8;
// System.Single UnityEngine.ContactFilter2D::minNormalAngle
float ___minNormalAngle_9;
// System.Single UnityEngine.ContactFilter2D::maxNormalAngle
float ___maxNormalAngle_10;
};
// Native definition for P/Invoke marshalling of UnityEngine.ContactFilter2D
struct ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14_marshaled_pinvoke
{
int32_t ___useTriggers_0;
int32_t ___useLayerMask_1;
int32_t ___useDepth_2;
int32_t ___useOutsideDepth_3;
int32_t ___useNormalAngle_4;
int32_t ___useOutsideNormalAngle_5;
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___layerMask_6;
float ___minDepth_7;
float ___maxDepth_8;
float ___minNormalAngle_9;
float ___maxNormalAngle_10;
};
// Native definition for COM marshalling of UnityEngine.ContactFilter2D
struct ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14_marshaled_com
{
int32_t ___useTriggers_0;
int32_t ___useLayerMask_1;
int32_t ___useDepth_2;
int32_t ___useOutsideDepth_3;
int32_t ___useNormalAngle_4;
int32_t ___useOutsideNormalAngle_5;
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___layerMask_6;
float ___minDepth_7;
float ___maxDepth_8;
float ___minNormalAngle_9;
float ___maxNormalAngle_10;
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
// System.IntPtr System.Delegate::method_ptr
intptr_t ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject* ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.IntPtr System.Delegate::interp_method
intptr_t ___interp_method_7;
// System.IntPtr System.Delegate::interp_invoke_impl
intptr_t ___interp_invoke_impl_8;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t* ___method_info_9;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t* ___original_method_info_10;
// System.DelegateData System.Delegate::data
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_12;
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
intptr_t ___interp_method_7;
intptr_t ___interp_invoke_impl_8;
MethodInfo_t* ___method_info_9;
MethodInfo_t* ___original_method_info_10;
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
int32_t ___method_is_virtual_12;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
intptr_t ___interp_method_7;
intptr_t ___interp_invoke_impl_8;
MethodInfo_t* ___method_info_9;
MethodInfo_t* ___original_method_info_10;
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
int32_t ___method_is_virtual_12;
};
// System.Exception
struct Exception_t : public RuntimeObject
{
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t* ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject* ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject* ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
// System.Int32 System.Exception::caught_in_unmanaged
int32_t ___caught_in_unmanaged_16;
};
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
int32_t ___caught_in_unmanaged_16;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
int32_t ___caught_in_unmanaged_16;
};
// Pathfinding.GraphDebugMode
struct GraphDebugMode_t594C2969498E14C2A34F6E07010CCF6DF31746D3
{
// System.Int32 Pathfinding.GraphDebugMode::value__
int32_t ___value___2;
};
// Pathfinding.GraphHitInfo
struct GraphHitInfo_tAADF50478FBE1A94D43AE3F349EE1E4AEAB5CBE0
{
// UnityEngine.Vector3 Pathfinding.GraphHitInfo::origin
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___origin_0;
// UnityEngine.Vector3 Pathfinding.GraphHitInfo::point
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___point_1;
// Pathfinding.GraphNode Pathfinding.GraphHitInfo::node
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_2;
// UnityEngine.Vector3 Pathfinding.GraphHitInfo::tangentOrigin
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___tangentOrigin_3;
// UnityEngine.Vector3 Pathfinding.GraphHitInfo::tangent
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___tangent_4;
};
// Native definition for P/Invoke marshalling of Pathfinding.GraphHitInfo
struct GraphHitInfo_tAADF50478FBE1A94D43AE3F349EE1E4AEAB5CBE0_marshaled_pinvoke
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___origin_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___point_1;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___tangentOrigin_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___tangent_4;
};
// Native definition for COM marshalling of Pathfinding.GraphHitInfo
struct GraphHitInfo_tAADF50478FBE1A94D43AE3F349EE1E4AEAB5CBE0_marshaled_com
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___origin_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___point_1;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___tangentOrigin_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___tangent_4;
};
// Pathfinding.GraphNode
struct GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A : public RuntimeObject
{
// System.Int32 Pathfinding.GraphNode::nodeIndex
int32_t ___nodeIndex_0;
// System.UInt32 Pathfinding.GraphNode::flags
uint32_t ___flags_1;
// System.UInt32 Pathfinding.GraphNode::penalty
uint32_t ___penalty_2;
// Pathfinding.Int3 Pathfinding.GraphNode::position
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___position_7;
};
// Pathfinding.Util.GraphTransform
struct GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426 : public RuntimeObject
{
// System.Boolean Pathfinding.Util.GraphTransform::identity
bool ___identity_0;
// System.Boolean Pathfinding.Util.GraphTransform::onlyTranslational
bool ___onlyTranslational_1;
// System.Boolean Pathfinding.Util.GraphTransform::isXY
bool ___isXY_2;
// System.Boolean Pathfinding.Util.GraphTransform::isXZ
bool ___isXZ_3;
// UnityEngine.Matrix4x4 Pathfinding.Util.GraphTransform::matrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___matrix_4;
// UnityEngine.Matrix4x4 Pathfinding.Util.GraphTransform::inverseMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___inverseMatrix_5;
// UnityEngine.Vector3 Pathfinding.Util.GraphTransform::up
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___up_6;
// UnityEngine.Vector3 Pathfinding.Util.GraphTransform::translation
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___translation_7;
// Pathfinding.Int3 Pathfinding.Util.GraphTransform::i3translation
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___i3translation_8;
// UnityEngine.Quaternion Pathfinding.Util.GraphTransform::rotation
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation_9;
// UnityEngine.Quaternion Pathfinding.Util.GraphTransform::inverseRotation
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___inverseRotation_10;
};
// Pathfinding.GraphUpdateThreading
struct GraphUpdateThreading_tA53130F64E947753F7C4AAEF5D50472660F7A27B
{
// System.Int32 Pathfinding.GraphUpdateThreading::value__
int32_t ___value___2;
};
// Pathfinding.Heuristic
struct Heuristic_t682FD4AD16A830982AE098B3901C9BA07E1AE888
{
// System.Int32 Pathfinding.Heuristic::value__
int32_t ___value___2;
};
// Pathfinding.HeuristicOptimizationMode
struct HeuristicOptimizationMode_t3B5E0224187675924DF80E32C2147A1A5CFC3136
{
// System.Int32 Pathfinding.HeuristicOptimizationMode::value__
int32_t ___value___2;
};
// Pathfinding.InspectorGridHexagonNodeSize
struct InspectorGridHexagonNodeSize_tEE87738014F31098C87CE0DCA94342EFBDA77B37
{
// System.Int32 Pathfinding.InspectorGridHexagonNodeSize::value__
int32_t ___value___2;
};
// Pathfinding.InspectorGridMode
struct InspectorGridMode_t808D76F52FFED436BADC661BE22F910D80AD14E0
{
// System.Int32 Pathfinding.InspectorGridMode::value__
int32_t ___value___2;
};
// Pathfinding.NNConstraint
struct NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5 : public RuntimeObject
{
// Pathfinding.GraphMask Pathfinding.NNConstraint::graphMask
GraphMask_t0D3B81600BFA722AB8C720E124358F9ABA57D404 ___graphMask_0;
// System.Boolean Pathfinding.NNConstraint::constrainArea
bool ___constrainArea_1;
// System.Int32 Pathfinding.NNConstraint::area
int32_t ___area_2;
// System.Boolean Pathfinding.NNConstraint::constrainWalkability
bool ___constrainWalkability_3;
// System.Boolean Pathfinding.NNConstraint::walkable
bool ___walkable_4;
// System.Boolean Pathfinding.NNConstraint::distanceXZ
bool ___distanceXZ_5;
// System.Boolean Pathfinding.NNConstraint::constrainTags
bool ___constrainTags_6;
// System.Int32 Pathfinding.NNConstraint::tags
int32_t ___tags_7;
// System.Boolean Pathfinding.NNConstraint::constrainDistance
bool ___constrainDistance_8;
};
// Pathfinding.NNInfo
struct NNInfo_tA85703447EFEE17F9138E4518FC423F3870AE7A2
{
// Pathfinding.GraphNode Pathfinding.NNInfo::node
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
// UnityEngine.Vector3 Pathfinding.NNInfo::position
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position_1;
};
// Native definition for P/Invoke marshalling of Pathfinding.NNInfo
struct NNInfo_tA85703447EFEE17F9138E4518FC423F3870AE7A2_marshaled_pinvoke
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position_1;
};
// Native definition for COM marshalling of Pathfinding.NNInfo
struct NNInfo_tA85703447EFEE17F9138E4518FC423F3870AE7A2_marshaled_com
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position_1;
};
// Pathfinding.NNInfoInternal
struct NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801
{
// Pathfinding.GraphNode Pathfinding.NNInfoInternal::node
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
// Pathfinding.GraphNode Pathfinding.NNInfoInternal::constrainedNode
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___constrainedNode_1;
// UnityEngine.Vector3 Pathfinding.NNInfoInternal::clampedPosition
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___clampedPosition_2;
// UnityEngine.Vector3 Pathfinding.NNInfoInternal::constClampedPosition
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___constClampedPosition_3;
};
// Native definition for P/Invoke marshalling of Pathfinding.NNInfoInternal
struct NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801_marshaled_pinvoke
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___constrainedNode_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___clampedPosition_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___constClampedPosition_3;
};
// Native definition for COM marshalling of Pathfinding.NNInfoInternal
struct NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801_marshaled_com
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___constrainedNode_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___clampedPosition_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___constClampedPosition_3;
};
// Pathfinding.NavGraph
struct NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0 : public RuntimeObject
{
// AstarPath Pathfinding.NavGraph::active
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___active_0;
// Pathfinding.Util.Guid Pathfinding.NavGraph::guid
Guid_tBC9E5F061A2D2C250FE723BF5874F7DFCE0A983A ___guid_1;
// System.UInt32 Pathfinding.NavGraph::initialPenalty
uint32_t ___initialPenalty_2;
// System.Boolean Pathfinding.NavGraph::open
bool ___open_3;
// System.UInt32 Pathfinding.NavGraph::graphIndex
uint32_t ___graphIndex_4;
// System.String Pathfinding.NavGraph::name
String_t* ___name_5;
// System.Boolean Pathfinding.NavGraph::drawGizmos
bool ___drawGizmos_6;
// System.Boolean Pathfinding.NavGraph::infoScreenOpen
bool ___infoScreenOpen_7;
// System.String Pathfinding.NavGraph::serializedEditorSettings
String_t* ___serializedEditorSettings_8;
// UnityEngine.Matrix4x4 Pathfinding.NavGraph::matrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___matrix_9;
// UnityEngine.Matrix4x4 Pathfinding.NavGraph::inverseMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___inverseMatrix_10;
};
// Pathfinding.NumNeighbours
struct NumNeighbours_tE73E49796B97DBF8D03330BA237C8FF81B53368F
{
// System.Int32 Pathfinding.NumNeighbours::value__
int32_t ___value___2;
};
// UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
{
// System.IntPtr UnityEngine.Object::m_CachedPtr
intptr_t ___m_CachedPtr_0;
};
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
// Pathfinding.PathCompleteState
struct PathCompleteState_tE8C58BD32B43D49750064066CE12F7467F63D700
{
// System.Int32 Pathfinding.PathCompleteState::value__
int32_t ___value___2;
};
// Pathfinding.PathLog
struct PathLog_t77F45694699941A640940A2DD18E53EE513C99A6
{
// System.Int32 Pathfinding.PathLog::value__
int32_t ___value___2;
};
// Pathfinding.PathState
struct PathState_tC6833B9DC1F70871D5FB2B6D62ACFEEA6C32C8FB
{
// System.Int32 Pathfinding.PathState::value__
int32_t ___value___2;
};
// UnityEngine.Ray
struct Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00
{
// UnityEngine.Vector3 UnityEngine.Ray::m_Origin
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Origin_0;
// UnityEngine.Vector3 UnityEngine.Ray::m_Direction
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Direction_1;
};
// Pathfinding.RayDirection
struct RayDirection_t2BA2B259A3B431815E82FB4F5D546DDC38BBE01B
{
// System.Int32 Pathfinding.RayDirection::value__
int32_t ___value___2;
};
// UnityEngine.RaycastHit
struct RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5
{
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Point
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Point_0;
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Normal
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Normal_1;
// System.UInt32 UnityEngine.RaycastHit::m_FaceID
uint32_t ___m_FaceID_2;
// System.Single UnityEngine.RaycastHit::m_Distance
float ___m_Distance_3;
// UnityEngine.Vector2 UnityEngine.RaycastHit::m_UV
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_UV_4;
// System.Int32 UnityEngine.RaycastHit::m_Collider
int32_t ___m_Collider_5;
};
// UnityEngine.RaycastHit2D
struct RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA
{
// UnityEngine.Vector2 UnityEngine.RaycastHit2D::m_Centroid
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_Centroid_0;
// UnityEngine.Vector2 UnityEngine.RaycastHit2D::m_Point
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_Point_1;
// UnityEngine.Vector2 UnityEngine.RaycastHit2D::m_Normal
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_Normal_2;
// System.Single UnityEngine.RaycastHit2D::m_Distance
float ___m_Distance_3;
// System.Single UnityEngine.RaycastHit2D::m_Fraction
float ___m_Fraction_4;
// System.Int32 UnityEngine.RaycastHit2D::m_Collider
int32_t ___m_Collider_5;
};
// System.RuntimeFieldHandle
struct RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5
{
// System.IntPtr System.RuntimeFieldHandle::value
intptr_t ___value_0;
};
// System.IO.StreamReader
struct StreamReader_t81027449065C1B0C339DB46241D8001A6F61130B : public TextReader_tB8D43017CB6BE1633E5A86D64E7757366507C1F7
{
// System.IO.Stream System.IO.StreamReader::_stream
Stream_tF844051B786E8F7F4244DBD218D74E8617B9A2DE* ____stream_3;
// System.Text.Encoding System.IO.StreamReader::_encoding
Encoding_t65CDEF28CF20A7B8C92E85A4E808920C2465F095* ____encoding_4;
// System.Text.Decoder System.IO.StreamReader::_decoder
Decoder_tE16E789E38B25DD304004FC630EA8B21000ECBBC* ____decoder_5;
// System.Byte[] System.IO.StreamReader::_byteBuffer
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ____byteBuffer_6;
// System.Char[] System.IO.StreamReader::_charBuffer
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ____charBuffer_7;
// System.Int32 System.IO.StreamReader::_charPos
int32_t ____charPos_8;
// System.Int32 System.IO.StreamReader::_charLen
int32_t ____charLen_9;
// System.Int32 System.IO.StreamReader::_byteLen
int32_t ____byteLen_10;
// System.Int32 System.IO.StreamReader::_bytePos
int32_t ____bytePos_11;
// System.Int32 System.IO.StreamReader::_maxCharsPerBuffer
int32_t ____maxCharsPerBuffer_12;
// System.Boolean System.IO.StreamReader::_detectEncoding
bool ____detectEncoding_13;
// System.Boolean System.IO.StreamReader::_checkPreamble
bool ____checkPreamble_14;
// System.Boolean System.IO.StreamReader::_isBlocked
bool ____isBlocked_15;
// System.Boolean System.IO.StreamReader::_closable
bool ____closable_16;
// System.Threading.Tasks.Task System.IO.StreamReader::_asyncReadTask
Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572* ____asyncReadTask_17;
};
// System.IO.StringReader
struct StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8 : public TextReader_tB8D43017CB6BE1633E5A86D64E7757366507C1F7
{
// System.String System.IO.StringReader::_s
String_t* ____s_2;
// System.Int32 System.IO.StringReader::_pos
int32_t ____pos_3;
// System.Int32 System.IO.StringReader::_length
int32_t ____length_4;
};
// Pathfinding.ThreadCount
struct ThreadCount_tF5C773E982AEB9688A7BD5B315F902627D59D6F0
{
// System.Int32 Pathfinding.ThreadCount::value__
int32_t ___value___2;
};
// AstarPath/AstarDistribution
struct AstarDistribution_t809CED9BB018B0954EED823E1A8866AD98E71394
{
// System.Int32 AstarPath/AstarDistribution::value__
int32_t ___value___2;
};
// Pathfinding.BBTree/BBTreeBox
struct BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979
{
// Pathfinding.IntRect Pathfinding.BBTree/BBTreeBox::rect
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___rect_0;
// System.Int32 Pathfinding.BBTree/BBTreeBox::nodeOffset
int32_t ___nodeOffset_1;
// System.Int32 Pathfinding.BBTree/BBTreeBox::left
int32_t ___left_2;
// System.Int32 Pathfinding.BBTree/BBTreeBox::right
int32_t ___right_3;
};
// Pathfinding.Funnel/PathPart
struct PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8
{
// System.Int32 Pathfinding.Funnel/PathPart::startIndex
int32_t ___startIndex_0;
// System.Int32 Pathfinding.Funnel/PathPart::endIndex
int32_t ___endIndex_1;
// UnityEngine.Vector3 Pathfinding.Funnel/PathPart::startPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___startPoint_2;
// UnityEngine.Vector3 Pathfinding.Funnel/PathPart::endPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___endPoint_3;
// System.Boolean Pathfinding.Funnel/PathPart::isLink
bool ___isLink_4;
};
// Native definition for P/Invoke marshalling of Pathfinding.Funnel/PathPart
struct PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8_marshaled_pinvoke
{
int32_t ___startIndex_0;
int32_t ___endIndex_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___startPoint_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___endPoint_3;
int32_t ___isLink_4;
};
// Native definition for COM marshalling of Pathfinding.Funnel/PathPart
struct PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8_marshaled_com
{
int32_t ___startIndex_0;
int32_t ___endIndex_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___startPoint_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___endPoint_3;
int32_t ___isLink_4;
};
// Pathfinding.NavMeshGraph/<>c__DisplayClass19_0
struct U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0 : public RuntimeObject
{
// Pathfinding.IntRect Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::irect
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___irect_0;
// Pathfinding.Int3 Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::a
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___a_1;
// Pathfinding.Int3 Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::b
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___b_2;
// Pathfinding.Int3 Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::c
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___c_3;
// Pathfinding.Int3 Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::d
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___d_4;
// System.Int32 Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::ymin
int32_t ___ymin_5;
// System.Int32 Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::ymax
int32_t ___ymax_6;
// Pathfinding.GraphUpdateObject Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::o
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___o_7;
};
// Pathfinding.NavMeshGraph/<ScanInternal>d__21
struct U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E : public RuntimeObject
{
// System.Int32 Pathfinding.NavMeshGraph/<ScanInternal>d__21::<>1__state
int32_t ___U3CU3E1__state_0;
// Pathfinding.Progress Pathfinding.NavMeshGraph/<ScanInternal>d__21::<>2__current
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 ___U3CU3E2__current_1;
// System.Int32 Pathfinding.NavMeshGraph/<ScanInternal>d__21::<>l__initialThreadId
int32_t ___U3CU3El__initialThreadId_2;
// Pathfinding.NavMeshGraph Pathfinding.NavMeshGraph/<ScanInternal>d__21::<>4__this
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* ___U3CU3E4__this_3;
// System.Collections.Generic.List`1<Pathfinding.Int3> Pathfinding.NavMeshGraph/<ScanInternal>d__21::<intVertices>5__2
List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* ___U3CintVerticesU3E5__2_4;
// Pathfinding.Int3[] Pathfinding.NavMeshGraph/<ScanInternal>d__21::<compressedVertices>5__3
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___U3CcompressedVerticesU3E5__3_5;
// System.Int32[] Pathfinding.NavMeshGraph/<ScanInternal>d__21::<compressedTriangles>5__4
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___U3CcompressedTrianglesU3E5__4_6;
};
// Pathfinding.PointGraph/<ConnectNodesAsync>d__34
struct U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886 : public RuntimeObject
{
// System.Int32 Pathfinding.PointGraph/<ConnectNodesAsync>d__34::<>1__state
int32_t ___U3CU3E1__state_0;
// Pathfinding.Progress Pathfinding.PointGraph/<ConnectNodesAsync>d__34::<>2__current
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 ___U3CU3E2__current_1;
// System.Int32 Pathfinding.PointGraph/<ConnectNodesAsync>d__34::<>l__initialThreadId
int32_t ___U3CU3El__initialThreadId_2;
// Pathfinding.PointGraph Pathfinding.PointGraph/<ConnectNodesAsync>d__34::<>4__this
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* ___U3CU3E4__this_3;
// System.Collections.Generic.List`1<Pathfinding.Connection> Pathfinding.PointGraph/<ConnectNodesAsync>d__34::<connections>5__2
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* ___U3CconnectionsU3E5__2_4;
// System.Int32 Pathfinding.PointGraph/<ConnectNodesAsync>d__34::<i>5__3
int32_t ___U3CiU3E5__3_5;
};
// Pathfinding.PointGraph/<ScanInternal>d__32
struct U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11 : public RuntimeObject
{
// System.Int32 Pathfinding.PointGraph/<ScanInternal>d__32::<>1__state
int32_t ___U3CU3E1__state_0;
// Pathfinding.Progress Pathfinding.PointGraph/<ScanInternal>d__32::<>2__current
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 ___U3CU3E2__current_1;
// System.Int32 Pathfinding.PointGraph/<ScanInternal>d__32::<>l__initialThreadId
int32_t ___U3CU3El__initialThreadId_2;
// Pathfinding.PointGraph Pathfinding.PointGraph/<ScanInternal>d__32::<>4__this
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* ___U3CU3E4__this_3;
// UnityEngine.GameObject[] Pathfinding.PointGraph/<ScanInternal>d__32::<gos>5__2
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* ___U3CgosU3E5__2_4;
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress> Pathfinding.PointGraph/<ScanInternal>d__32::<>7__wrap2
RuntimeObject* ___U3CU3E7__wrap2_5;
};
// Pathfinding.PointGraph/NodeDistanceMode
struct NodeDistanceMode_t0641E5141EF339D1F4D4D78BD80F659F5291F446
{
// System.Int32 Pathfinding.PointGraph/NodeDistanceMode::value__
int32_t ___value___2;
};
// Pathfinding.RaycastModifier/Quality
struct Quality_t985B64CC58A4064EFB172510489A58F8BC65F5F9
{
// System.Int32 Pathfinding.RaycastModifier/Quality::value__
int32_t ___value___2;
};
// Pathfinding.SimpleSmoothModifier/SmoothType
struct SmoothType_tC850FBEFF37B584A8BA62BBF3E3D87C6D6802838
{
// System.Int32 Pathfinding.SimpleSmoothModifier/SmoothType::value__
int32_t ___value___2;
};
// Pathfinding.StartEndModifier/Exactness
struct Exactness_t53372EC50BC7C0D0CE051C52F10DB53083D9672E
{
// System.Int32 Pathfinding.StartEndModifier/Exactness::value__
int32_t ___value___2;
};
// UnityEngine.Component
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// Pathfinding.EuclideanEmbedding
struct EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890 : public RuntimeObject
{
// Pathfinding.HeuristicOptimizationMode Pathfinding.EuclideanEmbedding::mode
int32_t ___mode_0;
// System.Int32 Pathfinding.EuclideanEmbedding::seed
int32_t ___seed_1;
// UnityEngine.Transform Pathfinding.EuclideanEmbedding::pivotPointRoot
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pivotPointRoot_2;
// System.Int32 Pathfinding.EuclideanEmbedding::spreadOutCount
int32_t ___spreadOutCount_3;
// System.Boolean Pathfinding.EuclideanEmbedding::dirty
bool ___dirty_4;
};
// UnityEngine.GameObject
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// Pathfinding.GraphCollision
struct GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9 : public RuntimeObject
{
// Pathfinding.ColliderType Pathfinding.GraphCollision::type
int32_t ___type_0;
// System.Single Pathfinding.GraphCollision::diameter
float ___diameter_1;
// System.Single Pathfinding.GraphCollision::height
float ___height_2;
// System.Single Pathfinding.GraphCollision::collisionOffset
float ___collisionOffset_3;
// Pathfinding.RayDirection Pathfinding.GraphCollision::rayDirection
int32_t ___rayDirection_4;
// UnityEngine.LayerMask Pathfinding.GraphCollision::mask
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___mask_5;
// UnityEngine.LayerMask Pathfinding.GraphCollision::heightMask
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___heightMask_6;
// System.Single Pathfinding.GraphCollision::fromHeight
float ___fromHeight_7;
// System.Boolean Pathfinding.GraphCollision::thickRaycast
bool ___thickRaycast_8;
// System.Single Pathfinding.GraphCollision::thickRaycastDiameter
float ___thickRaycastDiameter_9;
// System.Boolean Pathfinding.GraphCollision::unwalkableWhenNoGround
bool ___unwalkableWhenNoGround_10;
// System.Boolean Pathfinding.GraphCollision::use2D
bool ___use2D_11;
// System.Boolean Pathfinding.GraphCollision::collisionCheck
bool ___collisionCheck_12;
// System.Boolean Pathfinding.GraphCollision::heightCheck
bool ___heightCheck_13;
// UnityEngine.Vector3 Pathfinding.GraphCollision::up
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___up_14;
// UnityEngine.Vector3 Pathfinding.GraphCollision::upheight
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upheight_15;
// UnityEngine.ContactFilter2D Pathfinding.GraphCollision::contactFilter
ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14 ___contactFilter_16;
// System.Single Pathfinding.GraphCollision::finalRadius
float ___finalRadius_18;
// System.Single Pathfinding.GraphCollision::finalRaycastRadius
float ___finalRaycastRadius_19;
// UnityEngine.RaycastHit[] Pathfinding.GraphCollision::hitBuffer
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* ___hitBuffer_21;
};
// Pathfinding.GraphUpdateObject
struct GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3 : public RuntimeObject
{
// UnityEngine.Bounds Pathfinding.GraphUpdateObject::bounds
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___bounds_0;
// System.Boolean Pathfinding.GraphUpdateObject::updatePhysics
bool ___updatePhysics_1;
// System.Boolean Pathfinding.GraphUpdateObject::resetPenaltyOnPhysics
bool ___resetPenaltyOnPhysics_2;
// System.Boolean Pathfinding.GraphUpdateObject::updateErosion
bool ___updateErosion_3;
// Pathfinding.NNConstraint Pathfinding.GraphUpdateObject::nnConstraint
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___nnConstraint_4;
// System.Int32 Pathfinding.GraphUpdateObject::addPenalty
int32_t ___addPenalty_5;
// System.Boolean Pathfinding.GraphUpdateObject::modifyWalkability
bool ___modifyWalkability_6;
// System.Boolean Pathfinding.GraphUpdateObject::setWalkability
bool ___setWalkability_7;
// System.Boolean Pathfinding.GraphUpdateObject::modifyTag
bool ___modifyTag_8;
// System.Int32 Pathfinding.GraphUpdateObject::setTag
int32_t ___setTag_9;
// System.Boolean Pathfinding.GraphUpdateObject::trackChangedNodes
bool ___trackChangedNodes_10;
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GraphUpdateObject::changedNodes
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___changedNodes_11;
// System.Collections.Generic.List`1<System.UInt32> Pathfinding.GraphUpdateObject::backupData
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A* ___backupData_12;
// System.Collections.Generic.List`1<Pathfinding.Int3> Pathfinding.GraphUpdateObject::backupPositionData
List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* ___backupPositionData_13;
// Pathfinding.GraphUpdateShape Pathfinding.GraphUpdateObject::shape
GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* ___shape_14;
// System.Int32 Pathfinding.GraphUpdateObject::internalStage
int32_t ___internalStage_15;
};
// Pathfinding.GridGraph
struct GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC : public NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0
{
// Pathfinding.InspectorGridMode Pathfinding.GridGraph::inspectorGridMode
int32_t ___inspectorGridMode_11;
// Pathfinding.InspectorGridHexagonNodeSize Pathfinding.GridGraph::inspectorHexagonSizeMode
int32_t ___inspectorHexagonSizeMode_12;
// System.Int32 Pathfinding.GridGraph::width
int32_t ___width_13;
// System.Int32 Pathfinding.GridGraph::depth
int32_t ___depth_14;
// System.Single Pathfinding.GridGraph::aspectRatio
float ___aspectRatio_15;
// System.Single Pathfinding.GridGraph::isometricAngle
float ___isometricAngle_16;
// System.Boolean Pathfinding.GridGraph::uniformEdgeCosts
bool ___uniformEdgeCosts_19;
// UnityEngine.Vector3 Pathfinding.GridGraph::rotation
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rotation_20;
// UnityEngine.Vector3 Pathfinding.GridGraph::center
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___center_21;
// UnityEngine.Vector2 Pathfinding.GridGraph::unclampedSize
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___unclampedSize_22;
// System.Single Pathfinding.GridGraph::nodeSize
float ___nodeSize_23;
// Pathfinding.GraphCollision Pathfinding.GridGraph::collision
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* ___collision_24;
// System.Single Pathfinding.GridGraph::maxClimb
float ___maxClimb_25;
// System.Single Pathfinding.GridGraph::maxSlope
float ___maxSlope_26;
// System.Int32 Pathfinding.GridGraph::erodeIterations
int32_t ___erodeIterations_27;
// System.Boolean Pathfinding.GridGraph::erosionUseTags
bool ___erosionUseTags_28;
// System.Int32 Pathfinding.GridGraph::erosionFirstTag
int32_t ___erosionFirstTag_29;
// Pathfinding.NumNeighbours Pathfinding.GridGraph::neighbours
int32_t ___neighbours_30;
// System.Boolean Pathfinding.GridGraph::cutCorners
bool ___cutCorners_31;
// System.Single Pathfinding.GridGraph::penaltyPositionOffset
float ___penaltyPositionOffset_32;
// System.Boolean Pathfinding.GridGraph::penaltyPosition
bool ___penaltyPosition_33;
// System.Single Pathfinding.GridGraph::penaltyPositionFactor
float ___penaltyPositionFactor_34;
// System.Boolean Pathfinding.GridGraph::penaltyAngle
bool ___penaltyAngle_35;
// System.Single Pathfinding.GridGraph::penaltyAngleFactor
float ___penaltyAngleFactor_36;
// System.Single Pathfinding.GridGraph::penaltyAnglePower
float ___penaltyAnglePower_37;
// System.Boolean Pathfinding.GridGraph::showMeshOutline
bool ___showMeshOutline_38;
// System.Boolean Pathfinding.GridGraph::showNodeConnections
bool ___showNodeConnections_39;
// System.Boolean Pathfinding.GridGraph::showMeshSurface
bool ___showMeshSurface_40;
// UnityEngine.Vector2 Pathfinding.GridGraph::<size>k__BackingField
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___U3CsizeU3Ek__BackingField_41;
// System.Int32[] Pathfinding.GridGraph::neighbourOffsets
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___neighbourOffsets_42;
// System.UInt32[] Pathfinding.GridGraph::neighbourCosts
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___neighbourCosts_43;
// System.Int32[] Pathfinding.GridGraph::neighbourXOffsets
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___neighbourXOffsets_44;
// System.Int32[] Pathfinding.GridGraph::neighbourZOffsets
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___neighbourZOffsets_45;
// Pathfinding.GridNode[] Pathfinding.GridGraph::nodes
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* ___nodes_48;
// Pathfinding.Util.GraphTransform Pathfinding.GridGraph::<transform>k__BackingField
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___U3CtransformU3Ek__BackingField_49;
};
// Pathfinding.GridNodeBase
struct GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25 : public GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A
{
// System.Int32 Pathfinding.GridNodeBase::nodeInGridIndex
int32_t ___nodeInGridIndex_26;
// System.UInt16 Pathfinding.GridNodeBase::gridFlags
uint16_t ___gridFlags_27;
// Pathfinding.Connection[] Pathfinding.GridNodeBase::connections
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ___connections_28;
};
// UnityEngine.Mesh
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// Pathfinding.MeshNode
struct MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095 : public GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A
{
// Pathfinding.Connection[] Pathfinding.MeshNode::connections
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ___connections_20;
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_13;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_13;
};
// Pathfinding.NavmeshBase
struct NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704 : public NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0
{
// UnityEngine.Vector3 Pathfinding.NavmeshBase::forcedBoundsSize
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forcedBoundsSize_14;
// System.Boolean Pathfinding.NavmeshBase::showMeshOutline
bool ___showMeshOutline_15;
// System.Boolean Pathfinding.NavmeshBase::showNodeConnections
bool ___showNodeConnections_16;
// System.Boolean Pathfinding.NavmeshBase::showMeshSurface
bool ___showMeshSurface_17;
// System.Int32 Pathfinding.NavmeshBase::tileXCount
int32_t ___tileXCount_18;
// System.Int32 Pathfinding.NavmeshBase::tileZCount
int32_t ___tileZCount_19;
// Pathfinding.NavmeshTile[] Pathfinding.NavmeshBase::tiles
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* ___tiles_20;
// System.Boolean Pathfinding.NavmeshBase::nearestSearchOnlyXZ
bool ___nearestSearchOnlyXZ_21;
// System.Boolean Pathfinding.NavmeshBase::enableNavmeshCutting
bool ___enableNavmeshCutting_22;
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings Pathfinding.NavmeshBase::navmeshUpdateData
NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F* ___navmeshUpdateData_23;
// System.Boolean Pathfinding.NavmeshBase::batchTileUpdate
bool ___batchTileUpdate_24;
// System.Collections.Generic.List`1<System.Int32> Pathfinding.NavmeshBase::batchUpdatedTiles
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___batchUpdatedTiles_25;
// System.Collections.Generic.List`1<Pathfinding.MeshNode> Pathfinding.NavmeshBase::batchNodesToDestroy
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* ___batchNodesToDestroy_26;
// Pathfinding.Util.GraphTransform Pathfinding.NavmeshBase::transform
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___transform_27;
// System.Action`1<Pathfinding.NavmeshTile[]> Pathfinding.NavmeshBase::OnRecalculatedTiles
Action_1_tA3439EC8A386FAF754C06299F3FD4600EF357973* ___OnRecalculatedTiles_28;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32> Pathfinding.NavmeshBase::nodeRecyclingHashBuffer
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* ___nodeRecyclingHashBuffer_30;
};
// Pathfinding.Path
struct Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A : public RuntimeObject
{
// Pathfinding.PathHandler Pathfinding.Path::pathHandler
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___pathHandler_0;
// Pathfinding.OnPathDelegate Pathfinding.Path::callback
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___callback_1;
// Pathfinding.OnPathDelegate Pathfinding.Path::immediateCallback
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___immediateCallback_2;
// Pathfinding.PathState Pathfinding.Path::<PipelineState>k__BackingField
int32_t ___U3CPipelineStateU3Ek__BackingField_3;
// System.Object Pathfinding.Path::stateLock
RuntimeObject* ___stateLock_4;
// Pathfinding.ITraversalProvider Pathfinding.Path::traversalProvider
RuntimeObject* ___traversalProvider_5;
// Pathfinding.PathCompleteState Pathfinding.Path::completeState
int32_t ___completeState_6;
// System.String Pathfinding.Path::<errorLog>k__BackingField
String_t* ___U3CerrorLogU3Ek__BackingField_7;
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.Path::path
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___path_8;
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.Path::vectorPath
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___vectorPath_9;
// Pathfinding.PathNode Pathfinding.Path::currentR
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___currentR_10;
// System.Single Pathfinding.Path::duration
float ___duration_11;
// System.Int32 Pathfinding.Path::<searchedNodes>k__BackingField
int32_t ___U3CsearchedNodesU3Ek__BackingField_12;
// System.Boolean Pathfinding.Path::<Pathfinding.IPathInternals.Pooled>k__BackingField
bool ___U3CPathfinding_IPathInternals_PooledU3Ek__BackingField_13;
// System.Boolean Pathfinding.Path::hasBeenReset
bool ___hasBeenReset_14;
// Pathfinding.NNConstraint Pathfinding.Path::nnConstraint
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___nnConstraint_15;
// Pathfinding.Path Pathfinding.Path::next
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___next_16;
// Pathfinding.Heuristic Pathfinding.Path::heuristic
int32_t ___heuristic_17;
// System.Single Pathfinding.Path::heuristicScale
float ___heuristicScale_18;
// System.UInt16 Pathfinding.Path::<pathID>k__BackingField
uint16_t ___U3CpathIDU3Ek__BackingField_19;
// Pathfinding.GraphNode Pathfinding.Path::hTargetNode
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___hTargetNode_20;
// Pathfinding.Int3 Pathfinding.Path::hTarget
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___hTarget_21;
// System.Int32 Pathfinding.Path::enabledTags
int32_t ___enabledTags_22;
// System.Int32[] Pathfinding.Path::internalTagPenalties
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___internalTagPenalties_24;
// System.Int32[] Pathfinding.Path::manualTagPenalties
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___manualTagPenalties_25;
// System.Collections.Generic.List`1<System.Object> Pathfinding.Path::claimed
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* ___claimed_26;
// System.Boolean Pathfinding.Path::releasedNotSilent
bool ___releasedNotSilent_27;
};
// Pathfinding.PointGraph
struct PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178 : public NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0
{
// UnityEngine.Transform Pathfinding.PointGraph::root
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___root_11;
// System.String Pathfinding.PointGraph::searchTag
String_t* ___searchTag_12;
// System.Single Pathfinding.PointGraph::maxDistance
float ___maxDistance_13;
// UnityEngine.Vector3 Pathfinding.PointGraph::limits
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___limits_14;
// System.Boolean Pathfinding.PointGraph::raycast
bool ___raycast_15;
// System.Boolean Pathfinding.PointGraph::use2DPhysics
bool ___use2DPhysics_16;
// System.Boolean Pathfinding.PointGraph::thickRaycast
bool ___thickRaycast_17;
// System.Single Pathfinding.PointGraph::thickRaycastRadius
float ___thickRaycastRadius_18;
// System.Boolean Pathfinding.PointGraph::recursive
bool ___recursive_19;
// UnityEngine.LayerMask Pathfinding.PointGraph::mask
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___mask_20;
// Pathfinding.PointNode[] Pathfinding.PointGraph::nodes
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* ___nodes_21;
// Pathfinding.PointGraph/NodeDistanceMode Pathfinding.PointGraph::nearestNodeDistanceMode
int32_t ___nearestNodeDistanceMode_22;
// System.Int32 Pathfinding.PointGraph::<nodeCount>k__BackingField
int32_t ___U3CnodeCountU3Ek__BackingField_23;
};
// Pathfinding.PointNode
struct PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0 : public GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A
{
// Pathfinding.Connection[] Pathfinding.PointNode::connections
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ___connections_20;
// UnityEngine.GameObject Pathfinding.PointNode::gameObject
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___gameObject_21;
};
// Pathfinding.StartEndModifier
struct StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7 : public PathModifier_t5F147EA05018864929F69B47D1A07F76A36E4414
{
// System.Boolean Pathfinding.StartEndModifier::addPoints
bool ___addPoints_1;
// Pathfinding.StartEndModifier/Exactness Pathfinding.StartEndModifier::exactStartPoint
int32_t ___exactStartPoint_2;
// Pathfinding.StartEndModifier/Exactness Pathfinding.StartEndModifier::exactEndPoint
int32_t ___exactEndPoint_3;
// System.Func`1<UnityEngine.Vector3> Pathfinding.StartEndModifier::adjustStartPoint
Func_1_t58C51DB29153B53A9136AE397958F3FCC1F596EC* ___adjustStartPoint_4;
// System.Boolean Pathfinding.StartEndModifier::useRaycasting
bool ___useRaycasting_5;
// UnityEngine.LayerMask Pathfinding.StartEndModifier::mask
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___mask_6;
// System.Boolean Pathfinding.StartEndModifier::useGraphRaycasting
bool ___useGraphRaycasting_7;
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.StartEndModifier::connectionBuffer
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___connectionBuffer_8;
// System.Action`1<Pathfinding.GraphNode> Pathfinding.StartEndModifier::connectionBufferAddDelegate
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___connectionBufferAddDelegate_9;
};
// System.SystemException
struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
{
};
// System.Action`1<Pathfinding.NavmeshTile[]>
struct Action_1_tA3439EC8A386FAF754C06299F3FD4600EF357973 : public MulticastDelegate_t
{
};
// System.Action`1<Pathfinding.GraphNode>
struct Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5 : public MulticastDelegate_t
{
};
// System.Action`1<System.Object>
struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87 : public MulticastDelegate_t
{
};
// System.Func`1<UnityEngine.Vector3>
struct Func_1_t58C51DB29153B53A9136AE397958F3FCC1F596EC : public MulticastDelegate_t
{
};
// System.Func`2<Pathfinding.Connection,System.Boolean>
struct Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91 : public MulticastDelegate_t
{
};
// System.Func`2<Pathfinding.GraphNode,System.Boolean>
struct Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB : public MulticastDelegate_t
{
};
// Pathfinding.ABPath
struct ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F : public Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A
{
// Pathfinding.GraphNode Pathfinding.ABPath::startNode
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___startNode_28;
// Pathfinding.GraphNode Pathfinding.ABPath::endNode
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___endNode_29;
// UnityEngine.Vector3 Pathfinding.ABPath::originalStartPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___originalStartPoint_30;
// UnityEngine.Vector3 Pathfinding.ABPath::originalEndPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___originalEndPoint_31;
// UnityEngine.Vector3 Pathfinding.ABPath::startPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___startPoint_32;
// UnityEngine.Vector3 Pathfinding.ABPath::endPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___endPoint_33;
// Pathfinding.Int3 Pathfinding.ABPath::startIntPoint
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___startIntPoint_34;
// System.Boolean Pathfinding.ABPath::calculatePartial
bool ___calculatePartial_35;
// Pathfinding.PathNode Pathfinding.ABPath::partialBestTarget
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___partialBestTarget_36;
// System.Int32[] Pathfinding.ABPath::endNodeCosts
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___endNodeCosts_37;
// Pathfinding.GridNode Pathfinding.ABPath::gridSpecialCaseNode
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* ___gridSpecialCaseNode_38;
};
// System.ArgumentException
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
{
// System.String System.ArgumentException::_paramName
String_t* ____paramName_18;
};
// UnityEngine.Behaviour
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// Pathfinding.GridNode
struct GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578 : public GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25
{
};
// Pathfinding.NavMeshGraph
struct NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B : public NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704
{
// UnityEngine.Mesh Pathfinding.NavMeshGraph::sourceMesh
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___sourceMesh_31;
// UnityEngine.Vector3 Pathfinding.NavMeshGraph::offset
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset_32;
// UnityEngine.Vector3 Pathfinding.NavMeshGraph::rotation
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rotation_33;
// System.Single Pathfinding.NavMeshGraph::scale
float ___scale_34;
// System.Boolean Pathfinding.NavMeshGraph::recalculateNormals
bool ___recalculateNormals_35;
// UnityEngine.Vector3 Pathfinding.NavMeshGraph::cachedSourceMeshBoundsMin
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___cachedSourceMeshBoundsMin_36;
};
// Pathfinding.NodeLink3Node
struct NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94 : public PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0
{
// Pathfinding.NodeLink3 Pathfinding.NodeLink3Node::link
NodeLink3_tAE1E7EF2606C6B093F2D46937692F8D1D638707F* ___link_22;
// UnityEngine.Vector3 Pathfinding.NodeLink3Node::portalA
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___portalA_23;
// UnityEngine.Vector3 Pathfinding.NodeLink3Node::portalB
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___portalB_24;
};
// System.NotSupportedException
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
{
};
// UnityEngine.Transform
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// Pathfinding.TriangleMeshNode
struct TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80 : public MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095
{
// System.Int32 Pathfinding.TriangleMeshNode::v0
int32_t ___v0_21;
// System.Int32 Pathfinding.TriangleMeshNode::v1
int32_t ___v1_22;
// System.Int32 Pathfinding.TriangleMeshNode::v2
int32_t ___v2_23;
};
// System.ArgumentNullException
struct ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129 : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
{
};
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
};
// Pathfinding.VersionedMonoBehaviour
struct VersionedMonoBehaviour_t13F17B0D6039238CC5328E19B6DBB74A6E9CFD3B : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Int32 Pathfinding.VersionedMonoBehaviour::version
int32_t ___version_4;
};
// AstarPath
struct AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760 : public VersionedMonoBehaviour_t13F17B0D6039238CC5328E19B6DBB74A6E9CFD3B
{
// Pathfinding.AstarData AstarPath::data
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* ___data_8;
// System.Boolean AstarPath::showNavGraphs
bool ___showNavGraphs_10;
// System.Boolean AstarPath::showUnwalkableNodes
bool ___showUnwalkableNodes_11;
// Pathfinding.GraphDebugMode AstarPath::debugMode
int32_t ___debugMode_12;
// System.Single AstarPath::debugFloor
float ___debugFloor_13;
// System.Single AstarPath::debugRoof
float ___debugRoof_14;
// System.Boolean AstarPath::manualDebugFloorRoof
bool ___manualDebugFloorRoof_15;
// System.Boolean AstarPath::showSearchTree
bool ___showSearchTree_16;
// System.Single AstarPath::unwalkableNodeDebugSize
float ___unwalkableNodeDebugSize_17;
// Pathfinding.PathLog AstarPath::logPathResults
int32_t ___logPathResults_18;
// System.Single AstarPath::maxNearestNodeDistance
float ___maxNearestNodeDistance_19;
// System.Boolean AstarPath::scanOnStartup
bool ___scanOnStartup_20;
// System.Boolean AstarPath::fullGetNearestSearch
bool ___fullGetNearestSearch_21;
// System.Boolean AstarPath::prioritizeGraphs
bool ___prioritizeGraphs_22;
// System.Single AstarPath::prioritizeGraphsLimit
float ___prioritizeGraphsLimit_23;
// Pathfinding.AstarColor AstarPath::colorSettings
AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632* ___colorSettings_24;
// System.String[] AstarPath::tagNames
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___tagNames_25;
// Pathfinding.Heuristic AstarPath::heuristic
int32_t ___heuristic_26;
// System.Single AstarPath::heuristicScale
float ___heuristicScale_27;
// Pathfinding.ThreadCount AstarPath::threadCount
int32_t ___threadCount_28;
// System.Single AstarPath::maxFrameTime
float ___maxFrameTime_29;
// System.Boolean AstarPath::batchGraphUpdates
bool ___batchGraphUpdates_30;
// System.Single AstarPath::graphUpdateBatchingInterval
float ___graphUpdateBatchingInterval_31;
// System.Single AstarPath::<lastScanTime>k__BackingField
float ___U3ClastScanTimeU3Ek__BackingField_32;
// Pathfinding.PathHandler AstarPath::debugPathData
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___debugPathData_33;
// System.UInt16 AstarPath::debugPathID
uint16_t ___debugPathID_34;
// System.String AstarPath::inGameDebugPath
String_t* ___inGameDebugPath_35;
// System.Boolean AstarPath::isScanningBacking
bool ___isScanningBacking_36;
// System.Action AstarPath::OnGraphsWillBeUpdated
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___OnGraphsWillBeUpdated_47;
// System.Action AstarPath::OnGraphsWillBeUpdated2
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___OnGraphsWillBeUpdated2_48;
// Pathfinding.GraphUpdateProcessor AstarPath::graphUpdates
GraphUpdateProcessor_t85A8143F946CAAF56C39223ACB7B75649E0D4598* ___graphUpdates_49;
// Pathfinding.HierarchicalGraph AstarPath::hierarchicalGraph
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* ___hierarchicalGraph_50;
// Pathfinding.NavmeshUpdates AstarPath::navmeshUpdates
NavmeshUpdates_t7F920048D3085C42E645452F047686C8E51C4A77* ___navmeshUpdates_51;
// Pathfinding.WorkItemProcessor AstarPath::workItems
WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* ___workItems_52;
// Pathfinding.PathProcessor AstarPath::pathProcessor
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___pathProcessor_53;
// System.Boolean AstarPath::graphUpdateRoutineRunning
bool ___graphUpdateRoutineRunning_54;
// System.Boolean AstarPath::graphUpdatesWorkItemAdded
bool ___graphUpdatesWorkItemAdded_55;
// System.Single AstarPath::lastGraphUpdate
float ___lastGraphUpdate_56;
// Pathfinding.PathProcessor/GraphUpdateLock AstarPath::workItemLock
GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3 ___workItemLock_57;
// Pathfinding.PathReturnQueue AstarPath::pathReturnQueue
PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* ___pathReturnQueue_58;
// Pathfinding.EuclideanEmbedding AstarPath::euclideanEmbedding
EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890* ___euclideanEmbedding_59;
// System.Boolean AstarPath::showGraphs
bool ___showGraphs_60;
// System.UInt16 AstarPath::nextFreePathID
uint16_t ___nextFreePathID_61;
// Pathfinding.Util.RetainedGizmos AstarPath::gizmos
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* ___gizmos_62;
};
// Pathfinding.MonoModifier
struct MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768 : public VersionedMonoBehaviour_t13F17B0D6039238CC5328E19B6DBB74A6E9CFD3B
{
// Pathfinding.Seeker Pathfinding.MonoModifier::seeker
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* ___seeker_5;
};
// Pathfinding.Seeker
struct Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441 : public VersionedMonoBehaviour_t13F17B0D6039238CC5328E19B6DBB74A6E9CFD3B
{
// System.Boolean Pathfinding.Seeker::drawGizmos
bool ___drawGizmos_5;
// System.Boolean Pathfinding.Seeker::detailedGizmos
bool ___detailedGizmos_6;
// Pathfinding.StartEndModifier Pathfinding.Seeker::startEndModifier
StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* ___startEndModifier_7;
// System.Int32 Pathfinding.Seeker::traversableTags
int32_t ___traversableTags_8;
// System.Int32[] Pathfinding.Seeker::tagPenalties
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___tagPenalties_9;
// Pathfinding.GraphMask Pathfinding.Seeker::graphMask
GraphMask_t0D3B81600BFA722AB8C720E124358F9ABA57D404 ___graphMask_10;
// System.Int32 Pathfinding.Seeker::graphMaskCompatibility
int32_t ___graphMaskCompatibility_11;
// Pathfinding.OnPathDelegate Pathfinding.Seeker::pathCallback
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___pathCallback_12;
// Pathfinding.OnPathDelegate Pathfinding.Seeker::preProcessPath
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___preProcessPath_13;
// Pathfinding.OnPathDelegate Pathfinding.Seeker::postProcessPath
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___postProcessPath_14;
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.Seeker::lastCompletedVectorPath
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___lastCompletedVectorPath_15;
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.Seeker::lastCompletedNodePath
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___lastCompletedNodePath_16;
// Pathfinding.Path Pathfinding.Seeker::path
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___path_17;
// Pathfinding.Path Pathfinding.Seeker::prevPath
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___prevPath_18;
// Pathfinding.OnPathDelegate Pathfinding.Seeker::onPathDelegate
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___onPathDelegate_19;
// Pathfinding.OnPathDelegate Pathfinding.Seeker::tmpPathCallback
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___tmpPathCallback_20;
// System.UInt32 Pathfinding.Seeker::lastPathID
uint32_t ___lastPathID_21;
// System.Collections.Generic.List`1<Pathfinding.IPathModifier> Pathfinding.Seeker::modifiers
List_1_t942307E6491535C222375071452B86EBA636C4CD* ___modifiers_22;
};
// Pathfinding.AlternativePath
struct AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19 : public MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768
{
// System.Int32 Pathfinding.AlternativePath::penalty
int32_t ___penalty_6;
// System.Int32 Pathfinding.AlternativePath::randomStep
int32_t ___randomStep_7;
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.AlternativePath::prevNodes
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___prevNodes_8;
// System.Int32 Pathfinding.AlternativePath::prevPenalty
int32_t ___prevPenalty_9;
// System.Random Pathfinding.AlternativePath::rnd
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* ___rnd_10;
// System.Boolean Pathfinding.AlternativePath::destroyed
bool ___destroyed_11;
};
// Pathfinding.FunnelModifier
struct FunnelModifier_tF924FDF9477B84DB3CC5F9462E9251B1FD10FCB5 : public MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768
{
// System.Boolean Pathfinding.FunnelModifier::unwrap
bool ___unwrap_6;
// System.Boolean Pathfinding.FunnelModifier::splitAtEveryPortal
bool ___splitAtEveryPortal_7;
};
// Pathfinding.RaycastModifier
struct RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0 : public MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768
{
// System.Boolean Pathfinding.RaycastModifier::useRaycasting
bool ___useRaycasting_6;
// UnityEngine.LayerMask Pathfinding.RaycastModifier::mask
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___mask_7;
// System.Boolean Pathfinding.RaycastModifier::thickRaycast
bool ___thickRaycast_8;
// System.Single Pathfinding.RaycastModifier::thickRaycastRadius
float ___thickRaycastRadius_9;
// System.Boolean Pathfinding.RaycastModifier::use2DPhysics
bool ___use2DPhysics_10;
// UnityEngine.Vector3 Pathfinding.RaycastModifier::raycastOffset
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___raycastOffset_11;
// System.Boolean Pathfinding.RaycastModifier::useGraphRaycasting
bool ___useGraphRaycasting_12;
// Pathfinding.RaycastModifier/Quality Pathfinding.RaycastModifier::quality
int32_t ___quality_13;
// Pathfinding.RaycastModifier/Filter Pathfinding.RaycastModifier::cachedFilter
Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE* ___cachedFilter_18;
// Pathfinding.NNConstraint Pathfinding.RaycastModifier::cachedNNConstraint
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___cachedNNConstraint_19;
};
// Pathfinding.SimpleSmoothModifier
struct SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C : public MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768
{
// Pathfinding.SimpleSmoothModifier/SmoothType Pathfinding.SimpleSmoothModifier::smoothType
int32_t ___smoothType_6;
// System.Int32 Pathfinding.SimpleSmoothModifier::subdivisions
int32_t ___subdivisions_7;
// System.Int32 Pathfinding.SimpleSmoothModifier::iterations
int32_t ___iterations_8;
// System.Single Pathfinding.SimpleSmoothModifier::strength
float ___strength_9;
// System.Boolean Pathfinding.SimpleSmoothModifier::uniformLength
bool ___uniformLength_10;
// System.Single Pathfinding.SimpleSmoothModifier::maxSegmentLength
float ___maxSegmentLength_11;
// System.Single Pathfinding.SimpleSmoothModifier::bezierTangentLength
float ___bezierTangentLength_12;
// System.Single Pathfinding.SimpleSmoothModifier::offset
float ___offset_13;
// System.Single Pathfinding.SimpleSmoothModifier::factor
float ___factor_14;
};
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
// System.Collections.Generic.List`1<Pathfinding.Connection>
struct List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F_StaticFields
{
// T[] System.Collections.Generic.List`1::s_emptyArray
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ___s_emptyArray_5;
};
// System.Collections.Generic.List`1<Pathfinding.Connection>
// System.Collections.Generic.List`1<Pathfinding.GraphNode>
struct List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_StaticFields
{
// T[] System.Collections.Generic.List`1::s_emptyArray
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___s_emptyArray_5;
};
// System.Collections.Generic.List`1<Pathfinding.GraphNode>
// System.Collections.Generic.List`1<Pathfinding.Int3>
struct List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200_StaticFields
{
// T[] System.Collections.Generic.List`1::s_emptyArray
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___s_emptyArray_5;
};
// System.Collections.Generic.List`1<Pathfinding.Int3>
// System.Collections.Generic.List`1<System.Int32>
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_StaticFields
{
// T[] System.Collections.Generic.List`1::s_emptyArray
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___s_emptyArray_5;
};
// System.Collections.Generic.List`1<System.Int32>
// System.Collections.Generic.List`1<System.Object>
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D_StaticFields
{
// T[] System.Collections.Generic.List`1::s_emptyArray
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___s_emptyArray_5;
};
// System.Collections.Generic.List`1<System.Object>
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_StaticFields
{
// T[] System.Collections.Generic.List`1::s_emptyArray
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___s_emptyArray_5;
};
// System.Collections.Generic.List`1<UnityEngine.Vector3>
// System.Collections.Generic.List`1<Pathfinding.Funnel/PathPart>
struct List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77_StaticFields
{
// T[] System.Collections.Generic.List`1::s_emptyArray
PathPartU5BU5D_t47B37C2EE7F83186D2028EB90D9C12C6985385FA* ___s_emptyArray_5;
};
// System.Collections.Generic.List`1<Pathfinding.Funnel/PathPart>
// System.Collections.Generic.Stack`1<Pathfinding.GraphNode[]>
// System.Collections.Generic.Stack`1<Pathfinding.GraphNode[]>
// System.Collections.Generic.Stack`1<System.Object>
// System.Collections.Generic.Stack`1<System.Object>
// Pathfinding.AstarData
// Pathfinding.AstarData
// Pathfinding.Serialization.AstarSerializer
struct AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_StaticFields
{
// System.Text.StringBuilder Pathfinding.Serialization.AstarSerializer::_stringBuilder
StringBuilder_t* ____stringBuilder_13;
// System.Version Pathfinding.Serialization.AstarSerializer::V3_8_3
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___V3_8_3_14;
// System.Version Pathfinding.Serialization.AstarSerializer::V3_9_0
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___V3_9_0_15;
// System.Version Pathfinding.Serialization.AstarSerializer::V4_1_0
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___V4_1_0_16;
};
// Pathfinding.Serialization.AstarSerializer
// Pathfinding.BBTree
// Pathfinding.BBTree
// Pathfinding.BinaryHeap
// Pathfinding.BinaryHeap
// System.IO.BinaryReader
// System.IO.BinaryReader
// System.IO.BinaryWriter
struct BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E_StaticFields
{
// System.IO.BinaryWriter System.IO.BinaryWriter::Null
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* ___Null_0;
};
// System.IO.BinaryWriter
// Pathfinding.Serialization.GraphMeta
// Pathfinding.Serialization.GraphMeta
// Pathfinding.Serialization.GraphSerializationContext
// Pathfinding.Serialization.GraphSerializationContext
// Pathfinding.HierarchicalGraph
// Pathfinding.HierarchicalGraph
// Pathfinding.NavmeshTile
// Pathfinding.NavmeshTile
// Pathfinding.ObjImporter
// Pathfinding.ObjImporter
// Pathfinding.PathHandler
// Pathfinding.PathHandler
// Pathfinding.PathModifier
// Pathfinding.PathModifier
// Pathfinding.PathNode
// Pathfinding.PathNode
// Pathfinding.PointKDTree
struct PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_StaticFields
{
// System.Collections.Generic.IComparer`1<Pathfinding.GraphNode>[] Pathfinding.PointKDTree::comparers
IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2* ___comparers_6;
};
// Pathfinding.PointKDTree
// System.Random
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_StaticFields
{
// System.Random System.Random::s_globalRandom
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* ___s_globalRandom_7;
};
// System.Random
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_ThreadStaticFields
{
// System.Random System.Random::t_threadRandom
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* ___t_threadRandom_6;
};
// System.String
struct String_t_StaticFields
{
// System.String System.String::Empty
String_t* ___Empty_6;
};
// System.String
// System.Version
// System.Version
// Pathfinding.NavmeshBase/<>c
struct U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields
{
// Pathfinding.NavmeshBase/<>c Pathfinding.NavmeshBase/<>c::<>9
U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* ___U3CU3E9_0;
// System.Func`2<Pathfinding.NavmeshTile,System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>> Pathfinding.NavmeshBase/<>c::<>9__74_0
Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* ___U3CU3E9__74_0_1;
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.TriangleMeshNode> Pathfinding.NavmeshBase/<>c::<>9__74_1
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* ___U3CU3E9__74_1_2;
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]> Pathfinding.NavmeshBase/<>c::<>9__74_2
Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* ___U3CU3E9__74_2_3;
};
// Pathfinding.NavmeshBase/<>c
// Pathfinding.NavmeshBase/<>c__DisplayClass74_0
// Pathfinding.NavmeshBase/<>c__DisplayClass74_0
// Pathfinding.NavmeshBase/<>c__DisplayClass74_1
// Pathfinding.NavmeshBase/<>c__DisplayClass74_1
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings
// Pathfinding.PointKDTree/CompareX
// Pathfinding.PointKDTree/CompareX
// Pathfinding.PointKDTree/CompareY
// Pathfinding.PointKDTree/CompareY
// Pathfinding.PointKDTree/CompareZ
// Pathfinding.PointKDTree/CompareZ
// Pathfinding.RaycastModifier/Filter
// Pathfinding.RaycastModifier/Filter
// System.Boolean
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
{
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
};
// System.Boolean
// System.Byte
// System.Byte
// System.Char
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
{
// System.Byte[] System.Char::s_categoryForLatin1
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1_3;
};
// System.Char
// UnityEngine.Color
// UnityEngine.Color
// Pathfinding.Connection
// Pathfinding.Connection
// System.Double
// System.Double
// Pathfinding.GraphMask
// Pathfinding.GraphMask
// Pathfinding.Int3
// Pathfinding.Int3
// System.Int32
// System.Int32
// System.Int64
// System.Int64
// System.IntPtr
struct IntPtr_t_StaticFields
{
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
};
// System.IntPtr
// Pathfinding.IntRect
// Pathfinding.IntRect
// UnityEngine.LayerMask
// UnityEngine.LayerMask
// UnityEngine.Mathf
struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields
{
// System.Single UnityEngine.Mathf::Epsilon
float ___Epsilon_0;
};
// UnityEngine.Mathf
// UnityEngine.Matrix4x4
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields
{
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::zeroMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___zeroMatrix_16;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::identityMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___identityMatrix_17;
};
// UnityEngine.Matrix4x4
// Pathfinding.Progress
// Pathfinding.Progress
// UnityEngine.Quaternion
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
{
// UnityEngine.Quaternion UnityEngine.Quaternion::identityQuaternion
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion_4;
};
// UnityEngine.Quaternion
// UnityEngine.Rect
// UnityEngine.Rect
// System.Single
// System.Single
// System.IO.TextReader
struct TextReader_tB8D43017CB6BE1633E5A86D64E7757366507C1F7_StaticFields
{
// System.IO.TextReader System.IO.TextReader::Null
TextReader_tB8D43017CB6BE1633E5A86D64E7757366507C1F7* ___Null_1;
};
// System.IO.TextReader
// System.UInt16
// System.UInt16
// System.UInt32
// System.UInt32
// UnityEngine.Vector2
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields
{
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___zeroVector_2;
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___oneVector_3;
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___upVector_4;
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___downVector_5;
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___leftVector_6;
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rightVector_7;
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___positiveInfinityVector_8;
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___negativeInfinityVector_9;
};
// UnityEngine.Vector2
// UnityEngine.Vector3
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
{
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector_5;
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector_6;
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector_7;
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector_8;
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector_9;
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector_10;
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector_11;
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector_12;
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector_13;
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector_14;
};
// UnityEngine.Vector3
// System.Void
// System.Void
// Pathfinding.Funnel/FunnelPortals
// Pathfinding.Funnel/FunnelPortals
// Pathfinding.ObjImporter/meshStruct
// Pathfinding.ObjImporter/meshStruct
// Pathfinding.PointKDTree/Node
// Pathfinding.PointKDTree/Node
// System.Collections.Generic.List`1/Enumerator<Pathfinding.Connection>
// System.Collections.Generic.List`1/Enumerator<Pathfinding.Connection>
// UnityEngine.Bounds
// UnityEngine.Bounds
// System.Exception
struct Exception_t_StaticFields
{
// System.Object System.Exception::s_EDILock
RuntimeObject* ___s_EDILock_0;
};
// System.Exception
// Pathfinding.GraphHitInfo
// Pathfinding.GraphHitInfo
// Pathfinding.GraphNode
// Pathfinding.GraphNode
// Pathfinding.Util.GraphTransform
struct GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_StaticFields
{
// Pathfinding.Util.GraphTransform Pathfinding.Util.GraphTransform::identityTransform
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___identityTransform_11;
};
// Pathfinding.Util.GraphTransform
// Pathfinding.GraphUpdateThreading
// Pathfinding.GraphUpdateThreading
// Pathfinding.HeuristicOptimizationMode
// Pathfinding.HeuristicOptimizationMode
// Pathfinding.NNConstraint
// Pathfinding.NNConstraint
// Pathfinding.NNInfo
// Pathfinding.NNInfo
// Pathfinding.NNInfoInternal
// Pathfinding.NNInfoInternal
// Pathfinding.NavGraph
// Pathfinding.NavGraph
// UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
{
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
};
// UnityEngine.Object
// UnityEngine.Ray
// UnityEngine.Ray
// UnityEngine.RaycastHit
// UnityEngine.RaycastHit
// UnityEngine.RaycastHit2D
// UnityEngine.RaycastHit2D
// System.RuntimeFieldHandle
// System.RuntimeFieldHandle
// System.IO.StreamReader
struct StreamReader_t81027449065C1B0C339DB46241D8001A6F61130B_StaticFields
{
// System.IO.StreamReader System.IO.StreamReader::Null
StreamReader_t81027449065C1B0C339DB46241D8001A6F61130B* ___Null_2;
};
// System.IO.StreamReader
// System.IO.StringReader
// System.IO.StringReader
// Pathfinding.BBTree/BBTreeBox
// Pathfinding.BBTree/BBTreeBox
// Pathfinding.Funnel/PathPart
// Pathfinding.Funnel/PathPart
// Pathfinding.NavMeshGraph/<>c__DisplayClass19_0
// Pathfinding.NavMeshGraph/<>c__DisplayClass19_0
// Pathfinding.NavMeshGraph/<ScanInternal>d__21
// Pathfinding.NavMeshGraph/<ScanInternal>d__21
// Pathfinding.PointGraph/<ConnectNodesAsync>d__34
// Pathfinding.PointGraph/<ConnectNodesAsync>d__34
// Pathfinding.PointGraph/<ScanInternal>d__32
// Pathfinding.PointGraph/<ScanInternal>d__32
// Pathfinding.PointGraph/NodeDistanceMode
// Pathfinding.PointGraph/NodeDistanceMode
// Pathfinding.RaycastModifier/Quality
// Pathfinding.RaycastModifier/Quality
// Pathfinding.SimpleSmoothModifier/SmoothType
// Pathfinding.SimpleSmoothModifier/SmoothType
// Pathfinding.StartEndModifier/Exactness
// Pathfinding.StartEndModifier/Exactness
// UnityEngine.Component
// UnityEngine.Component
// Pathfinding.EuclideanEmbedding
// Pathfinding.EuclideanEmbedding
// UnityEngine.GameObject
// UnityEngine.GameObject
// Pathfinding.GraphCollision
struct GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_StaticFields
{
// UnityEngine.Collider2D[] Pathfinding.GraphCollision::dummyArray
Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034* ___dummyArray_17;
};
// Pathfinding.GraphCollision
// Pathfinding.GraphUpdateObject
// Pathfinding.GraphUpdateObject
// Pathfinding.GridGraph
struct GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields
{
// System.Single Pathfinding.GridGraph::StandardIsometricAngle
float ___StandardIsometricAngle_17;
// System.Single Pathfinding.GridGraph::StandardDimetricAngle
float ___StandardDimetricAngle_18;
// System.Int32[] Pathfinding.GridGraph::hexagonNeighbourIndices
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___hexagonNeighbourIndices_46;
};
// Pathfinding.GridGraph
// Pathfinding.GridNodeBase
// Pathfinding.GridNodeBase
// UnityEngine.Mesh
// UnityEngine.Mesh
// Pathfinding.MeshNode
// Pathfinding.MeshNode
// Pathfinding.NavmeshBase
struct NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_StaticFields
{
// Pathfinding.NNConstraint Pathfinding.NavmeshBase::NNConstraintDistanceXZ
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___NNConstraintDistanceXZ_29;
};
// Pathfinding.NavmeshBase
// Pathfinding.Path
struct Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_StaticFields
{
// System.Int32[] Pathfinding.Path::ZeroTagPenalties
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___ZeroTagPenalties_23;
};
// Pathfinding.Path
// Pathfinding.PointGraph
// Pathfinding.PointGraph
// Pathfinding.PointNode
// Pathfinding.PointNode
// Pathfinding.StartEndModifier
// Pathfinding.StartEndModifier
// System.Action`1<Pathfinding.NavmeshTile[]>
// System.Action`1<Pathfinding.NavmeshTile[]>
// System.Action`1<Pathfinding.GraphNode>
// System.Action`1<Pathfinding.GraphNode>
// System.Action`1<System.Object>
// System.Action`1<System.Object>
// System.Func`1<UnityEngine.Vector3>
// System.Func`1<UnityEngine.Vector3>
// System.Func`2<Pathfinding.Connection,System.Boolean>
// System.Func`2<Pathfinding.Connection,System.Boolean>
// System.Func`2<Pathfinding.GraphNode,System.Boolean>
// System.Func`2<Pathfinding.GraphNode,System.Boolean>
// Pathfinding.ABPath
struct ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F_StaticFields
{
// Pathfinding.NNConstraint Pathfinding.ABPath::NNConstraintNone
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___NNConstraintNone_39;
};
// Pathfinding.ABPath
// System.ArgumentException
// System.ArgumentException
// Pathfinding.GridNode
struct GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields
{
// Pathfinding.GridGraph[] Pathfinding.GridNode::_gridGraphs
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* ____gridGraphs_29;
};
// Pathfinding.GridNode
// Pathfinding.NavMeshGraph
// Pathfinding.NavMeshGraph
// Pathfinding.NodeLink3Node
// Pathfinding.NodeLink3Node
// System.NotSupportedException
// System.NotSupportedException
// UnityEngine.Transform
// UnityEngine.Transform
// Pathfinding.TriangleMeshNode
struct TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields
{
// Pathfinding.INavmeshHolder[] Pathfinding.TriangleMeshNode::_navmeshHolders
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* ____navmeshHolders_24;
// System.Object Pathfinding.TriangleMeshNode::lockObject
RuntimeObject* ___lockObject_25;
};
// Pathfinding.TriangleMeshNode
// System.ArgumentNullException
// System.ArgumentNullException
// Pathfinding.VersionedMonoBehaviour
// Pathfinding.VersionedMonoBehaviour
// AstarPath
struct AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields
{
// System.Version AstarPath::Version
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___Version_5;
// AstarPath/AstarDistribution AstarPath::Distribution
int32_t ___Distribution_6;
// System.String AstarPath::Branch
String_t* ___Branch_7;
// AstarPath AstarPath::active
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___active_9;
// System.Action AstarPath::OnAwakeSettings
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___OnAwakeSettings_37;
// Pathfinding.OnGraphDelegate AstarPath::OnGraphPreScan
OnGraphDelegate_tDBDF2146A1F5472AAF480750BC84F179B134D858* ___OnGraphPreScan_38;
// Pathfinding.OnGraphDelegate AstarPath::OnGraphPostScan
OnGraphDelegate_tDBDF2146A1F5472AAF480750BC84F179B134D858* ___OnGraphPostScan_39;
// Pathfinding.OnPathDelegate AstarPath::OnPathPreSearch
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___OnPathPreSearch_40;
// Pathfinding.OnPathDelegate AstarPath::OnPathPostSearch
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___OnPathPostSearch_41;
// Pathfinding.OnScanDelegate AstarPath::OnPreScan
OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88* ___OnPreScan_42;
// Pathfinding.OnScanDelegate AstarPath::OnPostScan
OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88* ___OnPostScan_43;
// Pathfinding.OnScanDelegate AstarPath::OnLatePostScan
OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88* ___OnLatePostScan_44;
// Pathfinding.OnScanDelegate AstarPath::OnGraphsUpdated
OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88* ___OnGraphsUpdated_45;
// System.Action AstarPath::On65KOverflow
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___On65KOverflow_46;
// System.Int32 AstarPath::waitForPathDepth
int32_t ___waitForPathDepth_63;
// Pathfinding.NNConstraint AstarPath::NNConstraintNone
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___NNConstraintNone_64;
};
// AstarPath
// Pathfinding.MonoModifier
// Pathfinding.MonoModifier
// Pathfinding.Seeker
// Pathfinding.Seeker
// Pathfinding.AlternativePath
// Pathfinding.AlternativePath
// Pathfinding.FunnelModifier
// Pathfinding.FunnelModifier
// Pathfinding.RaycastModifier
struct RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields
{
// System.Int32[] Pathfinding.RaycastModifier::iterationsByQuality
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___iterationsByQuality_14;
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.RaycastModifier::buffer
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___buffer_15;
// System.Single[] Pathfinding.RaycastModifier::DPCosts
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___DPCosts_16;
// System.Int32[] Pathfinding.RaycastModifier::DPParents
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___DPParents_17;
};
// Pathfinding.RaycastModifier
// Pathfinding.SimpleSmoothModifier
// Pathfinding.SimpleSmoothModifier
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Pathfinding.Connection[]
struct ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82 : public RuntimeArray
{
ALIGN_FIELD (8) Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 m_Items[1];
inline Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___node_0), (void*)NULL);
}
inline Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___node_0), (void*)NULL);
}
};
// Pathfinding.TriangleMeshNode[]
struct TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142 : public RuntimeArray
{
ALIGN_FIELD (8) TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* m_Items[1];
inline TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.Vector3[]
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C : public RuntimeArray
{
ALIGN_FIELD (8) Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 m_Items[1];
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
{
m_Items[index] = value;
}
};
// Pathfinding.NavmeshTile[]
struct NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF : public RuntimeArray
{
ALIGN_FIELD (8) NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* m_Items[1];
inline NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline NavmeshTile_tB162562405C06B86115076300DED318EC59873C0** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline NavmeshTile_tB162562405C06B86115076300DED318EC59873C0** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Pathfinding.Int3[]
struct Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926 : public RuntimeArray
{
ALIGN_FIELD (8) Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 m_Items[1];
inline Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 value)
{
m_Items[index] = value;
}
};
// System.Int32[]
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C : public RuntimeArray
{
ALIGN_FIELD (8) int32_t m_Items[1];
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// Pathfinding.GridGraph[]
struct GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D : public RuntimeArray
{
ALIGN_FIELD (8) GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* m_Items[1];
inline GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Pathfinding.GridNode[]
struct GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA : public RuntimeArray
{
ALIGN_FIELD (8) GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* m_Items[1];
inline GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.UInt32[]
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA : public RuntimeArray
{
ALIGN_FIELD (8) uint32_t m_Items[1];
inline uint32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, uint32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint32_t value)
{
m_Items[index] = value;
}
};
// Pathfinding.INavmeshHolder[]
struct INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E : public RuntimeArray
{
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Pathfinding.PointNode[]
struct PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2 : public RuntimeArray
{
ALIGN_FIELD (8) PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* m_Items[1];
inline PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.GameObject[]
struct GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF : public RuntimeArray
{
ALIGN_FIELD (8) GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* m_Items[1];
inline GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GameObject_t76FEDD663AB33C991A9C9A23129337651094216F** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GameObject_t76FEDD663AB33C991A9C9A23129337651094216F** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Pathfinding.BBTree/BBTreeBox[]
struct BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A : public RuntimeArray
{
ALIGN_FIELD (8) BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 m_Items[1];
inline BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 value)
{
m_Items[index] = value;
}
};
// Pathfinding.IntRect[]
struct IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE : public RuntimeArray
{
ALIGN_FIELD (8) IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 m_Items[1];
inline IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector2[]
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA : public RuntimeArray
{
ALIGN_FIELD (8) Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 m_Items[1];
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 value)
{
m_Items[index] = value;
}
};
// System.Char[]
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB : public RuntimeArray
{
ALIGN_FIELD (8) Il2CppChar m_Items[1];
inline Il2CppChar GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Il2CppChar* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Il2CppChar value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Il2CppChar GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Il2CppChar* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppChar value)
{
m_Items[index] = value;
}
};
// System.String[]
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
{
ALIGN_FIELD (8) String_t* m_Items[1];
inline String_t* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline String_t** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, String_t* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// Pathfinding.PointKDTree/Node[]
struct NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253 : public RuntimeArray
{
ALIGN_FIELD (8) Node_t43228590B77931D856C0EB4966838C08B95E580C m_Items[1];
inline Node_t43228590B77931D856C0EB4966838C08B95E580C GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Node_t43228590B77931D856C0EB4966838C08B95E580C* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Node_t43228590B77931D856C0EB4966838C08B95E580C value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___data_0), (void*)NULL);
}
inline Node_t43228590B77931D856C0EB4966838C08B95E580C GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Node_t43228590B77931D856C0EB4966838C08B95E580C* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Node_t43228590B77931D856C0EB4966838C08B95E580C value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___data_0), (void*)NULL);
}
};
// Pathfinding.GraphNode[]
struct GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557 : public RuntimeArray
{
ALIGN_FIELD (8) GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* m_Items[1];
inline GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Collections.Generic.IComparer`1<Pathfinding.GraphNode>[]
struct IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2 : public RuntimeArray
{
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Single[]
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C : public RuntimeArray
{
ALIGN_FIELD (8) float m_Items[1];
inline float GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline float* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, float value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline float GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline float* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, float value)
{
m_Items[index] = value;
}
};
// System.Object[]
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 : public RuntimeArray
{
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// TValue System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Item(TKey)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Dictionary_2_get_Item_m4AAAECBE902A211BF2126E6AFA280AEF73A3E0D6_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, RuntimeObject* ___0_key, const RuntimeMethod* method) ;
// System.Void System.Func`2<Pathfinding.Connection,System.Boolean>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Func_2__ctor_mF5407CDEAC3B730057DCC6BA806431B44363E2DC_gshared (Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
// System.Collections.Generic.IEnumerable`1<TSource> System.Linq.Enumerable::Where<Pathfinding.Connection>(System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource,System.Boolean>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Enumerable_Where_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_mA1F974DA2F049344009C424AE2314F445FCAAE66_gshared (RuntimeObject* ___0_source, Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* ___1_predicate, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<TSource> System.Linq.Enumerable::ToList<Pathfinding.Connection>(System.Collections.Generic.IEnumerable`1<TSource>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* Enumerable_ToList_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m65FEE28653F8DBD49C9CCAACF6436DC0B39AA1EF_gshared (RuntimeObject* ___0_source, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<Pathfinding.Connection>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B List_1_GetEnumerator_m8E7E84C2827CAB2C135E174711A77AAC0E891C45_gshared (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1/Enumerator<Pathfinding.Connection>::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_m46CB43B305187BFF94742C33D44905931B5F4572_gshared (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B* __this, const RuntimeMethod* method) ;
// T System.Collections.Generic.List`1/Enumerator<Pathfinding.Connection>::get_Current()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 Enumerator_get_Current_mF36B1C2353072BC4860616AEF9852ED47B114B65_gshared_inline (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B* __this, const RuntimeMethod* method) ;
// System.Boolean System.Collections.Generic.List`1/Enumerator<Pathfinding.Connection>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m1DC38C349B6712C1ECA850376CBC4CF87ABABE28_gshared (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B* __this, const RuntimeMethod* method) ;
// System.Void System.Action`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<Pathfinding.Int3>::Claim(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* ListPool_1_Claim_mFB263E7D84B814B9730990630F063CCFA3283D87_gshared (int32_t ___0_capacity, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.Int3>::Add(T)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m3379DEA703C536D8D6F82BD9CDFC7441FC2D90CB_gshared_inline (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_item, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mCC0E71080DE343C1A527526A1AC2DBEC355CEA6C_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ListPool`1<Pathfinding.Int3>::Release(System.Collections.Generic.List`1<T>&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_m599A2865676852CD535EFC68BA2F0E383B8C5B52_gshared (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200** ___0_list, const RuntimeMethod* method) ;
// System.Void System.Action`1<System.Object>::Invoke(T)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(T)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method) ;
// T Pathfinding.PointGraph::AddNode<System.Object>(T,Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PointGraph_AddNode_TisRuntimeObject_m8EBBEB1F3BBC317873FCDA3162E9E16815D25A24_gshared (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, RuntimeObject* ___0_node, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_position, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mC9C44B14BF63B847909B4B23EB4912E2436D3132_gshared (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::Clear()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::Add(T)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 ___0_item, const RuntimeMethod* method) ;
// T[] System.Collections.Generic.List`1<Pathfinding.Connection>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* List_1_ToArray_m24C92EA16BBE53010A10A365A9D125EC585F92B0_gshared (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ArrayPool`1<Pathfinding.BBTree/BBTreeBox>::Release(T[]&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2_gshared (BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ArrayPool`1<System.Object>::Release(T[]&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayPool_1_Release_m3DCD37428C4AEC264F51DB11183BA7B298A39D41_gshared (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method) ;
// T[] Pathfinding.Util.ArrayPool`1<Pathfinding.BBTree/BBTreeBox>::Claim(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669_gshared (int32_t ___0_minimumLength, const RuntimeMethod* method) ;
// T[] Pathfinding.Util.ArrayPool`1<System.Object>::Claim(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ArrayPool_1_Claim_m90AC36C9C0DA2578B0F8DA90402B7149FB96D46A_gshared (int32_t ___0_minimumLength, const RuntimeMethod* method) ;
// T[] Pathfinding.Util.ArrayPool`1<System.Int32>::Claim(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ArrayPool_1_Claim_m58490F73868B059517CF8CED5751A5EA5F6C5752_gshared (int32_t ___0_minimumLength, const RuntimeMethod* method) ;
// T[] Pathfinding.Util.ArrayPool`1<Pathfinding.IntRect>::Claim(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* ArrayPool_1_Claim_m497D9965DF6F084ED1C487DE7B20E1771A0225A2_gshared (int32_t ___0_minimumLength, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ArrayPool`1<System.Int32>::Release(T[]&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayPool_1_Release_m0C8F5FE3750CC790D6CE6A1386E1FD752F3F5E41_gshared (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ArrayPool`1<Pathfinding.IntRect>::Release(T[]&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayPool_1_Release_mD700A63E5C6664397A961B7FF120378A7F0239A1_gshared (IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(T)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method) ;
// T System.Collections.Generic.List`1<System.Int32>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.Stack`1<System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stack_1__ctor_m70E8EDA96A608CE9BAB7FC8313B233AADA573BD4_gshared (Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.Stack`1<System.Object>::Push(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stack_1_Push_m709DD11BC1291A905814182CF9A367DE7399A778_gshared (Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mE097DBD72433D1AFC11733F5678602603A756424_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method) ;
// System.Int32 System.Collections.Generic.Stack`1<System.Object>::get_Count()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Stack_1_get_Count_mD08AE71D49787D30DDD9D484BCD323D646744D2E_gshared_inline (Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5* __this, const RuntimeMethod* method) ;
// T System.Collections.Generic.Stack`1<System.Object>::Pop()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Stack_1_Pop_m2AFF69249659372F07EE25817DBCAFE74E1CF778_gshared (Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Object>::Add(T)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ListExtensions::ClearFast<System.Object>(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListExtensions_ClearFast_TisRuntimeObject_m4392D79A92CBCF77928C9BB22C67AE6A8A9D8238_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* ___0_list, const RuntimeMethod* method) ;
// T System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Object>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mC96F92ACF35F9B37F0A5E3338FF61E5229554338_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, int32_t ___1_count, RuntimeObject* ___2_comparer, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Claim()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_gshared (const RuntimeMethod* method) ;
// System.Int32 System.Collections.Generic.List`1<Pathfinding.Funnel/PathPart>::get_Count()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_gshared_inline (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* __this, const RuntimeMethod* method) ;
// T System.Collections.Generic.List`1<Pathfinding.Funnel/PathPart>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069_gshared (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* __this, int32_t ___0_index, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m5074E49FED0A20D75EEBFEF32BD7C59CBB6F0FEE_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Release(System.Collections.Generic.List`1<T>&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** ___0_list, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ListPool`1<Pathfinding.Funnel/PathPart>::Release(System.Collections.Generic.List`1<T>&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_m45CDA4615068AD09237147BD0211A0DD4E4CFD99_gshared (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77** ___0_list, const RuntimeMethod* method) ;
// T UnityEngine.Component::GetComponent<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
// T System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ListExtensions::ClearFast<UnityEngine.Vector3>(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_list, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.Memory::Swap<System.Object>(T&,T&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Memory_Swap_TisRuntimeObject_m55C661247CDE2517D1CC8A3A8EE1DCE464EB19C6_gshared (RuntimeObject** ___0_a, RuntimeObject** ___1_b, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
// System.Void System.Func`2<System.Object,System.Boolean>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Func_2__ctor_m13C0A7F33154D861E2A041B52E88461832DA1697_gshared (Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Claim(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_gshared (int32_t ___0_capacity, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_value, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_mE7623D84AEA50E917A6371C1DD13D356C9190F2F_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_item, const RuntimeMethod* method) ;
// TResult System.Func`1<UnityEngine.Vector3>::Invoke()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Func_1_Invoke_m1CDD0198843EF8947E2C7F333F38C1E36FF3C568_gshared_inline (Func_1_t58C51DB29153B53A9136AE397958F3FCC1F596EC* __this, const RuntimeMethod* method) ;
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavmeshBase/<>c__DisplayClass74_1::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass74_1__ctor_m57C1C10B29591ACE67B533ED23A8C02FE1106956 (U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* __this, const RuntimeMethod* method) ;
// TValue System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>::get_Item(TKey)
inline ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* Dictionary_2_get_Item_m934D8B14E1E3E74E525628661C8AF9F13DF13B94 (Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889* __this, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* ___0_key, const RuntimeMethod* method)
{
return (( ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* (*) (Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889*, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*, const RuntimeMethod*))Dictionary_2_get_Item_m4AAAECBE902A211BF2126E6AFA280AEF73A3E0D6_gshared)(__this, ___0_key, method);
}
// System.Void System.Func`2<Pathfinding.Connection,System.Boolean>::.ctor(System.Object,System.IntPtr)
inline void Func_2__ctor_mF5407CDEAC3B730057DCC6BA806431B44363E2DC (Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
{
(( void (*) (Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91*, RuntimeObject*, intptr_t, const RuntimeMethod*))Func_2__ctor_mF5407CDEAC3B730057DCC6BA806431B44363E2DC_gshared)(__this, ___0_object, ___1_method, method);
}
// System.Collections.Generic.IEnumerable`1<TSource> System.Linq.Enumerable::Where<Pathfinding.Connection>(System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource,System.Boolean>)
inline RuntimeObject* Enumerable_Where_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_mA1F974DA2F049344009C424AE2314F445FCAAE66 (RuntimeObject* ___0_source, Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* ___1_predicate, const RuntimeMethod* method)
{
return (( RuntimeObject* (*) (RuntimeObject*, Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91*, const RuntimeMethod*))Enumerable_Where_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_mA1F974DA2F049344009C424AE2314F445FCAAE66_gshared)(___0_source, ___1_predicate, method);
}
// System.Collections.Generic.List`1<TSource> System.Linq.Enumerable::ToList<Pathfinding.Connection>(System.Collections.Generic.IEnumerable`1<TSource>)
inline List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* Enumerable_ToList_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m65FEE28653F8DBD49C9CCAACF6436DC0B39AA1EF (RuntimeObject* ___0_source, const RuntimeMethod* method)
{
return (( List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* (*) (RuntimeObject*, const RuntimeMethod*))Enumerable_ToList_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m65FEE28653F8DBD49C9CCAACF6436DC0B39AA1EF_gshared)(___0_source, method);
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<Pathfinding.Connection>::GetEnumerator()
inline Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B List_1_GetEnumerator_m8E7E84C2827CAB2C135E174711A77AAC0E891C45 (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method)
{
return (( Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, const RuntimeMethod*))List_1_GetEnumerator_m8E7E84C2827CAB2C135E174711A77AAC0E891C45_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<Pathfinding.Connection>::Dispose()
inline void Enumerator_Dispose_m46CB43B305187BFF94742C33D44905931B5F4572 (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B* __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B*, const RuntimeMethod*))Enumerator_Dispose_m46CB43B305187BFF94742C33D44905931B5F4572_gshared)(__this, method);
}
// T System.Collections.Generic.List`1/Enumerator<Pathfinding.Connection>::get_Current()
inline Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 Enumerator_get_Current_mF36B1C2353072BC4860616AEF9852ED47B114B65_inline (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B* __this, const RuntimeMethod* method)
{
return (( Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 (*) (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B*, const RuntimeMethod*))Enumerator_get_Current_mF36B1C2353072BC4860616AEF9852ED47B114B65_gshared_inline)(__this, method);
}
// System.Void Pathfinding.MeshNode::AddConnection(Pathfinding.GraphNode,System.UInt32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_AddConnection_m21650A45029D3DE32BD899CD4594FD8185B6AD4E (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, int32_t ___2_shapeEdge, const RuntimeMethod* method) ;
// System.Boolean System.Collections.Generic.List`1/Enumerator<Pathfinding.Connection>::MoveNext()
inline bool Enumerator_MoveNext_m1DC38C349B6712C1ECA850376CBC4CF87ABABE28 (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B* __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B*, const RuntimeMethod*))Enumerator_MoveNext_m1DC38C349B6712C1ECA850376CBC4CF87ABABE28_gshared)(__this, method);
}
// System.Void Pathfinding.NavmeshBase/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m8D294E78D8BEF55B1BA548E94C376365782D0807 (U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* __this, const RuntimeMethod* method) ;
// UnityEngine.Quaternion UnityEngine.Quaternion::Euler(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::get_one()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::TRS(UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_q, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_s, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
// UnityEngine.Bounds UnityEngine.Mesh::get_bounds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Bounds::get_min()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
// UnityEngine.Quaternion UnityEngine.Quaternion::get_identity()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::op_Multiply(UnityEngine.Matrix4x4,UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_lhs, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___1_rhs, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.GraphTransform::.ctor(UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphTransform__ctor_mF0D350BA128D610C33975209F3E04290F0936A88 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_matrix, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavMeshGraph::UpdateArea(Pathfinding.GraphUpdateObject,Pathfinding.INavmeshHolder)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshGraph_UpdateArea_mFA0928B85FDF7CE830372D8792469570434EED2E (GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, RuntimeObject* ___1_graph, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass19_0__ctor_mEAC43BC527ED1634E8677F3A832C584392F68D1E (U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* __this, const RuntimeMethod* method) ;
// UnityEngine.Bounds Pathfinding.Util.GraphTransform::InverseTransform(UnityEngine.Bounds)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 GraphTransform_InverseTransform_mD59EAFA011A69990FFEACC358D81BFDC31F2AC57 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Mathf::FloorToInt(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline (float ___0_f, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Bounds::get_max()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Mathf::CeilToInt(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline (float ___0_f, const RuntimeMethod* method) ;
// System.Void Pathfinding.IntRect::.ctor(System.Int32,System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276 (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* __this, int32_t ___0_xmin, int32_t ___1_ymin, int32_t ___2_xmax, int32_t ___3_ymax, const RuntimeMethod* method) ;
// System.Void Pathfinding.Int3::.ctor(System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* __this, int32_t ___0__x, int32_t ___1__y, int32_t ___2__z, const RuntimeMethod* method) ;
// Pathfinding.Int3 Pathfinding.Int3::op_Explicit(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_ob, const RuntimeMethod* method) ;
// System.Void System.Action`1<Pathfinding.GraphNode>::.ctor(System.Object,System.IntPtr)
inline void Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692 (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
{
(( void (*) (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*, RuntimeObject*, intptr_t, const RuntimeMethod*))Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared)(__this, ___0_object, ___1_method, method);
}
// UnityEngine.Mesh Pathfinding.ObjImporter::ImportFile(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ObjImporter_ImportFile_m0AF42BF5FAFB9847E6F5914A1F78BB31FAFEB60B (String_t* ___0_filePath, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
// System.String System.String::Concat(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B (String_t* ___0_str0, String_t* ___1_str1, String_t* ___2_str2, const RuntimeMethod* method) ;
// System.Void UnityEngine.Debug::LogError(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavMeshGraph/<ScanInternal>d__21::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__21__ctor_mFBE3AFAE3D6610C18DCC6C7E7F511DAC8BA2EA60 (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavGraph::DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_DeserializeSettingsCompatibility_m4EDCD5F5616313CD38308D2D5072FB53568092DB (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method) ;
// UnityEngine.Object Pathfinding.Serialization.GraphSerializationContext::DeserializeUnityObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* GraphSerializationContext_DeserializeUnityObject_mEFFA3790149E1B7D77B87019524FD72AA2D8D531 (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 Pathfinding.Serialization.GraphSerializationContext::DeserializeVector3()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphSerializationContext_DeserializeVector3_mC5A2DC6906CC09A721E4F822EF70A0FF6117D6DF (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavmeshBase::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase__ctor_m1862DCB5497316A4CE27F317AF797A098D340F1D (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method) ;
// Pathfinding.Int3 Pathfinding.TriangleMeshNode::GetVertexInGraphSpace(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, int32_t ___0_i, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.IntRect::Contains(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntRect_Contains_m5E307C7E3F45B01584E41D0A141A3AF5E5D6549D (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* __this, int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.VectorMath::SegmentsIntersectXZ(Pathfinding.Int3,Pathfinding.Int3,Pathfinding.Int3,Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool VectorMath_SegmentsIntersectXZ_mB539A3D26170A303FEE3169A632A12110D2995F4 (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_start1, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_end1, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___2_start2, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___3_end2, const RuntimeMethod* method) ;
// System.Int32 System.Environment::get_CurrentManagedThreadId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF (const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method) ;
// System.Int32 Pathfinding.AstarData::GetGraphIndex(Pathfinding.NavGraph)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AstarData_GetGraphIndex_mEE39A9C890D7D44B139C86A4DF94AA0E171069C0 (AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* __this, NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* ___0_graph, const RuntimeMethod* method) ;
// System.Void Pathfinding.TriangleMeshNode::SetNavmeshHolder(System.Int32,Pathfinding.INavmeshHolder)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_SetNavmeshHolder_mFA2533EB627690E28F9394DFCDD8517D7C42200F (int32_t ___0_graphIndex, RuntimeObject* ___1_graph, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavmeshBase::FillWithEmptyTiles()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_FillWithEmptyTiles_mF344A935A10F26804F02385737F229C81BE44095 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.Progress::.ctor(System.Single,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A (Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8* __this, float ___0_progress, String_t* ___1_description, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Bounds::get_size()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3[] UnityEngine.Mesh::get_vertices()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<Pathfinding.Int3>::Claim(System.Int32)
inline List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* ListPool_1_Claim_mFB263E7D84B814B9730990630F063CCFA3283D87 (int32_t ___0_capacity, const RuntimeMethod* method)
{
return (( List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* (*) (int32_t, const RuntimeMethod*))ListPool_1_Claim_mFB263E7D84B814B9730990630F063CCFA3283D87_gshared)(___0_capacity, method);
}
// UnityEngine.Vector3 UnityEngine.Vector3::op_UnaryNegation(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Matrix4x4::MultiplyPoint3x4(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.Int3>::Add(T)
inline void List_1_Add_m3379DEA703C536D8D6F82BD9CDFC7441FC2D90CB_inline (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_item, const RuntimeMethod* method)
{
(( void (*) (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200*, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, const RuntimeMethod*))List_1_Add_m3379DEA703C536D8D6F82BD9CDFC7441FC2D90CB_gshared_inline)(__this, ___0_item, method);
}
// System.Int32[] UnityEngine.Mesh::get_triangles()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Mesh_get_triangles_m33E39B4A383CC613C760FA7E297AC417A433F24B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
inline void List_1__ctor_mCC0E71080DE343C1A527526A1AC2DBEC355CEA6C (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method)
{
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, RuntimeObject*, const RuntimeMethod*))List_1__ctor_mCC0E71080DE343C1A527526A1AC2DBEC355CEA6C_gshared)(__this, ___0_collection, method);
}
// System.Void Pathfinding.Polygon::CompressMesh(System.Collections.Generic.List`1<Pathfinding.Int3>,System.Collections.Generic.List`1<System.Int32>,Pathfinding.Int3[]&,System.Int32[]&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Polygon_CompressMesh_m25C643093267B2EE1981E7CE38384F0C30BB155B (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* ___0_vertices, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_triangles, Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926** ___2_outVertices, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** ___3_outTriangles, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ListPool`1<Pathfinding.Int3>::Release(System.Collections.Generic.List`1<T>&)
inline void ListPool_1_Release_m599A2865676852CD535EFC68BA2F0E383B8C5B52 (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200** ___0_list, const RuntimeMethod* method)
{
(( void (*) (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200**, const RuntimeMethod*))ListPool_1_Release_m599A2865676852CD535EFC68BA2F0E383B8C5B52_gshared)(___0_list, method);
}
// System.Void Pathfinding.NavmeshBase::ReplaceTile(System.Int32,System.Int32,Pathfinding.Int3[],System.Int32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_ReplaceTile_m5D3C27F3D401BAD8AC9EC6B92493CF4EF829FD69 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_tris, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavmeshUpdates/NavmeshUpdateSettings::OnRecalculatedTiles(Pathfinding.NavmeshTile[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshUpdateSettings_OnRecalculatedTiles_m4DBA52952C059CB3EC0F7BF5F247B275AA1FBD50 (NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F* __this, NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* ___0_tiles, const RuntimeMethod* method) ;
// System.Object System.Array::Clone()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Array_Clone_m66C9D0727C9BAA0995E4142F29B45BC03582E042 (RuntimeArray* __this, const RuntimeMethod* method) ;
// System.Void System.Action`1<Pathfinding.NavmeshTile[]>::Invoke(T)
inline void Action_1_Invoke_m34138B74B25DB9D6CC16FFEC3CDBC4ACDE30FD54_inline (Action_1_tA3439EC8A386FAF754C06299F3FD4600EF357973* __this, NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* ___0_obj, const RuntimeMethod* method)
{
(( void (*) (Action_1_tA3439EC8A386FAF754C06299F3FD4600EF357973*, NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF*, const RuntimeMethod*))Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline)(__this, ___0_obj, method);
}
// System.Void System.NotSupportedException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* __this, const RuntimeMethod* method) ;
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress> Pathfinding.NavMeshGraph/<ScanInternal>d__21::System.Collections.Generic.IEnumerable<Pathfinding.Progress>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__21_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_mA991C61199796D875667AD6FB0B6738FFE3E584F (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.GridNodeBase::.ctor(AstarPath)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase__ctor_mDB14DC291FE98CC186B06C9A377F924B9BE05F1C (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method) ;
// System.UInt16 Pathfinding.GridNode::get_InternalGridFlags()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint16_t GridNode_get_InternalGridFlags_m3524F7385C1A53C7D7FA6107D48BF8638399C907_inline (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.GridNode::HasConnectionInDirection(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_dir, const RuntimeMethod* method) ;
// System.Void Pathfinding.HierarchicalGraph::AddDirtyNode(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823 (HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
// System.UInt32 Pathfinding.GraphNode::get_GraphIndex()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
// Pathfinding.GridGraph Pathfinding.GridNode::GetGridGraph(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35 (uint32_t ___0_graphIndex, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.GridNodeBase::get_NodeInGridIndex()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.GridNode::SetConnectionInternal(System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_SetConnectionInternal_mA9FEC910BFD91692F42444F30F46EB4931D9AB0F (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_dir, bool ___1_value, const RuntimeMethod* method) ;
// System.Void Pathfinding.GridNode::ResetConnectionsInternal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_ResetConnectionsInternal_mC19D8936C87C2DFA436B5373F2A37DB50FBD3B1D (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.GridNodeBase::ClearConnections(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_ClearConnections_mA4F42033728D7722B54247AF3883667A5E234CE1 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, bool ___0_alsoReverse, const RuntimeMethod* method) ;
// System.Void System.Action`1<Pathfinding.GraphNode>::Invoke(T)
inline void Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_obj, const RuntimeMethod* method)
{
(( void (*) (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, const RuntimeMethod*))Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline)(__this, ___0_obj, method);
}
// System.Void Pathfinding.GridNodeBase::GetConnections(System.Action`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_GetConnections_m0BF8CB883889BDF1C3230325A54061626FBF2FA5 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___0_action, const RuntimeMethod* method) ;
// Pathfinding.Util.GraphTransform Pathfinding.GridGraph::get_transform()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 Pathfinding.Util.GraphTransform::InverseTransform(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
// UnityEngine.Vector3 Pathfinding.Int3::op_Explicit(Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_ob, const RuntimeMethod* method) ;
// System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method) ;
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
// UnityEngine.Vector3 Pathfinding.Util.GraphTransform::Transform(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
// Pathfinding.Int3 Pathfinding.Int3::op_Addition(Pathfinding.Int3,Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Int3_op_Addition_mB80493FA1BF7D5410E713B41EC744857D17D2023 (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_lhs, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_rhs, const RuntimeMethod* method) ;
// Pathfinding.Int3 Pathfinding.Int3::op_Subtraction(Pathfinding.Int3,Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_lhs, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_rhs, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::Cross(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
// System.Void UnityEngine.Vector3::Normalize()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3_Normalize_mC749B887A4C74BA0A2E13E6377F17CCAEB0AADA8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(T)
inline void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline)(__this, ___0_item, method);
}
// UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.GraphNode::get_Walkable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PathNode::UpdateG(Pathfinding.Path)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method) ;
// System.Void Pathfinding.BinaryHeap::Add(Pathfinding.PathNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4 (BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* __this, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___0_node, const RuntimeMethod* method) ;
// System.UInt16 Pathfinding.PathHandler::get_PathID()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint16_t PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, const RuntimeMethod* method) ;
// Pathfinding.PathNode Pathfinding.PathHandler::GetPathNode(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
// System.Void Pathfinding.GridNodeBase::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_UpdateRecursiveG_m9A6A671A018051290B12490C5CB53A83C67DCA0B (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.Path::CanTraverse(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Path_CanTraverse_m6591EBB82B68115ECC6D103EBF00414BDDC0A308 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
// System.Void Pathfinding.PathNode::set_cost(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method) ;
// System.UInt32 Pathfinding.Path::CalculateHScore(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Path_CalculateHScore_m2DC595B3B0268A737F8E956819C3F14C5663BD13 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
// System.Void Pathfinding.PathNode::set_H(System.UInt32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138_inline (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method) ;
// System.UInt32 Pathfinding.PathNode::get_G()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method) ;
// System.UInt32 Pathfinding.Path::GetTraversalCost(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Path_GetTraversalCost_mC9C3D703DF4EB5AF7B3B8C61CD7F952063E4D1B1 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
// System.Void Pathfinding.GridNodeBase::Open(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_Open_m8824BB69E414CF970E5880F713C28A0199E233A5 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method) ;
// System.Void Pathfinding.GraphNode::SerializeNode(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_SerializeNode_mD33B9C61E7205A8A098807428025CF2FF4626DDA (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method) ;
// System.Void Pathfinding.Serialization.GraphSerializationContext::SerializeInt3(Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphSerializationContext_SerializeInt3_m1F740467D95784EF5AA89024FC8C133FCC7799E4 (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_v, const RuntimeMethod* method) ;
// System.Void Pathfinding.GraphNode::DeserializeNode(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_DeserializeNode_mE353ED15276B00A0A798066891B1FF38B91EF1CA (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method) ;
// Pathfinding.Int3 Pathfinding.Serialization.GraphSerializationContext::DeserializeInt3()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 GraphSerializationContext_DeserializeInt3_m7B3A252F1DD5E434B6B3D822CC076C5C8DC5F27F (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.GraphNode::.ctor(AstarPath)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode__ctor_m962B0F8CB16339D10AD78273E651373A10B3ACC2 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method) ;
// System.Single UnityEngine.Random::get_value()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Random_get_value_m2CEA87FADF5222EF9E13D32695F15E2BA282E24B (const RuntimeMethod* method) ;
// System.Int32 Pathfinding.GraphNode::GetGizmoHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GraphNode_GetGizmoHashCode_m4F6FBDB8048E7493E8FCE4CF3B800DA49DAAA686 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.Connection::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Connection_GetHashCode_m1B33710893D1443A103B25749ED833D3830ECCA2 (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.GridNodeBase::ClearCustomConnections(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_ClearCustomConnections_mDEFE7C5C9365D28C7ACF91DDA765F4E0D1C5B12D (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, bool ___0_alsoReverse, const RuntimeMethod* method) ;
// System.Void System.ArgumentNullException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m4A0936689D360EBC545690326B4DF187196BF2B9 (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.Connection::.ctor(Pathfinding.GraphNode,System.UInt32,System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2 (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, uint8_t ___2_shapeEdge, const RuntimeMethod* method) ;
// System.Void Pathfinding.Serialization.GraphSerializationContext::SerializeNodeReference(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphSerializationContext_SerializeNodeReference_m7DDFE9416F1E4BCF332867FEAC72C852D68D45B0 (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
// System.Boolean System.Version::op_LessThan(System.Version,System.Version)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Version_op_LessThan_m83ED9AEB1F6175AF9C8CDEDD9329CE0D2DA2CE4E (Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___0_v1, Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___1_v2, const RuntimeMethod* method) ;
// Pathfinding.GraphNode Pathfinding.Serialization.GraphSerializationContext::DeserializeNodeReference()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* GraphSerializationContext_DeserializeNodeReference_m968E85AF963D69ED085D263960B9D6605616353D (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, const RuntimeMethod* method) ;
// Pathfinding.NavGraph Pathfinding.GraphNode::get_Graph()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* GraphNode_get_Graph_mB23268E38AA50142FEE9276D0F2C11146E4A50AE (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
// System.Int64 Pathfinding.Int3::get_sqrMagnitudeLong()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Int3_get_sqrMagnitudeLong_m8319324D5E2D6785E1C26B09E64E669D8C563482 (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointGraph::RegisterConnectionLength(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_RegisterConnectionLength_m3B900DC3EA697B3079427A98F771EF23E175D868 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, int64_t ___0_sqrLength, const RuntimeMethod* method) ;
// System.Void Pathfinding.MeshNode::.ctor(AstarPath)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode__ctor_m0D20EE79DC4C9F222B97C79D91D3748AB3E6B846 (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method) ;
// System.Void System.Threading.Monitor::Exit(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA (RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
// System.Void System.Threading.Monitor::Enter(System.Object,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149 (RuntimeObject* ___0_obj, bool* ___1_lockTaken, const RuntimeMethod* method) ;
// System.Void System.Array::CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_CopyTo_mFD42E3443AB3B850ED6F19359698E242A08E1BAB (RuntimeArray* __this, RuntimeArray* ___0_array, int32_t ___1_index, const RuntimeMethod* method) ;
// System.Void Pathfinding.TriangleMeshNode::GetVertices(Pathfinding.Int3&,Pathfinding.Int3&,Pathfinding.Int3&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_GetVertices_m1B343E7743FBD9783557046FEC6FE2175D6194E0 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___0_v0, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___1_v1, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___2_v2, const RuntimeMethod* method) ;
// Pathfinding.Int3 Pathfinding.Int3::op_Multiply(Pathfinding.Int3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Int3_op_Multiply_m12AD38AB914D7B8BA6D315A06006EF4A23DEA61D (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_lhs, float ___1_rhs, const RuntimeMethod* method) ;
// Pathfinding.INavmeshHolder Pathfinding.TriangleMeshNode::GetNavmeshHolder(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A (uint32_t ___0_graphIndex, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.TriangleMeshNode::GetVertexIndex(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, int32_t ___0_i, const RuntimeMethod* method) ;
// UnityEngine.Vector3 Pathfinding.Polygon::ClosestPointOnTriangle(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Polygon_ClosestPointOnTriangle_mAE9BE26EAD9FC2A8C506624BB50758978D9F7FD1 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_c, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_p, const RuntimeMethod* method) ;
// System.Void Pathfinding.TriangleMeshNode::GetVerticesInGraphSpace(Pathfinding.Int3&,Pathfinding.Int3&,Pathfinding.Int3&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_GetVerticesInGraphSpace_mFD3B0AE6576FC60EAAA3B5BCBE8AA14DC586FECE (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___0_v0, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___1_v1, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___2_v2, const RuntimeMethod* method) ;
// UnityEngine.Vector3 Pathfinding.Polygon::ClosestPointOnTriangleXZ(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Polygon_ClosestPointOnTriangleXZ_mB09011499825EC3F8EAABCF31E15EFFB2D63A1EE (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_c, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_p, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.PathNode::get_flag2()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathNode_get_flag2_mC736180A7E80447EE033429097B927B0418B5E89 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.TriangleMeshNode::GetPortal(Pathfinding.GraphNode,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Boolean,System.Int32&,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TriangleMeshNode_GetPortal_mD6640BD4885273CC931E6FDBD00B15A59292B0FC (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_toNode, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_left, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___2_right, bool ___3_backwards, int32_t* ___4_aIndex, int32_t* ___5_bIndex, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.TriangleMeshNode::SharedEdge(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleMeshNode_SharedEdge_m2B14A28F6A1DB044EAB7741927A09CAE35934189 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_other, const RuntimeMethod* method) ;
// Pathfinding.GraphNode Pathfinding.NodeLink3Node::GetOther(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* NodeLink3Node_GetOther_mDA6AB45F60111954381ABA0F917514F33F9B0E0A (NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_a, const RuntimeMethod* method) ;
// System.Void System.Exception::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F (Exception_t* __this, String_t* ___0_message, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.Int3::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* __this, int32_t ___0_i, const RuntimeMethod* method) ;
// System.Int32 System.Math::Min(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52 (int32_t ___0_val1, int32_t ___1_val2, const RuntimeMethod* method) ;
// System.Int32 System.Math::Max(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF (int32_t ___0_val1, int32_t ___1_val2, const RuntimeMethod* method) ;
// System.Void Pathfinding.Int3::set_Item(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Int3_set_Item_m229C7D4C1C6C06A0D7E8843A4FFB0AD586CFF61D (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* __this, int32_t ___0_i, int32_t ___1_value, const RuntimeMethod* method) ;
// System.Int64 Pathfinding.VectorMath::SignedTriangleAreaTimes2XZ(Pathfinding.Int3,Pathfinding.Int3,Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t VectorMath_SignedTriangleAreaTimes2XZ_m9C72088E8AB173B4FDC393F2C7963E3954C055BE (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_a, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_b, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___2_c, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.PointGraph::get_nodeCount()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method) ;
// Pathfinding.NNInfoInternal Pathfinding.PointGraph::GetNearestInternal(UnityEngine.Vector3,Pathfinding.NNConstraint,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 PointGraph_GetNearestInternal_m0E63F6E2618920BCE9313BB9A2C76065572046D1 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, bool ___2_fastCheck, const RuntimeMethod* method) ;
// System.Single AstarPath::get_maxNearestNodeDistanceSqr()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AstarPath_get_maxNearestNodeDistanceSqr_mFED817A3319393CD0214F4C95AC9A38475AA75B0 (AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.NNInfoInternal::.ctor(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NNInfoInternal__ctor_mAF15F2D3925A1F1AF14425DAE40F6FD9168258E1 (NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
// System.Void Pathfinding.NNInfoInternal::UpdateInfo()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NNInfoInternal_UpdateInfo_m38114F55F54AF9A11A4C913F1502C2DAAFD3492B (NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 Pathfinding.VectorMath::ClosestPointOnSegment(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VectorMath_ClosestPointOnSegment_mEE1C608A7DCBE4809E300E1AF0C1A8AB6F825A92 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lineStart, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_lineEnd, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_point, const RuntimeMethod* method) ;
// System.Single UnityEngine.Vector3::get_sqrMagnitude()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointNode::.ctor(AstarPath)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode__ctor_m308BD54498738C0D59151C441BB033951526FECC (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method) ;
// T Pathfinding.PointGraph::AddNode<Pathfinding.PointNode>(T,Pathfinding.Int3)
inline PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* PointGraph_AddNode_TisPointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_m60D98FCBC0CE62055DBBEAA711B9DB0F61BB4390 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* ___0_node, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_position, const RuntimeMethod* method)
{
return (( PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* (*) (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178*, PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0*, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, const RuntimeMethod*))PointGraph_AddNode_TisRuntimeObject_m8EBBEB1F3BBC317873FCDA3162E9E16815D25A24_gshared)(__this, ___0_node, ___1_position, method);
}
// System.Collections.IEnumerator UnityEngine.Transform::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Transform_GetEnumerator_mA7E1C882ACA0C33E284711CD09971DEA3FFEF404 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.PointGraph::CountChildren(UnityEngine.Transform)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PointGraph_CountChildren_mFD9665904130BFBC535837A4277ACFF781135C5F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_tr, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Transform::get_position()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.GraphNode::set_Walkable(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, bool ___0_value, const RuntimeMethod* method) ;
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointGraph::AddChildren(System.Int32&,UnityEngine.Transform)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_AddChildren_m9960E40B7FC9EE480253BA2DC72FC991E8D0F423 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, int32_t* ___0_c, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_tr, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointGraph/<ScanInternal>d__32::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__32__ctor_m1539DB918717EDEE1FDDCBD3FA8228FD8419EBD8 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
// System.Collections.Generic.IEnumerable`1<Pathfinding.Progress> Pathfinding.PointGraph::ConnectNodesAsync()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PointGraph_ConnectNodesAsync_m5836DF445BFACD510413E442899848C76F1D2F5C (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointGraph::RebuildConnectionDistanceLookup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_RebuildConnectionDistanceLookup_mB167E3804AF170815F793C9A962EBBA267521FB5 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointGraph/<ConnectNodesAsync>d__34::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CConnectNodesAsyncU3Ed__34__ctor_m96FD3CC76A6744B49C3CEEA3850D3D4C43FC244A (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Mathf::Approximately(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
// System.Single UnityEngine.Vector3::get_magnitude()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Ray::.ctor(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Ray__ctor_mE298992FD10A3894C38373198385F345C58BD64C (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Ray::get_origin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Ray_get_origin_m97604A8F180316A410DCD77B7D74D04522FA1BA6 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector2 UnityEngine.Vector2::op_Implicit(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Ray::get_direction()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.LayerMask::op_Implicit(UnityEngine.LayerMask)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D (LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___0_mask, const RuntimeMethod* method) ;
// UnityEngine.RaycastHit2D UnityEngine.Physics2D::CircleCast(UnityEngine.Vector2,System.Single,UnityEngine.Vector2,System.Single,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA Physics2D_CircleCast_mFDA98331D99470872994987932FCAF8E2539467A (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_origin, float ___1_radius, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___2_direction, float ___3_distance, int32_t ___4_layerMask, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.RaycastHit2D::op_Implicit(UnityEngine.RaycastHit2D)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RaycastHit2D_op_Implicit_mBEF99A746116664D68B1398D58CA247550980A11 (RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA ___0_hit, const RuntimeMethod* method) ;
// UnityEngine.RaycastHit2D UnityEngine.Physics2D::Linecast(UnityEngine.Vector2,UnityEngine.Vector2,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA Physics2D_Linecast_m9812FA76F939EF9A8DA87B6C27F2C91C751533B3 (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_start, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_end, int32_t ___2_layerMask, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Physics::SphereCast(UnityEngine.Ray,System.Single,System.Single,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_SphereCast_mCE6B04501EE9D9DF9E6AE427BD9496F69467FAD5 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 ___0_ray, float ___1_radius, float ___2_maxDistance, int32_t ___3_layerMask, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Physics::Linecast(UnityEngine.Vector3,UnityEngine.Vector3,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Linecast_mE693FAFE56D0E69918A0948310EF642094C91DC0 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_start, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_end, int32_t ___2_layerMask, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointGraph::RebuildNodeLookup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_RebuildNodeLookup_m11F936EC78AB22361DD14C0F7C93971F1538ECC9 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavGraph::RelocateNodes(UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_RelocateNodes_m5B704FE4D364C894665619FABA57CA257B159D88 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_deltaMatrix, const RuntimeMethod* method) ;
// UnityEngine.LayerMask UnityEngine.LayerMask::op_Implicit(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB LayerMask_op_Implicit_m01C8996A2CB2085328B9C33539C43139660D8222 (int32_t ___0_intVal, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointGraph::set_nodeCount(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PointGraph_set_nodeCount_m54C70E397E4891F8B7FFEC013D17E8FB8647A148_inline (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, int32_t ___0_value, const RuntimeMethod* method) ;
// System.Void Pathfinding.NavGraph::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph__ctor_mAA234C62A98AC3CD20D1CD0642D6EC2CDCBEF015 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointGraph/<ScanInternal>d__32::<>m__Finally1()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__32_U3CU3Em__Finally1_m6159FB78A878D66B7512C06C7866363866DEDDA0 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointGraph/<ScanInternal>d__32::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__32_System_IDisposable_Dispose_m503D606382329C55E96EBA0616EE2FFD83201BB2 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method) ;
// UnityEngine.GameObject[] UnityEngine.GameObject::FindGameObjectsWithTag(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* GameObject_FindGameObjectsWithTag_mB8AA805DA664EF0221BB338446014F662771B4E3 (String_t* ___0_tag, const RuntimeMethod* method) ;
// UnityEngine.Transform UnityEngine.GameObject::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
// UnityEngine.GameObject UnityEngine.GameObject::get_gameObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* GameObject_get_gameObject_m0878015B8CF7F5D432B583C187725810D27B57DC (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Transform::get_childCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Transform_get_childCount_mE9C29C702AB662CC540CA053EDE48BDAFA35B4B0 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// Pathfinding.Progress Pathfinding.Progress::MapTo(System.Single,System.Single,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 Progress_MapTo_m455B07D01EC1D98BC1D20633899DEF5497D23AD6 (Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8* __this, float ___0_min, float ___1_max, String_t* ___2_prefix, const RuntimeMethod* method) ;
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress> Pathfinding.PointGraph/<ScanInternal>d__32::System.Collections.Generic.IEnumerable<Pathfinding.Progress>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__32_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_mCAB9A668A36A3C2555F9C715640B98166F8E8B21 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::.ctor()
inline void List_1__ctor_mC9C44B14BF63B847909B4B23EB4912E2436D3132 (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, const RuntimeMethod*))List_1__ctor_mC9C44B14BF63B847909B4B23EB4912E2436D3132_gshared)(__this, method);
}
// System.Single UnityEngine.Mathf::Max(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::Clear()
inline void List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, const RuntimeMethod*))List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_gshared_inline)(__this, method);
}
// System.Int32 UnityEngine.Mathf::RoundToInt(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::Add(T)
inline void List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 ___0_item, const RuntimeMethod* method)
{
(( void (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0, const RuntimeMethod*))List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_gshared_inline)(__this, ___0_item, method);
}
// T[] System.Collections.Generic.List`1<Pathfinding.Connection>::ToArray()
inline ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* List_1_ToArray_m24C92EA16BBE53010A10A365A9D125EC585F92B0 (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method)
{
return (( ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, const RuntimeMethod*))List_1_ToArray_m24C92EA16BBE53010A10A365A9D125EC585F92B0_gshared)(__this, method);
}
// System.Void Pathfinding.GraphNode::SetConnectivityDirty()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_SetConnectivityDirty_m1B823A693BA88849DB202D906E6DD5646D83E86E (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress> Pathfinding.PointGraph/<ConnectNodesAsync>d__34::System.Collections.Generic.IEnumerable<Pathfinding.Progress>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CConnectNodesAsyncU3Ed__34_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_m4DC6ED52509E11DCE491CD68C5332CA663B25BF0 (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rect::.ctor(System.Single,System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_x, float ___1_y, float ___2_width, float ___3_height, const RuntimeMethod* method) ;
// UnityEngine.Rect UnityEngine.Rect::MinMaxRect(System.Single,System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D Rect_MinMaxRect_m540D2DD8C255D276AD4AE06D9CCA2A667EFA39E5 (float ___0_xmin, float ___1_ymin, float ___2_xmax, float ___3_ymax, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ArrayPool`1<Pathfinding.BBTree/BBTreeBox>::Release(T[]&,System.Boolean)
inline void ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2 (BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method)
{
(( void (*) (BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A**, bool, const RuntimeMethod*))ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2_gshared)(___0_array, ___1_allowNonPowerOfTwo, method);
}
// System.Void Pathfinding.Util.ArrayPool`1<Pathfinding.TriangleMeshNode>::Release(T[]&,System.Boolean)
inline void ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method)
{
(( void (*) (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142**, bool, const RuntimeMethod*))ArrayPool_1_Release_m3DCD37428C4AEC264F51DB11183BA7B298A39D41_gshared)(___0_array, ___1_allowNonPowerOfTwo, method);
}
// T[] Pathfinding.Util.ArrayPool`1<Pathfinding.BBTree/BBTreeBox>::Claim(System.Int32)
inline BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669 (int32_t ___0_minimumLength, const RuntimeMethod* method)
{
return (( BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* (*) (int32_t, const RuntimeMethod*))ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669_gshared)(___0_minimumLength, method);
}
// T[] Pathfinding.Util.ArrayPool`1<Pathfinding.TriangleMeshNode>::Claim(System.Int32)
inline TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79 (int32_t ___0_minimumLength, const RuntimeMethod* method)
{
return (( TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* (*) (int32_t, const RuntimeMethod*))ArrayPool_1_Claim_m90AC36C9C0DA2578B0F8DA90402B7149FB96D46A_gshared)(___0_minimumLength, method);
}
// System.Void Pathfinding.BBTree::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_Clear_m54A44E63D9BB02A4BED202EE1C9D8075B4274C8B (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.BBTree::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_EnsureCapacity_m9522B3FC886864A53B0EC78BEE2B1F81762FE6F3 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_c, const RuntimeMethod* method) ;
// System.Void Pathfinding.BBTree/BBTreeBox::.ctor(Pathfinding.IntRect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTreeBox__ctor_mBA684D448E7E9D556FF37A6C3F9255DBFA6D2CEC (BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* __this, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, const RuntimeMethod* method) ;
// System.Void Pathfinding.BBTree::EnsureNodeCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_EnsureNodeCapacity_m886CE1D4793D914A0CA3150C4795DD519879B356 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_c, const RuntimeMethod* method) ;
// T[] Pathfinding.Util.ArrayPool`1<System.Int32>::Claim(System.Int32)
inline Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ArrayPool_1_Claim_m58490F73868B059517CF8CED5751A5EA5F6C5752 (int32_t ___0_minimumLength, const RuntimeMethod* method)
{
return (( Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* (*) (int32_t, const RuntimeMethod*))ArrayPool_1_Claim_m58490F73868B059517CF8CED5751A5EA5F6C5752_gshared)(___0_minimumLength, method);
}
// T[] Pathfinding.Util.ArrayPool`1<Pathfinding.IntRect>::Claim(System.Int32)
inline IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* ArrayPool_1_Claim_m497D9965DF6F084ED1C487DE7B20E1771A0225A2 (int32_t ___0_minimumLength, const RuntimeMethod* method)
{
return (( IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* (*) (int32_t, const RuntimeMethod*))ArrayPool_1_Claim_m497D9965DF6F084ED1C487DE7B20E1771A0225A2_gshared)(___0_minimumLength, method);
}
// Pathfinding.IntRect Pathfinding.IntRect::ExpandToContain(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 IntRect_ExpandToContain_m0101C3D2B025AC4F51691FD01565434DCD7FD32F (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* __this, int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.BBTree::RebuildFromInternal(Pathfinding.TriangleMeshNode[],System.Int32[],Pathfinding.IntRect[],System.Int32,System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBTree_RebuildFromInternal_mC6870DDCD0543E73D31ED90E7A15A851D994C8B2 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_permutation, IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* ___2_nodeBounds, int32_t ___3_from, int32_t ___4_to, bool ___5_odd, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ArrayPool`1<System.Int32>::Release(T[]&,System.Boolean)
inline void ArrayPool_1_Release_m0C8F5FE3750CC790D6CE6A1386E1FD752F3F5E41 (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method)
{
(( void (*) (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C**, bool, const RuntimeMethod*))ArrayPool_1_Release_m0C8F5FE3750CC790D6CE6A1386E1FD752F3F5E41_gshared)(___0_array, ___1_allowNonPowerOfTwo, method);
}
// System.Void Pathfinding.Util.ArrayPool`1<Pathfinding.IntRect>::Release(T[]&,System.Boolean)
inline void ArrayPool_1_Release_mD700A63E5C6664397A961B7FF120378A7F0239A1 (IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method)
{
(( void (*) (IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE**, bool, const RuntimeMethod*))ArrayPool_1_Release_mD700A63E5C6664397A961B7FF120378A7F0239A1_gshared)(___0_array, ___1_allowNonPowerOfTwo, method);
}
// Pathfinding.IntRect Pathfinding.BBTree::NodeBounds(System.Int32[],Pathfinding.IntRect[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 BBTree_NodeBounds_m2793C7B365D4D7C9E0864F30BED80230DA4AD20A (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_permutation, IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* ___1_nodeBounds, int32_t ___2_from, int32_t ___3_to, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.BBTree::GetBox(Pathfinding.IntRect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBTree_GetBox_m9A55468F335375CC1D11CECB0579D9624C9A4782 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.BBTree::SplitByX(Pathfinding.TriangleMeshNode[],System.Int32[],System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBTree_SplitByX_mC9E3B8DCB39317E04465A0AC3D38DBE58243F236 (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_permutation, int32_t ___2_from, int32_t ___3_to, int32_t ___4_divider, const RuntimeMethod* method) ;
// System.Int32 Pathfinding.BBTree::SplitByZ(Pathfinding.TriangleMeshNode[],System.Int32[],System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBTree_SplitByZ_m075774B13E30352B068FB7CB4413A8D484C680CC (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_permutation, int32_t ___2_from, int32_t ___3_to, int32_t ___4_divider, const RuntimeMethod* method) ;
// UnityEngine.Color UnityEngine.Color::get_white()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method) ;
// System.Void UnityEngine.Debug::DrawLine(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Color)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_start, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_end, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___2_color, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::get_up()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method) ;
// Pathfinding.NNInfoInternal Pathfinding.BBTree::QueryClosest(UnityEngine.Vector3,Pathfinding.NNConstraint,System.Single&,Pathfinding.NNInfoInternal)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 BBTree_QueryClosest_mE3EF7ED37870AF968A5436D33A294A560B1DEDCA (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, float* ___2_distance, NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 ___3_previous, const RuntimeMethod* method) ;
// System.Single Pathfinding.BBTree::SquaredRectPointDistance(Pathfinding.IntRect,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float BBTree_SquaredRectPointDistance_m144CF9654EFE9F2B30B5D2A5053F4863D29DB59D (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_r, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, const RuntimeMethod* method) ;
// System.Void Pathfinding.BBTree::SearchBoxClosestXZ(System.Int32,UnityEngine.Vector3,System.Single&,Pathfinding.NNConstraint,Pathfinding.NNInfoInternal&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_SearchBoxClosestXZ_m84B993230F125E6FD8A10CCB932E1EFE1466F132 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_boxi, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, float* ___2_closestSqrDist, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___3_constraint, NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* ___4_nnInfo, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.BBTree/BBTreeBox::get_IsLeaf()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBTreeBox_get_IsLeaf_mDAA24C314542A46EA4CC91C3AB43CB2E13BC4B5F (BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.BBTree::GetOrderedChildren(System.Int32&,System.Int32&,System.Single&,System.Single&,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_GetOrderedChildren_mB313D6266BF5D58916E1FF61332DD1F3D2A1EA4C (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t* ___0_first, int32_t* ___1_second, float* ___2_firstDist, float* ___3_secondDist, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___4_p, const RuntimeMethod* method) ;
// System.Void Pathfinding.BBTree::SearchBoxClosest(System.Int32,UnityEngine.Vector3,System.Single&,Pathfinding.NNConstraint,Pathfinding.NNInfoInternal&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_SearchBoxClosest_mE545618B22EA8CB5A55B54F53E7DCCBA41E836FD (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_boxi, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, float* ___2_closestSqrDist, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___3_constraint, NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* ___4_nnInfo, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.BBTree/BBTreeBox::Contains(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBTreeBox_Contains_m4412B2E022FC7432B67F4038C3C54E90BE13748C (BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
// Pathfinding.TriangleMeshNode Pathfinding.BBTree::SearchBoxInside(System.Int32,UnityEngine.Vector3,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* BBTree_SearchBoxInside_mCD903EFA92B158ABEF4A853B2410F1ECC3098F75 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_boxi, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___2_constraint, const RuntimeMethod* method) ;
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method) ;
// System.Void UnityEngine.Gizmos::set_color(UnityEngine.Color)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_set_color_m53927A2741937484180B20B55F7F20F8F60C5797 (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_value, const RuntimeMethod* method) ;
// System.Void Pathfinding.BBTree::OnDrawGizmos(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_OnDrawGizmos_mD6F68F9875F8E92F0BB016F43824410BDE179D20 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_boxi, int32_t ___1_depth, const RuntimeMethod* method) ;
// UnityEngine.Color Pathfinding.AstarMath::IntToColor(System.Int32,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F AstarMath_IntToColor_m18FEEDABB70B78676E696C86EA4A89B84A7ABB2E (int32_t ___0_i, float ___1_a, const RuntimeMethod* method) ;
// System.Void UnityEngine.Gizmos::DrawCube(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_DrawCube_m4417EAEA479EF4AD52445810D840BA8FCBC6EF3F (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_center, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_size, const RuntimeMethod* method) ;
// System.Boolean System.Single::IsPositiveInfinity(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Single_IsPositiveInfinity_mB6DA4AAB74012F1BD90C90121090ED87A5782FA7_inline (float ___0_f, const RuntimeMethod* method) ;
// System.Single System.Math::Max(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA (float ___0_val1, float ___1_val2, const RuntimeMethod* method) ;
// System.Single System.Math::Min(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Math_Min_mE913811A2F7566294BF4649A434282634E7254B3 (float ___0_val1, float ___1_val2, const RuntimeMethod* method) ;
// System.Void Pathfinding.BBTree/BBTreeBox::.ctor(System.Int32,Pathfinding.IntRect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTreeBox__ctor_mDCE3E481A7F952310B49B2DBE68F487DBE80B516 (BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* __this, int32_t ___0_nodeOffset, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___1_rect, const RuntimeMethod* method) ;
// System.Boolean System.IO.File::Exists(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool File_Exists_m95E329ABBE3EAD6750FE1989BBA6884457136D4A (String_t* ___0_path, const RuntimeMethod* method) ;
// Pathfinding.ObjImporter/meshStruct Pathfinding.ObjImporter::createMeshStruct(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E ObjImporter_createMeshStruct_mFC762C993D1E7C780E0D03D979D0D62242FE93BF (String_t* ___0_filename, const RuntimeMethod* method) ;
// System.Void Pathfinding.ObjImporter::populateMeshStruct(Pathfinding.ObjImporter/meshStruct&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjImporter_populateMeshStruct_mAB796A4D8EE02BE00087E108B68E78120C8A75D3 (meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* ___0_mesh, const RuntimeMethod* method) ;
// System.Void UnityEngine.Mesh::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Mesh::set_vertices(UnityEngine.Vector3[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_value, const RuntimeMethod* method) ;
// System.Void UnityEngine.Mesh::set_uv(UnityEngine.Vector2[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_uv_m6ED9C50E0DA8166DD48AC40FD6C828B9AD2E9617 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___0_value, const RuntimeMethod* method) ;
// System.Void UnityEngine.Mesh::set_normals(UnityEngine.Vector3[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_normals_m85D73193C49211BE9FA135FF72D5749B16A4760B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_value, const RuntimeMethod* method) ;
// System.Void UnityEngine.Mesh::set_triangles(System.Int32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_triangles_m124405320579A8D92711BB5A124644963A26F60B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_value, const RuntimeMethod* method) ;
// System.Void UnityEngine.Mesh::RecalculateBounds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
// System.IO.StreamReader System.IO.File::OpenText(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StreamReader_t81027449065C1B0C339DB46241D8001A6F61130B* File_OpenText_mC22D29C515D26A22FDCB30A021A3033A87F150E6 (String_t* ___0_path, const RuntimeMethod* method) ;
// System.Void System.IO.TextReader::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextReader_Dispose_mDCB332EFA06970A9CC7EC4596FCC5220B9512616 (TextReader_tB8D43017CB6BE1633E5A86D64E7757366507C1F7* __this, const RuntimeMethod* method) ;
// System.Void System.IO.StringReader::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StringReader__ctor_m72556EC1062F49E05CF41B0825AC7FA2DB2A81C0 (StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* __this, String_t* ___0_s, const RuntimeMethod* method) ;
// System.Boolean System.String::StartsWith(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0 (String_t* __this, String_t* ___0_value, const RuntimeMethod* method) ;
// System.String System.String::Replace(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Replace_mABDB7003A1D0AEDCAE9FF85E3DFFFBA752D2A166 (String_t* __this, String_t* ___0_oldValue, String_t* ___1_newValue, const RuntimeMethod* method) ;
// System.String System.String::Trim()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5 (String_t* __this, const RuntimeMethod* method) ;
// System.String[] System.String::Split(System.Char[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* String_Split_m3C63FA89A52BE352B4E49DB5379F7AAD6ACCA0E8 (String_t* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___0_separator, int32_t ___1_count, const RuntimeMethod* method) ;
// System.Boolean System.String::op_Equality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1 (String_t* ___0_a, String_t* ___1_b, const RuntimeMethod* method) ;
// System.UInt32 <PrivateImplementationDetails>::ComputeStringHash(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t U3CPrivateImplementationDetailsU3E_ComputeStringHash_m013D82BA9F9552CCE4CBC06A97E07E1C3F3B7351 (String_t* ___0_s, const RuntimeMethod* method) ;
// System.Single System.Convert::ToSingle(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C (String_t* ___0_value, const RuntimeMethod* method) ;
// System.Void UnityEngine.Vector2::.ctor(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___0_x, float ___1_y, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor()
inline void List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8 (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_gshared)(__this, method);
}
// System.Int32 System.Convert::ToInt32(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Convert_ToInt32_m0C3F3778B1D646778F41B6912138AEEEE6BEB9D4 (String_t* ___0_value, const RuntimeMethod* method) ;
// System.Boolean System.String::op_Inequality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6 (String_t* ___0_a, String_t* ___1_b, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(T)
inline void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method)
{
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline)(__this, ___0_item, method);
}
// System.Int32 System.String::get_Length()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method) ;
// T System.Collections.Generic.List`1<System.Int32>::get_Item(System.Int32)
inline int32_t List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_gshared)(__this, ___0_index, method);
}
// System.Void System.Collections.Generic.List`1<Pathfinding.GraphNode>::.ctor()
inline void List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7 (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
}
// System.Void System.Collections.Generic.Stack`1<Pathfinding.GraphNode[]>::.ctor()
inline void Stack_1__ctor_mB4CB1C12C21380C071C854B61038D8168C594071 (Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* __this, const RuntimeMethod* method)
{
(( void (*) (Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73*, const RuntimeMethod*))Stack_1__ctor_m70E8EDA96A608CE9BAB7FC8313B233AADA573BD4_gshared)(__this, method);
}
// Pathfinding.GraphNode[] Pathfinding.PointKDTree::GetOrCreateList()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* PointKDTree_GetOrCreateList_m79BACB74AFD83F6E6D25EA244C62F965BAB412BE (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointKDTree::Add(Pathfinding.GraphNode,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_Add_m87C4515FE30E0C7CF8B7149DB9CE4B8BD2D9A20E (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_point, int32_t ___1_index, int32_t ___2_depth, const RuntimeMethod* method) ;
// System.Void System.ArgumentException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m34A925BA55EC4CE4253404E363B5F6A53EB51CA3 (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.Stack`1<Pathfinding.GraphNode[]>::Push(T)
inline void Stack_1_Push_mB444F0EB42BA5EFBF28B234CCA60ED28D18FC680 (Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* __this, GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___0_item, const RuntimeMethod* method)
{
(( void (*) (Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73*, GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557*, const RuntimeMethod*))Stack_1_Push_m709DD11BC1291A905814182CF9A367DE7399A778_gshared)(__this, ___0_item, method);
}
// System.Void System.Collections.Generic.List`1<Pathfinding.GraphNode>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
inline void List_1__ctor_m428B7CEE69C31C0EA0EDA9677F955093673BEB50 (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method)
{
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, RuntimeObject*, const RuntimeMethod*))List_1__ctor_mE097DBD72433D1AFC11733F5678602603A756424_gshared)(__this, ___0_collection, method);
}
// System.Void Pathfinding.PointKDTree::Build(System.Int32,System.Collections.Generic.List`1<Pathfinding.GraphNode>,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_Build_m53A106F5AD6C82BFC2DF4B9596036E3D7A8FFA6F (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___1_nodes, int32_t ___2_start, int32_t ___3_end, const RuntimeMethod* method) ;
// System.Int32 System.Collections.Generic.Stack`1<Pathfinding.GraphNode[]>::get_Count()
inline int32_t Stack_1_get_Count_m50B0D72C3B2B5493EBA5EF19E484CD2FD5A6109C_inline (Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73*, const RuntimeMethod*))Stack_1_get_Count_mD08AE71D49787D30DDD9D484BCD323D646744D2E_gshared_inline)(__this, method);
}
// T System.Collections.Generic.Stack`1<Pathfinding.GraphNode[]>::Pop()
inline GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* Stack_1_Pop_m5C7DA07E1026CCC9124C4D65FF17E3374517AB36 (Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* __this, const RuntimeMethod* method)
{
return (( GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* (*) (Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73*, const RuntimeMethod*))Stack_1_Pop_m2AFF69249659372F07EE25817DBCAFE74E1CF778_gshared)(__this, method);
}
// System.Int32 Pathfinding.PointKDTree::Size(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PointKDTree_Size_mFD7FD65FC46EA065B4035DF9076B83219B61EF49 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.GraphNode>::Add(T)
inline void List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_inline (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_item, const RuntimeMethod* method)
{
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
}
// System.Void Pathfinding.PointKDTree::CollectAndClear(System.Int32,System.Collections.Generic.List`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_CollectAndClear_m744014BEA2A76C74591BEE4A94A49873132DFE3F (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___1_buffer, const RuntimeMethod* method) ;
// System.Int32 System.Collections.Generic.List`1<Pathfinding.GraphNode>::get_Count()
inline int32_t List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
}
// System.Void Pathfinding.Util.ListExtensions::ClearFast<Pathfinding.GraphNode>(System.Collections.Generic.List`1<T>)
inline void ListExtensions_ClearFast_TisGraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A_m69A7B138C812E7BBD6740774B97D17BD3B5E8C2C (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___0_list, const RuntimeMethod* method)
{
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, const RuntimeMethod*))ListExtensions_ClearFast_TisRuntimeObject_m4392D79A92CBCF77928C9BB22C67AE6A8A9D8238_gshared)(___0_list, method);
}
// System.Void Pathfinding.PointKDTree::EnsureSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_EnsureSize_m6446054F76522969F217B78CCF2CD433106D4EFF (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, const RuntimeMethod* method) ;
// T System.Collections.Generic.List`1<Pathfinding.GraphNode>::get_Item(System.Int32)
inline GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* List_1_get_Item_m9C60036A6132012418113197759818C140CECC84 (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, int32_t ___0_index, const RuntimeMethod* method)
{
return (( GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
}
// System.Void System.Collections.Generic.List`1<Pathfinding.GraphNode>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
inline void List_1_Sort_m2B87243B34780D3C92855FF64BC22237A14848A2 (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, int32_t ___0_index, int32_t ___1_count, RuntimeObject* ___2_comparer, const RuntimeMethod* method)
{
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))List_1_Sort_mC96F92ACF35F9B37F0A5E3338FF61E5229554338_gshared)(__this, ___0_index, ___1_count, ___2_comparer, method);
}
// System.Int32 Pathfinding.PointKDTree::MaxAllowedSize(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PointKDTree_MaxAllowedSize_mC32E97F17CC4EE39DC97F58C671A52C233EEBC61 (int32_t ___0_numNodes, int32_t ___1_depth, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointKDTree::Rebalance(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_Rebalance_m16269CAEFEE67F5A229A5DA4BE79D142467E5036 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointKDTree::GetNearestInternal(System.Int32,Pathfinding.Int3,Pathfinding.NNConstraint,Pathfinding.GraphNode&,System.Int64&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_GetNearestInternal_m0AB49B5921FB3D9CC5A528A27D34648EA4FFE4F0 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_point, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___2_constraint, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** ___3_best, int64_t* ___4_bestSqrDist, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointKDTree::GetNearestConnectionInternal(System.Int32,Pathfinding.Int3,Pathfinding.NNConstraint,Pathfinding.GraphNode&,System.Int64&,System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_GetNearestConnectionInternal_m2C4C343E5832C56E6878D34A8D5A40DEB1AF50CE (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_point, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___2_constraint, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** ___3_best, int64_t* ___4_bestSqrDist, int64_t ___5_distanceThresholdOffset, const RuntimeMethod* method) ;
// System.Single Pathfinding.VectorMath::SqrDistancePointSegment(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float VectorMath_SqrDistancePointSegment_m33FAF67E30FC0473B3753C5CE182C46A12850099 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_p, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointKDTree::GetInRangeInternal(System.Int32,Pathfinding.Int3,System.Int64,System.Collections.Generic.List`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_GetInRangeInternal_mBDF49E12EBF8855042CD07654B5370184B50B60C (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_point, int64_t ___2_sqrRadius, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___3_buffer, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointKDTree/CompareX::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompareX__ctor_m9FFF26C32CE9A74D5657131DF6C068DEC62AE0DD (CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointKDTree/CompareY::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompareY__ctor_m91ED8FE0F783D7521741F5A520338D07FF8E858C (CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.PointKDTree/CompareZ::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompareZ__ctor_m1BC4963A45E5506A5AF0D8752F939D8081329650 (CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5* __this, const RuntimeMethod* method) ;
// System.Int32 System.Int32::CompareTo(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Int32_CompareTo_mFA011811D4447442ED442B4A507BD4267621C586 (int32_t* __this, int32_t ___0_value, const RuntimeMethod* method) ;
// System.Void Pathfinding.AlternativePath::ApplyNow(System.Collections.Generic.List`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AlternativePath_ApplyNow_mFADCE58A28DFE788743A2CC6E7C7E210ED85A2F9 (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___0_nodes, const RuntimeMethod* method) ;
// System.Void Pathfinding.AlternativePath::ClearOnDestroy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AlternativePath_ClearOnDestroy_m7C33CA4EE3B9E2A80824750F9D9389279A07110E (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.AlternativePath::InversePrevious()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AlternativePath_InversePrevious_m7B7AA154E9E7F501D32D8F6C894BE5FCCE9ECB72 (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, const RuntimeMethod* method) ;
// System.UInt32 Pathfinding.GraphNode::get_Penalty()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.GraphNode::set_Penalty(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method) ;
// System.Void UnityEngine.Debug::LogWarning(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<Pathfinding.GraphNode>::Clear()
inline void List_1_Clear_mA937F129E2EC4ED2E068F66C45A0D79F0189C78B_inline (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, const RuntimeMethod*))List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline)(__this, method);
}
// System.Void System.Random::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Random__ctor_m151183BD4F021499A98B9DE8502DAD4B12DD16AC (Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* __this, const RuntimeMethod* method) ;
// System.Void Pathfinding.MonoModifier::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoModifier__ctor_mEF5B826ACD1EE41EB12582AAE03927CC5D04C44E (MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768* __this, const RuntimeMethod* method) ;
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
inline int32_t List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_gshared_inline)(__this, method);
}
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Claim()
inline List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7 (const RuntimeMethod* method)
{
return (( List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* (*) (const RuntimeMethod*))ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_gshared)(method);
}
// System.Collections.Generic.List`1<Pathfinding.Funnel/PathPart> Pathfinding.Funnel::SplitIntoParts(Pathfinding.Path)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* Funnel_SplitIntoParts_m89D2FA72A739DFF6E689119E1E8E80FDF99C40FD (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method) ;
// System.Int32 System.Collections.Generic.List`1<Pathfinding.Funnel/PathPart>::get_Count()
inline int32_t List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_inline (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77*, const RuntimeMethod*))List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_gshared_inline)(__this, method);
}
// T System.Collections.Generic.List`1<Pathfinding.Funnel/PathPart>::get_Item(System.Int32)
inline PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069 (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* __this, int32_t ___0_index, const RuntimeMethod* method)
{
return (( PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 (*) (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77*, int32_t, const RuntimeMethod*))List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069_gshared)(__this, ___0_index, method);
}
// Pathfinding.Funnel/FunnelPortals Pathfinding.Funnel::ConstructFunnelPortals(System.Collections.Generic.List`1<Pathfinding.GraphNode>,Pathfinding.Funnel/PathPart)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FunnelPortals_tE9EAFDA27FDFC407CC8FD385317739A3ADFD2EEF Funnel_ConstructFunnelPortals_m239BEA8FD22079E900E95AB87F7375F3270B0CE2 (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___0_nodes, PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 ___1_part, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.Funnel::Calculate(Pathfinding.Funnel/FunnelPortals,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* Funnel_Calculate_m5F4D576C8BBBD96E75620054D47A2DCFC046570F (FunnelPortals_tE9EAFDA27FDFC407CC8FD385317739A3ADFD2EEF ___0_funnel, bool ___1_unwrap, bool ___2_splitAtEveryPortal, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
inline void List_1_AddRange_m5074E49FED0A20D75EEBFEF32BD7C59CBB6F0FEE (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m5074E49FED0A20D75EEBFEF32BD7C59CBB6F0FEE_gshared)(__this, ___0_collection, method);
}
// System.Void Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Release(System.Collections.Generic.List`1<T>&)
inline void ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** ___0_list, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B**, const RuntimeMethod*))ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_gshared)(___0_list, method);
}
// System.Void Pathfinding.Util.ListPool`1<Pathfinding.Funnel/PathPart>::Release(System.Collections.Generic.List`1<T>&)
inline void ListPool_1_Release_m45CDA4615068AD09237147BD0211A0DD4E4CFD99 (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77** ___0_list, const RuntimeMethod* method)
{
(( void (*) (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77**, const RuntimeMethod*))ListPool_1_Release_m45CDA4615068AD09237147BD0211A0DD4E4CFD99_gshared)(___0_list, method);
}
// System.Void Pathfinding.Seeker::RegisterModifier(Pathfinding.IPathModifier)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Seeker_RegisterModifier_m21D398195321289A48F5E8DD542ED806866F45A4 (Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* __this, RuntimeObject* ___0_modifier, const RuntimeMethod* method) ;
// System.Void Pathfinding.Seeker::DeregisterModifier(Pathfinding.IPathModifier)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Seeker_DeregisterModifier_m671FDC09D5ACC1CB8B6374776BAFC963608C5635 (Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* __this, RuntimeObject* ___0_modifier, const RuntimeMethod* method) ;
// T UnityEngine.Component::GetComponent<Pathfinding.Seeker>()
inline Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* Component_GetComponent_TisSeeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441_m179FE34C9BA1E2ADE08520ABE3281BCB187FD629 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
{
return (( Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
// System.Void Pathfinding.VersionedMonoBehaviour::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VersionedMonoBehaviour__ctor_mD79AF8BD263B40169E01FFD02CB2DBE52B6A8038 (VersionedMonoBehaviour_t13F17B0D6039238CC5328E19B6DBB74A6E9CFD3B* __this, const RuntimeMethod* method) ;
// T System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, const RuntimeMethod* method)
{
return (( Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, int32_t, const RuntimeMethod*))List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_gshared)(__this, ___0_index, method);
}
// System.Boolean Pathfinding.RaycastModifier::ValidateLine(Pathfinding.GraphNode,Pathfinding.GraphNode,UnityEngine.Vector3,UnityEngine.Vector3,System.Func`2<Pathfinding.GraphNode,System.Boolean>,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RaycastModifier_ValidateLine_m9723BC45E8810795ADC608D338082FEC14B4EE3D (RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_n1, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_n2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_v1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_v2, Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* ___4_filter, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___5_nnConstraint, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.ListExtensions::ClearFast<UnityEngine.Vector3>(System.Collections.Generic.List`1<T>)
inline void ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_list, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_gshared)(___0_list, method);
}
// System.Void Pathfinding.Polygon::Subdivide(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Polygon_Subdivide_mA88024240A3BA24B2E52DBB096CDE8A90150EBF0 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_points, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_result, int32_t ___2_subSegments, const RuntimeMethod* method) ;
// System.Void Pathfinding.Util.Memory::Swap<System.Collections.Generic.List`1<UnityEngine.Vector3>>(T&,T&)
inline void Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** ___0_a, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** ___1_b, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B**, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B**, const RuntimeMethod*))Memory_Swap_TisRuntimeObject_m55C661247CDE2517D1CC8A3A8EE1DCE464EB19C6_gshared)(___0_a, ___1_b, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Reverse()
inline void List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_gshared)(__this, method);
}
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.RaycastModifier::ApplyGreedy(Pathfinding.Path,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Func`2<Pathfinding.GraphNode,System.Boolean>,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* RaycastModifier_ApplyGreedy_m2A530075BFB03B942F6B6F8377A9C5EE4DB5D38E (RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_points, Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* ___2_filter, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___3_nnConstraint, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.RaycastModifier::ApplyDP(Pathfinding.Path,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Func`2<Pathfinding.GraphNode,System.Boolean>,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* RaycastModifier_ApplyDP_m04864211BF91216C171CA8A4BE84EBB9DBE65EFF (RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_points, Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* ___2_filter, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___3_nnConstraint, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Vector3::op_Equality(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::get_normalized()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Physics::CheckSphere(UnityEngine.Vector3,System.Single,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_CheckSphere_mD6F0027DBDECFA69245E99D8A4EE1DC8742A817F (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, float ___1_radius, int32_t ___2_layerMask, const RuntimeMethod* method) ;
// Pathfinding.NNInfo AstarPath::GetNearest(UnityEngine.Vector3,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfo_tA85703447EFEE17F9138E4518FC423F3870AE7A2 AstarPath_GetNearest_mEDA1176CC4AFCAD80383D0D747CA2FC45C1950A3 (AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method) ;
// System.Void Pathfinding.RaycastModifier/Filter::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Filter__ctor_mDCE26B49F69F2DFF397556E7DDB178A3FEAEB5EF (Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE* __this, const RuntimeMethod* method) ;
// Pathfinding.NNConstraint Pathfinding.NNConstraint::get_None()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* NNConstraint_get_None_m64D379ED16BA6D507F7A3837557A44C519FA4811 (const RuntimeMethod* method) ;
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B (RuntimeArray* ___0_array, RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 ___1_fldHandle, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::.ctor()
inline void List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_gshared)(__this, method);
}
// System.Void System.Func`2<Pathfinding.GraphNode,System.Boolean>::.ctor(System.Object,System.IntPtr)
inline void Func_2__ctor_mE6C3288369F6782CCB388406CA8BB82A05334383 (Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
{
(( void (*) (Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB*, RuntimeObject*, intptr_t, const RuntimeMethod*))Func_2__ctor_m13C0A7F33154D861E2A041B52E88461832DA1697_gshared)(__this, ___0_object, ___1_method, method);
}
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.SimpleSmoothModifier::SmoothSimple(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* SimpleSmoothModifier_SmoothSimple_mA9F86CA73615D4DE4ADD5C7417B5E733179A4D5C (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_path, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.SimpleSmoothModifier::SmoothBezier(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* SimpleSmoothModifier_SmoothBezier_m42BE6D751007E5B963EB838DC10A377898A8683F (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_path, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.SimpleSmoothModifier::SmoothOffsetSimple(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* SimpleSmoothModifier_SmoothOffsetSimple_m00EE01D589060F5C79BFF72844DBFCCA84EA0792 (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_path, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.SimpleSmoothModifier::CurvedNonuniform(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* SimpleSmoothModifier_CurvedNonuniform_mD9AC6F9C0AC05CF93FABDF414141A74434BA8EA9 (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_path, const RuntimeMethod* method) ;
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Claim(System.Int32)
inline List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88 (int32_t ___0_capacity, const RuntimeMethod* method)
{
return (( List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* (*) (int32_t, const RuntimeMethod*))ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_gshared)(___0_capacity, method);
}
// UnityEngine.Vector3 Pathfinding.SimpleSmoothModifier::GetPointOnCubic(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SimpleSmoothModifier_GetPointOnCubic_mA00313E0030A154145B81F4634EDABDF08EEAF68 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_tan1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_tan2, float ___4_t, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Item(System.Int32,T)
inline void List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_value, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, int32_t, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_gshared)(__this, ___0_index, ___1_value, method);
}
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(System.Single,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline (float ___0_d, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.VectorMath::IsColinearXZ(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool VectorMath_IsColinearXZ_m78868E7F86427A3D8EB3571A567DB40CB745D6AB (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_c, const RuntimeMethod* method) ;
// System.Boolean Pathfinding.VectorMath::RightOrColinearXZ(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool VectorMath_RightOrColinearXZ_mB4E21EEF15049363F827235D8695B37BC8463686 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_p, const RuntimeMethod* method) ;
// System.Single UnityEngine.Vector3::Distance(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::Lerp(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Mathf::Max(System.Int32,System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Max_m7FA442918DE37E3A00106D1F2E789D65829792B8_inline (int32_t ___0_a, int32_t ___1_b, const RuntimeMethod* method) ;
// System.String System.Int32::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5 (int32_t* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Division(UnityEngine.Vector3,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
// UnityEngine.Vector3 Pathfinding.AstarSplines::CubicBezier(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 AstarSplines_CubicBezier_m1B0D89E05C98A7954892F1842CBB206EF6A1C7E9 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_p2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_p3, float ___4_t, const RuntimeMethod* method) ;
// UnityEngine.Vector3 Pathfinding.StartEndModifier::Snap(Pathfinding.ABPath,Pathfinding.StartEndModifier/Exactness,System.Boolean,System.Boolean&,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 StartEndModifier_Snap_m32883D7EBB0EB6E7516A8503906A7A367399E82D (StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* __this, ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* ___0_path, int32_t ___1_mode, bool ___2_start, bool* ___3_forceAddPoint, int32_t* ___4_closestConnectionIndex, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Insert(System.Int32,T)
inline void List_1_Insert_mE7623D84AEA50E917A6371C1DD13D356C9190F2F (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_item, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, int32_t, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))List_1_Insert_mE7623D84AEA50E917A6371C1DD13D356C9190F2F_gshared)(__this, ___0_index, ___1_item, method);
}
// TResult System.Func`1<UnityEngine.Vector3>::Invoke()
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Func_1_Invoke_m1CDD0198843EF8947E2C7F333F38C1E36FF3C568_inline (Func_1_t58C51DB29153B53A9136AE397958F3FCC1F596EC* __this, const RuntimeMethod* method)
{
return (( Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 (*) (Func_1_t58C51DB29153B53A9136AE397958F3FCC1F596EC*, const RuntimeMethod*))Func_1_Invoke_m1CDD0198843EF8947E2C7F333F38C1E36FF3C568_gshared_inline)(__this, method);
}
// UnityEngine.Vector3 Pathfinding.StartEndModifier::GetClampedPoint(UnityEngine.Vector3,UnityEngine.Vector3,Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 StartEndModifier_GetClampedPoint_mD43826354F26662E1552F52A53D9751F821D90B6 (StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___2_hint, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Mathf::Clamp(System.Int32,System.Int32,System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline (int32_t ___0_value, int32_t ___1_min, int32_t ___2_max, const RuntimeMethod* method) ;
// System.Void System.ArgumentException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465 (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* __this, String_t* ___0_message, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Physics::Linecast(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.RaycastHit&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Linecast_mF9E3896E84ACD675E71363ADE30A8418C14C59C6 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_start, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_end, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___2_hitInfo, int32_t ___3_layerMask, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.RaycastHit::get_point()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, const RuntimeMethod* method) ;
// Pathfinding.NavGraph Pathfinding.AstarData::GetGraph(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* AstarData_GetGraph_m277003679707540B49B5ADCDE494AA6492F3450F (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
// System.Void Pathfinding.PathModifier::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathModifier__ctor_mE1F60DCEE4C6980899185B9EDA6F2A2A589F56B7 (PathModifier_t5F147EA05018864929F69B47D1A07F76A36E4414* __this, const RuntimeMethod* method) ;
// UnityEngine.Quaternion UnityEngine.Quaternion::Internal_FromEulerRad(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
// System.Single UnityEngine.Vector3::Magnitude(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::Normalize(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
// System.Single UnityEngine.Mathf::Clamp01(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method) ;
// System.Void System.Array::Clear(System.Array,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB (RuntimeArray* ___0_array, int32_t ___1_index, int32_t ___2_length, const RuntimeMethod* method) ;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.NavmeshBase/<>c__DisplayClass74_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass74_0__ctor_mBA6E4F03EE75AE2C93E6AC9EA1D62603070D4ACD (U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
// System.Void Pathfinding.NavmeshBase/<>c__DisplayClass74_0::<PostDeserialization>b__3(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass74_0_U3CPostDeserializationU3Eb__3_mE36262BC17A64F58CD4EDBF718D5E5380928115F (U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Item_m934D8B14E1E3E74E525628661C8AF9F13DF13B94_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerable_ToList_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m65FEE28653F8DBD49C9CCAACF6436DC0B39AA1EF_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerable_Where_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_mA1F974DA2F049344009C424AE2314F445FCAAE66_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m46CB43B305187BFF94742C33D44905931B5F4572_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m1DC38C349B6712C1ECA850376CBC4CF87ABABE28_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_mF36B1C2353072BC4860616AEF9852ED47B114B65_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m8E7E84C2827CAB2C135E174711A77AAC0E891C45_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass74_1_U3CPostDeserializationU3Eb__4_m09B26A83C41D6B50D55BE7EBA99167371FC6D262_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* V_0 = NULL;
Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B V_1;
memset((&V_1), 0, sizeof(V_1));
Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* V_2 = NULL;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 V_3;
memset((&V_3), 0, sizeof(V_3));
Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* G_B2_0 = NULL;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* G_B2_1 = NULL;
Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* G_B1_0 = NULL;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* G_B1_1 = NULL;
{
U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* L_0 = (U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928_il2cpp_TypeInfo_var);
NullCheck(L_0);
U3CU3Ec__DisplayClass74_1__ctor_m57C1C10B29591ACE67B533ED23A8C02FE1106956(L_0, NULL);
V_0 = L_0;
// var triNode = node as TriangleMeshNode;
U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* L_1 = V_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
NullCheck(L_1);
L_1->___triNode_0 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)IsInstClass((RuntimeObject*)L_2, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var));
Il2CppCodeGenWriteBarrier((void**)(&L_1->___triNode_0), (void*)((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)IsInstClass((RuntimeObject*)L_2, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var)));
// foreach (var conn in conns[triNode].Where(conn => !triNode.ContainsConnection(conn.node)).ToList()) {
Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889* L_3 = __this->___conns_0;
U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* L_4 = V_0;
NullCheck(L_4);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_5 = L_4->___triNode_0;
NullCheck(L_3);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_6;
L_6 = Dictionary_2_get_Item_m934D8B14E1E3E74E525628661C8AF9F13DF13B94(L_3, L_5, Dictionary_2_get_Item_m934D8B14E1E3E74E525628661C8AF9F13DF13B94_RuntimeMethod_var);
U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* L_7 = V_0;
NullCheck(L_7);
Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* L_8 = L_7->___U3CU3E9__4_1;
Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* L_9 = L_8;
G_B1_0 = L_9;
G_B1_1 = L_6;
if (L_9)
{
G_B2_0 = L_9;
G_B2_1 = L_6;
goto IL_0042;
}
}
{
U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* L_10 = V_0;
U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* L_11 = V_0;
Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* L_12 = (Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91*)il2cpp_codegen_object_new(Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91_il2cpp_TypeInfo_var);
NullCheck(L_12);
Func_2__ctor_mF5407CDEAC3B730057DCC6BA806431B44363E2DC(L_12, L_11, (intptr_t)((void*)U3CU3Ec__DisplayClass74_1_U3CPostDeserializationU3Eb__4_m09B26A83C41D6B50D55BE7EBA99167371FC6D262_RuntimeMethod_var), NULL);
Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* L_13 = L_12;
V_2 = L_13;
NullCheck(L_10);
L_10->___U3CU3E9__4_1 = L_13;
Il2CppCodeGenWriteBarrier((void**)(&L_10->___U3CU3E9__4_1), (void*)L_13);
Func_2_t129F21A7CED5308DFBE566BBB2A3EFAB0D4D0D91* L_14 = V_2;
G_B2_0 = L_14;
G_B2_1 = G_B1_1;
}
IL_0042:
{
RuntimeObject* L_15;
L_15 = Enumerable_Where_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_mA1F974DA2F049344009C424AE2314F445FCAAE66((RuntimeObject*)G_B2_1, G_B2_0, Enumerable_Where_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_mA1F974DA2F049344009C424AE2314F445FCAAE66_RuntimeMethod_var);
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_16;
L_16 = Enumerable_ToList_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m65FEE28653F8DBD49C9CCAACF6436DC0B39AA1EF(L_15, Enumerable_ToList_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m65FEE28653F8DBD49C9CCAACF6436DC0B39AA1EF_RuntimeMethod_var);
NullCheck(L_16);
Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B L_17;
L_17 = List_1_GetEnumerator_m8E7E84C2827CAB2C135E174711A77AAC0E891C45(L_16, List_1_GetEnumerator_m8E7E84C2827CAB2C135E174711A77AAC0E891C45_RuntimeMethod_var);
V_1 = L_17;
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_0084:
{// begin finally (depth: 1)
Enumerator_Dispose_m46CB43B305187BFF94742C33D44905931B5F4572((&V_1), Enumerator_Dispose_m46CB43B305187BFF94742C33D44905931B5F4572_RuntimeMethod_var);
return;
}// end finally (depth: 1)
});
try
{// begin try (depth: 1)
{
goto IL_0079_1;
}
IL_0054_1:
{
// foreach (var conn in conns[triNode].Where(conn => !triNode.ContainsConnection(conn.node)).ToList()) {
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_18;
L_18 = Enumerator_get_Current_mF36B1C2353072BC4860616AEF9852ED47B114B65_inline((&V_1), Enumerator_get_Current_mF36B1C2353072BC4860616AEF9852ED47B114B65_RuntimeMethod_var);
V_3 = L_18;
// triNode.AddConnection(conn.node, conn.cost, conn.shapeEdge);
U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* L_19 = V_0;
NullCheck(L_19);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_20 = L_19->___triNode_0;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_21 = V_3;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_22 = L_21.___node_0;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_23 = V_3;
uint32_t L_24 = L_23.___cost_1;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_25 = V_3;
uint8_t L_26 = L_25.___shapeEdge_2;
NullCheck(L_20);
MeshNode_AddConnection_m21650A45029D3DE32BD899CD4594FD8185B6AD4E(L_20, L_22, L_24, L_26, NULL);
}
IL_0079_1:
{
// foreach (var conn in conns[triNode].Where(conn => !triNode.ContainsConnection(conn.node)).ToList()) {
bool L_27;
L_27 = Enumerator_MoveNext_m1DC38C349B6712C1ECA850376CBC4CF87ABABE28((&V_1), Enumerator_MoveNext_m1DC38C349B6712C1ECA850376CBC4CF87ABABE28_RuntimeMethod_var);
if (L_27)
{
goto IL_0054_1;
}
}
{
goto IL_0092;
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_0092:
{
// });
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.NavmeshBase/<>c__DisplayClass74_1::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass74_1__ctor_m57C1C10B29591ACE67B533ED23A8C02FE1106956 (U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
// System.Boolean Pathfinding.NavmeshBase/<>c__DisplayClass74_1::<PostDeserialization>b__4(Pathfinding.Connection)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec__DisplayClass74_1_U3CPostDeserializationU3Eb__4_m09B26A83C41D6B50D55BE7EBA99167371FC6D262 (U3CU3Ec__DisplayClass74_1_t5A85690E1E133028DEACF7781BFBD13809BD2928* __this, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 ___0_conn, const RuntimeMethod* method)
{
{
// foreach (var conn in conns[triNode].Where(conn => !triNode.ContainsConnection(conn.node)).ToList()) {
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_0 = __this->___triNode_0;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_1 = ___0_conn;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = L_1.___node_0;
NullCheck(L_0);
bool L_3;
L_3 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(9 /* System.Boolean Pathfinding.GraphNode::ContainsConnection(Pathfinding.GraphNode) */, L_0, L_2);
return (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.NavmeshBase/<>c::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_mA0378D7084D46FF6669003D868A84141D927E476 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* L_0 = (U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F*)il2cpp_codegen_object_new(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var);
NullCheck(L_0);
U3CU3Ec__ctor_m8D294E78D8BEF55B1BA548E94C376365782D0807(L_0, NULL);
((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9_0 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9_0), (void*)L_0);
return;
}
}
// System.Void Pathfinding.NavmeshBase/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m8D294E78D8BEF55B1BA548E94C376365782D0807 (U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
// System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode> Pathfinding.NavmeshBase/<>c::<PostDeserialization>b__74_0(Pathfinding.NavmeshTile)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CU3Ec_U3CPostDeserializationU3Eb__74_0_mD1E0786A187954DA5C197FC3AD7CE6CF5B856AFC (U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* __this, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___0_s, const RuntimeMethod* method)
{
{
// Dictionary<TriangleMeshNode, Connection[]> conns = tiles.SelectMany(s => s.nodes).ToDictionary(n => n, n => n.connections ?? new Connection[0]);
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_0 = ___0_s;
NullCheck(L_0);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_1 = L_0->___nodes_7;
return (RuntimeObject*)L_1;
}
}
// Pathfinding.TriangleMeshNode Pathfinding.NavmeshBase/<>c::<PostDeserialization>b__74_1(Pathfinding.TriangleMeshNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* U3CU3Ec_U3CPostDeserializationU3Eb__74_1_mA9F50141FEDA62EE26B6BAAB4125BF97F870CE48 (U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* __this, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* ___0_n, const RuntimeMethod* method)
{
{
// Dictionary<TriangleMeshNode, Connection[]> conns = tiles.SelectMany(s => s.nodes).ToDictionary(n => n, n => n.connections ?? new Connection[0]);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_0 = ___0_n;
return L_0;
}
}
// Pathfinding.Connection[] Pathfinding.NavmeshBase/<>c::<PostDeserialization>b__74_2(Pathfinding.TriangleMeshNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* U3CU3Ec_U3CPostDeserializationU3Eb__74_2_mB5823CDDD61117437A2C0E81589D98DF307783FB (U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* __this, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* ___0_n, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* G_B2_0 = NULL;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* G_B1_0 = NULL;
{
// Dictionary<TriangleMeshNode, Connection[]> conns = tiles.SelectMany(s => s.nodes).ToDictionary(n => n, n => n.connections ?? new Connection[0]);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_0 = ___0_n;
NullCheck(L_0);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_0)->___connections_20;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = L_1;
G_B1_0 = L_2;
if (L_2)
{
G_B2_0 = L_2;
goto IL_0010;
}
}
{
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)SZArrayNew(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var, (uint32_t)0);
G_B2_0 = L_3;
}
IL_0010:
{
return G_B2_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean Pathfinding.NavMeshGraph::get_RecalculateNormals()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshGraph_get_RecalculateNormals_mEDAC62014D8EF1E002DE35E20416A12942F144BA (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, const RuntimeMethod* method)
{
{
// protected override bool RecalculateNormals { get { return recalculateNormals; } }
bool L_0 = __this->___recalculateNormals_35;
return L_0;
}
}
// System.Single Pathfinding.NavMeshGraph::get_TileWorldSizeX()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float NavMeshGraph_get_TileWorldSizeX_mDFA256AF24ABE6909171F75092D8ABBC55D4DB77 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, const RuntimeMethod* method)
{
{
// return forcedBoundsSize.x;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_0 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)__this)->___forcedBoundsSize_14);
float L_1 = L_0->___x_2;
return L_1;
}
}
// System.Single Pathfinding.NavMeshGraph::get_TileWorldSizeZ()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float NavMeshGraph_get_TileWorldSizeZ_mA66778A0D3D8F88E79DF8709B94D447D7EE158A6 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, const RuntimeMethod* method)
{
{
// return forcedBoundsSize.z;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_0 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)__this)->___forcedBoundsSize_14);
float L_1 = L_0->___z_4;
return L_1;
}
}
// System.Single Pathfinding.NavMeshGraph::get_MaxTileConnectionEdgeDistance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float NavMeshGraph_get_MaxTileConnectionEdgeDistance_mE03FD2034C78B3D78D5555FF085BBEFE6B8DFDA5 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, const RuntimeMethod* method)
{
{
// return 0f;
return (0.0f);
}
}
// Pathfinding.Util.GraphTransform Pathfinding.NavMeshGraph::CalculateTransform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* NavMeshGraph_CalculateTransform_m812BFC7A50F8AE47029240BAD066B01939B7B8B3 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
memset((&V_0), 0, sizeof(V_0));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B2_0;
memset((&G_B2_0), 0, sizeof(G_B2_0));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B1_0;
memset((&G_B1_0), 0, sizeof(G_B1_0));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B3_0;
memset((&G_B3_0), 0, sizeof(G_B3_0));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B3_1;
memset((&G_B3_1), 0, sizeof(G_B3_1));
{
// return new GraphTransform(Matrix4x4.TRS(offset, Quaternion.Euler(rotation), Vector3.one) * Matrix4x4.TRS(sourceMesh != null ? sourceMesh.bounds.min * scale : cachedSourceMeshBoundsMin * scale, Quaternion.identity, Vector3.one));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___offset_32;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = __this->___rotation_33;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
L_2 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_1, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
L_3 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_4;
L_4 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_0, L_2, L_3, NULL);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_5 = __this->___sourceMesh_31;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_6;
L_6 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
G_B1_0 = L_4;
if (L_6)
{
G_B2_0 = L_4;
goto IL_003c;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___cachedSourceMeshBoundsMin_36;
float L_8 = __this->___scale_34;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
L_9 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_7, L_8, NULL);
G_B3_0 = L_9;
G_B3_1 = G_B1_0;
goto IL_005a;
}
IL_003c:
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_10 = __this->___sourceMesh_31;
NullCheck(L_10);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_11;
L_11 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_10, NULL);
V_0 = L_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
L_12 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_0), NULL);
float L_13 = __this->___scale_34;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
L_14 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_12, L_13, NULL);
G_B3_0 = L_14;
G_B3_1 = G_B2_0;
}
IL_005a:
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
L_15 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
L_16 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_17;
L_17 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(G_B3_0, L_15, L_16, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_18;
L_18 = Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162(G_B3_1, L_17, NULL);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_19 = (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426*)il2cpp_codegen_object_new(GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
NullCheck(L_19);
GraphTransform__ctor_mF0D350BA128D610C33975209F3E04290F0936A88(L_19, L_18, NULL);
return L_19;
}
}
// Pathfinding.GraphUpdateThreading Pathfinding.NavMeshGraph::Pathfinding.IUpdatableGraph.CanUpdateAsync(Pathfinding.GraphUpdateObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NavMeshGraph_Pathfinding_IUpdatableGraph_CanUpdateAsync_mEF1E8E280141B5B4E0B0A12FBF64FCFC121B0952 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, const RuntimeMethod* method)
{
{
// return GraphUpdateThreading.UnityThread;
return (int32_t)(0);
}
}
// System.Void Pathfinding.NavMeshGraph::Pathfinding.IUpdatableGraph.UpdateAreaInit(Pathfinding.GraphUpdateObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshGraph_Pathfinding_IUpdatableGraph_UpdateAreaInit_mBCBB1EA4A995D41D82FA424D00B923014F3C59B2 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, const RuntimeMethod* method)
{
{
// void IUpdatableGraph.UpdateAreaInit (GraphUpdateObject o) {}
return;
}
}
// System.Void Pathfinding.NavMeshGraph::Pathfinding.IUpdatableGraph.UpdateAreaPost(Pathfinding.GraphUpdateObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshGraph_Pathfinding_IUpdatableGraph_UpdateAreaPost_mF6AC19535C9B9FBAEF7E1E9F95B29F7EE9492813 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, const RuntimeMethod* method)
{
{
// void IUpdatableGraph.UpdateAreaPost (GraphUpdateObject o) {}
return;
}
}
// System.Void Pathfinding.NavMeshGraph::Pathfinding.IUpdatableGraph.UpdateArea(Pathfinding.GraphUpdateObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshGraph_Pathfinding_IUpdatableGraph_UpdateArea_m4532606FA3AB155AD97D9485BFF5049A0F0399B4 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, const RuntimeMethod* method)
{
{
// UpdateArea(o, this);
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_0 = ___0_o;
NavMeshGraph_UpdateArea_mFA0928B85FDF7CE830372D8792469570434EED2E(L_0, __this, NULL);
// }
return;
}
}
// System.Void Pathfinding.NavMeshGraph::UpdateArea(Pathfinding.GraphUpdateObject,Pathfinding.INavmeshHolder)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshGraph_UpdateArea_mFA0928B85FDF7CE830372D8792469570434EED2E (GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, RuntimeObject* ___1_graph, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmesh_tA28F6D8B4619D596B99A0107BC2CE0E1C642357B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITransformedGraph_tF4C03A346ABB2DF1ACA9A31D063D66798ECBE91D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass19_0_U3CUpdateAreaU3Eb__0_m2129D10888EFF7B410FBADB8DB83600C0E05F15B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* V_0 = NULL;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_1;
memset((&V_1), 0, sizeof(V_1));
{
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_0 = (U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0_il2cpp_TypeInfo_var);
NullCheck(L_0);
U3CU3Ec__DisplayClass19_0__ctor_mEAC43BC527ED1634E8677F3A832C584392F68D1E(L_0, NULL);
V_0 = L_0;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_1 = V_0;
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_2 = ___0_o;
NullCheck(L_1);
L_1->___o_7 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___o_7), (void*)L_2);
// Bounds bounds = graph.transform.InverseTransform(o.bounds);
RuntimeObject* L_3 = ___1_graph;
NullCheck(L_3);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_4;
L_4 = InterfaceFuncInvoker0< GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* >::Invoke(0 /* Pathfinding.Util.GraphTransform Pathfinding.ITransformedGraph::get_transform() */, ITransformedGraph_tF4C03A346ABB2DF1ACA9A31D063D66798ECBE91D_il2cpp_TypeInfo_var, L_3);
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_5 = V_0;
NullCheck(L_5);
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_6 = L_5->___o_7;
NullCheck(L_6);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_7 = L_6->___bounds_0;
NullCheck(L_4);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_8;
L_8 = GraphTransform_InverseTransform_mD59EAFA011A69990FFEACC358D81BFDC31F2AC57(L_4, L_7, NULL);
V_1 = L_8;
// var irect = new IntRect(
// Mathf.FloorToInt(bounds.min.x*Int3.Precision),
// Mathf.FloorToInt(bounds.min.z*Int3.Precision),
// Mathf.CeilToInt(bounds.max.x*Int3.Precision),
// Mathf.CeilToInt(bounds.max.z*Int3.Precision)
// );
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_9 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_1), NULL);
float L_11 = L_10.___x_2;
int32_t L_12;
L_12 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)il2cpp_codegen_multiply(L_11, (1000.0f))), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
L_13 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_1), NULL);
float L_14 = L_13.___z_4;
int32_t L_15;
L_15 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)il2cpp_codegen_multiply(L_14, (1000.0f))), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
L_16 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&V_1), NULL);
float L_17 = L_16.___x_2;
int32_t L_18;
L_18 = Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline(((float)il2cpp_codegen_multiply(L_17, (1000.0f))), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
L_19 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&V_1), NULL);
float L_20 = L_19.___z_4;
int32_t L_21;
L_21 = Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline(((float)il2cpp_codegen_multiply(L_20, (1000.0f))), NULL);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_22;
memset((&L_22), 0, sizeof(L_22));
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_22), L_12, L_15, L_18, L_21, /*hidden argument*/NULL);
NullCheck(L_9);
L_9->___irect_0 = L_22;
// var a = new Int3(irect.xmin, 0, irect.ymin);
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_23 = V_0;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_24 = V_0;
NullCheck(L_24);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_25 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&L_24->___irect_0);
int32_t L_26 = L_25->___xmin_0;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_27 = V_0;
NullCheck(L_27);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_28 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&L_27->___irect_0);
int32_t L_29 = L_28->___ymin_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_30;
memset((&L_30), 0, sizeof(L_30));
Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F((&L_30), L_26, 0, L_29, /*hidden argument*/NULL);
NullCheck(L_23);
L_23->___a_1 = L_30;
// var b = new Int3(irect.xmin, 0, irect.ymax);
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_31 = V_0;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_32 = V_0;
NullCheck(L_32);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_33 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&L_32->___irect_0);
int32_t L_34 = L_33->___xmin_0;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_35 = V_0;
NullCheck(L_35);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_36 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&L_35->___irect_0);
int32_t L_37 = L_36->___ymax_3;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_38;
memset((&L_38), 0, sizeof(L_38));
Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F((&L_38), L_34, 0, L_37, /*hidden argument*/NULL);
NullCheck(L_31);
L_31->___b_2 = L_38;
// var c = new Int3(irect.xmax, 0, irect.ymin);
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_39 = V_0;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_40 = V_0;
NullCheck(L_40);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_41 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&L_40->___irect_0);
int32_t L_42 = L_41->___xmax_2;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_43 = V_0;
NullCheck(L_43);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_44 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&L_43->___irect_0);
int32_t L_45 = L_44->___ymin_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_46;
memset((&L_46), 0, sizeof(L_46));
Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F((&L_46), L_42, 0, L_45, /*hidden argument*/NULL);
NullCheck(L_39);
L_39->___c_3 = L_46;
// var d = new Int3(irect.xmax, 0, irect.ymax);
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_47 = V_0;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_48 = V_0;
NullCheck(L_48);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_49 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&L_48->___irect_0);
int32_t L_50 = L_49->___xmax_2;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_51 = V_0;
NullCheck(L_51);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_52 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&L_51->___irect_0);
int32_t L_53 = L_52->___ymax_3;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_54;
memset((&L_54), 0, sizeof(L_54));
Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F((&L_54), L_50, 0, L_53, /*hidden argument*/NULL);
NullCheck(L_47);
L_47->___d_4 = L_54;
// var ymin = ((Int3)bounds.min).y;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_55 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
L_56 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_1), NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_57;
L_57 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_56, NULL);
int32_t L_58 = L_57.___y_1;
NullCheck(L_55);
L_55->___ymin_5 = L_58;
// var ymax = ((Int3)bounds.max).y;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_59 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
L_60 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&V_1), NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_61;
L_61 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_60, NULL);
int32_t L_62 = L_61.___y_1;
NullCheck(L_59);
L_59->___ymax_6 = L_62;
// graph.GetNodes(_node => {
// var node = _node as TriangleMeshNode;
//
// bool inside = false;
//
// int allLeft = 0;
// int allRight = 0;
// int allTop = 0;
// int allBottom = 0;
//
// // Check bounding box rect in XZ plane
// for (int v = 0; v < 3; v++) {
// Int3 p = node.GetVertexInGraphSpace(v);
//
// if (irect.Contains(p.x, p.z)) {
// inside = true;
// break;
// }
//
// if (p.x < irect.xmin) allLeft++;
// if (p.x > irect.xmax) allRight++;
// if (p.z < irect.ymin) allTop++;
// if (p.z > irect.ymax) allBottom++;
// }
//
// if (!inside && (allLeft == 3 || allRight == 3 || allTop == 3 || allBottom == 3)) {
// return;
// }
//
// // Check if the polygon edges intersect the bounding rect
// for (int v = 0; v < 3; v++) {
// int v2 = v > 1 ? 0 : v+1;
//
// Int3 vert1 = node.GetVertexInGraphSpace(v);
// Int3 vert2 = node.GetVertexInGraphSpace(v2);
//
// if (VectorMath.SegmentsIntersectXZ(a, b, vert1, vert2)) { inside = true; break; }
// if (VectorMath.SegmentsIntersectXZ(a, c, vert1, vert2)) { inside = true; break; }
// if (VectorMath.SegmentsIntersectXZ(c, d, vert1, vert2)) { inside = true; break; }
// if (VectorMath.SegmentsIntersectXZ(d, b, vert1, vert2)) { inside = true; break; }
// }
//
// // Check if the node contains any corner of the bounding rect
// if (inside || node.ContainsPointInGraphSpace(a) || node.ContainsPointInGraphSpace(b) || node.ContainsPointInGraphSpace(c) || node.ContainsPointInGraphSpace(d)) {
// inside = true;
// }
//
// if (!inside) {
// return;
// }
//
// int allAbove = 0;
// int allBelow = 0;
//
// // Check y coordinate
// for (int v = 0; v < 3; v++) {
// Int3 p = node.GetVertexInGraphSpace(v);
// if (p.y < ymin) allBelow++;
// if (p.y > ymax) allAbove++;
// }
//
// // Polygon is either completely above the bounding box or completely below it
// if (allBelow == 3 || allAbove == 3) return;
//
// // Triangle is inside the bounding box!
// // Update it!
// o.WillUpdateNode(node);
// o.Apply(node);
// });
RuntimeObject* L_63 = ___1_graph;
U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* L_64 = V_0;
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_65 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
NullCheck(L_65);
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_65, L_64, (intptr_t)((void*)U3CU3Ec__DisplayClass19_0_U3CUpdateAreaU3Eb__0_m2129D10888EFF7B410FBADB8DB83600C0E05F15B_RuntimeMethod_var), NULL);
NullCheck(L_63);
InterfaceActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(0 /* System.Void Pathfinding.INavmesh::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, INavmesh_tA28F6D8B4619D596B99A0107BC2CE0E1C642357B_il2cpp_TypeInfo_var, L_63, L_65);
// }
return;
}
}
// System.Void Pathfinding.NavMeshGraph::ScanInternal(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshGraph_ScanInternal_mB75E618D2E5097AFBCD9AE80744C072DA8D49B3A (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, String_t* ___0_objMeshPath, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_t0064AAC2102BF24FE1A2441E4B32C75CA0C24B85_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC78109A2E5DE4620A5B6C18BF318B1B322C0D3C7);
s_Il2CppMethodInitialized = true;
}
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_0 = NULL;
RuntimeObject* V_1 = NULL;
{
// Mesh mesh = ObjImporter.ImportFile(objMeshPath);
String_t* L_0 = ___0_objMeshPath;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_1;
L_1 = ObjImporter_ImportFile_m0AF42BF5FAFB9847E6F5914A1F78BB31FAFEB60B(L_0, NULL);
V_0 = L_1;
// if (mesh == null) {
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_2 = V_0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_3;
L_3 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_2, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (!L_3)
{
goto IL_0026;
}
}
{
// Debug.LogError("Couldn't read .obj file at '"+objMeshPath+"'");
String_t* L_4 = ___0_objMeshPath;
String_t* L_5;
L_5 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteralC78109A2E5DE4620A5B6C18BF318B1B322C0D3C7, L_4, _stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(L_5, NULL);
// return;
return;
}
IL_0026:
{
// sourceMesh = mesh;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_6 = V_0;
__this->___sourceMesh_31 = L_6;
Il2CppCodeGenWriteBarrier((void**)(&__this->___sourceMesh_31), (void*)L_6);
// var scan = ScanInternal().GetEnumerator();
RuntimeObject* L_7;
L_7 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Collections.Generic.IEnumerable`1<Pathfinding.Progress> Pathfinding.NavGraph::ScanInternal() */, __this);
NullCheck(L_7);
RuntimeObject* L_8;
L_8 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<Pathfinding.Progress>::GetEnumerator() */, IEnumerable_1_t0064AAC2102BF24FE1A2441E4B32C75CA0C24B85_il2cpp_TypeInfo_var, L_7);
V_1 = L_8;
}
IL_0039:
{
// while (scan.MoveNext()) {}
RuntimeObject* L_9 = V_1;
NullCheck(L_9);
bool L_10;
L_10 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_9);
if (L_10)
{
goto IL_0039;
}
}
{
// }
return;
}
}
// System.Collections.Generic.IEnumerable`1<Pathfinding.Progress> Pathfinding.NavMeshGraph::ScanInternal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* NavMeshGraph_ScanInternal_mA4B12AD81F33206423D12910131955ED6CC72804 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* L_0 = (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E*)il2cpp_codegen_object_new(U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E_il2cpp_TypeInfo_var);
NullCheck(L_0);
U3CScanInternalU3Ed__21__ctor_mFBE3AFAE3D6610C18DCC6C7E7F511DAC8BA2EA60(L_0, ((int32_t)-2), NULL);
U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* L_1 = L_0;
NullCheck(L_1);
L_1->___U3CU3E4__this_3 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_3), (void*)__this);
return L_1;
}
}
// System.Void Pathfinding.NavMeshGraph::DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshGraph_DeserializeSettingsCompatibility_m5EF80CB6D70927D7C36E78452345995909C6FFE1 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// base.DeserializeSettingsCompatibility(ctx);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
NavGraph_DeserializeSettingsCompatibility_m4EDCD5F5616313CD38308D2D5072FB53568092DB(__this, L_0, NULL);
// sourceMesh = ctx.DeserializeUnityObject() as Mesh;
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
NullCheck(L_1);
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_2;
L_2 = GraphSerializationContext_DeserializeUnityObject_mEFFA3790149E1B7D77B87019524FD72AA2D8D531(L_1, NULL);
__this->___sourceMesh_31 = ((Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)IsInstSealed((RuntimeObject*)L_2, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var));
Il2CppCodeGenWriteBarrier((void**)(&__this->___sourceMesh_31), (void*)((Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)IsInstSealed((RuntimeObject*)L_2, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var)));
// offset = ctx.DeserializeVector3();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
NullCheck(L_3);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = GraphSerializationContext_DeserializeVector3_mC5A2DC6906CC09A721E4F822EF70A0FF6117D6DF(L_3, NULL);
__this->___offset_32 = L_4;
// rotation = ctx.DeserializeVector3();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_5 = ___0_ctx;
NullCheck(L_5);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = GraphSerializationContext_DeserializeVector3_mC5A2DC6906CC09A721E4F822EF70A0FF6117D6DF(L_5, NULL);
__this->___rotation_33 = L_6;
// scale = ctx.reader.ReadSingle();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_7 = ___0_ctx;
NullCheck(L_7);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_8 = L_7->___reader_1;
NullCheck(L_8);
float L_9;
L_9 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_8);
__this->___scale_34 = L_9;
// nearestSearchOnlyXZ = !ctx.reader.ReadBoolean();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_10 = ___0_ctx;
NullCheck(L_10);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_11 = L_10->___reader_1;
NullCheck(L_11);
bool L_12;
L_12 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_11);
((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)__this)->___nearestSearchOnlyXZ_21 = (bool)((((int32_t)L_12) == ((int32_t)0))? 1 : 0);
// }
return;
}
}
// System.Void Pathfinding.NavMeshGraph::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshGraph__ctor_m9BE882C8C6BBC141DA14F4C2852D79B67EFCAB38 (NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public float scale = 1;
__this->___scale_34 = (1.0f);
// public bool recalculateNormals = true;
__this->___recalculateNormals_35 = (bool)1;
il2cpp_codegen_runtime_class_init_inline(NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
NavmeshBase__ctor_m1862DCB5497316A4CE27F317AF797A098D340F1D(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass19_0__ctor_mEAC43BC527ED1634E8677F3A832C584392F68D1E (U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
// System.Void Pathfinding.NavMeshGraph/<>c__DisplayClass19_0::<UpdateArea>b__0(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass19_0_U3CUpdateAreaU3Eb__0_m2129D10888EFF7B410FBADB8DB83600C0E05F15B (U3CU3Ec__DisplayClass19_0_tD936B11223CEA5CEA398A20AACF974811FFF9DF0* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0__node, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_0 = NULL;
bool V_1 = false;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
int32_t V_8 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_9;
memset((&V_9), 0, sizeof(V_9));
int32_t V_10 = 0;
int32_t V_11 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_12;
memset((&V_12), 0, sizeof(V_12));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_13;
memset((&V_13), 0, sizeof(V_13));
int32_t V_14 = 0;
int32_t G_B23_0 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 G_B44_0;
memset((&G_B44_0), 0, sizeof(G_B44_0));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 G_B43_0;
memset((&G_B43_0), 0, sizeof(G_B43_0));
{
// var node = _node as TriangleMeshNode;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0__node;
V_0 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)IsInstClass((RuntimeObject*)L_0, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var));
// bool inside = false;
V_1 = (bool)0;
// int allLeft = 0;
V_2 = 0;
// int allRight = 0;
V_3 = 0;
// int allTop = 0;
V_4 = 0;
// int allBottom = 0;
V_5 = 0;
// for (int v = 0; v < 3; v++) {
V_8 = 0;
goto IL_00ae;
}
IL_001b:
{
// Int3 p = node.GetVertexInGraphSpace(v);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_1 = V_0;
int32_t L_2 = V_8;
NullCheck(L_1);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_3;
L_3 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_1, L_2, NULL);
V_9 = L_3;
// if (irect.Contains(p.x, p.z)) {
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_4 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&__this->___irect_0);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_5 = V_9;
int32_t L_6 = L_5.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_7 = V_9;
int32_t L_8 = L_7.___z_2;
bool L_9;
L_9 = IntRect_Contains_m5E307C7E3F45B01584E41D0A141A3AF5E5D6549D(L_4, L_6, L_8, NULL);
if (!L_9)
{
goto IL_0044;
}
}
{
// inside = true;
V_1 = (bool)1;
// break;
goto IL_00b6;
}
IL_0044:
{
// if (p.x < irect.xmin) allLeft++;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_10 = V_9;
int32_t L_11 = L_10.___x_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_12 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&__this->___irect_0);
int32_t L_13 = L_12->___xmin_0;
if ((((int32_t)L_11) >= ((int32_t)L_13)))
{
goto IL_005c;
}
}
{
// if (p.x < irect.xmin) allLeft++;
int32_t L_14 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_14, 1));
}
IL_005c:
{
// if (p.x > irect.xmax) allRight++;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_15 = V_9;
int32_t L_16 = L_15.___x_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_17 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&__this->___irect_0);
int32_t L_18 = L_17->___xmax_2;
if ((((int32_t)L_16) <= ((int32_t)L_18)))
{
goto IL_0074;
}
}
{
// if (p.x > irect.xmax) allRight++;
int32_t L_19 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_19, 1));
}
IL_0074:
{
// if (p.z < irect.ymin) allTop++;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_20 = V_9;
int32_t L_21 = L_20.___z_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_22 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&__this->___irect_0);
int32_t L_23 = L_22->___ymin_1;
if ((((int32_t)L_21) >= ((int32_t)L_23)))
{
goto IL_008e;
}
}
{
// if (p.z < irect.ymin) allTop++;
int32_t L_24 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_24, 1));
}
IL_008e:
{
// if (p.z > irect.ymax) allBottom++;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_25 = V_9;
int32_t L_26 = L_25.___z_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_27 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&__this->___irect_0);
int32_t L_28 = L_27->___ymax_3;
if ((((int32_t)L_26) <= ((int32_t)L_28)))
{
goto IL_00a8;
}
}
{
// if (p.z > irect.ymax) allBottom++;
int32_t L_29 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_29, 1));
}
IL_00a8:
{
// for (int v = 0; v < 3; v++) {
int32_t L_30 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add(L_30, 1));
}
IL_00ae:
{
// for (int v = 0; v < 3; v++) {
int32_t L_31 = V_8;
if ((((int32_t)L_31) < ((int32_t)3)))
{
goto IL_001b;
}
}
IL_00b6:
{
// if (!inside && (allLeft == 3 || allRight == 3 || allTop == 3 || allBottom == 3)) {
bool L_32 = V_1;
if (L_32)
{
goto IL_00cc;
}
}
{
int32_t L_33 = V_2;
if ((((int32_t)L_33) == ((int32_t)3)))
{
goto IL_00cb;
}
}
{
int32_t L_34 = V_3;
if ((((int32_t)L_34) == ((int32_t)3)))
{
goto IL_00cb;
}
}
{
int32_t L_35 = V_4;
if ((((int32_t)L_35) == ((int32_t)3)))
{
goto IL_00cb;
}
}
{
int32_t L_36 = V_5;
if ((!(((uint32_t)L_36) == ((uint32_t)3))))
{
goto IL_00cc;
}
}
IL_00cb:
{
// return;
return;
}
IL_00cc:
{
// for (int v = 0; v < 3; v++) {
V_10 = 0;
goto IL_0168;
}
IL_00d4:
{
// int v2 = v > 1 ? 0 : v+1;
int32_t L_37 = V_10;
if ((((int32_t)L_37) > ((int32_t)1)))
{
goto IL_00df;
}
}
{
int32_t L_38 = V_10;
G_B23_0 = ((int32_t)il2cpp_codegen_add(L_38, 1));
goto IL_00e0;
}
IL_00df:
{
G_B23_0 = 0;
}
IL_00e0:
{
V_11 = G_B23_0;
// Int3 vert1 = node.GetVertexInGraphSpace(v);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_39 = V_0;
int32_t L_40 = V_10;
NullCheck(L_39);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_41;
L_41 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_39, L_40, NULL);
V_12 = L_41;
// Int3 vert2 = node.GetVertexInGraphSpace(v2);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_42 = V_0;
int32_t L_43 = V_11;
NullCheck(L_42);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_44;
L_44 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_42, L_43, NULL);
V_13 = L_44;
// if (VectorMath.SegmentsIntersectXZ(a, b, vert1, vert2)) { inside = true; break; }
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_45 = __this->___a_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_46 = __this->___b_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_47 = V_12;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_48 = V_13;
bool L_49;
L_49 = VectorMath_SegmentsIntersectXZ_mB539A3D26170A303FEE3169A632A12110D2995F4(L_45, L_46, L_47, L_48, NULL);
if (!L_49)
{
goto IL_0111;
}
}
{
// if (VectorMath.SegmentsIntersectXZ(a, b, vert1, vert2)) { inside = true; break; }
V_1 = (bool)1;
// if (VectorMath.SegmentsIntersectXZ(a, b, vert1, vert2)) { inside = true; break; }
goto IL_0170;
}
IL_0111:
{
// if (VectorMath.SegmentsIntersectXZ(a, c, vert1, vert2)) { inside = true; break; }
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_50 = __this->___a_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_51 = __this->___c_3;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_52 = V_12;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_53 = V_13;
bool L_54;
L_54 = VectorMath_SegmentsIntersectXZ_mB539A3D26170A303FEE3169A632A12110D2995F4(L_50, L_51, L_52, L_53, NULL);
if (!L_54)
{
goto IL_012c;
}
}
{
// if (VectorMath.SegmentsIntersectXZ(a, c, vert1, vert2)) { inside = true; break; }
V_1 = (bool)1;
// if (VectorMath.SegmentsIntersectXZ(a, c, vert1, vert2)) { inside = true; break; }
goto IL_0170;
}
IL_012c:
{
// if (VectorMath.SegmentsIntersectXZ(c, d, vert1, vert2)) { inside = true; break; }
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_55 = __this->___c_3;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_56 = __this->___d_4;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_57 = V_12;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_58 = V_13;
bool L_59;
L_59 = VectorMath_SegmentsIntersectXZ_mB539A3D26170A303FEE3169A632A12110D2995F4(L_55, L_56, L_57, L_58, NULL);
if (!L_59)
{
goto IL_0147;
}
}
{
// if (VectorMath.SegmentsIntersectXZ(c, d, vert1, vert2)) { inside = true; break; }
V_1 = (bool)1;
// if (VectorMath.SegmentsIntersectXZ(c, d, vert1, vert2)) { inside = true; break; }
goto IL_0170;
}
IL_0147:
{
// if (VectorMath.SegmentsIntersectXZ(d, b, vert1, vert2)) { inside = true; break; }
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_60 = __this->___d_4;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_61 = __this->___b_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_62 = V_12;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_63 = V_13;
bool L_64;
L_64 = VectorMath_SegmentsIntersectXZ_mB539A3D26170A303FEE3169A632A12110D2995F4(L_60, L_61, L_62, L_63, NULL);
if (!L_64)
{
goto IL_0162;
}
}
{
// if (VectorMath.SegmentsIntersectXZ(d, b, vert1, vert2)) { inside = true; break; }
V_1 = (bool)1;
// if (VectorMath.SegmentsIntersectXZ(d, b, vert1, vert2)) { inside = true; break; }
goto IL_0170;
}
IL_0162:
{
// for (int v = 0; v < 3; v++) {
int32_t L_65 = V_10;
V_10 = ((int32_t)il2cpp_codegen_add(L_65, 1));
}
IL_0168:
{
// for (int v = 0; v < 3; v++) {
int32_t L_66 = V_10;
if ((((int32_t)L_66) < ((int32_t)3)))
{
goto IL_00d4;
}
}
IL_0170:
{
// if (inside || node.ContainsPointInGraphSpace(a) || node.ContainsPointInGraphSpace(b) || node.ContainsPointInGraphSpace(c) || node.ContainsPointInGraphSpace(d)) {
bool L_67 = V_1;
if (L_67)
{
goto IL_01ab;
}
}
{
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_68 = V_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_69 = __this->___a_1;
NullCheck(L_68);
bool L_70;
L_70 = VirtualFuncInvoker1< bool, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 >::Invoke(25 /* System.Boolean Pathfinding.MeshNode::ContainsPointInGraphSpace(Pathfinding.Int3) */, L_68, L_69);
if (L_70)
{
goto IL_01ab;
}
}
{
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_71 = V_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_72 = __this->___b_2;
NullCheck(L_71);
bool L_73;
L_73 = VirtualFuncInvoker1< bool, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 >::Invoke(25 /* System.Boolean Pathfinding.MeshNode::ContainsPointInGraphSpace(Pathfinding.Int3) */, L_71, L_72);
if (L_73)
{
goto IL_01ab;
}
}
{
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_74 = V_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_75 = __this->___c_3;
NullCheck(L_74);
bool L_76;
L_76 = VirtualFuncInvoker1< bool, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 >::Invoke(25 /* System.Boolean Pathfinding.MeshNode::ContainsPointInGraphSpace(Pathfinding.Int3) */, L_74, L_75);
if (L_76)
{
goto IL_01ab;
}
}
{
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_77 = V_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_78 = __this->___d_4;
NullCheck(L_77);
bool L_79;
L_79 = VirtualFuncInvoker1< bool, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 >::Invoke(25 /* System.Boolean Pathfinding.MeshNode::ContainsPointInGraphSpace(Pathfinding.Int3) */, L_77, L_78);
if (!L_79)
{
goto IL_01ad;
}
}
IL_01ab:
{
// inside = true;
V_1 = (bool)1;
}
IL_01ad:
{
// if (!inside) {
bool L_80 = V_1;
if (L_80)
{
goto IL_01b1;
}
}
{
// return;
return;
}
IL_01b1:
{
// int allAbove = 0;
V_6 = 0;
// int allBelow = 0;
V_7 = 0;
// for (int v = 0; v < 3; v++) {
V_14 = 0;
goto IL_01f1;
}
IL_01bc:
{
// Int3 p = node.GetVertexInGraphSpace(v);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_81 = V_0;
int32_t L_82 = V_14;
NullCheck(L_81);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_83;
L_83 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_81, L_82, NULL);
// if (p.y < ymin) allBelow++;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_84 = L_83;
int32_t L_85 = L_84.___y_1;
int32_t L_86 = __this->___ymin_5;
G_B43_0 = L_84;
if ((((int32_t)L_85) >= ((int32_t)L_86)))
{
G_B44_0 = L_84;
goto IL_01d8;
}
}
{
// if (p.y < ymin) allBelow++;
int32_t L_87 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_87, 1));
G_B44_0 = G_B43_0;
}
IL_01d8:
{
// if (p.y > ymax) allAbove++;
int32_t L_88 = G_B44_0.___y_1;
int32_t L_89 = __this->___ymax_6;
if ((((int32_t)L_88) <= ((int32_t)L_89)))
{
goto IL_01eb;
}
}
{
// if (p.y > ymax) allAbove++;
int32_t L_90 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_90, 1));
}
IL_01eb:
{
// for (int v = 0; v < 3; v++) {
int32_t L_91 = V_14;
V_14 = ((int32_t)il2cpp_codegen_add(L_91, 1));
}
IL_01f1:
{
// for (int v = 0; v < 3; v++) {
int32_t L_92 = V_14;
if ((((int32_t)L_92) < ((int32_t)3)))
{
goto IL_01bc;
}
}
{
// if (allBelow == 3 || allAbove == 3) return;
int32_t L_93 = V_7;
if ((((int32_t)L_93) == ((int32_t)3)))
{
goto IL_0200;
}
}
{
int32_t L_94 = V_6;
if ((!(((uint32_t)L_94) == ((uint32_t)3))))
{
goto IL_0201;
}
}
IL_0200:
{
// if (allBelow == 3 || allAbove == 3) return;
return;
}
IL_0201:
{
// o.WillUpdateNode(node);
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_95 = __this->___o_7;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_96 = V_0;
NullCheck(L_95);
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(4 /* System.Void Pathfinding.GraphUpdateObject::WillUpdateNode(Pathfinding.GraphNode) */, L_95, L_96);
// o.Apply(node);
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_97 = __this->___o_7;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_98 = V_0;
NullCheck(L_97);
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(6 /* System.Void Pathfinding.GraphUpdateObject::Apply(Pathfinding.GraphNode) */, L_97, L_98);
// });
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.NavMeshGraph/<ScanInternal>d__21::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__21__ctor_mFBE3AFAE3D6610C18DCC6C7E7F511DAC8BA2EA60 (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___0_U3CU3E1__state;
__this->___U3CU3E1__state_0 = L_0;
int32_t L_1;
L_1 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
__this->___U3CU3El__initialThreadId_2 = L_1;
return;
}
}
// System.Void Pathfinding.NavMeshGraph/<ScanInternal>d__21::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__21_System_IDisposable_Dispose_m51D19F16A2AF26C1A7AFD4DA05E92553040FFCB7 (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean Pathfinding.NavMeshGraph/<ScanInternal>d__21::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CScanInternalU3Ed__21_MoveNext_m60564168A07C7EF4EFD17FFC479A6517EC9B88CC (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_mFB263E7D84B814B9730990630F063CCFA3283D87_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m599A2865676852CD535EFC68BA2F0E383B8C5B52_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_t4C400CB95B7E553EF3DB6C4E398C859B8E2164E9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m3379DEA703C536D8D6F82BD9CDFC7441FC2D90CB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mCC0E71080DE343C1A527526A1AC2DBEC355CEA6C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral40BB26162F88142489981625C395842722FE6881);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5C2A869861C346A190F25CA2098438E90837D8DE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF194DAEB0919B4940474DBA636771B1C24C3A2E2);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* V_1 = NULL;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_2 = NULL;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_3;
memset((&V_3), 0, sizeof(V_3));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_4;
memset((&V_4), 0, sizeof(V_4));
int32_t V_5 = 0;
int32_t V_6 = 0;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* G_B4_0 = NULL;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* G_B3_0 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B5_0;
memset((&G_B5_0), 0, sizeof(G_B5_0));
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* G_B5_1 = NULL;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_1 = __this->___U3CU3E4__this_3;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0026;
}
case 1:
{
goto IL_00dc;
}
case 2:
{
goto IL_01b0;
}
case 3:
{
goto IL_0215;
}
}
}
{
return (bool)0;
}
IL_0026:
{
__this->___U3CU3E1__state_0 = (-1);
// cachedSourceMeshBoundsMin = sourceMesh != null ? sourceMesh.bounds.min : Vector3.zero;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_3 = V_1;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_4 = V_1;
NullCheck(L_4);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_5 = L_4->___sourceMesh_31;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_6;
L_6 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
G_B3_0 = L_3;
if (L_6)
{
G_B4_0 = L_3;
goto IL_0043;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
G_B5_0 = L_7;
G_B5_1 = G_B3_0;
goto IL_0057;
}
IL_0043:
{
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_8 = V_1;
NullCheck(L_8);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_9 = L_8->___sourceMesh_31;
NullCheck(L_9);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_10;
L_10 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_9, NULL);
V_4 = L_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
L_11 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_4), NULL);
G_B5_0 = L_11;
G_B5_1 = G_B4_0;
}
IL_0057:
{
NullCheck(G_B5_1);
G_B5_1->___cachedSourceMeshBoundsMin_36 = G_B5_0;
// transform = CalculateTransform();
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_12 = V_1;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_13 = V_1;
NullCheck(L_13);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_14;
L_14 = VirtualFuncInvoker0< GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* >::Invoke(36 /* Pathfinding.Util.GraphTransform Pathfinding.NavmeshBase::CalculateTransform() */, L_13);
NullCheck(L_12);
((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_12)->___transform_27 = L_14;
Il2CppCodeGenWriteBarrier((void**)(&((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_12)->___transform_27), (void*)L_14);
// tileZCount = tileXCount = 1;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_15 = V_1;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_16 = V_1;
int32_t L_17 = 1;
V_5 = L_17;
NullCheck(L_16);
((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_16)->___tileXCount_18 = L_17;
int32_t L_18 = V_5;
NullCheck(L_15);
((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_15)->___tileZCount_19 = L_18;
// tiles = new NavmeshTile[tileZCount*tileXCount];
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_19 = V_1;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_20 = V_1;
NullCheck(L_20);
int32_t L_21 = ((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_20)->___tileZCount_19;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_22 = V_1;
NullCheck(L_22);
int32_t L_23 = ((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_22)->___tileXCount_18;
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_24 = (NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF*)(NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF*)SZArrayNew(NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_multiply(L_21, L_23)));
NullCheck(L_19);
((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_19)->___tiles_20 = L_24;
Il2CppCodeGenWriteBarrier((void**)(&((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_19)->___tiles_20), (void*)L_24);
// TriangleMeshNode.SetNavmeshHolder(AstarPath.active.data.GetGraphIndex(this), this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_25 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_25);
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* L_26 = L_25->___data_8;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_27 = V_1;
NullCheck(L_26);
int32_t L_28;
L_28 = AstarData_GetGraphIndex_mEE39A9C890D7D44B139C86A4DF94AA0E171069C0(L_26, L_27, NULL);
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_29 = V_1;
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
TriangleMeshNode_SetNavmeshHolder_mFA2533EB627690E28F9394DFCDD8517D7C42200F(L_28, L_29, NULL);
// if (sourceMesh == null) {
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_30 = V_1;
NullCheck(L_30);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_31 = L_30->___sourceMesh_31;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_32;
L_32 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_31, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (!L_32)
{
goto IL_00be;
}
}
{
// FillWithEmptyTiles();
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_33 = V_1;
NullCheck(L_33);
NavmeshBase_FillWithEmptyTiles_mF344A935A10F26804F02385737F229C81BE44095(L_33, NULL);
// yield break;
return (bool)0;
}
IL_00be:
{
// yield return new Progress(0.0f, "Transforming Vertices");
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_34;
memset((&L_34), 0, sizeof(L_34));
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_34), (0.0f), _stringLiteral40BB26162F88142489981625C395842722FE6881, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_34;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_00dc:
{
__this->___U3CU3E1__state_0 = (-1);
// forcedBoundsSize = sourceMesh.bounds.size * scale;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_35 = V_1;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_36 = V_1;
NullCheck(L_36);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_37 = L_36->___sourceMesh_31;
NullCheck(L_37);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_38;
L_38 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_37, NULL);
V_4 = L_38;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
L_39 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_4), NULL);
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_40 = V_1;
NullCheck(L_40);
float L_41 = L_40->___scale_34;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
L_42 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_39, L_41, NULL);
NullCheck(L_35);
((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_35)->___forcedBoundsSize_14 = L_42;
// Vector3[] vectorVertices = sourceMesh.vertices;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_43 = V_1;
NullCheck(L_43);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_44 = L_43->___sourceMesh_31;
NullCheck(L_44);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_45;
L_45 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_44, NULL);
V_2 = L_45;
// var intVertices = ListPool<Int3>.Claim(vectorVertices.Length);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_46 = V_2;
NullCheck(L_46);
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t4C400CB95B7E553EF3DB6C4E398C859B8E2164E9_il2cpp_TypeInfo_var);
List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* L_47;
L_47 = ListPool_1_Claim_mFB263E7D84B814B9730990630F063CCFA3283D87(((int32_t)(((RuntimeArray*)L_46)->max_length)), ListPool_1_Claim_mFB263E7D84B814B9730990630F063CCFA3283D87_RuntimeMethod_var);
__this->___U3CintVerticesU3E5__2_4 = L_47;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CintVerticesU3E5__2_4), (void*)L_47);
// var matrix = Matrix4x4.TRS(-sourceMesh.bounds.min * scale, Quaternion.identity, Vector3.one * scale);
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_48 = V_1;
NullCheck(L_48);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_49 = L_48->___sourceMesh_31;
NullCheck(L_49);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_50;
L_50 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_49, NULL);
V_4 = L_50;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
L_51 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_4), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
L_52 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_51, NULL);
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_53 = V_1;
NullCheck(L_53);
float L_54 = L_53->___scale_34;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
L_55 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_52, L_54, NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56;
L_56 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
L_57 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_58 = V_1;
NullCheck(L_58);
float L_59 = L_58->___scale_34;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
L_60 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_57, L_59, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_61;
L_61 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_55, L_56, L_60, NULL);
V_3 = L_61;
// for (int i = 0; i < vectorVertices.Length; i++) {
V_6 = 0;
goto IL_018b;
}
IL_0166:
{
// intVertices.Add((Int3)matrix.MultiplyPoint3x4(vectorVertices[i]));
List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* L_62 = __this->___U3CintVerticesU3E5__2_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_63 = V_2;
int32_t L_64 = V_6;
NullCheck(L_63);
int32_t L_65 = L_64;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_65));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
L_67 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_3), L_66, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_68;
L_68 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_67, NULL);
NullCheck(L_62);
List_1_Add_m3379DEA703C536D8D6F82BD9CDFC7441FC2D90CB_inline(L_62, L_68, List_1_Add_m3379DEA703C536D8D6F82BD9CDFC7441FC2D90CB_RuntimeMethod_var);
// for (int i = 0; i < vectorVertices.Length; i++) {
int32_t L_69 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_69, 1));
}
IL_018b:
{
// for (int i = 0; i < vectorVertices.Length; i++) {
int32_t L_70 = V_6;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_71 = V_2;
NullCheck(L_71);
if ((((int32_t)L_70) < ((int32_t)((int32_t)(((RuntimeArray*)L_71)->max_length)))))
{
goto IL_0166;
}
}
{
// yield return new Progress(0.1f, "Compressing Vertices");
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_72;
memset((&L_72), 0, sizeof(L_72));
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_72), (0.100000001f), _stringLiteralF194DAEB0919B4940474DBA636771B1C24C3A2E2, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_72;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_01b0:
{
__this->___U3CU3E1__state_0 = (-1);
// Int3[] compressedVertices = null;
__this->___U3CcompressedVerticesU3E5__3_5 = (Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CcompressedVerticesU3E5__3_5), (void*)(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)NULL);
// int[] compressedTriangles = null;
__this->___U3CcompressedTrianglesU3E5__4_6 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CcompressedTrianglesU3E5__4_6), (void*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL);
// Polygon.CompressMesh(intVertices, new List<int>(sourceMesh.triangles), out compressedVertices, out compressedTriangles);
List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* L_73 = __this->___U3CintVerticesU3E5__2_4;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_74 = V_1;
NullCheck(L_74);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_75 = L_74->___sourceMesh_31;
NullCheck(L_75);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_76;
L_76 = Mesh_get_triangles_m33E39B4A383CC613C760FA7E297AC417A433F24B(L_75, NULL);
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_77 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
NullCheck(L_77);
List_1__ctor_mCC0E71080DE343C1A527526A1AC2DBEC355CEA6C(L_77, (RuntimeObject*)L_76, List_1__ctor_mCC0E71080DE343C1A527526A1AC2DBEC355CEA6C_RuntimeMethod_var);
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926** L_78 = (Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926**)(&__this->___U3CcompressedVerticesU3E5__3_5);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** L_79 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C**)(&__this->___U3CcompressedTrianglesU3E5__4_6);
il2cpp_codegen_runtime_class_init_inline(Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
Polygon_CompressMesh_m25C643093267B2EE1981E7CE38384F0C30BB155B(L_73, L_77, L_78, L_79, NULL);
// ListPool<Int3>.Release(ref intVertices);
List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200** L_80 = (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200**)(&__this->___U3CintVerticesU3E5__2_4);
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t4C400CB95B7E553EF3DB6C4E398C859B8E2164E9_il2cpp_TypeInfo_var);
ListPool_1_Release_m599A2865676852CD535EFC68BA2F0E383B8C5B52(L_80, ListPool_1_Release_m599A2865676852CD535EFC68BA2F0E383B8C5B52_RuntimeMethod_var);
// yield return new Progress(0.2f, "Building Nodes");
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_81;
memset((&L_81), 0, sizeof(L_81));
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_81), (0.200000003f), _stringLiteral5C2A869861C346A190F25CA2098438E90837D8DE, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_81;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 3;
return (bool)1;
}
IL_0215:
{
__this->___U3CU3E1__state_0 = (-1);
// ReplaceTile(0, 0, compressedVertices, compressedTriangles);
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_82 = V_1;
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_83 = __this->___U3CcompressedVerticesU3E5__3_5;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_84 = __this->___U3CcompressedTrianglesU3E5__4_6;
NullCheck(L_82);
NavmeshBase_ReplaceTile_m5D3C27F3D401BAD8AC9EC6B92493CF4EF829FD69(L_82, 0, 0, L_83, L_84, NULL);
// navmeshUpdateData.OnRecalculatedTiles(tiles);
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_85 = V_1;
NullCheck(L_85);
NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F* L_86 = ((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_85)->___navmeshUpdateData_23;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_87 = V_1;
NullCheck(L_87);
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_88 = ((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_87)->___tiles_20;
NullCheck(L_86);
NavmeshUpdateSettings_OnRecalculatedTiles_m4DBA52952C059CB3EC0F7BF5F247B275AA1FBD50(L_86, L_88, NULL);
// if (OnRecalculatedTiles != null) OnRecalculatedTiles(tiles.Clone() as NavmeshTile[]);
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_89 = V_1;
NullCheck(L_89);
Action_1_tA3439EC8A386FAF754C06299F3FD4600EF357973* L_90 = ((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_89)->___OnRecalculatedTiles_28;
if (!L_90)
{
goto IL_0264;
}
}
{
// if (OnRecalculatedTiles != null) OnRecalculatedTiles(tiles.Clone() as NavmeshTile[]);
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_91 = V_1;
NullCheck(L_91);
Action_1_tA3439EC8A386FAF754C06299F3FD4600EF357973* L_92 = ((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_91)->___OnRecalculatedTiles_28;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_93 = V_1;
NullCheck(L_93);
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_94 = ((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704*)L_93)->___tiles_20;
NullCheck((RuntimeArray*)L_94);
RuntimeObject* L_95;
L_95 = Array_Clone_m66C9D0727C9BAA0995E4142F29B45BC03582E042((RuntimeArray*)L_94, NULL);
NullCheck(L_92);
Action_1_Invoke_m34138B74B25DB9D6CC16FFEC3CDBC4ACDE30FD54_inline(L_92, ((NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF*)IsInst((RuntimeObject*)L_95, NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF_il2cpp_TypeInfo_var)), NULL);
}
IL_0264:
{
// }
return (bool)0;
}
}
// Pathfinding.Progress Pathfinding.NavMeshGraph/<ScanInternal>d__21::System.Collections.Generic.IEnumerator<Pathfinding.Progress>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 U3CScanInternalU3Ed__21_System_Collections_Generic_IEnumeratorU3CPathfinding_ProgressU3E_get_Current_m8FDDA49D8BF38957B1284FFAB9B5924ACA1A343A (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, const RuntimeMethod* method)
{
{
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void Pathfinding.NavMeshGraph/<ScanInternal>d__21::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__21_System_Collections_IEnumerator_Reset_m6DB46565E85CEE8B6938F45120DF6BC6916FD451 (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NullCheck(L_0);
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CScanInternalU3Ed__21_System_Collections_IEnumerator_Reset_m6DB46565E85CEE8B6938F45120DF6BC6916FD451_RuntimeMethod_var)));
}
}
// System.Object Pathfinding.NavMeshGraph/<ScanInternal>d__21::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__21_System_Collections_IEnumerator_get_Current_m55927A3A91FE461D70FFCA8FC09C508BFD745507 (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_0 = __this->___U3CU3E2__current_1;
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_1 = L_0;
RuntimeObject* L_2 = Box(Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var, &L_1);
return L_2;
}
}
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress> Pathfinding.NavMeshGraph/<ScanInternal>d__21::System.Collections.Generic.IEnumerable<Pathfinding.Progress>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__21_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_mA991C61199796D875667AD6FB0B6738FFE3E584F (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* V_0 = NULL;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)-2)))))
{
goto IL_0022;
}
}
{
int32_t L_1 = __this->___U3CU3El__initialThreadId_2;
int32_t L_2;
L_2 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0022;
}
}
{
__this->___U3CU3E1__state_0 = 0;
V_0 = __this;
goto IL_0035;
}
IL_0022:
{
U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* L_3 = (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E*)il2cpp_codegen_object_new(U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E_il2cpp_TypeInfo_var);
NullCheck(L_3);
U3CScanInternalU3Ed__21__ctor_mFBE3AFAE3D6610C18DCC6C7E7F511DAC8BA2EA60(L_3, 0, NULL);
V_0 = L_3;
U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* L_4 = V_0;
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* L_5 = __this->___U3CU3E4__this_3;
NullCheck(L_4);
L_4->___U3CU3E4__this_3 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&L_4->___U3CU3E4__this_3), (void*)L_5);
}
IL_0035:
{
U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* L_6 = V_0;
return L_6;
}
}
// System.Collections.IEnumerator Pathfinding.NavMeshGraph/<ScanInternal>d__21::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__21_System_Collections_IEnumerable_GetEnumerator_m2CEA72B3D1E5D37193EE422E91C7E1C80BAA4493 (U3CScanInternalU3Ed__21_t309386C9C441BC071B92DD291F06184906E7FB9E* __this, const RuntimeMethod* method)
{
{
RuntimeObject* L_0;
L_0 = U3CScanInternalU3Ed__21_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_mA991C61199796D875667AD6FB0B6738FFE3E584F(__this, NULL);
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.GridNode::.ctor(AstarPath)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode__ctor_m49A61AAAE3D00861021A696392EAFDA03599B283 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method)
{
{
// public GridNode (AstarPath astar) : base(astar) {
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ___0_astar;
GridNodeBase__ctor_mDB14DC291FE98CC186B06C9A377F924B9BE05F1C(__this, L_0, NULL);
// }
return;
}
}
// Pathfinding.GridGraph Pathfinding.GridNode::GetGridGraph(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35 (uint32_t ___0_graphIndex, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public static GridGraph GetGridGraph (uint graphIndex) { return _gridGraphs[(int)graphIndex]; }
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_0 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29;
uint32_t L_1 = ___0_graphIndex;
NullCheck(L_0);
uint32_t L_2 = L_1;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
return L_3;
}
}
// System.Void Pathfinding.GridNode::SetGridGraph(System.Int32,Pathfinding.GridGraph)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_SetGridGraph_m2CCB8816869CD881A613914B8E34E553B4C4710F (int32_t ___0_graphIndex, GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* ___1_graph, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* V_0 = NULL;
int32_t V_1 = 0;
{
// if (_gridGraphs.Length <= graphIndex) {
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_0 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29;
NullCheck(L_0);
int32_t L_1 = ___0_graphIndex;
if ((((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))) > ((int32_t)L_1)))
{
goto IL_0035;
}
}
{
// var gg = new GridGraph[graphIndex+1];
int32_t L_2 = ___0_graphIndex;
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_3 = (GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D*)(GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D*)SZArrayNew(GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add(L_2, 1)));
V_0 = L_3;
// for (int i = 0; i < _gridGraphs.Length; i++) gg[i] = _gridGraphs[i];
V_1 = 0;
goto IL_0025;
}
IL_0017:
{
// for (int i = 0; i < _gridGraphs.Length; i++) gg[i] = _gridGraphs[i];
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_4 = V_0;
int32_t L_5 = V_1;
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_6 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29;
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck(L_4);
ArrayElementTypeCheck (L_4, L_9);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(L_5), (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC*)L_9);
// for (int i = 0; i < _gridGraphs.Length; i++) gg[i] = _gridGraphs[i];
int32_t L_10 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_10, 1));
}
IL_0025:
{
// for (int i = 0; i < _gridGraphs.Length; i++) gg[i] = _gridGraphs[i];
int32_t L_11 = V_1;
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_12 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29;
NullCheck(L_12);
if ((((int32_t)L_11) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))
{
goto IL_0017;
}
}
{
// _gridGraphs = gg;
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_13 = V_0;
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29 = L_13;
Il2CppCodeGenWriteBarrier((void**)(&((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29), (void*)L_13);
}
IL_0035:
{
// _gridGraphs[graphIndex] = graph;
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_14 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29;
int32_t L_15 = ___0_graphIndex;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_16 = ___1_graph;
NullCheck(L_14);
ArrayElementTypeCheck (L_14, L_16);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(L_15), (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC*)L_16);
// }
return;
}
}
// System.Void Pathfinding.GridNode::ClearGridGraph(System.Int32,Pathfinding.GridGraph)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_ClearGridGraph_m0A229F6C68B33836893E6651D200179D83833A42 (int32_t ___0_graphIndex, GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* ___1_graph, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// if (graphIndex < _gridGraphs.Length && _gridGraphs[graphIndex] == graph) {
int32_t L_0 = ___0_graphIndex;
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_1 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29;
NullCheck(L_1);
if ((((int32_t)L_0) >= ((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))))
{
goto IL_001c;
}
}
{
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_2 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29;
int32_t L_3 = ___0_graphIndex;
NullCheck(L_2);
int32_t L_4 = L_3;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_6 = ___1_graph;
if ((!(((RuntimeObject*)(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC*)L_5) == ((RuntimeObject*)(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC*)L_6))))
{
goto IL_001c;
}
}
{
// _gridGraphs[graphIndex] = null;
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_7 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29;
int32_t L_8 = ___0_graphIndex;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, NULL);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(L_8), (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC*)NULL);
}
IL_001c:
{
// }
return;
}
}
// System.UInt16 Pathfinding.GridNode::get_InternalGridFlags()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint16_t GridNode_get_InternalGridFlags_m3524F7385C1A53C7D7FA6107D48BF8638399C907 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, const RuntimeMethod* method)
{
{
// get { return gridFlags; }
uint16_t L_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27;
return L_0;
}
}
// System.Void Pathfinding.GridNode::set_InternalGridFlags(System.UInt16)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_set_InternalGridFlags_mEE0677F633B5C026AC01444076514579FB25463D (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, uint16_t ___0_value, const RuntimeMethod* method)
{
{
// set { gridFlags = value; }
uint16_t L_0 = ___0_value;
((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27 = L_0;
// set { gridFlags = value; }
return;
}
}
// System.Boolean Pathfinding.GridNode::get_HasConnectionsToAllEightNeighbours()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNode_get_HasConnectionsToAllEightNeighbours_m95F8C6A9299DAC9E32DEE239C7B3A6AF9C718A1D (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, const RuntimeMethod* method)
{
{
// return (InternalGridFlags & GridFlagsConnectionMask) == GridFlagsConnectionMask;
uint16_t L_0;
L_0 = GridNode_get_InternalGridFlags_m3524F7385C1A53C7D7FA6107D48BF8638399C907_inline(__this, NULL);
return (bool)((((int32_t)((int32_t)((int32_t)L_0&((int32_t)255)))) == ((int32_t)((int32_t)255)))? 1 : 0);
}
}
// System.Boolean Pathfinding.GridNode::HasConnectionInDirection(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_dir, const RuntimeMethod* method)
{
{
// return (gridFlags >> dir & GridFlagsConnectionBit0) != 0;
uint16_t L_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27;
int32_t L_1 = ___0_dir;
return (bool)((!(((uint32_t)((int32_t)(((int32_t)((int32_t)L_0>>((int32_t)(L_1&((int32_t)31)))))&1))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Boolean Pathfinding.GridNode::GetConnectionInternal(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNode_GetConnectionInternal_mEC0EF0ECEB7F77D419FFE52064E1303B8C04C04C (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_dir, const RuntimeMethod* method)
{
{
// return HasConnectionInDirection(dir);
int32_t L_0 = ___0_dir;
bool L_1;
L_1 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(__this, L_0, NULL);
return L_1;
}
}
// System.Void Pathfinding.GridNode::SetConnectionInternal(System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_SetConnectionInternal_mA9FEC910BFD91692F42444F30F46EB4931D9AB0F (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_dir, bool ___1_value, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
uint16_t G_B2_0 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B2_1 = NULL;
uint16_t G_B1_0 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B1_1 = NULL;
int32_t G_B3_0 = 0;
uint16_t G_B3_1 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B3_2 = NULL;
{
// unchecked { gridFlags = (ushort)(gridFlags & ~((ushort)1 << GridFlagsConnectionOffset << dir) | (value ? (ushort)1 : (ushort)0) << GridFlagsConnectionOffset << dir); }
uint16_t L_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27;
int32_t L_1 = ___0_dir;
bool L_2 = ___1_value;
G_B1_0 = ((uint16_t)(((int32_t)((int32_t)L_0&((~((int32_t)(1<<((int32_t)(L_1&((int32_t)31)))))))))));
G_B1_1 = __this;
if (L_2)
{
G_B2_0 = ((uint16_t)(((int32_t)((int32_t)L_0&((~((int32_t)(1<<((int32_t)(L_1&((int32_t)31)))))))))));
G_B2_1 = __this;
goto IL_0015;
}
}
{
G_B3_0 = 0;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
goto IL_0016;
}
IL_0015:
{
G_B3_0 = 1;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
}
IL_0016:
{
int32_t L_3 = ___0_dir;
NullCheck(G_B3_2);
((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)G_B3_2)->___gridFlags_27 = (uint16_t)((int32_t)(uint16_t)((int32_t)((int32_t)G_B3_1|((int32_t)(G_B3_0<<((int32_t)(L_3&((int32_t)31))))))));
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_4 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_4);
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_5 = L_4->___hierarchicalGraph_50;
NullCheck(L_5);
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_5, __this, NULL);
// }
return;
}
}
// System.Void Pathfinding.GridNode::SetAllConnectionInternal(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_SetAllConnectionInternal_m8A95E28BBAC42AE397037E8457BC5D76C67AF43B (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_connections, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// unchecked { gridFlags = (ushort)((gridFlags & ~GridFlagsConnectionMask) | (connections << GridFlagsConnectionOffset)); }
uint16_t L_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27;
int32_t L_1 = ___0_connections;
((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27 = (uint16_t)((int32_t)(uint16_t)((int32_t)(((int32_t)((int32_t)L_0&((int32_t)-256)))|L_1)));
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_2 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_2);
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_3 = L_2->___hierarchicalGraph_50;
NullCheck(L_3);
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_3, __this, NULL);
// }
return;
}
}
// System.Void Pathfinding.GridNode::ResetConnectionsInternal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_ResetConnectionsInternal_mC19D8936C87C2DFA436B5373F2A37DB50FBD3B1D (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// gridFlags = (ushort)(gridFlags & ~GridFlagsConnectionMask);
uint16_t L_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27;
((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27 = (uint16_t)((int32_t)(uint16_t)((int32_t)((int32_t)L_0&((int32_t)-256))));
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_1 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_1);
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_2 = L_1->___hierarchicalGraph_50;
NullCheck(L_2);
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_2, __this, NULL);
// }
return;
}
}
// System.Boolean Pathfinding.GridNode::get_EdgeNode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNode_get_EdgeNode_m48794BCE0D4C526953754CF9D4BDCDB4F1569D0C (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, const RuntimeMethod* method)
{
{
// return (gridFlags & GridFlagsEdgeNodeMask) != 0;
uint16_t L_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27;
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&((int32_t)1024)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Void Pathfinding.GridNode::set_EdgeNode(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_set_EdgeNode_m2962C60F0570280645E876D6BDA4570114EA013C (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, bool ___0_value, const RuntimeMethod* method)
{
uint16_t G_B2_0 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B2_1 = NULL;
uint16_t G_B1_0 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B1_1 = NULL;
int32_t G_B3_0 = 0;
uint16_t G_B3_1 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B3_2 = NULL;
{
// unchecked { gridFlags = (ushort)(gridFlags & ~GridFlagsEdgeNodeMask | (value ? GridFlagsEdgeNodeMask : 0)); }
uint16_t L_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27;
bool L_1 = ___0_value;
G_B1_0 = ((uint16_t)(((int32_t)((int32_t)L_0&((int32_t)-1025)))));
G_B1_1 = __this;
if (L_1)
{
G_B2_0 = ((uint16_t)(((int32_t)((int32_t)L_0&((int32_t)-1025)))));
G_B2_1 = __this;
goto IL_0013;
}
}
{
G_B3_0 = 0;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
goto IL_0018;
}
IL_0013:
{
G_B3_0 = ((int32_t)1024);
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
}
IL_0018:
{
NullCheck(G_B3_2);
((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)G_B3_2)->___gridFlags_27 = (uint16_t)((int32_t)(uint16_t)((int32_t)((int32_t)G_B3_1|G_B3_0)));
// }
return;
}
}
// Pathfinding.GridNodeBase Pathfinding.GridNode::GetNeighbourAlongDirection(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* GridNode_GetNeighbourAlongDirection_m3E3E0179C20EA1EF8575D7F3CCEF9FF06342559C (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_direction, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* V_0 = NULL;
{
// if (HasConnectionInDirection(direction)) {
int32_t L_0 = ___0_direction;
bool L_1;
L_1 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(__this, L_0, NULL);
if (!L_1)
{
goto IL_002c;
}
}
{
// GridGraph gg = GetGridGraph(GraphIndex);
uint32_t L_2;
L_2 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_3;
L_3 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_2, NULL);
V_0 = L_3;
// return gg.nodes[NodeInGridIndex+gg.neighbourOffsets[direction]];
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_4 = V_0;
NullCheck(L_4);
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_5 = L_4->___nodes_48;
int32_t L_6;
L_6 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_7 = V_0;
NullCheck(L_7);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = L_7->___neighbourOffsets_42;
int32_t L_9 = ___0_direction;
NullCheck(L_8);
int32_t L_10 = L_9;
int32_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
NullCheck(L_5);
int32_t L_12 = ((int32_t)il2cpp_codegen_add(L_6, L_11));
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_13 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
return L_13;
}
IL_002c:
{
// return null;
return (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)NULL;
}
}
// System.Void Pathfinding.GridNode::ClearConnections(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_ClearConnections_m11F4CF83C5F074F9F0C9C5D0F909216EC6EA0DE8 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, bool ___0_alsoReverse, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_1 = NULL;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B5_0 = NULL;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B4_0 = NULL;
int32_t G_B6_0 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B6_1 = NULL;
{
// if (alsoReverse) {
bool L_0 = ___0_alsoReverse;
if (!L_0)
{
goto IL_0038;
}
}
{
// for (int i = 0; i < 8; i++) {
V_0 = 0;
goto IL_0034;
}
IL_0007:
{
// var other = GetNeighbourAlongDirection(i) as GridNode;
int32_t L_1 = V_0;
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_2;
L_2 = VirtualFuncInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, int32_t >::Invoke(21 /* Pathfinding.GridNodeBase Pathfinding.GridNodeBase::GetNeighbourAlongDirection(System.Int32) */, __this, L_1);
V_1 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)IsInstClass((RuntimeObject*)L_2, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var));
// if (other != null) {
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_3 = V_1;
if (!L_3)
{
goto IL_0030;
}
}
{
// other.SetConnectionInternal(i < 4 ? ((i + 2) % 4) : (((i-2) % 4) + 4), false);
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_4 = V_1;
int32_t L_5 = V_0;
G_B4_0 = L_4;
if ((((int32_t)L_5) < ((int32_t)4)))
{
G_B5_0 = L_4;
goto IL_0025;
}
}
{
int32_t L_6 = V_0;
G_B6_0 = ((int32_t)il2cpp_codegen_add(((int32_t)(((int32_t)il2cpp_codegen_subtract(L_6, 2))%4)), 4));
G_B6_1 = G_B4_0;
goto IL_002a;
}
IL_0025:
{
int32_t L_7 = V_0;
G_B6_0 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_7, 2))%4));
G_B6_1 = G_B5_0;
}
IL_002a:
{
NullCheck(G_B6_1);
GridNode_SetConnectionInternal_mA9FEC910BFD91692F42444F30F46EB4931D9AB0F(G_B6_1, G_B6_0, (bool)0, NULL);
}
IL_0030:
{
// for (int i = 0; i < 8; i++) {
int32_t L_8 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_8, 1));
}
IL_0034:
{
// for (int i = 0; i < 8; i++) {
int32_t L_9 = V_0;
if ((((int32_t)L_9) < ((int32_t)8)))
{
goto IL_0007;
}
}
IL_0038:
{
// ResetConnectionsInternal();
GridNode_ResetConnectionsInternal_mC19D8936C87C2DFA436B5373F2A37DB50FBD3B1D(__this, NULL);
// base.ClearConnections(alsoReverse);
bool L_10 = ___0_alsoReverse;
GridNodeBase_ClearConnections_mA4F42033728D7722B54247AF3883667A5E234CE1(__this, L_10, NULL);
// }
return;
}
}
// System.Void Pathfinding.GridNode::GetConnections(System.Action`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_GetConnections_mC0C622BEC21BD28DB546DA61139CDA3CA637E6ED (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___0_action, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_0 = NULL;
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* V_1 = NULL;
int32_t V_2 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_3 = NULL;
{
// GridGraph gg = GetGridGraph(GraphIndex);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_1;
L_1 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_0, NULL);
// int[] neighbourOffsets = gg.neighbourOffsets;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_2 = L_1;
NullCheck(L_2);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = L_2->___neighbourOffsets_42;
V_0 = L_3;
// GridNode[] nodes = gg.nodes;
NullCheck(L_2);
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_4 = L_2->___nodes_48;
V_1 = L_4;
// for (int i = 0; i < 8; i++) {
V_2 = 0;
goto IL_0040;
}
IL_001c:
{
// if (HasConnectionInDirection(i)) {
int32_t L_5 = V_2;
bool L_6;
L_6 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(__this, L_5, NULL);
if (!L_6)
{
goto IL_003c;
}
}
{
// GridNode other = nodes[NodeInGridIndex + neighbourOffsets[i]];
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_7 = V_1;
int32_t L_8;
L_8 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9 = V_0;
int32_t L_10 = V_2;
NullCheck(L_9);
int32_t L_11 = L_10;
int32_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
NullCheck(L_7);
int32_t L_13 = ((int32_t)il2cpp_codegen_add(L_8, L_12));
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_14 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
V_3 = L_14;
// if (other != null) action(other);
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_15 = V_3;
if (!L_15)
{
goto IL_003c;
}
}
{
// if (other != null) action(other);
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_16 = ___0_action;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_17 = V_3;
NullCheck(L_16);
Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline(L_16, L_17, NULL);
}
IL_003c:
{
// for (int i = 0; i < 8; i++) {
int32_t L_18 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_18, 1));
}
IL_0040:
{
// for (int i = 0; i < 8; i++) {
int32_t L_19 = V_2;
if ((((int32_t)L_19) < ((int32_t)8)))
{
goto IL_001c;
}
}
{
// base.GetConnections(action);
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_20 = ___0_action;
GridNodeBase_GetConnections_m0BF8CB883889BDF1C3230325A54061626FBF2FA5(__this, L_20, NULL);
// }
return;
}
}
// UnityEngine.Vector3 Pathfinding.GridNode::ClosestPointOnNode(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GridNode_ClosestPointOnNode_mA8224166C072566E0D7498328A3B1BA60D78967E (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
float V_3 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// var gg = GetGridGraph(GraphIndex);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_1;
L_1 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_0, NULL);
V_0 = L_1;
// p = gg.transform.InverseTransform(p);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_2 = V_0;
NullCheck(L_2);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_3;
L_3 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(L_2, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_p;
NullCheck(L_3);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_3, L_4, NULL);
___0_p = L_5;
// int x = NodeInGridIndex % gg.width;
int32_t L_6;
L_6 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_7 = V_0;
NullCheck(L_7);
int32_t L_8 = L_7->___width_13;
V_1 = ((int32_t)(L_6%L_8));
// int z = NodeInGridIndex / gg.width;
int32_t L_9;
L_9 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_10 = V_0;
NullCheck(L_10);
int32_t L_11 = L_10->___width_13;
V_2 = ((int32_t)(L_9/L_11));
// float y = gg.transform.InverseTransform((Vector3)position).y;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_12 = V_0;
NullCheck(L_12);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_13;
L_13 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(L_12, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_14 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
L_15 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_14, NULL);
NullCheck(L_13);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
L_16 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_13, L_15, NULL);
float L_17 = L_16.___y_3;
V_3 = L_17;
// var closestInGraphSpace = new Vector3(Mathf.Clamp(p.x, x, x+1f), y, Mathf.Clamp(p.z, z, z+1f));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___0_p;
float L_19 = L_18.___x_2;
int32_t L_20 = V_1;
int32_t L_21 = V_1;
float L_22;
L_22 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_19, ((float)L_20), ((float)il2cpp_codegen_add(((float)L_21), (1.0f))), NULL);
float L_23 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = ___0_p;
float L_25 = L_24.___z_4;
int32_t L_26 = V_2;
int32_t L_27 = V_2;
float L_28;
L_28 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_25, ((float)L_26), ((float)il2cpp_codegen_add(((float)L_27), (1.0f))), NULL);
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_4), L_22, L_23, L_28, NULL);
// return gg.transform.Transform(closestInGraphSpace);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_29 = V_0;
NullCheck(L_29);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_30;
L_30 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(L_29, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_4;
NullCheck(L_30);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
L_32 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_30, L_31, NULL);
return L_32;
}
}
// System.Boolean Pathfinding.GridNode::GetPortal(Pathfinding.GraphNode,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNode_GetPortal_mC236E10E1214BC196CBB7AFA7130263042338860 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_other, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_left, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___2_right, bool ___3_backwards, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* V_0 = NULL;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_1 = NULL;
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* V_2 = NULL;
int32_t V_3 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
memset((&V_4), 0, sizeof(V_4));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
memset((&V_5), 0, sizeof(V_5));
int32_t V_6 = 0;
bool V_7 = false;
bool V_8 = false;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
memset((&V_9), 0, sizeof(V_9));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
memset((&V_10), 0, sizeof(V_10));
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_11 = NULL;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_12 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B21_0;
memset((&G_B21_0), 0, sizeof(G_B21_0));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B21_1 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B20_0;
memset((&G_B20_0), 0, sizeof(G_B20_0));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B20_1 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B22_0;
memset((&G_B22_0), 0, sizeof(G_B22_0));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B22_1;
memset((&G_B22_1), 0, sizeof(G_B22_1));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B22_2 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B24_0;
memset((&G_B24_0), 0, sizeof(G_B24_0));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B24_1 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B23_0;
memset((&G_B23_0), 0, sizeof(G_B23_0));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B23_1 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B25_0;
memset((&G_B25_0), 0, sizeof(G_B25_0));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B25_1;
memset((&G_B25_1), 0, sizeof(G_B25_1));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B25_2 = NULL;
{
// if (backwards) return true;
bool L_0 = ___3_backwards;
if (!L_0)
{
goto IL_0006;
}
}
{
// if (backwards) return true;
return (bool)1;
}
IL_0006:
{
// GridGraph gg = GetGridGraph(GraphIndex);
uint32_t L_1;
L_1 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_2;
L_2 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_1, NULL);
V_0 = L_2;
// int[] neighbourOffsets = gg.neighbourOffsets;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_3 = V_0;
NullCheck(L_3);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = L_3->___neighbourOffsets_42;
V_1 = L_4;
// GridNode[] nodes = gg.nodes;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_5 = V_0;
NullCheck(L_5);
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_6 = L_5->___nodes_48;
V_2 = L_6;
// for (int i = 0; i < 4; i++) {
V_3 = 0;
goto IL_00cf;
}
IL_0027:
{
// if (HasConnectionInDirection(i) && other == nodes[NodeInGridIndex + neighbourOffsets[i]]) {
int32_t L_7 = V_3;
bool L_8;
L_8 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(__this, L_7, NULL);
if (!L_8)
{
goto IL_00cb;
}
}
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = ___0_other;
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_10 = V_2;
int32_t L_11;
L_11 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_12 = V_1;
int32_t L_13 = V_3;
NullCheck(L_12);
int32_t L_14 = L_13;
int32_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
NullCheck(L_10);
int32_t L_16 = ((int32_t)il2cpp_codegen_add(L_11, L_15));
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_17 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_9) == ((RuntimeObject*)(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)L_17))))
{
goto IL_00cb;
}
}
{
// Vector3 middle = ((Vector3)(position + other.position))*0.5f;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_18 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_19 = ___0_other;
NullCheck(L_19);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_20 = L_19->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_21;
L_21 = Int3_op_Addition_mB80493FA1BF7D5410E713B41EC744857D17D2023(L_18, L_20, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
L_22 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_21, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
L_23 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_22, (0.5f), NULL);
V_4 = L_23;
// Vector3 cross = Vector3.Cross(gg.collision.up, (Vector3)(other.position-position));
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_24 = V_0;
NullCheck(L_24);
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_25 = L_24->___collision_24;
NullCheck(L_25);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = L_25->___up_14;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_27 = ___0_other;
NullCheck(L_27);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_28 = L_27->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_29 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_30;
L_30 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_28, L_29, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
L_31 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_30, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
L_32 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_26, L_31, NULL);
V_5 = L_32;
// cross.Normalize();
Vector3_Normalize_mC749B887A4C74BA0A2E13E6377F17CCAEB0AADA8_inline((&V_5), NULL);
// cross *= gg.nodeSize*0.5f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_5;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_34 = V_0;
NullCheck(L_34);
float L_35 = L_34->___nodeSize_23;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
L_36 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_33, ((float)il2cpp_codegen_multiply(L_35, (0.5f))), NULL);
V_5 = L_36;
// left.Add(middle - cross);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_37 = ___1_left;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
L_40 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_38, L_39, NULL);
NullCheck(L_37);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_37, L_40, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// right.Add(middle + cross);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_41 = ___2_right;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = V_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
L_44 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_42, L_43, NULL);
NullCheck(L_41);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_41, L_44, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// return true;
return (bool)1;
}
IL_00cb:
{
// for (int i = 0; i < 4; i++) {
int32_t L_45 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_45, 1));
}
IL_00cf:
{
// for (int i = 0; i < 4; i++) {
int32_t L_46 = V_3;
if ((((int32_t)L_46) < ((int32_t)4)))
{
goto IL_0027;
}
}
{
// for (int i = 4; i < 8; i++) {
V_6 = 4;
goto IL_021e;
}
IL_00de:
{
// if (HasConnectionInDirection(i) && other == nodes[NodeInGridIndex + neighbourOffsets[i]]) {
int32_t L_47 = V_6;
bool L_48;
L_48 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(__this, L_47, NULL);
if (!L_48)
{
goto IL_0218;
}
}
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_49 = ___0_other;
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_50 = V_2;
int32_t L_51;
L_51 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_52 = V_1;
int32_t L_53 = V_6;
NullCheck(L_52);
int32_t L_54 = L_53;
int32_t L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
NullCheck(L_50);
int32_t L_56 = ((int32_t)il2cpp_codegen_add(L_51, L_55));
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_57 = (L_50)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_49) == ((RuntimeObject*)(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)L_57))))
{
goto IL_0218;
}
}
{
// bool rClear = false;
V_7 = (bool)0;
// bool lClear = false;
V_8 = (bool)0;
// if (HasConnectionInDirection(i-4)) {
int32_t L_58 = V_6;
bool L_59;
L_59 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(__this, ((int32_t)il2cpp_codegen_subtract(L_58, 4)), NULL);
if (!L_59)
{
goto IL_013e;
}
}
{
// GridNode n2 = nodes[NodeInGridIndex + neighbourOffsets[i-4]];
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_60 = V_2;
int32_t L_61;
L_61 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_62 = V_1;
int32_t L_63 = V_6;
NullCheck(L_62);
int32_t L_64 = ((int32_t)il2cpp_codegen_subtract(L_63, 4));
int32_t L_65 = (L_62)->GetAt(static_cast<il2cpp_array_size_t>(L_64));
NullCheck(L_60);
int32_t L_66 = ((int32_t)il2cpp_codegen_add(L_61, L_65));
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_67 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_66));
V_11 = L_67;
// if (n2.Walkable && n2.HasConnectionInDirection((i-4+1)%4)) {
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_68 = V_11;
NullCheck(L_68);
bool L_69;
L_69 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_68, NULL);
if (!L_69)
{
goto IL_013e;
}
}
{
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_70 = V_11;
int32_t L_71 = V_6;
NullCheck(L_70);
bool L_72;
L_72 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(L_70, ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_71, 4)), 1))%4)), NULL);
if (!L_72)
{
goto IL_013e;
}
}
{
// rClear = true;
V_7 = (bool)1;
}
IL_013e:
{
// if (HasConnectionInDirection((i-4+1)%4)) {
int32_t L_73 = V_6;
bool L_74;
L_74 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(__this, ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_73, 4)), 1))%4)), NULL);
if (!L_74)
{
goto IL_017c;
}
}
{
// GridNode n2 = nodes[NodeInGridIndex + neighbourOffsets[(i-4+1)%4]];
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_75 = V_2;
int32_t L_76;
L_76 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_77 = V_1;
int32_t L_78 = V_6;
NullCheck(L_77);
int32_t L_79 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_78, 4)), 1))%4));
int32_t L_80 = (L_77)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
NullCheck(L_75);
int32_t L_81 = ((int32_t)il2cpp_codegen_add(L_76, L_80));
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_82 = (L_75)->GetAt(static_cast<il2cpp_array_size_t>(L_81));
V_12 = L_82;
// if (n2.Walkable && n2.HasConnectionInDirection(i-4)) {
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_83 = V_12;
NullCheck(L_83);
bool L_84;
L_84 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_83, NULL);
if (!L_84)
{
goto IL_017c;
}
}
{
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_85 = V_12;
int32_t L_86 = V_6;
NullCheck(L_85);
bool L_87;
L_87 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(L_85, ((int32_t)il2cpp_codegen_subtract(L_86, 4)), NULL);
if (!L_87)
{
goto IL_017c;
}
}
{
// lClear = true;
V_8 = (bool)1;
}
IL_017c:
{
// Vector3 middle = ((Vector3)(position + other.position))*0.5f;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_88 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_89 = ___0_other;
NullCheck(L_89);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_90 = L_89->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_91;
L_91 = Int3_op_Addition_mB80493FA1BF7D5410E713B41EC744857D17D2023(L_88, L_90, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
L_92 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_91, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
L_93 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_92, (0.5f), NULL);
V_9 = L_93;
// Vector3 cross = Vector3.Cross(gg.collision.up, (Vector3)(other.position-position));
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_94 = V_0;
NullCheck(L_94);
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_95 = L_94->___collision_24;
NullCheck(L_95);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96 = L_95->___up_14;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_97 = ___0_other;
NullCheck(L_97);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_98 = L_97->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_99 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_100;
L_100 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_98, L_99, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
L_101 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_100, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102;
L_102 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_96, L_101, NULL);
V_10 = L_102;
// cross.Normalize();
Vector3_Normalize_mC749B887A4C74BA0A2E13E6377F17CCAEB0AADA8_inline((&V_10), NULL);
// cross *= gg.nodeSize*1.4142f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103 = V_10;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_104 = V_0;
NullCheck(L_104);
float L_105 = L_104->___nodeSize_23;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_106;
L_106 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_103, ((float)il2cpp_codegen_multiply(L_105, (1.41419995f))), NULL);
V_10 = L_106;
// left.Add(middle - (lClear ? cross : Vector3.zero));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_107 = ___1_left;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108 = V_9;
bool L_109 = V_8;
G_B20_0 = L_108;
G_B20_1 = L_107;
if (L_109)
{
G_B21_0 = L_108;
G_B21_1 = L_107;
goto IL_01f0;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110;
L_110 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
G_B22_0 = L_110;
G_B22_1 = G_B20_0;
G_B22_2 = G_B20_1;
goto IL_01f2;
}
IL_01f0:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111 = V_10;
G_B22_0 = L_111;
G_B22_1 = G_B21_0;
G_B22_2 = G_B21_1;
}
IL_01f2:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112;
L_112 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(G_B22_1, G_B22_0, NULL);
NullCheck(G_B22_2);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(G_B22_2, L_112, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// right.Add(middle + (rClear ? cross : Vector3.zero));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_113 = ___2_right;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114 = V_9;
bool L_115 = V_7;
G_B23_0 = L_114;
G_B23_1 = L_113;
if (L_115)
{
G_B24_0 = L_114;
G_B24_1 = L_113;
goto IL_020a;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116;
L_116 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
G_B25_0 = L_116;
G_B25_1 = G_B23_0;
G_B25_2 = G_B23_1;
goto IL_020c;
}
IL_020a:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117 = V_10;
G_B25_0 = L_117;
G_B25_1 = G_B24_0;
G_B25_2 = G_B24_1;
}
IL_020c:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118;
L_118 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B25_1, G_B25_0, NULL);
NullCheck(G_B25_2);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(G_B25_2, L_118, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// return true;
return (bool)1;
}
IL_0218:
{
// for (int i = 4; i < 8; i++) {
int32_t L_119 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_119, 1));
}
IL_021e:
{
// for (int i = 4; i < 8; i++) {
int32_t L_120 = V_6;
if ((((int32_t)L_120) < ((int32_t)8)))
{
goto IL_00de;
}
}
{
// return false;
return (bool)0;
}
}
// System.Void Pathfinding.GridNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_UpdateRecursiveG_mD5816BB1CDF7573B6FF5CCCFE48E20BBF891ADF0 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_0 = NULL;
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* V_1 = NULL;
uint16_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_5 = NULL;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_6 = NULL;
{
// GridGraph gg = GetGridGraph(GraphIndex);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_1;
L_1 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_0, NULL);
// int[] neighbourOffsets = gg.neighbourOffsets;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_2 = L_1;
NullCheck(L_2);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = L_2->___neighbourOffsets_42;
V_0 = L_3;
// GridNode[] nodes = gg.nodes;
NullCheck(L_2);
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_4 = L_2->___nodes_48;
V_1 = L_4;
// pathNode.UpdateG(path);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_5 = ___1_pathNode;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_6 = ___0_path;
NullCheck(L_5);
PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86(L_5, L_6, NULL);
// handler.heap.Add(pathNode);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_7 = ___2_handler;
NullCheck(L_7);
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_8 = L_7->___heap_3;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_9 = ___1_pathNode;
NullCheck(L_8);
BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4(L_8, L_9, NULL);
// ushort pid = handler.PathID;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_10 = ___2_handler;
NullCheck(L_10);
uint16_t L_11;
L_11 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_10, NULL);
V_2 = L_11;
// var index = NodeInGridIndex;
int32_t L_12;
L_12 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
V_3 = L_12;
// for (int i = 0; i < 8; i++) {
V_4 = 0;
goto IL_0081;
}
IL_003e:
{
// if (HasConnectionInDirection(i)) {
int32_t L_13 = V_4;
bool L_14;
L_14 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(__this, L_13, NULL);
if (!L_14)
{
goto IL_007b;
}
}
{
// GridNode other = nodes[index + neighbourOffsets[i]];
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_15 = V_1;
int32_t L_16 = V_3;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_17 = V_0;
int32_t L_18 = V_4;
NullCheck(L_17);
int32_t L_19 = L_18;
int32_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck(L_15);
int32_t L_21 = ((int32_t)il2cpp_codegen_add(L_16, L_20));
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_22 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
V_5 = L_22;
// PathNode otherPN = handler.GetPathNode(other);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_23 = ___2_handler;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_24 = V_5;
NullCheck(L_23);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_25;
L_25 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_23, L_24, NULL);
V_6 = L_25;
// if (otherPN.parent == pathNode && otherPN.pathID == pid) other.UpdateRecursiveG(path, otherPN, handler);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_26 = V_6;
NullCheck(L_26);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_27 = L_26->___parent_1;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_28 = ___1_pathNode;
if ((!(((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_27) == ((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_28))))
{
goto IL_007b;
}
}
{
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_29 = V_6;
NullCheck(L_29);
uint16_t L_30 = L_29->___pathID_2;
uint16_t L_31 = V_2;
if ((!(((uint32_t)L_30) == ((uint32_t)L_31))))
{
goto IL_007b;
}
}
{
// if (otherPN.parent == pathNode && otherPN.pathID == pid) other.UpdateRecursiveG(path, otherPN, handler);
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_32 = V_5;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_33 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_34 = V_6;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_35 = ___2_handler;
NullCheck(L_32);
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_32, L_33, L_34, L_35);
}
IL_007b:
{
// for (int i = 0; i < 8; i++) {
int32_t L_36 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_36, 1));
}
IL_0081:
{
// for (int i = 0; i < 8; i++) {
int32_t L_37 = V_4;
if ((((int32_t)L_37) < ((int32_t)8)))
{
goto IL_003e;
}
}
{
// base.UpdateRecursiveG(path, pathNode, handler);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_38 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_39 = ___1_pathNode;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_40 = ___2_handler;
GridNodeBase_UpdateRecursiveG_m9A6A671A018051290B12490C5CB53A83C67DCA0B(__this, L_38, L_39, L_40, NULL);
// }
return;
}
}
// System.Void Pathfinding.GridNode::Open(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_Open_mDB897F252A716107EB496FE8348C0FC031C1B5E5 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
uint16_t V_0 = 0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_1 = NULL;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* V_2 = NULL;
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_6 = NULL;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_7 = NULL;
uint32_t V_8 = 0;
{
// GridGraph gg = GetGridGraph(GraphIndex);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_1;
L_1 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_0, NULL);
// ushort pid = handler.PathID;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_2 = ___2_handler;
NullCheck(L_2);
uint16_t L_3;
L_3 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_2, NULL);
V_0 = L_3;
// int[] neighbourOffsets = gg.neighbourOffsets;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_4 = L_1;
NullCheck(L_4);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_5 = L_4->___neighbourOffsets_42;
V_1 = L_5;
// uint[] neighbourCosts = gg.neighbourCosts;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_6 = L_4;
NullCheck(L_6);
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_7 = L_6->___neighbourCosts_43;
V_2 = L_7;
// GridNode[] nodes = gg.nodes;
NullCheck(L_6);
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_8 = L_6->___nodes_48;
V_3 = L_8;
// var index = NodeInGridIndex;
int32_t L_9;
L_9 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
V_4 = L_9;
// for (int i = 0; i < 8; i++) {
V_5 = 0;
goto IL_00f1;
}
IL_0036:
{
// if (HasConnectionInDirection(i)) {
int32_t L_10 = V_5;
bool L_11;
L_11 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(__this, L_10, NULL);
if (!L_11)
{
goto IL_00eb;
}
}
{
// GridNode other = nodes[index + neighbourOffsets[i]];
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_12 = V_3;
int32_t L_13 = V_4;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_14 = V_1;
int32_t L_15 = V_5;
NullCheck(L_14);
int32_t L_16 = L_15;
int32_t L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
NullCheck(L_12);
int32_t L_18 = ((int32_t)il2cpp_codegen_add(L_13, L_17));
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_19 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
V_6 = L_19;
// if (!path.CanTraverse(other)) continue;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_20 = ___0_path;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_21 = V_6;
NullCheck(L_20);
bool L_22;
L_22 = Path_CanTraverse_m6591EBB82B68115ECC6D103EBF00414BDDC0A308(L_20, L_21, NULL);
if (!L_22)
{
goto IL_00eb;
}
}
{
// PathNode otherPN = handler.GetPathNode(other);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_23 = ___2_handler;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_24 = V_6;
NullCheck(L_23);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_25;
L_25 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_23, L_24, NULL);
V_7 = L_25;
// uint tmpCost = neighbourCosts[i];
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_26 = V_2;
int32_t L_27 = V_5;
NullCheck(L_26);
int32_t L_28 = L_27;
uint32_t L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
V_8 = L_29;
// if (otherPN.pathID != pid) {
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_30 = V_7;
NullCheck(L_30);
uint16_t L_31 = L_30->___pathID_2;
uint16_t L_32 = V_0;
if ((((int32_t)L_31) == ((int32_t)L_32)))
{
goto IL_00b4;
}
}
{
// otherPN.parent = pathNode;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_33 = V_7;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_34 = ___1_pathNode;
NullCheck(L_33);
L_33->___parent_1 = L_34;
Il2CppCodeGenWriteBarrier((void**)(&L_33->___parent_1), (void*)L_34);
// otherPN.pathID = pid;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_35 = V_7;
uint16_t L_36 = V_0;
NullCheck(L_35);
L_35->___pathID_2 = L_36;
// otherPN.cost = tmpCost;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_37 = V_7;
uint32_t L_38 = V_8;
NullCheck(L_37);
PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B(L_37, L_38, NULL);
// otherPN.H = path.CalculateHScore(other);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_39 = V_7;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_40 = ___0_path;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_41 = V_6;
NullCheck(L_40);
uint32_t L_42;
L_42 = Path_CalculateHScore_m2DC595B3B0268A737F8E956819C3F14C5663BD13(L_40, L_41, NULL);
NullCheck(L_39);
PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138_inline(L_39, L_42, NULL);
// otherPN.UpdateG(path);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_43 = V_7;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_44 = ___0_path;
NullCheck(L_43);
PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86(L_43, L_44, NULL);
// handler.heap.Add(otherPN);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_45 = ___2_handler;
NullCheck(L_45);
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_46 = L_45->___heap_3;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_47 = V_7;
NullCheck(L_46);
BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4(L_46, L_47, NULL);
goto IL_00eb;
}
IL_00b4:
{
// if (pathNode.G+tmpCost+path.GetTraversalCost(other) < otherPN.G)
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_48 = ___1_pathNode;
NullCheck(L_48);
uint32_t L_49;
L_49 = PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline(L_48, NULL);
uint32_t L_50 = V_8;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_51 = ___0_path;
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_52 = V_6;
NullCheck(L_51);
uint32_t L_53;
L_53 = Path_GetTraversalCost_mC9C3D703DF4EB5AF7B3B8C61CD7F952063E4D1B1(L_51, L_52, NULL);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_54 = V_7;
NullCheck(L_54);
uint32_t L_55;
L_55 = PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline(L_54, NULL);
if ((!(((uint32_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)L_50)), (int32_t)L_53))) < ((uint32_t)L_55))))
{
goto IL_00eb;
}
}
{
// otherPN.cost = tmpCost;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_56 = V_7;
uint32_t L_57 = V_8;
NullCheck(L_56);
PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B(L_56, L_57, NULL);
// otherPN.parent = pathNode;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_58 = V_7;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_59 = ___1_pathNode;
NullCheck(L_58);
L_58->___parent_1 = L_59;
Il2CppCodeGenWriteBarrier((void**)(&L_58->___parent_1), (void*)L_59);
// other.UpdateRecursiveG(path, otherPN, handler);
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_60 = V_6;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_61 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_62 = V_7;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_63 = ___2_handler;
NullCheck(L_60);
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_60, L_61, L_62, L_63);
}
IL_00eb:
{
// for (int i = 0; i < 8; i++) {
int32_t L_64 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_64, 1));
}
IL_00f1:
{
// for (int i = 0; i < 8; i++) {
int32_t L_65 = V_5;
if ((((int32_t)L_65) < ((int32_t)8)))
{
goto IL_0036;
}
}
{
// base.Open(path, pathNode, handler);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_66 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_67 = ___1_pathNode;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_68 = ___2_handler;
GridNodeBase_Open_m8824BB69E414CF970E5880F713C28A0199E233A5(__this, L_66, L_67, L_68, NULL);
// }
return;
}
}
// System.Void Pathfinding.GridNode::SerializeNode(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_SerializeNode_mA9BE957A2BDE5EFF1C1E85335CE1D3349E2E4478 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
{
// base.SerializeNode(ctx);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
GraphNode_SerializeNode_mD33B9C61E7205A8A098807428025CF2FF4626DDA(__this, L_0, NULL);
// ctx.SerializeInt3(position);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
NullCheck(L_1);
GraphSerializationContext_SerializeInt3_m1F740467D95784EF5AA89024FC8C133FCC7799E4(L_1, L_2, NULL);
// ctx.writer.Write(gridFlags);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
NullCheck(L_3);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_4 = L_3->___writer_2;
uint16_t L_5 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27;
NullCheck(L_4);
VirtualActionInvoker1< uint16_t >::Invoke(17 /* System.Void System.IO.BinaryWriter::Write(System.UInt16) */, L_4, L_5);
// }
return;
}
}
// System.Void Pathfinding.GridNode::DeserializeNode(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_DeserializeNode_mC7EE51D9E98B6CE5E532AC7575B4999260E31969 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
{
// base.DeserializeNode(ctx);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
GraphNode_DeserializeNode_mE353ED15276B00A0A798066891B1FF38B91EF1CA(__this, L_0, NULL);
// position = ctx.DeserializeInt3();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
NullCheck(L_1);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2;
L_2 = GraphSerializationContext_DeserializeInt3_m7B3A252F1DD5E434B6B3D822CC076C5C8DC5F27F(L_1, NULL);
((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7 = L_2;
// gridFlags = ctx.reader.ReadUInt16();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
NullCheck(L_3);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_4 = L_3->___reader_1;
NullCheck(L_4);
uint16_t L_5;
L_5 = VirtualFuncInvoker0< uint16_t >::Invoke(14 /* System.UInt16 System.IO.BinaryReader::ReadUInt16() */, L_4);
((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27 = L_5;
// }
return;
}
}
// System.Void Pathfinding.GridNode::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode__cctor_m9B26F9F5C2898E642C488B83E4E827AF4CD1D092 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// private static GridGraph[] _gridGraphs = new GridGraph[0];
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* L_0 = (GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D*)(GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D*)SZArrayNew(GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D_il2cpp_TypeInfo_var, (uint32_t)0);
((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields*)il2cpp_codegen_static_fields_for(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var))->____gridGraphs_29), (void*)L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.GridNodeBase::.ctor(AstarPath)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase__ctor_mDB14DC291FE98CC186B06C9A377F924B9BE05F1C (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method)
{
{
// protected GridNodeBase (AstarPath astar) : base(astar) {
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ___0_astar;
GraphNode__ctor_m962B0F8CB16339D10AD78273E651373A10B3ACC2(__this, L_0, NULL);
// }
return;
}
}
// System.Int32 Pathfinding.GridNodeBase::get_NodeInGridIndex()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method)
{
{
// public int NodeInGridIndex { get { return nodeInGridIndex & NodeInGridIndexMask; } set { nodeInGridIndex = (nodeInGridIndex & ~NodeInGridIndexMask) | value; } }
int32_t L_0 = __this->___nodeInGridIndex_26;
return ((int32_t)(L_0&((int32_t)16777215)));
}
}
// System.Void Pathfinding.GridNodeBase::set_NodeInGridIndex(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_set_NodeInGridIndex_m80DEAF4A350036BF760A8809418A070CFDD9F368 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, int32_t ___0_value, const RuntimeMethod* method)
{
{
// public int NodeInGridIndex { get { return nodeInGridIndex & NodeInGridIndexMask; } set { nodeInGridIndex = (nodeInGridIndex & ~NodeInGridIndexMask) | value; } }
int32_t L_0 = __this->___nodeInGridIndex_26;
int32_t L_1 = ___0_value;
__this->___nodeInGridIndex_26 = ((int32_t)(((int32_t)(L_0&((int32_t)-16777216)))|L_1));
// public int NodeInGridIndex { get { return nodeInGridIndex & NodeInGridIndexMask; } set { nodeInGridIndex = (nodeInGridIndex & ~NodeInGridIndexMask) | value; } }
return;
}
}
// System.Int32 Pathfinding.GridNodeBase::get_XCoordinateInGrid()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridNodeBase_get_XCoordinateInGrid_m04C635EDF95D5B9B5EB79102FF0058A347B0A0D9 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// return NodeInGridIndex % GridNode.GetGridGraph(GraphIndex).width;
int32_t L_0;
L_0 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
uint32_t L_1;
L_1 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_2;
L_2 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_1, NULL);
NullCheck(L_2);
int32_t L_3 = L_2->___width_13;
return ((int32_t)(L_0%L_3));
}
}
// System.Int32 Pathfinding.GridNodeBase::get_ZCoordinateInGrid()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridNodeBase_get_ZCoordinateInGrid_mE095CC84E83924713E966E9CB4785300A03376EA (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// return NodeInGridIndex / GridNode.GetGridGraph(GraphIndex).width;
int32_t L_0;
L_0 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(__this, NULL);
uint32_t L_1;
L_1 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_2;
L_2 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_1, NULL);
NullCheck(L_2);
int32_t L_3 = L_2->___width_13;
return ((int32_t)(L_0/L_3));
}
}
// System.Boolean Pathfinding.GridNodeBase::get_WalkableErosion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNodeBase_get_WalkableErosion_mC98B1993EE9F2DACEDA550A423A16FD670FF33A0 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method)
{
{
// return (gridFlags & GridFlagsWalkableErosionMask) != 0;
uint16_t L_0 = __this->___gridFlags_27;
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&((int32_t)256)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Void Pathfinding.GridNodeBase::set_WalkableErosion(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_set_WalkableErosion_m7C0B98F5A3A6D09B9B407975295E468D6D5BC699 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, bool ___0_value, const RuntimeMethod* method)
{
uint16_t G_B2_0 = 0;
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* G_B2_1 = NULL;
uint16_t G_B1_0 = 0;
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* G_B1_1 = NULL;
int32_t G_B3_0 = 0;
uint16_t G_B3_1 = 0;
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* G_B3_2 = NULL;
{
// unchecked { gridFlags = (ushort)(gridFlags & ~GridFlagsWalkableErosionMask | (value ? (ushort)GridFlagsWalkableErosionMask : (ushort)0)); }
uint16_t L_0 = __this->___gridFlags_27;
bool L_1 = ___0_value;
G_B1_0 = ((uint16_t)(((int32_t)((int32_t)L_0&((int32_t)-257)))));
G_B1_1 = __this;
if (L_1)
{
G_B2_0 = ((uint16_t)(((int32_t)((int32_t)L_0&((int32_t)-257)))));
G_B2_1 = __this;
goto IL_0013;
}
}
{
G_B3_0 = 0;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
goto IL_0018;
}
IL_0013:
{
G_B3_0 = ((int32_t)256);
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
}
IL_0018:
{
NullCheck(G_B3_2);
G_B3_2->___gridFlags_27 = (uint16_t)((int32_t)(uint16_t)((int32_t)((int32_t)G_B3_1|G_B3_0)));
// }
return;
}
}
// System.Boolean Pathfinding.GridNodeBase::get_TmpWalkable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNodeBase_get_TmpWalkable_mF3F059C26379774B1034E55D2595B2B8DC2D396B (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method)
{
{
// return (gridFlags & GridFlagsWalkableTmpMask) != 0;
uint16_t L_0 = __this->___gridFlags_27;
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&((int32_t)512)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Void Pathfinding.GridNodeBase::set_TmpWalkable(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_set_TmpWalkable_mF74EC290D2AE6C2B4CE242EBB345FBC4336A3323 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, bool ___0_value, const RuntimeMethod* method)
{
uint16_t G_B2_0 = 0;
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* G_B2_1 = NULL;
uint16_t G_B1_0 = 0;
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* G_B1_1 = NULL;
int32_t G_B3_0 = 0;
uint16_t G_B3_1 = 0;
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* G_B3_2 = NULL;
{
// unchecked { gridFlags = (ushort)(gridFlags & ~GridFlagsWalkableTmpMask | (value ? (ushort)GridFlagsWalkableTmpMask : (ushort)0)); }
uint16_t L_0 = __this->___gridFlags_27;
bool L_1 = ___0_value;
G_B1_0 = ((uint16_t)(((int32_t)((int32_t)L_0&((int32_t)-513)))));
G_B1_1 = __this;
if (L_1)
{
G_B2_0 = ((uint16_t)(((int32_t)((int32_t)L_0&((int32_t)-513)))));
G_B2_1 = __this;
goto IL_0013;
}
}
{
G_B3_0 = 0;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
goto IL_0018;
}
IL_0013:
{
G_B3_0 = ((int32_t)512);
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
}
IL_0018:
{
NullCheck(G_B3_2);
G_B3_2->___gridFlags_27 = (uint16_t)((int32_t)(uint16_t)((int32_t)((int32_t)G_B3_1|G_B3_0)));
// }
return;
}
}
// System.Single Pathfinding.GridNodeBase::SurfaceArea()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GridNodeBase_SurfaceArea_m9910AC2111A612DBCA20ABAFF83540C31EE0F244 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* V_0 = NULL;
{
// GridGraph gg = GridNode.GetGridGraph(GraphIndex);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_1;
L_1 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_0, NULL);
V_0 = L_1;
// return gg.nodeSize*gg.nodeSize;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_2 = V_0;
NullCheck(L_2);
float L_3 = L_2->___nodeSize_23;
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_4 = V_0;
NullCheck(L_4);
float L_5 = L_4->___nodeSize_23;
return ((float)il2cpp_codegen_multiply(L_3, L_5));
}
}
// UnityEngine.Vector3 Pathfinding.GridNodeBase::RandomPointOnSurface()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GridNodeBase_RandomPointOnSurface_m8335C4FCA7A197B93689D351087BFAE677D7086C (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// GridGraph gg = GridNode.GetGridGraph(GraphIndex);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_1;
L_1 = GridNode_GetGridGraph_m4A218C251AAC87C84D18AECE1AC56147E0B5EB35(L_0, NULL);
// var graphSpacePosition = gg.transform.InverseTransform((Vector3)position);
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_2 = L_1;
NullCheck(L_2);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_3;
L_3 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(L_2, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_4, NULL);
NullCheck(L_3);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_3, L_5, NULL);
V_0 = L_6;
// return gg.transform.Transform(graphSpacePosition + new Vector3(Random.value - 0.5f, 0, Random.value - 0.5f));
NullCheck(L_2);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_7;
L_7 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(L_2, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_0;
float L_9;
L_9 = Random_get_value_m2CEA87FADF5222EF9E13D32695F15E2BA282E24B(NULL);
float L_10;
L_10 = Random_get_value_m2CEA87FADF5222EF9E13D32695F15E2BA282E24B(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
memset((&L_11), 0, sizeof(L_11));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_11), ((float)il2cpp_codegen_subtract(L_9, (0.5f))), (0.0f), ((float)il2cpp_codegen_subtract(L_10, (0.5f))), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_8, L_11, NULL);
NullCheck(L_7);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
L_13 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_7, L_12, NULL);
return L_13;
}
}
// System.Int32 Pathfinding.GridNodeBase::GetGizmoHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridNodeBase_GetGizmoHashCode_m38D48C5AF2C92ADF5F2E27B53BE9459EB8DF111E (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// var hash = base.GetGizmoHashCode();
int32_t L_0;
L_0 = GraphNode_GetGizmoHashCode_m4F6FBDB8048E7493E8FCE4CF3B800DA49DAAA686(__this, NULL);
V_0 = L_0;
// if (connections != null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_28;
if (!L_1)
{
goto IL_003f;
}
}
{
// for (int i = 0; i < connections.Length; i++) {
V_1 = 0;
goto IL_0034;
}
IL_0013:
{
// hash ^= 17 * connections[i].GetHashCode();
int32_t L_2 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->___connections_28;
int32_t L_4 = V_1;
NullCheck(L_3);
int32_t L_5;
L_5 = Connection_GetHashCode_m1B33710893D1443A103B25749ED833D3830ECCA2(((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4))), NULL);
V_0 = ((int32_t)(L_2^((int32_t)il2cpp_codegen_multiply(((int32_t)17), L_5))));
// for (int i = 0; i < connections.Length; i++) {
int32_t L_6 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_6, 1));
}
IL_0034:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_7 = V_1;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_8 = __this->___connections_28;
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
{
goto IL_0013;
}
}
IL_003f:
{
// hash ^= 109 * gridFlags;
int32_t L_9 = V_0;
uint16_t L_10 = __this->___gridFlags_27;
V_0 = ((int32_t)(L_9^((int32_t)il2cpp_codegen_multiply(((int32_t)109), (int32_t)L_10))));
// return hash;
int32_t L_11 = V_0;
return L_11;
}
}
// System.Boolean Pathfinding.GridNodeBase::ContainsConnection(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNodeBase_ContainsConnection_m2D691D98EAEA8FA4BB4DB197020506F8C3E3882F (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// if (connections != null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_28;
if (!L_0)
{
goto IL_0031;
}
}
{
// for (int i = 0; i < connections.Length; i++) {
V_0 = 0;
goto IL_0026;
}
IL_000c:
{
// if (connections[i].node == node) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_28;
int32_t L_2 = V_0;
NullCheck(L_1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___node_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_node;
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_3) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_4))))
{
goto IL_0022;
}
}
{
// return true;
return (bool)1;
}
IL_0022:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_5 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
}
IL_0026:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_6 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_28;
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
{
goto IL_000c;
}
}
IL_0031:
{
// for (int i = 0; i < 8; i++) {
V_1 = 0;
goto IL_0045;
}
IL_0035:
{
// if (node == GetNeighbourAlongDirection(i)) {
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_8 = ___0_node;
int32_t L_9 = V_1;
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_10;
L_10 = VirtualFuncInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, int32_t >::Invoke(21 /* Pathfinding.GridNodeBase Pathfinding.GridNodeBase::GetNeighbourAlongDirection(System.Int32) */, __this, L_9);
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_8) == ((RuntimeObject*)(GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)L_10))))
{
goto IL_0041;
}
}
{
// return true;
return (bool)1;
}
IL_0041:
{
// for (int i = 0; i < 8; i++) {
int32_t L_11 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_11, 1));
}
IL_0045:
{
// for (int i = 0; i < 8; i++) {
int32_t L_12 = V_1;
if ((((int32_t)L_12) < ((int32_t)8)))
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
}
// System.Void Pathfinding.GridNodeBase::ClearCustomConnections(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_ClearCustomConnections_mDEFE7C5C9365D28C7ACF91DDA765F4E0D1C5B12D (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, bool ___0_alsoReverse, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) connections[i].node.RemoveConnection(this);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_28;
if (!L_0)
{
goto IL_0032;
}
}
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) connections[i].node.RemoveConnection(this);
V_0 = 0;
goto IL_0027;
}
IL_000c:
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) connections[i].node.RemoveConnection(this);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_28;
int32_t L_2 = V_0;
NullCheck(L_1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___node_0;
NullCheck(L_3);
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(7 /* System.Void Pathfinding.GraphNode::RemoveConnection(Pathfinding.GraphNode) */, L_3, __this);
// if (connections != null) for (int i = 0; i < connections.Length; i++) connections[i].node.RemoveConnection(this);
int32_t L_4 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
}
IL_0027:
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) connections[i].node.RemoveConnection(this);
int32_t L_5 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_6 = __this->___connections_28;
NullCheck(L_6);
if ((((int32_t)L_5) < ((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
{
goto IL_000c;
}
}
IL_0032:
{
// connections = null;
__this->___connections_28 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_28), (void*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL);
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_7 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_7);
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_8 = L_7->___hierarchicalGraph_50;
NullCheck(L_8);
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_8, __this, NULL);
// }
return;
}
}
// System.Void Pathfinding.GridNodeBase::ClearConnections(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_ClearConnections_mA4F42033728D7722B54247AF3883667A5E234CE1 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, bool ___0_alsoReverse, const RuntimeMethod* method)
{
{
// ClearCustomConnections(alsoReverse);
bool L_0 = ___0_alsoReverse;
GridNodeBase_ClearCustomConnections_mDEFE7C5C9365D28C7ACF91DDA765F4E0D1C5B12D(__this, L_0, NULL);
// }
return;
}
}
// System.Void Pathfinding.GridNodeBase::GetConnections(System.Action`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_GetConnections_m0BF8CB883889BDF1C3230325A54061626FBF2FA5 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___0_action, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) action(connections[i].node);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_28;
if (!L_0)
{
goto IL_0032;
}
}
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) action(connections[i].node);
V_0 = 0;
goto IL_0027;
}
IL_000c:
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) action(connections[i].node);
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_1 = ___0_action;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_28;
int32_t L_3 = V_0;
NullCheck(L_2);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_3)))->___node_0;
NullCheck(L_1);
Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline(L_1, L_4, NULL);
// if (connections != null) for (int i = 0; i < connections.Length; i++) action(connections[i].node);
int32_t L_5 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
}
IL_0027:
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) action(connections[i].node);
int32_t L_6 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_28;
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
{
goto IL_000c;
}
}
IL_0032:
{
// }
return;
}
}
// System.Void Pathfinding.GridNodeBase::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_UpdateRecursiveG_m9A6A671A018051290B12490C5CB53A83C67DCA0B (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
{
uint16_t V_0 = 0;
int32_t V_1 = 0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_2 = NULL;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_3 = NULL;
{
// ushort pid = handler.PathID;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_0 = ___2_handler;
NullCheck(L_0);
uint16_t L_1;
L_1 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_0, NULL);
V_0 = L_1;
// if (connections != null) for (int i = 0; i < connections.Length; i++) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_28;
if (!L_2)
{
goto IL_0057;
}
}
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) {
V_1 = 0;
goto IL_004c;
}
IL_0013:
{
// GraphNode other = connections[i].node;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->___connections_28;
int32_t L_4 = V_1;
NullCheck(L_3);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_5 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___node_0;
V_2 = L_5;
// PathNode otherPN = handler.GetPathNode(other);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_6 = ___2_handler;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = V_2;
NullCheck(L_6);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_8;
L_8 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_6, L_7, NULL);
V_3 = L_8;
// if (otherPN.parent == pathNode && otherPN.pathID == pid) other.UpdateRecursiveG(path, otherPN, handler);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_9 = V_3;
NullCheck(L_9);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_10 = L_9->___parent_1;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_11 = ___1_pathNode;
if ((!(((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_10) == ((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_11))))
{
goto IL_0048;
}
}
{
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_12 = V_3;
NullCheck(L_12);
uint16_t L_13 = L_12->___pathID_2;
uint16_t L_14 = V_0;
if ((!(((uint32_t)L_13) == ((uint32_t)L_14))))
{
goto IL_0048;
}
}
{
// if (otherPN.parent == pathNode && otherPN.pathID == pid) other.UpdateRecursiveG(path, otherPN, handler);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_15 = V_2;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_16 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_17 = V_3;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_18 = ___2_handler;
NullCheck(L_15);
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_15, L_16, L_17, L_18);
}
IL_0048:
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) {
int32_t L_19 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_19, 1));
}
IL_004c:
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) {
int32_t L_20 = V_1;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_21 = __this->___connections_28;
NullCheck(L_21);
if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length)))))
{
goto IL_0013;
}
}
IL_0057:
{
// }
return;
}
}
// System.Void Pathfinding.GridNodeBase::Open(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_Open_m8824BB69E414CF970E5880F713C28A0199E233A5 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
{
uint16_t V_0 = 0;
int32_t V_1 = 0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_2 = NULL;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_3 = NULL;
uint32_t V_4 = 0;
{
// ushort pid = handler.PathID;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_0 = ___2_handler;
NullCheck(L_0);
uint16_t L_1;
L_1 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_0, NULL);
V_0 = L_1;
// if (connections != null) for (int i = 0; i < connections.Length; i++) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_28;
if (!L_2)
{
goto IL_00d6;
}
}
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) {
V_1 = 0;
goto IL_00c8;
}
IL_0019:
{
// GraphNode other = connections[i].node;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->___connections_28;
int32_t L_4 = V_1;
NullCheck(L_3);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_5 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___node_0;
V_2 = L_5;
// if (!path.CanTraverse(other)) continue;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_6 = ___0_path;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = V_2;
NullCheck(L_6);
bool L_8;
L_8 = Path_CanTraverse_m6591EBB82B68115ECC6D103EBF00414BDDC0A308(L_6, L_7, NULL);
if (!L_8)
{
goto IL_00c4;
}
}
{
// PathNode otherPN = handler.GetPathNode(other);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_9 = ___2_handler;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_10 = V_2;
NullCheck(L_9);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_11;
L_11 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_9, L_10, NULL);
V_3 = L_11;
// uint tmpCost = connections[i].cost;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_12 = __this->___connections_28;
int32_t L_13 = V_1;
NullCheck(L_12);
uint32_t L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___cost_1;
V_4 = L_14;
// if (otherPN.pathID != pid) {
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_15 = V_3;
NullCheck(L_15);
uint16_t L_16 = L_15->___pathID_2;
uint16_t L_17 = V_0;
if ((((int32_t)L_16) == ((int32_t)L_17)))
{
goto IL_0093;
}
}
{
// otherPN.parent = pathNode;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_18 = V_3;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_19 = ___1_pathNode;
NullCheck(L_18);
L_18->___parent_1 = L_19;
Il2CppCodeGenWriteBarrier((void**)(&L_18->___parent_1), (void*)L_19);
// otherPN.pathID = pid;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_20 = V_3;
uint16_t L_21 = V_0;
NullCheck(L_20);
L_20->___pathID_2 = L_21;
// otherPN.cost = tmpCost;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_22 = V_3;
uint32_t L_23 = V_4;
NullCheck(L_22);
PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B(L_22, L_23, NULL);
// otherPN.H = path.CalculateHScore(other);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_24 = V_3;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_25 = ___0_path;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_26 = V_2;
NullCheck(L_25);
uint32_t L_27;
L_27 = Path_CalculateHScore_m2DC595B3B0268A737F8E956819C3F14C5663BD13(L_25, L_26, NULL);
NullCheck(L_24);
PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138_inline(L_24, L_27, NULL);
// otherPN.UpdateG(path);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_28 = V_3;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_29 = ___0_path;
NullCheck(L_28);
PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86(L_28, L_29, NULL);
// handler.heap.Add(otherPN);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_30 = ___2_handler;
NullCheck(L_30);
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_31 = L_30->___heap_3;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_32 = V_3;
NullCheck(L_31);
BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4(L_31, L_32, NULL);
goto IL_00c4;
}
IL_0093:
{
// if (pathNode.G+tmpCost+path.GetTraversalCost(other) < otherPN.G)
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_33 = ___1_pathNode;
NullCheck(L_33);
uint32_t L_34;
L_34 = PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline(L_33, NULL);
uint32_t L_35 = V_4;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_36 = ___0_path;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_37 = V_2;
NullCheck(L_36);
uint32_t L_38;
L_38 = Path_GetTraversalCost_mC9C3D703DF4EB5AF7B3B8C61CD7F952063E4D1B1(L_36, L_37, NULL);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_39 = V_3;
NullCheck(L_39);
uint32_t L_40;
L_40 = PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline(L_39, NULL);
if ((!(((uint32_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)), (int32_t)L_38))) < ((uint32_t)L_40))))
{
goto IL_00c4;
}
}
{
// otherPN.cost = tmpCost;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_41 = V_3;
uint32_t L_42 = V_4;
NullCheck(L_41);
PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B(L_41, L_42, NULL);
// otherPN.parent = pathNode;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_43 = V_3;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_44 = ___1_pathNode;
NullCheck(L_43);
L_43->___parent_1 = L_44;
Il2CppCodeGenWriteBarrier((void**)(&L_43->___parent_1), (void*)L_44);
// other.UpdateRecursiveG(path, otherPN, handler);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_45 = V_2;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_46 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_47 = V_3;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_48 = ___2_handler;
NullCheck(L_45);
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_45, L_46, L_47, L_48);
}
IL_00c4:
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) {
int32_t L_49 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_49, 1));
}
IL_00c8:
{
// if (connections != null) for (int i = 0; i < connections.Length; i++) {
int32_t L_50 = V_1;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_51 = __this->___connections_28;
NullCheck(L_51);
if ((((int32_t)L_50) < ((int32_t)((int32_t)(((RuntimeArray*)L_51)->max_length)))))
{
goto IL_0019;
}
}
IL_00d6:
{
// }
return;
}
}
// System.Void Pathfinding.GridNodeBase::AddConnection(Pathfinding.GraphNode,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_AddConnection_m6C44A470EB6480E7B7986653509EFD36A3938E93 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t G_B11_0 = 0;
{
// if (node == null) throw new System.ArgumentNullException();
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
if (L_0)
{
goto IL_0009;
}
}
{
// if (node == null) throw new System.ArgumentNullException();
ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* L_1 = (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var)));
NullCheck(L_1);
ArgumentNullException__ctor_m4A0936689D360EBC545690326B4DF187196BF2B9(L_1, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&GridNodeBase_AddConnection_m6C44A470EB6480E7B7986653509EFD36A3938E93_RuntimeMethod_var)));
}
IL_0009:
{
// if (connections != null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_28;
if (!L_2)
{
goto IL_004b;
}
}
{
// for (int i = 0; i < connections.Length; i++) {
V_2 = 0;
goto IL_0040;
}
IL_0015:
{
// if (connections[i].node == node) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->___connections_28;
int32_t L_4 = V_2;
NullCheck(L_3);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_5 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___node_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_6 = ___0_node;
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_5) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_6))))
{
goto IL_003c;
}
}
{
// connections[i].cost = cost;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_28;
int32_t L_8 = V_2;
NullCheck(L_7);
uint32_t L_9 = ___1_cost;
((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->___cost_1 = L_9;
// return;
return;
}
IL_003c:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_10 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_10, 1));
}
IL_0040:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_11 = V_2;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_12 = __this->___connections_28;
NullCheck(L_12);
if ((((int32_t)L_11) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))
{
goto IL_0015;
}
}
IL_004b:
{
// int connLength = connections != null ? connections.Length : 0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_13 = __this->___connections_28;
if (L_13)
{
goto IL_0056;
}
}
{
G_B11_0 = 0;
goto IL_005e;
}
IL_0056:
{
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_14 = __this->___connections_28;
NullCheck(L_14);
G_B11_0 = ((int32_t)(((RuntimeArray*)L_14)->max_length));
}
IL_005e:
{
V_0 = G_B11_0;
// var newconns = new Connection[connLength+1];
int32_t L_15 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_16 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)SZArrayNew(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add(L_15, 1)));
V_1 = L_16;
// for (int i = 0; i < connLength; i++) {
V_3 = 0;
goto IL_0083;
}
IL_006c:
{
// newconns[i] = connections[i];
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_17 = V_1;
int32_t L_18 = V_3;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_19 = __this->___connections_28;
int32_t L_20 = V_3;
NullCheck(L_19);
int32_t L_21 = L_20;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
NullCheck(L_17);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(L_18), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_22);
// for (int i = 0; i < connLength; i++) {
int32_t L_23 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_23, 1));
}
IL_0083:
{
// for (int i = 0; i < connLength; i++) {
int32_t L_24 = V_3;
int32_t L_25 = V_0;
if ((((int32_t)L_24) < ((int32_t)L_25)))
{
goto IL_006c;
}
}
{
// newconns[connLength] = new Connection(node, cost);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_26 = V_1;
int32_t L_27 = V_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_28 = ___0_node;
uint32_t L_29 = ___1_cost;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_30;
memset((&L_30), 0, sizeof(L_30));
Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2((&L_30), L_28, L_29, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
NullCheck(L_26);
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(L_27), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_30);
// connections = newconns;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_31 = V_1;
__this->___connections_28 = L_31;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_28), (void*)L_31);
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_32 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_32);
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_33 = L_32->___hierarchicalGraph_50;
NullCheck(L_33);
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_33, __this, NULL);
// }
return;
}
}
// System.Void Pathfinding.GridNodeBase::RemoveConnection(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_RemoveConnection_m1CE95A49E60C4E32A818C03DCA6073FF5E24C7B2 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
{
// if (connections == null) return;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_28;
if (L_0)
{
goto IL_0009;
}
}
{
// if (connections == null) return;
return;
}
IL_0009:
{
// for (int i = 0; i < connections.Length; i++) {
V_0 = 0;
goto IL_009a;
}
IL_0010:
{
// if (connections[i].node == node) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_28;
int32_t L_2 = V_0;
NullCheck(L_1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___node_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_node;
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_3) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_4))))
{
goto IL_0096;
}
}
{
// int connLength = connections.Length;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = __this->___connections_28;
NullCheck(L_5);
V_1 = ((int32_t)(((RuntimeArray*)L_5)->max_length));
// var newconns = new Connection[connLength-1];
int32_t L_6 = V_1;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)SZArrayNew(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_subtract(L_6, 1)));
V_2 = L_7;
// for (int j = 0; j < i; j++) {
V_3 = 0;
goto IL_0051;
}
IL_003a:
{
// newconns[j] = connections[j];
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_8 = V_2;
int32_t L_9 = V_3;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_10 = __this->___connections_28;
int32_t L_11 = V_3;
NullCheck(L_10);
int32_t L_12 = L_11;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
NullCheck(L_8);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_13);
// for (int j = 0; j < i; j++) {
int32_t L_14 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_14, 1));
}
IL_0051:
{
// for (int j = 0; j < i; j++) {
int32_t L_15 = V_3;
int32_t L_16 = V_0;
if ((((int32_t)L_15) < ((int32_t)L_16)))
{
goto IL_003a;
}
}
{
// for (int j = i+1; j < connLength; j++) {
int32_t L_17 = V_0;
V_4 = ((int32_t)il2cpp_codegen_add(L_17, 1));
goto IL_0079;
}
IL_005c:
{
// newconns[j-1] = connections[j];
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_18 = V_2;
int32_t L_19 = V_4;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_20 = __this->___connections_28;
int32_t L_21 = V_4;
NullCheck(L_20);
int32_t L_22 = L_21;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
NullCheck(L_18);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_19, 1))), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_23);
// for (int j = i+1; j < connLength; j++) {
int32_t L_24 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_24, 1));
}
IL_0079:
{
// for (int j = i+1; j < connLength; j++) {
int32_t L_25 = V_4;
int32_t L_26 = V_1;
if ((((int32_t)L_25) < ((int32_t)L_26)))
{
goto IL_005c;
}
}
{
// connections = newconns;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_27 = V_2;
__this->___connections_28 = L_27;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_28), (void*)L_27);
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_28 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_28);
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_29 = L_28->___hierarchicalGraph_50;
NullCheck(L_29);
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_29, __this, NULL);
// return;
return;
}
IL_0096:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_30 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_30, 1));
}
IL_009a:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_31 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_32 = __this->___connections_28;
NullCheck(L_32);
if ((((int32_t)L_31) < ((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)))))
{
goto IL_0010;
}
}
{
// }
return;
}
}
// System.Void Pathfinding.GridNodeBase::SerializeReferences(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_SerializeReferences_mD4FF8CD6060171C7074D9699FE04A73D26993994 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// if (connections == null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_28;
if (L_0)
{
goto IL_0015;
}
}
{
// ctx.writer.Write(-1);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
NullCheck(L_1);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_2 = L_1->___writer_2;
NullCheck(L_2);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_2, (-1));
return;
}
IL_0015:
{
// ctx.writer.Write(connections.Length);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
NullCheck(L_3);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_4 = L_3->___writer_2;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = __this->___connections_28;
NullCheck(L_5);
NullCheck(L_4);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_4, ((int32_t)(((RuntimeArray*)L_5)->max_length)));
// for (int i = 0; i < connections.Length; i++) {
V_0 = 0;
goto IL_0063;
}
IL_002c:
{
// ctx.SerializeNodeReference(connections[i].node);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_6 = ___0_ctx;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_28;
int32_t L_8 = V_0;
NullCheck(L_7);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = ((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->___node_0;
NullCheck(L_6);
GraphSerializationContext_SerializeNodeReference_m7DDFE9416F1E4BCF332867FEAC72C852D68D45B0(L_6, L_9, NULL);
// ctx.writer.Write(connections[i].cost);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_10 = ___0_ctx;
NullCheck(L_10);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_11 = L_10->___writer_2;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_12 = __this->___connections_28;
int32_t L_13 = V_0;
NullCheck(L_12);
uint32_t L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___cost_1;
NullCheck(L_11);
VirtualActionInvoker1< uint32_t >::Invoke(19 /* System.Void System.IO.BinaryWriter::Write(System.UInt32) */, L_11, L_14);
// for (int i = 0; i < connections.Length; i++) {
int32_t L_15 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_15, 1));
}
IL_0063:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_16 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_17 = __this->___connections_28;
NullCheck(L_17);
if ((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))
{
goto IL_002c;
}
}
{
// }
return;
}
}
// System.Void Pathfinding.GridNodeBase::DeserializeReferences(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_DeserializeReferences_mBE572FE14C41A354F9B790712F68442E61262AC7 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// if (ctx.meta.version < AstarSerializer.V3_8_3)
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
NullCheck(L_0);
GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79* L_1 = L_0->___meta_4;
NullCheck(L_1);
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* L_2 = L_1->___version_0;
il2cpp_codegen_runtime_class_init_inline(AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var);
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* L_3 = ((AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_StaticFields*)il2cpp_codegen_static_fields_for(AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var))->___V3_8_3_14;
bool L_4;
L_4 = Version_op_LessThan_m83ED9AEB1F6175AF9C8CDEDD9329CE0D2DA2CE4E(L_2, L_3, NULL);
if (!L_4)
{
goto IL_0018;
}
}
{
// return;
return;
}
IL_0018:
{
// int count = ctx.reader.ReadInt32();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_5 = ___0_ctx;
NullCheck(L_5);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_6 = L_5->___reader_1;
NullCheck(L_6);
int32_t L_7;
L_7 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_6);
V_0 = L_7;
// if (count == -1) {
int32_t L_8 = V_0;
if ((!(((uint32_t)L_8) == ((uint32_t)(-1)))))
{
goto IL_0030;
}
}
{
// connections = null;
__this->___connections_28 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_28), (void*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL);
return;
}
IL_0030:
{
// connections = new Connection[count];
int32_t L_9 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_10 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)SZArrayNew(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var, (uint32_t)L_9);
__this->___connections_28 = L_10;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_28), (void*)L_10);
// for (int i = 0; i < count; i++) {
V_1 = 0;
goto IL_006b;
}
IL_0040:
{
// connections[i] = new Connection(ctx.DeserializeNodeReference(), ctx.reader.ReadUInt32());
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_11 = __this->___connections_28;
int32_t L_12 = V_1;
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_13 = ___0_ctx;
NullCheck(L_13);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_14;
L_14 = GraphSerializationContext_DeserializeNodeReference_m968E85AF963D69ED085D263960B9D6605616353D(L_13, NULL);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_15 = ___0_ctx;
NullCheck(L_15);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_16 = L_15->___reader_1;
NullCheck(L_16);
uint32_t L_17;
L_17 = VirtualFuncInvoker0< uint32_t >::Invoke(16 /* System.UInt32 System.IO.BinaryReader::ReadUInt32() */, L_16);
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_18;
memset((&L_18), 0, sizeof(L_18));
Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2((&L_18), L_14, L_17, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_18);
// for (int i = 0; i < count; i++) {
int32_t L_19 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_19, 1));
}
IL_006b:
{
// for (int i = 0; i < count; i++) {
int32_t L_20 = V_1;
int32_t L_21 = V_0;
if ((((int32_t)L_20) < ((int32_t)L_21)))
{
goto IL_0040;
}
}
{
// }
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.PointNode::SetPosition(Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_SetPosition_m34B1E33BEA8F1168F46FE1C8A5C08CCE9AB3D7DA (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_value, const RuntimeMethod* method)
{
{
// position = value;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = ___0_value;
((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7 = L_0;
// }
return;
}
}
// System.Void Pathfinding.PointNode::.ctor(AstarPath)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode__ctor_m308BD54498738C0D59151C441BB033951526FECC (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method)
{
{
// public PointNode (AstarPath astar) : base(astar) {
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ___0_astar;
GraphNode__ctor_m962B0F8CB16339D10AD78273E651373A10B3ACC2(__this, L_0, NULL);
// }
return;
}
}
// UnityEngine.Vector3 Pathfinding.PointNode::ClosestPointOnNode(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PointNode_ClosestPointOnNode_mFE75B39C757D72920E6209AF8CC89A3317A2EBE8 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, const RuntimeMethod* method)
{
{
// return (Vector3)this.position;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_0, NULL);
return L_1;
}
}
// System.Void Pathfinding.PointNode::GetConnections(System.Action`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_GetConnections_mE8AE89B5362BFEC17443B8E24168E28FDA6AA836 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___0_action, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// if (connections == null) return;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_20;
if (L_0)
{
goto IL_0009;
}
}
{
// if (connections == null) return;
return;
}
IL_0009:
{
// for (int i = 0; i < connections.Length; i++) action(connections[i].node);
V_0 = 0;
goto IL_0028;
}
IL_000d:
{
// for (int i = 0; i < connections.Length; i++) action(connections[i].node);
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_1 = ___0_action;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_20;
int32_t L_3 = V_0;
NullCheck(L_2);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_3)))->___node_0;
NullCheck(L_1);
Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline(L_1, L_4, NULL);
// for (int i = 0; i < connections.Length; i++) action(connections[i].node);
int32_t L_5 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
}
IL_0028:
{
// for (int i = 0; i < connections.Length; i++) action(connections[i].node);
int32_t L_6 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_20;
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
{
goto IL_000d;
}
}
{
// }
return;
}
}
// System.Void Pathfinding.PointNode::ClearConnections(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_ClearConnections_m9FB48532482411C2948BB7CCDFD31507F0914EDA (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, bool ___0_alsoReverse, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// if (alsoReverse && connections != null) {
bool L_0 = ___0_alsoReverse;
if (!L_0)
{
goto IL_0035;
}
}
{
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_20;
if (!L_1)
{
goto IL_0035;
}
}
{
// for (int i = 0; i < connections.Length; i++) {
V_0 = 0;
goto IL_002a;
}
IL_000f:
{
// connections[i].node.RemoveConnection(this);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_20;
int32_t L_3 = V_0;
NullCheck(L_2);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_3)))->___node_0;
NullCheck(L_4);
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(7 /* System.Void Pathfinding.GraphNode::RemoveConnection(Pathfinding.GraphNode) */, L_4, __this);
// for (int i = 0; i < connections.Length; i++) {
int32_t L_5 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
}
IL_002a:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_6 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_20;
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
{
goto IL_000f;
}
}
IL_0035:
{
// connections = null;
__this->___connections_20 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_20), (void*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL);
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_8 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_8);
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_9 = L_8->___hierarchicalGraph_50;
NullCheck(L_9);
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_9, __this, NULL);
// }
return;
}
}
// System.Void Pathfinding.PointNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_UpdateRecursiveG_mD85FFB55B929C63AC5BE6FDA317439FD111B8624 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
{
int32_t V_0 = 0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_1 = NULL;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_2 = NULL;
{
// pathNode.UpdateG(path);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_0 = ___1_pathNode;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_1 = ___0_path;
NullCheck(L_0);
PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86(L_0, L_1, NULL);
// handler.heap.Add(pathNode);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_2 = ___2_handler;
NullCheck(L_2);
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_3 = L_2->___heap_3;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_4 = ___1_pathNode;
NullCheck(L_3);
BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4(L_3, L_4, NULL);
// for (int i = 0; i < connections.Length; i++) {
V_0 = 0;
goto IL_0055;
}
IL_0017:
{
// GraphNode other = connections[i].node;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = __this->___connections_20;
int32_t L_6 = V_0;
NullCheck(L_5);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)))->___node_0;
V_1 = L_7;
// PathNode otherPN = handler.GetPathNode(other);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_8 = ___2_handler;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = V_1;
NullCheck(L_8);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_10;
L_10 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_8, L_9, NULL);
V_2 = L_10;
// if (otherPN.parent == pathNode && otherPN.pathID == handler.PathID) {
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_11 = V_2;
NullCheck(L_11);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_12 = L_11->___parent_1;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_13 = ___1_pathNode;
if ((!(((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_12) == ((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_13))))
{
goto IL_0051;
}
}
{
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_14 = V_2;
NullCheck(L_14);
uint16_t L_15 = L_14->___pathID_2;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_16 = ___2_handler;
NullCheck(L_16);
uint16_t L_17;
L_17 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_16, NULL);
if ((!(((uint32_t)L_15) == ((uint32_t)L_17))))
{
goto IL_0051;
}
}
{
// other.UpdateRecursiveG(path, otherPN, handler);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_18 = V_1;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_19 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_20 = V_2;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_21 = ___2_handler;
NullCheck(L_18);
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_18, L_19, L_20, L_21);
}
IL_0051:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_22 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_22, 1));
}
IL_0055:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_23 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_24 = __this->___connections_20;
NullCheck(L_24);
if ((((int32_t)L_23) < ((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))))
{
goto IL_0017;
}
}
{
// }
return;
}
}
// System.Boolean Pathfinding.PointNode::ContainsConnection(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PointNode_ContainsConnection_m76D1DFA061D026277C097A9AD9D1B22747981F6E (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// if (connections == null) return false;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_20;
if (L_0)
{
goto IL_000a;
}
}
{
// if (connections == null) return false;
return (bool)0;
}
IL_000a:
{
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
V_0 = 0;
goto IL_0028;
}
IL_000e:
{
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_20;
int32_t L_2 = V_0;
NullCheck(L_1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___node_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_node;
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_3) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_4))))
{
goto IL_0024;
}
}
{
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
return (bool)1;
}
IL_0024:
{
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
int32_t L_5 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
}
IL_0028:
{
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
int32_t L_6 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_20;
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
{
goto IL_000e;
}
}
{
// return false;
return (bool)0;
}
}
// System.Void Pathfinding.PointNode::AddConnection(Pathfinding.GraphNode,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_AddConnection_mF60D20AB9AB35A16A5DF72862ABC6B524C0C6B74 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_4;
memset((&V_4), 0, sizeof(V_4));
int32_t G_B11_0 = 0;
{
// if (node == null) throw new System.ArgumentNullException();
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
if (L_0)
{
goto IL_0009;
}
}
{
// if (node == null) throw new System.ArgumentNullException();
ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* L_1 = (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var)));
NullCheck(L_1);
ArgumentNullException__ctor_m4A0936689D360EBC545690326B4DF187196BF2B9(L_1, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PointNode_AddConnection_mF60D20AB9AB35A16A5DF72862ABC6B524C0C6B74_RuntimeMethod_var)));
}
IL_0009:
{
// if (connections != null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_20;
if (!L_2)
{
goto IL_004b;
}
}
{
// for (int i = 0; i < connections.Length; i++) {
V_2 = 0;
goto IL_0040;
}
IL_0015:
{
// if (connections[i].node == node) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->___connections_20;
int32_t L_4 = V_2;
NullCheck(L_3);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_5 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___node_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_6 = ___0_node;
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_5) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_6))))
{
goto IL_003c;
}
}
{
// connections[i].cost = cost;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_20;
int32_t L_8 = V_2;
NullCheck(L_7);
uint32_t L_9 = ___1_cost;
((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->___cost_1 = L_9;
// return;
return;
}
IL_003c:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_10 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_10, 1));
}
IL_0040:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_11 = V_2;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_12 = __this->___connections_20;
NullCheck(L_12);
if ((((int32_t)L_11) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))
{
goto IL_0015;
}
}
IL_004b:
{
// int connLength = connections != null ? connections.Length : 0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_13 = __this->___connections_20;
if (L_13)
{
goto IL_0056;
}
}
{
G_B11_0 = 0;
goto IL_005e;
}
IL_0056:
{
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_14 = __this->___connections_20;
NullCheck(L_14);
G_B11_0 = ((int32_t)(((RuntimeArray*)L_14)->max_length));
}
IL_005e:
{
V_0 = G_B11_0;
// var newconns = new Connection[connLength+1];
int32_t L_15 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_16 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)SZArrayNew(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add(L_15, 1)));
V_1 = L_16;
// for (int i = 0; i < connLength; i++) {
V_3 = 0;
goto IL_0083;
}
IL_006c:
{
// newconns[i] = connections[i];
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_17 = V_1;
int32_t L_18 = V_3;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_19 = __this->___connections_20;
int32_t L_20 = V_3;
NullCheck(L_19);
int32_t L_21 = L_20;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
NullCheck(L_17);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(L_18), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_22);
// for (int i = 0; i < connLength; i++) {
int32_t L_23 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_23, 1));
}
IL_0083:
{
// for (int i = 0; i < connLength; i++) {
int32_t L_24 = V_3;
int32_t L_25 = V_0;
if ((((int32_t)L_24) < ((int32_t)L_25)))
{
goto IL_006c;
}
}
{
// newconns[connLength] = new Connection(node, cost);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_26 = V_1;
int32_t L_27 = V_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_28 = ___0_node;
uint32_t L_29 = ___1_cost;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_30;
memset((&L_30), 0, sizeof(L_30));
Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2((&L_30), L_28, L_29, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
NullCheck(L_26);
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(L_27), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_30);
// connections = newconns;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_31 = V_1;
__this->___connections_20 = L_31;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_20), (void*)L_31);
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_32 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_32);
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_33 = L_32->___hierarchicalGraph_50;
NullCheck(L_33);
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_33, __this, NULL);
// (this.Graph as PointGraph).RegisterConnectionLength((node.position - position).sqrMagnitudeLong);
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* L_34;
L_34 = GraphNode_get_Graph_mB23268E38AA50142FEE9276D0F2C11146E4A50AE(__this, NULL);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_35 = ___0_node;
NullCheck(L_35);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_36 = L_35->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_37 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_38;
L_38 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_36, L_37, NULL);
V_4 = L_38;
int64_t L_39;
L_39 = Int3_get_sqrMagnitudeLong_m8319324D5E2D6785E1C26B09E64E669D8C563482((&V_4), NULL);
NullCheck(((PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178*)IsInstClass((RuntimeObject*)L_34, PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178_il2cpp_TypeInfo_var)));
PointGraph_RegisterConnectionLength_m3B900DC3EA697B3079427A98F771EF23E175D868(((PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178*)IsInstClass((RuntimeObject*)L_34, PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178_il2cpp_TypeInfo_var)), L_39, NULL);
// }
return;
}
}
// System.Void Pathfinding.PointNode::RemoveConnection(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_RemoveConnection_m9389E39BAB4931306366A11D868A58A8938FB237 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
{
// if (connections == null) return;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_20;
if (L_0)
{
goto IL_0009;
}
}
{
// if (connections == null) return;
return;
}
IL_0009:
{
// for (int i = 0; i < connections.Length; i++) {
V_0 = 0;
goto IL_009a;
}
IL_0010:
{
// if (connections[i].node == node) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_20;
int32_t L_2 = V_0;
NullCheck(L_1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___node_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_node;
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_3) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_4))))
{
goto IL_0096;
}
}
{
// int connLength = connections.Length;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = __this->___connections_20;
NullCheck(L_5);
V_1 = ((int32_t)(((RuntimeArray*)L_5)->max_length));
// var newconns = new Connection[connLength-1];
int32_t L_6 = V_1;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)SZArrayNew(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_subtract(L_6, 1)));
V_2 = L_7;
// for (int j = 0; j < i; j++) {
V_3 = 0;
goto IL_0051;
}
IL_003a:
{
// newconns[j] = connections[j];
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_8 = V_2;
int32_t L_9 = V_3;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_10 = __this->___connections_20;
int32_t L_11 = V_3;
NullCheck(L_10);
int32_t L_12 = L_11;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
NullCheck(L_8);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_13);
// for (int j = 0; j < i; j++) {
int32_t L_14 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_14, 1));
}
IL_0051:
{
// for (int j = 0; j < i; j++) {
int32_t L_15 = V_3;
int32_t L_16 = V_0;
if ((((int32_t)L_15) < ((int32_t)L_16)))
{
goto IL_003a;
}
}
{
// for (int j = i+1; j < connLength; j++) {
int32_t L_17 = V_0;
V_4 = ((int32_t)il2cpp_codegen_add(L_17, 1));
goto IL_0079;
}
IL_005c:
{
// newconns[j-1] = connections[j];
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_18 = V_2;
int32_t L_19 = V_4;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_20 = __this->___connections_20;
int32_t L_21 = V_4;
NullCheck(L_20);
int32_t L_22 = L_21;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
NullCheck(L_18);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_19, 1))), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_23);
// for (int j = i+1; j < connLength; j++) {
int32_t L_24 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_24, 1));
}
IL_0079:
{
// for (int j = i+1; j < connLength; j++) {
int32_t L_25 = V_4;
int32_t L_26 = V_1;
if ((((int32_t)L_25) < ((int32_t)L_26)))
{
goto IL_005c;
}
}
{
// connections = newconns;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_27 = V_2;
__this->___connections_20 = L_27;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_20), (void*)L_27);
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_28 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_28);
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_29 = L_28->___hierarchicalGraph_50;
NullCheck(L_29);
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_29, __this, NULL);
// return;
return;
}
IL_0096:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_30 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_30, 1));
}
IL_009a:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_31 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_32 = __this->___connections_20;
NullCheck(L_32);
if ((((int32_t)L_31) < ((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)))))
{
goto IL_0010;
}
}
{
// }
return;
}
}
// System.Void Pathfinding.PointNode::Open(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_Open_mE093EC142964946AFD1E6A0CE23A2FBC00E744C8 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
{
int32_t V_0 = 0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_1 = NULL;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_2 = NULL;
uint32_t V_3 = 0;
{
// if (connections == null) return;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_20;
if (L_0)
{
goto IL_0009;
}
}
{
// if (connections == null) return;
return;
}
IL_0009:
{
// for (int i = 0; i < connections.Length; i++) {
V_0 = 0;
goto IL_00d5;
}
IL_0010:
{
// GraphNode other = connections[i].node;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_20;
int32_t L_2 = V_0;
NullCheck(L_1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___node_0;
V_1 = L_3;
// if (path.CanTraverse(other)) {
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_4 = ___0_path;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_5 = V_1;
NullCheck(L_4);
bool L_6;
L_6 = Path_CanTraverse_m6591EBB82B68115ECC6D103EBF00414BDDC0A308(L_4, L_5, NULL);
if (!L_6)
{
goto IL_00d1;
}
}
{
// PathNode pathOther = handler.GetPathNode(other);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_7 = ___2_handler;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_8 = V_1;
NullCheck(L_7);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_9;
L_9 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_7, L_8, NULL);
V_2 = L_9;
// if (pathOther.pathID != handler.PathID) {
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_10 = V_2;
NullCheck(L_10);
uint16_t L_11 = L_10->___pathID_2;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_12 = ___2_handler;
NullCheck(L_12);
uint16_t L_13;
L_13 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_12, NULL);
if ((((int32_t)L_11) == ((int32_t)L_13)))
{
goto IL_0090;
}
}
{
// pathOther.parent = pathNode;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_14 = V_2;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_15 = ___1_pathNode;
NullCheck(L_14);
L_14->___parent_1 = L_15;
Il2CppCodeGenWriteBarrier((void**)(&L_14->___parent_1), (void*)L_15);
// pathOther.pathID = handler.PathID;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_16 = V_2;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_17 = ___2_handler;
NullCheck(L_17);
uint16_t L_18;
L_18 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_17, NULL);
NullCheck(L_16);
L_16->___pathID_2 = L_18;
// pathOther.cost = connections[i].cost;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_19 = V_2;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_20 = __this->___connections_20;
int32_t L_21 = V_0;
NullCheck(L_20);
uint32_t L_22 = ((L_20)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_21)))->___cost_1;
NullCheck(L_19);
PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B(L_19, L_22, NULL);
// pathOther.H = path.CalculateHScore(other);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_23 = V_2;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_24 = ___0_path;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_25 = V_1;
NullCheck(L_24);
uint32_t L_26;
L_26 = Path_CalculateHScore_m2DC595B3B0268A737F8E956819C3F14C5663BD13(L_24, L_25, NULL);
NullCheck(L_23);
PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138_inline(L_23, L_26, NULL);
// pathOther.UpdateG(path);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_27 = V_2;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_28 = ___0_path;
NullCheck(L_27);
PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86(L_27, L_28, NULL);
// handler.heap.Add(pathOther);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_29 = ___2_handler;
NullCheck(L_29);
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_30 = L_29->___heap_3;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_31 = V_2;
NullCheck(L_30);
BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4(L_30, L_31, NULL);
goto IL_00d1;
}
IL_0090:
{
// uint tmpCost = connections[i].cost;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_32 = __this->___connections_20;
int32_t L_33 = V_0;
NullCheck(L_32);
uint32_t L_34 = ((L_32)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_33)))->___cost_1;
V_3 = L_34;
// if (pathNode.G + tmpCost + path.GetTraversalCost(other) < pathOther.G) {
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_35 = ___1_pathNode;
NullCheck(L_35);
uint32_t L_36;
L_36 = PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline(L_35, NULL);
uint32_t L_37 = V_3;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_38 = ___0_path;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_39 = V_1;
NullCheck(L_38);
uint32_t L_40;
L_40 = Path_GetTraversalCost_mC9C3D703DF4EB5AF7B3B8C61CD7F952063E4D1B1(L_38, L_39, NULL);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_41 = V_2;
NullCheck(L_41);
uint32_t L_42;
L_42 = PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline(L_41, NULL);
if ((!(((uint32_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add((int32_t)L_36, (int32_t)L_37)), (int32_t)L_40))) < ((uint32_t)L_42))))
{
goto IL_00d1;
}
}
{
// pathOther.cost = tmpCost;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_43 = V_2;
uint32_t L_44 = V_3;
NullCheck(L_43);
PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B(L_43, L_44, NULL);
// pathOther.parent = pathNode;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_45 = V_2;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_46 = ___1_pathNode;
NullCheck(L_45);
L_45->___parent_1 = L_46;
Il2CppCodeGenWriteBarrier((void**)(&L_45->___parent_1), (void*)L_46);
// other.UpdateRecursiveG(path, pathOther, handler);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_47 = V_1;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_48 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_49 = V_2;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_50 = ___2_handler;
NullCheck(L_47);
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_47, L_48, L_49, L_50);
}
IL_00d1:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_51 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_51, 1));
}
IL_00d5:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_52 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_53 = __this->___connections_20;
NullCheck(L_53);
if ((((int32_t)L_52) < ((int32_t)((int32_t)(((RuntimeArray*)L_53)->max_length)))))
{
goto IL_0010;
}
}
{
// }
return;
}
}
// System.Int32 Pathfinding.PointNode::GetGizmoHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PointNode_GetGizmoHashCode_m6BB1E698A9545D935DD717A0A9F9CABB14194EBF (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// var hash = base.GetGizmoHashCode();
int32_t L_0;
L_0 = GraphNode_GetGizmoHashCode_m4F6FBDB8048E7493E8FCE4CF3B800DA49DAAA686(__this, NULL);
V_0 = L_0;
// if (connections != null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_20;
if (!L_1)
{
goto IL_003f;
}
}
{
// for (int i = 0; i < connections.Length; i++) {
V_1 = 0;
goto IL_0034;
}
IL_0013:
{
// hash ^= 17 * connections[i].GetHashCode();
int32_t L_2 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->___connections_20;
int32_t L_4 = V_1;
NullCheck(L_3);
int32_t L_5;
L_5 = Connection_GetHashCode_m1B33710893D1443A103B25749ED833D3830ECCA2(((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4))), NULL);
V_0 = ((int32_t)(L_2^((int32_t)il2cpp_codegen_multiply(((int32_t)17), L_5))));
// for (int i = 0; i < connections.Length; i++) {
int32_t L_6 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_6, 1));
}
IL_0034:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_7 = V_1;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_8 = __this->___connections_20;
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
{
goto IL_0013;
}
}
IL_003f:
{
// return hash;
int32_t L_9 = V_0;
return L_9;
}
}
// System.Void Pathfinding.PointNode::SerializeNode(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_SerializeNode_m6C53AE7B558B743FE35B65410FD2049BF04944E8 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
{
// base.SerializeNode(ctx);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
GraphNode_SerializeNode_mD33B9C61E7205A8A098807428025CF2FF4626DDA(__this, L_0, NULL);
// ctx.SerializeInt3(position);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7;
NullCheck(L_1);
GraphSerializationContext_SerializeInt3_m1F740467D95784EF5AA89024FC8C133FCC7799E4(L_1, L_2, NULL);
// }
return;
}
}
// System.Void Pathfinding.PointNode::DeserializeNode(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_DeserializeNode_mCEA4772858CADFDF7625A38E9432101F488F7239 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
{
// base.DeserializeNode(ctx);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
GraphNode_DeserializeNode_mE353ED15276B00A0A798066891B1FF38B91EF1CA(__this, L_0, NULL);
// position = ctx.DeserializeInt3();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
NullCheck(L_1);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2;
L_2 = GraphSerializationContext_DeserializeInt3_m7B3A252F1DD5E434B6B3D822CC076C5C8DC5F27F(L_1, NULL);
((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7 = L_2;
// }
return;
}
}
// System.Void Pathfinding.PointNode::SerializeReferences(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_SerializeReferences_m36B34B73AAE93CED2E5D21932B4FBFC45F065291 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// if (connections == null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_20;
if (L_0)
{
goto IL_0015;
}
}
{
// ctx.writer.Write(-1);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
NullCheck(L_1);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_2 = L_1->___writer_2;
NullCheck(L_2);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_2, (-1));
return;
}
IL_0015:
{
// ctx.writer.Write(connections.Length);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
NullCheck(L_3);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_4 = L_3->___writer_2;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = __this->___connections_20;
NullCheck(L_5);
NullCheck(L_4);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_4, ((int32_t)(((RuntimeArray*)L_5)->max_length)));
// for (int i = 0; i < connections.Length; i++) {
V_0 = 0;
goto IL_0063;
}
IL_002c:
{
// ctx.SerializeNodeReference(connections[i].node);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_6 = ___0_ctx;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_20;
int32_t L_8 = V_0;
NullCheck(L_7);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = ((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->___node_0;
NullCheck(L_6);
GraphSerializationContext_SerializeNodeReference_m7DDFE9416F1E4BCF332867FEAC72C852D68D45B0(L_6, L_9, NULL);
// ctx.writer.Write(connections[i].cost);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_10 = ___0_ctx;
NullCheck(L_10);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_11 = L_10->___writer_2;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_12 = __this->___connections_20;
int32_t L_13 = V_0;
NullCheck(L_12);
uint32_t L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___cost_1;
NullCheck(L_11);
VirtualActionInvoker1< uint32_t >::Invoke(19 /* System.Void System.IO.BinaryWriter::Write(System.UInt32) */, L_11, L_14);
// for (int i = 0; i < connections.Length; i++) {
int32_t L_15 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_15, 1));
}
IL_0063:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_16 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_17 = __this->___connections_20;
NullCheck(L_17);
if ((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))
{
goto IL_002c;
}
}
{
// }
return;
}
}
// System.Void Pathfinding.PointNode::DeserializeReferences(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointNode_DeserializeReferences_m42F582633E9DC3E837F28D36D641A03DF536AF39 (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// int count = ctx.reader.ReadInt32();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
NullCheck(L_0);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_1 = L_0->___reader_1;
NullCheck(L_1);
int32_t L_2;
L_2 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_1);
V_0 = L_2;
// if (count == -1) {
int32_t L_3 = V_0;
if ((!(((uint32_t)L_3) == ((uint32_t)(-1)))))
{
goto IL_0018;
}
}
{
// connections = null;
__this->___connections_20 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_20), (void*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL);
return;
}
IL_0018:
{
// connections = new Connection[count];
int32_t L_4 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)SZArrayNew(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_il2cpp_TypeInfo_var, (uint32_t)L_4);
__this->___connections_20 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_20), (void*)L_5);
// for (int i = 0; i < count; i++) {
V_1 = 0;
goto IL_0053;
}
IL_0028:
{
// connections[i] = new Connection(ctx.DeserializeNodeReference(), ctx.reader.ReadUInt32());
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_6 = __this->___connections_20;
int32_t L_7 = V_1;
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_8 = ___0_ctx;
NullCheck(L_8);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9;
L_9 = GraphSerializationContext_DeserializeNodeReference_m968E85AF963D69ED085D263960B9D6605616353D(L_8, NULL);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_10 = ___0_ctx;
NullCheck(L_10);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_11 = L_10->___reader_1;
NullCheck(L_11);
uint32_t L_12;
L_12 = VirtualFuncInvoker0< uint32_t >::Invoke(16 /* System.UInt32 System.IO.BinaryReader::ReadUInt32() */, L_11);
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_13;
memset((&L_13), 0, sizeof(L_13));
Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2((&L_13), L_9, L_12, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_13);
// for (int i = 0; i < count; i++) {
int32_t L_14 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_14, 1));
}
IL_0053:
{
// for (int i = 0; i < count; i++) {
int32_t L_15 = V_1;
int32_t L_16 = V_0;
if ((((int32_t)L_15) < ((int32_t)L_16)))
{
goto IL_0028;
}
}
{
// }
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.TriangleMeshNode::.ctor(AstarPath)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode__ctor_m14C08A0315BDC1EE96D50B6153A6366C502F0809 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method)
{
{
// public TriangleMeshNode (AstarPath astar) : base(astar) {}
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ___0_astar;
MeshNode__ctor_m0D20EE79DC4C9F222B97C79D91D3748AB3E6B846(__this, L_0, NULL);
// public TriangleMeshNode (AstarPath astar) : base(astar) {}
return;
}
}
// Pathfinding.INavmeshHolder Pathfinding.TriangleMeshNode::GetNavmeshHolder(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A (uint32_t ___0_graphIndex, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// return _navmeshHolders[(int)graphIndex];
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* L_0 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->____navmeshHolders_24;
uint32_t L_1 = ___0_graphIndex;
NullCheck(L_0);
uint32_t L_2 = L_1;
RuntimeObject* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
return L_3;
}
}
// System.Void Pathfinding.TriangleMeshNode::SetNavmeshHolder(System.Int32,Pathfinding.INavmeshHolder)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_SetNavmeshHolder_mFA2533EB627690E28F9394DFCDD8517D7C42200F (int32_t ___0_graphIndex, RuntimeObject* ___1_graph, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
bool V_1 = false;
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* V_2 = NULL;
{
// lock (lockObject) {
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_0 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->___lockObject_25;
V_0 = L_0;
V_1 = (bool)0;
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_003f:
{// begin finally (depth: 1)
{
bool L_1 = V_1;
if (!L_1)
{
goto IL_0048;
}
}
{
RuntimeObject* L_2 = V_0;
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
}
IL_0048:
{
return;
}
}// end finally (depth: 1)
});
try
{// begin try (depth: 1)
{
RuntimeObject* L_3 = V_0;
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
// if (graphIndex >= _navmeshHolders.Length) {
int32_t L_4 = ___0_graphIndex;
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* L_5 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->____navmeshHolders_24;
NullCheck(L_5);
if ((((int32_t)L_4) < ((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length)))))
{
goto IL_0035_1;
}
}
{
// var gg = new INavmeshHolder[graphIndex+1];
int32_t L_6 = ___0_graphIndex;
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* L_7 = (INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E*)(INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E*)SZArrayNew(INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add(L_6, 1)));
V_2 = L_7;
// _navmeshHolders.CopyTo(gg, 0);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* L_8 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->____navmeshHolders_24;
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* L_9 = V_2;
NullCheck((RuntimeArray*)L_8);
Array_CopyTo_mFD42E3443AB3B850ED6F19359698E242A08E1BAB((RuntimeArray*)L_8, (RuntimeArray*)L_9, 0, NULL);
// _navmeshHolders = gg;
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* L_10 = V_2;
((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->____navmeshHolders_24 = L_10;
Il2CppCodeGenWriteBarrier((void**)(&((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->____navmeshHolders_24), (void*)L_10);
}
IL_0035_1:
{
// _navmeshHolders[graphIndex] = graph;
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* L_11 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->____navmeshHolders_24;
int32_t L_12 = ___0_graphIndex;
RuntimeObject* L_13 = ___1_graph;
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_13);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (RuntimeObject*)L_13);
// }
goto IL_0049;
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_0049:
{
// }
return;
}
}
// System.Void Pathfinding.TriangleMeshNode::UpdatePositionFromVertices()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_UpdatePositionFromVertices_m6CCA5F5853B69E596C4375E99B0CC141E577BC61 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, const RuntimeMethod* method)
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_0;
memset((&V_0), 0, sizeof(V_0));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_1;
memset((&V_1), 0, sizeof(V_1));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_2;
memset((&V_2), 0, sizeof(V_2));
{
// GetVertices(out a, out b, out c);
TriangleMeshNode_GetVertices_m1B343E7743FBD9783557046FEC6FE2175D6194E0(__this, (&V_0), (&V_1), (&V_2), NULL);
// position = (a + b + c) * 0.333333f;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = V_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_1 = V_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2;
L_2 = Int3_op_Addition_mB80493FA1BF7D5410E713B41EC744857D17D2023(L_0, L_1, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_3 = V_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4;
L_4 = Int3_op_Addition_mB80493FA1BF7D5410E713B41EC744857D17D2023(L_2, L_3, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_5;
L_5 = Int3_op_Multiply_m12AD38AB914D7B8BA6D315A06006EF4A23DEA61D(L_4, (0.333332986f), NULL);
((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)__this)->___position_7 = L_5;
// }
return;
}
}
// System.Int32 Pathfinding.TriangleMeshNode::GetVertexIndex(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, int32_t ___0_i, const RuntimeMethod* method)
{
{
// return i == 0 ? v0 : (i == 1 ? v1 : v2);
int32_t L_0 = ___0_i;
if (!L_0)
{
goto IL_0015;
}
}
{
int32_t L_1 = ___0_i;
if ((((int32_t)L_1) == ((int32_t)1)))
{
goto IL_000e;
}
}
{
int32_t L_2 = __this->___v2_23;
return L_2;
}
IL_000e:
{
int32_t L_3 = __this->___v1_22;
return L_3;
}
IL_0015:
{
int32_t L_4 = __this->___v0_21;
return L_4;
}
}
// System.Int32 Pathfinding.TriangleMeshNode::GetVertexArrayIndex(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleMeshNode_GetVertexArrayIndex_m2AE65DF47EF7077A89101B7DA810A198A2E7DA35 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, int32_t ___0_i, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* G_B4_0 = NULL;
RuntimeObject* G_B1_0 = NULL;
RuntimeObject* G_B3_0 = NULL;
RuntimeObject* G_B2_0 = NULL;
int32_t G_B5_0 = 0;
RuntimeObject* G_B5_1 = NULL;
{
// return GetNavmeshHolder(GraphIndex).GetVertexArrayIndex(i == 0 ? v0 : (i == 1 ? v1 : v2));
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_1;
L_1 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_0, NULL);
int32_t L_2 = ___0_i;
G_B1_0 = L_1;
if (!L_2)
{
G_B4_0 = L_1;
goto IL_0022;
}
}
{
int32_t L_3 = ___0_i;
G_B2_0 = G_B1_0;
if ((((int32_t)L_3) == ((int32_t)1)))
{
G_B3_0 = G_B1_0;
goto IL_001a;
}
}
{
int32_t L_4 = __this->___v2_23;
G_B5_0 = L_4;
G_B5_1 = G_B2_0;
goto IL_0028;
}
IL_001a:
{
int32_t L_5 = __this->___v1_22;
G_B5_0 = L_5;
G_B5_1 = G_B3_0;
goto IL_0028;
}
IL_0022:
{
int32_t L_6 = __this->___v0_21;
G_B5_0 = L_6;
G_B5_1 = G_B4_0;
}
IL_0028:
{
NullCheck(G_B5_1);
int32_t L_7;
L_7 = InterfaceFuncInvoker1< int32_t, int32_t >::Invoke(2 /* System.Int32 Pathfinding.INavmeshHolder::GetVertexArrayIndex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, G_B5_1, G_B5_0);
return L_7;
}
}
// System.Void Pathfinding.TriangleMeshNode::GetVertices(Pathfinding.Int3&,Pathfinding.Int3&,Pathfinding.Int3&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_GetVertices_m1B343E7743FBD9783557046FEC6FE2175D6194E0 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___0_v0, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___1_v1, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___2_v2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
{
// var holder = GetNavmeshHolder(GraphIndex);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_1;
L_1 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_0, NULL);
V_0 = L_1;
// v0 = holder.GetVertex(this.v0);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_2 = ___0_v0;
RuntimeObject* L_3 = V_0;
int32_t L_4 = __this->___v0_21;
NullCheck(L_3);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_5;
L_5 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_3, L_4);
*(Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)L_2 = L_5;
// v1 = holder.GetVertex(this.v1);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_6 = ___1_v1;
RuntimeObject* L_7 = V_0;
int32_t L_8 = __this->___v1_22;
NullCheck(L_7);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_9;
L_9 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_7, L_8);
*(Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)L_6 = L_9;
// v2 = holder.GetVertex(this.v2);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_10 = ___2_v2;
RuntimeObject* L_11 = V_0;
int32_t L_12 = __this->___v2_23;
NullCheck(L_11);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_13;
L_13 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_11, L_12);
*(Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)L_10 = L_13;
// }
return;
}
}
// System.Void Pathfinding.TriangleMeshNode::GetVerticesInGraphSpace(Pathfinding.Int3&,Pathfinding.Int3&,Pathfinding.Int3&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_GetVerticesInGraphSpace_mFD3B0AE6576FC60EAAA3B5BCBE8AA14DC586FECE (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___0_v0, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___1_v1, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___2_v2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
{
// var holder = GetNavmeshHolder(GraphIndex);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_1;
L_1 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_0, NULL);
V_0 = L_1;
// v0 = holder.GetVertexInGraphSpace(this.v0);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_2 = ___0_v0;
RuntimeObject* L_3 = V_0;
int32_t L_4 = __this->___v0_21;
NullCheck(L_3);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_5;
L_5 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(1 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertexInGraphSpace(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_3, L_4);
*(Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)L_2 = L_5;
// v1 = holder.GetVertexInGraphSpace(this.v1);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_6 = ___1_v1;
RuntimeObject* L_7 = V_0;
int32_t L_8 = __this->___v1_22;
NullCheck(L_7);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_9;
L_9 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(1 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertexInGraphSpace(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_7, L_8);
*(Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)L_6 = L_9;
// v2 = holder.GetVertexInGraphSpace(this.v2);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_10 = ___2_v2;
RuntimeObject* L_11 = V_0;
int32_t L_12 = __this->___v2_23;
NullCheck(L_11);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_13;
L_13 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(1 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertexInGraphSpace(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_11, L_12);
*(Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)L_10 = L_13;
// }
return;
}
}
// Pathfinding.Int3 Pathfinding.TriangleMeshNode::GetVertex(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 TriangleMeshNode_GetVertex_m01D9A3FF32539799EC21DF6703346C4D79F577F1 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, int32_t ___0_i, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// return GetNavmeshHolder(GraphIndex).GetVertex(GetVertexIndex(i));
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_1;
L_1 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_0, NULL);
int32_t L_2 = ___0_i;
int32_t L_3;
L_3 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(__this, L_2, NULL);
NullCheck(L_1);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4;
L_4 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_1, L_3);
return L_4;
}
}
// Pathfinding.Int3 Pathfinding.TriangleMeshNode::GetVertexInGraphSpace(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, int32_t ___0_i, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// return GetNavmeshHolder(GraphIndex).GetVertexInGraphSpace(GetVertexIndex(i));
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_1;
L_1 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_0, NULL);
int32_t L_2 = ___0_i;
int32_t L_3;
L_3 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(__this, L_2, NULL);
NullCheck(L_1);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4;
L_4 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(1 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertexInGraphSpace(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_1, L_3);
return L_4;
}
}
// System.Int32 Pathfinding.TriangleMeshNode::GetVertexCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleMeshNode_GetVertexCount_mE24A8C20A383AE87DC6A831F9CF568A5CEA674EB (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, const RuntimeMethod* method)
{
{
// return 3;
return 3;
}
}
// UnityEngine.Vector3 Pathfinding.TriangleMeshNode::ClosestPointOnNode(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TriangleMeshNode_ClosestPointOnNode_m2C250F6F0C85A414A1E80F21E1824784FD51EC0D (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_0;
memset((&V_0), 0, sizeof(V_0));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_1;
memset((&V_1), 0, sizeof(V_1));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_2;
memset((&V_2), 0, sizeof(V_2));
{
// GetVertices(out a, out b, out c);
TriangleMeshNode_GetVertices_m1B343E7743FBD9783557046FEC6FE2175D6194E0(__this, (&V_0), (&V_1), (&V_2), NULL);
// return Pathfinding.Polygon.ClosestPointOnTriangle((Vector3)a, (Vector3)b, (Vector3)c, p);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_0, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
L_3 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_2, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_4, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_p;
il2cpp_codegen_runtime_class_init_inline(Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Polygon_ClosestPointOnTriangle_mAE9BE26EAD9FC2A8C506624BB50758978D9F7FD1(L_1, L_3, L_5, L_6, NULL);
return L_7;
}
}
// Pathfinding.Int3 Pathfinding.TriangleMeshNode::ClosestPointOnNodeXZInGraphSpace(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 TriangleMeshNode_ClosestPointOnNodeXZInGraphSpace_m2B837E09FF899B4B91BF1E645973B824CDCF26F3 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITransformedGraph_tF4C03A346ABB2DF1ACA9A31D063D66798ECBE91D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_0;
memset((&V_0), 0, sizeof(V_0));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_1;
memset((&V_1), 0, sizeof(V_1));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_2;
memset((&V_2), 0, sizeof(V_2));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_3;
memset((&V_3), 0, sizeof(V_3));
int64_t V_4 = 0;
int64_t V_5 = 0;
int64_t V_6 = 0;
int32_t V_7 = 0;
int32_t V_8 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_9;
memset((&V_9), 0, sizeof(V_9));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_10;
memset((&V_10), 0, sizeof(V_10));
{
// GetVerticesInGraphSpace(out a, out b, out c);
TriangleMeshNode_GetVerticesInGraphSpace_mFD3B0AE6576FC60EAAA3B5BCBE8AA14DC586FECE(__this, (&V_0), (&V_1), (&V_2), NULL);
// p = GetNavmeshHolder(GraphIndex).transform.InverseTransform(p);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_1;
L_1 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_0, NULL);
NullCheck(L_1);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_2;
L_2 = InterfaceFuncInvoker0< GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* >::Invoke(0 /* Pathfinding.Util.GraphTransform Pathfinding.ITransformedGraph::get_transform() */, ITransformedGraph_tF4C03A346ABB2DF1ACA9A31D063D66798ECBE91D_il2cpp_TypeInfo_var, L_1);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_p;
NullCheck(L_2);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_2, L_3, NULL);
___0_p = L_4;
// var closest = Pathfinding.Polygon.ClosestPointOnTriangleXZ((Vector3)a, (Vector3)b, (Vector3)c, p);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_5 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_5, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_7 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
L_8 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_7, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_9 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_9, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___0_p;
il2cpp_codegen_runtime_class_init_inline(Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
L_12 = Polygon_ClosestPointOnTriangleXZ_mB09011499825EC3F8EAABCF31E15EFFB2D63A1EE(L_6, L_8, L_10, L_11, NULL);
// var i3closest = (Int3)closest;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_13;
L_13 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_12, NULL);
V_3 = L_13;
// if (ContainsPointInGraphSpace(i3closest)) {
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_14 = V_3;
bool L_15;
L_15 = VirtualFuncInvoker1< bool, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 >::Invoke(25 /* System.Boolean Pathfinding.MeshNode::ContainsPointInGraphSpace(Pathfinding.Int3) */, __this, L_14);
if (!L_15)
{
goto IL_004d;
}
}
{
// return i3closest;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_16 = V_3;
return L_16;
}
IL_004d:
{
// for (int dx = -1; dx <= 1; dx++) {
V_7 = (-1);
goto IL_009c;
}
IL_0052:
{
// for (int dz = -1; dz <= 1; dz++) {
V_8 = (-1);
goto IL_0091;
}
IL_0057:
{
// if ((dx != 0 || dz != 0)) {
int32_t L_17 = V_7;
if (L_17)
{
goto IL_005f;
}
}
{
int32_t L_18 = V_8;
if (!L_18)
{
goto IL_008b;
}
}
IL_005f:
{
// var candidate = new Int3(i3closest.x + dx, i3closest.y, i3closest.z + dz);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_19 = V_3;
int32_t L_20 = L_19.___x_0;
int32_t L_21 = V_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_22 = V_3;
int32_t L_23 = L_22.___y_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_24 = V_3;
int32_t L_25 = L_24.___z_2;
int32_t L_26 = V_8;
Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F((&V_9), ((int32_t)il2cpp_codegen_add(L_20, L_21)), L_23, ((int32_t)il2cpp_codegen_add(L_25, L_26)), NULL);
// if (ContainsPointInGraphSpace(candidate)) return candidate;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_27 = V_9;
bool L_28;
L_28 = VirtualFuncInvoker1< bool, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 >::Invoke(25 /* System.Boolean Pathfinding.MeshNode::ContainsPointInGraphSpace(Pathfinding.Int3) */, __this, L_27);
if (!L_28)
{
goto IL_008b;
}
}
{
// if (ContainsPointInGraphSpace(candidate)) return candidate;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_29 = V_9;
return L_29;
}
IL_008b:
{
// for (int dz = -1; dz <= 1; dz++) {
int32_t L_30 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add(L_30, 1));
}
IL_0091:
{
// for (int dz = -1; dz <= 1; dz++) {
int32_t L_31 = V_8;
if ((((int32_t)L_31) <= ((int32_t)1)))
{
goto IL_0057;
}
}
{
// for (int dx = -1; dx <= 1; dx++) {
int32_t L_32 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_32, 1));
}
IL_009c:
{
// for (int dx = -1; dx <= 1; dx++) {
int32_t L_33 = V_7;
if ((((int32_t)L_33) <= ((int32_t)1)))
{
goto IL_0052;
}
}
{
// var da = (a - i3closest).sqrMagnitudeLong;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_34 = V_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_35 = V_3;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_36;
L_36 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_34, L_35, NULL);
V_10 = L_36;
int64_t L_37;
L_37 = Int3_get_sqrMagnitudeLong_m8319324D5E2D6785E1C26B09E64E669D8C563482((&V_10), NULL);
V_4 = L_37;
// var db = (b - i3closest).sqrMagnitudeLong;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_38 = V_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_39 = V_3;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_40;
L_40 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_38, L_39, NULL);
V_10 = L_40;
int64_t L_41;
L_41 = Int3_get_sqrMagnitudeLong_m8319324D5E2D6785E1C26B09E64E669D8C563482((&V_10), NULL);
V_5 = L_41;
// var dc = (c - i3closest).sqrMagnitudeLong;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_42 = V_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_43 = V_3;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_44;
L_44 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_42, L_43, NULL);
V_10 = L_44;
int64_t L_45;
L_45 = Int3_get_sqrMagnitudeLong_m8319324D5E2D6785E1C26B09E64E669D8C563482((&V_10), NULL);
V_6 = L_45;
// return da < db ? (da < dc ? a : c) : (db < dc ? b : c);
int64_t L_46 = V_4;
int64_t L_47 = V_5;
if ((((int64_t)L_46) < ((int64_t)L_47)))
{
goto IL_00e7;
}
}
{
int64_t L_48 = V_5;
int64_t L_49 = V_6;
if ((((int64_t)L_48) < ((int64_t)L_49)))
{
goto IL_00e5;
}
}
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_50 = V_2;
return L_50;
}
IL_00e5:
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_51 = V_1;
return L_51;
}
IL_00e7:
{
int64_t L_52 = V_4;
int64_t L_53 = V_6;
if ((((int64_t)L_52) < ((int64_t)L_53)))
{
goto IL_00ef;
}
}
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_54 = V_2;
return L_54;
}
IL_00ef:
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_55 = V_0;
return L_55;
}
}
// UnityEngine.Vector3 Pathfinding.TriangleMeshNode::ClosestPointOnNodeXZ(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TriangleMeshNode_ClosestPointOnNodeXZ_m1062C7FAC787E5B37DD8F884F83166A11816741A (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_0;
memset((&V_0), 0, sizeof(V_0));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_1;
memset((&V_1), 0, sizeof(V_1));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_2;
memset((&V_2), 0, sizeof(V_2));
{
// GetVertices(out tp1, out tp2, out tp3);
TriangleMeshNode_GetVertices_m1B343E7743FBD9783557046FEC6FE2175D6194E0(__this, (&V_0), (&V_1), (&V_2), NULL);
// return Polygon.ClosestPointOnTriangleXZ((Vector3)tp1, (Vector3)tp2, (Vector3)tp3, p);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_0, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
L_3 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_2, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_4, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_p;
il2cpp_codegen_runtime_class_init_inline(Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Polygon_ClosestPointOnTriangleXZ_mB09011499825EC3F8EAABCF31E15EFFB2D63A1EE(L_1, L_3, L_5, L_6, NULL);
return L_7;
}
}
// System.Boolean Pathfinding.TriangleMeshNode::ContainsPoint(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TriangleMeshNode_ContainsPoint_m031CFAF07E135A5EC513B9C696CA8E97FDD2A902 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITransformedGraph_tF4C03A346ABB2DF1ACA9A31D063D66798ECBE91D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// return ContainsPointInGraphSpace((Int3)GetNavmeshHolder(GraphIndex).transform.InverseTransform(p));
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_1;
L_1 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_0, NULL);
NullCheck(L_1);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_2;
L_2 = InterfaceFuncInvoker0< GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* >::Invoke(0 /* Pathfinding.Util.GraphTransform Pathfinding.ITransformedGraph::get_transform() */, ITransformedGraph_tF4C03A346ABB2DF1ACA9A31D063D66798ECBE91D_il2cpp_TypeInfo_var, L_1);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_p;
NullCheck(L_2);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_2, L_3, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_5;
L_5 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_4, NULL);
bool L_6;
L_6 = VirtualFuncInvoker1< bool, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 >::Invoke(25 /* System.Boolean Pathfinding.MeshNode::ContainsPointInGraphSpace(Pathfinding.Int3) */, __this, L_5);
return L_6;
}
}
// System.Boolean Pathfinding.TriangleMeshNode::ContainsPointInGraphSpace(Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TriangleMeshNode_ContainsPointInGraphSpace_m8ED7072302B44ECBA9919EF37C299B2285D43BA0 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_p, const RuntimeMethod* method)
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_0;
memset((&V_0), 0, sizeof(V_0));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_1;
memset((&V_1), 0, sizeof(V_1));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_2;
memset((&V_2), 0, sizeof(V_2));
{
// GetVerticesInGraphSpace(out a, out b, out c);
TriangleMeshNode_GetVerticesInGraphSpace_mFD3B0AE6576FC60EAAA3B5BCBE8AA14DC586FECE(__this, (&V_0), (&V_1), (&V_2), NULL);
// if ((long)(b.x - a.x) * (long)(p.z - a.z) - (long)(p.x - a.x) * (long)(b.z - a.z) > 0) return false;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = V_1;
int32_t L_1 = L_0.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2 = V_0;
int32_t L_3 = L_2.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4 = ___0_p;
int32_t L_5 = L_4.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_6 = V_0;
int32_t L_7 = L_6.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_8 = ___0_p;
int32_t L_9 = L_8.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_10 = V_0;
int32_t L_11 = L_10.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_12 = V_1;
int32_t L_13 = L_12.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_14 = V_0;
int32_t L_15 = L_14.___z_2;
if ((((int64_t)((int64_t)il2cpp_codegen_subtract(((int64_t)il2cpp_codegen_multiply(((int64_t)((int32_t)il2cpp_codegen_subtract(L_1, L_3))), ((int64_t)((int32_t)il2cpp_codegen_subtract(L_5, L_7))))), ((int64_t)il2cpp_codegen_multiply(((int64_t)((int32_t)il2cpp_codegen_subtract(L_9, L_11))), ((int64_t)((int32_t)il2cpp_codegen_subtract(L_13, L_15)))))))) <= ((int64_t)((int64_t)0))))
{
goto IL_004d;
}
}
{
// if ((long)(b.x - a.x) * (long)(p.z - a.z) - (long)(p.x - a.x) * (long)(b.z - a.z) > 0) return false;
return (bool)0;
}
IL_004d:
{
// if ((long)(c.x - b.x) * (long)(p.z - b.z) - (long)(p.x - b.x) * (long)(c.z - b.z) > 0) return false;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_16 = V_2;
int32_t L_17 = L_16.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_18 = V_1;
int32_t L_19 = L_18.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_20 = ___0_p;
int32_t L_21 = L_20.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_22 = V_1;
int32_t L_23 = L_22.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_24 = ___0_p;
int32_t L_25 = L_24.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_26 = V_1;
int32_t L_27 = L_26.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_28 = V_2;
int32_t L_29 = L_28.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_30 = V_1;
int32_t L_31 = L_30.___z_2;
if ((((int64_t)((int64_t)il2cpp_codegen_subtract(((int64_t)il2cpp_codegen_multiply(((int64_t)((int32_t)il2cpp_codegen_subtract(L_17, L_19))), ((int64_t)((int32_t)il2cpp_codegen_subtract(L_21, L_23))))), ((int64_t)il2cpp_codegen_multiply(((int64_t)((int32_t)il2cpp_codegen_subtract(L_25, L_27))), ((int64_t)((int32_t)il2cpp_codegen_subtract(L_29, L_31)))))))) <= ((int64_t)((int64_t)0))))
{
goto IL_008e;
}
}
{
// if ((long)(c.x - b.x) * (long)(p.z - b.z) - (long)(p.x - b.x) * (long)(c.z - b.z) > 0) return false;
return (bool)0;
}
IL_008e:
{
// if ((long)(a.x - c.x) * (long)(p.z - c.z) - (long)(p.x - c.x) * (long)(a.z - c.z) > 0) return false;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_32 = V_0;
int32_t L_33 = L_32.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_34 = V_2;
int32_t L_35 = L_34.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_36 = ___0_p;
int32_t L_37 = L_36.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_38 = V_2;
int32_t L_39 = L_38.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_40 = ___0_p;
int32_t L_41 = L_40.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_42 = V_2;
int32_t L_43 = L_42.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_44 = V_0;
int32_t L_45 = L_44.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_46 = V_2;
int32_t L_47 = L_46.___z_2;
if ((((int64_t)((int64_t)il2cpp_codegen_subtract(((int64_t)il2cpp_codegen_multiply(((int64_t)((int32_t)il2cpp_codegen_subtract(L_33, L_35))), ((int64_t)((int32_t)il2cpp_codegen_subtract(L_37, L_39))))), ((int64_t)il2cpp_codegen_multiply(((int64_t)((int32_t)il2cpp_codegen_subtract(L_41, L_43))), ((int64_t)((int32_t)il2cpp_codegen_subtract(L_45, L_47)))))))) <= ((int64_t)((int64_t)0))))
{
goto IL_00cf;
}
}
{
// if ((long)(a.x - c.x) * (long)(p.z - c.z) - (long)(p.x - c.x) * (long)(a.z - c.z) > 0) return false;
return (bool)0;
}
IL_00cf:
{
// return true;
return (bool)1;
}
}
// System.Void Pathfinding.TriangleMeshNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_UpdateRecursiveG_mBBE4362D3E2F0207651CEDFFCACFF72D8A9E76FD (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
{
int32_t V_0 = 0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_1 = NULL;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_2 = NULL;
{
// pathNode.UpdateG(path);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_0 = ___1_pathNode;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_1 = ___0_path;
NullCheck(L_0);
PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86(L_0, L_1, NULL);
// handler.heap.Add(pathNode);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_2 = ___2_handler;
NullCheck(L_2);
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_3 = L_2->___heap_3;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_4 = ___1_pathNode;
NullCheck(L_3);
BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4(L_3, L_4, NULL);
// if (connections == null) return;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
if (L_5)
{
goto IL_001c;
}
}
{
// if (connections == null) return;
return;
}
IL_001c:
{
// for (int i = 0; i < connections.Length; i++) {
V_0 = 0;
goto IL_005e;
}
IL_0020:
{
// GraphNode other = connections[i].node;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_6 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
int32_t L_7 = V_0;
NullCheck(L_6);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_8 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))->___node_0;
V_1 = L_8;
// PathNode otherPN = handler.GetPathNode(other);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_9 = ___2_handler;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_10 = V_1;
NullCheck(L_9);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_11;
L_11 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_9, L_10, NULL);
V_2 = L_11;
// if (otherPN.parent == pathNode && otherPN.pathID == handler.PathID) other.UpdateRecursiveG(path, otherPN, handler);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_12 = V_2;
NullCheck(L_12);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_13 = L_12->___parent_1;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_14 = ___1_pathNode;
if ((!(((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_13) == ((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_14))))
{
goto IL_005a;
}
}
{
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_15 = V_2;
NullCheck(L_15);
uint16_t L_16 = L_15->___pathID_2;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_17 = ___2_handler;
NullCheck(L_17);
uint16_t L_18;
L_18 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_17, NULL);
if ((!(((uint32_t)L_16) == ((uint32_t)L_18))))
{
goto IL_005a;
}
}
{
// if (otherPN.parent == pathNode && otherPN.pathID == handler.PathID) other.UpdateRecursiveG(path, otherPN, handler);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_19 = V_1;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_20 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_21 = V_2;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_22 = ___2_handler;
NullCheck(L_19);
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_19, L_20, L_21, L_22);
}
IL_005a:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_23 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_23, 1));
}
IL_005e:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_24 = V_0;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_25 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
NullCheck(L_25);
if ((((int32_t)L_24) < ((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length)))))
{
goto IL_0020;
}
}
{
// }
return;
}
}
// System.Void Pathfinding.TriangleMeshNode::Open(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_Open_mF64B7E5F603E55DA9D6527F2A6C4C43E56C723A7 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t V_1 = 0;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 V_2;
memset((&V_2), 0, sizeof(V_2));
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_3 = NULL;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_4 = NULL;
uint32_t V_5 = 0;
{
// if (connections == null) return;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
if (L_0)
{
goto IL_0009;
}
}
{
// if (connections == null) return;
return;
}
IL_0009:
{
// bool flag2 = pathNode.flag2;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_1 = ___1_pathNode;
NullCheck(L_1);
bool L_2;
L_2 = PathNode_get_flag2_mC736180A7E80447EE033429097B927B0418B5E89(L_1, NULL);
V_0 = L_2;
// for (int i = connections.Length-1; i >= 0; i--) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
NullCheck(L_3);
V_1 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_3)->max_length)), 1));
goto IL_011d;
}
IL_0020:
{
// var conn = connections[i];
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_4 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
int32_t L_5 = V_1;
NullCheck(L_4);
int32_t L_6 = L_5;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
V_2 = L_7;
// var other = conn.node;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_8 = V_2;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = L_8.___node_0;
V_3 = L_9;
// if (path.CanTraverse(conn.node)) {
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_10 = ___0_path;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_11 = V_2;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_12 = L_11.___node_0;
NullCheck(L_10);
bool L_13;
L_13 = Path_CanTraverse_m6591EBB82B68115ECC6D103EBF00414BDDC0A308(L_10, L_12, NULL);
if (!L_13)
{
goto IL_0119;
}
}
{
// PathNode pathOther = handler.GetPathNode(conn.node);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_14 = ___2_handler;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_15 = V_2;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_16 = L_15.___node_0;
NullCheck(L_14);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_17;
L_17 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_14, L_16, NULL);
V_4 = L_17;
// if (pathOther == pathNode.parent) {
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_18 = V_4;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_19 = ___1_pathNode;
NullCheck(L_19);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_20 = L_19->___parent_1;
if ((((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_18) == ((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_20)))
{
goto IL_0119;
}
}
{
// uint cost = conn.cost;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_21 = V_2;
uint32_t L_22 = L_21.___cost_1;
V_5 = L_22;
// if (flag2 || pathOther.flag2) {
bool L_23 = V_0;
if (L_23)
{
goto IL_0074;
}
}
{
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_24 = V_4;
NullCheck(L_24);
bool L_25;
L_25 = PathNode_get_flag2_mC736180A7E80447EE033429097B927B0418B5E89(L_24, NULL);
if (!L_25)
{
goto IL_0085;
}
}
IL_0074:
{
// cost = path.GetConnectionSpecialCost(this, conn.node, cost);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_26 = ___0_path;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_27 = V_2;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_28 = L_27.___node_0;
uint32_t L_29 = V_5;
NullCheck(L_26);
uint32_t L_30;
L_30 = VirtualFuncInvoker3< uint32_t, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, uint32_t >::Invoke(18 /* System.UInt32 Pathfinding.Path::GetConnectionSpecialCost(Pathfinding.GraphNode,Pathfinding.GraphNode,System.UInt32) */, L_26, __this, L_28, L_29);
V_5 = L_30;
}
IL_0085:
{
// if (pathOther.pathID != handler.PathID) {
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_31 = V_4;
NullCheck(L_31);
uint16_t L_32 = L_31->___pathID_2;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_33 = ___2_handler;
NullCheck(L_33);
uint16_t L_34;
L_34 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_33, NULL);
if ((((int32_t)L_32) == ((int32_t)L_34)))
{
goto IL_00e4;
}
}
{
// pathOther.node = conn.node;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_35 = V_4;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_36 = V_2;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_37 = L_36.___node_0;
NullCheck(L_35);
L_35->___node_0 = L_37;
Il2CppCodeGenWriteBarrier((void**)(&L_35->___node_0), (void*)L_37);
// pathOther.parent = pathNode;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_38 = V_4;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_39 = ___1_pathNode;
NullCheck(L_38);
L_38->___parent_1 = L_39;
Il2CppCodeGenWriteBarrier((void**)(&L_38->___parent_1), (void*)L_39);
// pathOther.pathID = handler.PathID;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_40 = V_4;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_41 = ___2_handler;
NullCheck(L_41);
uint16_t L_42;
L_42 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_41, NULL);
NullCheck(L_40);
L_40->___pathID_2 = L_42;
// pathOther.cost = cost;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_43 = V_4;
uint32_t L_44 = V_5;
NullCheck(L_43);
PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B(L_43, L_44, NULL);
// pathOther.H = path.CalculateHScore(other);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_45 = V_4;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_46 = ___0_path;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_47 = V_3;
NullCheck(L_46);
uint32_t L_48;
L_48 = Path_CalculateHScore_m2DC595B3B0268A737F8E956819C3F14C5663BD13(L_46, L_47, NULL);
NullCheck(L_45);
PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138_inline(L_45, L_48, NULL);
// pathOther.UpdateG(path);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_49 = V_4;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_50 = ___0_path;
NullCheck(L_49);
PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86(L_49, L_50, NULL);
// handler.heap.Add(pathOther);
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_51 = ___2_handler;
NullCheck(L_51);
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_52 = L_51->___heap_3;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_53 = V_4;
NullCheck(L_52);
BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4(L_52, L_53, NULL);
goto IL_0119;
}
IL_00e4:
{
// if (pathNode.G + cost + path.GetTraversalCost(other) < pathOther.G) {
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_54 = ___1_pathNode;
NullCheck(L_54);
uint32_t L_55;
L_55 = PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline(L_54, NULL);
uint32_t L_56 = V_5;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_57 = ___0_path;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_58 = V_3;
NullCheck(L_57);
uint32_t L_59;
L_59 = Path_GetTraversalCost_mC9C3D703DF4EB5AF7B3B8C61CD7F952063E4D1B1(L_57, L_58, NULL);
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_60 = V_4;
NullCheck(L_60);
uint32_t L_61;
L_61 = PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline(L_60, NULL);
if ((!(((uint32_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add((int32_t)L_55, (int32_t)L_56)), (int32_t)L_59))) < ((uint32_t)L_61))))
{
goto IL_0119;
}
}
{
// pathOther.cost = cost;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_62 = V_4;
uint32_t L_63 = V_5;
NullCheck(L_62);
PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B(L_62, L_63, NULL);
// pathOther.parent = pathNode;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_64 = V_4;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_65 = ___1_pathNode;
NullCheck(L_64);
L_64->___parent_1 = L_65;
Il2CppCodeGenWriteBarrier((void**)(&L_64->___parent_1), (void*)L_65);
// other.UpdateRecursiveG(path, pathOther, handler);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_66 = V_3;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_67 = ___0_path;
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_68 = V_4;
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_69 = ___2_handler;
NullCheck(L_66);
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_66, L_67, L_68, L_69);
}
IL_0119:
{
// for (int i = connections.Length-1; i >= 0; i--) {
int32_t L_70 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract(L_70, 1));
}
IL_011d:
{
// for (int i = connections.Length-1; i >= 0; i--) {
int32_t L_71 = V_1;
if ((((int32_t)L_71) >= ((int32_t)0)))
{
goto IL_0020;
}
}
{
// }
return;
}
}
// System.Int32 Pathfinding.TriangleMeshNode::SharedEdge(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleMeshNode_SharedEdge_m2B14A28F6A1DB044EAB7741927A09CAE35934189 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_other, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// var edge = -1;
V_0 = (-1);
// if (connections != null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
if (!L_0)
{
goto IL_0043;
}
}
{
// for (int i = 0; i < connections.Length; i++) {
V_1 = 0;
goto IL_0038;
}
IL_000e:
{
// if (connections[i].node == other) edge = connections[i].shapeEdge;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
int32_t L_2 = V_1;
NullCheck(L_1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___node_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_other;
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_3) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_4))))
{
goto IL_0034;
}
}
{
// if (connections[i].node == other) edge = connections[i].shapeEdge;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
int32_t L_6 = V_1;
NullCheck(L_5);
uint8_t L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)))->___shapeEdge_2;
V_0 = L_7;
}
IL_0034:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_8 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_8, 1));
}
IL_0038:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_9 = V_1;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_10 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
NullCheck(L_10);
if ((((int32_t)L_9) < ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
{
goto IL_000e;
}
}
IL_0043:
{
// return edge;
int32_t L_11 = V_0;
return L_11;
}
}
// System.Boolean Pathfinding.TriangleMeshNode::GetPortal(Pathfinding.GraphNode,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TriangleMeshNode_GetPortal_mA311D316D53A76DF08772BC3C51332B15DEB7377 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_toNode, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_left, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___2_right, bool ___3_backwards, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// return GetPortal(toNode, left, right, backwards, out aIndex, out bIndex);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_toNode;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = ___1_left;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_2 = ___2_right;
bool L_3 = ___3_backwards;
bool L_4;
L_4 = TriangleMeshNode_GetPortal_mD6640BD4885273CC931E6FDBD00B15A59292B0FC(__this, L_0, L_1, L_2, L_3, (&V_0), (&V_1), NULL);
return L_4;
}
}
// System.Boolean Pathfinding.TriangleMeshNode::GetPortal(Pathfinding.GraphNode,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Boolean,System.Int32&,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TriangleMeshNode_GetPortal_mD6640BD4885273CC931E6FDBD00B15A59292B0FC (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_toNode, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_left, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___2_right, bool ___3_backwards, int32_t* ___4_aIndex, int32_t* ___5_bIndex, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_0 = NULL;
int32_t V_1 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_2;
memset((&V_2), 0, sizeof(V_2));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_3;
memset((&V_3), 0, sizeof(V_3));
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94* V_7 = NULL;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t V_10 = 0;
int32_t V_11 = 0;
int32_t V_12 = 0;
int32_t V_13 = 0;
int32_t V_14 = 0;
int32_t V_15 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_16;
memset((&V_16), 0, sizeof(V_16));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_17;
memset((&V_17), 0, sizeof(V_17));
{
// aIndex = -1;
int32_t* L_0 = ___4_aIndex;
*((int32_t*)L_0) = (int32_t)(-1);
// bIndex = -1;
int32_t* L_1 = ___5_bIndex;
*((int32_t*)L_1) = (int32_t)(-1);
// if (backwards || toNode.GraphIndex != GraphIndex) return false;
bool L_2 = ___3_backwards;
if (L_2)
{
goto IL_001a;
}
}
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ___0_toNode;
NullCheck(L_3);
uint32_t L_4;
L_4 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(L_3, NULL);
uint32_t L_5;
L_5 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
if ((((int32_t)L_4) == ((int32_t)L_5)))
{
goto IL_001c;
}
}
IL_001a:
{
// if (backwards || toNode.GraphIndex != GraphIndex) return false;
return (bool)0;
}
IL_001c:
{
// var toTriNode = toNode as TriangleMeshNode;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_6 = ___0_toNode;
V_0 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)IsInstClass((RuntimeObject*)L_6, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var));
// var edge = SharedEdge(toTriNode);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_7 = V_0;
int32_t L_8;
L_8 = TriangleMeshNode_SharedEdge_m2B14A28F6A1DB044EAB7741927A09CAE35934189(__this, L_7, NULL);
V_1 = L_8;
// if (edge == 0xFF) return false;
int32_t L_9 = V_1;
if ((!(((uint32_t)L_9) == ((uint32_t)((int32_t)255)))))
{
goto IL_0035;
}
}
{
// if (edge == 0xFF) return false;
return (bool)0;
}
IL_0035:
{
// if (edge == -1) {
int32_t L_10 = V_1;
if ((!(((uint32_t)L_10) == ((uint32_t)(-1)))))
{
goto IL_00af;
}
}
{
// if (connections != null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_11 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
if (!L_11)
{
goto IL_00ad;
}
}
{
// for (int i = 0; i < connections.Length; i++) {
V_6 = 0;
goto IL_00a1;
}
IL_0046:
{
// if (connections[i].node.GraphIndex != GraphIndex) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_12 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
int32_t L_13 = V_6;
NullCheck(L_12);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___node_0;
NullCheck(L_14);
uint32_t L_15;
L_15 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(L_14, NULL);
uint32_t L_16;
L_16 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
if ((((int32_t)L_15) == ((int32_t)L_16)))
{
goto IL_009b;
}
}
{
// var mid = connections[i].node as NodeLink3Node;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_17 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
int32_t L_18 = V_6;
NullCheck(L_17);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_19 = ((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_18)))->___node_0;
V_7 = ((NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94*)IsInstClass((RuntimeObject*)L_19, NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94_il2cpp_TypeInfo_var));
// if (mid != null && mid.GetOther(this) == toTriNode) {
NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94* L_20 = V_7;
if (!L_20)
{
goto IL_009b;
}
}
{
NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94* L_21 = V_7;
NullCheck(L_21);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_22;
L_22 = NodeLink3Node_GetOther_mDA6AB45F60111954381ABA0F917514F33F9B0E0A(L_21, __this, NULL);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_23 = V_0;
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_22) == ((RuntimeObject*)(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)L_23))))
{
goto IL_009b;
}
}
{
// mid.GetPortal(toTriNode, left, right, false);
NodeLink3Node_t5913FCC9D91BB2A722E03B63A641112371960F94* L_24 = V_7;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_25 = V_0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_26 = ___1_left;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_27 = ___2_right;
NullCheck(L_24);
bool L_28;
L_28 = VirtualFuncInvoker4< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, bool >::Invoke(10 /* System.Boolean Pathfinding.GraphNode::GetPortal(Pathfinding.GraphNode,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Boolean) */, L_24, L_25, L_26, L_27, (bool)0);
// return true;
return (bool)1;
}
IL_009b:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_29 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_29, 1));
}
IL_00a1:
{
// for (int i = 0; i < connections.Length; i++) {
int32_t L_30 = V_6;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_31 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)__this)->___connections_20;
NullCheck(L_31);
if ((((int32_t)L_30) < ((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length)))))
{
goto IL_0046;
}
}
IL_00ad:
{
// return false;
return (bool)0;
}
IL_00af:
{
// aIndex = edge;
int32_t* L_32 = ___4_aIndex;
int32_t L_33 = V_1;
*((int32_t*)L_32) = (int32_t)L_33;
// bIndex = (edge + 1) % GetVertexCount();
int32_t* L_34 = ___5_bIndex;
int32_t L_35 = V_1;
int32_t L_36;
L_36 = VirtualFuncInvoker0< int32_t >::Invoke(21 /* System.Int32 Pathfinding.MeshNode::GetVertexCount() */, __this);
*((int32_t*)L_34) = (int32_t)((int32_t)(((int32_t)il2cpp_codegen_add(L_35, 1))%L_36));
// Int3 v1a = GetVertex(edge);
int32_t L_37 = V_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_38;
L_38 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, __this, L_37);
V_2 = L_38;
// Int3 v1b = GetVertex((edge+1) % GetVertexCount());
int32_t L_39 = V_1;
int32_t L_40;
L_40 = VirtualFuncInvoker0< int32_t >::Invoke(21 /* System.Int32 Pathfinding.MeshNode::GetVertexCount() */, __this);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_41;
L_41 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, __this, ((int32_t)(((int32_t)il2cpp_codegen_add(L_39, 1))%L_40)));
V_3 = L_41;
// int tileIndex1 = (GetVertexIndex(0) >> NavmeshBase.TileIndexOffset) & NavmeshBase.TileIndexMask;
int32_t L_42;
L_42 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(__this, 0, NULL);
V_4 = ((int32_t)(((int32_t)(L_42>>((int32_t)12)))&((int32_t)524287)));
// int tileIndex2 = (toTriNode.GetVertexIndex(0) >> NavmeshBase.TileIndexOffset) & NavmeshBase.TileIndexMask;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_43 = V_0;
NullCheck(L_43);
int32_t L_44;
L_44 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_43, 0, NULL);
V_5 = ((int32_t)(((int32_t)(L_44>>((int32_t)12)))&((int32_t)524287)));
// if (tileIndex1 != tileIndex2) {
int32_t L_45 = V_4;
int32_t L_46 = V_5;
if ((((int32_t)L_45) == ((int32_t)L_46)))
{
goto IL_0244;
}
}
{
// INavmeshHolder nm = GetNavmeshHolder(GraphIndex);
uint32_t L_47;
L_47 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_48;
L_48 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_47, NULL);
// nm.GetTileCoordinates(tileIndex1, out x1, out z1);
RuntimeObject* L_49 = L_48;
int32_t L_50 = V_4;
NullCheck(L_49);
InterfaceActionInvoker3< int32_t, int32_t*, int32_t* >::Invoke(3 /* System.Void Pathfinding.INavmeshHolder::GetTileCoordinates(System.Int32,System.Int32&,System.Int32&) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_49, L_50, (&V_8), (&V_10));
// nm.GetTileCoordinates(tileIndex2, out x2, out z2);
int32_t L_51 = V_5;
NullCheck(L_49);
InterfaceActionInvoker3< int32_t, int32_t*, int32_t* >::Invoke(3 /* System.Void Pathfinding.INavmeshHolder::GetTileCoordinates(System.Int32,System.Int32&,System.Int32&) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_49, L_51, (&V_9), (&V_11));
// if (System.Math.Abs(x1-x2) == 1) coord = 2;
int32_t L_52 = V_8;
int32_t L_53 = V_9;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
int32_t L_54;
L_54 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_52, L_53)));
if ((!(((uint32_t)L_54) == ((uint32_t)1))))
{
goto IL_013a;
}
}
{
// if (System.Math.Abs(x1-x2) == 1) coord = 2;
V_12 = 2;
goto IL_014e;
}
IL_013a:
{
// else if (System.Math.Abs(z1-z2) == 1) coord = 0;
int32_t L_55 = V_10;
int32_t L_56 = V_11;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
int32_t L_57;
L_57 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_55, L_56)));
if ((!(((uint32_t)L_57) == ((uint32_t)1))))
{
goto IL_014c;
}
}
{
// else if (System.Math.Abs(z1-z2) == 1) coord = 0;
V_12 = 0;
goto IL_014e;
}
IL_014c:
{
// else return false; // Tiles are not adjacent. This is likely a custom connection between two nodes.
return (bool)0;
}
IL_014e:
{
// var otherEdge = toTriNode.SharedEdge(this);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_58 = V_0;
NullCheck(L_58);
int32_t L_59;
L_59 = TriangleMeshNode_SharedEdge_m2B14A28F6A1DB044EAB7741927A09CAE35934189(L_58, __this, NULL);
V_13 = L_59;
// if (otherEdge == 0xFF) throw new System.Exception("Connection used edge in one direction, but not in the other direction. Has the wrong overload of AddConnection been used?");
int32_t L_60 = V_13;
if ((!(((uint32_t)L_60) == ((uint32_t)((int32_t)255)))))
{
goto IL_016b;
}
}
{
// if (otherEdge == 0xFF) throw new System.Exception("Connection used edge in one direction, but not in the other direction. Has the wrong overload of AddConnection been used?");
Exception_t* L_61 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
NullCheck(L_61);
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_61, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral1E4942D9212F2988432D6A5434D4D56E49892512)), NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_61, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TriangleMeshNode_GetPortal_mD6640BD4885273CC931E6FDBD00B15A59292B0FC_RuntimeMethod_var)));
}
IL_016b:
{
// if (otherEdge != -1) {
int32_t L_62 = V_13;
if ((((int32_t)L_62) == ((int32_t)(-1))))
{
goto IL_0244;
}
}
{
// int mincoord = System.Math.Min(v1a[coord], v1b[coord]);
int32_t L_63 = V_12;
int32_t L_64;
L_64 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_2), L_63, NULL);
int32_t L_65 = V_12;
int32_t L_66;
L_66 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_3), L_65, NULL);
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
int32_t L_67;
L_67 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_64, L_66, NULL);
V_14 = L_67;
// int maxcoord = System.Math.Max(v1a[coord], v1b[coord]);
int32_t L_68 = V_12;
int32_t L_69;
L_69 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_2), L_68, NULL);
int32_t L_70 = V_12;
int32_t L_71;
L_71 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_3), L_70, NULL);
int32_t L_72;
L_72 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_69, L_71, NULL);
V_15 = L_72;
// Int3 v2a = toTriNode.GetVertex(otherEdge);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_73 = V_0;
int32_t L_74 = V_13;
NullCheck(L_73);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_75;
L_75 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_73, L_74);
V_16 = L_75;
// Int3 v2b = toTriNode.GetVertex((otherEdge+1) % toTriNode.GetVertexCount());
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_76 = V_0;
int32_t L_77 = V_13;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_78 = V_0;
NullCheck(L_78);
int32_t L_79;
L_79 = VirtualFuncInvoker0< int32_t >::Invoke(21 /* System.Int32 Pathfinding.MeshNode::GetVertexCount() */, L_78);
NullCheck(L_76);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_80;
L_80 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_76, ((int32_t)(((int32_t)il2cpp_codegen_add(L_77, 1))%L_79)));
V_17 = L_80;
// mincoord = System.Math.Max(mincoord, System.Math.Min(v2a[coord], v2b[coord]));
int32_t L_81 = V_14;
int32_t L_82 = V_12;
int32_t L_83;
L_83 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_16), L_82, NULL);
int32_t L_84 = V_12;
int32_t L_85;
L_85 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_17), L_84, NULL);
int32_t L_86;
L_86 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_83, L_85, NULL);
int32_t L_87;
L_87 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_81, L_86, NULL);
V_14 = L_87;
// maxcoord = System.Math.Min(maxcoord, System.Math.Max(v2a[coord], v2b[coord]));
int32_t L_88 = V_15;
int32_t L_89 = V_12;
int32_t L_90;
L_90 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_16), L_89, NULL);
int32_t L_91 = V_12;
int32_t L_92;
L_92 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_17), L_91, NULL);
int32_t L_93;
L_93 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_90, L_92, NULL);
int32_t L_94;
L_94 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_88, L_93, NULL);
V_15 = L_94;
// if (v1a[coord] < v1b[coord]) {
int32_t L_95 = V_12;
int32_t L_96;
L_96 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_2), L_95, NULL);
int32_t L_97 = V_12;
int32_t L_98;
L_98 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_3), L_97, NULL);
if ((((int32_t)L_96) >= ((int32_t)L_98)))
{
goto IL_022e;
}
}
{
// v1a[coord] = mincoord;
int32_t L_99 = V_12;
int32_t L_100 = V_14;
Int3_set_Item_m229C7D4C1C6C06A0D7E8843A4FFB0AD586CFF61D((&V_2), L_99, L_100, NULL);
// v1b[coord] = maxcoord;
int32_t L_101 = V_12;
int32_t L_102 = V_15;
Int3_set_Item_m229C7D4C1C6C06A0D7E8843A4FFB0AD586CFF61D((&V_3), L_101, L_102, NULL);
goto IL_0244;
}
IL_022e:
{
// v1a[coord] = maxcoord;
int32_t L_103 = V_12;
int32_t L_104 = V_15;
Int3_set_Item_m229C7D4C1C6C06A0D7E8843A4FFB0AD586CFF61D((&V_2), L_103, L_104, NULL);
// v1b[coord] = mincoord;
int32_t L_105 = V_12;
int32_t L_106 = V_14;
Int3_set_Item_m229C7D4C1C6C06A0D7E8843A4FFB0AD586CFF61D((&V_3), L_105, L_106, NULL);
}
IL_0244:
{
// if (left != null) {
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_107 = ___1_left;
if (!L_107)
{
goto IL_025f;
}
}
{
// left.Add((Vector3)v1a);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_108 = ___1_left;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_109 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110;
L_110 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_109, NULL);
NullCheck(L_108);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_108, L_110, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// right.Add((Vector3)v1b);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_111 = ___2_right;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_112 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_113;
L_113 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_112, NULL);
NullCheck(L_111);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_111, L_113, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
}
IL_025f:
{
// return true;
return (bool)1;
}
}
// System.Single Pathfinding.TriangleMeshNode::SurfaceArea()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TriangleMeshNode_SurfaceArea_m3F5F1CE0D8FC8A071D174A2C5B4560E14F92A5B8 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
{
// var holder = GetNavmeshHolder(GraphIndex);
uint32_t L_0;
L_0 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_1;
L_1 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_0, NULL);
V_0 = L_1;
// return System.Math.Abs(VectorMath.SignedTriangleAreaTimes2XZ(holder.GetVertex(v0), holder.GetVertex(v1), holder.GetVertex(v2))) * 0.5f;
RuntimeObject* L_2 = V_0;
int32_t L_3 = __this->___v0_21;
NullCheck(L_2);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4;
L_4 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_2, L_3);
RuntimeObject* L_5 = V_0;
int32_t L_6 = __this->___v1_22;
NullCheck(L_5);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_7;
L_7 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_5, L_6);
RuntimeObject* L_8 = V_0;
int32_t L_9 = __this->___v2_23;
NullCheck(L_8);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_10;
L_10 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_8, L_9);
int64_t L_11;
L_11 = VectorMath_SignedTriangleAreaTimes2XZ_m9C72088E8AB173B4FDC393F2C7963E3954C055BE(L_4, L_7, L_10, NULL);
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
int64_t L_12;
L_12 = il2cpp_codegen_abs(L_11);
return ((float)il2cpp_codegen_multiply(((float)L_12), (0.5f)));
}
}
// UnityEngine.Vector3 Pathfinding.TriangleMeshNode::RandomPointOnSurface()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TriangleMeshNode_RandomPointOnSurface_mEC1A9825E8AEF4ACFF45074102C68E580E844DBD (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
RuntimeObject* V_2 = NULL;
IL_0000:
{
// r1 = Random.value;
float L_0;
L_0 = Random_get_value_m2CEA87FADF5222EF9E13D32695F15E2BA282E24B(NULL);
V_0 = L_0;
// r2 = Random.value;
float L_1;
L_1 = Random_get_value_m2CEA87FADF5222EF9E13D32695F15E2BA282E24B(NULL);
V_1 = L_1;
// } while (r1+r2 > 1);
float L_2 = V_0;
float L_3 = V_1;
if ((((float)((float)il2cpp_codegen_add(L_2, L_3))) > ((float)(1.0f))))
{
goto IL_0000;
}
}
{
// var holder = GetNavmeshHolder(GraphIndex);
uint32_t L_4;
L_4 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
RuntimeObject* L_5;
L_5 = TriangleMeshNode_GetNavmeshHolder_mA4FF34073384CF4BC298989501D8C45B9CEA505A(L_4, NULL);
V_2 = L_5;
// return ((Vector3)(holder.GetVertex(v1)-holder.GetVertex(v0)))*r1 + ((Vector3)(holder.GetVertex(v2)-holder.GetVertex(v0)))*r2 + (Vector3)holder.GetVertex(v0);
RuntimeObject* L_6 = V_2;
int32_t L_7 = __this->___v1_22;
NullCheck(L_6);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_8;
L_8 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_6, L_7);
RuntimeObject* L_9 = V_2;
int32_t L_10 = __this->___v0_21;
NullCheck(L_9);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_11;
L_11 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_9, L_10);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_12;
L_12 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_8, L_11, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
L_13 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_12, NULL);
float L_14 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
L_15 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_13, L_14, NULL);
RuntimeObject* L_16 = V_2;
int32_t L_17 = __this->___v2_23;
NullCheck(L_16);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_18;
L_18 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_16, L_17);
RuntimeObject* L_19 = V_2;
int32_t L_20 = __this->___v0_21;
NullCheck(L_19);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_21;
L_21 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_19, L_20);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_22;
L_22 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_18, L_21, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
L_23 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_22, NULL);
float L_24 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_23, L_24, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
L_26 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_25, NULL);
RuntimeObject* L_27 = V_2;
int32_t L_28 = __this->___v0_21;
NullCheck(L_27);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_29;
L_29 = InterfaceFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(0 /* Pathfinding.Int3 Pathfinding.INavmeshHolder::GetVertex(System.Int32) */, INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81_il2cpp_TypeInfo_var, L_27, L_28);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
L_30 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_29, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
L_31 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_26, L_30, NULL);
return L_31;
}
}
// System.Void Pathfinding.TriangleMeshNode::SerializeNode(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_SerializeNode_m5637AE2A41923D10013222360F3A80ABA58B6B61 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
{
// base.SerializeNode(ctx);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
GraphNode_SerializeNode_mD33B9C61E7205A8A098807428025CF2FF4626DDA(__this, L_0, NULL);
// ctx.writer.Write(v0);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
NullCheck(L_1);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_2 = L_1->___writer_2;
int32_t L_3 = __this->___v0_21;
NullCheck(L_2);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_2, L_3);
// ctx.writer.Write(v1);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_4 = ___0_ctx;
NullCheck(L_4);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_5 = L_4->___writer_2;
int32_t L_6 = __this->___v1_22;
NullCheck(L_5);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_5, L_6);
// ctx.writer.Write(v2);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_7 = ___0_ctx;
NullCheck(L_7);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_8 = L_7->___writer_2;
int32_t L_9 = __this->___v2_23;
NullCheck(L_8);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_8, L_9);
// }
return;
}
}
// System.Void Pathfinding.TriangleMeshNode::DeserializeNode(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_DeserializeNode_mFD31C6F2D21392CB1EB9F972F70F97972A9857DC (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
{
// base.DeserializeNode(ctx);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
GraphNode_DeserializeNode_mE353ED15276B00A0A798066891B1FF38B91EF1CA(__this, L_0, NULL);
// v0 = ctx.reader.ReadInt32();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
NullCheck(L_1);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_2 = L_1->___reader_1;
NullCheck(L_2);
int32_t L_3;
L_3 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_2);
__this->___v0_21 = L_3;
// v1 = ctx.reader.ReadInt32();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_4 = ___0_ctx;
NullCheck(L_4);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_5 = L_4->___reader_1;
NullCheck(L_5);
int32_t L_6;
L_6 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_5);
__this->___v1_22 = L_6;
// v2 = ctx.reader.ReadInt32();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_7 = ___0_ctx;
NullCheck(L_7);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_8 = L_7->___reader_1;
NullCheck(L_8);
int32_t L_9;
L_9 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_8);
__this->___v2_23 = L_9;
// }
return;
}
}
// System.Void Pathfinding.TriangleMeshNode::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode__cctor_mD456F18CF852B7B3B3DECCDAFEFB78528CD27088 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// protected static INavmeshHolder[] _navmeshHolders = new INavmeshHolder[0];
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* L_0 = (INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E*)(INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E*)SZArrayNew(INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E_il2cpp_TypeInfo_var, (uint32_t)0);
((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->____navmeshHolders_24 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->____navmeshHolders_24), (void*)L_0);
// protected static readonly System.Object lockObject = new System.Object();
RuntimeObject* L_1 = (RuntimeObject*)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
NullCheck(L_1);
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(L_1, NULL);
((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->___lockObject_25 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields*)il2cpp_codegen_static_fields_for(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var))->___lockObject_25), (void*)L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Pathfinding.PointGraph::get_nodeCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method)
{
{
// public int nodeCount { get; protected set; }
int32_t L_0 = __this->___U3CnodeCountU3Ek__BackingField_23;
return L_0;
}
}
// System.Void Pathfinding.PointGraph::set_nodeCount(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_set_nodeCount_m54C70E397E4891F8B7FFEC013D17E8FB8647A148 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, int32_t ___0_value, const RuntimeMethod* method)
{
{
// public int nodeCount { get; protected set; }
int32_t L_0 = ___0_value;
__this->___U3CnodeCountU3Ek__BackingField_23 = L_0;
return;
}
}
// System.Int32 Pathfinding.PointGraph::CountNodes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PointGraph_CountNodes_mB017D57512A5E7A436A633D21008BBE21C488ACB (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method)
{
{
// return nodeCount;
int32_t L_0;
L_0 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(__this, NULL);
return L_0;
}
}
// System.Void Pathfinding.PointGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_GetNodes_m2EEDF04E60BF626BE048DEC449D19279ED64A5D9 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___0_action, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// if (nodes == null) return;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_0 = __this->___nodes_21;
if (L_0)
{
goto IL_0009;
}
}
{
// if (nodes == null) return;
return;
}
IL_0009:
{
// var count = nodeCount;
int32_t L_1;
L_1 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(__this, NULL);
V_0 = L_1;
// for (int i = 0; i < count; i++) action(nodes[i]);
V_1 = 0;
goto IL_0026;
}
IL_0014:
{
// for (int i = 0; i < count; i++) action(nodes[i]);
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_2 = ___0_action;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_3 = __this->___nodes_21;
int32_t L_4 = V_1;
NullCheck(L_3);
int32_t L_5 = L_4;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
NullCheck(L_2);
Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline(L_2, L_6, NULL);
// for (int i = 0; i < count; i++) action(nodes[i]);
int32_t L_7 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
}
IL_0026:
{
// for (int i = 0; i < count; i++) action(nodes[i]);
int32_t L_8 = V_1;
int32_t L_9 = V_0;
if ((((int32_t)L_8) < ((int32_t)L_9)))
{
goto IL_0014;
}
}
{
// }
return;
}
}
// Pathfinding.NNInfoInternal Pathfinding.PointGraph::GetNearest(UnityEngine.Vector3,Pathfinding.NNConstraint,Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 PointGraph_GetNearest_mFB176AD4B8494129A59B59D48ED7059D80A67080 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___2_hint, const RuntimeMethod* method)
{
{
// return GetNearestInternal(position, constraint, true);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_1 = ___1_constraint;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_2;
L_2 = PointGraph_GetNearestInternal_m0E63F6E2618920BCE9313BB9A2C76065572046D1(__this, L_0, L_1, (bool)1, NULL);
return L_2;
}
}
// Pathfinding.NNInfoInternal Pathfinding.PointGraph::GetNearestForce(UnityEngine.Vector3,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 PointGraph_GetNearestForce_m74B96CB4FDE1F495C39DD2946BB8B433CED68C2B (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method)
{
{
// return GetNearestInternal(position, constraint, false);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_1 = ___1_constraint;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_2;
L_2 = PointGraph_GetNearestInternal_m0E63F6E2618920BCE9313BB9A2C76065572046D1(__this, L_0, L_1, (bool)0, NULL);
return L_2;
}
}
// Pathfinding.NNInfoInternal Pathfinding.PointGraph::GetNearestInternal(UnityEngine.Vector3,Pathfinding.NNConstraint,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 PointGraph_GetNearestInternal_m0E63F6E2618920BCE9313BB9A2C76065572046D1 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, bool ___2_fastCheck, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_0;
memset((&V_0), 0, sizeof(V_0));
float V_1 = 0.0f;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_2;
memset((&V_2), 0, sizeof(V_2));
int64_t V_3 = 0;
int64_t V_4 = 0;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_5;
memset((&V_5), 0, sizeof(V_5));
int32_t V_6 = 0;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* V_7 = NULL;
int64_t V_8 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_9;
memset((&V_9), 0, sizeof(V_9));
float G_B6_0 = 0.0f;
{
// if (nodes == null) return new NNInfoInternal();
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_0 = __this->___nodes_21;
if (L_0)
{
goto IL_0013;
}
}
{
// if (nodes == null) return new NNInfoInternal();
il2cpp_codegen_initobj((&V_5), sizeof(NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801));
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_1 = V_5;
return L_1;
}
IL_0013:
{
// var iposition = (Int3)position;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_position;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_3;
L_3 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_2, NULL);
V_0 = L_3;
// float maxDistSqr = constraint == null || constraint.constrainDistance ? AstarPath.active.maxNearestNodeDistanceSqr : float.PositiveInfinity;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_4 = ___1_constraint;
if (!L_4)
{
goto IL_002c;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_5 = ___1_constraint;
NullCheck(L_5);
bool L_6 = L_5->___constrainDistance_8;
if (L_6)
{
goto IL_002c;
}
}
{
G_B6_0 = (std::numeric_limits<float>::infinity());
goto IL_0036;
}
IL_002c:
{
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_7 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
NullCheck(L_7);
float L_8;
L_8 = AstarPath_get_maxNearestNodeDistanceSqr_mFED817A3319393CD0214F4C95AC9A38475AA75B0(L_7, NULL);
G_B6_0 = L_8;
}
IL_0036:
{
V_1 = G_B6_0;
// maxDistSqr *= Int3.FloatPrecision * Int3.FloatPrecision;
float L_9 = V_1;
V_1 = ((float)il2cpp_codegen_multiply(L_9, (1000000.0f)));
// var nnInfo = new NNInfoInternal(null);
NNInfoInternal__ctor_mAF15F2D3925A1F1AF14425DAE40F6FD9168258E1((&V_2), (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL, NULL);
// long minDist = long.MaxValue;
V_3 = ((int64_t)(std::numeric_limits<int64_t>::max)());
// long minConstDist = long.MaxValue;
V_4 = ((int64_t)(std::numeric_limits<int64_t>::max)());
// for (int i = 0; i < nodeCount; i++) {
V_6 = 0;
goto IL_00c1;
}
IL_0061:
{
// PointNode node = nodes[i];
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_10 = __this->___nodes_21;
int32_t L_11 = V_6;
NullCheck(L_10);
int32_t L_12 = L_11;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
V_7 = L_13;
// long dist = (iposition - node.position).sqrMagnitudeLong;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_14 = V_0;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_15 = V_7;
NullCheck(L_15);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_16 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_15)->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_17;
L_17 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_14, L_16, NULL);
V_9 = L_17;
int64_t L_18;
L_18 = Int3_get_sqrMagnitudeLong_m8319324D5E2D6785E1C26B09E64E669D8C563482((&V_9), NULL);
V_8 = L_18;
// if (dist < minDist) {
int64_t L_19 = V_8;
int64_t L_20 = V_3;
if ((((int64_t)L_19) >= ((int64_t)L_20)))
{
goto IL_0095;
}
}
{
// minDist = dist;
int64_t L_21 = V_8;
V_3 = L_21;
// nnInfo.node = node;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_22 = V_7;
(&V_2)->___node_0 = L_22;
Il2CppCodeGenWriteBarrier((void**)(&(&V_2)->___node_0), (void*)L_22);
}
IL_0095:
{
// if (dist < minConstDist && (float)dist < maxDistSqr && (constraint == null || constraint.Suitable(node))) {
int64_t L_23 = V_8;
int64_t L_24 = V_4;
if ((((int64_t)L_23) >= ((int64_t)L_24)))
{
goto IL_00bb;
}
}
{
int64_t L_25 = V_8;
float L_26 = V_1;
if ((!(((float)((float)L_25)) < ((float)L_26))))
{
goto IL_00bb;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_27 = ___1_constraint;
if (!L_27)
{
goto IL_00ae;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_28 = ___1_constraint;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_29 = V_7;
NullCheck(L_28);
bool L_30;
L_30 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_28, L_29);
if (!L_30)
{
goto IL_00bb;
}
}
IL_00ae:
{
// minConstDist = dist;
int64_t L_31 = V_8;
V_4 = L_31;
// nnInfo.constrainedNode = node;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_32 = V_7;
(&V_2)->___constrainedNode_1 = L_32;
Il2CppCodeGenWriteBarrier((void**)(&(&V_2)->___constrainedNode_1), (void*)L_32);
}
IL_00bb:
{
// for (int i = 0; i < nodeCount; i++) {
int32_t L_33 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_33, 1));
}
IL_00c1:
{
// for (int i = 0; i < nodeCount; i++) {
int32_t L_34 = V_6;
int32_t L_35;
L_35 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(__this, NULL);
if ((((int32_t)L_34) < ((int32_t)L_35)))
{
goto IL_0061;
}
}
{
// if (!fastCheck) nnInfo.node = nnInfo.constrainedNode;
bool L_36 = ___2_fastCheck;
if (L_36)
{
goto IL_00db;
}
}
{
// if (!fastCheck) nnInfo.node = nnInfo.constrainedNode;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_37 = V_2;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_38 = L_37.___constrainedNode_1;
(&V_2)->___node_0 = L_38;
Il2CppCodeGenWriteBarrier((void**)(&(&V_2)->___node_0), (void*)L_38);
}
IL_00db:
{
// nnInfo.UpdateInfo();
NNInfoInternal_UpdateInfo_m38114F55F54AF9A11A4C913F1502C2DAAFD3492B((&V_2), NULL);
// return nnInfo;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_39 = V_2;
return L_39;
}
}
// Pathfinding.NNInfoInternal Pathfinding.PointGraph::FindClosestConnectionPoint(Pathfinding.PointNode,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 PointGraph_FindClosestConnectionPoint_m95C4F3E576362193AF13B1365072217B9D567CFB (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* ___0_node, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_position, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_1 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
float V_3 = 0.0f;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_4;
memset((&V_4), 0, sizeof(V_4));
int32_t V_5 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
memset((&V_6), 0, sizeof(V_6));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
memset((&V_7), 0, sizeof(V_7));
float V_8 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
memset((&V_9), 0, sizeof(V_9));
{
// var closestConnectionPoint = (Vector3)node.position;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_0 = ___0_node;
NullCheck(L_0);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_1 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_0)->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_1, NULL);
V_0 = L_2;
// var conns = node.connections;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_3 = ___0_node;
NullCheck(L_3);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_4 = L_3->___connections_20;
V_1 = L_4;
// var nodePos = (Vector3)node.position;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_5 = ___0_node;
NullCheck(L_5);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_6 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_5)->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_6, NULL);
V_2 = L_7;
// var bestDist = float.PositiveInfinity;
V_3 = (std::numeric_limits<float>::infinity());
// if (conns != null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_8 = V_1;
if (!L_8)
{
goto IL_008c;
}
}
{
// for (int i = 0; i < conns.Length; i++) {
V_5 = 0;
goto IL_0085;
}
IL_002d:
{
// var connectionMidpoint = ((UnityEngine.Vector3)conns[i].node.position + nodePos) * 0.5f;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_9 = V_1;
int32_t L_10 = V_5;
NullCheck(L_9);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_11 = ((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)))->___node_0;
NullCheck(L_11);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_12 = L_11->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
L_13 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_12, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
L_15 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_13, L_14, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
L_16 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_15, (0.5f), NULL);
V_6 = L_16;
// var closestPoint = VectorMath.ClosestPointOnSegment(nodePos, connectionMidpoint, position);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = ___1_position;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
L_20 = VectorMath_ClosestPointOnSegment_mEE1C608A7DCBE4809E300E1AF0C1A8AB6F825A92(L_17, L_18, L_19, NULL);
V_7 = L_20;
// var dist = (closestPoint - position).sqrMagnitude;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___1_position;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
L_23 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_21, L_22, NULL);
V_9 = L_23;
float L_24;
L_24 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_9), NULL);
V_8 = L_24;
// if (dist < bestDist) {
float L_25 = V_8;
float L_26 = V_3;
if ((!(((float)L_25) < ((float)L_26))))
{
goto IL_007f;
}
}
{
// bestDist = dist;
float L_27 = V_8;
V_3 = L_27;
// closestConnectionPoint = closestPoint;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_7;
V_0 = L_28;
}
IL_007f:
{
// for (int i = 0; i < conns.Length; i++) {
int32_t L_29 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_29, 1));
}
IL_0085:
{
// for (int i = 0; i < conns.Length; i++) {
int32_t L_30 = V_5;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_31 = V_1;
NullCheck(L_31);
if ((((int32_t)L_30) < ((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length)))))
{
goto IL_002d;
}
}
IL_008c:
{
// var result = new NNInfoInternal();
il2cpp_codegen_initobj((&V_4), sizeof(NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801));
// result.node = node;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_32 = ___0_node;
(&V_4)->___node_0 = L_32;
Il2CppCodeGenWriteBarrier((void**)(&(&V_4)->___node_0), (void*)L_32);
// result.clampedPosition = closestConnectionPoint;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_0;
(&V_4)->___clampedPosition_2 = L_33;
// return result;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_34 = V_4;
return L_34;
}
}
// Pathfinding.PointNode Pathfinding.PointGraph::AddNode(Pathfinding.Int3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* PointGraph_AddNode_mEE40422D059C37EE45408200825223BA22F78917 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_position, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointGraph_AddNode_TisPointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_m60D98FCBC0CE62055DBBEAA711B9DB0F61BB4390_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// return AddNode(new PointNode(active), position);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_1 = (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0*)il2cpp_codegen_object_new(PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var);
NullCheck(L_1);
PointNode__ctor_m308BD54498738C0D59151C441BB033951526FECC(L_1, L_0, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2 = ___0_position;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_3;
L_3 = PointGraph_AddNode_TisPointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_m60D98FCBC0CE62055DBBEAA711B9DB0F61BB4390(__this, L_1, L_2, PointGraph_AddNode_TisPointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_m60D98FCBC0CE62055DBBEAA711B9DB0F61BB4390_RuntimeMethod_var);
return L_3;
}
}
// System.Int32 Pathfinding.PointGraph::CountChildren(UnityEngine.Transform)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PointGraph_CountChildren_mFD9665904130BFBC535837A4277ACFF781135C5F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_tr, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
RuntimeObject* V_1 = NULL;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_2 = NULL;
RuntimeObject* V_3 = NULL;
{
// int c = 0;
V_0 = 0;
// foreach (Transform child in tr) {
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ___0_tr;
NullCheck(L_0);
RuntimeObject* L_1;
L_1 = Transform_GetEnumerator_mA7E1C882ACA0C33E284711CD09971DEA3FFEF404(L_0, NULL);
V_1 = L_1;
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_002e:
{// begin finally (depth: 1)
{
RuntimeObject* L_2 = V_1;
V_3 = ((RuntimeObject*)IsInst((RuntimeObject*)L_2, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var));
RuntimeObject* L_3 = V_3;
if (!L_3)
{
goto IL_003e;
}
}
{
RuntimeObject* L_4 = V_3;
NullCheck(L_4);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_4);
}
IL_003e:
{
return;
}
}// end finally (depth: 1)
});
try
{// begin try (depth: 1)
{
goto IL_0024_1;
}
IL_000b_1:
{
// foreach (Transform child in tr) {
RuntimeObject* L_5 = V_1;
NullCheck(L_5);
RuntimeObject* L_6;
L_6 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_5);
V_2 = ((Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)CastclassClass((RuntimeObject*)L_6, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var));
// c++;
int32_t L_7 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
// c += CountChildren(child);
int32_t L_8 = V_0;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = V_2;
int32_t L_10;
L_10 = PointGraph_CountChildren_mFD9665904130BFBC535837A4277ACFF781135C5F(L_9, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_8, L_10));
}
IL_0024_1:
{
// foreach (Transform child in tr) {
RuntimeObject* L_11 = V_1;
NullCheck(L_11);
bool L_12;
L_12 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_11);
if (L_12)
{
goto IL_000b_1;
}
}
{
goto IL_003f;
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_003f:
{
// return c;
int32_t L_13 = V_0;
return L_13;
}
}
// System.Void Pathfinding.PointGraph::AddChildren(System.Int32&,UnityEngine.Transform)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_AddChildren_m9960E40B7FC9EE480253BA2DC72FC991E8D0F423 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, int32_t* ___0_c, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_tr, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_1 = NULL;
RuntimeObject* V_2 = NULL;
{
// foreach (Transform child in tr) {
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ___1_tr;
NullCheck(L_0);
RuntimeObject* L_1;
L_1 = Transform_GetEnumerator_mA7E1C882ACA0C33E284711CD09971DEA3FFEF404(L_0, NULL);
V_0 = L_1;
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_0069:
{// begin finally (depth: 1)
{
RuntimeObject* L_2 = V_0;
V_2 = ((RuntimeObject*)IsInst((RuntimeObject*)L_2, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var));
RuntimeObject* L_3 = V_2;
if (!L_3)
{
goto IL_0079;
}
}
{
RuntimeObject* L_4 = V_2;
NullCheck(L_4);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_4);
}
IL_0079:
{
return;
}
}// end finally (depth: 1)
});
try
{// begin try (depth: 1)
{
goto IL_005f_1;
}
IL_0009_1:
{
// foreach (Transform child in tr) {
RuntimeObject* L_5 = V_0;
NullCheck(L_5);
RuntimeObject* L_6;
L_6 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_5);
V_1 = ((Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)CastclassClass((RuntimeObject*)L_6, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var));
// nodes[c].position = (Int3)child.position;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_7 = __this->___nodes_21;
int32_t* L_8 = ___0_c;
int32_t L_9 = *((int32_t*)L_8);
NullCheck(L_7);
int32_t L_10 = L_9;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_11 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = V_1;
NullCheck(L_12);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_14;
L_14 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_13, NULL);
NullCheck(L_11);
((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_11)->___position_7 = L_14;
// nodes[c].Walkable = true;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_15 = __this->___nodes_21;
int32_t* L_16 = ___0_c;
int32_t L_17 = *((int32_t*)L_16);
NullCheck(L_15);
int32_t L_18 = L_17;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_19 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
NullCheck(L_19);
GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE(L_19, (bool)1, NULL);
// nodes[c].gameObject = child.gameObject;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_20 = __this->___nodes_21;
int32_t* L_21 = ___0_c;
int32_t L_22 = *((int32_t*)L_21);
NullCheck(L_20);
int32_t L_23 = L_22;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_24 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25 = V_1;
NullCheck(L_25);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_26;
L_26 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_25, NULL);
NullCheck(L_24);
L_24->___gameObject_21 = L_26;
Il2CppCodeGenWriteBarrier((void**)(&L_24->___gameObject_21), (void*)L_26);
// c++;
int32_t* L_27 = ___0_c;
int32_t* L_28 = ___0_c;
int32_t L_29 = *((int32_t*)L_28);
*((int32_t*)L_27) = (int32_t)((int32_t)il2cpp_codegen_add(L_29, 1));
// AddChildren(ref c, child);
int32_t* L_30 = ___0_c;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_31 = V_1;
PointGraph_AddChildren_m9960E40B7FC9EE480253BA2DC72FC991E8D0F423(__this, L_30, L_31, NULL);
}
IL_005f_1:
{
// foreach (Transform child in tr) {
RuntimeObject* L_32 = V_0;
NullCheck(L_32);
bool L_33;
L_33 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_32);
if (L_33)
{
goto IL_0009_1;
}
}
{
goto IL_007a;
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_007a:
{
// }
return;
}
}
// System.Void Pathfinding.PointGraph::RebuildNodeLookup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_RebuildNodeLookup_m11F936EC78AB22361DD14C0F7C93971F1538ECC9 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void Pathfinding.PointGraph::RebuildConnectionDistanceLookup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_RebuildConnectionDistanceLookup_mB167E3804AF170815F793C9A962EBBA267521FB5 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void Pathfinding.PointGraph::AddToLookup(Pathfinding.PointNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_AddToLookup_m9A5C8E95265189C02D7C0CF8923B19871BA4E735 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* ___0_node, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void Pathfinding.PointGraph::RegisterConnectionLength(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_RegisterConnectionLength_m3B900DC3EA697B3079427A98F771EF23E175D868 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, int64_t ___0_sqrLength, const RuntimeMethod* method)
{
{
// }
return;
}
}
// Pathfinding.PointNode[] Pathfinding.PointGraph::CreateNodes(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* PointGraph_CreateNodes_m18BE4934A2AFAC7ECA287BEC660852F1D485A0EA (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, int32_t ___0_count, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* V_0 = NULL;
int32_t V_1 = 0;
{
// var nodes = new PointNode[count];
int32_t L_0 = ___0_count;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_1 = (PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*)(PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*)SZArrayNew(PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2_il2cpp_TypeInfo_var, (uint32_t)L_0);
V_0 = L_1;
// for (int i = 0; i < nodeCount; i++) nodes[i] = new PointNode(active);
V_1 = 0;
goto IL_001d;
}
IL_000b:
{
// for (int i = 0; i < nodeCount; i++) nodes[i] = new PointNode(active);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_2 = V_0;
int32_t L_3 = V_1;
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_4 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_5 = (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0*)il2cpp_codegen_object_new(PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var);
NullCheck(L_5);
PointNode__ctor_m308BD54498738C0D59151C441BB033951526FECC(L_5, L_4, NULL);
NullCheck(L_2);
ArrayElementTypeCheck (L_2, L_5);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0*)L_5);
// for (int i = 0; i < nodeCount; i++) nodes[i] = new PointNode(active);
int32_t L_6 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_6, 1));
}
IL_001d:
{
// for (int i = 0; i < nodeCount; i++) nodes[i] = new PointNode(active);
int32_t L_7 = V_1;
int32_t L_8;
L_8 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(__this, NULL);
if ((((int32_t)L_7) < ((int32_t)L_8)))
{
goto IL_000b;
}
}
{
// return nodes;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_9 = V_0;
return L_9;
}
}
// System.Collections.Generic.IEnumerable`1<Pathfinding.Progress> Pathfinding.PointGraph::ScanInternal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PointGraph_ScanInternal_m0E1F580B259C94643F799FF9E0FD2BA9ED0C778B (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* L_0 = (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11*)il2cpp_codegen_object_new(U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11_il2cpp_TypeInfo_var);
NullCheck(L_0);
U3CScanInternalU3Ed__32__ctor_m1539DB918717EDEE1FDDCBD3FA8228FD8419EBD8(L_0, ((int32_t)-2), NULL);
U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* L_1 = L_0;
NullCheck(L_1);
L_1->___U3CU3E4__this_3 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_3), (void*)__this);
return L_1;
}
}
// System.Void Pathfinding.PointGraph::ConnectNodes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_ConnectNodes_m61970B4960E593FC3D6D976C7343F10F8BECAF6E (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_t0064AAC2102BF24FE1A2441E4B32C75CA0C24B85_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
{
// var ie = ConnectNodesAsync().GetEnumerator();
RuntimeObject* L_0;
L_0 = PointGraph_ConnectNodesAsync_m5836DF445BFACD510413E442899848C76F1D2F5C(__this, NULL);
NullCheck(L_0);
RuntimeObject* L_1;
L_1 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<Pathfinding.Progress>::GetEnumerator() */, IEnumerable_1_t0064AAC2102BF24FE1A2441E4B32C75CA0C24B85_il2cpp_TypeInfo_var, L_0);
V_0 = L_1;
}
IL_000c:
{
// while (ie.MoveNext()) {}
RuntimeObject* L_2 = V_0;
NullCheck(L_2);
bool L_3;
L_3 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_2);
if (L_3)
{
goto IL_000c;
}
}
{
// RebuildConnectionDistanceLookup();
PointGraph_RebuildConnectionDistanceLookup_mB167E3804AF170815F793C9A962EBBA267521FB5(__this, NULL);
// }
return;
}
}
// System.Collections.Generic.IEnumerable`1<Pathfinding.Progress> Pathfinding.PointGraph::ConnectNodesAsync()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PointGraph_ConnectNodesAsync_m5836DF445BFACD510413E442899848C76F1D2F5C (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* L_0 = (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886*)il2cpp_codegen_object_new(U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886_il2cpp_TypeInfo_var);
NullCheck(L_0);
U3CConnectNodesAsyncU3Ed__34__ctor_m96FD3CC76A6744B49C3CEEA3850D3D4C43FC244A(L_0, ((int32_t)-2), NULL);
U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* L_1 = L_0;
NullCheck(L_1);
L_1->___U3CU3E4__this_3 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_3), (void*)__this);
return L_1;
}
}
// System.Boolean Pathfinding.PointGraph::IsValidConnection(Pathfinding.GraphNode,Pathfinding.GraphNode,System.Single&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PointGraph_IsValidConnection_mDA0556464897D6EDD1082D02B0C19D8862E38520 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_a, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_b, float* ___2_dist, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 V_1;
memset((&V_1), 0, sizeof(V_1));
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 V_2;
memset((&V_2), 0, sizeof(V_2));
{
// dist = 0;
float* L_0 = ___2_dist;
*((float*)L_0) = (float)(0.0f);
// if (!a.Walkable || !b.Walkable) return false;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_a;
NullCheck(L_1);
bool L_2;
L_2 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_1, NULL);
if (!L_2)
{
goto IL_0017;
}
}
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ___1_b;
NullCheck(L_3);
bool L_4;
L_4 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_3, NULL);
if (L_4)
{
goto IL_0019;
}
}
IL_0017:
{
// if (!a.Walkable || !b.Walkable) return false;
return (bool)0;
}
IL_0019:
{
// var dir = (Vector3)(b.position-a.position);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_5 = ___1_b;
NullCheck(L_5);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_6 = L_5->___position_7;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = ___0_a;
NullCheck(L_7);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_8 = L_7->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_9;
L_9 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_6, L_8, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_9, NULL);
V_0 = L_10;
// if (
// (!Mathf.Approximately(limits.x, 0) && Mathf.Abs(dir.x) > limits.x) ||
// (!Mathf.Approximately(limits.y, 0) && Mathf.Abs(dir.y) > limits.y) ||
// (!Mathf.Approximately(limits.z, 0) && Mathf.Abs(dir.z) > limits.z)) {
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_11 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___limits_14);
float L_12 = L_11->___x_2;
bool L_13;
L_13 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(L_12, (0.0f), NULL);
if (L_13)
{
goto IL_005f;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_0;
float L_15 = L_14.___x_2;
float L_16;
L_16 = fabsf(L_15);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_17 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___limits_14);
float L_18 = L_17->___x_2;
if ((((float)L_16) > ((float)L_18)))
{
goto IL_00bd;
}
}
IL_005f:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_19 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___limits_14);
float L_20 = L_19->___y_3;
bool L_21;
L_21 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(L_20, (0.0f), NULL);
if (L_21)
{
goto IL_008e;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_0;
float L_23 = L_22.___y_3;
float L_24;
L_24 = fabsf(L_23);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_25 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___limits_14);
float L_26 = L_25->___y_3;
if ((((float)L_24) > ((float)L_26)))
{
goto IL_00bd;
}
}
IL_008e:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_27 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___limits_14);
float L_28 = L_27->___z_4;
bool L_29;
L_29 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(L_28, (0.0f), NULL);
if (L_29)
{
goto IL_00bf;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_0;
float L_31 = L_30.___z_4;
float L_32;
L_32 = fabsf(L_31);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_33 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___limits_14);
float L_34 = L_33->___z_4;
if ((!(((float)L_32) > ((float)L_34))))
{
goto IL_00bf;
}
}
IL_00bd:
{
// return false;
return (bool)0;
}
IL_00bf:
{
// dist = dir.magnitude;
float* L_35 = ___2_dist;
float L_36;
L_36 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_0), NULL);
*((float*)L_35) = (float)L_36;
// if (maxDistance == 0 || dist < maxDistance) {
float L_37 = __this->___maxDistance_13;
if ((((float)L_37) == ((float)(0.0f))))
{
goto IL_00e2;
}
}
{
float* L_38 = ___2_dist;
float L_39 = *((float*)L_38);
float L_40 = __this->___maxDistance_13;
if ((!(((float)L_39) < ((float)L_40))))
{
goto IL_02a7;
}
}
IL_00e2:
{
// if (raycast) {
bool L_41 = __this->___raycast_15;
if (!L_41)
{
goto IL_02a5;
}
}
{
// var ray = new Ray((Vector3)a.position, dir);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_42 = ___0_a;
NullCheck(L_42);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_43 = L_42->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
L_44 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_43, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_0;
Ray__ctor_mE298992FD10A3894C38373198385F345C58BD64C((&V_1), L_44, L_45, NULL);
// var invertRay = new Ray((Vector3)b.position, -dir);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_46 = ___1_b;
NullCheck(L_46);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_47 = L_46->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
L_48 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_47, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
L_50 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_49, NULL);
Ray__ctor_mE298992FD10A3894C38373198385F345C58BD64C((&V_2), L_48, L_50, NULL);
// if (use2DPhysics) {
bool L_51 = __this->___use2DPhysics_16;
if (!L_51)
{
goto IL_020f;
}
}
{
// if (thickRaycast) {
bool L_52 = __this->___thickRaycast_17;
if (!L_52)
{
goto IL_019d;
}
}
{
// return !Physics2D.CircleCast(ray.origin, thickRaycastRadius, ray.direction, dist, mask) && !Physics2D.CircleCast(invertRay.origin, thickRaycastRadius, invertRay.direction, dist, mask);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
L_53 = Ray_get_origin_m97604A8F180316A410DCD77B7D74D04522FA1BA6((&V_1), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_54;
L_54 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_53, NULL);
float L_55 = __this->___thickRaycastRadius_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
L_56 = Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086((&V_1), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_57;
L_57 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_56, NULL);
float* L_58 = ___2_dist;
float L_59 = *((float*)L_58);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_60 = __this->___mask_20;
int32_t L_61;
L_61 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_60, NULL);
il2cpp_codegen_runtime_class_init_inline(Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA L_62;
L_62 = Physics2D_CircleCast_mFDA98331D99470872994987932FCAF8E2539467A(L_54, L_55, L_57, L_59, L_61, NULL);
bool L_63;
L_63 = RaycastHit2D_op_Implicit_mBEF99A746116664D68B1398D58CA247550980A11(L_62, NULL);
if (L_63)
{
goto IL_019b;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
L_64 = Ray_get_origin_m97604A8F180316A410DCD77B7D74D04522FA1BA6((&V_2), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_65;
L_65 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_64, NULL);
float L_66 = __this->___thickRaycastRadius_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
L_67 = Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086((&V_2), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_68;
L_68 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_67, NULL);
float* L_69 = ___2_dist;
float L_70 = *((float*)L_69);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_71 = __this->___mask_20;
int32_t L_72;
L_72 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_71, NULL);
il2cpp_codegen_runtime_class_init_inline(Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA L_73;
L_73 = Physics2D_CircleCast_mFDA98331D99470872994987932FCAF8E2539467A(L_65, L_66, L_68, L_70, L_72, NULL);
bool L_74;
L_74 = RaycastHit2D_op_Implicit_mBEF99A746116664D68B1398D58CA247550980A11(L_73, NULL);
return (bool)((((int32_t)L_74) == ((int32_t)0))? 1 : 0);
}
IL_019b:
{
return (bool)0;
}
IL_019d:
{
// return !Physics2D.Linecast((Vector2)(Vector3)a.position, (Vector2)(Vector3)b.position, mask) && !Physics2D.Linecast((Vector2)(Vector3)b.position, (Vector2)(Vector3)a.position, mask);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_75 = ___0_a;
NullCheck(L_75);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_76 = L_75->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
L_77 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_76, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_78;
L_78 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_77, NULL);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_79 = ___1_b;
NullCheck(L_79);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_80 = L_79->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
L_81 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_80, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_82;
L_82 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_81, NULL);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_83 = __this->___mask_20;
int32_t L_84;
L_84 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_83, NULL);
il2cpp_codegen_runtime_class_init_inline(Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA L_85;
L_85 = Physics2D_Linecast_m9812FA76F939EF9A8DA87B6C27F2C91C751533B3(L_78, L_82, L_84, NULL);
bool L_86;
L_86 = RaycastHit2D_op_Implicit_mBEF99A746116664D68B1398D58CA247550980A11(L_85, NULL);
if (L_86)
{
goto IL_020d;
}
}
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_87 = ___1_b;
NullCheck(L_87);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_88 = L_87->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
L_89 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_88, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_90;
L_90 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_89, NULL);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_91 = ___0_a;
NullCheck(L_91);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_92 = L_91->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
L_93 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_92, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_94;
L_94 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_93, NULL);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_95 = __this->___mask_20;
int32_t L_96;
L_96 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_95, NULL);
il2cpp_codegen_runtime_class_init_inline(Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA L_97;
L_97 = Physics2D_Linecast_m9812FA76F939EF9A8DA87B6C27F2C91C751533B3(L_90, L_94, L_96, NULL);
bool L_98;
L_98 = RaycastHit2D_op_Implicit_mBEF99A746116664D68B1398D58CA247550980A11(L_97, NULL);
return (bool)((((int32_t)L_98) == ((int32_t)0))? 1 : 0);
}
IL_020d:
{
return (bool)0;
}
IL_020f:
{
// if (thickRaycast) {
bool L_99 = __this->___thickRaycast_17;
if (!L_99)
{
goto IL_0251;
}
}
{
// return !Physics.SphereCast(ray, thickRaycastRadius, dist, mask) && !Physics.SphereCast(invertRay, thickRaycastRadius, dist, mask);
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_100 = V_1;
float L_101 = __this->___thickRaycastRadius_18;
float* L_102 = ___2_dist;
float L_103 = *((float*)L_102);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_104 = __this->___mask_20;
int32_t L_105;
L_105 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_104, NULL);
bool L_106;
L_106 = Physics_SphereCast_mCE6B04501EE9D9DF9E6AE427BD9496F69467FAD5(L_100, L_101, L_103, L_105, NULL);
if (L_106)
{
goto IL_024f;
}
}
{
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_107 = V_2;
float L_108 = __this->___thickRaycastRadius_18;
float* L_109 = ___2_dist;
float L_110 = *((float*)L_109);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_111 = __this->___mask_20;
int32_t L_112;
L_112 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_111, NULL);
bool L_113;
L_113 = Physics_SphereCast_mCE6B04501EE9D9DF9E6AE427BD9496F69467FAD5(L_107, L_108, L_110, L_112, NULL);
return (bool)((((int32_t)L_113) == ((int32_t)0))? 1 : 0);
}
IL_024f:
{
return (bool)0;
}
IL_0251:
{
// return !Physics.Linecast((Vector3)a.position, (Vector3)b.position, mask) && !Physics.Linecast((Vector3)b.position, (Vector3)a.position, mask);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_114 = ___0_a;
NullCheck(L_114);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_115 = L_114->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116;
L_116 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_115, NULL);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_117 = ___1_b;
NullCheck(L_117);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_118 = L_117->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119;
L_119 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_118, NULL);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_120 = __this->___mask_20;
int32_t L_121;
L_121 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_120, NULL);
bool L_122;
L_122 = Physics_Linecast_mE693FAFE56D0E69918A0948310EF642094C91DC0(L_116, L_119, L_121, NULL);
if (L_122)
{
goto IL_02a3;
}
}
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_123 = ___1_b;
NullCheck(L_123);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_124 = L_123->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125;
L_125 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_124, NULL);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_126 = ___0_a;
NullCheck(L_126);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_127 = L_126->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_128;
L_128 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_127, NULL);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_129 = __this->___mask_20;
int32_t L_130;
L_130 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_129, NULL);
bool L_131;
L_131 = Physics_Linecast_mE693FAFE56D0E69918A0948310EF642094C91DC0(L_125, L_128, L_130, NULL);
return (bool)((((int32_t)L_131) == ((int32_t)0))? 1 : 0);
}
IL_02a3:
{
return (bool)0;
}
IL_02a5:
{
// return true;
return (bool)1;
}
IL_02a7:
{
// return false;
return (bool)0;
}
}
// System.Void Pathfinding.PointGraph::PostDeserialization(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_PostDeserialization_mE3E86C1C013A21B54347AB8CED0E9383353497EC (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
{
// RebuildNodeLookup();
PointGraph_RebuildNodeLookup_m11F936EC78AB22361DD14C0F7C93971F1538ECC9(__this, NULL);
// }
return;
}
}
// System.Void Pathfinding.PointGraph::RelocateNodes(UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_RelocateNodes_mB6BA1EC01FF76464AC070272AD0DC5D373D2DC19 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_deltaMatrix, const RuntimeMethod* method)
{
{
// base.RelocateNodes(deltaMatrix);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_0 = ___0_deltaMatrix;
NavGraph_RelocateNodes_m5B704FE4D364C894665619FABA57CA257B159D88(__this, L_0, NULL);
// RebuildNodeLookup();
PointGraph_RebuildNodeLookup_m11F936EC78AB22361DD14C0F7C93971F1538ECC9(__this, NULL);
// }
return;
}
}
// System.Void Pathfinding.PointGraph::DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_DeserializeSettingsCompatibility_mB9640F5F31EE916D57CFE8F41C2DC8FA2028A85E (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// base.DeserializeSettingsCompatibility(ctx);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
NavGraph_DeserializeSettingsCompatibility_m4EDCD5F5616313CD38308D2D5072FB53568092DB(__this, L_0, NULL);
// root = ctx.DeserializeUnityObject() as Transform;
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
NullCheck(L_1);
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_2;
L_2 = GraphSerializationContext_DeserializeUnityObject_mEFFA3790149E1B7D77B87019524FD72AA2D8D531(L_1, NULL);
__this->___root_11 = ((Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)IsInstClass((RuntimeObject*)L_2, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var));
Il2CppCodeGenWriteBarrier((void**)(&__this->___root_11), (void*)((Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)IsInstClass((RuntimeObject*)L_2, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var)));
// searchTag = ctx.reader.ReadString();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
NullCheck(L_3);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_4 = L_3->___reader_1;
NullCheck(L_4);
String_t* L_5;
L_5 = VirtualFuncInvoker0< String_t* >::Invoke(22 /* System.String System.IO.BinaryReader::ReadString() */, L_4);
__this->___searchTag_12 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___searchTag_12), (void*)L_5);
// maxDistance = ctx.reader.ReadSingle();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_6 = ___0_ctx;
NullCheck(L_6);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_7 = L_6->___reader_1;
NullCheck(L_7);
float L_8;
L_8 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_7);
__this->___maxDistance_13 = L_8;
// limits = ctx.DeserializeVector3();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_9 = ___0_ctx;
NullCheck(L_9);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = GraphSerializationContext_DeserializeVector3_mC5A2DC6906CC09A721E4F822EF70A0FF6117D6DF(L_9, NULL);
__this->___limits_14 = L_10;
// raycast = ctx.reader.ReadBoolean();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_11 = ___0_ctx;
NullCheck(L_11);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_12 = L_11->___reader_1;
NullCheck(L_12);
bool L_13;
L_13 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_12);
__this->___raycast_15 = L_13;
// use2DPhysics = ctx.reader.ReadBoolean();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_14 = ___0_ctx;
NullCheck(L_14);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_15 = L_14->___reader_1;
NullCheck(L_15);
bool L_16;
L_16 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_15);
__this->___use2DPhysics_16 = L_16;
// thickRaycast = ctx.reader.ReadBoolean();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_17 = ___0_ctx;
NullCheck(L_17);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_18 = L_17->___reader_1;
NullCheck(L_18);
bool L_19;
L_19 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_18);
__this->___thickRaycast_17 = L_19;
// thickRaycastRadius = ctx.reader.ReadSingle();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_20 = ___0_ctx;
NullCheck(L_20);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_21 = L_20->___reader_1;
NullCheck(L_21);
float L_22;
L_22 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_21);
__this->___thickRaycastRadius_18 = L_22;
// recursive = ctx.reader.ReadBoolean();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_23 = ___0_ctx;
NullCheck(L_23);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_24 = L_23->___reader_1;
NullCheck(L_24);
bool L_25;
L_25 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_24);
__this->___recursive_19 = L_25;
// ctx.reader.ReadBoolean(); // Deprecated field
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_26 = ___0_ctx;
NullCheck(L_26);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_27 = L_26->___reader_1;
NullCheck(L_27);
bool L_28;
L_28 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_27);
// mask = (LayerMask)ctx.reader.ReadInt32();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_29 = ___0_ctx;
NullCheck(L_29);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_30 = L_29->___reader_1;
NullCheck(L_30);
int32_t L_31;
L_31 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_30);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_32;
L_32 = LayerMask_op_Implicit_m01C8996A2CB2085328B9C33539C43139660D8222(L_31, NULL);
__this->___mask_20 = L_32;
// }
return;
}
}
// System.Void Pathfinding.PointGraph::SerializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_SerializeExtraInfo_mBB443B55168701B7BEDBECF84F31D272775EC0B5 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// if (nodes == null) ctx.writer.Write(-1);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_0 = __this->___nodes_21;
if (L_0)
{
goto IL_0014;
}
}
{
// if (nodes == null) ctx.writer.Write(-1);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
NullCheck(L_1);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_2 = L_1->___writer_2;
NullCheck(L_2);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_2, (-1));
}
IL_0014:
{
// ctx.writer.Write(nodeCount);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
NullCheck(L_3);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_4 = L_3->___writer_2;
int32_t L_5;
L_5 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(__this, NULL);
NullCheck(L_4);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_4, L_5);
// for (int i = 0; i < nodeCount; i++) {
V_0 = 0;
goto IL_005f;
}
IL_0029:
{
// if (nodes[i] == null) ctx.writer.Write(-1);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_6 = __this->___nodes_21;
int32_t L_7 = V_0;
NullCheck(L_6);
int32_t L_8 = L_7;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
if (L_9)
{
goto IL_0041;
}
}
{
// if (nodes[i] == null) ctx.writer.Write(-1);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_10 = ___0_ctx;
NullCheck(L_10);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_11 = L_10->___writer_2;
NullCheck(L_11);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_11, (-1));
goto IL_005b;
}
IL_0041:
{
// ctx.writer.Write(0);
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_12 = ___0_ctx;
NullCheck(L_12);
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_13 = L_12->___writer_2;
NullCheck(L_13);
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_13, 0);
// nodes[i].SerializeNode(ctx);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_14 = __this->___nodes_21;
int32_t L_15 = V_0;
NullCheck(L_14);
int32_t L_16 = L_15;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_18 = ___0_ctx;
NullCheck(L_17);
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(16 /* System.Void Pathfinding.GraphNode::SerializeNode(Pathfinding.Serialization.GraphSerializationContext) */, L_17, L_18);
}
IL_005b:
{
// for (int i = 0; i < nodeCount; i++) {
int32_t L_19 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_19, 1));
}
IL_005f:
{
// for (int i = 0; i < nodeCount; i++) {
int32_t L_20 = V_0;
int32_t L_21;
L_21 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(__this, NULL);
if ((((int32_t)L_20) < ((int32_t)L_21)))
{
goto IL_0029;
}
}
{
// }
return;
}
}
// System.Void Pathfinding.PointGraph::DeserializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph_DeserializeExtraInfo_m2C22FA78CA5025D237F21DCFA22C06088AC7085B (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// int count = ctx.reader.ReadInt32();
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
NullCheck(L_0);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_1 = L_0->___reader_1;
NullCheck(L_1);
int32_t L_2;
L_2 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_1);
V_0 = L_2;
// if (count == -1) {
int32_t L_3 = V_0;
if ((!(((uint32_t)L_3) == ((uint32_t)(-1)))))
{
goto IL_0018;
}
}
{
// nodes = null;
__this->___nodes_21 = (PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodes_21), (void*)(PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*)NULL);
// return;
return;
}
IL_0018:
{
// nodes = new PointNode[count];
int32_t L_4 = V_0;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_5 = (PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*)(PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*)SZArrayNew(PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2_il2cpp_TypeInfo_var, (uint32_t)L_4);
__this->___nodes_21 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodes_21), (void*)L_5);
// nodeCount = count;
int32_t L_6 = V_0;
PointGraph_set_nodeCount_m54C70E397E4891F8B7FFEC013D17E8FB8647A148_inline(__this, L_6, NULL);
// for (int i = 0; i < nodes.Length; i++) {
V_1 = 0;
goto IL_0062;
}
IL_002f:
{
// if (ctx.reader.ReadInt32() == -1) continue;
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_7 = ___0_ctx;
NullCheck(L_7);
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_8 = L_7->___reader_1;
NullCheck(L_8);
int32_t L_9;
L_9 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_8);
if ((((int32_t)L_9) == ((int32_t)(-1))))
{
goto IL_005e;
}
}
{
// nodes[i] = new PointNode(active);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_10 = __this->___nodes_21;
int32_t L_11 = V_1;
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_12 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_13 = (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0*)il2cpp_codegen_object_new(PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var);
NullCheck(L_13);
PointNode__ctor_m308BD54498738C0D59151C441BB033951526FECC(L_13, L_12, NULL);
NullCheck(L_10);
ArrayElementTypeCheck (L_10, L_13);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(L_11), (PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0*)L_13);
// nodes[i].DeserializeNode(ctx);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_14 = __this->___nodes_21;
int32_t L_15 = V_1;
NullCheck(L_14);
int32_t L_16 = L_15;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_18 = ___0_ctx;
NullCheck(L_17);
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(17 /* System.Void Pathfinding.GraphNode::DeserializeNode(Pathfinding.Serialization.GraphSerializationContext) */, L_17, L_18);
}
IL_005e:
{
// for (int i = 0; i < nodes.Length; i++) {
int32_t L_19 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_19, 1));
}
IL_0062:
{
// for (int i = 0; i < nodes.Length; i++) {
int32_t L_20 = V_1;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_21 = __this->___nodes_21;
NullCheck(L_21);
if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length)))))
{
goto IL_002f;
}
}
{
// }
return;
}
}
// System.Void Pathfinding.PointGraph::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointGraph__ctor_mD0C82858F902185E53092599BCE06139DEF719A0 (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method)
{
{
// public bool raycast = true;
__this->___raycast_15 = (bool)1;
// public float thickRaycastRadius = 1;
__this->___thickRaycastRadius_18 = (1.0f);
// public bool recursive = true;
__this->___recursive_19 = (bool)1;
NavGraph__ctor_mAA234C62A98AC3CD20D1CD0642D6EC2CDCBEF015(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.PointGraph/<ScanInternal>d__32::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__32__ctor_m1539DB918717EDEE1FDDCBD3FA8228FD8419EBD8 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___0_U3CU3E1__state;
__this->___U3CU3E1__state_0 = L_0;
int32_t L_1;
L_1 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
__this->___U3CU3El__initialThreadId_2 = L_1;
return;
}
}
// System.Void Pathfinding.PointGraph/<ScanInternal>d__32::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__32_System_IDisposable_Dispose_m503D606382329C55E96EBA0616EE2FFD83201BB2 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)((int32_t)-3))))
{
goto IL_0010;
}
}
{
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)3))))
{
goto IL_001a;
}
}
IL_0010:
{
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_0013:
{// begin finally (depth: 1)
U3CScanInternalU3Ed__32_U3CU3Em__Finally1_m6159FB78A878D66B7512C06C7866363866DEDDA0(__this, NULL);
return;
}// end finally (depth: 1)
});
try
{// begin try (depth: 1)
goto IL_001a;
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_001a:
{
return;
}
}
// System.Boolean Pathfinding.PointGraph/<ScanInternal>d__32::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CScanInternalU3Ed__32_MoveNext_mDB7508557C9F3A4E27B0594D2B0DE0FE06C32DA6 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_t0064AAC2102BF24FE1A2441E4B32C75CA0C24B85_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_1_t5873E37892996C4E37155DAB51A1CBF55EE81B55_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral06D3F60B399DCA8172E7964E814A35D2D0ACEC50);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral59BE7B947DEEDC98BF10D9E5A2F5DC31EEEEA46C);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
RuntimeObject* V_5 = NULL;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_6 = NULL;
RuntimeObject* V_7 = NULL;
int32_t V_8 = 0;
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 V_9;
memset((&V_9), 0, sizeof(V_9));
U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* G_B6_0 = NULL;
U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* G_B5_0 = NULL;
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* G_B7_0 = NULL;
U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* G_B7_1 = NULL;
{
auto __finallyBlock = il2cpp::utils::Fault([&]
{
FAULT_02b5:
{// begin fault (depth: 1)
U3CScanInternalU3Ed__32_System_IDisposable_Dispose_m503D606382329C55E96EBA0616EE2FFD83201BB2(__this, NULL);
return;
}// end fault
});
try
{// begin try (depth: 1)
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_1 = L_0;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_1 = __this->___U3CU3E4__this_3;
V_2 = L_1;
int32_t L_2 = V_1;
switch (L_2)
{
case 0:
{
goto IL_002b_1;
}
case 1:
{
goto IL_0055_1;
}
case 2:
{
goto IL_00cc_1;
}
case 3:
{
goto IL_028f_1;
}
}
}
{
V_0 = (bool)0;
goto IL_02bc;
}
IL_002b_1:
{
__this->___U3CU3E1__state_0 = (-1);
// yield return new Progress(0, "Searching for GameObjects");
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_3;
memset((&L_3), 0, sizeof(L_3));
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_3), (0.0f), _stringLiteral59BE7B947DEEDC98BF10D9E5A2F5DC31EEEEA46C, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_3;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 1;
V_0 = (bool)1;
goto IL_02bc;
}
IL_0055_1:
{
__this->___U3CU3E1__state_0 = (-1);
// if (root == null) {
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_4 = V_2;
NullCheck(L_4);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = L_4->___root_11;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_6;
L_6 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (!L_6)
{
goto IL_015e_1;
}
}
{
// GameObject[] gos = searchTag != null? GameObject.FindGameObjectsWithTag(searchTag) : null;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_7 = V_2;
NullCheck(L_7);
String_t* L_8 = L_7->___searchTag_12;
G_B5_0 = __this;
if (L_8)
{
G_B6_0 = __this;
goto IL_0079_1;
}
}
{
G_B7_0 = ((GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF*)(NULL));
G_B7_1 = G_B5_0;
goto IL_0084_1;
}
IL_0079_1:
{
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_9 = V_2;
NullCheck(L_9);
String_t* L_10 = L_9->___searchTag_12;
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* L_11;
L_11 = GameObject_FindGameObjectsWithTag_mB8AA805DA664EF0221BB338446014F662771B4E3(L_10, NULL);
G_B7_0 = L_11;
G_B7_1 = G_B6_0;
}
IL_0084_1:
{
NullCheck(G_B7_1);
G_B7_1->___U3CgosU3E5__2_4 = G_B7_0;
Il2CppCodeGenWriteBarrier((void**)(&G_B7_1->___U3CgosU3E5__2_4), (void*)G_B7_0);
// if (gos == null) {
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* L_12 = __this->___U3CgosU3E5__2_4;
if (L_12)
{
goto IL_00a9_1;
}
}
{
// nodes = new PointNode[0];
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_13 = V_2;
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_14 = (PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*)(PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*)SZArrayNew(PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_13);
L_13->___nodes_21 = L_14;
Il2CppCodeGenWriteBarrier((void**)(&L_13->___nodes_21), (void*)L_14);
// nodeCount = 0;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_15 = V_2;
NullCheck(L_15);
PointGraph_set_nodeCount_m54C70E397E4891F8B7FFEC013D17E8FB8647A148_inline(L_15, 0, NULL);
goto IL_0152_1;
}
IL_00a9_1:
{
// yield return new Progress(0.1f, "Creating nodes");
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_16;
memset((&L_16), 0, sizeof(L_16));
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_16), (0.100000001f), _stringLiteral06D3F60B399DCA8172E7964E814A35D2D0ACEC50, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_16;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 2;
V_0 = (bool)1;
goto IL_02bc;
}
IL_00cc_1:
{
__this->___U3CU3E1__state_0 = (-1);
// nodeCount = gos.Length;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_17 = V_2;
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* L_18 = __this->___U3CgosU3E5__2_4;
NullCheck(L_18);
NullCheck(L_17);
PointGraph_set_nodeCount_m54C70E397E4891F8B7FFEC013D17E8FB8647A148_inline(L_17, ((int32_t)(((RuntimeArray*)L_18)->max_length)), NULL);
// nodes = CreateNodes(nodeCount);
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_19 = V_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_20 = V_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_21 = V_2;
NullCheck(L_21);
int32_t L_22;
L_22 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(L_21, NULL);
NullCheck(L_20);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_23;
L_23 = VirtualFuncInvoker1< PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*, int32_t >::Invoke(26 /* Pathfinding.PointNode[] Pathfinding.PointGraph::CreateNodes(System.Int32) */, L_20, L_22);
NullCheck(L_19);
L_19->___nodes_21 = L_23;
Il2CppCodeGenWriteBarrier((void**)(&L_19->___nodes_21), (void*)L_23);
// for (int i = 0; i < gos.Length; i++) {
V_3 = 0;
goto IL_0147_1;
}
IL_00f7_1:
{
// nodes[i].position = (Int3)gos[i].transform.position;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_24 = V_2;
NullCheck(L_24);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_25 = L_24->___nodes_21;
int32_t L_26 = V_3;
NullCheck(L_25);
int32_t L_27 = L_26;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* L_29 = __this->___U3CgosU3E5__2_4;
int32_t L_30 = V_3;
NullCheck(L_29);
int32_t L_31 = L_30;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
NullCheck(L_32);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33;
L_33 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_32, NULL);
NullCheck(L_33);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
L_34 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_33, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_35;
L_35 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_34, NULL);
NullCheck(L_28);
((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_28)->___position_7 = L_35;
// nodes[i].Walkable = true;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_36 = V_2;
NullCheck(L_36);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_37 = L_36->___nodes_21;
int32_t L_38 = V_3;
NullCheck(L_37);
int32_t L_39 = L_38;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
NullCheck(L_40);
GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE(L_40, (bool)1, NULL);
// nodes[i].gameObject = gos[i].gameObject;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_41 = V_2;
NullCheck(L_41);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_42 = L_41->___nodes_21;
int32_t L_43 = V_3;
NullCheck(L_42);
int32_t L_44 = L_43;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_45 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* L_46 = __this->___U3CgosU3E5__2_4;
int32_t L_47 = V_3;
NullCheck(L_46);
int32_t L_48 = L_47;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_49 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
NullCheck(L_49);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_50;
L_50 = GameObject_get_gameObject_m0878015B8CF7F5D432B583C187725810D27B57DC(L_49, NULL);
NullCheck(L_45);
L_45->___gameObject_21 = L_50;
Il2CppCodeGenWriteBarrier((void**)(&L_45->___gameObject_21), (void*)L_50);
// for (int i = 0; i < gos.Length; i++) {
int32_t L_51 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_51, 1));
}
IL_0147_1:
{
// for (int i = 0; i < gos.Length; i++) {
int32_t L_52 = V_3;
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* L_53 = __this->___U3CgosU3E5__2_4;
NullCheck(L_53);
if ((((int32_t)L_52) < ((int32_t)((int32_t)(((RuntimeArray*)L_53)->max_length)))))
{
goto IL_00f7_1;
}
}
IL_0152_1:
{
// } else {
__this->___U3CgosU3E5__2_4 = (GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CgosU3E5__2_4), (void*)(GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF*)NULL);
goto IL_0244_1;
}
IL_015e_1:
{
// if (!recursive) {
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_54 = V_2;
NullCheck(L_54);
bool L_55 = L_54->___recursive_19;
if (L_55)
{
goto IL_0210_1;
}
}
{
// nodeCount = root.childCount;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_56 = V_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_57 = V_2;
NullCheck(L_57);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_58 = L_57->___root_11;
NullCheck(L_58);
int32_t L_59;
L_59 = Transform_get_childCount_mE9C29C702AB662CC540CA053EDE48BDAFA35B4B0(L_58, NULL);
NullCheck(L_56);
PointGraph_set_nodeCount_m54C70E397E4891F8B7FFEC013D17E8FB8647A148_inline(L_56, L_59, NULL);
// nodes = CreateNodes(nodeCount);
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_60 = V_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_61 = V_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_62 = V_2;
NullCheck(L_62);
int32_t L_63;
L_63 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(L_62, NULL);
NullCheck(L_61);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_64;
L_64 = VirtualFuncInvoker1< PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*, int32_t >::Invoke(26 /* Pathfinding.PointNode[] Pathfinding.PointGraph::CreateNodes(System.Int32) */, L_61, L_63);
NullCheck(L_60);
L_60->___nodes_21 = L_64;
Il2CppCodeGenWriteBarrier((void**)(&L_60->___nodes_21), (void*)L_64);
// int c = 0;
V_4 = 0;
// foreach (Transform child in root) {
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_65 = V_2;
NullCheck(L_65);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_66 = L_65->___root_11;
NullCheck(L_66);
RuntimeObject* L_67;
L_67 = Transform_GetEnumerator_mA7E1C882ACA0C33E284711CD09971DEA3FFEF404(L_66, NULL);
V_5 = L_67;
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_01fb_1:
{// begin finally (depth: 2)
{
RuntimeObject* L_68 = V_5;
V_7 = ((RuntimeObject*)IsInst((RuntimeObject*)L_68, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var));
RuntimeObject* L_69 = V_7;
if (!L_69)
{
goto IL_020f_1;
}
}
{
RuntimeObject* L_70 = V_7;
NullCheck(L_70);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_70);
}
IL_020f_1:
{
return;
}
}// end finally (depth: 2)
});
try
{// begin try (depth: 2)
{
goto IL_01f0_2;
}
IL_019e_2:
{
// foreach (Transform child in root) {
RuntimeObject* L_71 = V_5;
NullCheck(L_71);
RuntimeObject* L_72;
L_72 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_71);
V_6 = ((Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)CastclassClass((RuntimeObject*)L_72, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var));
// nodes[c].position = (Int3)child.position;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_73 = V_2;
NullCheck(L_73);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_74 = L_73->___nodes_21;
int32_t L_75 = V_4;
NullCheck(L_74);
int32_t L_76 = L_75;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_77 = (L_74)->GetAt(static_cast<il2cpp_array_size_t>(L_76));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_78 = V_6;
NullCheck(L_78);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
L_79 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_78, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_80;
L_80 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_79, NULL);
NullCheck(L_77);
((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_77)->___position_7 = L_80;
// nodes[c].Walkable = true;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_81 = V_2;
NullCheck(L_81);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_82 = L_81->___nodes_21;
int32_t L_83 = V_4;
NullCheck(L_82);
int32_t L_84 = L_83;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_85 = (L_82)->GetAt(static_cast<il2cpp_array_size_t>(L_84));
NullCheck(L_85);
GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE(L_85, (bool)1, NULL);
// nodes[c].gameObject = child.gameObject;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_86 = V_2;
NullCheck(L_86);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_87 = L_86->___nodes_21;
int32_t L_88 = V_4;
NullCheck(L_87);
int32_t L_89 = L_88;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_90 = (L_87)->GetAt(static_cast<il2cpp_array_size_t>(L_89));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_91 = V_6;
NullCheck(L_91);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_92;
L_92 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_91, NULL);
NullCheck(L_90);
L_90->___gameObject_21 = L_92;
Il2CppCodeGenWriteBarrier((void**)(&L_90->___gameObject_21), (void*)L_92);
// c++;
int32_t L_93 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_93, 1));
}
IL_01f0_2:
{
// foreach (Transform child in root) {
RuntimeObject* L_94 = V_5;
NullCheck(L_94);
bool L_95;
L_95 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_94);
if (L_95)
{
goto IL_019e_2;
}
}
{
goto IL_0244_1;
}
}// end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_0210_1:
{
// nodeCount = CountChildren(root);
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_96 = V_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_97 = V_2;
NullCheck(L_97);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_98 = L_97->___root_11;
int32_t L_99;
L_99 = PointGraph_CountChildren_mFD9665904130BFBC535837A4277ACFF781135C5F(L_98, NULL);
NullCheck(L_96);
PointGraph_set_nodeCount_m54C70E397E4891F8B7FFEC013D17E8FB8647A148_inline(L_96, L_99, NULL);
// nodes = CreateNodes(nodeCount);
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_100 = V_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_101 = V_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_102 = V_2;
NullCheck(L_102);
int32_t L_103;
L_103 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(L_102, NULL);
NullCheck(L_101);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_104;
L_104 = VirtualFuncInvoker1< PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2*, int32_t >::Invoke(26 /* Pathfinding.PointNode[] Pathfinding.PointGraph::CreateNodes(System.Int32) */, L_101, L_103);
NullCheck(L_100);
L_100->___nodes_21 = L_104;
Il2CppCodeGenWriteBarrier((void**)(&L_100->___nodes_21), (void*)L_104);
// int startID = 0;
V_8 = 0;
// AddChildren(ref startID, root);
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_105 = V_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_106 = V_2;
NullCheck(L_106);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_107 = L_106->___root_11;
NullCheck(L_105);
PointGraph_AddChildren_m9960E40B7FC9EE480253BA2DC72FC991E8D0F423(L_105, (&V_8), L_107, NULL);
}
IL_0244_1:
{
// foreach (var progress in ConnectNodesAsync()) yield return progress.MapTo(0.15f, 0.95f);
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_108 = V_2;
NullCheck(L_108);
RuntimeObject* L_109;
L_109 = PointGraph_ConnectNodesAsync_m5836DF445BFACD510413E442899848C76F1D2F5C(L_108, NULL);
NullCheck(L_109);
RuntimeObject* L_110;
L_110 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<Pathfinding.Progress>::GetEnumerator() */, IEnumerable_1_t0064AAC2102BF24FE1A2441E4B32C75CA0C24B85_il2cpp_TypeInfo_var, L_109);
__this->___U3CU3E7__wrap2_5 = L_110;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E7__wrap2_5), (void*)L_110);
__this->___U3CU3E1__state_0 = ((int32_t)-3);
goto IL_0297_1;
}
IL_025f_1:
{
// foreach (var progress in ConnectNodesAsync()) yield return progress.MapTo(0.15f, 0.95f);
RuntimeObject* L_111 = __this->___U3CU3E7__wrap2_5;
NullCheck(L_111);
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_112;
L_112 = InterfaceFuncInvoker0< Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<Pathfinding.Progress>::get_Current() */, IEnumerator_1_t5873E37892996C4E37155DAB51A1CBF55EE81B55_il2cpp_TypeInfo_var, L_111);
V_9 = L_112;
// foreach (var progress in ConnectNodesAsync()) yield return progress.MapTo(0.15f, 0.95f);
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_113;
L_113 = Progress_MapTo_m455B07D01EC1D98BC1D20633899DEF5497D23AD6((&V_9), (0.150000006f), (0.949999988f), (String_t*)NULL, NULL);
__this->___U3CU3E2__current_1 = L_113;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 3;
V_0 = (bool)1;
goto IL_02bc;
}
IL_028f_1:
{
__this->___U3CU3E1__state_0 = ((int32_t)-3);
}
IL_0297_1:
{
// foreach (var progress in ConnectNodesAsync()) yield return progress.MapTo(0.15f, 0.95f);
RuntimeObject* L_114 = __this->___U3CU3E7__wrap2_5;
NullCheck(L_114);
bool L_115;
L_115 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_114);
if (L_115)
{
goto IL_025f_1;
}
}
{
U3CScanInternalU3Ed__32_U3CU3Em__Finally1_m6159FB78A878D66B7512C06C7866363866DEDDA0(__this, NULL);
__this->___U3CU3E7__wrap2_5 = (RuntimeObject*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E7__wrap2_5), (void*)(RuntimeObject*)NULL);
// }
V_0 = (bool)0;
goto IL_02bc;
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_02bc:
{
bool L_116 = V_0;
return L_116;
}
}
// System.Void Pathfinding.PointGraph/<ScanInternal>d__32::<>m__Finally1()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__32_U3CU3Em__Finally1_m6159FB78A878D66B7512C06C7866363866DEDDA0 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
__this->___U3CU3E1__state_0 = (-1);
RuntimeObject* L_0 = __this->___U3CU3E7__wrap2_5;
if (!L_0)
{
goto IL_001a;
}
}
{
RuntimeObject* L_1 = __this->___U3CU3E7__wrap2_5;
NullCheck(L_1);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_1);
}
IL_001a:
{
return;
}
}
// Pathfinding.Progress Pathfinding.PointGraph/<ScanInternal>d__32::System.Collections.Generic.IEnumerator<Pathfinding.Progress>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 U3CScanInternalU3Ed__32_System_Collections_Generic_IEnumeratorU3CPathfinding_ProgressU3E_get_Current_mED8F43E50219772FC51518E6AEC833128954424C (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method)
{
{
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void Pathfinding.PointGraph/<ScanInternal>d__32::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__32_System_Collections_IEnumerator_Reset_mC790E45C576DFF75B0B0A1851B60E1F84D66D179 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NullCheck(L_0);
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CScanInternalU3Ed__32_System_Collections_IEnumerator_Reset_mC790E45C576DFF75B0B0A1851B60E1F84D66D179_RuntimeMethod_var)));
}
}
// System.Object Pathfinding.PointGraph/<ScanInternal>d__32::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__32_System_Collections_IEnumerator_get_Current_mAC984D31849C4790FDF411C0A0AA1D77C32BCA53 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_0 = __this->___U3CU3E2__current_1;
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_1 = L_0;
RuntimeObject* L_2 = Box(Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var, &L_1);
return L_2;
}
}
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress> Pathfinding.PointGraph/<ScanInternal>d__32::System.Collections.Generic.IEnumerable<Pathfinding.Progress>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__32_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_mCAB9A668A36A3C2555F9C715640B98166F8E8B21 (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* V_0 = NULL;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)-2)))))
{
goto IL_0022;
}
}
{
int32_t L_1 = __this->___U3CU3El__initialThreadId_2;
int32_t L_2;
L_2 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0022;
}
}
{
__this->___U3CU3E1__state_0 = 0;
V_0 = __this;
goto IL_0035;
}
IL_0022:
{
U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* L_3 = (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11*)il2cpp_codegen_object_new(U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11_il2cpp_TypeInfo_var);
NullCheck(L_3);
U3CScanInternalU3Ed__32__ctor_m1539DB918717EDEE1FDDCBD3FA8228FD8419EBD8(L_3, 0, NULL);
V_0 = L_3;
U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* L_4 = V_0;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_5 = __this->___U3CU3E4__this_3;
NullCheck(L_4);
L_4->___U3CU3E4__this_3 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&L_4->___U3CU3E4__this_3), (void*)L_5);
}
IL_0035:
{
U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* L_6 = V_0;
return L_6;
}
}
// System.Collections.IEnumerator Pathfinding.PointGraph/<ScanInternal>d__32::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__32_System_Collections_IEnumerable_GetEnumerator_m4614453D251342467E4D5FE49FED6E29721D3E5D (U3CScanInternalU3Ed__32_t2098B8F7EF8A67A3EAD0E53864F69C615635EC11* __this, const RuntimeMethod* method)
{
{
RuntimeObject* L_0;
L_0 = U3CScanInternalU3Ed__32_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_mCAB9A668A36A3C2555F9C715640B98166F8E8B21(__this, NULL);
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.PointGraph/<ConnectNodesAsync>d__34::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CConnectNodesAsyncU3Ed__34__ctor_m96FD3CC76A6744B49C3CEEA3850D3D4C43FC244A (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___0_U3CU3E1__state;
__this->___U3CU3E1__state_0 = L_0;
int32_t L_1;
L_1 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
__this->___U3CU3El__initialThreadId_2 = L_1;
return;
}
}
// System.Void Pathfinding.PointGraph/<ConnectNodesAsync>d__34::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CConnectNodesAsyncU3Ed__34_System_IDisposable_Dispose_mD4469F8DFA3CA17CC0BFA6C75A46201FE15F2DF6 (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean Pathfinding.PointGraph/<ConnectNodesAsync>d__34::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CConnectNodesAsyncU3Ed__34_MoveNext_m5D4D9591FA2A1A27857710C59748C31CE14EA6B9 (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m24C92EA16BBE53010A10A365A9D125EC585F92B0_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC9C44B14BF63B847909B4B23EB4912E2436D3132_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral795FE86F3DC9E2089D1A33EE091AF05050A47B7D);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* V_1 = NULL;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* V_2 = NULL;
int32_t V_3 = 0;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* V_4 = NULL;
float V_5 = 0.0f;
int32_t V_6 = 0;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_1 = __this->___U3CU3E4__this_3;
V_1 = L_1;
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_001a;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)1)))
{
goto IL_0102;
}
}
{
return (bool)0;
}
IL_001a:
{
__this->___U3CU3E1__state_0 = (-1);
// if (maxDistance >= 0) {
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_4 = V_1;
NullCheck(L_4);
float L_5 = L_4->___maxDistance_13;
if ((!(((float)L_5) >= ((float)(0.0f)))))
{
goto IL_01b8;
}
}
{
// var connections = new List<Connection>();
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_6 = (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*)il2cpp_codegen_object_new(List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F_il2cpp_TypeInfo_var);
NullCheck(L_6);
List_1__ctor_mC9C44B14BF63B847909B4B23EB4912E2436D3132(L_6, List_1__ctor_mC9C44B14BF63B847909B4B23EB4912E2436D3132_RuntimeMethod_var);
__this->___U3CconnectionsU3E5__2_4 = L_6;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CconnectionsU3E5__2_4), (void*)L_6);
// if (maxDistance == 0 && (limits.x == 0 || limits.y == 0 || limits.z == 0)) {
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_7 = V_1;
NullCheck(L_7);
float L_8 = L_7->___maxDistance_13;
if ((!(((float)L_8) == ((float)(0.0f)))))
{
goto IL_007f;
}
}
{
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_9 = V_1;
NullCheck(L_9);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_10 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_9->___limits_14);
float L_11 = L_10->___x_2;
if ((((float)L_11) == ((float)(0.0f))))
{
goto IL_00c0;
}
}
{
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_12 = V_1;
NullCheck(L_12);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_13 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_12->___limits_14);
float L_14 = L_13->___y_3;
if ((((float)L_14) == ((float)(0.0f))))
{
goto IL_00c0;
}
}
{
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_15 = V_1;
NullCheck(L_15);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_16 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_15->___limits_14);
float L_17 = L_16->___z_4;
if ((((float)L_17) == ((float)(0.0f))))
{
goto IL_00c0;
}
}
IL_007f:
{
// maxSquaredRange = (long)(Mathf.Max(limits.x, Mathf.Max(limits.y, Mathf.Max(limits.z, maxDistance))) * Int3.Precision) + 1;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_18 = V_1;
NullCheck(L_18);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_19 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_18->___limits_14);
float L_20 = L_19->___x_2;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_21 = V_1;
NullCheck(L_21);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_22 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_21->___limits_14);
float L_23 = L_22->___y_3;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_24 = V_1;
NullCheck(L_24);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_25 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_24->___limits_14);
float L_26 = L_25->___z_4;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_27 = V_1;
NullCheck(L_27);
float L_28 = L_27->___maxDistance_13;
float L_29;
L_29 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_26, L_28, NULL);
float L_30;
L_30 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_23, L_29, NULL);
float L_31;
L_31 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_20, L_30, NULL);
// maxSquaredRange *= maxSquaredRange;
}
IL_00c0:
{
// for (int i = 0; i < nodeCount; i++) {
__this->___U3CiU3E5__3_5 = 0;
goto IL_01a0;
}
IL_00cc:
{
// if (i % YieldEveryNNodes == 0) {
int32_t L_32 = __this->___U3CiU3E5__3_5;
if (((int32_t)(L_32%((int32_t)512))))
{
goto IL_0109;
}
}
{
// yield return new Progress(i/(float)nodeCount, "Connecting nodes");
int32_t L_33 = __this->___U3CiU3E5__3_5;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_34 = V_1;
NullCheck(L_34);
int32_t L_35;
L_35 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(L_34, NULL);
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_36;
memset((&L_36), 0, sizeof(L_36));
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_36), ((float)(((float)L_33)/((float)L_35))), _stringLiteral795FE86F3DC9E2089D1A33EE091AF05050A47B7D, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_36;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_0102:
{
__this->___U3CU3E1__state_0 = (-1);
}
IL_0109:
{
// connections.Clear();
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_37 = __this->___U3CconnectionsU3E5__2_4;
NullCheck(L_37);
List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_inline(L_37, List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_RuntimeMethod_var);
// var node = nodes[i];
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_38 = V_1;
NullCheck(L_38);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_39 = L_38->___nodes_21;
int32_t L_40 = __this->___U3CiU3E5__3_5;
NullCheck(L_39);
int32_t L_41 = L_40;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
V_2 = L_42;
// for (int j = 0; j < nodeCount; j++) {
V_3 = 0;
goto IL_016e;
}
IL_0126:
{
// if (i == j) continue;
int32_t L_43 = __this->___U3CiU3E5__3_5;
int32_t L_44 = V_3;
if ((((int32_t)L_43) == ((int32_t)L_44)))
{
goto IL_016a;
}
}
{
// PointNode other = nodes[j];
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_45 = V_1;
NullCheck(L_45);
PointNodeU5BU5D_t2D47EA89C24F8EE805687F13457BA2466FE9E5A2* L_46 = L_45->___nodes_21;
int32_t L_47 = V_3;
NullCheck(L_46);
int32_t L_48 = L_47;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_49 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
V_4 = L_49;
// if (IsValidConnection(node, other, out dist)) {
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_50 = V_1;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_51 = V_2;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_52 = V_4;
NullCheck(L_50);
bool L_53;
L_53 = VirtualFuncInvoker3< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, float* >::Invoke(27 /* System.Boolean Pathfinding.PointGraph::IsValidConnection(Pathfinding.GraphNode,Pathfinding.GraphNode,System.Single&) */, L_50, L_51, L_52, (&V_5));
if (!L_53)
{
goto IL_016a;
}
}
{
// connections.Add(new Connection(
// other,
// /// <summary>TODO: Is this equal to .costMagnitude</summary>
// (uint)Mathf.RoundToInt(dist*Int3.FloatPrecision)
// ));
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_54 = __this->___U3CconnectionsU3E5__2_4;
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_55 = V_4;
float L_56 = V_5;
int32_t L_57;
L_57 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_multiply(L_56, (1000.0f))), NULL);
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_58;
memset((&L_58), 0, sizeof(L_58));
Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2((&L_58), L_55, L_57, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
NullCheck(L_54);
List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_inline(L_54, L_58, List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_RuntimeMethod_var);
}
IL_016a:
{
// for (int j = 0; j < nodeCount; j++) {
int32_t L_59 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_59, 1));
}
IL_016e:
{
// for (int j = 0; j < nodeCount; j++) {
int32_t L_60 = V_3;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_61 = V_1;
NullCheck(L_61);
int32_t L_62;
L_62 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(L_61, NULL);
if ((((int32_t)L_60) < ((int32_t)L_62)))
{
goto IL_0126;
}
}
{
// node.connections = connections.ToArray();
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_63 = V_2;
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_64 = __this->___U3CconnectionsU3E5__2_4;
NullCheck(L_64);
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_65;
L_65 = List_1_ToArray_m24C92EA16BBE53010A10A365A9D125EC585F92B0(L_64, List_1_ToArray_m24C92EA16BBE53010A10A365A9D125EC585F92B0_RuntimeMethod_var);
NullCheck(L_63);
L_63->___connections_20 = L_65;
Il2CppCodeGenWriteBarrier((void**)(&L_63->___connections_20), (void*)L_65);
// node.SetConnectivityDirty();
PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0* L_66 = V_2;
NullCheck(L_66);
GraphNode_SetConnectivityDirty_m1B823A693BA88849DB202D906E6DD5646D83E86E(L_66, NULL);
// for (int i = 0; i < nodeCount; i++) {
int32_t L_67 = __this->___U3CiU3E5__3_5;
V_6 = L_67;
int32_t L_68 = V_6;
__this->___U3CiU3E5__3_5 = ((int32_t)il2cpp_codegen_add(L_68, 1));
}
IL_01a0:
{
// for (int i = 0; i < nodeCount; i++) {
int32_t L_69 = __this->___U3CiU3E5__3_5;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_70 = V_1;
NullCheck(L_70);
int32_t L_71;
L_71 = PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline(L_70, NULL);
if ((((int32_t)L_69) < ((int32_t)L_71)))
{
goto IL_00cc;
}
}
{
// }
__this->___U3CconnectionsU3E5__2_4 = (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CconnectionsU3E5__2_4), (void*)(List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*)NULL);
}
IL_01b8:
{
// }
return (bool)0;
}
}
// Pathfinding.Progress Pathfinding.PointGraph/<ConnectNodesAsync>d__34::System.Collections.Generic.IEnumerator<Pathfinding.Progress>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 U3CConnectNodesAsyncU3Ed__34_System_Collections_Generic_IEnumeratorU3CPathfinding_ProgressU3E_get_Current_m36BF2652D4BE6BF9B13430843BEB2412D349D9D9 (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, const RuntimeMethod* method)
{
{
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void Pathfinding.PointGraph/<ConnectNodesAsync>d__34::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CConnectNodesAsyncU3Ed__34_System_Collections_IEnumerator_Reset_mD97ED99D0E06B906E9E59B201F7D23F6EB577202 (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NullCheck(L_0);
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CConnectNodesAsyncU3Ed__34_System_Collections_IEnumerator_Reset_mD97ED99D0E06B906E9E59B201F7D23F6EB577202_RuntimeMethod_var)));
}
}
// System.Object Pathfinding.PointGraph/<ConnectNodesAsync>d__34::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CConnectNodesAsyncU3Ed__34_System_Collections_IEnumerator_get_Current_mE0B30D3C19F7B41765ABEA396105A305726EA6CB (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_0 = __this->___U3CU3E2__current_1;
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_1 = L_0;
RuntimeObject* L_2 = Box(Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var, &L_1);
return L_2;
}
}
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress> Pathfinding.PointGraph/<ConnectNodesAsync>d__34::System.Collections.Generic.IEnumerable<Pathfinding.Progress>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CConnectNodesAsyncU3Ed__34_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_m4DC6ED52509E11DCE491CD68C5332CA663B25BF0 (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* V_0 = NULL;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)-2)))))
{
goto IL_0022;
}
}
{
int32_t L_1 = __this->___U3CU3El__initialThreadId_2;
int32_t L_2;
L_2 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0022;
}
}
{
__this->___U3CU3E1__state_0 = 0;
V_0 = __this;
goto IL_0035;
}
IL_0022:
{
U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* L_3 = (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886*)il2cpp_codegen_object_new(U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886_il2cpp_TypeInfo_var);
NullCheck(L_3);
U3CConnectNodesAsyncU3Ed__34__ctor_m96FD3CC76A6744B49C3CEEA3850D3D4C43FC244A(L_3, 0, NULL);
V_0 = L_3;
U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* L_4 = V_0;
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* L_5 = __this->___U3CU3E4__this_3;
NullCheck(L_4);
L_4->___U3CU3E4__this_3 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&L_4->___U3CU3E4__this_3), (void*)L_5);
}
IL_0035:
{
U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* L_6 = V_0;
return L_6;
}
}
// System.Collections.IEnumerator Pathfinding.PointGraph/<ConnectNodesAsync>d__34::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CConnectNodesAsyncU3Ed__34_System_Collections_IEnumerable_GetEnumerator_mB67E0FB992CEDF1F5147581B8D0F82A1B58DB8C2 (U3CConnectNodesAsyncU3Ed__34_t99C35461A7A8CB46A003EB0FD8077A2C98F7F886* __this, const RuntimeMethod* method)
{
{
RuntimeObject* L_0;
L_0 = U3CConnectNodesAsyncU3Ed__34_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_m4DC6ED52509E11DCE491CD68C5332CA663B25BF0(__this, NULL);
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Rect Pathfinding.BBTree::get_Size()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D BBTree_get_Size_m2AB2F43BBE57FACBD93863C39569A580440614AB (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, const RuntimeMethod* method)
{
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (count == 0) {
int32_t L_0 = __this->___count_2;
if (L_0)
{
goto IL_0022;
}
}
{
// return new Rect(0, 0, 0, 0);
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_1;
memset((&L_1), 0, sizeof(L_1));
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&L_1), (0.0f), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
return L_1;
}
IL_0022:
{
// var rect = tree[0].rect;
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_2 = __this->___tree_0;
NullCheck(L_2);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_3 = ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___rect_0;
V_0 = L_3;
// return Rect.MinMaxRect(rect.xmin*Int3.PrecisionFactor, rect.ymin*Int3.PrecisionFactor, rect.xmax*Int3.PrecisionFactor, rect.ymax*Int3.PrecisionFactor);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_4 = V_0;
int32_t L_5 = L_4.___xmin_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_6 = V_0;
int32_t L_7 = L_6.___ymin_1;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_8 = V_0;
int32_t L_9 = L_8.___xmax_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_10 = V_0;
int32_t L_11 = L_10.___ymax_3;
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_12;
L_12 = Rect_MinMaxRect_m540D2DD8C255D276AD4AE06D9CCA2A667EFA39E5(((float)il2cpp_codegen_multiply(((float)L_5), (0.00100000005f))), ((float)il2cpp_codegen_multiply(((float)L_7), (0.00100000005f))), ((float)il2cpp_codegen_multiply(((float)L_9), (0.00100000005f))), ((float)il2cpp_codegen_multiply(((float)L_11), (0.00100000005f))), NULL);
return L_12;
}
}
// System.Void Pathfinding.BBTree::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_Clear_m54A44E63D9BB02A4BED202EE1C9D8075B4274C8B (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t140968A91FD5036E20A3A88A374CF27817EB0989_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// count = 0;
__this->___count_2 = 0;
// leafNodes = 0;
__this->___leafNodes_3 = 0;
// if (tree != null) ArrayPool<BBTreeBox>.Release(ref tree);
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_0 = __this->___tree_0;
if (!L_0)
{
goto IL_0022;
}
}
{
// if (tree != null) ArrayPool<BBTreeBox>.Release(ref tree);
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A** L_1 = (BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A**)(&__this->___tree_0);
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t140968A91FD5036E20A3A88A374CF27817EB0989_il2cpp_TypeInfo_var);
ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2(L_1, (bool)0, ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2_RuntimeMethod_var);
}
IL_0022:
{
// if (nodeLookup != null) {
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_2 = __this->___nodeLookup_1;
if (!L_2)
{
goto IL_0052;
}
}
{
// for (int i = 0; i < nodeLookup.Length; i++) nodeLookup[i] = null;
V_0 = 0;
goto IL_003b;
}
IL_002e:
{
// for (int i = 0; i < nodeLookup.Length; i++) nodeLookup[i] = null;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_3 = __this->___nodeLookup_1;
int32_t L_4 = V_0;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, NULL);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_4), (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)NULL);
// for (int i = 0; i < nodeLookup.Length; i++) nodeLookup[i] = null;
int32_t L_5 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
}
IL_003b:
{
// for (int i = 0; i < nodeLookup.Length; i++) nodeLookup[i] = null;
int32_t L_6 = V_0;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_7 = __this->___nodeLookup_1;
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
{
goto IL_002e;
}
}
{
// ArrayPool<TriangleMeshNode>.Release(ref nodeLookup);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142** L_8 = (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142**)(&__this->___nodeLookup_1);
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var);
ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD(L_8, (bool)0, ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD_RuntimeMethod_var);
}
IL_0052:
{
// tree = ArrayPool<BBTreeBox>.Claim(0);
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t140968A91FD5036E20A3A88A374CF27817EB0989_il2cpp_TypeInfo_var);
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_9;
L_9 = ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669(0, ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669_RuntimeMethod_var);
__this->___tree_0 = L_9;
Il2CppCodeGenWriteBarrier((void**)(&__this->___tree_0), (void*)L_9);
// nodeLookup = ArrayPool<TriangleMeshNode>.Claim(0);
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_10;
L_10 = ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79(0, ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79_RuntimeMethod_var);
__this->___nodeLookup_1 = L_10;
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodeLookup_1), (void*)L_10);
// }
return;
}
}
// System.Void Pathfinding.BBTree::Pathfinding.Util.IAstarPooledObject.OnEnterPool()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_Pathfinding_Util_IAstarPooledObject_OnEnterPool_mBAE6A9F49651C1B4E56AE7E930846E9F6EEBFA09 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, const RuntimeMethod* method)
{
{
// Clear();
BBTree_Clear_m54A44E63D9BB02A4BED202EE1C9D8075B4274C8B(__this, NULL);
// }
return;
}
}
// System.Void Pathfinding.BBTree::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_EnsureCapacity_m9522B3FC886864A53B0EC78BEE2B1F81762FE6F3 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_c, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t140968A91FD5036E20A3A88A374CF27817EB0989_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* V_0 = NULL;
{
// if (c > tree.Length) {
int32_t L_0 = ___0_c;
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_1 = __this->___tree_0;
NullCheck(L_1);
if ((((int32_t)L_0) <= ((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))))
{
goto IL_0032;
}
}
{
// var newArr = ArrayPool<BBTreeBox>.Claim(c);
int32_t L_2 = ___0_c;
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t140968A91FD5036E20A3A88A374CF27817EB0989_il2cpp_TypeInfo_var);
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_3;
L_3 = ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669(L_2, ArrayPool_1_Claim_m3F66B81A804FD57EECC65445258A8ED3060F6669_RuntimeMethod_var);
V_0 = L_3;
// tree.CopyTo(newArr, 0);
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_4 = __this->___tree_0;
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_5 = V_0;
NullCheck((RuntimeArray*)L_4);
Array_CopyTo_mFD42E3443AB3B850ED6F19359698E242A08E1BAB((RuntimeArray*)L_4, (RuntimeArray*)L_5, 0, NULL);
// ArrayPool<BBTreeBox>.Release(ref tree);
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A** L_6 = (BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A**)(&__this->___tree_0);
ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2(L_6, (bool)0, ArrayPool_1_Release_mD3C682C717DDEF5729171310161E2C71FB3FF7D2_RuntimeMethod_var);
// tree = newArr;
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_7 = V_0;
__this->___tree_0 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___tree_0), (void*)L_7);
}
IL_0032:
{
// }
return;
}
}
// System.Void Pathfinding.BBTree::EnsureNodeCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_EnsureNodeCapacity_m886CE1D4793D914A0CA3150C4795DD519879B356 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_c, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_0 = NULL;
{
// if (c > nodeLookup.Length) {
int32_t L_0 = ___0_c;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_1 = __this->___nodeLookup_1;
NullCheck(L_1);
if ((((int32_t)L_0) <= ((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))))
{
goto IL_0032;
}
}
{
// var newArr = ArrayPool<TriangleMeshNode>.Claim(c);
int32_t L_2 = ___0_c;
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_3;
L_3 = ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79(L_2, ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79_RuntimeMethod_var);
V_0 = L_3;
// nodeLookup.CopyTo(newArr, 0);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_4 = __this->___nodeLookup_1;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_5 = V_0;
NullCheck((RuntimeArray*)L_4);
Array_CopyTo_mFD42E3443AB3B850ED6F19359698E242A08E1BAB((RuntimeArray*)L_4, (RuntimeArray*)L_5, 0, NULL);
// ArrayPool<TriangleMeshNode>.Release(ref nodeLookup);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142** L_6 = (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142**)(&__this->___nodeLookup_1);
ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD(L_6, (bool)0, ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD_RuntimeMethod_var);
// nodeLookup = newArr;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_7 = V_0;
__this->___nodeLookup_1 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodeLookup_1), (void*)L_7);
}
IL_0032:
{
// }
return;
}
}
// System.Int32 Pathfinding.BBTree::GetBox(Pathfinding.IntRect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBTree_GetBox_m9A55468F335375CC1D11CECB0579D9624C9A4782 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, const RuntimeMethod* method)
{
{
// if (count >= tree.Length) EnsureCapacity(count+1);
int32_t L_0 = __this->___count_2;
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_1 = __this->___tree_0;
NullCheck(L_1);
if ((((int32_t)L_0) < ((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))))
{
goto IL_001e;
}
}
{
// if (count >= tree.Length) EnsureCapacity(count+1);
int32_t L_2 = __this->___count_2;
BBTree_EnsureCapacity_m9522B3FC886864A53B0EC78BEE2B1F81762FE6F3(__this, ((int32_t)il2cpp_codegen_add(L_2, 1)), NULL);
}
IL_001e:
{
// tree[count] = new BBTreeBox(rect);
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_3 = __this->___tree_0;
int32_t L_4 = __this->___count_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_5 = ___0_rect;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_6;
memset((&L_6), 0, sizeof(L_6));
BBTreeBox__ctor_mBA684D448E7E9D556FF37A6C3F9255DBFA6D2CEC((&L_6), L_5, /*hidden argument*/NULL);
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_4), (BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979)L_6);
// count++;
int32_t L_7 = __this->___count_2;
__this->___count_2 = ((int32_t)il2cpp_codegen_add(L_7, 1));
// return count-1;
int32_t L_8 = __this->___count_2;
return ((int32_t)il2cpp_codegen_subtract(L_8, 1));
}
}
// System.Void Pathfinding.BBTree::RebuildFrom(Pathfinding.TriangleMeshNode[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_RebuildFrom_mDFA8828FEEB0A074733D3C8C72153A05E5747988 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_m497D9965DF6F084ED1C487DE7B20E1771A0225A2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_m58490F73868B059517CF8CED5751A5EA5F6C5752_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_m0C8F5FE3750CC790D6CE6A1386E1FD752F3F5E41_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mD700A63E5C6664397A961B7FF120378A7F0239A1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t3AC346D71543F07B5D488BBBA66EA999C04143F2_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t55739C3C0E2AD6C37884470952AD8C50316E13F4_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_0 = NULL;
IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_4;
memset((&V_4), 0, sizeof(V_4));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_5;
memset((&V_5), 0, sizeof(V_5));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_6;
memset((&V_6), 0, sizeof(V_6));
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_7;
memset((&V_7), 0, sizeof(V_7));
{
// Clear();
BBTree_Clear_m54A44E63D9BB02A4BED202EE1C9D8075B4274C8B(__this, NULL);
// if (nodes.Length == 0) return;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_0 = ___0_nodes;
NullCheck(L_0);
if ((((RuntimeArray*)L_0)->max_length))
{
goto IL_000b;
}
}
{
// if (nodes.Length == 0) return;
return;
}
IL_000b:
{
// EnsureCapacity(Mathf.CeilToInt(nodes.Length * 2.1f));
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_1 = ___0_nodes;
NullCheck(L_1);
int32_t L_2;
L_2 = Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline(((float)il2cpp_codegen_multiply(((float)((int32_t)(((RuntimeArray*)L_1)->max_length))), (2.0999999f))), NULL);
BBTree_EnsureCapacity_m9522B3FC886864A53B0EC78BEE2B1F81762FE6F3(__this, L_2, NULL);
// EnsureNodeCapacity(Mathf.CeilToInt(nodes.Length * 1.1f));
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_3 = ___0_nodes;
NullCheck(L_3);
int32_t L_4;
L_4 = Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline(((float)il2cpp_codegen_multiply(((float)((int32_t)(((RuntimeArray*)L_3)->max_length))), (1.10000002f))), NULL);
BBTree_EnsureNodeCapacity_m886CE1D4793D914A0CA3150C4795DD519879B356(__this, L_4, NULL);
// var permutation = ArrayPool<int>.Claim(nodes.Length);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_5 = ___0_nodes;
NullCheck(L_5);
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t3AC346D71543F07B5D488BBBA66EA999C04143F2_il2cpp_TypeInfo_var);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6;
L_6 = ArrayPool_1_Claim_m58490F73868B059517CF8CED5751A5EA5F6C5752(((int32_t)(((RuntimeArray*)L_5)->max_length)), ArrayPool_1_Claim_m58490F73868B059517CF8CED5751A5EA5F6C5752_RuntimeMethod_var);
V_0 = L_6;
// for (int i = 0; i < nodes.Length; i++) {
V_2 = 0;
goto IL_004a;
}
IL_0042:
{
// permutation[i] = i;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = V_0;
int32_t L_8 = V_2;
int32_t L_9 = V_2;
NullCheck(L_7);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(L_8), (int32_t)L_9);
// for (int i = 0; i < nodes.Length; i++) {
int32_t L_10 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_10, 1));
}
IL_004a:
{
// for (int i = 0; i < nodes.Length; i++) {
int32_t L_11 = V_2;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_12 = ___0_nodes;
NullCheck(L_12);
if ((((int32_t)L_11) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))
{
goto IL_0042;
}
}
{
// var nodeBounds = ArrayPool<IntRect>.Claim(nodes.Length);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_13 = ___0_nodes;
NullCheck(L_13);
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t55739C3C0E2AD6C37884470952AD8C50316E13F4_il2cpp_TypeInfo_var);
IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* L_14;
L_14 = ArrayPool_1_Claim_m497D9965DF6F084ED1C487DE7B20E1771A0225A2(((int32_t)(((RuntimeArray*)L_13)->max_length)), ArrayPool_1_Claim_m497D9965DF6F084ED1C487DE7B20E1771A0225A2_RuntimeMethod_var);
V_1 = L_14;
// for (int i = 0; i < nodes.Length; i++) {
V_3 = 0;
goto IL_00c9;
}
IL_005d:
{
// nodes[i].GetVertices(out v0, out v1, out v2);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_15 = ___0_nodes;
int32_t L_16 = V_3;
NullCheck(L_15);
int32_t L_17 = L_16;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
NullCheck(L_18);
TriangleMeshNode_GetVertices_m1B343E7743FBD9783557046FEC6FE2175D6194E0(L_18, (&V_4), (&V_5), (&V_6), NULL);
// var rect = new IntRect(v0.x, v0.z, v0.x, v0.z);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_19 = V_4;
int32_t L_20 = L_19.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_21 = V_4;
int32_t L_22 = L_21.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_23 = V_4;
int32_t L_24 = L_23.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_25 = V_4;
int32_t L_26 = L_25.___z_2;
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&V_7), L_20, L_22, L_24, L_26, NULL);
// rect = rect.ExpandToContain(v1.x, v1.z);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_27 = V_5;
int32_t L_28 = L_27.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_29 = V_5;
int32_t L_30 = L_29.___z_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_31;
L_31 = IntRect_ExpandToContain_m0101C3D2B025AC4F51691FD01565434DCD7FD32F((&V_7), L_28, L_30, NULL);
V_7 = L_31;
// rect = rect.ExpandToContain(v2.x, v2.z);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_32 = V_6;
int32_t L_33 = L_32.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_34 = V_6;
int32_t L_35 = L_34.___z_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_36;
L_36 = IntRect_ExpandToContain_m0101C3D2B025AC4F51691FD01565434DCD7FD32F((&V_7), L_33, L_35, NULL);
V_7 = L_36;
// nodeBounds[i] = rect;
IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* L_37 = V_1;
int32_t L_38 = V_3;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_39 = V_7;
NullCheck(L_37);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(L_38), (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312)L_39);
// for (int i = 0; i < nodes.Length; i++) {
int32_t L_40 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_40, 1));
}
IL_00c9:
{
// for (int i = 0; i < nodes.Length; i++) {
int32_t L_41 = V_3;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_42 = ___0_nodes;
NullCheck(L_42);
if ((((int32_t)L_41) < ((int32_t)((int32_t)(((RuntimeArray*)L_42)->max_length)))))
{
goto IL_005d;
}
}
{
// RebuildFromInternal(nodes, permutation, nodeBounds, 0, nodes.Length, false);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_43 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_44 = V_0;
IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* L_45 = V_1;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_46 = ___0_nodes;
NullCheck(L_46);
int32_t L_47;
L_47 = BBTree_RebuildFromInternal_mC6870DDCD0543E73D31ED90E7A15A851D994C8B2(__this, L_43, L_44, L_45, 0, ((int32_t)(((RuntimeArray*)L_46)->max_length)), (bool)0, NULL);
// ArrayPool<int>.Release(ref permutation);
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t3AC346D71543F07B5D488BBBA66EA999C04143F2_il2cpp_TypeInfo_var);
ArrayPool_1_Release_m0C8F5FE3750CC790D6CE6A1386E1FD752F3F5E41((&V_0), (bool)0, ArrayPool_1_Release_m0C8F5FE3750CC790D6CE6A1386E1FD752F3F5E41_RuntimeMethod_var);
// ArrayPool<IntRect>.Release(ref nodeBounds);
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t55739C3C0E2AD6C37884470952AD8C50316E13F4_il2cpp_TypeInfo_var);
ArrayPool_1_Release_mD700A63E5C6664397A961B7FF120378A7F0239A1((&V_1), (bool)0, ArrayPool_1_Release_mD700A63E5C6664397A961B7FF120378A7F0239A1_RuntimeMethod_var);
// }
return;
}
}
// System.Int32 Pathfinding.BBTree::SplitByX(Pathfinding.TriangleMeshNode[],System.Int32[],System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBTree_SplitByX_mC9E3B8DCB39317E04465A0AC3D38DBE58243F236 (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_permutation, int32_t ___2_from, int32_t ___3_to, int32_t ___4_divider, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
// int mx = to;
int32_t L_0 = ___3_to;
V_0 = L_0;
// for (int i = from; i < mx; i++) {
int32_t L_1 = ___2_from;
V_1 = L_1;
goto IL_0033;
}
IL_0006:
{
// if (nodes[permutation[i]].position.x > divider) {
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_2 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = ___1_permutation;
int32_t L_4 = V_1;
NullCheck(L_3);
int32_t L_5 = L_4;
int32_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
NullCheck(L_2);
int32_t L_7 = L_6;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_8 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck(L_8);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_9 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_8)->___position_7);
int32_t L_10 = L_9->___x_0;
int32_t L_11 = ___4_divider;
if ((((int32_t)L_10) <= ((int32_t)L_11)))
{
goto IL_002f;
}
}
{
// mx--;
int32_t L_12 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract(L_12, 1));
// var tmp = permutation[mx];
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_13 = ___1_permutation;
int32_t L_14 = V_0;
NullCheck(L_13);
int32_t L_15 = L_14;
int32_t L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
V_2 = L_16;
// permutation[mx] = permutation[i];
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_17 = ___1_permutation;
int32_t L_18 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = ___1_permutation;
int32_t L_20 = V_1;
NullCheck(L_19);
int32_t L_21 = L_20;
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
NullCheck(L_17);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(L_18), (int32_t)L_22);
// permutation[i] = tmp;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_23 = ___1_permutation;
int32_t L_24 = V_1;
int32_t L_25 = V_2;
NullCheck(L_23);
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(L_24), (int32_t)L_25);
// i--;
int32_t L_26 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract(L_26, 1));
}
IL_002f:
{
// for (int i = from; i < mx; i++) {
int32_t L_27 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_27, 1));
}
IL_0033:
{
// for (int i = from; i < mx; i++) {
int32_t L_28 = V_1;
int32_t L_29 = V_0;
if ((((int32_t)L_28) < ((int32_t)L_29)))
{
goto IL_0006;
}
}
{
// return mx;
int32_t L_30 = V_0;
return L_30;
}
}
// System.Int32 Pathfinding.BBTree::SplitByZ(Pathfinding.TriangleMeshNode[],System.Int32[],System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBTree_SplitByZ_m075774B13E30352B068FB7CB4413A8D484C680CC (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_permutation, int32_t ___2_from, int32_t ___3_to, int32_t ___4_divider, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
// int mx = to;
int32_t L_0 = ___3_to;
V_0 = L_0;
// for (int i = from; i < mx; i++) {
int32_t L_1 = ___2_from;
V_1 = L_1;
goto IL_0033;
}
IL_0006:
{
// if (nodes[permutation[i]].position.z > divider) {
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_2 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = ___1_permutation;
int32_t L_4 = V_1;
NullCheck(L_3);
int32_t L_5 = L_4;
int32_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
NullCheck(L_2);
int32_t L_7 = L_6;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_8 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck(L_8);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_9 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_8)->___position_7);
int32_t L_10 = L_9->___z_2;
int32_t L_11 = ___4_divider;
if ((((int32_t)L_10) <= ((int32_t)L_11)))
{
goto IL_002f;
}
}
{
// mx--;
int32_t L_12 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract(L_12, 1));
// var tmp = permutation[mx];
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_13 = ___1_permutation;
int32_t L_14 = V_0;
NullCheck(L_13);
int32_t L_15 = L_14;
int32_t L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
V_2 = L_16;
// permutation[mx] = permutation[i];
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_17 = ___1_permutation;
int32_t L_18 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = ___1_permutation;
int32_t L_20 = V_1;
NullCheck(L_19);
int32_t L_21 = L_20;
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
NullCheck(L_17);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(L_18), (int32_t)L_22);
// permutation[i] = tmp;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_23 = ___1_permutation;
int32_t L_24 = V_1;
int32_t L_25 = V_2;
NullCheck(L_23);
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(L_24), (int32_t)L_25);
// i--;
int32_t L_26 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract(L_26, 1));
}
IL_002f:
{
// for (int i = from; i < mx; i++) {
int32_t L_27 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_27, 1));
}
IL_0033:
{
// for (int i = from; i < mx; i++) {
int32_t L_28 = V_1;
int32_t L_29 = V_0;
if ((((int32_t)L_28) < ((int32_t)L_29)))
{
goto IL_0006;
}
}
{
// return mx;
int32_t L_30 = V_0;
return L_30;
}
}
// System.Int32 Pathfinding.BBTree::RebuildFromInternal(Pathfinding.TriangleMeshNode[],System.Int32[],Pathfinding.IntRect[],System.Int32,System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBTree_RebuildFromInternal_mC6870DDCD0543E73D31ED90E7A15A851D994C8B2 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_permutation, IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* ___2_nodeBounds, int32_t ___3_from, int32_t ___4_to, bool ___5_odd, const RuntimeMethod* method)
{
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_0;
memset((&V_0), 0, sizeof(V_0));
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t G_B4_0 = 0;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* G_B4_1 = NULL;
int32_t G_B3_0 = 0;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* G_B3_1 = NULL;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* G_B5_0 = NULL;
int32_t G_B5_1 = 0;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* G_B5_2 = NULL;
{
// var rect = NodeBounds(permutation, nodeBounds, from, to);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = ___1_permutation;
IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* L_1 = ___2_nodeBounds;
int32_t L_2 = ___3_from;
int32_t L_3 = ___4_to;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_4;
L_4 = BBTree_NodeBounds_m2793C7B365D4D7C9E0864F30BED80230DA4AD20A(L_0, L_1, L_2, L_3, NULL);
V_0 = L_4;
// int box = GetBox(rect);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_5 = V_0;
int32_t L_6;
L_6 = BBTree_GetBox_m9A55468F335375CC1D11CECB0579D9624C9A4782(__this, L_5, NULL);
V_1 = L_6;
// if (to - from <= MaximumLeafSize) {
int32_t L_7 = ___4_to;
int32_t L_8 = ___3_from;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_7, L_8))) > ((int32_t)4)))
{
goto IL_0084;
}
}
{
// var nodeOffset = tree[box].nodeOffset = leafNodes*MaximumLeafSize;
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_9 = __this->___tree_0;
int32_t L_10 = V_1;
NullCheck(L_9);
int32_t L_11 = __this->___leafNodes_3;
int32_t L_12 = ((int32_t)il2cpp_codegen_multiply(L_11, 4));
V_4 = L_12;
((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)))->___nodeOffset_1 = L_12;
int32_t L_13 = V_4;
V_3 = L_13;
// EnsureNodeCapacity(nodeOffset + MaximumLeafSize);
int32_t L_14 = V_3;
BBTree_EnsureNodeCapacity_m886CE1D4793D914A0CA3150C4795DD519879B356(__this, ((int32_t)il2cpp_codegen_add(L_14, 4)), NULL);
// leafNodes++;
int32_t L_15 = __this->___leafNodes_3;
__this->___leafNodes_3 = ((int32_t)il2cpp_codegen_add(L_15, 1));
// for (int i = 0; i < MaximumLeafSize; i++) {
V_5 = 0;
goto IL_007d;
}
IL_0057:
{
// nodeLookup[nodeOffset + i] = i < to - from ? nodes[permutation[from + i]] : null;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_16 = __this->___nodeLookup_1;
int32_t L_17 = V_3;
int32_t L_18 = V_5;
int32_t L_19 = V_5;
int32_t L_20 = ___4_to;
int32_t L_21 = ___3_from;
G_B3_0 = ((int32_t)il2cpp_codegen_add(L_17, L_18));
G_B3_1 = L_16;
if ((((int32_t)L_19) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_20, L_21)))))
{
G_B4_0 = ((int32_t)il2cpp_codegen_add(L_17, L_18));
G_B4_1 = L_16;
goto IL_006d;
}
}
{
G_B5_0 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)(NULL));
G_B5_1 = G_B3_0;
G_B5_2 = G_B3_1;
goto IL_0076;
}
IL_006d:
{
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_22 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_23 = ___1_permutation;
int32_t L_24 = ___3_from;
int32_t L_25 = V_5;
NullCheck(L_23);
int32_t L_26 = ((int32_t)il2cpp_codegen_add(L_24, L_25));
int32_t L_27 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
NullCheck(L_22);
int32_t L_28 = L_27;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_29 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
G_B5_0 = L_29;
G_B5_1 = G_B4_0;
G_B5_2 = G_B4_1;
}
IL_0076:
{
NullCheck(G_B5_2);
ArrayElementTypeCheck (G_B5_2, G_B5_0);
(G_B5_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B5_1), (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)G_B5_0);
// for (int i = 0; i < MaximumLeafSize; i++) {
int32_t L_30 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_30, 1));
}
IL_007d:
{
// for (int i = 0; i < MaximumLeafSize; i++) {
int32_t L_31 = V_5;
if ((((int32_t)L_31) < ((int32_t)4)))
{
goto IL_0057;
}
}
{
// return box;
int32_t L_32 = V_1;
return L_32;
}
IL_0084:
{
// if (odd) {
bool L_33 = ___5_odd;
if (!L_33)
{
goto IL_00a9;
}
}
{
// int divider = (rect.xmin + rect.xmax)/2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_34 = V_0;
int32_t L_35 = L_34.___xmin_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_36 = V_0;
int32_t L_37 = L_36.___xmax_2;
V_6 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_35, L_37))/2));
// splitIndex = SplitByX(nodes, permutation, from, to, divider);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_38 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_39 = ___1_permutation;
int32_t L_40 = ___3_from;
int32_t L_41 = ___4_to;
int32_t L_42 = V_6;
int32_t L_43;
L_43 = BBTree_SplitByX_mC9E3B8DCB39317E04465A0AC3D38DBE58243F236(L_38, L_39, L_40, L_41, L_42, NULL);
V_2 = L_43;
goto IL_00c8;
}
IL_00a9:
{
// int divider = (rect.ymin + rect.ymax)/2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_44 = V_0;
int32_t L_45 = L_44.___ymin_1;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_46 = V_0;
int32_t L_47 = L_46.___ymax_3;
V_7 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_45, L_47))/2));
// splitIndex = SplitByZ(nodes, permutation, from, to, divider);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_48 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_49 = ___1_permutation;
int32_t L_50 = ___3_from;
int32_t L_51 = ___4_to;
int32_t L_52 = V_7;
int32_t L_53;
L_53 = BBTree_SplitByZ_m075774B13E30352B068FB7CB4413A8D484C680CC(L_48, L_49, L_50, L_51, L_52, NULL);
V_2 = L_53;
}
IL_00c8:
{
// if (splitIndex == from || splitIndex == to) {
int32_t L_54 = V_2;
int32_t L_55 = ___3_from;
if ((((int32_t)L_54) == ((int32_t)L_55)))
{
goto IL_00d2;
}
}
{
int32_t L_56 = V_2;
int32_t L_57 = ___4_to;
if ((!(((uint32_t)L_56) == ((uint32_t)L_57))))
{
goto IL_0128;
}
}
IL_00d2:
{
// if (!odd) {
bool L_58 = ___5_odd;
if (L_58)
{
goto IL_00f7;
}
}
{
// int divider = (rect.xmin + rect.xmax)/2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_59 = V_0;
int32_t L_60 = L_59.___xmin_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_61 = V_0;
int32_t L_62 = L_61.___xmax_2;
V_8 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_60, L_62))/2));
// splitIndex = SplitByX(nodes, permutation, from, to, divider);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_63 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_64 = ___1_permutation;
int32_t L_65 = ___3_from;
int32_t L_66 = ___4_to;
int32_t L_67 = V_8;
int32_t L_68;
L_68 = BBTree_SplitByX_mC9E3B8DCB39317E04465A0AC3D38DBE58243F236(L_63, L_64, L_65, L_66, L_67, NULL);
V_2 = L_68;
goto IL_0116;
}
IL_00f7:
{
// int divider = (rect.ymin + rect.ymax)/2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_69 = V_0;
int32_t L_70 = L_69.___ymin_1;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_71 = V_0;
int32_t L_72 = L_71.___ymax_3;
V_9 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_70, L_72))/2));
// splitIndex = SplitByZ(nodes, permutation, from, to, divider);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_73 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_74 = ___1_permutation;
int32_t L_75 = ___3_from;
int32_t L_76 = ___4_to;
int32_t L_77 = V_9;
int32_t L_78;
L_78 = BBTree_SplitByZ_m075774B13E30352B068FB7CB4413A8D484C680CC(L_73, L_74, L_75, L_76, L_77, NULL);
V_2 = L_78;
}
IL_0116:
{
// if (splitIndex == from || splitIndex == to) {
int32_t L_79 = V_2;
int32_t L_80 = ___3_from;
if ((((int32_t)L_79) == ((int32_t)L_80)))
{
goto IL_0120;
}
}
{
int32_t L_81 = V_2;
int32_t L_82 = ___4_to;
if ((!(((uint32_t)L_81) == ((uint32_t)L_82))))
{
goto IL_0128;
}
}
IL_0120:
{
// splitIndex = (from+to)/2;
int32_t L_83 = ___3_from;
int32_t L_84 = ___4_to;
V_2 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_83, L_84))/2));
}
IL_0128:
{
// tree[box].left = RebuildFromInternal(nodes, permutation, nodeBounds, from, splitIndex, !odd);
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_85 = __this->___tree_0;
int32_t L_86 = V_1;
NullCheck(L_85);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_87 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_88 = ___1_permutation;
IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* L_89 = ___2_nodeBounds;
int32_t L_90 = ___3_from;
int32_t L_91 = V_2;
bool L_92 = ___5_odd;
int32_t L_93;
L_93 = BBTree_RebuildFromInternal_mC6870DDCD0543E73D31ED90E7A15A851D994C8B2(__this, L_87, L_88, L_89, L_90, L_91, (bool)((((int32_t)L_92) == ((int32_t)0))? 1 : 0), NULL);
((L_85)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_86)))->___left_2 = L_93;
// tree[box].right = RebuildFromInternal(nodes, permutation, nodeBounds, splitIndex, to, !odd);
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_94 = __this->___tree_0;
int32_t L_95 = V_1;
NullCheck(L_94);
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_96 = ___0_nodes;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_97 = ___1_permutation;
IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* L_98 = ___2_nodeBounds;
int32_t L_99 = V_2;
int32_t L_100 = ___4_to;
bool L_101 = ___5_odd;
int32_t L_102;
L_102 = BBTree_RebuildFromInternal_mC6870DDCD0543E73D31ED90E7A15A851D994C8B2(__this, L_96, L_97, L_98, L_99, L_100, (bool)((((int32_t)L_101) == ((int32_t)0))? 1 : 0), NULL);
((L_94)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_95)))->___right_3 = L_102;
// return box;
int32_t L_103 = V_1;
return L_103;
}
}
// Pathfinding.IntRect Pathfinding.BBTree::NodeBounds(System.Int32[],Pathfinding.IntRect[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 BBTree_NodeBounds_m2793C7B365D4D7C9E0864F30BED80230DA4AD20A (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_permutation, IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* ___1_nodeBounds, int32_t ___2_from, int32_t ___3_to, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_0;
memset((&V_0), 0, sizeof(V_0));
int32_t V_1 = 0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_2;
memset((&V_2), 0, sizeof(V_2));
{
// var rect = nodeBounds[permutation[from]];
IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* L_0 = ___1_nodeBounds;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = ___0_permutation;
int32_t L_2 = ___2_from;
NullCheck(L_1);
int32_t L_3 = L_2;
int32_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
NullCheck(L_0);
int32_t L_5 = L_4;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_6 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
V_0 = L_6;
// for (int j = from + 1; j < to; j++) {
int32_t L_7 = ___2_from;
V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
goto IL_007e;
}
IL_0010:
{
// var otherRect = nodeBounds[permutation[j]];
IntRectU5BU5D_tBC1FEB6D78D3AA44E8E23F6BA0C691D1B02BE3CE* L_8 = ___1_nodeBounds;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9 = ___0_permutation;
int32_t L_10 = V_1;
NullCheck(L_9);
int32_t L_11 = L_10;
int32_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
NullCheck(L_8);
int32_t L_13 = L_12;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_14 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
V_2 = L_14;
// rect.xmin = Math.Min(rect.xmin, otherRect.xmin);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_15 = V_0;
int32_t L_16 = L_15.___xmin_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_17 = V_2;
int32_t L_18 = L_17.___xmin_0;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
int32_t L_19;
L_19 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_16, L_18, NULL);
(&V_0)->___xmin_0 = L_19;
// rect.ymin = Math.Min(rect.ymin, otherRect.ymin);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_20 = V_0;
int32_t L_21 = L_20.___ymin_1;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_22 = V_2;
int32_t L_23 = L_22.___ymin_1;
int32_t L_24;
L_24 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_21, L_23, NULL);
(&V_0)->___ymin_1 = L_24;
// rect.xmax = Math.Max(rect.xmax, otherRect.xmax);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_25 = V_0;
int32_t L_26 = L_25.___xmax_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_27 = V_2;
int32_t L_28 = L_27.___xmax_2;
int32_t L_29;
L_29 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_26, L_28, NULL);
(&V_0)->___xmax_2 = L_29;
// rect.ymax = Math.Max(rect.ymax, otherRect.ymax);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_30 = V_0;
int32_t L_31 = L_30.___ymax_3;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_32 = V_2;
int32_t L_33 = L_32.___ymax_3;
int32_t L_34;
L_34 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_31, L_33, NULL);
(&V_0)->___ymax_3 = L_34;
// for (int j = from + 1; j < to; j++) {
int32_t L_35 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_35, 1));
}
IL_007e:
{
// for (int j = from + 1; j < to; j++) {
int32_t L_36 = V_1;
int32_t L_37 = ___3_to;
if ((((int32_t)L_36) < ((int32_t)L_37)))
{
goto IL_0010;
}
}
{
// return rect;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_38 = V_0;
return L_38;
}
}
// System.Void Pathfinding.BBTree::DrawDebugRect(Pathfinding.IntRect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_DrawDebugRect_m7C8D3D402600B974141831A3EB97809FA9B43347 (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// Debug.DrawLine(new Vector3(rect.xmin, 0, rect.ymin), new Vector3(rect.xmax, 0, rect.ymin), Color.white);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_0 = ___0_rect;
int32_t L_1 = L_0.___xmin_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_2 = ___0_rect;
int32_t L_3 = L_2.___ymin_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
memset((&L_4), 0, sizeof(L_4));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_4), ((float)L_1), (0.0f), ((float)L_3), /*hidden argument*/NULL);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_5 = ___0_rect;
int32_t L_6 = L_5.___xmax_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_7 = ___0_rect;
int32_t L_8 = L_7.___ymin_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)L_6), (0.0f), ((float)L_8), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_10;
L_10 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_4, L_9, L_10, NULL);
// Debug.DrawLine(new Vector3(rect.xmin, 0, rect.ymax), new Vector3(rect.xmax, 0, rect.ymax), Color.white);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_11 = ___0_rect;
int32_t L_12 = L_11.___xmin_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_13 = ___0_rect;
int32_t L_14 = L_13.___ymax_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
memset((&L_15), 0, sizeof(L_15));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_15), ((float)L_12), (0.0f), ((float)L_14), /*hidden argument*/NULL);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_16 = ___0_rect;
int32_t L_17 = L_16.___xmax_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_18 = ___0_rect;
int32_t L_19 = L_18.___ymax_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
memset((&L_20), 0, sizeof(L_20));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_20), ((float)L_17), (0.0f), ((float)L_19), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_21;
L_21 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_15, L_20, L_21, NULL);
// Debug.DrawLine(new Vector3(rect.xmin, 0, rect.ymin), new Vector3(rect.xmin, 0, rect.ymax), Color.white);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_22 = ___0_rect;
int32_t L_23 = L_22.___xmin_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_24 = ___0_rect;
int32_t L_25 = L_24.___ymin_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
memset((&L_26), 0, sizeof(L_26));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_26), ((float)L_23), (0.0f), ((float)L_25), /*hidden argument*/NULL);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_27 = ___0_rect;
int32_t L_28 = L_27.___xmin_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_29 = ___0_rect;
int32_t L_30 = L_29.___ymax_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
memset((&L_31), 0, sizeof(L_31));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_31), ((float)L_28), (0.0f), ((float)L_30), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_32;
L_32 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_26, L_31, L_32, NULL);
// Debug.DrawLine(new Vector3(rect.xmax, 0, rect.ymin), new Vector3(rect.xmax, 0, rect.ymax), Color.white);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_33 = ___0_rect;
int32_t L_34 = L_33.___xmax_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_35 = ___0_rect;
int32_t L_36 = L_35.___ymin_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
memset((&L_37), 0, sizeof(L_37));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_37), ((float)L_34), (0.0f), ((float)L_36), /*hidden argument*/NULL);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_38 = ___0_rect;
int32_t L_39 = L_38.___xmax_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_40 = ___0_rect;
int32_t L_41 = L_40.___ymax_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
memset((&L_42), 0, sizeof(L_42));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_42), ((float)L_39), (0.0f), ((float)L_41), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_43;
L_43 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_37, L_42, L_43, NULL);
// }
return;
}
}
// System.Void Pathfinding.BBTree::DrawDebugNode(Pathfinding.TriangleMeshNode,System.Single,UnityEngine.Color)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_DrawDebugNode_m49DCACB934BEF3D1F212169B6336B86072AEEEE7 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* ___0_node, float ___1_yoffset, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___2_color, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// Debug.DrawLine((Vector3)node.GetVertex(1) + Vector3.up*yoffset, (Vector3)node.GetVertex(2) + Vector3.up*yoffset, color);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_0 = ___0_node;
NullCheck(L_0);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_1;
L_1 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_0, 1);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_1, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
L_3 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
float L_4 = ___1_yoffset;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_3, L_4, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_2, L_5, NULL);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_7 = ___0_node;
NullCheck(L_7);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_8;
L_8 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_7, 2);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
L_9 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_8, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
float L_11 = ___1_yoffset;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
L_12 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_10, L_11, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
L_13 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_9, L_12, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_14 = ___2_color;
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_6, L_13, L_14, NULL);
// Debug.DrawLine((Vector3)node.GetVertex(0) + Vector3.up*yoffset, (Vector3)node.GetVertex(1) + Vector3.up*yoffset, color);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_15 = ___0_node;
NullCheck(L_15);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_16;
L_16 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_15, 0);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
L_17 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_16, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
float L_19 = ___1_yoffset;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
L_20 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_18, L_19, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
L_21 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_17, L_20, NULL);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_22 = ___0_node;
NullCheck(L_22);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_23;
L_23 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_22, 1);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
L_24 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_23, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
float L_26 = ___1_yoffset;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
L_27 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_25, L_26, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
L_28 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_24, L_27, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_29 = ___2_color;
Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_21, L_28, L_29, NULL);
// Debug.DrawLine((Vector3)node.GetVertex(2) + Vector3.up*yoffset, (Vector3)node.GetVertex(0) + Vector3.up*yoffset, color);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_30 = ___0_node;
NullCheck(L_30);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_31;
L_31 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_30, 2);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
L_32 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_31, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
L_33 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
float L_34 = ___1_yoffset;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
L_35 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_33, L_34, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
L_36 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_32, L_35, NULL);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_37 = ___0_node;
NullCheck(L_37);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_38;
L_38 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_37, 0);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
L_39 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_38, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
L_40 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
float L_41 = ___1_yoffset;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
L_42 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_40, L_41, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
L_43 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_39, L_42, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_44 = ___2_color;
Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_36, L_43, L_44, NULL);
// }
return;
}
}
// Pathfinding.NNInfoInternal Pathfinding.BBTree::QueryClosest(UnityEngine.Vector3,Pathfinding.NNConstraint,System.Single&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 BBTree_QueryClosest_m8F0D06238F851BDE6120C9C514696F267D0D2AF3 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, float* ___2_distance, const RuntimeMethod* method)
{
{
// distance = float.PositiveInfinity;
float* L_0 = ___2_distance;
*((float*)L_0) = (float)(std::numeric_limits<float>::infinity());
// return QueryClosest(p, constraint, ref distance, new NNInfoInternal(null));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_p;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_2 = ___1_constraint;
float* L_3 = ___2_distance;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_4;
memset((&L_4), 0, sizeof(L_4));
NNInfoInternal__ctor_mAF15F2D3925A1F1AF14425DAE40F6FD9168258E1((&L_4), (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL, /*hidden argument*/NULL);
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_5;
L_5 = BBTree_QueryClosest_mE3EF7ED37870AF968A5436D33A294A560B1DEDCA(__this, L_1, L_2, L_3, L_4, NULL);
return L_5;
}
}
// Pathfinding.NNInfoInternal Pathfinding.BBTree::QueryClosestXZ(UnityEngine.Vector3,Pathfinding.NNConstraint,System.Single&,Pathfinding.NNInfoInternal)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 BBTree_QueryClosestXZ_m2F4A3A196EA28EBBAB5E27B1F76B88295C2B7BF0 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, float* ___2_distance, NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 ___3_previous, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
{
// var sqrDistance = distance*distance;
float* L_0 = ___2_distance;
float L_1 = *((float*)L_0);
float* L_2 = ___2_distance;
float L_3 = *((float*)L_2);
V_0 = ((float)il2cpp_codegen_multiply(L_1, L_3));
// var origSqrDistance = sqrDistance;
float L_4 = V_0;
V_1 = L_4;
// if (count > 0 && SquaredRectPointDistance(tree[0].rect, p) < sqrDistance) {
int32_t L_5 = __this->___count_2;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0044;
}
}
{
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_6 = __this->___tree_0;
NullCheck(L_6);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_7 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___rect_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_p;
float L_9;
L_9 = BBTree_SquaredRectPointDistance_m144CF9654EFE9F2B30B5D2A5053F4863D29DB59D(L_7, L_8, NULL);
float L_10 = V_0;
if ((!(((float)L_9) < ((float)L_10))))
{
goto IL_0044;
}
}
{
// SearchBoxClosestXZ(0, p, ref sqrDistance, constraint, ref previous);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___0_p;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_12 = ___1_constraint;
BBTree_SearchBoxClosestXZ_m84B993230F125E6FD8A10CCB932E1EFE1466F132(__this, 0, L_11, (&V_0), L_12, (&___3_previous), NULL);
// if (sqrDistance < origSqrDistance) distance = Mathf.Sqrt(sqrDistance);
float L_13 = V_0;
float L_14 = V_1;
if ((!(((float)L_13) < ((float)L_14))))
{
goto IL_0044;
}
}
{
// if (sqrDistance < origSqrDistance) distance = Mathf.Sqrt(sqrDistance);
float* L_15 = ___2_distance;
float L_16 = V_0;
float L_17;
L_17 = sqrtf(L_16);
*((float*)L_15) = (float)L_17;
}
IL_0044:
{
// return previous;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_18 = ___3_previous;
return L_18;
}
}
// System.Void Pathfinding.BBTree::SearchBoxClosestXZ(System.Int32,UnityEngine.Vector3,System.Single&,Pathfinding.NNConstraint,Pathfinding.NNInfoInternal&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_SearchBoxClosestXZ_m84B993230F125E6FD8A10CCB932E1EFE1466F132 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_boxi, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, float* ___2_closestSqrDist, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___3_constraint, NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* ___4_nnInfo, const RuntimeMethod* method)
{
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 V_0;
memset((&V_0), 0, sizeof(V_0));
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_1 = NULL;
int32_t V_2 = 0;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_3 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
memset((&V_4), 0, sizeof(V_4));
float V_5 = 0.0f;
int32_t V_6 = 0;
int32_t V_7 = 0;
float V_8 = 0.0f;
float V_9 = 0.0f;
{
// BBTreeBox box = tree[boxi];
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_0 = __this->___tree_0;
int32_t L_1 = ___0_boxi;
NullCheck(L_0);
int32_t L_2 = L_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
V_0 = L_3;
// if (box.IsLeaf) {
bool L_4;
L_4 = BBTreeBox_get_IsLeaf_mDAA24C314542A46EA4CC91C3AB43CB2E13BC4B5F((&V_0), NULL);
if (!L_4)
{
goto IL_0104;
}
}
{
// var nodes = nodeLookup;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_5 = __this->___nodeLookup_1;
V_1 = L_5;
// for (int i = 0; i < MaximumLeafSize && nodes[box.nodeOffset+i] != null; i++) {
V_2 = 0;
goto IL_00f0;
}
IL_0027:
{
// var node = nodes[box.nodeOffset+i];
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_6 = V_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_7 = V_0;
int32_t L_8 = L_7.___nodeOffset_1;
int32_t L_9 = V_2;
NullCheck(L_6);
int32_t L_10 = ((int32_t)il2cpp_codegen_add(L_8, L_9));
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_11 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
V_3 = L_11;
// if (constraint == null || constraint.Suitable(node)) {
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_12 = ___3_constraint;
if (!L_12)
{
goto IL_0043;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_13 = ___3_constraint;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_14 = V_3;
NullCheck(L_13);
bool L_15;
L_15 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_13, L_14);
if (!L_15)
{
goto IL_00ec;
}
}
IL_0043:
{
// Vector3 closest = node.ClosestPointOnNodeXZ(p);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_16 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = ___1_p;
NullCheck(L_16);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = VirtualFuncInvoker1< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(22 /* UnityEngine.Vector3 Pathfinding.MeshNode::ClosestPointOnNodeXZ(UnityEngine.Vector3) */, L_16, L_17);
V_4 = L_18;
// float dist = (closest.x-p.x)*(closest.x-p.x)+(closest.z-p.z)*(closest.z-p.z);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_4;
float L_20 = L_19.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = ___1_p;
float L_22 = L_21.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = V_4;
float L_24 = L_23.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = ___1_p;
float L_26 = L_25.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = V_4;
float L_28 = L_27.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = ___1_p;
float L_30 = L_29.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_4;
float L_32 = L_31.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = ___1_p;
float L_34 = L_33.___z_4;
V_5 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_20, L_22)), ((float)il2cpp_codegen_subtract(L_24, L_26)))), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_28, L_30)), ((float)il2cpp_codegen_subtract(L_32, L_34))))));
// if (nnInfo.constrainedNode == null || dist < closestSqrDist - fuzziness || (dist <= closestSqrDist + fuzziness && Mathf.Abs(closest.y - p.y) < Mathf.Abs(nnInfo.constClampedPosition.y - p.y))) {
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_35 = ___4_nnInfo;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_36 = L_35->___constrainedNode_1;
if (!L_36)
{
goto IL_00d7;
}
}
{
float L_37 = V_5;
float* L_38 = ___2_closestSqrDist;
float L_39 = *((float*)L_38);
if ((((float)L_37) < ((float)((float)il2cpp_codegen_subtract(L_39, (9.99999997E-07f))))))
{
goto IL_00d7;
}
}
{
float L_40 = V_5;
float* L_41 = ___2_closestSqrDist;
float L_42 = *((float*)L_41);
if ((!(((float)L_40) <= ((float)((float)il2cpp_codegen_add(L_42, (9.99999997E-07f)))))))
{
goto IL_00ec;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = V_4;
float L_44 = L_43.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = ___1_p;
float L_46 = L_45.___y_3;
float L_47;
L_47 = fabsf(((float)il2cpp_codegen_subtract(L_44, L_46)));
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_48 = ___4_nnInfo;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_49 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_48->___constClampedPosition_3);
float L_50 = L_49->___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = ___1_p;
float L_52 = L_51.___y_3;
float L_53;
L_53 = fabsf(((float)il2cpp_codegen_subtract(L_50, L_52)));
if ((!(((float)L_47) < ((float)L_53))))
{
goto IL_00ec;
}
}
IL_00d7:
{
// nnInfo.constrainedNode = node;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_54 = ___4_nnInfo;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_55 = V_3;
L_54->___constrainedNode_1 = L_55;
Il2CppCodeGenWriteBarrier((void**)(&L_54->___constrainedNode_1), (void*)L_55);
// nnInfo.constClampedPosition = closest;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_56 = ___4_nnInfo;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = V_4;
L_56->___constClampedPosition_3 = L_57;
// closestSqrDist = dist;
float* L_58 = ___2_closestSqrDist;
float L_59 = V_5;
*((float*)L_58) = (float)L_59;
}
IL_00ec:
{
// for (int i = 0; i < MaximumLeafSize && nodes[box.nodeOffset+i] != null; i++) {
int32_t L_60 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_60, 1));
}
IL_00f0:
{
// for (int i = 0; i < MaximumLeafSize && nodes[box.nodeOffset+i] != null; i++) {
int32_t L_61 = V_2;
if ((((int32_t)L_61) >= ((int32_t)4)))
{
goto IL_014b;
}
}
{
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_62 = V_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_63 = V_0;
int32_t L_64 = L_63.___nodeOffset_1;
int32_t L_65 = V_2;
NullCheck(L_62);
int32_t L_66 = ((int32_t)il2cpp_codegen_add(L_64, L_65));
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_67 = (L_62)->GetAt(static_cast<il2cpp_array_size_t>(L_66));
if (L_67)
{
goto IL_0027;
}
}
{
return;
}
IL_0104:
{
// int first = box.left, second = box.right;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_68 = V_0;
int32_t L_69 = L_68.___left_2;
V_6 = L_69;
// int first = box.left, second = box.right;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_70 = V_0;
int32_t L_71 = L_70.___right_3;
V_7 = L_71;
// GetOrderedChildren(ref first, ref second, out firstDist, out secondDist, p);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = ___1_p;
BBTree_GetOrderedChildren_mB313D6266BF5D58916E1FF61332DD1F3D2A1EA4C(__this, (&V_6), (&V_7), (&V_8), (&V_9), L_72, NULL);
// if (firstDist <= closestSqrDist) {
float L_73 = V_8;
float* L_74 = ___2_closestSqrDist;
float L_75 = *((float*)L_74);
if ((!(((float)L_73) <= ((float)L_75))))
{
goto IL_0137;
}
}
{
// SearchBoxClosestXZ(first, p, ref closestSqrDist, constraint, ref nnInfo);
int32_t L_76 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = ___1_p;
float* L_78 = ___2_closestSqrDist;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_79 = ___3_constraint;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_80 = ___4_nnInfo;
BBTree_SearchBoxClosestXZ_m84B993230F125E6FD8A10CCB932E1EFE1466F132(__this, L_76, L_77, L_78, L_79, L_80, NULL);
}
IL_0137:
{
// if (secondDist <= closestSqrDist) {
float L_81 = V_9;
float* L_82 = ___2_closestSqrDist;
float L_83 = *((float*)L_82);
if ((!(((float)L_81) <= ((float)L_83))))
{
goto IL_014b;
}
}
{
// SearchBoxClosestXZ(second, p, ref closestSqrDist, constraint, ref nnInfo);
int32_t L_84 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = ___1_p;
float* L_86 = ___2_closestSqrDist;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_87 = ___3_constraint;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_88 = ___4_nnInfo;
BBTree_SearchBoxClosestXZ_m84B993230F125E6FD8A10CCB932E1EFE1466F132(__this, L_84, L_85, L_86, L_87, L_88, NULL);
}
IL_014b:
{
// }
return;
}
}
// Pathfinding.NNInfoInternal Pathfinding.BBTree::QueryClosest(UnityEngine.Vector3,Pathfinding.NNConstraint,System.Single&,Pathfinding.NNInfoInternal)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 BBTree_QueryClosest_mE3EF7ED37870AF968A5436D33A294A560B1DEDCA (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, float* ___2_distance, NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 ___3_previous, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
{
// var sqrDistance = distance*distance;
float* L_0 = ___2_distance;
float L_1 = *((float*)L_0);
float* L_2 = ___2_distance;
float L_3 = *((float*)L_2);
V_0 = ((float)il2cpp_codegen_multiply(L_1, L_3));
// var origSqrDistance = sqrDistance;
float L_4 = V_0;
V_1 = L_4;
// if (count > 0 && SquaredRectPointDistance(tree[0].rect, p) < sqrDistance) {
int32_t L_5 = __this->___count_2;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0044;
}
}
{
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_6 = __this->___tree_0;
NullCheck(L_6);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_7 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___rect_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_p;
float L_9;
L_9 = BBTree_SquaredRectPointDistance_m144CF9654EFE9F2B30B5D2A5053F4863D29DB59D(L_7, L_8, NULL);
float L_10 = V_0;
if ((!(((float)L_9) < ((float)L_10))))
{
goto IL_0044;
}
}
{
// SearchBoxClosest(0, p, ref sqrDistance, constraint, ref previous);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___0_p;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_12 = ___1_constraint;
BBTree_SearchBoxClosest_mE545618B22EA8CB5A55B54F53E7DCCBA41E836FD(__this, 0, L_11, (&V_0), L_12, (&___3_previous), NULL);
// if (sqrDistance < origSqrDistance) distance = Mathf.Sqrt(sqrDistance);
float L_13 = V_0;
float L_14 = V_1;
if ((!(((float)L_13) < ((float)L_14))))
{
goto IL_0044;
}
}
{
// if (sqrDistance < origSqrDistance) distance = Mathf.Sqrt(sqrDistance);
float* L_15 = ___2_distance;
float L_16 = V_0;
float L_17;
L_17 = sqrtf(L_16);
*((float*)L_15) = (float)L_17;
}
IL_0044:
{
// return previous;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_18 = ___3_previous;
return L_18;
}
}
// System.Void Pathfinding.BBTree::SearchBoxClosest(System.Int32,UnityEngine.Vector3,System.Single&,Pathfinding.NNConstraint,Pathfinding.NNInfoInternal&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_SearchBoxClosest_mE545618B22EA8CB5A55B54F53E7DCCBA41E836FD (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_boxi, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, float* ___2_closestSqrDist, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___3_constraint, NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* ___4_nnInfo, const RuntimeMethod* method)
{
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 V_0;
memset((&V_0), 0, sizeof(V_0));
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_1 = NULL;
int32_t V_2 = 0;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_3 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
memset((&V_4), 0, sizeof(V_4));
float V_5 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
memset((&V_6), 0, sizeof(V_6));
int32_t V_7 = 0;
int32_t V_8 = 0;
float V_9 = 0.0f;
float V_10 = 0.0f;
{
// BBTreeBox box = tree[boxi];
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_0 = __this->___tree_0;
int32_t L_1 = ___0_boxi;
NullCheck(L_0);
int32_t L_2 = L_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
V_0 = L_3;
// if (box.IsLeaf) {
bool L_4;
L_4 = BBTreeBox_get_IsLeaf_mDAA24C314542A46EA4CC91C3AB43CB2E13BC4B5F((&V_0), NULL);
if (!L_4)
{
goto IL_0086;
}
}
{
// var nodes = nodeLookup;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_5 = __this->___nodeLookup_1;
V_1 = L_5;
// for (int i = 0; i < MaximumLeafSize && nodes[box.nodeOffset+i] != null; i++) {
V_2 = 0;
goto IL_0075;
}
IL_0021:
{
// var node = nodes[box.nodeOffset+i];
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_6 = V_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_7 = V_0;
int32_t L_8 = L_7.___nodeOffset_1;
int32_t L_9 = V_2;
NullCheck(L_6);
int32_t L_10 = ((int32_t)il2cpp_codegen_add(L_8, L_9));
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_11 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
V_3 = L_11;
// Vector3 closest = node.ClosestPointOnNode(p);
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_12 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___1_p;
NullCheck(L_12);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
L_14 = VirtualFuncInvoker1< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(14 /* UnityEngine.Vector3 Pathfinding.GraphNode::ClosestPointOnNode(UnityEngine.Vector3) */, L_12, L_13);
V_4 = L_14;
// float dist = (closest-p).sqrMagnitude;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___1_p;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
L_17 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_15, L_16, NULL);
V_6 = L_17;
float L_18;
L_18 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_6), NULL);
V_5 = L_18;
// if (dist < closestSqrDist) {
float L_19 = V_5;
float* L_20 = ___2_closestSqrDist;
float L_21 = *((float*)L_20);
if ((!(((float)L_19) < ((float)L_21))))
{
goto IL_0071;
}
}
{
// if (constraint == null || constraint.Suitable(node)) {
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_22 = ___3_constraint;
if (!L_22)
{
goto IL_005c;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_23 = ___3_constraint;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_24 = V_3;
NullCheck(L_23);
bool L_25;
L_25 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_23, L_24);
if (!L_25)
{
goto IL_0071;
}
}
IL_005c:
{
// nnInfo.constrainedNode = node;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_26 = ___4_nnInfo;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_27 = V_3;
L_26->___constrainedNode_1 = L_27;
Il2CppCodeGenWriteBarrier((void**)(&L_26->___constrainedNode_1), (void*)L_27);
// nnInfo.constClampedPosition = closest;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_28 = ___4_nnInfo;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_4;
L_28->___constClampedPosition_3 = L_29;
// closestSqrDist = dist;
float* L_30 = ___2_closestSqrDist;
float L_31 = V_5;
*((float*)L_30) = (float)L_31;
}
IL_0071:
{
// for (int i = 0; i < MaximumLeafSize && nodes[box.nodeOffset+i] != null; i++) {
int32_t L_32 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_32, 1));
}
IL_0075:
{
// for (int i = 0; i < MaximumLeafSize && nodes[box.nodeOffset+i] != null; i++) {
int32_t L_33 = V_2;
if ((((int32_t)L_33) >= ((int32_t)4)))
{
goto IL_00cd;
}
}
{
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_34 = V_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_35 = V_0;
int32_t L_36 = L_35.___nodeOffset_1;
int32_t L_37 = V_2;
NullCheck(L_34);
int32_t L_38 = ((int32_t)il2cpp_codegen_add(L_36, L_37));
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_39 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
if (L_39)
{
goto IL_0021;
}
}
{
return;
}
IL_0086:
{
// int first = box.left, second = box.right;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_40 = V_0;
int32_t L_41 = L_40.___left_2;
V_7 = L_41;
// int first = box.left, second = box.right;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_42 = V_0;
int32_t L_43 = L_42.___right_3;
V_8 = L_43;
// GetOrderedChildren(ref first, ref second, out firstDist, out secondDist, p);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = ___1_p;
BBTree_GetOrderedChildren_mB313D6266BF5D58916E1FF61332DD1F3D2A1EA4C(__this, (&V_7), (&V_8), (&V_9), (&V_10), L_44, NULL);
// if (firstDist < closestSqrDist) {
float L_45 = V_9;
float* L_46 = ___2_closestSqrDist;
float L_47 = *((float*)L_46);
if ((!(((float)L_45) < ((float)L_47))))
{
goto IL_00b9;
}
}
{
// SearchBoxClosest(first, p, ref closestSqrDist, constraint, ref nnInfo);
int32_t L_48 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = ___1_p;
float* L_50 = ___2_closestSqrDist;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_51 = ___3_constraint;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_52 = ___4_nnInfo;
BBTree_SearchBoxClosest_mE545618B22EA8CB5A55B54F53E7DCCBA41E836FD(__this, L_48, L_49, L_50, L_51, L_52, NULL);
}
IL_00b9:
{
// if (secondDist < closestSqrDist) {
float L_53 = V_10;
float* L_54 = ___2_closestSqrDist;
float L_55 = *((float*)L_54);
if ((!(((float)L_53) < ((float)L_55))))
{
goto IL_00cd;
}
}
{
// SearchBoxClosest(second, p, ref closestSqrDist, constraint, ref nnInfo);
int32_t L_56 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = ___1_p;
float* L_58 = ___2_closestSqrDist;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_59 = ___3_constraint;
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* L_60 = ___4_nnInfo;
BBTree_SearchBoxClosest_mE545618B22EA8CB5A55B54F53E7DCCBA41E836FD(__this, L_56, L_57, L_58, L_59, L_60, NULL);
}
IL_00cd:
{
// }
return;
}
}
// System.Void Pathfinding.BBTree::GetOrderedChildren(System.Int32&,System.Int32&,System.Single&,System.Single&,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_GetOrderedChildren_mB313D6266BF5D58916E1FF61332DD1F3D2A1EA4C (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t* ___0_first, int32_t* ___1_second, float* ___2_firstDist, float* ___3_secondDist, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___4_p, const RuntimeMethod* method)
{
int32_t V_0 = 0;
float V_1 = 0.0f;
{
// firstDist = SquaredRectPointDistance(tree[first].rect, p);
float* L_0 = ___2_firstDist;
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_1 = __this->___tree_0;
int32_t* L_2 = ___0_first;
int32_t L_3 = *((int32_t*)L_2);
NullCheck(L_1);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_4 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_3)))->___rect_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___4_p;
float L_6;
L_6 = BBTree_SquaredRectPointDistance_m144CF9654EFE9F2B30B5D2A5053F4863D29DB59D(L_4, L_5, NULL);
*((float*)L_0) = (float)L_6;
// secondDist = SquaredRectPointDistance(tree[second].rect, p);
float* L_7 = ___3_secondDist;
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_8 = __this->___tree_0;
int32_t* L_9 = ___1_second;
int32_t L_10 = *((int32_t*)L_9);
NullCheck(L_8);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_11 = ((L_8)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)))->___rect_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___4_p;
float L_13;
L_13 = BBTree_SquaredRectPointDistance_m144CF9654EFE9F2B30B5D2A5053F4863D29DB59D(L_11, L_12, NULL);
*((float*)L_7) = (float)L_13;
// if (secondDist < firstDist) {
float* L_14 = ___3_secondDist;
float L_15 = *((float*)L_14);
float* L_16 = ___2_firstDist;
float L_17 = *((float*)L_16);
if ((!(((float)L_15) < ((float)L_17))))
{
goto IL_0054;
}
}
{
// var tmp = first;
int32_t* L_18 = ___0_first;
int32_t L_19 = *((int32_t*)L_18);
V_0 = L_19;
// first = second;
int32_t* L_20 = ___0_first;
int32_t* L_21 = ___1_second;
int32_t L_22 = *((int32_t*)L_21);
*((int32_t*)L_20) = (int32_t)L_22;
// second = tmp;
int32_t* L_23 = ___1_second;
int32_t L_24 = V_0;
*((int32_t*)L_23) = (int32_t)L_24;
// var tmp2 = firstDist;
float* L_25 = ___2_firstDist;
float L_26 = *((float*)L_25);
V_1 = L_26;
// firstDist = secondDist;
float* L_27 = ___2_firstDist;
float* L_28 = ___3_secondDist;
float L_29 = *((float*)L_28);
*((float*)L_27) = (float)L_29;
// secondDist = tmp2;
float* L_30 = ___3_secondDist;
float L_31 = V_1;
*((float*)L_30) = (float)L_31;
}
IL_0054:
{
// }
return;
}
}
// Pathfinding.TriangleMeshNode Pathfinding.BBTree::QueryInside(UnityEngine.Vector3,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* BBTree_QueryInside_mDA078A1C152E313D9A9986B65CF98CA22567AF3C (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method)
{
{
// return count != 0 && tree[0].Contains(p) ? SearchBoxInside(0, p, constraint) : null;
int32_t L_0 = __this->___count_2;
if (!L_0)
{
goto IL_001c;
}
}
{
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_1 = __this->___tree_0;
NullCheck(L_1);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_p;
bool L_3;
L_3 = BBTreeBox_Contains_m4412B2E022FC7432B67F4038C3C54E90BE13748C(((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))), L_2, NULL);
if (L_3)
{
goto IL_001e;
}
}
IL_001c:
{
return (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)NULL;
}
IL_001e:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_p;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_5 = ___1_constraint;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_6;
L_6 = BBTree_SearchBoxInside_mCD903EFA92B158ABEF4A853B2410F1ECC3098F75(__this, 0, L_4, L_5, NULL);
return L_6;
}
}
// Pathfinding.TriangleMeshNode Pathfinding.BBTree::SearchBoxInside(System.Int32,UnityEngine.Vector3,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* BBTree_SearchBoxInside_mCD903EFA92B158ABEF4A853B2410F1ECC3098F75 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_boxi, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___2_constraint, const RuntimeMethod* method)
{
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 V_0;
memset((&V_0), 0, sizeof(V_0));
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_1 = NULL;
int32_t V_2 = 0;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_3 = NULL;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_4 = NULL;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_5 = NULL;
{
// BBTreeBox box = tree[boxi];
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_0 = __this->___tree_0;
int32_t L_1 = ___0_boxi;
NullCheck(L_0);
int32_t L_2 = L_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
V_0 = L_3;
// if (box.IsLeaf) {
bool L_4;
L_4 = BBTreeBox_get_IsLeaf_mDAA24C314542A46EA4CC91C3AB43CB2E13BC4B5F((&V_0), NULL);
if (!L_4)
{
goto IL_005e;
}
}
{
// var nodes = nodeLookup;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_5 = __this->___nodeLookup_1;
V_1 = L_5;
// for (int i = 0; i < MaximumLeafSize && nodes[box.nodeOffset+i] != null; i++) {
V_2 = 0;
goto IL_004c;
}
IL_0021:
{
// var node = nodes[box.nodeOffset+i];
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_6 = V_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_7 = V_0;
int32_t L_8 = L_7.___nodeOffset_1;
int32_t L_9 = V_2;
NullCheck(L_6);
int32_t L_10 = ((int32_t)il2cpp_codegen_add(L_8, L_9));
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_11 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
V_3 = L_11;
// if (node.ContainsPoint((Int3)p)) {
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_12 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___1_p;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_14;
L_14 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_13, NULL);
NullCheck(L_12);
bool L_15;
L_15 = VirtualFuncInvoker1< bool, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 >::Invoke(23 /* System.Boolean Pathfinding.MeshNode::ContainsPoint(Pathfinding.Int3) */, L_12, L_14);
if (!L_15)
{
goto IL_0048;
}
}
{
// if (constraint == null || constraint.Suitable(node)) {
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_16 = ___2_constraint;
if (!L_16)
{
goto IL_0046;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_17 = ___2_constraint;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_18 = V_3;
NullCheck(L_17);
bool L_19;
L_19 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_17, L_18);
if (!L_19)
{
goto IL_0048;
}
}
IL_0046:
{
// return node;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_20 = V_3;
return L_20;
}
IL_0048:
{
// for (int i = 0; i < MaximumLeafSize && nodes[box.nodeOffset+i] != null; i++) {
int32_t L_21 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_21, 1));
}
IL_004c:
{
// for (int i = 0; i < MaximumLeafSize && nodes[box.nodeOffset+i] != null; i++) {
int32_t L_22 = V_2;
if ((((int32_t)L_22) >= ((int32_t)4)))
{
goto IL_00be;
}
}
{
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_23 = V_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_24 = V_0;
int32_t L_25 = L_24.___nodeOffset_1;
int32_t L_26 = V_2;
NullCheck(L_23);
int32_t L_27 = ((int32_t)il2cpp_codegen_add(L_25, L_26));
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_28 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
if (L_28)
{
goto IL_0021;
}
}
{
goto IL_00be;
}
IL_005e:
{
// if (tree[box.left].Contains(p)) {
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_29 = __this->___tree_0;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_30 = V_0;
int32_t L_31 = L_30.___left_2;
NullCheck(L_29);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = ___1_p;
bool L_33;
L_33 = BBTreeBox_Contains_m4412B2E022FC7432B67F4038C3C54E90BE13748C(((L_29)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_31))), L_32, NULL);
if (!L_33)
{
goto IL_008e;
}
}
{
// var result = SearchBoxInside(box.left, p, constraint);
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_34 = V_0;
int32_t L_35 = L_34.___left_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = ___1_p;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_37 = ___2_constraint;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_38;
L_38 = BBTree_SearchBoxInside_mCD903EFA92B158ABEF4A853B2410F1ECC3098F75(__this, L_35, L_36, L_37, NULL);
V_4 = L_38;
// if (result != null) return result;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_39 = V_4;
if (!L_39)
{
goto IL_008e;
}
}
{
// if (result != null) return result;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_40 = V_4;
return L_40;
}
IL_008e:
{
// if (tree[box.right].Contains(p)) {
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_41 = __this->___tree_0;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_42 = V_0;
int32_t L_43 = L_42.___right_3;
NullCheck(L_41);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = ___1_p;
bool L_45;
L_45 = BBTreeBox_Contains_m4412B2E022FC7432B67F4038C3C54E90BE13748C(((L_41)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_43))), L_44, NULL);
if (!L_45)
{
goto IL_00be;
}
}
{
// var result = SearchBoxInside(box.right, p, constraint);
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_46 = V_0;
int32_t L_47 = L_46.___right_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = ___1_p;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_49 = ___2_constraint;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_50;
L_50 = BBTree_SearchBoxInside_mCD903EFA92B158ABEF4A853B2410F1ECC3098F75(__this, L_47, L_48, L_49, NULL);
V_5 = L_50;
// if (result != null) return result;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_51 = V_5;
if (!L_51)
{
goto IL_00be;
}
}
{
// if (result != null) return result;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_52 = V_5;
return L_52;
}
IL_00be:
{
// return null;
return (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)NULL;
}
}
// System.Void Pathfinding.BBTree::OnDrawGizmos()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_OnDrawGizmos_mAA4E72EA1E6F856214A4D6377ABFE02E22A2128F (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, const RuntimeMethod* method)
{
{
// Gizmos.color = new Color(1, 1, 1, 0.5F);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (1.0f), (1.0f), (0.5f), /*hidden argument*/NULL);
Gizmos_set_color_m53927A2741937484180B20B55F7F20F8F60C5797(L_0, NULL);
// if (count == 0) return;
int32_t L_1 = __this->___count_2;
if (L_1)
{
goto IL_0027;
}
}
{
// if (count == 0) return;
return;
}
IL_0027:
{
// OnDrawGizmos(0, 0);
BBTree_OnDrawGizmos_mD6F68F9875F8E92F0BB016F43824410BDE179D20(__this, 0, 0, NULL);
// }
return;
}
}
// System.Void Pathfinding.BBTree::OnDrawGizmos(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_OnDrawGizmos_mD6F68F9875F8E92F0BB016F43824410BDE179D20 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, int32_t ___0_boxi, int32_t ___1_depth, const RuntimeMethod* method)
{
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 V_0;
memset((&V_0), 0, sizeof(V_0));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
memset((&V_1), 0, sizeof(V_1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
memset((&V_3), 0, sizeof(V_3));
{
// BBTreeBox box = tree[boxi];
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* L_0 = __this->___tree_0;
int32_t L_1 = ___0_boxi;
NullCheck(L_0);
int32_t L_2 = L_1;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
V_0 = L_3;
// var min = (Vector3) new Int3(box.rect.xmin, 0, box.rect.ymin);
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_4 = V_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_5 = L_4.___rect_0;
int32_t L_6 = L_5.___xmin_0;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_7 = V_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_8 = L_7.___rect_0;
int32_t L_9 = L_8.___ymin_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_10;
memset((&L_10), 0, sizeof(L_10));
Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F((&L_10), L_6, 0, L_9, /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
L_11 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_10, NULL);
// var max = (Vector3) new Int3(box.rect.xmax, 0, box.rect.ymax);
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_12 = V_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_13 = L_12.___rect_0;
int32_t L_14 = L_13.___xmax_2;
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_15 = V_0;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_16 = L_15.___rect_0;
int32_t L_17 = L_16.___ymax_3;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_18;
memset((&L_18), 0, sizeof(L_18));
Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F((&L_18), L_14, 0, L_17, /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
L_19 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_18, NULL);
V_1 = L_19;
// Vector3 center = (min+max)*0.5F;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
L_21 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_11, L_20, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
L_22 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_21, (0.5f), NULL);
V_2 = L_22;
// Vector3 size = (max-center)*2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_23, L_24, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
L_26 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_25, (2.0f), NULL);
V_3 = L_26;
// size = new Vector3(size.x, 1, size.z);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = V_3;
float L_28 = L_27.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_3;
float L_30 = L_29.___z_4;
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_3), L_28, (1.0f), L_30, NULL);
// center.y += depth * 2;
float* L_31 = (float*)(&(&V_2)->___y_3);
float* L_32 = L_31;
float L_33 = *((float*)L_32);
int32_t L_34 = ___1_depth;
*((float*)L_32) = (float)((float)il2cpp_codegen_add(L_33, ((float)((int32_t)il2cpp_codegen_multiply(L_34, 2)))));
// Gizmos.color = AstarMath.IntToColor(depth, 1f);
int32_t L_35 = ___1_depth;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_36;
L_36 = AstarMath_IntToColor_m18FEEDABB70B78676E696C86EA4A89B84A7ABB2E(L_35, (1.0f), NULL);
Gizmos_set_color_m53927A2741937484180B20B55F7F20F8F60C5797(L_36, NULL);
// Gizmos.DrawCube(center, size);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_3;
Gizmos_DrawCube_m4417EAEA479EF4AD52445810D840BA8FCBC6EF3F(L_37, L_38, NULL);
// if (!box.IsLeaf) {
bool L_39;
L_39 = BBTreeBox_get_IsLeaf_mDAA24C314542A46EA4CC91C3AB43CB2E13BC4B5F((&V_0), NULL);
if (L_39)
{
goto IL_00d8;
}
}
{
// OnDrawGizmos(box.left, depth + 1);
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_40 = V_0;
int32_t L_41 = L_40.___left_2;
int32_t L_42 = ___1_depth;
BBTree_OnDrawGizmos_mD6F68F9875F8E92F0BB016F43824410BDE179D20(__this, L_41, ((int32_t)il2cpp_codegen_add(L_42, 1)), NULL);
// OnDrawGizmos(box.right, depth + 1);
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979 L_43 = V_0;
int32_t L_44 = L_43.___right_3;
int32_t L_45 = ___1_depth;
BBTree_OnDrawGizmos_mD6F68F9875F8E92F0BB016F43824410BDE179D20(__this, L_44, ((int32_t)il2cpp_codegen_add(L_45, 1)), NULL);
}
IL_00d8:
{
// }
return;
}
}
// System.Boolean Pathfinding.BBTree::NodeIntersectsCircle(Pathfinding.TriangleMeshNode,UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBTree_NodeIntersectsCircle_m5F449A955CC5A388B2114E86F8C2590ED51620B8 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* ___0_node, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, float ___2_radius, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (float.IsPositiveInfinity(radius)) return true;
float L_0 = ___2_radius;
bool L_1;
L_1 = Single_IsPositiveInfinity_mB6DA4AAB74012F1BD90C90121090ED87A5782FA7_inline(L_0, NULL);
if (!L_1)
{
goto IL_000a;
}
}
{
// if (float.IsPositiveInfinity(radius)) return true;
return (bool)1;
}
IL_000a:
{
// return (p - node.ClosestPointOnNode(p)).sqrMagnitude < radius*radius;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_p;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_3 = ___0_node;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___1_p;
NullCheck(L_3);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = VirtualFuncInvoker1< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(14 /* UnityEngine.Vector3 Pathfinding.GraphNode::ClosestPointOnNode(UnityEngine.Vector3) */, L_3, L_4);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_5, NULL);
V_0 = L_6;
float L_7;
L_7 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_0), NULL);
float L_8 = ___2_radius;
float L_9 = ___2_radius;
return (bool)((((float)L_7) < ((float)((float)il2cpp_codegen_multiply(L_8, L_9))))? 1 : 0);
}
}
// System.Boolean Pathfinding.BBTree::RectIntersectsCircle(Pathfinding.IntRect,UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBTree_RectIntersectsCircle_mFA28FF7F68027168F28E4BB54C7E7289D2A65102 (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_r, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, float ___2_radius, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (float.IsPositiveInfinity(radius)) return true;
float L_0 = ___2_radius;
bool L_1;
L_1 = Single_IsPositiveInfinity_mB6DA4AAB74012F1BD90C90121090ED87A5782FA7_inline(L_0, NULL);
if (!L_1)
{
goto IL_000a;
}
}
{
// if (float.IsPositiveInfinity(radius)) return true;
return (bool)1;
}
IL_000a:
{
// Vector3 po = p;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_p;
V_0 = L_2;
// p.x = Math.Max(p.x, r.xmin*Int3.PrecisionFactor);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___1_p;
float L_4 = L_3.___x_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_5 = ___0_r;
int32_t L_6 = L_5.___xmin_0;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
float L_7;
L_7 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(L_4, ((float)il2cpp_codegen_multiply(((float)L_6), (0.00100000005f))), NULL);
(&___1_p)->___x_2 = L_7;
// p.x = Math.Min(p.x, r.xmax*Int3.PrecisionFactor);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___1_p;
float L_9 = L_8.___x_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_10 = ___0_r;
int32_t L_11 = L_10.___xmax_2;
float L_12;
L_12 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_9, ((float)il2cpp_codegen_multiply(((float)L_11), (0.00100000005f))), NULL);
(&___1_p)->___x_2 = L_12;
// p.z = Math.Max(p.z, r.ymin*Int3.PrecisionFactor);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___1_p;
float L_14 = L_13.___z_4;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_15 = ___0_r;
int32_t L_16 = L_15.___ymin_1;
float L_17;
L_17 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(L_14, ((float)il2cpp_codegen_multiply(((float)L_16), (0.00100000005f))), NULL);
(&___1_p)->___z_4 = L_17;
// p.z = Math.Min(p.z, r.ymax*Int3.PrecisionFactor);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_p;
float L_19 = L_18.___z_4;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_20 = ___0_r;
int32_t L_21 = L_20.___ymax_3;
float L_22;
L_22 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_19, ((float)il2cpp_codegen_multiply(((float)L_21), (0.00100000005f))), NULL);
(&___1_p)->___z_4 = L_22;
// return (p.x-po.x)*(p.x-po.x) + (p.z-po.z)*(p.z-po.z) < radius*radius;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = ___1_p;
float L_24 = L_23.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_0;
float L_26 = L_25.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = ___1_p;
float L_28 = L_27.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_0;
float L_30 = L_29.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = ___1_p;
float L_32 = L_31.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_0;
float L_34 = L_33.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = ___1_p;
float L_36 = L_35.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_0;
float L_38 = L_37.___z_4;
float L_39 = ___2_radius;
float L_40 = ___2_radius;
return (bool)((((float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_24, L_26)), ((float)il2cpp_codegen_subtract(L_28, L_30)))), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_32, L_34)), ((float)il2cpp_codegen_subtract(L_36, L_38))))))) < ((float)((float)il2cpp_codegen_multiply(L_39, L_40))))? 1 : 0);
}
}
// System.Single Pathfinding.BBTree::SquaredRectPointDistance(Pathfinding.IntRect,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float BBTree_SquaredRectPointDistance_m144CF9654EFE9F2B30B5D2A5053F4863D29DB59D (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_r, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// Vector3 po = p;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_p;
V_0 = L_0;
// p.x = Math.Max(p.x, r.xmin*Int3.PrecisionFactor);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_p;
float L_2 = L_1.___x_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_3 = ___0_r;
int32_t L_4 = L_3.___xmin_0;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
float L_5;
L_5 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(L_2, ((float)il2cpp_codegen_multiply(((float)L_4), (0.00100000005f))), NULL);
(&___1_p)->___x_2 = L_5;
// p.x = Math.Min(p.x, r.xmax*Int3.PrecisionFactor);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_p;
float L_7 = L_6.___x_2;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_8 = ___0_r;
int32_t L_9 = L_8.___xmax_2;
float L_10;
L_10 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_7, ((float)il2cpp_codegen_multiply(((float)L_9), (0.00100000005f))), NULL);
(&___1_p)->___x_2 = L_10;
// p.z = Math.Max(p.z, r.ymin*Int3.PrecisionFactor);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___1_p;
float L_12 = L_11.___z_4;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_13 = ___0_r;
int32_t L_14 = L_13.___ymin_1;
float L_15;
L_15 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(L_12, ((float)il2cpp_codegen_multiply(((float)L_14), (0.00100000005f))), NULL);
(&___1_p)->___z_4 = L_15;
// p.z = Math.Min(p.z, r.ymax*Int3.PrecisionFactor);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___1_p;
float L_17 = L_16.___z_4;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_18 = ___0_r;
int32_t L_19 = L_18.___ymax_3;
float L_20;
L_20 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_17, ((float)il2cpp_codegen_multiply(((float)L_19), (0.00100000005f))), NULL);
(&___1_p)->___z_4 = L_20;
// return (p.x-po.x)*(p.x-po.x) + (p.z-po.z)*(p.z-po.z);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = ___1_p;
float L_22 = L_21.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = V_0;
float L_24 = L_23.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = ___1_p;
float L_26 = L_25.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = V_0;
float L_28 = L_27.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = ___1_p;
float L_30 = L_29.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_0;
float L_32 = L_31.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = ___1_p;
float L_34 = L_33.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_0;
float L_36 = L_35.___z_4;
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_22, L_24)), ((float)il2cpp_codegen_subtract(L_26, L_28)))), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_30, L_32)), ((float)il2cpp_codegen_subtract(L_34, L_36))))));
}
}
// System.Void Pathfinding.BBTree::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree__ctor_m1C0E2DF2BAED24E9DC6C72CBC67F3B36A364B20E (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean Pathfinding.BBTree/BBTreeBox::get_IsLeaf()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBTreeBox_get_IsLeaf_mDAA24C314542A46EA4CC91C3AB43CB2E13BC4B5F (BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* __this, const RuntimeMethod* method)
{
{
// return nodeOffset >= 0;
int32_t L_0 = __this->___nodeOffset_1;
return (bool)((((int32_t)((((int32_t)L_0) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
IL2CPP_EXTERN_C bool BBTreeBox_get_IsLeaf_mDAA24C314542A46EA4CC91C3AB43CB2E13BC4B5F_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
{
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979*>(__this + _offset);
bool _returnValue;
_returnValue = BBTreeBox_get_IsLeaf_mDAA24C314542A46EA4CC91C3AB43CB2E13BC4B5F(_thisAdjusted, method);
return _returnValue;
}
// System.Void Pathfinding.BBTree/BBTreeBox::.ctor(Pathfinding.IntRect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTreeBox__ctor_mBA684D448E7E9D556FF37A6C3F9255DBFA6D2CEC (BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* __this, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// nodeOffset = -1;
__this->___nodeOffset_1 = (-1);
// this.rect = rect;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_0 = ___0_rect;
__this->___rect_0 = L_0;
// left = right = -1;
int32_t L_1 = (-1);
V_0 = L_1;
__this->___right_3 = L_1;
int32_t L_2 = V_0;
__this->___left_2 = L_2;
// }
return;
}
}
IL2CPP_EXTERN_C void BBTreeBox__ctor_mBA684D448E7E9D556FF37A6C3F9255DBFA6D2CEC_AdjustorThunk (RuntimeObject* __this, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, const RuntimeMethod* method)
{
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979*>(__this + _offset);
BBTreeBox__ctor_mBA684D448E7E9D556FF37A6C3F9255DBFA6D2CEC(_thisAdjusted, ___0_rect, method);
}
// System.Void Pathfinding.BBTree/BBTreeBox::.ctor(System.Int32,Pathfinding.IntRect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTreeBox__ctor_mDCE3E481A7F952310B49B2DBE68F487DBE80B516 (BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* __this, int32_t ___0_nodeOffset, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___1_rect, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// this.nodeOffset = nodeOffset;
int32_t L_0 = ___0_nodeOffset;
__this->___nodeOffset_1 = L_0;
// this.rect = rect;
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_1 = ___1_rect;
__this->___rect_0 = L_1;
// left = right = -1;
int32_t L_2 = (-1);
V_0 = L_2;
__this->___right_3 = L_2;
int32_t L_3 = V_0;
__this->___left_2 = L_3;
// }
return;
}
}
IL2CPP_EXTERN_C void BBTreeBox__ctor_mDCE3E481A7F952310B49B2DBE68F487DBE80B516_AdjustorThunk (RuntimeObject* __this, int32_t ___0_nodeOffset, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___1_rect, const RuntimeMethod* method)
{
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979*>(__this + _offset);
BBTreeBox__ctor_mDCE3E481A7F952310B49B2DBE68F487DBE80B516(_thisAdjusted, ___0_nodeOffset, ___1_rect, method);
}
// System.Boolean Pathfinding.BBTree/BBTreeBox::Contains(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBTreeBox_Contains_m4412B2E022FC7432B67F4038C3C54E90BE13748C (BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method)
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var pi = (Int3)point;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_point;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_1;
L_1 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_0, NULL);
V_0 = L_1;
// return rect.Contains(pi.x, pi.z);
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_2 = (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)(&__this->___rect_0);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_3 = V_0;
int32_t L_4 = L_3.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_5 = V_0;
int32_t L_6 = L_5.___z_2;
bool L_7;
L_7 = IntRect_Contains_m5E307C7E3F45B01584E41D0A141A3AF5E5D6549D(L_2, L_4, L_6, NULL);
return L_7;
}
}
IL2CPP_EXTERN_C bool BBTreeBox_Contains_m4412B2E022FC7432B67F4038C3C54E90BE13748C_AdjustorThunk (RuntimeObject* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method)
{
BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<BBTreeBox_tC18B459B86BEEF3C6D9F7DFB6D7F5CEE26630979*>(__this + _offset);
bool _returnValue;
_returnValue = BBTreeBox_Contains_m4412B2E022FC7432B67F4038C3C54E90BE13748C(_thisAdjusted, ___0_point, method);
return _returnValue;
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.EuclideanEmbedding::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EuclideanEmbedding_EnsureCapacity_mF825E3D3BED0C67A19766652DE6529B22E3E1DC2 (EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890* __this, int32_t ___0_index, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.UInt32 Pathfinding.EuclideanEmbedding::GetHeuristic(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t EuclideanEmbedding_GetHeuristic_mCFCF52D4C240D37EC08D4C3081D97D0CB32300AB (EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890* __this, int32_t ___0_nodeIndex1, int32_t ___1_nodeIndex2, const RuntimeMethod* method)
{
{
// return 0;
return 0;
}
}
// System.Void Pathfinding.EuclideanEmbedding::RecalculatePivots()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EuclideanEmbedding_RecalculatePivots_m0895E56AFD4A05B72E36F4F8E41B396F1288EE6B (EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890* __this, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void Pathfinding.EuclideanEmbedding::RecalculateCosts()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EuclideanEmbedding_RecalculateCosts_m2FDC20F43CDAB5732F95D134B7643E8FB98CC22B (EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890* __this, const RuntimeMethod* method)
{
{
// dirty = false;
__this->___dirty_4 = (bool)0;
// }
return;
}
}
// System.Void Pathfinding.EuclideanEmbedding::OnDrawGizmos()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EuclideanEmbedding_OnDrawGizmos_mAFB094F2F4BBA3203BA48AEC0713C738777C5DB0 (EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890* __this, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void Pathfinding.EuclideanEmbedding::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EuclideanEmbedding__ctor_m0E4597AE7F6463F20A0B5B91955D298959EB926E (EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890* __this, const RuntimeMethod* method)
{
{
// public int spreadOutCount = 1;
__this->___spreadOutCount_3 = 1;
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.NavmeshTile::GetTileCoordinates(System.Int32,System.Int32&,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshTile_GetTileCoordinates_mE59708CAC10CD45D941EFF9975895F3FCB11915E (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, int32_t ___0_tileIndex, int32_t* ___1_x, int32_t* ___2_z, const RuntimeMethod* method)
{
{
// x = this.x;
int32_t* L_0 = ___1_x;
int32_t L_1 = __this->___x_3;
*((int32_t*)L_0) = (int32_t)L_1;
// z = this.z;
int32_t* L_2 = ___2_z;
int32_t L_3 = __this->___z_4;
*((int32_t*)L_2) = (int32_t)L_3;
// }
return;
}
}
// System.Int32 Pathfinding.NavmeshTile::GetVertexArrayIndex(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NavmeshTile_GetVertexArrayIndex_m99B8737E093B15906537E9617E89A4BD51313634 (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, int32_t ___0_index, const RuntimeMethod* method)
{
{
// return index & NavmeshBase.VertexIndexMask;
int32_t L_0 = ___0_index;
return ((int32_t)(L_0&((int32_t)4095)));
}
}
// Pathfinding.Int3 Pathfinding.NavmeshTile::GetVertex(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 NavmeshTile_GetVertex_mBFCEA6E7A688A93C762655604E4057B1F80B8ED7 (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, int32_t ___0_index, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// int idx = index & NavmeshBase.VertexIndexMask;
int32_t L_0 = ___0_index;
V_0 = ((int32_t)(L_0&((int32_t)4095)));
// return verts[idx];
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_1 = __this->___verts_1;
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
return L_4;
}
}
// Pathfinding.Int3 Pathfinding.NavmeshTile::GetVertexInGraphSpace(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 NavmeshTile_GetVertexInGraphSpace_mB6875DBDB21105EB809289CDFA62B88AFB48C739 (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, int32_t ___0_index, const RuntimeMethod* method)
{
{
// return vertsInGraphSpace[index & NavmeshBase.VertexIndexMask];
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_0 = __this->___vertsInGraphSpace_2;
int32_t L_1 = ___0_index;
NullCheck(L_0);
int32_t L_2 = ((int32_t)(L_1&((int32_t)4095)));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
return L_3;
}
}
// Pathfinding.Util.GraphTransform Pathfinding.NavmeshTile::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* NavmeshTile_get_transform_m2BC76F21E22C0DE505EAABFE240FD06A7DD6AA6F (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, const RuntimeMethod* method)
{
{
// public GraphTransform transform { get { return graph.transform; } }
NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* L_0 = __this->___graph_10;
NullCheck(L_0);
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_1 = L_0->___transform_27;
return L_1;
}
}
// System.Void Pathfinding.NavmeshTile::GetNodes(System.Action`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshTile_GetNodes_mAA4143D92D57233AEBD3B63A96C638BD03D19A9C (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___0_action, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// if (nodes == null) return;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_0 = __this->___nodes_7;
if (L_0)
{
goto IL_0009;
}
}
{
// if (nodes == null) return;
return;
}
IL_0009:
{
// for (int i = 0; i < nodes.Length; i++) action(nodes[i]);
V_0 = 0;
goto IL_001f;
}
IL_000d:
{
// for (int i = 0; i < nodes.Length; i++) action(nodes[i]);
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_1 = ___0_action;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_2 = __this->___nodes_7;
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck(L_1);
Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline(L_1, L_5, NULL);
// for (int i = 0; i < nodes.Length; i++) action(nodes[i]);
int32_t L_6 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_6, 1));
}
IL_001f:
{
// for (int i = 0; i < nodes.Length; i++) action(nodes[i]);
int32_t L_7 = V_0;
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_8 = __this->___nodes_7;
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
{
goto IL_000d;
}
}
{
// }
return;
}
}
// System.Void Pathfinding.NavmeshTile::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshTile__ctor_mAA38CC4E0AFD8FE328F54E47D8A7922597B9165A (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Mesh Pathfinding.ObjImporter::ImportFile(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ObjImporter_ImportFile_m0AF42BF5FAFB9847E6F5914A1F78BB31FAFEB60B (String_t* ___0_filePath, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral00BB7BF1C78234AC40D473CAFECD550920F699BF);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D);
s_Il2CppMethodInitialized = true;
}
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E V_0;
memset((&V_0), 0, sizeof(V_0));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_1 = NULL;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_2 = NULL;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_3 = NULL;
int32_t V_4 = 0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_5 = NULL;
int32_t V_6 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
memset((&V_7), 0, sizeof(V_7));
{
// if (!File.Exists(filePath)) {
String_t* L_0 = ___0_filePath;
bool L_1;
L_1 = File_Exists_m95E329ABBE3EAD6750FE1989BBA6884457136D4A(L_0, NULL);
if (L_1)
{
goto IL_001f;
}
}
{
// Debug.LogError("No file was found at '"+filePath+"'");
String_t* L_2 = ___0_filePath;
String_t* L_3;
L_3 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteral00BB7BF1C78234AC40D473CAFECD550920F699BF, L_2, _stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(L_3, NULL);
// return null;
return (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL;
}
IL_001f:
{
// meshStruct newMesh = createMeshStruct(filePath);
String_t* L_4 = ___0_filePath;
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_5;
L_5 = ObjImporter_createMeshStruct_mFC762C993D1E7C780E0D03D979D0D62242FE93BF(L_4, NULL);
V_0 = L_5;
// populateMeshStruct(ref newMesh);
ObjImporter_populateMeshStruct_mAB796A4D8EE02BE00087E108B68E78120C8A75D3((&V_0), NULL);
// Vector3[] newVerts = new Vector3[newMesh.faceData.Length];
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_6 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_7 = L_6.___faceData_4;
NullCheck(L_7);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_8 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)));
V_1 = L_8;
// Vector2[] newUVs = new Vector2[newMesh.faceData.Length];
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_9 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_10 = L_9.___faceData_4;
NullCheck(L_10);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_11 = (Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)SZArrayNew(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)));
V_2 = L_11;
// Vector3[] newNormals = new Vector3[newMesh.faceData.Length];
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_12 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_13 = L_12.___faceData_4;
NullCheck(L_13);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_14 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)));
V_3 = L_14;
// int i = 0;
V_4 = 0;
// foreach (Vector3 v in newMesh.faceData) {
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_15 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_16 = L_15.___faceData_4;
V_5 = L_16;
V_6 = 0;
goto IL_00f4;
}
IL_006a:
{
// foreach (Vector3 v in newMesh.faceData) {
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_17 = V_5;
int32_t L_18 = V_6;
NullCheck(L_17);
int32_t L_19 = L_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
V_7 = L_20;
// newVerts[i] = newMesh.vertices[(int)v.x - 1];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_21 = V_1;
int32_t L_22 = V_4;
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_23 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_24 = L_23.___vertices_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_7;
float L_26 = L_25.___x_2;
NullCheck(L_24);
int32_t L_27 = ((int32_t)il2cpp_codegen_subtract(il2cpp_codegen_cast_double_to_int<int32_t>(L_26), 1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
NullCheck(L_21);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(L_22), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_28);
// if (v.y >= 1)
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_7;
float L_30 = L_29.___y_3;
if ((!(((float)L_30) >= ((float)(1.0f)))))
{
goto IL_00bd;
}
}
{
// newUVs[i] = newMesh.uv[(int)v.y - 1];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_31 = V_2;
int32_t L_32 = V_4;
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_33 = V_0;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_34 = L_33.___uv_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_7;
float L_36 = L_35.___y_3;
NullCheck(L_34);
int32_t L_37 = ((int32_t)il2cpp_codegen_subtract(il2cpp_codegen_cast_double_to_int<int32_t>(L_36), 1));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_38 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
NullCheck(L_31);
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(L_32), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_38);
}
IL_00bd:
{
// if (v.z >= 1)
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_7;
float L_40 = L_39.___z_4;
if ((!(((float)L_40) >= ((float)(1.0f)))))
{
goto IL_00e8;
}
}
{
// newNormals[i] = newMesh.normals[(int)v.z - 1];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_41 = V_3;
int32_t L_42 = V_4;
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_43 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_44 = L_43.___normals_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_7;
float L_46 = L_45.___z_4;
NullCheck(L_44);
int32_t L_47 = ((int32_t)il2cpp_codegen_subtract(il2cpp_codegen_cast_double_to_int<int32_t>(L_46), 1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
NullCheck(L_41);
(L_41)->SetAt(static_cast<il2cpp_array_size_t>(L_42), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_48);
}
IL_00e8:
{
// i++;
int32_t L_49 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_49, 1));
int32_t L_50 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_50, 1));
}
IL_00f4:
{
// foreach (Vector3 v in newMesh.faceData) {
int32_t L_51 = V_6;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_52 = V_5;
NullCheck(L_52);
if ((((int32_t)L_51) < ((int32_t)((int32_t)(((RuntimeArray*)L_52)->max_length)))))
{
goto IL_006a;
}
}
{
// Mesh mesh = new Mesh();
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_53 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
NullCheck(L_53);
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_53, NULL);
// mesh.vertices = newVerts;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_54 = L_53;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_55 = V_1;
NullCheck(L_54);
Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C(L_54, L_55, NULL);
// mesh.uv = newUVs;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_56 = L_54;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_57 = V_2;
NullCheck(L_56);
Mesh_set_uv_m6ED9C50E0DA8166DD48AC40FD6C828B9AD2E9617(L_56, L_57, NULL);
// mesh.normals = newNormals;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_58 = L_56;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_59 = V_3;
NullCheck(L_58);
Mesh_set_normals_m85D73193C49211BE9FA135FF72D5749B16A4760B(L_58, L_59, NULL);
// mesh.triangles = newMesh.triangles;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_60 = L_58;
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_61 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_62 = L_61.___triangles_3;
NullCheck(L_60);
Mesh_set_triangles_m124405320579A8D92711BB5A124644963A26F60B(L_60, L_62, NULL);
// mesh.RecalculateBounds();
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_63 = L_60;
NullCheck(L_63);
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_63, NULL);
// return mesh;
return L_63;
}
}
// Pathfinding.ObjImporter/meshStruct Pathfinding.ObjImporter::createMeshStruct(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E ObjImporter_createMeshStruct_mFC762C993D1E7C780E0D03D979D0D62242FE93BF (String_t* ___0_filename, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral27316A4940BF2B13EE1D13319104AE84C93A6010);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2C945D246C2B7897F000E1C591A686EB9EF010F0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3E321812348924F7AA224F948AC80E9E5A7841FE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4B752498CA45AB14E5BD67D359EAE6F257213868);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5425E4DDE72D9B019B45A16C8F497D3B7D8EE6B2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8A8EFDA91C6C257127F8C8D526FAD7E7552766AA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9DFFC3267C5F999585E61B45BA9C8DF18D4B02CA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA067DCF7E189AC44F89249565422DE596AC9C3D6);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFF9F061FAD25E6BEA133D47C40B680E60D40D5CE);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E V_5;
memset((&V_5), 0, sizeof(V_5));
String_t* V_6 = NULL;
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* V_7 = NULL;
String_t* V_8 = NULL;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* V_9 = NULL;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* V_10 = NULL;
String_t* V_11 = NULL;
{
// int triangles = 0;
V_0 = 0;
// int vertices = 0;
V_1 = 0;
// int vt = 0;
V_2 = 0;
// int vn = 0;
V_3 = 0;
// int face = 0;
V_4 = 0;
// meshStruct mesh = new meshStruct();
il2cpp_codegen_initobj((&V_5), sizeof(meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E));
// mesh.fileName = filename;
String_t* L_0 = ___0_filename;
(&V_5)->___fileName_5 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&(&V_5)->___fileName_5), (void*)L_0);
// StreamReader stream = File.OpenText(filename);
String_t* L_1 = ___0_filename;
StreamReader_t81027449065C1B0C339DB46241D8001A6F61130B* L_2;
L_2 = File_OpenText_mC22D29C515D26A22FDCB30A021A3033A87F150E6(L_1, NULL);
// string entireText = stream.ReadToEnd();
StreamReader_t81027449065C1B0C339DB46241D8001A6F61130B* L_3 = L_2;
NullCheck(L_3);
String_t* L_4;
L_4 = VirtualFuncInvoker0< String_t* >::Invoke(13 /* System.String System.IO.TextReader::ReadToEnd() */, L_3);
V_6 = L_4;
// stream.Dispose();
NullCheck(L_3);
TextReader_Dispose_mDCB332EFA06970A9CC7EC4596FCC5220B9512616(L_3, NULL);
// using (StringReader reader = new StringReader(entireText))
String_t* L_5 = V_6;
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_6 = (StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8*)il2cpp_codegen_object_new(StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8_il2cpp_TypeInfo_var);
NullCheck(L_6);
StringReader__ctor_m72556EC1062F49E05CF41B0825AC7FA2DB2A81C0(L_6, L_5, NULL);
V_7 = L_6;
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_0159:
{// begin finally (depth: 1)
{
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_7 = V_7;
if (!L_7)
{
goto IL_0164;
}
}
{
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_8 = V_7;
NullCheck(L_8);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_8);
}
IL_0164:
{
return;
}
}// end finally (depth: 1)
});
try
{// begin try (depth: 1)
{
// string currentText = reader.ReadLine();
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_9 = V_7;
NullCheck(L_9);
String_t* L_10;
L_10 = VirtualFuncInvoker0< String_t* >::Invoke(14 /* System.String System.IO.TextReader::ReadLine() */, L_9);
V_8 = L_10;
// char[] splitIdentifier = { ' ' };
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_11 = (CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)SZArrayNew(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var, (uint32_t)1);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_12 = L_11;
NullCheck(L_12);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)32));
V_9 = L_12;
goto IL_0150_1;
}
IL_0052_1:
{
// if (!currentText.StartsWith("f ") && !currentText.StartsWith("v ") && !currentText.StartsWith("vt ")
// && !currentText.StartsWith("vn ")) {
String_t* L_13 = V_8;
NullCheck(L_13);
bool L_14;
L_14 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_13, _stringLiteral5425E4DDE72D9B019B45A16C8F497D3B7D8EE6B2, NULL);
if (L_14)
{
goto IL_00b2_1;
}
}
{
String_t* L_15 = V_8;
NullCheck(L_15);
bool L_16;
L_16 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_15, _stringLiteral3E321812348924F7AA224F948AC80E9E5A7841FE, NULL);
if (L_16)
{
goto IL_00b2_1;
}
}
{
String_t* L_17 = V_8;
NullCheck(L_17);
bool L_18;
L_18 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_17, _stringLiteral27316A4940BF2B13EE1D13319104AE84C93A6010, NULL);
if (L_18)
{
goto IL_00b2_1;
}
}
{
String_t* L_19 = V_8;
NullCheck(L_19);
bool L_20;
L_20 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_19, _stringLiteralFF9F061FAD25E6BEA133D47C40B680E60D40D5CE, NULL);
if (L_20)
{
goto IL_00b2_1;
}
}
{
// currentText = reader.ReadLine();
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_21 = V_7;
NullCheck(L_21);
String_t* L_22;
L_22 = VirtualFuncInvoker0< String_t* >::Invoke(14 /* System.String System.IO.TextReader::ReadLine() */, L_21);
V_8 = L_22;
// if (currentText != null) {
String_t* L_23 = V_8;
if (!L_23)
{
goto IL_0150_1;
}
}
{
// currentText = currentText.Replace(" ", " ");
String_t* L_24 = V_8;
NullCheck(L_24);
String_t* L_25;
L_25 = String_Replace_mABDB7003A1D0AEDCAE9FF85E3DFFFBA752D2A166(L_24, _stringLiteral8A8EFDA91C6C257127F8C8D526FAD7E7552766AA, _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745, NULL);
V_8 = L_25;
goto IL_0150_1;
}
IL_00b2_1:
{
// currentText = currentText.Trim(); //Trim the current line
String_t* L_26 = V_8;
NullCheck(L_26);
String_t* L_27;
L_27 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_26, NULL);
V_8 = L_27;
// brokenString = currentText.Split(splitIdentifier, 50); //Split the line into an array, separating the original line by blank spaces
String_t* L_28 = V_8;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_29 = V_9;
NullCheck(L_28);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_30;
L_30 = String_Split_m3C63FA89A52BE352B4E49DB5379F7AAD6ACCA0E8(L_28, L_29, ((int32_t)50), NULL);
V_10 = L_30;
// switch (brokenString[0]) {
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_31 = V_10;
NullCheck(L_31);
int32_t L_32 = 0;
String_t* L_33 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
V_11 = L_33;
String_t* L_34 = V_11;
bool L_35;
L_35 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_34, _stringLiteral9DFFC3267C5F999585E61B45BA9C8DF18D4B02CA, NULL);
if (L_35)
{
goto IL_0108_1;
}
}
{
String_t* L_36 = V_11;
bool L_37;
L_37 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_36, _stringLiteral4B752498CA45AB14E5BD67D359EAE6F257213868, NULL);
if (L_37)
{
goto IL_010e_1;
}
}
{
String_t* L_38 = V_11;
bool L_39;
L_39 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_38, _stringLiteralA067DCF7E189AC44F89249565422DE596AC9C3D6, NULL);
if (L_39)
{
goto IL_0114_1;
}
}
{
String_t* L_40 = V_11;
bool L_41;
L_41 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_40, _stringLiteral2C945D246C2B7897F000E1C591A686EB9EF010F0, NULL);
if (L_41)
{
goto IL_011a_1;
}
}
{
goto IL_0130_1;
}
IL_0108_1:
{
// vertices++;
int32_t L_42 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_42, 1));
// break;
goto IL_0130_1;
}
IL_010e_1:
{
// vt++;
int32_t L_43 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_43, 1));
// break;
goto IL_0130_1;
}
IL_0114_1:
{
// vn++;
int32_t L_44 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_44, 1));
// break;
goto IL_0130_1;
}
IL_011a_1:
{
// face = face + brokenString.Length - 1;
int32_t L_45 = V_4;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_46 = V_10;
NullCheck(L_46);
V_4 = ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_45, ((int32_t)(((RuntimeArray*)L_46)->max_length)))), 1));
// triangles = triangles + 3 * (brokenString.Length - 2); /*brokenString.Length is 3 or greater since a face must have at least
int32_t L_47 = V_0;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_48 = V_10;
NullCheck(L_48);
V_0 = ((int32_t)il2cpp_codegen_add(L_47, ((int32_t)il2cpp_codegen_multiply(3, ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_48)->max_length)), 2))))));
}
IL_0130_1:
{
// currentText = reader.ReadLine();
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_49 = V_7;
NullCheck(L_49);
String_t* L_50;
L_50 = VirtualFuncInvoker0< String_t* >::Invoke(14 /* System.String System.IO.TextReader::ReadLine() */, L_49);
V_8 = L_50;
// if (currentText != null) {
String_t* L_51 = V_8;
if (!L_51)
{
goto IL_0150_1;
}
}
{
// currentText = currentText.Replace(" ", " ");
String_t* L_52 = V_8;
NullCheck(L_52);
String_t* L_53;
L_53 = String_Replace_mABDB7003A1D0AEDCAE9FF85E3DFFFBA752D2A166(L_52, _stringLiteral8A8EFDA91C6C257127F8C8D526FAD7E7552766AA, _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745, NULL);
V_8 = L_53;
}
IL_0150_1:
{
// while (currentText != null) {
String_t* L_54 = V_8;
if (L_54)
{
goto IL_0052_1;
}
}
{
// }
goto IL_0165;
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_0165:
{
// mesh.triangles = new int[triangles];
int32_t L_55 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_56 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_55);
(&V_5)->___triangles_3 = L_56;
Il2CppCodeGenWriteBarrier((void**)(&(&V_5)->___triangles_3), (void*)L_56);
// mesh.vertices = new Vector3[vertices];
int32_t L_57 = V_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_58 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)L_57);
(&V_5)->___vertices_0 = L_58;
Il2CppCodeGenWriteBarrier((void**)(&(&V_5)->___vertices_0), (void*)L_58);
// mesh.uv = new Vector2[vt];
int32_t L_59 = V_2;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_60 = (Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)SZArrayNew(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var, (uint32_t)L_59);
(&V_5)->___uv_2 = L_60;
Il2CppCodeGenWriteBarrier((void**)(&(&V_5)->___uv_2), (void*)L_60);
// mesh.normals = new Vector3[vn];
int32_t L_61 = V_3;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_62 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)L_61);
(&V_5)->___normals_1 = L_62;
Il2CppCodeGenWriteBarrier((void**)(&(&V_5)->___normals_1), (void*)L_62);
// mesh.faceData = new Vector3[face];
int32_t L_63 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_64 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)L_63);
(&V_5)->___faceData_4 = L_64;
Il2CppCodeGenWriteBarrier((void**)(&(&V_5)->___faceData_4), (void*)L_64);
// return mesh;
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E L_65 = V_5;
return L_65;
}
}
// System.Void Pathfinding.ObjImporter::populateMeshStruct(Pathfinding.ObjImporter/meshStruct&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjImporter_populateMeshStruct_mAB796A4D8EE02BE00087E108B68E78120C8A75D3 (meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* ___0_mesh, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral27316A4940BF2B13EE1D13319104AE84C93A6010);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2B9B6C84CC15492CCB290C4B79418FA6D7DD24C1);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2C945D246C2B7897F000E1C591A686EB9EF010F0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2D841A409B1F9DABD0E771E042671CA745F846B0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3E321812348924F7AA224F948AC80E9E5A7841FE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4B42BE46BB854D75F9A6082C831E3CFEEE2D648F);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4B752498CA45AB14E5BD67D359EAE6F257213868);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4E773BAC94EB3B80D321E74F2842A9CA34B296F4);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4EA526C4094316E1ABDC97726C22C86A9A389C1A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral53654C44A0EA960BF851DF7B706A8F16EB187F02);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5425E4DDE72D9B019B45A16C8F497D3B7D8EE6B2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5A4E80934A5A137F1DE4A10FD04D11D2C4F9A83A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral77BED74CB52AF5F5CE7A8D081DA177FAB96A4177);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral832717F6DAEDB69A0AB5F44CBE008C33CE5DD496);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8A8EFDA91C6C257127F8C8D526FAD7E7552766AA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral91BA0BFEE39A878ED243A61DE051D5D17B6388A0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral92B4B04622775C57C3CFA9EACCAB56CAD2FBE663);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9DFFC3267C5F999585E61B45BA9C8DF18D4B02CA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA067DCF7E189AC44F89249565422DE596AC9C3D6);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA59BC3B44764990046065BA0D84E1188DA162469);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAE2888C62400EFA4A8E55D3F28E20EF765A79200);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCE94086335F135C03B27A45802001093EBAFC2B5);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFF9F061FAD25E6BEA133D47C40B680E60D40D5CE);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* V_1 = NULL;
String_t* V_2 = NULL;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* V_3 = NULL;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* V_4 = NULL;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* V_5 = NULL;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* V_6 = NULL;
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t V_10 = 0;
int32_t V_11 = 0;
int32_t V_12 = 0;
int32_t V_13 = 0;
int32_t V_14 = 0;
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_15 = NULL;
String_t* V_16 = NULL;
uint32_t V_17 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_18;
memset((&V_18), 0, sizeof(V_18));
String_t* G_B69_0 = NULL;
String_t* G_B68_0 = NULL;
{
// StreamReader stream = File.OpenText(mesh.fileName);
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_0 = ___0_mesh;
String_t* L_1 = L_0->___fileName_5;
StreamReader_t81027449065C1B0C339DB46241D8001A6F61130B* L_2;
L_2 = File_OpenText_mC22D29C515D26A22FDCB30A021A3033A87F150E6(L_1, NULL);
// string entireText = stream.ReadToEnd();
StreamReader_t81027449065C1B0C339DB46241D8001A6F61130B* L_3 = L_2;
NullCheck(L_3);
String_t* L_4;
L_4 = VirtualFuncInvoker0< String_t* >::Invoke(13 /* System.String System.IO.TextReader::ReadToEnd() */, L_3);
V_0 = L_4;
// stream.Close();
NullCheck(L_3);
VirtualActionInvoker0::Invoke(7 /* System.Void System.IO.TextReader::Close() */, L_3);
// using (StringReader reader = new StringReader(entireText))
String_t* L_5 = V_0;
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_6 = (StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8*)il2cpp_codegen_object_new(StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8_il2cpp_TypeInfo_var);
NullCheck(L_6);
StringReader__ctor_m72556EC1062F49E05CF41B0825AC7FA2DB2A81C0(L_6, L_5, NULL);
V_1 = L_6;
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_0500:
{// begin finally (depth: 1)
{
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_7 = V_1;
if (!L_7)
{
goto IL_0509;
}
}
{
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_8 = V_1;
NullCheck(L_8);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_8);
}
IL_0509:
{
return;
}
}// end finally (depth: 1)
});
try
{// begin try (depth: 1)
{
// string currentText = reader.ReadLine();
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_9 = V_1;
NullCheck(L_9);
String_t* L_10;
L_10 = VirtualFuncInvoker0< String_t* >::Invoke(14 /* System.String System.IO.TextReader::ReadLine() */, L_9);
V_2 = L_10;
// char[] splitIdentifier = { ' ' };
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_11 = (CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)SZArrayNew(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var, (uint32_t)1);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_12 = L_11;
NullCheck(L_12);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)32));
V_3 = L_12;
// char[] splitIdentifier2 = { '/' };
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_13 = (CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)SZArrayNew(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var, (uint32_t)1);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_14 = L_13;
NullCheck(L_14);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)47));
V_4 = L_14;
// int f = 0;
V_7 = 0;
// int f2 = 0;
V_8 = 0;
// int v = 0;
V_9 = 0;
// int vn = 0;
V_10 = 0;
// int vt = 0;
V_11 = 0;
// int vt1 = 0;
V_12 = 0;
// int vt2 = 0;
V_13 = 0;
goto IL_04f8_1;
}
IL_0058_1:
{
// if (!currentText.StartsWith("f ") && !currentText.StartsWith("v ") && !currentText.StartsWith("vt ") &&
// !currentText.StartsWith("vn ") && !currentText.StartsWith("g ") && !currentText.StartsWith("usemtl ") &&
// !currentText.StartsWith("mtllib ") && !currentText.StartsWith("vt1 ") && !currentText.StartsWith("vt2 ") &&
// !currentText.StartsWith("vc ") && !currentText.StartsWith("usemap ")) {
String_t* L_15 = V_2;
NullCheck(L_15);
bool L_16;
L_16 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_15, _stringLiteral5425E4DDE72D9B019B45A16C8F497D3B7D8EE6B2, NULL);
if (L_16)
{
goto IL_0113_1;
}
}
{
String_t* L_17 = V_2;
NullCheck(L_17);
bool L_18;
L_18 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_17, _stringLiteral3E321812348924F7AA224F948AC80E9E5A7841FE, NULL);
if (L_18)
{
goto IL_0113_1;
}
}
{
String_t* L_19 = V_2;
NullCheck(L_19);
bool L_20;
L_20 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_19, _stringLiteral27316A4940BF2B13EE1D13319104AE84C93A6010, NULL);
if (L_20)
{
goto IL_0113_1;
}
}
{
String_t* L_21 = V_2;
NullCheck(L_21);
bool L_22;
L_22 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_21, _stringLiteralFF9F061FAD25E6BEA133D47C40B680E60D40D5CE, NULL);
if (L_22)
{
goto IL_0113_1;
}
}
{
String_t* L_23 = V_2;
NullCheck(L_23);
bool L_24;
L_24 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_23, _stringLiteral4EA526C4094316E1ABDC97726C22C86A9A389C1A, NULL);
if (L_24)
{
goto IL_0113_1;
}
}
{
String_t* L_25 = V_2;
NullCheck(L_25);
bool L_26;
L_26 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_25, _stringLiteral4B42BE46BB854D75F9A6082C831E3CFEEE2D648F, NULL);
if (L_26)
{
goto IL_0113_1;
}
}
{
String_t* L_27 = V_2;
NullCheck(L_27);
bool L_28;
L_28 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_27, _stringLiteral4E773BAC94EB3B80D321E74F2842A9CA34B296F4, NULL);
if (L_28)
{
goto IL_0113_1;
}
}
{
String_t* L_29 = V_2;
NullCheck(L_29);
bool L_30;
L_30 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_29, _stringLiteralA59BC3B44764990046065BA0D84E1188DA162469, NULL);
if (L_30)
{
goto IL_0113_1;
}
}
{
String_t* L_31 = V_2;
NullCheck(L_31);
bool L_32;
L_32 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_31, _stringLiteralAE2888C62400EFA4A8E55D3F28E20EF765A79200, NULL);
if (L_32)
{
goto IL_0113_1;
}
}
{
String_t* L_33 = V_2;
NullCheck(L_33);
bool L_34;
L_34 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_33, _stringLiteral53654C44A0EA960BF851DF7B706A8F16EB187F02, NULL);
if (L_34)
{
goto IL_0113_1;
}
}
{
String_t* L_35 = V_2;
NullCheck(L_35);
bool L_36;
L_36 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_35, _stringLiteral92B4B04622775C57C3CFA9EACCAB56CAD2FBE663, NULL);
if (L_36)
{
goto IL_0113_1;
}
}
{
// currentText = reader.ReadLine();
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_37 = V_1;
NullCheck(L_37);
String_t* L_38;
L_38 = VirtualFuncInvoker0< String_t* >::Invoke(14 /* System.String System.IO.TextReader::ReadLine() */, L_37);
V_2 = L_38;
// if (currentText != null) {
String_t* L_39 = V_2;
if (!L_39)
{
goto IL_04f8_1;
}
}
{
// currentText = currentText.Replace(" ", " ");
String_t* L_40 = V_2;
NullCheck(L_40);
String_t* L_41;
L_41 = String_Replace_mABDB7003A1D0AEDCAE9FF85E3DFFFBA752D2A166(L_40, _stringLiteral8A8EFDA91C6C257127F8C8D526FAD7E7552766AA, _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745, NULL);
V_2 = L_41;
goto IL_04f8_1;
}
IL_0113_1:
{
// currentText = currentText.Trim();
String_t* L_42 = V_2;
NullCheck(L_42);
String_t* L_43;
L_43 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_42, NULL);
V_2 = L_43;
// brokenString = currentText.Split(splitIdentifier, 50);
String_t* L_44 = V_2;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_45 = V_3;
NullCheck(L_44);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_46;
L_46 = String_Split_m3C63FA89A52BE352B4E49DB5379F7AAD6ACCA0E8(L_44, L_45, ((int32_t)50), NULL);
V_5 = L_46;
// switch (brokenString[0]) {
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_47 = V_5;
NullCheck(L_47);
int32_t L_48 = 0;
String_t* L_49 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
V_16 = L_49;
String_t* L_50 = V_16;
uint32_t L_51;
L_51 = U3CPrivateImplementationDetailsU3E_ComputeStringHash_m013D82BA9F9552CCE4CBC06A97E07E1C3F3B7351(L_50, NULL);
V_17 = L_51;
uint32_t L_52 = V_17;
if ((!(((uint32_t)L_52) <= ((uint32_t)((int32_t)1179241374)))))
{
goto IL_018c_1;
}
}
{
uint32_t L_53 = V_17;
if ((!(((uint32_t)L_53) <= ((uint32_t)((int32_t)1128908517)))))
{
goto IL_0163_1;
}
}
{
uint32_t L_54 = V_17;
if ((((int32_t)L_54) == ((int32_t)((int32_t)990293175))))
{
goto IL_021d_1;
}
}
{
uint32_t L_55 = V_17;
if ((((int32_t)L_55) == ((int32_t)((int32_t)1128908517))))
{
goto IL_028b_1;
}
}
{
goto IL_04dd_1;
}
IL_0163_1:
{
uint32_t L_56 = V_17;
if ((((int32_t)L_56) == ((int32_t)((int32_t)1146808303))))
{
goto IL_0275_1;
}
}
{
uint32_t L_57 = V_17;
if ((((int32_t)L_57) == ((int32_t)((int32_t)1163585922))))
{
goto IL_025f_1;
}
}
{
uint32_t L_58 = V_17;
if ((((int32_t)L_58) == ((int32_t)((int32_t)1179241374))))
{
goto IL_02a1_1;
}
}
{
goto IL_04dd_1;
}
IL_018c_1:
{
uint32_t L_59 = V_17;
if ((!(((uint32_t)L_59) <= ((uint32_t)((int32_t)1498016135)))))
{
goto IL_01b8_1;
}
}
{
uint32_t L_60 = V_17;
if ((((int32_t)L_60) == ((int32_t)((int32_t)1297068826))))
{
goto IL_0207_1;
}
}
{
uint32_t L_61 = V_17;
if ((((int32_t)L_61) == ((int32_t)((int32_t)1328799683))))
{
goto IL_01f1_1;
}
}
{
uint32_t L_62 = V_17;
if ((((int32_t)L_62) == ((int32_t)((int32_t)1498016135))))
{
goto IL_0249_1;
}
}
{
goto IL_04dd_1;
}
IL_01b8_1:
{
uint32_t L_63 = V_17;
if ((((int32_t)L_63) == ((int32_t)((int32_t)-502520314))))
{
goto IL_01db_1;
}
}
{
uint32_t L_64 = V_17;
if ((((int32_t)L_64) == ((int32_t)((int32_t)-485742695))))
{
goto IL_02b7_1;
}
}
{
uint32_t L_65 = V_17;
if ((((int32_t)L_65) == ((int32_t)((int32_t)-217300791))))
{
goto IL_0233_1;
}
}
{
goto IL_04dd_1;
}
IL_01db_1:
{
String_t* L_66 = V_16;
bool L_67;
L_67 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_66, _stringLiteral2B9B6C84CC15492CCB290C4B79418FA6D7DD24C1, NULL);
if (L_67)
{
goto IL_04dd_1;
}
}
{
goto IL_04dd_1;
}
IL_01f1_1:
{
String_t* L_68 = V_16;
bool L_69;
L_69 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_68, _stringLiteral832717F6DAEDB69A0AB5F44CBE008C33CE5DD496, NULL);
if (L_69)
{
goto IL_04dd_1;
}
}
{
goto IL_04dd_1;
}
IL_0207_1:
{
String_t* L_70 = V_16;
bool L_71;
L_71 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_70, _stringLiteral5A4E80934A5A137F1DE4A10FD04D11D2C4F9A83A, NULL);
if (L_71)
{
goto IL_04dd_1;
}
}
{
goto IL_04dd_1;
}
IL_021d_1:
{
String_t* L_72 = V_16;
bool L_73;
L_73 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_72, _stringLiteral91BA0BFEE39A878ED243A61DE051D5D17B6388A0, NULL);
if (L_73)
{
goto IL_04dd_1;
}
}
{
goto IL_04dd_1;
}
IL_0233_1:
{
String_t* L_74 = V_16;
bool L_75;
L_75 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_74, _stringLiteral9DFFC3267C5F999585E61B45BA9C8DF18D4B02CA, NULL);
if (L_75)
{
goto IL_02cd_1;
}
}
{
goto IL_04dd_1;
}
IL_0249_1:
{
String_t* L_76 = V_16;
bool L_77;
L_77 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_76, _stringLiteral4B752498CA45AB14E5BD67D359EAE6F257213868, NULL);
if (L_77)
{
goto IL_0305_1;
}
}
{
goto IL_04dd_1;
}
IL_025f_1:
{
String_t* L_78 = V_16;
bool L_79;
L_79 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_78, _stringLiteral2D841A409B1F9DABD0E771E042671CA745F846B0, NULL);
if (L_79)
{
goto IL_0334_1;
}
}
{
goto IL_04dd_1;
}
IL_0275_1:
{
String_t* L_80 = V_16;
bool L_81;
L_81 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_80, _stringLiteral77BED74CB52AF5F5CE7A8D081DA177FAB96A4177, NULL);
if (L_81)
{
goto IL_0363_1;
}
}
{
goto IL_04dd_1;
}
IL_028b_1:
{
String_t* L_82 = V_16;
bool L_83;
L_83 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_82, _stringLiteralA067DCF7E189AC44F89249565422DE596AC9C3D6, NULL);
if (L_83)
{
goto IL_0392_1;
}
}
{
goto IL_04dd_1;
}
IL_02a1_1:
{
String_t* L_84 = V_16;
bool L_85;
L_85 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_84, _stringLiteralCE94086335F135C03B27A45802001093EBAFC2B5, NULL);
if (L_85)
{
goto IL_04dd_1;
}
}
{
goto IL_04dd_1;
}
IL_02b7_1:
{
String_t* L_86 = V_16;
bool L_87;
L_87 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_86, _stringLiteral2C945D246C2B7897F000E1C591A686EB9EF010F0, NULL);
if (L_87)
{
goto IL_03ca_1;
}
}
{
goto IL_04dd_1;
}
IL_02cd_1:
{
// mesh.vertices[v] = new Vector3(System.Convert.ToSingle(brokenString[1]), System.Convert.ToSingle(brokenString[2]),
// System.Convert.ToSingle(brokenString[3]));
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_88 = ___0_mesh;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_89 = L_88->___vertices_0;
int32_t L_90 = V_9;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_91 = V_5;
NullCheck(L_91);
int32_t L_92 = 1;
String_t* L_93 = (L_91)->GetAt(static_cast<il2cpp_array_size_t>(L_92));
il2cpp_codegen_runtime_class_init_inline(Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
float L_94;
L_94 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_93, NULL);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_95 = V_5;
NullCheck(L_95);
int32_t L_96 = 2;
String_t* L_97 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_96));
float L_98;
L_98 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_97, NULL);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_99 = V_5;
NullCheck(L_99);
int32_t L_100 = 3;
String_t* L_101 = (L_99)->GetAt(static_cast<il2cpp_array_size_t>(L_100));
float L_102;
L_102 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_101, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103;
memset((&L_103), 0, sizeof(L_103));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_103), L_94, L_98, L_102, /*hidden argument*/NULL);
NullCheck(L_89);
(L_89)->SetAt(static_cast<il2cpp_array_size_t>(L_90), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_103);
// v++;
int32_t L_104 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add(L_104, 1));
// break;
goto IL_04dd_1;
}
IL_0305_1:
{
// mesh.uv[vt] = new Vector2(System.Convert.ToSingle(brokenString[1]), System.Convert.ToSingle(brokenString[2]));
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_105 = ___0_mesh;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_106 = L_105->___uv_2;
int32_t L_107 = V_11;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_108 = V_5;
NullCheck(L_108);
int32_t L_109 = 1;
String_t* L_110 = (L_108)->GetAt(static_cast<il2cpp_array_size_t>(L_109));
il2cpp_codegen_runtime_class_init_inline(Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
float L_111;
L_111 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_110, NULL);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_112 = V_5;
NullCheck(L_112);
int32_t L_113 = 2;
String_t* L_114 = (L_112)->GetAt(static_cast<il2cpp_array_size_t>(L_113));
float L_115;
L_115 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_114, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_116;
memset((&L_116), 0, sizeof(L_116));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_116), L_111, L_115, /*hidden argument*/NULL);
NullCheck(L_106);
(L_106)->SetAt(static_cast<il2cpp_array_size_t>(L_107), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_116);
// vt++;
int32_t L_117 = V_11;
V_11 = ((int32_t)il2cpp_codegen_add(L_117, 1));
// break;
goto IL_04dd_1;
}
IL_0334_1:
{
// mesh.uv[vt1] = new Vector2(System.Convert.ToSingle(brokenString[1]), System.Convert.ToSingle(brokenString[2]));
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_118 = ___0_mesh;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_119 = L_118->___uv_2;
int32_t L_120 = V_12;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_121 = V_5;
NullCheck(L_121);
int32_t L_122 = 1;
String_t* L_123 = (L_121)->GetAt(static_cast<il2cpp_array_size_t>(L_122));
il2cpp_codegen_runtime_class_init_inline(Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
float L_124;
L_124 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_123, NULL);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_125 = V_5;
NullCheck(L_125);
int32_t L_126 = 2;
String_t* L_127 = (L_125)->GetAt(static_cast<il2cpp_array_size_t>(L_126));
float L_128;
L_128 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_127, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_129;
memset((&L_129), 0, sizeof(L_129));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_129), L_124, L_128, /*hidden argument*/NULL);
NullCheck(L_119);
(L_119)->SetAt(static_cast<il2cpp_array_size_t>(L_120), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_129);
// vt1++;
int32_t L_130 = V_12;
V_12 = ((int32_t)il2cpp_codegen_add(L_130, 1));
// break;
goto IL_04dd_1;
}
IL_0363_1:
{
// mesh.uv[vt2] = new Vector2(System.Convert.ToSingle(brokenString[1]), System.Convert.ToSingle(brokenString[2]));
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_131 = ___0_mesh;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_132 = L_131->___uv_2;
int32_t L_133 = V_13;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_134 = V_5;
NullCheck(L_134);
int32_t L_135 = 1;
String_t* L_136 = (L_134)->GetAt(static_cast<il2cpp_array_size_t>(L_135));
il2cpp_codegen_runtime_class_init_inline(Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
float L_137;
L_137 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_136, NULL);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_138 = V_5;
NullCheck(L_138);
int32_t L_139 = 2;
String_t* L_140 = (L_138)->GetAt(static_cast<il2cpp_array_size_t>(L_139));
float L_141;
L_141 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_140, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_142;
memset((&L_142), 0, sizeof(L_142));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_142), L_137, L_141, /*hidden argument*/NULL);
NullCheck(L_132);
(L_132)->SetAt(static_cast<il2cpp_array_size_t>(L_133), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_142);
// vt2++;
int32_t L_143 = V_13;
V_13 = ((int32_t)il2cpp_codegen_add(L_143, 1));
// break;
goto IL_04dd_1;
}
IL_0392_1:
{
// mesh.normals[vn] = new Vector3(System.Convert.ToSingle(brokenString[1]), System.Convert.ToSingle(brokenString[2]),
// System.Convert.ToSingle(brokenString[3]));
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_144 = ___0_mesh;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_145 = L_144->___normals_1;
int32_t L_146 = V_10;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_147 = V_5;
NullCheck(L_147);
int32_t L_148 = 1;
String_t* L_149 = (L_147)->GetAt(static_cast<il2cpp_array_size_t>(L_148));
il2cpp_codegen_runtime_class_init_inline(Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
float L_150;
L_150 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_149, NULL);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_151 = V_5;
NullCheck(L_151);
int32_t L_152 = 2;
String_t* L_153 = (L_151)->GetAt(static_cast<il2cpp_array_size_t>(L_152));
float L_154;
L_154 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_153, NULL);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_155 = V_5;
NullCheck(L_155);
int32_t L_156 = 3;
String_t* L_157 = (L_155)->GetAt(static_cast<il2cpp_array_size_t>(L_156));
float L_158;
L_158 = Convert_ToSingle_m312FA1741E893E5B9D93A208CD15D417B1E4C65C(L_157, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_159;
memset((&L_159), 0, sizeof(L_159));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_159), L_150, L_154, L_158, /*hidden argument*/NULL);
NullCheck(L_145);
(L_145)->SetAt(static_cast<il2cpp_array_size_t>(L_146), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_159);
// vn++;
int32_t L_160 = V_10;
V_10 = ((int32_t)il2cpp_codegen_add(L_160, 1));
// break;
goto IL_04dd_1;
}
IL_03ca_1:
{
// int j = 1;
V_14 = 1;
// List<int> intArray = new List<int>();
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_161 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
NullCheck(L_161);
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_161, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
V_15 = L_161;
goto IL_045e_1;
}
IL_03d9_1:
{
// Vector3 temp = new Vector3();
il2cpp_codegen_initobj((&V_18), sizeof(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2));
// brokenBrokenString = brokenString[j].Split(splitIdentifier2, 3); //Separate the face into individual components (vert, uv, normal)
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_162 = V_5;
int32_t L_163 = V_14;
NullCheck(L_162);
int32_t L_164 = L_163;
String_t* L_165 = (L_162)->GetAt(static_cast<il2cpp_array_size_t>(L_164));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_166 = V_4;
NullCheck(L_165);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_167;
L_167 = String_Split_m3C63FA89A52BE352B4E49DB5379F7AAD6ACCA0E8(L_165, L_166, 3, NULL);
V_6 = L_167;
// temp.x = System.Convert.ToInt32(brokenBrokenString[0]);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_168 = V_6;
NullCheck(L_168);
int32_t L_169 = 0;
String_t* L_170 = (L_168)->GetAt(static_cast<il2cpp_array_size_t>(L_169));
il2cpp_codegen_runtime_class_init_inline(Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
int32_t L_171;
L_171 = Convert_ToInt32_m0C3F3778B1D646778F41B6912138AEEEE6BEB9D4(L_170, NULL);
(&V_18)->___x_2 = ((float)L_171);
// if (brokenBrokenString.Length > 1) { //Some .obj files skip UV and normal
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_172 = V_6;
NullCheck(L_172);
if ((((int32_t)((int32_t)(((RuntimeArray*)L_172)->max_length))) <= ((int32_t)1)))
{
goto IL_043a_1;
}
}
{
// if (brokenBrokenString[1] != "") { //Some .obj files skip the uv and not the normal
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_173 = V_6;
NullCheck(L_173);
int32_t L_174 = 1;
String_t* L_175 = (L_173)->GetAt(static_cast<il2cpp_array_size_t>(L_174));
bool L_176;
L_176 = String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6(L_175, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
if (!L_176)
{
goto IL_0429_1;
}
}
{
// temp.y = System.Convert.ToInt32(brokenBrokenString[1]);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_177 = V_6;
NullCheck(L_177);
int32_t L_178 = 1;
String_t* L_179 = (L_177)->GetAt(static_cast<il2cpp_array_size_t>(L_178));
il2cpp_codegen_runtime_class_init_inline(Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
int32_t L_180;
L_180 = Convert_ToInt32_m0C3F3778B1D646778F41B6912138AEEEE6BEB9D4(L_179, NULL);
(&V_18)->___y_3 = ((float)L_180);
}
IL_0429_1:
{
// temp.z = System.Convert.ToInt32(brokenBrokenString[2]);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_181 = V_6;
NullCheck(L_181);
int32_t L_182 = 2;
String_t* L_183 = (L_181)->GetAt(static_cast<il2cpp_array_size_t>(L_182));
il2cpp_codegen_runtime_class_init_inline(Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
int32_t L_184;
L_184 = Convert_ToInt32_m0C3F3778B1D646778F41B6912138AEEEE6BEB9D4(L_183, NULL);
(&V_18)->___z_4 = ((float)L_184);
}
IL_043a_1:
{
// j++;
int32_t L_185 = V_14;
V_14 = ((int32_t)il2cpp_codegen_add(L_185, 1));
// mesh.faceData[f2] = temp;
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_186 = ___0_mesh;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_187 = L_186->___faceData_4;
int32_t L_188 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_189 = V_18;
NullCheck(L_187);
(L_187)->SetAt(static_cast<il2cpp_array_size_t>(L_188), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_189);
// intArray.Add(f2);
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_190 = V_15;
int32_t L_191 = V_8;
NullCheck(L_190);
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_190, L_191, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
// f2++;
int32_t L_192 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add(L_192, 1));
}
IL_045e_1:
{
// while (j < brokenString.Length && ("" + brokenString[j]).Length > 0) {
int32_t L_193 = V_14;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_194 = V_5;
NullCheck(L_194);
if ((((int32_t)L_193) >= ((int32_t)((int32_t)(((RuntimeArray*)L_194)->max_length)))))
{
goto IL_047f_1;
}
}
{
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_195 = V_5;
int32_t L_196 = V_14;
NullCheck(L_195);
int32_t L_197 = L_196;
String_t* L_198 = (L_195)->GetAt(static_cast<il2cpp_array_size_t>(L_197));
String_t* L_199 = L_198;
G_B68_0 = L_199;
if (L_199)
{
G_B69_0 = L_199;
goto IL_0474_1;
}
}
{
G_B69_0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
}
IL_0474_1:
{
NullCheck(G_B69_0);
int32_t L_200;
L_200 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(G_B69_0, NULL);
if ((((int32_t)L_200) > ((int32_t)0)))
{
goto IL_03d9_1;
}
}
IL_047f_1:
{
// j = 1;
V_14 = 1;
goto IL_04d3_1;
}
IL_0484_1:
{
// mesh.triangles[f] = intArray[0];
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_201 = ___0_mesh;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_202 = L_201->___triangles_3;
int32_t L_203 = V_7;
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_204 = V_15;
NullCheck(L_204);
int32_t L_205;
L_205 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_204, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
NullCheck(L_202);
(L_202)->SetAt(static_cast<il2cpp_array_size_t>(L_203), (int32_t)L_205);
// f++;
int32_t L_206 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_206, 1));
// mesh.triangles[f] = intArray[j];
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_207 = ___0_mesh;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_208 = L_207->___triangles_3;
int32_t L_209 = V_7;
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_210 = V_15;
int32_t L_211 = V_14;
NullCheck(L_210);
int32_t L_212;
L_212 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_210, L_211, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
NullCheck(L_208);
(L_208)->SetAt(static_cast<il2cpp_array_size_t>(L_209), (int32_t)L_212);
// f++;
int32_t L_213 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_213, 1));
// mesh.triangles[f] = intArray[j+1];
meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E* L_214 = ___0_mesh;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_215 = L_214->___triangles_3;
int32_t L_216 = V_7;
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_217 = V_15;
int32_t L_218 = V_14;
NullCheck(L_217);
int32_t L_219;
L_219 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_217, ((int32_t)il2cpp_codegen_add(L_218, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
NullCheck(L_215);
(L_215)->SetAt(static_cast<il2cpp_array_size_t>(L_216), (int32_t)L_219);
// f++;
int32_t L_220 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_220, 1));
// j++;
int32_t L_221 = V_14;
V_14 = ((int32_t)il2cpp_codegen_add(L_221, 1));
}
IL_04d3_1:
{
// while (j + 2 < brokenString.Length) { //Create triangles out of the face data. There will generally be more than 1 triangle per face.
int32_t L_222 = V_14;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_223 = V_5;
NullCheck(L_223);
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_222, 2))) < ((int32_t)((int32_t)(((RuntimeArray*)L_223)->max_length)))))
{
goto IL_0484_1;
}
}
IL_04dd_1:
{
// currentText = reader.ReadLine();
StringReader_t1A336148FF22A9584E759A9D720CC96C23E35DD8* L_224 = V_1;
NullCheck(L_224);
String_t* L_225;
L_225 = VirtualFuncInvoker0< String_t* >::Invoke(14 /* System.String System.IO.TextReader::ReadLine() */, L_224);
V_2 = L_225;
// if (currentText != null) {
String_t* L_226 = V_2;
if (!L_226)
{
goto IL_04f8_1;
}
}
{
// currentText = currentText.Replace(" ", " "); //Some .obj files insert double spaces, this removes them.
String_t* L_227 = V_2;
NullCheck(L_227);
String_t* L_228;
L_228 = String_Replace_mABDB7003A1D0AEDCAE9FF85E3DFFFBA752D2A166(L_227, _stringLiteral8A8EFDA91C6C257127F8C8D526FAD7E7552766AA, _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745, NULL);
V_2 = L_228;
}
IL_04f8_1:
{
// while (currentText != null) {
String_t* L_229 = V_2;
if (L_229)
{
goto IL_0058_1;
}
}
{
// }
goto IL_050a;
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_050a:
{
// }
return;
}
}
// System.Void Pathfinding.ObjImporter::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjImporter__ctor_m78C89A19AAC88AEB3B41F3E33F000A8A41692C56 (ObjImporter_t648B62A1FF9A887F6F8D9815F7847362BB26F617* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: Pathfinding.ObjImporter/meshStruct
IL2CPP_EXTERN_C void meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshal_pinvoke(const meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E& unmarshaled, meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshaled_pinvoke& marshaled)
{
if (unmarshaled.___vertices_0 != NULL)
{
il2cpp_array_size_t _unmarshaledvertices_Length = (unmarshaled.___vertices_0)->max_length;
marshaled.___vertices_0 = il2cpp_codegen_marshal_allocate_array<Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2>(_unmarshaledvertices_Length);
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaledvertices_Length); i++)
{
(marshaled.___vertices_0)[i] = (unmarshaled.___vertices_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
else
{
marshaled.___vertices_0 = NULL;
}
if (unmarshaled.___normals_1 != NULL)
{
il2cpp_array_size_t _unmarshalednormals_Length = (unmarshaled.___normals_1)->max_length;
marshaled.___normals_1 = il2cpp_codegen_marshal_allocate_array<Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2>(_unmarshalednormals_Length);
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshalednormals_Length); i++)
{
(marshaled.___normals_1)[i] = (unmarshaled.___normals_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
else
{
marshaled.___normals_1 = NULL;
}
if (unmarshaled.___uv_2 != NULL)
{
il2cpp_array_size_t _unmarshaleduv_Length = (unmarshaled.___uv_2)->max_length;
marshaled.___uv_2 = il2cpp_codegen_marshal_allocate_array<Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7>(_unmarshaleduv_Length);
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaleduv_Length); i++)
{
(marshaled.___uv_2)[i] = (unmarshaled.___uv_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
else
{
marshaled.___uv_2 = NULL;
}
marshaled.___triangles_3 = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I4, unmarshaled.___triangles_3);
if (unmarshaled.___faceData_4 != NULL)
{
il2cpp_array_size_t _unmarshaledfaceData_Length = (unmarshaled.___faceData_4)->max_length;
marshaled.___faceData_4 = il2cpp_codegen_marshal_allocate_array<Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2>(_unmarshaledfaceData_Length);
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaledfaceData_Length); i++)
{
(marshaled.___faceData_4)[i] = (unmarshaled.___faceData_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
else
{
marshaled.___faceData_4 = NULL;
}
marshaled.___fileName_5 = il2cpp_codegen_marshal_string(unmarshaled.___fileName_5);
}
IL2CPP_EXTERN_C void meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshal_pinvoke_back(const meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshaled_pinvoke& marshaled, meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
if (marshaled.___vertices_0 != NULL)
{
if (unmarshaled.___vertices_0 == NULL)
{
unmarshaled.___vertices_0 = reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1));
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___vertices_0), (void*)reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1)));
}
il2cpp_array_size_t _arrayLength = (unmarshaled.___vertices_0)->max_length;
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
{
(unmarshaled.___vertices_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___vertices_0)[i]);
}
}
if (marshaled.___normals_1 != NULL)
{
if (unmarshaled.___normals_1 == NULL)
{
unmarshaled.___normals_1 = reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1));
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___normals_1), (void*)reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1)));
}
il2cpp_array_size_t _arrayLength = (unmarshaled.___normals_1)->max_length;
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
{
(unmarshaled.___normals_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___normals_1)[i]);
}
}
if (marshaled.___uv_2 != NULL)
{
if (unmarshaled.___uv_2 == NULL)
{
unmarshaled.___uv_2 = reinterpret_cast<Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*>((Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)SZArrayNew(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var, 1));
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___uv_2), (void*)reinterpret_cast<Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*>((Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)SZArrayNew(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var, 1)));
}
il2cpp_array_size_t _arrayLength = (unmarshaled.___uv_2)->max_length;
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
{
(unmarshaled.___uv_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___uv_2)[i]);
}
}
unmarshaled.___triangles_3 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I4, Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, marshaled.___triangles_3);
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___triangles_3), (void*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I4, Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, marshaled.___triangles_3));
if (marshaled.___faceData_4 != NULL)
{
if (unmarshaled.___faceData_4 == NULL)
{
unmarshaled.___faceData_4 = reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1));
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___faceData_4), (void*)reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1)));
}
il2cpp_array_size_t _arrayLength = (unmarshaled.___faceData_4)->max_length;
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
{
(unmarshaled.___faceData_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___faceData_4)[i]);
}
}
unmarshaled.___fileName_5 = il2cpp_codegen_marshal_string_result(marshaled.___fileName_5);
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___fileName_5), (void*)il2cpp_codegen_marshal_string_result(marshaled.___fileName_5));
}
// Conversion method for clean up from marshalling of: Pathfinding.ObjImporter/meshStruct
IL2CPP_EXTERN_C void meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshal_pinvoke_cleanup(meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshaled_pinvoke& marshaled)
{
if (marshaled.___vertices_0 != NULL)
{
il2cpp_codegen_marshal_free(marshaled.___vertices_0);
marshaled.___vertices_0 = NULL;
}
if (marshaled.___normals_1 != NULL)
{
il2cpp_codegen_marshal_free(marshaled.___normals_1);
marshaled.___normals_1 = NULL;
}
if (marshaled.___uv_2 != NULL)
{
il2cpp_codegen_marshal_free(marshaled.___uv_2);
marshaled.___uv_2 = NULL;
}
il2cpp_codegen_com_destroy_safe_array(marshaled.___triangles_3);
marshaled.___triangles_3 = NULL;
if (marshaled.___faceData_4 != NULL)
{
il2cpp_codegen_marshal_free(marshaled.___faceData_4);
marshaled.___faceData_4 = NULL;
}
il2cpp_codegen_marshal_free(marshaled.___fileName_5);
marshaled.___fileName_5 = NULL;
}
// Conversion methods for marshalling of: Pathfinding.ObjImporter/meshStruct
IL2CPP_EXTERN_C void meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshal_com(const meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E& unmarshaled, meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshaled_com& marshaled)
{
if (unmarshaled.___vertices_0 != NULL)
{
il2cpp_array_size_t _unmarshaledvertices_Length = (unmarshaled.___vertices_0)->max_length;
marshaled.___vertices_0 = il2cpp_codegen_marshal_allocate_array<Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2>(_unmarshaledvertices_Length);
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaledvertices_Length); i++)
{
(marshaled.___vertices_0)[i] = (unmarshaled.___vertices_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
else
{
marshaled.___vertices_0 = NULL;
}
if (unmarshaled.___normals_1 != NULL)
{
il2cpp_array_size_t _unmarshalednormals_Length = (unmarshaled.___normals_1)->max_length;
marshaled.___normals_1 = il2cpp_codegen_marshal_allocate_array<Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2>(_unmarshalednormals_Length);
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshalednormals_Length); i++)
{
(marshaled.___normals_1)[i] = (unmarshaled.___normals_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
else
{
marshaled.___normals_1 = NULL;
}
if (unmarshaled.___uv_2 != NULL)
{
il2cpp_array_size_t _unmarshaleduv_Length = (unmarshaled.___uv_2)->max_length;
marshaled.___uv_2 = il2cpp_codegen_marshal_allocate_array<Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7>(_unmarshaleduv_Length);
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaleduv_Length); i++)
{
(marshaled.___uv_2)[i] = (unmarshaled.___uv_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
else
{
marshaled.___uv_2 = NULL;
}
marshaled.___triangles_3 = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I4, unmarshaled.___triangles_3);
if (unmarshaled.___faceData_4 != NULL)
{
il2cpp_array_size_t _unmarshaledfaceData_Length = (unmarshaled.___faceData_4)->max_length;
marshaled.___faceData_4 = il2cpp_codegen_marshal_allocate_array<Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2>(_unmarshaledfaceData_Length);
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaledfaceData_Length); i++)
{
(marshaled.___faceData_4)[i] = (unmarshaled.___faceData_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
else
{
marshaled.___faceData_4 = NULL;
}
marshaled.___fileName_5 = il2cpp_codegen_marshal_bstring(unmarshaled.___fileName_5);
}
IL2CPP_EXTERN_C void meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshal_com_back(const meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshaled_com& marshaled, meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
if (marshaled.___vertices_0 != NULL)
{
if (unmarshaled.___vertices_0 == NULL)
{
unmarshaled.___vertices_0 = reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1));
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___vertices_0), (void*)reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1)));
}
il2cpp_array_size_t _arrayLength = (unmarshaled.___vertices_0)->max_length;
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
{
(unmarshaled.___vertices_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___vertices_0)[i]);
}
}
if (marshaled.___normals_1 != NULL)
{
if (unmarshaled.___normals_1 == NULL)
{
unmarshaled.___normals_1 = reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1));
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___normals_1), (void*)reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1)));
}
il2cpp_array_size_t _arrayLength = (unmarshaled.___normals_1)->max_length;
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
{
(unmarshaled.___normals_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___normals_1)[i]);
}
}
if (marshaled.___uv_2 != NULL)
{
if (unmarshaled.___uv_2 == NULL)
{
unmarshaled.___uv_2 = reinterpret_cast<Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*>((Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)SZArrayNew(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var, 1));
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___uv_2), (void*)reinterpret_cast<Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*>((Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)SZArrayNew(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var, 1)));
}
il2cpp_array_size_t _arrayLength = (unmarshaled.___uv_2)->max_length;
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
{
(unmarshaled.___uv_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___uv_2)[i]);
}
}
unmarshaled.___triangles_3 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I4, Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, marshaled.___triangles_3);
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___triangles_3), (void*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I4, Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, marshaled.___triangles_3));
if (marshaled.___faceData_4 != NULL)
{
if (unmarshaled.___faceData_4 == NULL)
{
unmarshaled.___faceData_4 = reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1));
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___faceData_4), (void*)reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1)));
}
il2cpp_array_size_t _arrayLength = (unmarshaled.___faceData_4)->max_length;
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
{
(unmarshaled.___faceData_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___faceData_4)[i]);
}
}
unmarshaled.___fileName_5 = il2cpp_codegen_marshal_bstring_result(marshaled.___fileName_5);
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___fileName_5), (void*)il2cpp_codegen_marshal_bstring_result(marshaled.___fileName_5));
}
// Conversion method for clean up from marshalling of: Pathfinding.ObjImporter/meshStruct
IL2CPP_EXTERN_C void meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshal_com_cleanup(meshStruct_tE6CD30FFA82484A7D654131DFB149A5D4FC0BA3E_marshaled_com& marshaled)
{
if (marshaled.___vertices_0 != NULL)
{
il2cpp_codegen_marshal_free(marshaled.___vertices_0);
marshaled.___vertices_0 = NULL;
}
if (marshaled.___normals_1 != NULL)
{
il2cpp_codegen_marshal_free(marshaled.___normals_1);
marshaled.___normals_1 = NULL;
}
if (marshaled.___uv_2 != NULL)
{
il2cpp_codegen_marshal_free(marshaled.___uv_2);
marshaled.___uv_2 = NULL;
}
il2cpp_codegen_com_destroy_safe_array(marshaled.___triangles_3);
marshaled.___triangles_3 = NULL;
if (marshaled.___faceData_4 != NULL)
{
il2cpp_codegen_marshal_free(marshaled.___faceData_4);
marshaled.___faceData_4 = NULL;
}
il2cpp_codegen_marshal_free_bstring(marshaled.___fileName_5);
marshaled.___fileName_5 = NULL;
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.PointKDTree::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree__ctor_mFDFB5BA8F2868A626EEF26355564F36B9B7B8F61 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1__ctor_mB4CB1C12C21380C071C854B61038D8168C594071_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Node_t43228590B77931D856C0EB4966838C08B95E580C V_0;
memset((&V_0), 0, sizeof(V_0));
{
// Node[] tree = new Node[16];
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_0 = (NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253*)(NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253*)SZArrayNew(NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->___tree_2 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___tree_2), (void*)L_0);
// readonly List<GraphNode> largeList = new List<GraphNode>();
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_1 = (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*)il2cpp_codegen_object_new(List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_il2cpp_TypeInfo_var);
NullCheck(L_1);
List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7(L_1, List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7_RuntimeMethod_var);
__this->___largeList_4 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___largeList_4), (void*)L_1);
// readonly Stack<GraphNode[]> arrayCache = new Stack<GraphNode[]>();
Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* L_2 = (Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73*)il2cpp_codegen_object_new(Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73_il2cpp_TypeInfo_var);
NullCheck(L_2);
Stack_1__ctor_mB4CB1C12C21380C071C854B61038D8168C594071(L_2, Stack_1__ctor_mB4CB1C12C21380C071C854B61038D8168C594071_RuntimeMethod_var);
__this->___arrayCache_5 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&__this->___arrayCache_5), (void*)L_2);
// public PointKDTree() {
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
// tree[1] = new Node { data = GetOrCreateList() };
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_3 = __this->___tree_2;
il2cpp_codegen_initobj((&V_0), sizeof(Node_t43228590B77931D856C0EB4966838C08B95E580C));
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_4;
L_4 = PointKDTree_GetOrCreateList_m79BACB74AFD83F6E6D25EA244C62F965BAB412BE(__this, NULL);
(&V_0)->___data_0 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___data_0), (void*)L_4);
Node_t43228590B77931D856C0EB4966838C08B95E580C L_5 = V_0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (Node_t43228590B77931D856C0EB4966838C08B95E580C)L_5);
// }
return;
}
}
// System.Void Pathfinding.PointKDTree::Add(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_Add_m8F233F79492D1FF828F6BB91F89BC18D1A4FFB4C (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
{
{
// numNodes++;
int32_t L_0 = __this->___numNodes_3;
__this->___numNodes_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
// Add(node, 1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_node;
PointKDTree_Add_m87C4515FE30E0C7CF8B7149DB9CE4B8BD2D9A20E(__this, L_1, 1, 0, NULL);
// }
return;
}
}
// System.Void Pathfinding.PointKDTree::Rebuild(Pathfinding.GraphNode[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_Rebuild_mB0BC3FAD6E992D25302C5F3206B1DF9C217B0441 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___0_nodes, int32_t ___1_start, int32_t ___2_end, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m428B7CEE69C31C0EA0EDA9677F955093673BEB50_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_Push_mB444F0EB42BA5EFBF28B234CCA60ED28D18FC680_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* V_1 = NULL;
int32_t V_2 = 0;
{
// if (start < 0 || end < start || end > nodes.Length)
int32_t L_0 = ___1_start;
if ((((int32_t)L_0) < ((int32_t)0)))
{
goto IL_000e;
}
}
{
int32_t L_1 = ___2_end;
int32_t L_2 = ___1_start;
if ((((int32_t)L_1) < ((int32_t)L_2)))
{
goto IL_000e;
}
}
{
int32_t L_3 = ___2_end;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_4 = ___0_nodes;
NullCheck(L_4);
if ((((int32_t)L_3) <= ((int32_t)((int32_t)(((RuntimeArray*)L_4)->max_length)))))
{
goto IL_0014;
}
}
IL_000e:
{
// throw new System.ArgumentException();
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_5 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
NullCheck(L_5);
ArgumentException__ctor_m34A925BA55EC4CE4253404E363B5F6A53EB51CA3(L_5, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PointKDTree_Rebuild_mB0BC3FAD6E992D25302C5F3206B1DF9C217B0441_RuntimeMethod_var)));
}
IL_0014:
{
// for (int i = 0; i < tree.Length; i++) {
V_0 = 0;
goto IL_0060;
}
IL_0018:
{
// var data = tree[i].data;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_6 = __this->___tree_2;
int32_t L_7 = V_0;
NullCheck(L_6);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_8 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))->___data_0;
V_1 = L_8;
// if (data != null) {
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_9 = V_1;
if (!L_9)
{
goto IL_005c;
}
}
{
// for (int j = 0; j < LeafArraySize; j++) data[j] = null;
V_2 = 0;
goto IL_0039;
}
IL_0031:
{
// for (int j = 0; j < LeafArraySize; j++) data[j] = null;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_10 = V_1;
int32_t L_11 = V_2;
NullCheck(L_10);
ArrayElementTypeCheck (L_10, NULL);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(L_11), (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL);
// for (int j = 0; j < LeafArraySize; j++) data[j] = null;
int32_t L_12 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_12, 1));
}
IL_0039:
{
// for (int j = 0; j < LeafArraySize; j++) data[j] = null;
int32_t L_13 = V_2;
if ((((int32_t)L_13) < ((int32_t)((int32_t)21))))
{
goto IL_0031;
}
}
{
// arrayCache.Push(data);
Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* L_14 = __this->___arrayCache_5;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_15 = V_1;
NullCheck(L_14);
Stack_1_Push_mB444F0EB42BA5EFBF28B234CCA60ED28D18FC680(L_14, L_15, Stack_1_Push_mB444F0EB42BA5EFBF28B234CCA60ED28D18FC680_RuntimeMethod_var);
// tree[i].data = null;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_16 = __this->___tree_2;
int32_t L_17 = V_0;
NullCheck(L_16);
((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_17)))->___data_0 = (GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_17)))->___data_0), (void*)(GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557*)NULL);
}
IL_005c:
{
// for (int i = 0; i < tree.Length; i++) {
int32_t L_18 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_18, 1));
}
IL_0060:
{
// for (int i = 0; i < tree.Length; i++) {
int32_t L_19 = V_0;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_20 = __this->___tree_2;
NullCheck(L_20);
if ((((int32_t)L_19) < ((int32_t)((int32_t)(((RuntimeArray*)L_20)->max_length)))))
{
goto IL_0018;
}
}
{
// numNodes = end - start;
int32_t L_21 = ___2_end;
int32_t L_22 = ___1_start;
__this->___numNodes_3 = ((int32_t)il2cpp_codegen_subtract(L_21, L_22));
// Build(1, new List<GraphNode>(nodes), start, end);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_23 = ___0_nodes;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_24 = (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*)il2cpp_codegen_object_new(List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_il2cpp_TypeInfo_var);
NullCheck(L_24);
List_1__ctor_m428B7CEE69C31C0EA0EDA9677F955093673BEB50(L_24, (RuntimeObject*)L_23, List_1__ctor_m428B7CEE69C31C0EA0EDA9677F955093673BEB50_RuntimeMethod_var);
int32_t L_25 = ___1_start;
int32_t L_26 = ___2_end;
PointKDTree_Build_m53A106F5AD6C82BFC2DF4B9596036E3D7A8FFA6F(__this, 1, L_24, L_25, L_26, NULL);
// }
return;
}
}
// Pathfinding.GraphNode[] Pathfinding.PointKDTree::GetOrCreateList()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* PointKDTree_GetOrCreateList_m79BACB74AFD83F6E6D25EA244C62F965BAB412BE (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_Pop_m5C7DA07E1026CCC9124C4D65FF17E3374517AB36_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_get_Count_m50B0D72C3B2B5493EBA5EF19E484CD2FD5A6109C_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// return arrayCache.Count > 0 ? arrayCache.Pop() : new GraphNode[LeafArraySize];
Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* L_0 = __this->___arrayCache_5;
NullCheck(L_0);
int32_t L_1;
L_1 = Stack_1_get_Count_m50B0D72C3B2B5493EBA5EF19E484CD2FD5A6109C_inline(L_0, Stack_1_get_Count_m50B0D72C3B2B5493EBA5EF19E484CD2FD5A6109C_RuntimeMethod_var);
if ((((int32_t)L_1) > ((int32_t)0)))
{
goto IL_0016;
}
}
{
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_2 = (GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557*)(GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557*)SZArrayNew(GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557_il2cpp_TypeInfo_var, (uint32_t)((int32_t)21));
return L_2;
}
IL_0016:
{
Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* L_3 = __this->___arrayCache_5;
NullCheck(L_3);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_4;
L_4 = Stack_1_Pop_m5C7DA07E1026CCC9124C4D65FF17E3374517AB36(L_3, Stack_1_Pop_m5C7DA07E1026CCC9124C4D65FF17E3374517AB36_RuntimeMethod_var);
return L_4;
}
}
// System.Int32 Pathfinding.PointKDTree::Size(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PointKDTree_Size_mFD7FD65FC46EA065B4035DF9076B83219B61EF49 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, const RuntimeMethod* method)
{
{
// return tree[index].data != null ? tree[index].count : Size(2 * index) + Size(2 * index + 1);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_0 = __this->___tree_2;
int32_t L_1 = ___0_index;
NullCheck(L_0);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_2 = ((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1)))->___data_0;
if (L_2)
{
goto IL_0029;
}
}
{
int32_t L_3 = ___0_index;
int32_t L_4;
L_4 = PointKDTree_Size_mFD7FD65FC46EA065B4035DF9076B83219B61EF49(__this, ((int32_t)il2cpp_codegen_multiply(2, L_3)), NULL);
int32_t L_5 = ___0_index;
int32_t L_6;
L_6 = PointKDTree_Size_mFD7FD65FC46EA065B4035DF9076B83219B61EF49(__this, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(2, L_5)), 1)), NULL);
return ((int32_t)il2cpp_codegen_add(L_4, L_6));
}
IL_0029:
{
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_7 = __this->___tree_2;
int32_t L_8 = ___0_index;
NullCheck(L_7);
uint16_t L_9 = ((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->___count_2;
return L_9;
}
}
// System.Void Pathfinding.PointKDTree::CollectAndClear(System.Int32,System.Collections.Generic.List`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_CollectAndClear_m744014BEA2A76C74591BEE4A94A49873132DFE3F (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___1_buffer, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_Push_mB444F0EB42BA5EFBF28B234CCA60ED28D18FC680_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* V_0 = NULL;
uint16_t V_1 = 0;
int32_t V_2 = 0;
{
// var nodes = tree[index].data;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_0 = __this->___tree_2;
int32_t L_1 = ___0_index;
NullCheck(L_0);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_2 = ((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1)))->___data_0;
V_0 = L_2;
// var count = tree[index].count;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_3 = __this->___tree_2;
int32_t L_4 = ___0_index;
NullCheck(L_3);
uint16_t L_5 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___count_2;
V_1 = L_5;
// if (nodes != null) {
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_6 = V_0;
if (!L_6)
{
goto IL_005f;
}
}
{
// tree[index] = new Node();
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_7 = __this->___tree_2;
int32_t L_8 = ___0_index;
NullCheck(L_7);
il2cpp_codegen_initobj(((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8))), sizeof(Node_t43228590B77931D856C0EB4966838C08B95E580C));
// for (int i = 0; i < count; i++) {
V_2 = 0;
goto IL_004e;
}
IL_003d:
{
// buffer.Add(nodes[i]);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_9 = ___1_buffer;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_10 = V_0;
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
NullCheck(L_9);
List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_inline(L_9, L_13, List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
// nodes[i] = null;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_14 = V_0;
int32_t L_15 = V_2;
NullCheck(L_14);
ArrayElementTypeCheck (L_14, NULL);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(L_15), (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL);
// for (int i = 0; i < count; i++) {
int32_t L_16 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_16, 1));
}
IL_004e:
{
// for (int i = 0; i < count; i++) {
int32_t L_17 = V_2;
uint16_t L_18 = V_1;
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003d;
}
}
{
// arrayCache.Push(nodes);
Stack_1_tF659C5268770A850BE785B6DF1B467262C805B73* L_19 = __this->___arrayCache_5;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_20 = V_0;
NullCheck(L_19);
Stack_1_Push_mB444F0EB42BA5EFBF28B234CCA60ED28D18FC680(L_19, L_20, Stack_1_Push_mB444F0EB42BA5EFBF28B234CCA60ED28D18FC680_RuntimeMethod_var);
return;
}
IL_005f:
{
// CollectAndClear(index*2, buffer);
int32_t L_21 = ___0_index;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_22 = ___1_buffer;
PointKDTree_CollectAndClear_m744014BEA2A76C74591BEE4A94A49873132DFE3F(__this, ((int32_t)il2cpp_codegen_multiply(L_21, 2)), L_22, NULL);
// CollectAndClear(index*2 + 1, buffer);
int32_t L_23 = ___0_index;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_24 = ___1_buffer;
PointKDTree_CollectAndClear_m744014BEA2A76C74591BEE4A94A49873132DFE3F(__this, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_23, 2)), 1)), L_24, NULL);
// }
return;
}
}
// System.Int32 Pathfinding.PointKDTree::MaxAllowedSize(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PointKDTree_MaxAllowedSize_mC32E97F17CC4EE39DC97F58C671A52C233EEBC61 (int32_t ___0_numNodes, int32_t ___1_depth, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// return System.Math.Min(((5 * numNodes) / 2) >> depth, (3 * numNodes) / 4);
int32_t L_0 = ___0_numNodes;
int32_t L_1 = ___1_depth;
int32_t L_2 = ___0_numNodes;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
int32_t L_3;
L_3 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(((int32_t)(((int32_t)(((int32_t)il2cpp_codegen_multiply(5, L_0))/2))>>((int32_t)(L_1&((int32_t)31))))), ((int32_t)(((int32_t)il2cpp_codegen_multiply(3, L_2))/4)), NULL);
return L_3;
}
}
// System.Void Pathfinding.PointKDTree::Rebalance(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_Rebalance_m16269CAEFEE67F5A229A5DA4BE79D142467E5036 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListExtensions_ClearFast_TisGraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A_m69A7B138C812E7BBD6740774B97D17BD3B5E8C2C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// CollectAndClear(index, largeList);
int32_t L_0 = ___0_index;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_1 = __this->___largeList_4;
PointKDTree_CollectAndClear_m744014BEA2A76C74591BEE4A94A49873132DFE3F(__this, L_0, L_1, NULL);
// Build(index, largeList, 0, largeList.Count);
int32_t L_2 = ___0_index;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_3 = __this->___largeList_4;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_4 = __this->___largeList_4;
NullCheck(L_4);
int32_t L_5;
L_5 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_4, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
PointKDTree_Build_m53A106F5AD6C82BFC2DF4B9596036E3D7A8FFA6F(__this, L_2, L_3, 0, L_5, NULL);
// largeList.ClearFast();
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_6 = __this->___largeList_4;
ListExtensions_ClearFast_TisGraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A_m69A7B138C812E7BBD6740774B97D17BD3B5E8C2C(L_6, ListExtensions_ClearFast_TisGraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A_m69A7B138C812E7BBD6740774B97D17BD3B5E8C2C_RuntimeMethod_var);
// }
return;
}
}
// System.Void Pathfinding.PointKDTree::EnsureSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_EnsureSize_m6446054F76522969F217B78CCF2CD433106D4EFF (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* V_0 = NULL;
{
// if (index >= tree.Length) {
int32_t L_0 = ___0_index;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_1 = __this->___tree_2;
NullCheck(L_1);
if ((((int32_t)L_0) < ((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))))
{
goto IL_0037;
}
}
{
// var newLeaves = new Node[System.Math.Max(index + 1, tree.Length*2)];
int32_t L_2 = ___0_index;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_3 = __this->___tree_2;
NullCheck(L_3);
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
int32_t L_4;
L_4 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(((int32_t)il2cpp_codegen_add(L_2, 1)), ((int32_t)il2cpp_codegen_multiply(((int32_t)(((RuntimeArray*)L_3)->max_length)), 2)), NULL);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_5 = (NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253*)(NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253*)SZArrayNew(NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253_il2cpp_TypeInfo_var, (uint32_t)L_4);
V_0 = L_5;
// tree.CopyTo(newLeaves, 0);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_6 = __this->___tree_2;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_7 = V_0;
NullCheck((RuntimeArray*)L_6);
Array_CopyTo_mFD42E3443AB3B850ED6F19359698E242A08E1BAB((RuntimeArray*)L_6, (RuntimeArray*)L_7, 0, NULL);
// tree = newLeaves;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_8 = V_0;
__this->___tree_2 = L_8;
Il2CppCodeGenWriteBarrier((void**)(&__this->___tree_2), (void*)L_8);
}
IL_0037:
{
// }
return;
}
}
// System.Void Pathfinding.PointKDTree::Build(System.Int32,System.Collections.Generic.List`1<Pathfinding.GraphNode>,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_Build_m53A106F5AD6C82BFC2DF4B9596036E3D7A8FFA6F (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___1_nodes, int32_t ___2_start, int32_t ___3_end, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Sort_m2B87243B34780D3C92855FF64BC22237A14848A2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* V_0 = NULL;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* V_1 = NULL;
int32_t V_2 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_3;
memset((&V_3), 0, sizeof(V_3));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_4;
memset((&V_4), 0, sizeof(V_4));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_5;
memset((&V_5), 0, sizeof(V_5));
int32_t V_6 = 0;
int32_t V_7 = 0;
int32_t V_8 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_9;
memset((&V_9), 0, sizeof(V_9));
int32_t G_B15_0 = 0;
{
// EnsureSize(index);
int32_t L_0 = ___0_index;
PointKDTree_EnsureSize_m6446054F76522969F217B78CCF2CD433106D4EFF(__this, L_0, NULL);
// if (end - start <= LeafSize) {
int32_t L_1 = ___3_end;
int32_t L_2 = ___2_start;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_1, L_2))) > ((int32_t)((int32_t)10))))
{
goto IL_005a;
}
}
{
// var leafData = tree[index].data = GetOrCreateList();
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_3 = __this->___tree_2;
int32_t L_4 = ___0_index;
NullCheck(L_3);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_5;
L_5 = PointKDTree_GetOrCreateList_m79BACB74AFD83F6E6D25EA244C62F965BAB412BE(__this, NULL);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_6 = L_5;
V_1 = L_6;
((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___data_0 = L_6;
Il2CppCodeGenWriteBarrier((void**)(&((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___data_0), (void*)L_6);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_7 = V_1;
V_0 = L_7;
// tree[index].count = (ushort)(end - start);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_8 = __this->___tree_2;
int32_t L_9 = ___0_index;
NullCheck(L_8);
int32_t L_10 = ___3_end;
int32_t L_11 = ___2_start;
((L_8)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_9)))->___count_2 = (uint16_t)((int32_t)(uint16_t)((int32_t)il2cpp_codegen_subtract(L_10, L_11)));
// for (int i = start; i < end; i++)
int32_t L_12 = ___2_start;
V_2 = L_12;
goto IL_0054;
}
IL_0044:
{
// leafData[i - start] = nodes[i];
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_13 = V_0;
int32_t L_14 = V_2;
int32_t L_15 = ___2_start;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_16 = ___1_nodes;
int32_t L_17 = V_2;
NullCheck(L_16);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_18;
L_18 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_16, L_17, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_13);
ArrayElementTypeCheck (L_13, L_18);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_14, L_15))), (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_18);
// for (int i = start; i < end; i++)
int32_t L_19 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_19, 1));
}
IL_0054:
{
// for (int i = start; i < end; i++)
int32_t L_20 = V_2;
int32_t L_21 = ___3_end;
if ((((int32_t)L_20) < ((int32_t)L_21)))
{
goto IL_0044;
}
}
{
return;
}
IL_005a:
{
// mn = mx = nodes[start].position;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_22 = ___1_nodes;
int32_t L_23 = ___2_start;
NullCheck(L_22);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_24;
L_24 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_22, L_23, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_24);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_25 = L_24->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_26 = L_25;
V_4 = L_26;
V_3 = L_26;
// for (int i = start; i < end; i++) {
int32_t L_27 = ___2_start;
V_8 = L_27;
goto IL_0104;
}
IL_0072:
{
// var p = nodes[i].position;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_28 = ___1_nodes;
int32_t L_29 = V_8;
NullCheck(L_28);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_30;
L_30 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_28, L_29, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_30);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_31 = L_30->___position_7;
V_9 = L_31;
// mn = new Int3(System.Math.Min(mn.x, p.x), System.Math.Min(mn.y, p.y), System.Math.Min(mn.z, p.z));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_32 = V_3;
int32_t L_33 = L_32.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_34 = V_9;
int32_t L_35 = L_34.___x_0;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
int32_t L_36;
L_36 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_33, L_35, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_37 = V_3;
int32_t L_38 = L_37.___y_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_39 = V_9;
int32_t L_40 = L_39.___y_1;
int32_t L_41;
L_41 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_38, L_40, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_42 = V_3;
int32_t L_43 = L_42.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_44 = V_9;
int32_t L_45 = L_44.___z_2;
int32_t L_46;
L_46 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_43, L_45, NULL);
Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F((&V_3), L_36, L_41, L_46, NULL);
// mx = new Int3(System.Math.Max(mx.x, p.x), System.Math.Max(mx.y, p.y), System.Math.Max(mx.z, p.z));
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_47 = V_4;
int32_t L_48 = L_47.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_49 = V_9;
int32_t L_50 = L_49.___x_0;
int32_t L_51;
L_51 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_48, L_50, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_52 = V_4;
int32_t L_53 = L_52.___y_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_54 = V_9;
int32_t L_55 = L_54.___y_1;
int32_t L_56;
L_56 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_53, L_55, NULL);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_57 = V_4;
int32_t L_58 = L_57.___z_2;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_59 = V_9;
int32_t L_60 = L_59.___z_2;
int32_t L_61;
L_61 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_58, L_60, NULL);
Int3__ctor_mBEC112E5D6994865BD0D7EA889D8D2A9647DF16F((&V_4), L_51, L_56, L_61, NULL);
// for (int i = start; i < end; i++) {
int32_t L_62 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add(L_62, 1));
}
IL_0104:
{
// for (int i = start; i < end; i++) {
int32_t L_63 = V_8;
int32_t L_64 = ___3_end;
if ((((int32_t)L_63) < ((int32_t)L_64)))
{
goto IL_0072;
}
}
{
// Int3 diff = mx - mn;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_65 = V_4;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_66 = V_3;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_67;
L_67 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_65, L_66, NULL);
V_5 = L_67;
// var axis = diff.x > diff.y ? (diff.x > diff.z ? 0 : 2) : (diff.y > diff.z ? 1 : 2);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_68 = V_5;
int32_t L_69 = L_68.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_70 = V_5;
int32_t L_71 = L_70.___y_1;
if ((((int32_t)L_69) > ((int32_t)L_71)))
{
goto IL_013d;
}
}
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_72 = V_5;
int32_t L_73 = L_72.___y_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_74 = V_5;
int32_t L_75 = L_74.___z_2;
if ((((int32_t)L_73) > ((int32_t)L_75)))
{
goto IL_013a;
}
}
{
G_B15_0 = 2;
goto IL_0151;
}
IL_013a:
{
G_B15_0 = 1;
goto IL_0151;
}
IL_013d:
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_76 = V_5;
int32_t L_77 = L_76.___x_0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_78 = V_5;
int32_t L_79 = L_78.___z_2;
if ((((int32_t)L_77) > ((int32_t)L_79)))
{
goto IL_0150;
}
}
{
G_B15_0 = 2;
goto IL_0151;
}
IL_0150:
{
G_B15_0 = 0;
}
IL_0151:
{
V_6 = G_B15_0;
// nodes.Sort(start, end - start, comparers[axis]);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_80 = ___1_nodes;
int32_t L_81 = ___2_start;
int32_t L_82 = ___3_end;
int32_t L_83 = ___2_start;
il2cpp_codegen_runtime_class_init_inline(PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_il2cpp_TypeInfo_var);
IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2* L_84 = ((PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_StaticFields*)il2cpp_codegen_static_fields_for(PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_il2cpp_TypeInfo_var))->___comparers_6;
int32_t L_85 = V_6;
NullCheck(L_84);
int32_t L_86 = L_85;
RuntimeObject* L_87 = (L_84)->GetAt(static_cast<il2cpp_array_size_t>(L_86));
NullCheck(L_80);
List_1_Sort_m2B87243B34780D3C92855FF64BC22237A14848A2(L_80, L_81, ((int32_t)il2cpp_codegen_subtract(L_82, L_83)), L_87, List_1_Sort_m2B87243B34780D3C92855FF64BC22237A14848A2_RuntimeMethod_var);
// int mid = (start+end)/2;
int32_t L_88 = ___2_start;
int32_t L_89 = ___3_end;
V_7 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_88, L_89))/2));
// tree[index].split = (nodes[mid-1].position[axis] + nodes[mid].position[axis] + 1)/2;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_90 = __this->___tree_2;
int32_t L_91 = ___0_index;
NullCheck(L_90);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_92 = ___1_nodes;
int32_t L_93 = V_7;
NullCheck(L_92);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_94;
L_94 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_92, ((int32_t)il2cpp_codegen_subtract(L_93, 1)), List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_94);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_95 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&L_94->___position_7);
int32_t L_96 = V_6;
int32_t L_97;
L_97 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F(L_95, L_96, NULL);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_98 = ___1_nodes;
int32_t L_99 = V_7;
NullCheck(L_98);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_100;
L_100 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_98, L_99, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_100);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_101 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&L_100->___position_7);
int32_t L_102 = V_6;
int32_t L_103;
L_103 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F(L_101, L_102, NULL);
((L_90)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_91)))->___split_1 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_97, L_103)), 1))/2));
// tree[index].splitAxis = (byte)axis;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_104 = __this->___tree_2;
int32_t L_105 = ___0_index;
NullCheck(L_104);
int32_t L_106 = V_6;
((L_104)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_105)))->___splitAxis_3 = (uint8_t)((int32_t)(uint8_t)L_106);
// Build(index*2 + 0, nodes, start, mid);
int32_t L_107 = ___0_index;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_108 = ___1_nodes;
int32_t L_109 = ___2_start;
int32_t L_110 = V_7;
PointKDTree_Build_m53A106F5AD6C82BFC2DF4B9596036E3D7A8FFA6F(__this, ((int32_t)il2cpp_codegen_multiply(L_107, 2)), L_108, L_109, L_110, NULL);
// Build(index*2 + 1, nodes, mid, end);
int32_t L_111 = ___0_index;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_112 = ___1_nodes;
int32_t L_113 = V_7;
int32_t L_114 = ___3_end;
PointKDTree_Build_m53A106F5AD6C82BFC2DF4B9596036E3D7A8FFA6F(__this, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_111, 2)), 1)), L_112, L_113, L_114, NULL);
// }
return;
}
}
// System.Void Pathfinding.PointKDTree::Add(Pathfinding.GraphNode,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_Add_m87C4515FE30E0C7CF8B7149DB9CE4B8BD2D9A20E (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_point, int32_t ___1_index, int32_t ___2_depth, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
uint16_t V_0 = 0;
int32_t V_1 = 0;
int32_t G_B3_0 = 0;
int32_t G_B2_0 = 0;
int32_t G_B4_0 = 0;
int32_t G_B4_1 = 0;
{
goto IL_0040;
}
IL_0002:
{
// index = 2 * index + (point.position[tree[index].splitAxis] < tree[index].split ? 0 : 1);
int32_t L_0 = ___1_index;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_point;
NullCheck(L_1);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_2 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&L_1->___position_7);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_3 = __this->___tree_2;
int32_t L_4 = ___1_index;
NullCheck(L_3);
uint8_t L_5 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___splitAxis_3;
int32_t L_6;
L_6 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F(L_2, L_5, NULL);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_7 = __this->___tree_2;
int32_t L_8 = ___1_index;
NullCheck(L_7);
int32_t L_9 = ((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->___split_1;
G_B2_0 = ((int32_t)il2cpp_codegen_multiply(2, L_0));
if ((((int32_t)L_6) < ((int32_t)L_9)))
{
G_B3_0 = ((int32_t)il2cpp_codegen_multiply(2, L_0));
goto IL_0037;
}
}
{
G_B4_0 = 1;
G_B4_1 = G_B2_0;
goto IL_0038;
}
IL_0037:
{
G_B4_0 = 0;
G_B4_1 = G_B3_0;
}
IL_0038:
{
___1_index = ((int32_t)il2cpp_codegen_add(G_B4_1, G_B4_0));
// depth++;
int32_t L_10 = ___2_depth;
___2_depth = ((int32_t)il2cpp_codegen_add(L_10, 1));
}
IL_0040:
{
// while (tree[index].data == null) {
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_11 = __this->___tree_2;
int32_t L_12 = ___1_index;
NullCheck(L_11);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_13 = ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12)))->___data_0;
if (!L_13)
{
goto IL_0002;
}
}
{
// tree[index].data[tree[index].count++] = point;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_14 = __this->___tree_2;
int32_t L_15 = ___1_index;
NullCheck(L_14);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_16 = ((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_15)))->___data_0;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_17 = __this->___tree_2;
int32_t L_18 = ___1_index;
NullCheck(L_17);
uint16_t* L_19 = (uint16_t*)(&((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_18)))->___count_2);
uint16_t* L_20 = L_19;
int32_t L_21 = *((uint16_t*)L_20);
V_0 = (uint16_t)L_21;
uint16_t L_22 = V_0;
*((int16_t*)L_20) = (int16_t)((int32_t)(uint16_t)((int32_t)il2cpp_codegen_add((int32_t)L_22, 1)));
uint16_t L_23 = V_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_24 = ___0_point;
NullCheck(L_16);
ArrayElementTypeCheck (L_16, L_24);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(L_23), (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_24);
// if (tree[index].count >= LeafArraySize) {
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_25 = __this->___tree_2;
int32_t L_26 = ___1_index;
NullCheck(L_25);
uint16_t L_27 = ((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_26)))->___count_2;
if ((((int32_t)L_27) < ((int32_t)((int32_t)21))))
{
goto IL_00cb;
}
}
{
// int levelsUp = 0;
V_1 = 0;
goto IL_009d;
}
IL_0099:
{
// levelsUp++;
int32_t L_28 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_28, 1));
}
IL_009d:
{
// while (depth - levelsUp > 0 && Size(index >> levelsUp) > MaxAllowedSize(numNodes, depth-levelsUp)) {
int32_t L_29 = ___2_depth;
int32_t L_30 = V_1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_29, L_30))) <= ((int32_t)0)))
{
goto IL_00bf;
}
}
{
int32_t L_31 = ___1_index;
int32_t L_32 = V_1;
int32_t L_33;
L_33 = PointKDTree_Size_mFD7FD65FC46EA065B4035DF9076B83219B61EF49(__this, ((int32_t)(L_31>>((int32_t)(L_32&((int32_t)31))))), NULL);
int32_t L_34 = __this->___numNodes_3;
int32_t L_35 = ___2_depth;
int32_t L_36 = V_1;
il2cpp_codegen_runtime_class_init_inline(PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_il2cpp_TypeInfo_var);
int32_t L_37;
L_37 = PointKDTree_MaxAllowedSize_mC32E97F17CC4EE39DC97F58C671A52C233EEBC61(L_34, ((int32_t)il2cpp_codegen_subtract(L_35, L_36)), NULL);
if ((((int32_t)L_33) > ((int32_t)L_37)))
{
goto IL_0099;
}
}
IL_00bf:
{
// Rebalance(index >> levelsUp);
int32_t L_38 = ___1_index;
int32_t L_39 = V_1;
PointKDTree_Rebalance_m16269CAEFEE67F5A229A5DA4BE79D142467E5036(__this, ((int32_t)(L_38>>((int32_t)(L_39&((int32_t)31))))), NULL);
}
IL_00cb:
{
// }
return;
}
}
// Pathfinding.GraphNode Pathfinding.PointKDTree::GetNearest(Pathfinding.Int3,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* PointKDTree_GetNearest_m2A1DE2E8E4553958EECDE8C292571984E0E195A1 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_point, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method)
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_0 = NULL;
int64_t V_1 = 0;
{
// GraphNode best = null;
V_0 = (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
// long bestSqrDist = long.MaxValue;
V_1 = ((int64_t)(std::numeric_limits<int64_t>::max)());
// GetNearestInternal(1, point, constraint, ref best, ref bestSqrDist);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = ___0_point;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_1 = ___1_constraint;
PointKDTree_GetNearestInternal_m0AB49B5921FB3D9CC5A528A27D34648EA4FFE4F0(__this, 1, L_0, L_1, (&V_0), (&V_1), NULL);
// return best;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = V_0;
return L_2;
}
}
// System.Void Pathfinding.PointKDTree::GetNearestInternal(System.Int32,Pathfinding.Int3,Pathfinding.NNConstraint,Pathfinding.GraphNode&,System.Int64&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_GetNearestInternal_m0AB49B5921FB3D9CC5A528A27D34648EA4FFE4F0 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_point, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___2_constraint, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** ___3_best, int64_t* ___4_bestSqrDist, const RuntimeMethod* method)
{
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* V_0 = NULL;
int32_t V_1 = 0;
int64_t V_2 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_3;
memset((&V_3), 0, sizeof(V_3));
int64_t V_4 = 0;
int32_t V_5 = 0;
int32_t G_B11_0 = 0;
int32_t G_B10_0 = 0;
int32_t G_B12_0 = 0;
int32_t G_B12_1 = 0;
{
// var data = tree[index].data;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_0 = __this->___tree_2;
int32_t L_1 = ___0_index;
NullCheck(L_0);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_2 = ((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1)))->___data_0;
V_0 = L_2;
// if (data != null) {
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_3 = V_0;
if (!L_3)
{
goto IL_0069;
}
}
{
// for (int i = tree[index].count - 1; i >= 0; i--) {
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_4 = __this->___tree_2;
int32_t L_5 = ___0_index;
NullCheck(L_4);
uint16_t L_6 = ((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5)))->___count_2;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_6, 1));
goto IL_0064;
}
IL_002b:
{
// var dist = (data[i].position - point).sqrMagnitudeLong;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_7 = V_0;
int32_t L_8 = V_1;
NullCheck(L_7);
int32_t L_9 = L_8;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
NullCheck(L_10);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_11 = L_10->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_12 = ___1_point;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_13;
L_13 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_11, L_12, NULL);
V_3 = L_13;
int64_t L_14;
L_14 = Int3_get_sqrMagnitudeLong_m8319324D5E2D6785E1C26B09E64E669D8C563482((&V_3), NULL);
V_2 = L_14;
// if (dist < bestSqrDist && (constraint == null || constraint.Suitable(data[i]))) {
int64_t L_15 = V_2;
int64_t* L_16 = ___4_bestSqrDist;
int64_t L_17 = *((int64_t*)L_16);
if ((((int64_t)L_15) >= ((int64_t)L_17)))
{
goto IL_0060;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_18 = ___2_constraint;
if (!L_18)
{
goto IL_0056;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_19 = ___2_constraint;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_20 = V_0;
int32_t L_21 = V_1;
NullCheck(L_20);
int32_t L_22 = L_21;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
NullCheck(L_19);
bool L_24;
L_24 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_19, L_23);
if (!L_24)
{
goto IL_0060;
}
}
IL_0056:
{
// bestSqrDist = dist;
int64_t* L_25 = ___4_bestSqrDist;
int64_t L_26 = V_2;
*((int64_t*)L_25) = (int64_t)L_26;
// best = data[i];
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** L_27 = ___3_best;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_28 = V_0;
int32_t L_29 = V_1;
NullCheck(L_28);
int32_t L_30 = L_29;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
*((RuntimeObject**)L_27) = (RuntimeObject*)L_31;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_27, (void*)(RuntimeObject*)L_31);
}
IL_0060:
{
// for (int i = tree[index].count - 1; i >= 0; i--) {
int32_t L_32 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract(L_32, 1));
}
IL_0064:
{
// for (int i = tree[index].count - 1; i >= 0; i--) {
int32_t L_33 = V_1;
if ((((int32_t)L_33) >= ((int32_t)0)))
{
goto IL_002b;
}
}
{
return;
}
IL_0069:
{
// var dist = (long)(point[tree[index].splitAxis] - tree[index].split);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_34 = __this->___tree_2;
int32_t L_35 = ___0_index;
NullCheck(L_34);
uint8_t L_36 = ((L_34)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_35)))->___splitAxis_3;
int32_t L_37;
L_37 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&___1_point), L_36, NULL);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_38 = __this->___tree_2;
int32_t L_39 = ___0_index;
NullCheck(L_38);
int32_t L_40 = ((L_38)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_39)))->___split_1;
V_4 = ((int64_t)((int32_t)il2cpp_codegen_subtract(L_37, L_40)));
// var childIndex = 2 * index + (dist < 0 ? 0 : 1);
int32_t L_41 = ___0_index;
int64_t L_42 = V_4;
G_B10_0 = ((int32_t)il2cpp_codegen_multiply(2, L_41));
if ((((int64_t)L_42) < ((int64_t)((int64_t)0))))
{
G_B11_0 = ((int32_t)il2cpp_codegen_multiply(2, L_41));
goto IL_00a2;
}
}
{
G_B12_0 = 1;
G_B12_1 = G_B10_0;
goto IL_00a3;
}
IL_00a2:
{
G_B12_0 = 0;
G_B12_1 = G_B11_0;
}
IL_00a3:
{
V_5 = ((int32_t)il2cpp_codegen_add(G_B12_1, G_B12_0));
// GetNearestInternal(childIndex, point, constraint, ref best, ref bestSqrDist);
int32_t L_43 = V_5;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_44 = ___1_point;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_45 = ___2_constraint;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** L_46 = ___3_best;
int64_t* L_47 = ___4_bestSqrDist;
PointKDTree_GetNearestInternal_m0AB49B5921FB3D9CC5A528A27D34648EA4FFE4F0(__this, L_43, L_44, L_45, L_46, L_47, NULL);
// if (dist*dist < bestSqrDist) {
int64_t L_48 = V_4;
int64_t L_49 = V_4;
int64_t* L_50 = ___4_bestSqrDist;
int64_t L_51 = *((int64_t*)L_50);
if ((((int64_t)((int64_t)il2cpp_codegen_multiply(L_48, L_49))) >= ((int64_t)L_51)))
{
goto IL_00ce;
}
}
{
// GetNearestInternal(childIndex ^ 0x1, point, constraint, ref best, ref bestSqrDist);
int32_t L_52 = V_5;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_53 = ___1_point;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_54 = ___2_constraint;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** L_55 = ___3_best;
int64_t* L_56 = ___4_bestSqrDist;
PointKDTree_GetNearestInternal_m0AB49B5921FB3D9CC5A528A27D34648EA4FFE4F0(__this, ((int32_t)(L_52^1)), L_53, L_54, L_55, L_56, NULL);
}
IL_00ce:
{
// }
return;
}
}
// Pathfinding.GraphNode Pathfinding.PointKDTree::GetNearestConnection(Pathfinding.Int3,Pathfinding.NNConstraint,System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* PointKDTree_GetNearestConnection_mD73C626506D632D221275EBB2A26BAC1A92369E8 (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_point, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, int64_t ___2_maximumSqrConnectionLength, const RuntimeMethod* method)
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_0 = NULL;
int64_t V_1 = 0;
int64_t V_2 = 0;
{
// GraphNode best = null;
V_0 = (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
// long bestSqrDist = long.MaxValue;
V_1 = ((int64_t)(std::numeric_limits<int64_t>::max)());
// long offset = (maximumSqrConnectionLength+3)/4;
int64_t L_0 = ___2_maximumSqrConnectionLength;
V_2 = ((int64_t)(((int64_t)il2cpp_codegen_add(L_0, ((int64_t)3)))/((int64_t)4)));
// GetNearestConnectionInternal(1, point, constraint, ref best, ref bestSqrDist, offset);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_1 = ___0_point;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_2 = ___1_constraint;
int64_t L_3 = V_2;
PointKDTree_GetNearestConnectionInternal_m2C4C343E5832C56E6878D34A8D5A40DEB1AF50CE(__this, 1, L_1, L_2, (&V_0), (&V_1), L_3, NULL);
// return best;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = V_0;
return L_4;
}
}
// System.Void Pathfinding.PointKDTree::GetNearestConnectionInternal(System.Int32,Pathfinding.Int3,Pathfinding.NNConstraint,Pathfinding.GraphNode&,System.Int64&,System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_GetNearestConnectionInternal_m2C4C343E5832C56E6878D34A8D5A40DEB1AF50CE (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_point, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___2_constraint, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** ___3_best, int64_t* ___4_bestSqrDist, int64_t ___5_distanceThresholdOffset, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* V_0 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
memset((&V_1), 0, sizeof(V_1));
int32_t V_2 = 0;
int64_t V_3 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_4;
memset((&V_4), 0, sizeof(V_4));
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_5 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
memset((&V_6), 0, sizeof(V_6));
int32_t V_7 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
memset((&V_8), 0, sizeof(V_8));
int64_t V_9 = 0;
int64_t V_10 = 0;
int32_t V_11 = 0;
int32_t G_B18_0 = 0;
int32_t G_B17_0 = 0;
int32_t G_B19_0 = 0;
int32_t G_B19_1 = 0;
{
// var data = tree[index].data;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_0 = __this->___tree_2;
int32_t L_1 = ___0_index;
NullCheck(L_0);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_2 = ((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1)))->___data_0;
V_0 = L_2;
// if (data != null) {
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_3 = V_0;
if (!L_3)
{
goto IL_0114;
}
}
{
// var pointv3 = (UnityEngine.Vector3)point;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4 = ___1_point;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_4, NULL);
V_1 = L_5;
// for (int i = tree[index].count - 1; i >= 0; i--) {
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_6 = __this->___tree_2;
int32_t L_7 = ___0_index;
NullCheck(L_6);
uint16_t L_8 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))->___count_2;
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_8, 1));
goto IL_010c;
}
IL_0038:
{
// var dist = (data[i].position - point).sqrMagnitudeLong;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_9 = V_0;
int32_t L_10 = V_2;
NullCheck(L_9);
int32_t L_11 = L_10;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
NullCheck(L_12);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_13 = L_12->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_14 = ___1_point;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_15;
L_15 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_13, L_14, NULL);
V_4 = L_15;
int64_t L_16;
L_16 = Int3_get_sqrMagnitudeLong_m8319324D5E2D6785E1C26B09E64E669D8C563482((&V_4), NULL);
V_3 = L_16;
// if (dist - distanceThresholdOffset < bestSqrDist && (constraint == null || constraint.Suitable(data[i]))) {
int64_t L_17 = V_3;
int64_t L_18 = ___5_distanceThresholdOffset;
int64_t* L_19 = ___4_bestSqrDist;
int64_t L_20 = *((int64_t*)L_19);
if ((((int64_t)((int64_t)il2cpp_codegen_subtract(L_17, L_18))) >= ((int64_t)L_20)))
{
goto IL_0108;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_21 = ___2_constraint;
if (!L_21)
{
goto IL_006d;
}
}
{
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_22 = ___2_constraint;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_23 = V_0;
int32_t L_24 = V_2;
NullCheck(L_23);
int32_t L_25 = L_24;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
NullCheck(L_22);
bool L_27;
L_27 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_22, L_26);
if (!L_27)
{
goto IL_0108;
}
}
IL_006d:
{
// var conns = (data[i] as PointNode).connections;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_28 = V_0;
int32_t L_29 = V_2;
NullCheck(L_28);
int32_t L_30 = L_29;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(((PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0*)IsInstClass((RuntimeObject*)L_31, PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var)));
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_32 = ((PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0*)IsInstClass((RuntimeObject*)L_31, PointNode_tCCFF7ADB95900034582A523469353B9CE0AC67F0_il2cpp_TypeInfo_var))->___connections_20;
V_5 = L_32;
// if (conns != null) {
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_33 = V_5;
if (!L_33)
{
goto IL_00f8;
}
}
{
// var nodePos = (UnityEngine.Vector3)data[i].position;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_34 = V_0;
int32_t L_35 = V_2;
NullCheck(L_34);
int32_t L_36 = L_35;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
NullCheck(L_37);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_38 = L_37->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
L_39 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_38, NULL);
V_6 = L_39;
// for (int j = 0; j < conns.Length; j++) {
V_7 = 0;
goto IL_00f0;
}
IL_0094:
{
// var connectionMidpoint = ((UnityEngine.Vector3)conns[j].node.position + nodePos) * 0.5f;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_40 = V_5;
int32_t L_41 = V_7;
NullCheck(L_40);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_42 = ((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_41)))->___node_0;
NullCheck(L_42);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_43 = L_42->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
L_44 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_43, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
L_46 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_44, L_45, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
L_47 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_46, (0.5f), NULL);
V_8 = L_47;
// float sqrConnectionDistance = VectorMath.SqrDistancePointSegment(nodePos, connectionMidpoint, pointv3);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = V_1;
float L_51;
L_51 = VectorMath_SqrDistancePointSegment_m33FAF67E30FC0473B3753C5CE182C46A12850099(L_48, L_49, L_50, NULL);
// long sqrConnectionDistanceInt = (long)(sqrConnectionDistance*Int3.FloatPrecision*Int3.FloatPrecision);
V_9 = il2cpp_codegen_cast_double_to_int<int64_t>(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_51, (1000.0f))), (1000.0f))));
// if (sqrConnectionDistanceInt < bestSqrDist) {
int64_t L_52 = V_9;
int64_t* L_53 = ___4_bestSqrDist;
int64_t L_54 = *((int64_t*)L_53);
if ((((int64_t)L_52) >= ((int64_t)L_54)))
{
goto IL_00ea;
}
}
{
// bestSqrDist = sqrConnectionDistanceInt;
int64_t* L_55 = ___4_bestSqrDist;
int64_t L_56 = V_9;
*((int64_t*)L_55) = (int64_t)L_56;
// best = data[i];
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** L_57 = ___3_best;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_58 = V_0;
int32_t L_59 = V_2;
NullCheck(L_58);
int32_t L_60 = L_59;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_61 = (L_58)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
*((RuntimeObject**)L_57) = (RuntimeObject*)L_61;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_57, (void*)(RuntimeObject*)L_61);
}
IL_00ea:
{
// for (int j = 0; j < conns.Length; j++) {
int32_t L_62 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_62, 1));
}
IL_00f0:
{
// for (int j = 0; j < conns.Length; j++) {
int32_t L_63 = V_7;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_64 = V_5;
NullCheck(L_64);
if ((((int32_t)L_63) < ((int32_t)((int32_t)(((RuntimeArray*)L_64)->max_length)))))
{
goto IL_0094;
}
}
IL_00f8:
{
// if (dist < bestSqrDist) {
int64_t L_65 = V_3;
int64_t* L_66 = ___4_bestSqrDist;
int64_t L_67 = *((int64_t*)L_66);
if ((((int64_t)L_65) >= ((int64_t)L_67)))
{
goto IL_0108;
}
}
{
// bestSqrDist = dist;
int64_t* L_68 = ___4_bestSqrDist;
int64_t L_69 = V_3;
*((int64_t*)L_68) = (int64_t)L_69;
// best = data[i];
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** L_70 = ___3_best;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_71 = V_0;
int32_t L_72 = V_2;
NullCheck(L_71);
int32_t L_73 = L_72;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
*((RuntimeObject**)L_70) = (RuntimeObject*)L_74;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_70, (void*)(RuntimeObject*)L_74);
}
IL_0108:
{
// for (int i = tree[index].count - 1; i >= 0; i--) {
int32_t L_75 = V_2;
V_2 = ((int32_t)il2cpp_codegen_subtract(L_75, 1));
}
IL_010c:
{
// for (int i = tree[index].count - 1; i >= 0; i--) {
int32_t L_76 = V_2;
if ((((int32_t)L_76) >= ((int32_t)0)))
{
goto IL_0038;
}
}
{
return;
}
IL_0114:
{
// var dist = (long)(point[tree[index].splitAxis] - tree[index].split);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_77 = __this->___tree_2;
int32_t L_78 = ___0_index;
NullCheck(L_77);
uint8_t L_79 = ((L_77)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_78)))->___splitAxis_3;
int32_t L_80;
L_80 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&___1_point), L_79, NULL);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_81 = __this->___tree_2;
int32_t L_82 = ___0_index;
NullCheck(L_81);
int32_t L_83 = ((L_81)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_82)))->___split_1;
V_10 = ((int64_t)((int32_t)il2cpp_codegen_subtract(L_80, L_83)));
// var childIndex = 2 * index + (dist < 0 ? 0 : 1);
int32_t L_84 = ___0_index;
int64_t L_85 = V_10;
G_B17_0 = ((int32_t)il2cpp_codegen_multiply(2, L_84));
if ((((int64_t)L_85) < ((int64_t)((int64_t)0))))
{
G_B18_0 = ((int32_t)il2cpp_codegen_multiply(2, L_84));
goto IL_014d;
}
}
{
G_B19_0 = 1;
G_B19_1 = G_B17_0;
goto IL_014e;
}
IL_014d:
{
G_B19_0 = 0;
G_B19_1 = G_B18_0;
}
IL_014e:
{
V_11 = ((int32_t)il2cpp_codegen_add(G_B19_1, G_B19_0));
// GetNearestConnectionInternal(childIndex, point, constraint, ref best, ref bestSqrDist, distanceThresholdOffset);
int32_t L_86 = V_11;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_87 = ___1_point;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_88 = ___2_constraint;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** L_89 = ___3_best;
int64_t* L_90 = ___4_bestSqrDist;
int64_t L_91 = ___5_distanceThresholdOffset;
PointKDTree_GetNearestConnectionInternal_m2C4C343E5832C56E6878D34A8D5A40DEB1AF50CE(__this, L_86, L_87, L_88, L_89, L_90, L_91, NULL);
// if (dist*dist - distanceThresholdOffset < bestSqrDist) {
int64_t L_92 = V_10;
int64_t L_93 = V_10;
int64_t L_94 = ___5_distanceThresholdOffset;
int64_t* L_95 = ___4_bestSqrDist;
int64_t L_96 = *((int64_t*)L_95);
if ((((int64_t)((int64_t)il2cpp_codegen_subtract(((int64_t)il2cpp_codegen_multiply(L_92, L_93)), L_94))) >= ((int64_t)L_96)))
{
goto IL_0180;
}
}
{
// GetNearestConnectionInternal(childIndex ^ 0x1, point, constraint, ref best, ref bestSqrDist, distanceThresholdOffset);
int32_t L_97 = V_11;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_98 = ___1_point;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_99 = ___2_constraint;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A** L_100 = ___3_best;
int64_t* L_101 = ___4_bestSqrDist;
int64_t L_102 = ___5_distanceThresholdOffset;
PointKDTree_GetNearestConnectionInternal_m2C4C343E5832C56E6878D34A8D5A40DEB1AF50CE(__this, ((int32_t)(L_97^1)), L_98, L_99, L_100, L_101, L_102, NULL);
}
IL_0180:
{
// }
return;
}
}
// System.Void Pathfinding.PointKDTree::GetInRange(Pathfinding.Int3,System.Int64,System.Collections.Generic.List`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_GetInRange_mC4711978FAB4FD5E377CAC315B7CAFAA6630799F (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_point, int64_t ___1_sqrRadius, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___2_buffer, const RuntimeMethod* method)
{
{
// GetInRangeInternal(1, point, sqrRadius, buffer);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = ___0_point;
int64_t L_1 = ___1_sqrRadius;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_2 = ___2_buffer;
PointKDTree_GetInRangeInternal_mBDF49E12EBF8855042CD07654B5370184B50B60C(__this, 1, L_0, L_1, L_2, NULL);
// }
return;
}
}
// System.Void Pathfinding.PointKDTree::GetInRangeInternal(System.Int32,Pathfinding.Int3,System.Int64,System.Collections.Generic.List`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree_GetInRangeInternal_mBDF49E12EBF8855042CD07654B5370184B50B60C (PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC* __this, int32_t ___0_index, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_point, int64_t ___2_sqrRadius, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___3_buffer, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* V_0 = NULL;
int32_t V_1 = 0;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_2;
memset((&V_2), 0, sizeof(V_2));
int64_t V_3 = 0;
int32_t V_4 = 0;
int32_t G_B9_0 = 0;
int32_t G_B8_0 = 0;
int32_t G_B10_0 = 0;
int32_t G_B10_1 = 0;
{
// var data = tree[index].data;
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_0 = __this->___tree_2;
int32_t L_1 = ___0_index;
NullCheck(L_0);
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_2 = ((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1)))->___data_0;
V_0 = L_2;
// if (data != null) {
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_3 = V_0;
if (!L_3)
{
goto IL_0057;
}
}
{
// for (int i = tree[index].count - 1; i >= 0; i--) {
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_4 = __this->___tree_2;
int32_t L_5 = ___0_index;
NullCheck(L_4);
uint16_t L_6 = ((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5)))->___count_2;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_6, 1));
goto IL_0052;
}
IL_002b:
{
// var dist = (data[i].position - point).sqrMagnitudeLong;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_7 = V_0;
int32_t L_8 = V_1;
NullCheck(L_7);
int32_t L_9 = L_8;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
NullCheck(L_10);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_11 = L_10->___position_7;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_12 = ___1_point;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_13;
L_13 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_11, L_12, NULL);
V_2 = L_13;
int64_t L_14;
L_14 = Int3_get_sqrMagnitudeLong_m8319324D5E2D6785E1C26B09E64E669D8C563482((&V_2), NULL);
// if (dist < sqrRadius) {
int64_t L_15 = ___2_sqrRadius;
if ((((int64_t)L_14) >= ((int64_t)L_15)))
{
goto IL_004e;
}
}
{
// buffer.Add(data[i]);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_16 = ___3_buffer;
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* L_17 = V_0;
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck(L_16);
List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_inline(L_16, L_20, List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
}
IL_004e:
{
// for (int i = tree[index].count - 1; i >= 0; i--) {
int32_t L_21 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract(L_21, 1));
}
IL_0052:
{
// for (int i = tree[index].count - 1; i >= 0; i--) {
int32_t L_22 = V_1;
if ((((int32_t)L_22) >= ((int32_t)0)))
{
goto IL_002b;
}
}
{
return;
}
IL_0057:
{
// var dist = (long)(point[tree[index].splitAxis] - tree[index].split);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_23 = __this->___tree_2;
int32_t L_24 = ___0_index;
NullCheck(L_23);
uint8_t L_25 = ((L_23)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_24)))->___splitAxis_3;
int32_t L_26;
L_26 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&___1_point), L_25, NULL);
NodeU5BU5D_t11B3AA1700D7E8E8CFCF06F87360AB1CB057F253* L_27 = __this->___tree_2;
int32_t L_28 = ___0_index;
NullCheck(L_27);
int32_t L_29 = ((L_27)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_28)))->___split_1;
V_3 = ((int64_t)((int32_t)il2cpp_codegen_subtract(L_26, L_29)));
// var childIndex = 2 * index + (dist < 0 ? 0 : 1);
int32_t L_30 = ___0_index;
int64_t L_31 = V_3;
G_B8_0 = ((int32_t)il2cpp_codegen_multiply(2, L_30));
if ((((int64_t)L_31) < ((int64_t)((int64_t)0))))
{
G_B9_0 = ((int32_t)il2cpp_codegen_multiply(2, L_30));
goto IL_008e;
}
}
{
G_B10_0 = 1;
G_B10_1 = G_B8_0;
goto IL_008f;
}
IL_008e:
{
G_B10_0 = 0;
G_B10_1 = G_B9_0;
}
IL_008f:
{
V_4 = ((int32_t)il2cpp_codegen_add(G_B10_1, G_B10_0));
// GetInRangeInternal(childIndex, point, sqrRadius, buffer);
int32_t L_32 = V_4;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_33 = ___1_point;
int64_t L_34 = ___2_sqrRadius;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_35 = ___3_buffer;
PointKDTree_GetInRangeInternal_mBDF49E12EBF8855042CD07654B5370184B50B60C(__this, L_32, L_33, L_34, L_35, NULL);
// if (dist*dist < sqrRadius) {
int64_t L_36 = V_3;
int64_t L_37 = V_3;
int64_t L_38 = ___2_sqrRadius;
if ((((int64_t)((int64_t)il2cpp_codegen_multiply(L_36, L_37))) >= ((int64_t)L_38)))
{
goto IL_00b2;
}
}
{
// GetInRangeInternal(childIndex ^ 0x1, point, sqrRadius, buffer);
int32_t L_39 = V_4;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_40 = ___1_point;
int64_t L_41 = ___2_sqrRadius;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_42 = ___3_buffer;
PointKDTree_GetInRangeInternal_mBDF49E12EBF8855042CD07654B5370184B50B60C(__this, ((int32_t)(L_39^1)), L_40, L_41, L_42, NULL);
}
IL_00b2:
{
// }
return;
}
}
// System.Void Pathfinding.PointKDTree::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PointKDTree__cctor_m6BF6DF9C3434B9DFF66D681E181FB7B8FE3C4AD2 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// static readonly IComparer<GraphNode>[] comparers = new IComparer<GraphNode>[] { new CompareX(), new CompareY(), new CompareZ() };
IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2* L_0 = (IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2*)(IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2*)SZArrayNew(IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2_il2cpp_TypeInfo_var, (uint32_t)3);
IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2* L_1 = L_0;
CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640* L_2 = (CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640*)il2cpp_codegen_object_new(CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640_il2cpp_TypeInfo_var);
NullCheck(L_2);
CompareX__ctor_m9FFF26C32CE9A74D5657131DF6C068DEC62AE0DD(L_2, NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_2);
IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2* L_3 = L_1;
CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697* L_4 = (CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697*)il2cpp_codegen_object_new(CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697_il2cpp_TypeInfo_var);
NullCheck(L_4);
CompareY__ctor_m91ED8FE0F783D7521741F5A520338D07FF8E858C(L_4, NULL);
NullCheck(L_3);
ArrayElementTypeCheck (L_3, L_4);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_4);
IComparer_1U5BU5D_t60222C6F3508D32C733FC5E73118E94BA875BEC2* L_5 = L_3;
CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5* L_6 = (CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5*)il2cpp_codegen_object_new(CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5_il2cpp_TypeInfo_var);
NullCheck(L_6);
CompareZ__ctor_m1BC4963A45E5506A5AF0D8752F939D8081329650(L_6, NULL);
NullCheck(L_5);
ArrayElementTypeCheck (L_5, L_6);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_6);
((PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_StaticFields*)il2cpp_codegen_static_fields_for(PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_il2cpp_TypeInfo_var))->___comparers_6 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&((PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_StaticFields*)il2cpp_codegen_static_fields_for(PointKDTree_t57E17FCE14FEA47FE7C1633B76E1FDF4CF1CE3AC_il2cpp_TypeInfo_var))->___comparers_6), (void*)L_5);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: Pathfinding.PointKDTree/Node
IL2CPP_EXTERN_C void Node_t43228590B77931D856C0EB4966838C08B95E580C_marshal_pinvoke(const Node_t43228590B77931D856C0EB4966838C08B95E580C& unmarshaled, Node_t43228590B77931D856C0EB4966838C08B95E580C_marshaled_pinvoke& marshaled)
{
Exception_t* ___data_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'data' of type 'Node': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___data_0Exception, NULL);
}
IL2CPP_EXTERN_C void Node_t43228590B77931D856C0EB4966838C08B95E580C_marshal_pinvoke_back(const Node_t43228590B77931D856C0EB4966838C08B95E580C_marshaled_pinvoke& marshaled, Node_t43228590B77931D856C0EB4966838C08B95E580C& unmarshaled)
{
Exception_t* ___data_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'data' of type 'Node': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___data_0Exception, NULL);
}
// Conversion method for clean up from marshalling of: Pathfinding.PointKDTree/Node
IL2CPP_EXTERN_C void Node_t43228590B77931D856C0EB4966838C08B95E580C_marshal_pinvoke_cleanup(Node_t43228590B77931D856C0EB4966838C08B95E580C_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: Pathfinding.PointKDTree/Node
IL2CPP_EXTERN_C void Node_t43228590B77931D856C0EB4966838C08B95E580C_marshal_com(const Node_t43228590B77931D856C0EB4966838C08B95E580C& unmarshaled, Node_t43228590B77931D856C0EB4966838C08B95E580C_marshaled_com& marshaled)
{
Exception_t* ___data_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'data' of type 'Node': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___data_0Exception, NULL);
}
IL2CPP_EXTERN_C void Node_t43228590B77931D856C0EB4966838C08B95E580C_marshal_com_back(const Node_t43228590B77931D856C0EB4966838C08B95E580C_marshaled_com& marshaled, Node_t43228590B77931D856C0EB4966838C08B95E580C& unmarshaled)
{
Exception_t* ___data_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'data' of type 'Node': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___data_0Exception, NULL);
}
// Conversion method for clean up from marshalling of: Pathfinding.PointKDTree/Node
IL2CPP_EXTERN_C void Node_t43228590B77931D856C0EB4966838C08B95E580C_marshal_com_cleanup(Node_t43228590B77931D856C0EB4966838C08B95E580C_marshaled_com& marshaled)
{
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Pathfinding.PointKDTree/CompareX::Compare(Pathfinding.GraphNode,Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t CompareX_Compare_m94ACDBEDEF1AD71872A0B08F37E80211F8B94748 (CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_lhs, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_rhs, const RuntimeMethod* method)
{
{
// public int Compare (GraphNode lhs, GraphNode rhs) { return lhs.position.x.CompareTo(rhs.position.x); }
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_lhs;
NullCheck(L_0);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_1 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&L_0->___position_7);
int32_t* L_2 = (int32_t*)(&L_1->___x_0);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ___1_rhs;
NullCheck(L_3);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_4 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&L_3->___position_7);
int32_t L_5 = L_4->___x_0;
int32_t L_6;
L_6 = Int32_CompareTo_mFA011811D4447442ED442B4A507BD4267621C586(L_2, L_5, NULL);
return L_6;
}
}
// System.Void Pathfinding.PointKDTree/CompareX::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompareX__ctor_m9FFF26C32CE9A74D5657131DF6C068DEC62AE0DD (CompareX_tEBE4E73546D537BBF2843EA9E1A7679E7AB87640* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Pathfinding.PointKDTree/CompareY::Compare(Pathfinding.GraphNode,Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t CompareY_Compare_m5AC6F6011D4E79174FB4D5B21B69E223D7BECFDC (CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_lhs, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_rhs, const RuntimeMethod* method)
{
{
// public int Compare (GraphNode lhs, GraphNode rhs) { return lhs.position.y.CompareTo(rhs.position.y); }
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_lhs;
NullCheck(L_0);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_1 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&L_0->___position_7);
int32_t* L_2 = (int32_t*)(&L_1->___y_1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ___1_rhs;
NullCheck(L_3);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_4 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&L_3->___position_7);
int32_t L_5 = L_4->___y_1;
int32_t L_6;
L_6 = Int32_CompareTo_mFA011811D4447442ED442B4A507BD4267621C586(L_2, L_5, NULL);
return L_6;
}
}
// System.Void Pathfinding.PointKDTree/CompareY::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompareY__ctor_m91ED8FE0F783D7521741F5A520338D07FF8E858C (CompareY_t54D32E0E9DD04DF5F239966514FBC53A277B6697* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Pathfinding.PointKDTree/CompareZ::Compare(Pathfinding.GraphNode,Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t CompareZ_Compare_mD7F430BCB5C7407AC2B180DD911FF0B3AE675CD3 (CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_lhs, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_rhs, const RuntimeMethod* method)
{
{
// public int Compare (GraphNode lhs, GraphNode rhs) { return lhs.position.z.CompareTo(rhs.position.z); }
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_lhs;
NullCheck(L_0);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_1 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&L_0->___position_7);
int32_t* L_2 = (int32_t*)(&L_1->___z_2);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ___1_rhs;
NullCheck(L_3);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_4 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&L_3->___position_7);
int32_t L_5 = L_4->___z_2;
int32_t L_6;
L_6 = Int32_CompareTo_mFA011811D4447442ED442B4A507BD4267621C586(L_2, L_5, NULL);
return L_6;
}
}
// System.Void Pathfinding.PointKDTree/CompareZ::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompareZ__ctor_m1BC4963A45E5506A5AF0D8752F939D8081329650 (CompareZ_t8B9B05F3477EBAE1D079530E554B6436939E6BD5* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Pathfinding.AlternativePath::get_Order()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AlternativePath_get_Order_mC32F22D12FCF9323E5F2F4883249D512B0893A5A (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, const RuntimeMethod* method)
{
{
// public override int Order { get { return 10; } }
return ((int32_t)10);
}
}
// System.Void Pathfinding.AlternativePath::Apply(Pathfinding.Path)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AlternativePath_Apply_m608C040424E07F1BDB634BF3685DAAAD06B95F40 (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// if (this == null) return;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_0;
L_0 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(__this, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (!L_0)
{
goto IL_000a;
}
}
{
// if (this == null) return;
return;
}
IL_000a:
{
// ApplyNow(p.path);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_1 = ___0_p;
NullCheck(L_1);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_2 = L_1->___path_8;
AlternativePath_ApplyNow_mFADCE58A28DFE788743A2CC6E7C7E210ED85A2F9(__this, L_2, NULL);
// }
return;
}
}
// System.Void Pathfinding.AlternativePath::OnDestroy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AlternativePath_OnDestroy_mD201194456F3F6105BBD2A0292D3F57CABC8C2A8 (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, const RuntimeMethod* method)
{
{
// destroyed = true;
__this->___destroyed_11 = (bool)1;
// ClearOnDestroy();
AlternativePath_ClearOnDestroy_m7C33CA4EE3B9E2A80824750F9D9389279A07110E(__this, NULL);
// }
return;
}
}
// System.Void Pathfinding.AlternativePath::ClearOnDestroy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AlternativePath_ClearOnDestroy_m7C33CA4EE3B9E2A80824750F9D9389279A07110E (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, const RuntimeMethod* method)
{
{
// InversePrevious();
AlternativePath_InversePrevious_m7B7AA154E9E7F501D32D8F6C894BE5FCCE9ECB72(__this, NULL);
// }
return;
}
}
// System.Void Pathfinding.AlternativePath::InversePrevious()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AlternativePath_InversePrevious_m7B7AA154E9E7F501D32D8F6C894BE5FCCE9ECB72 (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC55350EAD762E1CF489870067854921F4D9B67E3);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
{
// if (prevNodes != null) {
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_0 = __this->___prevNodes_8;
if (!L_0)
{
goto IL_008d;
}
}
{
// bool warnPenalties = false;
V_0 = (bool)0;
// for (int i = 0; i < prevNodes.Count; i++) {
V_1 = 0;
goto IL_0072;
}
IL_0011:
{
// if (prevNodes[i].Penalty < prevPenalty) {
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_1 = __this->___prevNodes_8;
int32_t L_2 = V_1;
NullCheck(L_1);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3;
L_3 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_1, L_2, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_3);
uint32_t L_4;
L_4 = GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline(L_3, NULL);
int32_t L_5 = __this->___prevPenalty_9;
if ((((int64_t)((int64_t)(uint64_t)L_4)) >= ((int64_t)((int64_t)L_5))))
{
goto IL_0042;
}
}
{
// warnPenalties = true;
V_0 = (bool)1;
// prevNodes[i].Penalty = 0;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_6 = __this->___prevNodes_8;
int32_t L_7 = V_1;
NullCheck(L_6);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_8;
L_8 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_6, L_7, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_8);
GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E(L_8, 0, NULL);
goto IL_006e;
}
IL_0042:
{
// prevNodes[i].Penalty = (uint)(prevNodes[i].Penalty-prevPenalty);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_9 = __this->___prevNodes_8;
int32_t L_10 = V_1;
NullCheck(L_9);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_11;
L_11 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_9, L_10, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_12 = __this->___prevNodes_8;
int32_t L_13 = V_1;
NullCheck(L_12);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_14;
L_14 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_12, L_13, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_14);
uint32_t L_15;
L_15 = GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline(L_14, NULL);
int32_t L_16 = __this->___prevPenalty_9;
NullCheck(L_11);
GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E(L_11, ((int32_t)(uint32_t)((int64_t)il2cpp_codegen_subtract(((int64_t)(uint64_t)L_15), ((int64_t)L_16)))), NULL);
}
IL_006e:
{
// for (int i = 0; i < prevNodes.Count; i++) {
int32_t L_17 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_17, 1));
}
IL_0072:
{
// for (int i = 0; i < prevNodes.Count; i++) {
int32_t L_18 = V_1;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_19 = __this->___prevNodes_8;
NullCheck(L_19);
int32_t L_20;
L_20 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_19, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
if ((((int32_t)L_18) < ((int32_t)L_20)))
{
goto IL_0011;
}
}
{
// if (warnPenalties) {
bool L_21 = V_0;
if (!L_21)
{
goto IL_008d;
}
}
{
// Debug.LogWarning("Penalty for some nodes has been reset while the AlternativePath modifier was active (possibly because of a graph update). Some penalties might be incorrect (they may be lower than expected for the affected nodes)");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteralC55350EAD762E1CF489870067854921F4D9B67E3, NULL);
}
IL_008d:
{
// }
return;
}
}
// System.Void Pathfinding.AlternativePath::ApplyNow(System.Collections.Generic.List`1<Pathfinding.GraphNode>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AlternativePath_ApplyNow_mFADCE58A28DFE788743A2CC6E7C7E210ED85A2F9 (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___0_nodes, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mA937F129E2EC4ED2E068F66C45A0D79F0189C78B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// InversePrevious();
AlternativePath_InversePrevious_m7B7AA154E9E7F501D32D8F6C894BE5FCCE9ECB72(__this, NULL);
// prevNodes.Clear();
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_0 = __this->___prevNodes_8;
NullCheck(L_0);
List_1_Clear_mA937F129E2EC4ED2E068F66C45A0D79F0189C78B_inline(L_0, List_1_Clear_mA937F129E2EC4ED2E068F66C45A0D79F0189C78B_RuntimeMethod_var);
// if (destroyed) return;
bool L_1 = __this->___destroyed_11;
if (!L_1)
{
goto IL_001a;
}
}
{
// if (destroyed) return;
return;
}
IL_001a:
{
// if (nodes != null) {
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_2 = ___0_nodes;
if (!L_2)
{
goto IL_0083;
}
}
{
// int rndStart = rnd.Next(randomStep);
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_3 = __this->___rnd_10;
int32_t L_4 = __this->___randomStep_7;
NullCheck(L_3);
int32_t L_5;
L_5 = VirtualFuncInvoker1< int32_t, int32_t >::Invoke(7 /* System.Int32 System.Random::Next(System.Int32) */, L_3, L_4);
// for (int i = rndStart; i < nodes.Count; i += rnd.Next(1, randomStep)) {
V_0 = L_5;
goto IL_007a;
}
IL_0031:
{
// nodes[i].Penalty = (uint)(nodes[i].Penalty+penalty);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_6 = ___0_nodes;
int32_t L_7 = V_0;
NullCheck(L_6);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_8;
L_8 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_6, L_7, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_9 = ___0_nodes;
int32_t L_10 = V_0;
NullCheck(L_9);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_11;
L_11 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_9, L_10, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_11);
uint32_t L_12;
L_12 = GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline(L_11, NULL);
int32_t L_13 = __this->___penalty_6;
NullCheck(L_8);
GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E(L_8, ((int32_t)(uint32_t)((int64_t)il2cpp_codegen_add(((int64_t)(uint64_t)L_12), ((int64_t)L_13)))), NULL);
// prevNodes.Add(nodes[i]);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_14 = __this->___prevNodes_8;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_15 = ___0_nodes;
int32_t L_16 = V_0;
NullCheck(L_15);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_17;
L_17 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_15, L_16, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_14);
List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_inline(L_14, L_17, List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
// for (int i = rndStart; i < nodes.Count; i += rnd.Next(1, randomStep)) {
int32_t L_18 = V_0;
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_19 = __this->___rnd_10;
int32_t L_20 = __this->___randomStep_7;
NullCheck(L_19);
int32_t L_21;
L_21 = VirtualFuncInvoker2< int32_t, int32_t, int32_t >::Invoke(6 /* System.Int32 System.Random::Next(System.Int32,System.Int32) */, L_19, 1, L_20);
V_0 = ((int32_t)il2cpp_codegen_add(L_18, L_21));
}
IL_007a:
{
// for (int i = rndStart; i < nodes.Count; i += rnd.Next(1, randomStep)) {
int32_t L_22 = V_0;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_23 = ___0_nodes;
NullCheck(L_23);
int32_t L_24;
L_24 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_23, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
if ((((int32_t)L_22) < ((int32_t)L_24)))
{
goto IL_0031;
}
}
IL_0083:
{
// prevPenalty = penalty;
int32_t L_25 = __this->___penalty_6;
__this->___prevPenalty_9 = L_25;
// }
return;
}
}
// System.Void Pathfinding.AlternativePath::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AlternativePath__ctor_m6AFB50654C50D5AE1CFD95A386BE7247C224C79E (AlternativePath_t87AE9B0F710971F945134D1F24639951F4EE6B19* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public int penalty = 1000;
__this->___penalty_6 = ((int32_t)1000);
// public int randomStep = 10;
__this->___randomStep_7 = ((int32_t)10);
// List<GraphNode> prevNodes = new List<GraphNode>();
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_0 = (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*)il2cpp_codegen_object_new(List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_il2cpp_TypeInfo_var);
NullCheck(L_0);
List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7(L_0, List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7_RuntimeMethod_var);
__this->___prevNodes_8 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___prevNodes_8), (void*)L_0);
// readonly System.Random rnd = new System.Random();
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_1 = (Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8*)il2cpp_codegen_object_new(Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_il2cpp_TypeInfo_var);
NullCheck(L_1);
Random__ctor_m151183BD4F021499A98B9DE8502DAD4B12DD16AC(L_1, NULL);
__this->___rnd_10 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___rnd_10), (void*)L_1);
MonoModifier__ctor_mEF5B826ACD1EE41EB12582AAE03927CC5D04C44E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Pathfinding.FunnelModifier::get_Order()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t FunnelModifier_get_Order_m710160433BEF1D9D80ED0093C9FAADD44EF3AFEB (FunnelModifier_tF924FDF9477B84DB3CC5F9462E9251B1FD10FCB5* __this, const RuntimeMethod* method)
{
{
// public override int Order { get { return 10; } }
return ((int32_t)10);
}
}
// System.Void Pathfinding.FunnelModifier::Apply(Pathfinding.Path)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FunnelModifier_Apply_mEB61A8A8F6EEA55F9E2C185820F2D8C878E34FA8 (FunnelModifier_tF924FDF9477B84DB3CC5F9462E9251B1FD10FCB5* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m45CDA4615068AD09237147BD0211A0DD4E4CFD99_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_t95EEBDA5121606BF041488FE36AD79404D5620C9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_AddRange_m5074E49FED0A20D75EEBFEF32BD7C59CBB6F0FEE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_0 = NULL;
List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* V_1 = NULL;
int32_t V_2 = 0;
PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 V_3;
memset((&V_3), 0, sizeof(V_3));
FunnelPortals_tE9EAFDA27FDFC407CC8FD385317739A3ADFD2EEF V_4;
memset((&V_4), 0, sizeof(V_4));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_5 = NULL;
{
// if (p.path == null || p.path.Count == 0 || p.vectorPath == null || p.vectorPath.Count == 0) {
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_0 = ___0_p;
NullCheck(L_0);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_1 = L_0->___path_8;
if (!L_1)
{
goto IL_002a;
}
}
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_2 = ___0_p;
NullCheck(L_2);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_3 = L_2->___path_8;
NullCheck(L_3);
int32_t L_4;
L_4 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_3, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
if (!L_4)
{
goto IL_002a;
}
}
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_5 = ___0_p;
NullCheck(L_5);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = L_5->___vectorPath_9;
if (!L_6)
{
goto IL_002a;
}
}
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_7 = ___0_p;
NullCheck(L_7);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_8 = L_7->___vectorPath_9;
NullCheck(L_8);
int32_t L_9;
L_9 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_8, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if (L_9)
{
goto IL_002b;
}
}
IL_002a:
{
// return;
return;
}
IL_002b:
{
// List<Vector3> funnelPath = ListPool<Vector3>.Claim();
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_10;
L_10 = ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7(ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_RuntimeMethod_var);
V_0 = L_10;
// var parts = Funnel.SplitIntoParts(p);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_11 = ___0_p;
List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* L_12;
L_12 = Funnel_SplitIntoParts_m89D2FA72A739DFF6E689119E1E8E80FDF99C40FD(L_11, NULL);
V_1 = L_12;
// if (parts.Count == 0) {
List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* L_13 = V_1;
NullCheck(L_13);
int32_t L_14;
L_14 = List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_inline(L_13, List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_RuntimeMethod_var);
if (L_14)
{
goto IL_0041;
}
}
{
// return;
return;
}
IL_0041:
{
// for (int i = 0; i < parts.Count; i++) {
V_2 = 0;
goto IL_00ee;
}
IL_0048:
{
// var part = parts[i];
List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* L_15 = V_1;
int32_t L_16 = V_2;
NullCheck(L_15);
PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 L_17;
L_17 = List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069(L_15, L_16, List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069_RuntimeMethod_var);
V_3 = L_17;
// if (!part.isLink) {
PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 L_18 = V_3;
bool L_19 = L_18.___isLink_4;
if (L_19)
{
goto IL_00a4;
}
}
{
// var portals = Funnel.ConstructFunnelPortals(p.path, part);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_20 = ___0_p;
NullCheck(L_20);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_21 = L_20->___path_8;
PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 L_22 = V_3;
FunnelPortals_tE9EAFDA27FDFC407CC8FD385317739A3ADFD2EEF L_23;
L_23 = Funnel_ConstructFunnelPortals_m239BEA8FD22079E900E95AB87F7375F3270B0CE2(L_21, L_22, NULL);
V_4 = L_23;
// var result = Funnel.Calculate(portals, unwrap, splitAtEveryPortal);
FunnelPortals_tE9EAFDA27FDFC407CC8FD385317739A3ADFD2EEF L_24 = V_4;
bool L_25 = __this->___unwrap_6;
bool L_26 = __this->___splitAtEveryPortal_7;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_27;
L_27 = Funnel_Calculate_m5F4D576C8BBBD96E75620054D47A2DCFC046570F(L_24, L_25, L_26, NULL);
V_5 = L_27;
// funnelPath.AddRange(result);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_28 = V_0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_29 = V_5;
NullCheck(L_28);
List_1_AddRange_m5074E49FED0A20D75EEBFEF32BD7C59CBB6F0FEE(L_28, L_29, List_1_AddRange_m5074E49FED0A20D75EEBFEF32BD7C59CBB6F0FEE_RuntimeMethod_var);
// ListPool<Vector3>.Release(ref portals.left);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** L_30 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B**)(&(&V_4)->___left_0);
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0(L_30, ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
// ListPool<Vector3>.Release(ref portals.right);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** L_31 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B**)(&(&V_4)->___right_1);
ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0(L_31, ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
// ListPool<Vector3>.Release(ref result);
ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0((&V_5), ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
goto IL_00ea;
}
IL_00a4:
{
// if (i == 0 || parts[i-1].isLink) {
int32_t L_32 = V_2;
if (!L_32)
{
goto IL_00b7;
}
}
{
List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* L_33 = V_1;
int32_t L_34 = V_2;
NullCheck(L_33);
PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 L_35;
L_35 = List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069(L_33, ((int32_t)il2cpp_codegen_subtract(L_34, 1)), List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069_RuntimeMethod_var);
bool L_36 = L_35.___isLink_4;
if (!L_36)
{
goto IL_00c3;
}
}
IL_00b7:
{
// funnelPath.Add(part.startPoint);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_37 = V_0;
PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 L_38 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = L_38.___startPoint_2;
NullCheck(L_37);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_37, L_39, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
}
IL_00c3:
{
// if (i == parts.Count - 1 || parts[i+1].isLink) {
int32_t L_40 = V_2;
List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* L_41 = V_1;
NullCheck(L_41);
int32_t L_42;
L_42 = List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_inline(L_41, List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_RuntimeMethod_var);
if ((((int32_t)L_40) == ((int32_t)((int32_t)il2cpp_codegen_subtract(L_42, 1)))))
{
goto IL_00de;
}
}
{
List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* L_43 = V_1;
int32_t L_44 = V_2;
NullCheck(L_43);
PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 L_45;
L_45 = List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069(L_43, ((int32_t)il2cpp_codegen_add(L_44, 1)), List_1_get_Item_m9607F810955E58A15DE89732AE8416C640C13069_RuntimeMethod_var);
bool L_46 = L_45.___isLink_4;
if (!L_46)
{
goto IL_00ea;
}
}
IL_00de:
{
// funnelPath.Add(part.endPoint);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_47 = V_0;
PathPart_t16A862A6A66EEBD3A45648D847CC234C0CC4CFB8 L_48 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = L_48.___endPoint_3;
NullCheck(L_47);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_47, L_49, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
}
IL_00ea:
{
// for (int i = 0; i < parts.Count; i++) {
int32_t L_50 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_50, 1));
}
IL_00ee:
{
// for (int i = 0; i < parts.Count; i++) {
int32_t L_51 = V_2;
List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* L_52 = V_1;
NullCheck(L_52);
int32_t L_53;
L_53 = List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_inline(L_52, List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_RuntimeMethod_var);
if ((((int32_t)L_51) < ((int32_t)L_53)))
{
goto IL_0048;
}
}
{
// ListPool<Funnel.PathPart>.Release(ref parts);
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t95EEBDA5121606BF041488FE36AD79404D5620C9_il2cpp_TypeInfo_var);
ListPool_1_Release_m45CDA4615068AD09237147BD0211A0DD4E4CFD99((&V_1), ListPool_1_Release_m45CDA4615068AD09237147BD0211A0DD4E4CFD99_RuntimeMethod_var);
// ListPool<Vector3>.Release(ref p.vectorPath);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_54 = ___0_p;
NullCheck(L_54);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** L_55 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B**)(&L_54->___vectorPath_9);
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0(L_55, ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
// p.vectorPath = funnelPath;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_56 = ___0_p;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_57 = V_0;
NullCheck(L_56);
L_56->___vectorPath_9 = L_57;
Il2CppCodeGenWriteBarrier((void**)(&L_56->___vectorPath_9), (void*)L_57);
// }
return;
}
}
// System.Void Pathfinding.FunnelModifier::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FunnelModifier__ctor_mB9F5FFA4E7FF0BFDF5B6D5457C0730B38E0AF28B (FunnelModifier_tF924FDF9477B84DB3CC5F9462E9251B1FD10FCB5* __this, const RuntimeMethod* method)
{
{
// public bool unwrap = true;
__this->___unwrap_6 = (bool)1;
MonoModifier__ctor_mEF5B826ACD1EE41EB12582AAE03927CC5D04C44E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.PathModifier::Awake(Pathfinding.Seeker)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathModifier_Awake_m07617F6220E7DF99FF7E817EA466A5DC70E1A141 (PathModifier_t5F147EA05018864929F69B47D1A07F76A36E4414* __this, Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* ___0_seeker, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// this.seeker = seeker;
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_0 = ___0_seeker;
__this->___seeker_0 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___seeker_0), (void*)L_0);
// if (seeker != null) {
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_1 = ___0_seeker;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (!L_2)
{
goto IL_0017;
}
}
{
// seeker.RegisterModifier(this);
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_3 = ___0_seeker;
NullCheck(L_3);
Seeker_RegisterModifier_m21D398195321289A48F5E8DD542ED806866F45A4(L_3, __this, NULL);
}
IL_0017:
{
// }
return;
}
}
// System.Void Pathfinding.PathModifier::OnDestroy(Pathfinding.Seeker)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathModifier_OnDestroy_m7F5EC17601FDEDC7D2FF2685EAA0B7871465C08B (PathModifier_t5F147EA05018864929F69B47D1A07F76A36E4414* __this, Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* ___0_seeker, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// if (seeker != null) {
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_0 = ___0_seeker;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (!L_1)
{
goto IL_0010;
}
}
{
// seeker.DeregisterModifier(this);
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_2 = ___0_seeker;
NullCheck(L_2);
Seeker_DeregisterModifier_m671FDC09D5ACC1CB8B6374776BAFC963608C5635(L_2, __this, NULL);
}
IL_0010:
{
// }
return;
}
}
// System.Void Pathfinding.PathModifier::PreProcess(Pathfinding.Path)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathModifier_PreProcess_mC6C1BC816E098B40CB46C881E33565198B7F5B44 (PathModifier_t5F147EA05018864929F69B47D1A07F76A36E4414* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void Pathfinding.PathModifier::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathModifier__ctor_mE1F60DCEE4C6980899185B9EDA6F2A2A589F56B7 (PathModifier_t5F147EA05018864929F69B47D1A07F76A36E4414* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.MonoModifier::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoModifier_OnEnable_m932B7192B35B8023B502263F0261F6C49C6EAFB1 (MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisSeeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441_m179FE34C9BA1E2ADE08520ABE3281BCB187FD629_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// seeker = GetComponent<Seeker>();
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_0;
L_0 = Component_GetComponent_TisSeeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441_m179FE34C9BA1E2ADE08520ABE3281BCB187FD629(__this, Component_GetComponent_TisSeeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441_m179FE34C9BA1E2ADE08520ABE3281BCB187FD629_RuntimeMethod_var);
__this->___seeker_5 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___seeker_5), (void*)L_0);
// if (seeker != null) {
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_1 = __this->___seeker_5;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (!L_2)
{
goto IL_0026;
}
}
{
// seeker.RegisterModifier(this);
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_3 = __this->___seeker_5;
NullCheck(L_3);
Seeker_RegisterModifier_m21D398195321289A48F5E8DD542ED806866F45A4(L_3, __this, NULL);
}
IL_0026:
{
// }
return;
}
}
// System.Void Pathfinding.MonoModifier::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoModifier_OnDisable_m8D13BA686157ED816309B8C98C8962AE65A98CCE (MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// if (seeker != null) {
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_0 = __this->___seeker_5;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (!L_1)
{
goto IL_001a;
}
}
{
// seeker.DeregisterModifier(this);
Seeker_t6FEA42FECA98333BE993B3BBFB7BBC08AC65D441* L_2 = __this->___seeker_5;
NullCheck(L_2);
Seeker_DeregisterModifier_m671FDC09D5ACC1CB8B6374776BAFC963608C5635(L_2, __this, NULL);
}
IL_001a:
{
// }
return;
}
}
// System.Void Pathfinding.MonoModifier::PreProcess(Pathfinding.Path)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoModifier_PreProcess_mFEEFCCDE23826CDBD477D904BE9DF171BCFC1898 (MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void Pathfinding.MonoModifier::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoModifier__ctor_mEF5B826ACD1EE41EB12582AAE03927CC5D04C44E (MonoModifier_t88D84DEEEED0AFB3B10EF206343782894A202768* __this, const RuntimeMethod* method)
{
{
VersionedMonoBehaviour__ctor_mD79AF8BD263B40169E01FFD02CB2DBE52B6A8038(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Pathfinding.RaycastModifier::get_Order()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RaycastModifier_get_Order_mD7B20B6073B4713B627F2F3B4B86BF1B5B488CD8 (RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* __this, const RuntimeMethod* method)
{
{
// public override int Order { get { return 40; } }
return ((int32_t)40);
}
}
// System.Void Pathfinding.RaycastModifier::Apply(Pathfinding.Path)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaycastModifier_Apply_m49099D5F90958AF09BFD2A3313F1F7F01C0BF2E1 (RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_0 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
memset((&V_1), 0, sizeof(V_1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
int32_t V_3 = 0;
int32_t V_4 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B11_0 = NULL;
{
// if (!useRaycasting && !useGraphRaycasting) return;
bool L_0 = __this->___useRaycasting_6;
if (L_0)
{
goto IL_0011;
}
}
{
bool L_1 = __this->___useGraphRaycasting_12;
if (L_1)
{
goto IL_0011;
}
}
{
// if (!useRaycasting && !useGraphRaycasting) return;
return;
}
IL_0011:
{
// var points = p.vectorPath;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_2 = ___0_p;
NullCheck(L_2);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_3 = L_2->___vectorPath_9;
V_0 = L_3;
// cachedFilter.path = p;
Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE* L_4 = __this->___cachedFilter_18;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_5 = ___0_p;
NullCheck(L_4);
L_4->___path_0 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&L_4->___path_0), (void*)L_5);
// cachedNNConstraint.graphMask = p.nnConstraint.graphMask;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_6 = __this->___cachedNNConstraint_19;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_7 = ___0_p;
NullCheck(L_7);
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_8 = L_7->___nnConstraint_15;
NullCheck(L_8);
GraphMask_t0D3B81600BFA722AB8C720E124358F9ABA57D404 L_9 = L_8->___graphMask_0;
NullCheck(L_6);
L_6->___graphMask_0 = L_9;
// if (ValidateLine(null, null, p.vectorPath[0], p.vectorPath[p.vectorPath.Count-1], cachedFilter.cachedDelegate, cachedNNConstraint)) {
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_10 = ___0_p;
NullCheck(L_10);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_11 = L_10->___vectorPath_9;
NullCheck(L_11);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
L_12 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_11, 0, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_13 = ___0_p;
NullCheck(L_13);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_14 = L_13->___vectorPath_9;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_15 = ___0_p;
NullCheck(L_15);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_16 = L_15->___vectorPath_9;
NullCheck(L_16);
int32_t L_17;
L_17 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_16, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
NullCheck(L_14);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_14, ((int32_t)il2cpp_codegen_subtract(L_17, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE* L_19 = __this->___cachedFilter_18;
NullCheck(L_19);
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_20 = L_19->___cachedDelegate_1;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_21 = __this->___cachedNNConstraint_19;
bool L_22;
L_22 = RaycastModifier_ValidateLine_m9723BC45E8810795ADC608D338082FEC14B4EE3D(__this, (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL, (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL, L_12, L_18, L_20, L_21, NULL);
if (!L_22)
{
goto IL_00b8;
}
}
{
// var s = p.vectorPath[0];
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_23 = ___0_p;
NullCheck(L_23);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_24 = L_23->___vectorPath_9;
NullCheck(L_24);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_24, 0, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_1 = L_25;
// var e = p.vectorPath[p.vectorPath.Count-1];
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_26 = ___0_p;
NullCheck(L_26);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_27 = L_26->___vectorPath_9;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_28 = ___0_p;
NullCheck(L_28);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_29 = L_28->___vectorPath_9;
NullCheck(L_29);
int32_t L_30;
L_30 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_29, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
NullCheck(L_27);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
L_31 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_27, ((int32_t)il2cpp_codegen_subtract(L_30, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_2 = L_31;
// points.ClearFast();
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_32 = V_0;
ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB(L_32, ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_RuntimeMethod_var);
// points.Add(s);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_33 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = V_1;
NullCheck(L_33);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_33, L_34, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// points.Add(e);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_35 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_2;
NullCheck(L_35);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_35, L_36, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
goto IL_014a;
}
IL_00b8:
{
// int iterations = iterationsByQuality[(int)quality];
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_37 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___iterationsByQuality_14;
int32_t L_38 = __this->___quality_13;
NullCheck(L_37);
int32_t L_39 = L_38;
int32_t L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
V_3 = L_40;
// for (int it = 0; it < iterations; it++) {
V_4 = 0;
goto IL_013a;
}
IL_00ca:
{
// if (it != 0) {
int32_t L_41 = V_4;
if (!L_41)
{
goto IL_00f6;
}
}
{
// Polygon.Subdivide(points, buffer, 3);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_42 = V_0;
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_43 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15;
il2cpp_codegen_runtime_class_init_inline(Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
Polygon_Subdivide_mA88024240A3BA24B2E52DBB096CDE8A90150EBF0(L_42, L_43, 3, NULL);
// Memory.Swap(ref buffer, ref points);
Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937((&((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15), (&V_0), Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937_RuntimeMethod_var);
// buffer.ClearFast();
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_44 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15;
ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB(L_44, ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_RuntimeMethod_var);
// points.Reverse();
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_45 = V_0;
NullCheck(L_45);
List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72(L_45, List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var);
}
IL_00f6:
{
// points = quality >= Quality.High ? ApplyDP(p, points, cachedFilter.cachedDelegate, cachedNNConstraint) : ApplyGreedy(p, points, cachedFilter.cachedDelegate, cachedNNConstraint);
int32_t L_46 = __this->___quality_13;
if ((((int32_t)L_46) >= ((int32_t)2)))
{
goto IL_011a;
}
}
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_47 = ___0_p;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_48 = V_0;
Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE* L_49 = __this->___cachedFilter_18;
NullCheck(L_49);
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_50 = L_49->___cachedDelegate_1;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_51 = __this->___cachedNNConstraint_19;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_52;
L_52 = RaycastModifier_ApplyGreedy_m2A530075BFB03B942F6B6F8377A9C5EE4DB5D38E(__this, L_47, L_48, L_50, L_51, NULL);
G_B11_0 = L_52;
goto IL_0133;
}
IL_011a:
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_53 = ___0_p;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_54 = V_0;
Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE* L_55 = __this->___cachedFilter_18;
NullCheck(L_55);
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_56 = L_55->___cachedDelegate_1;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_57 = __this->___cachedNNConstraint_19;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_58;
L_58 = RaycastModifier_ApplyDP_m04864211BF91216C171CA8A4BE84EBB9DBE65EFF(__this, L_53, L_54, L_56, L_57, NULL);
G_B11_0 = L_58;
}
IL_0133:
{
V_0 = G_B11_0;
// for (int it = 0; it < iterations; it++) {
int32_t L_59 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_59, 1));
}
IL_013a:
{
// for (int it = 0; it < iterations; it++) {
int32_t L_60 = V_4;
int32_t L_61 = V_3;
if ((((int32_t)L_60) < ((int32_t)L_61)))
{
goto IL_00ca;
}
}
{
// if ((iterations % 2) == 0) points.Reverse();
int32_t L_62 = V_3;
if (((int32_t)(L_62%2)))
{
goto IL_014a;
}
}
{
// if ((iterations % 2) == 0) points.Reverse();
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_63 = V_0;
NullCheck(L_63);
List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72(L_63, List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var);
}
IL_014a:
{
// p.vectorPath = points;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_64 = ___0_p;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_65 = V_0;
NullCheck(L_64);
L_64->___vectorPath_9 = L_65;
Il2CppCodeGenWriteBarrier((void**)(&L_64->___vectorPath_9), (void*)L_65);
// }
return;
}
}
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.RaycastModifier::ApplyGreedy(Pathfinding.Path,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Func`2<Pathfinding.GraphNode,System.Boolean>,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* RaycastModifier_ApplyGreedy_m2A530075BFB03B942F6B6F8377A9C5EE4DB5D38E (RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_points, Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* ___2_filter, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___3_nnConstraint, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
memset((&V_7), 0, sizeof(V_7));
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_8 = NULL;
int32_t V_9 = 0;
int32_t V_10 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_11;
memset((&V_11), 0, sizeof(V_11));
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_12 = NULL;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B5_0 = NULL;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B12_0 = NULL;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B18_0 = NULL;
{
// bool canBeOriginalNodes = points.Count == p.path.Count;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_0 = ___1_points;
NullCheck(L_0);
int32_t L_1;
L_1 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_0, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_2 = ___0_p;
NullCheck(L_2);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_3 = L_2->___path_8;
NullCheck(L_3);
int32_t L_4;
L_4 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_3, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
V_0 = (bool)((((int32_t)L_1) == ((int32_t)L_4))? 1 : 0);
// int startIndex = 0;
V_1 = 0;
goto IL_015c;
}
IL_001b:
{
// Vector3 start = points[startIndex];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_5 = ___1_points;
int32_t L_6 = V_1;
NullCheck(L_5);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_5, L_6, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_2 = L_7;
// var startNode = canBeOriginalNodes && points[startIndex] == (Vector3)p.path[startIndex].position ? p.path[startIndex] : null;
bool L_8 = V_0;
if (!L_8)
{
goto IL_004a;
}
}
{
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_9 = ___1_points;
int32_t L_10 = V_1;
NullCheck(L_9);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
L_11 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_9, L_10, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_12 = ___0_p;
NullCheck(L_12);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_13 = L_12->___path_8;
int32_t L_14 = V_1;
NullCheck(L_13);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_15;
L_15 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_13, L_14, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_15);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_16 = L_15->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
L_17 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_16, NULL);
bool L_18;
L_18 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_11, L_17, NULL);
if (L_18)
{
goto IL_004d;
}
}
IL_004a:
{
G_B5_0 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)(NULL));
goto IL_0059;
}
IL_004d:
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_19 = ___0_p;
NullCheck(L_19);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_20 = L_19->___path_8;
int32_t L_21 = V_1;
NullCheck(L_20);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_22;
L_22 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_20, L_21, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
G_B5_0 = L_22;
}
IL_0059:
{
V_3 = G_B5_0;
// buffer.Add(start);
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_23 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_2;
NullCheck(L_23);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_23, L_24, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// int mn = 1, mx = 2;
V_4 = 1;
// int mn = 1, mx = 2;
V_5 = 2;
}
IL_006b:
{
// int endIndex = startIndex + mx;
int32_t L_25 = V_1;
int32_t L_26 = V_5;
V_6 = ((int32_t)il2cpp_codegen_add(L_25, L_26));
// if (endIndex >= points.Count) {
int32_t L_27 = V_6;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_28 = ___1_points;
NullCheck(L_28);
int32_t L_29;
L_29 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_28, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_27) < ((int32_t)L_29)))
{
goto IL_008a;
}
}
{
// mx = points.Count - startIndex;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_30 = ___1_points;
NullCheck(L_30);
int32_t L_31;
L_31 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_30, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
int32_t L_32 = V_1;
V_5 = ((int32_t)il2cpp_codegen_subtract(L_31, L_32));
// break;
goto IL_014f;
}
IL_008a:
{
// Vector3 end = points[endIndex];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_33 = ___1_points;
int32_t L_34 = V_6;
NullCheck(L_33);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
L_35 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_33, L_34, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_7 = L_35;
// var endNode = canBeOriginalNodes && end == (Vector3)p.path[endIndex].position ? p.path[endIndex] : null;
bool L_36 = V_0;
if (!L_36)
{
goto IL_00b7;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_7;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_38 = ___0_p;
NullCheck(L_38);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_39 = L_38->___path_8;
int32_t L_40 = V_6;
NullCheck(L_39);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_41;
L_41 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_39, L_40, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_41);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_42 = L_41->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
L_43 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_42, NULL);
bool L_44;
L_44 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_37, L_43, NULL);
if (L_44)
{
goto IL_00ba;
}
}
IL_00b7:
{
G_B12_0 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)(NULL));
goto IL_00c7;
}
IL_00ba:
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_45 = ___0_p;
NullCheck(L_45);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_46 = L_45->___path_8;
int32_t L_47 = V_6;
NullCheck(L_46);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_48;
L_48 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_46, L_47, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
G_B12_0 = L_48;
}
IL_00c7:
{
V_8 = G_B12_0;
// if (!ValidateLine(startNode, endNode, start, end, filter, nnConstraint)) break;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_49 = V_3;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_50 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = V_7;
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_53 = ___2_filter;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_54 = ___3_nnConstraint;
bool L_55;
L_55 = RaycastModifier_ValidateLine_m9723BC45E8810795ADC608D338082FEC14B4EE3D(__this, L_49, L_50, L_51, L_52, L_53, L_54, NULL);
if (!L_55)
{
goto IL_014f;
}
}
{
// mn = mx;
int32_t L_56 = V_5;
V_4 = L_56;
// mx *= 2;
int32_t L_57 = V_5;
V_5 = ((int32_t)il2cpp_codegen_multiply(L_57, 2));
// while (true) {
goto IL_006b;
}
IL_00e6:
{
// int mid = (mn + mx)/2;
int32_t L_58 = V_4;
int32_t L_59 = V_5;
V_9 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_58, L_59))/2));
// int endIndex = startIndex + mid;
int32_t L_60 = V_1;
int32_t L_61 = V_9;
V_10 = ((int32_t)il2cpp_codegen_add(L_60, L_61));
// Vector3 end = points[endIndex];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_62 = ___1_points;
int32_t L_63 = V_10;
NullCheck(L_62);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
L_64 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_62, L_63, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_11 = L_64;
// var endNode = canBeOriginalNodes && end == (Vector3)p.path[endIndex].position ? p.path[endIndex] : null;
bool L_65 = V_0;
if (!L_65)
{
goto IL_0122;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = V_11;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_67 = ___0_p;
NullCheck(L_67);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_68 = L_67->___path_8;
int32_t L_69 = V_10;
NullCheck(L_68);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_70;
L_70 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_68, L_69, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_70);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_71 = L_70->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
L_72 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_71, NULL);
bool L_73;
L_73 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_66, L_72, NULL);
if (L_73)
{
goto IL_0125;
}
}
IL_0122:
{
G_B18_0 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)(NULL));
goto IL_0132;
}
IL_0125:
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_74 = ___0_p;
NullCheck(L_74);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_75 = L_74->___path_8;
int32_t L_76 = V_10;
NullCheck(L_75);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_77;
L_77 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_75, L_76, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
G_B18_0 = L_77;
}
IL_0132:
{
V_12 = G_B18_0;
// if (ValidateLine(startNode, endNode, start, end, filter, nnConstraint)) {
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_78 = V_3;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_79 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81 = V_11;
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_82 = ___2_filter;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_83 = ___3_nnConstraint;
bool L_84;
L_84 = RaycastModifier_ValidateLine_m9723BC45E8810795ADC608D338082FEC14B4EE3D(__this, L_78, L_79, L_80, L_81, L_82, L_83, NULL);
if (!L_84)
{
goto IL_014b;
}
}
{
// mn = mid;
int32_t L_85 = V_9;
V_4 = L_85;
goto IL_014f;
}
IL_014b:
{
// mx = mid;
int32_t L_86 = V_9;
V_5 = L_86;
}
IL_014f:
{
// while (mn + 1 < mx) {
int32_t L_87 = V_4;
int32_t L_88 = V_5;
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_87, 1))) < ((int32_t)L_88)))
{
goto IL_00e6;
}
}
{
// startIndex += mn;
int32_t L_89 = V_1;
int32_t L_90 = V_4;
V_1 = ((int32_t)il2cpp_codegen_add(L_89, L_90));
}
IL_015c:
{
// while (startIndex < points.Count) {
int32_t L_91 = V_1;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_92 = ___1_points;
NullCheck(L_92);
int32_t L_93;
L_93 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_92, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_91) < ((int32_t)L_93)))
{
goto IL_001b;
}
}
{
// Memory.Swap(ref buffer, ref points);
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937((&((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15), (&___1_points), Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937_RuntimeMethod_var);
// buffer.ClearFast();
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_94 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15;
ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB(L_94, ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_RuntimeMethod_var);
// return points;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_95 = ___1_points;
return L_95;
}
}
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.RaycastModifier::ApplyDP(Pathfinding.Path,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Func`2<Pathfinding.GraphNode,System.Boolean>,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* RaycastModifier_ApplyDP_m04864211BF91216C171CA8A4BE84EBB9DBE65EFF (RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_points, Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* ___2_filter, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___3_nnConstraint, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
float V_5 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
memset((&V_6), 0, sizeof(V_6));
bool V_7 = false;
int32_t V_8 = 0;
float V_9 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
memset((&V_10), 0, sizeof(V_10));
bool V_11 = false;
int32_t G_B9_0 = 0;
int32_t G_B15_0 = 0;
RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* G_B18_0 = NULL;
RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* G_B17_0 = NULL;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B19_0 = NULL;
RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* G_B19_1 = NULL;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B21_0 = NULL;
RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* G_B21_1 = NULL;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B20_0 = NULL;
RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* G_B20_1 = NULL;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B22_0 = NULL;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B22_1 = NULL;
RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* G_B22_2 = NULL;
{
// if (DPCosts.Length < points.Count) {
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_0 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPCosts_16;
NullCheck(L_0);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = ___1_points;
NullCheck(L_1);
int32_t L_2;
L_2 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_1, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))) >= ((int32_t)L_2)))
{
goto IL_002f;
}
}
{
// DPCosts = new float[points.Count];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_3 = ___1_points;
NullCheck(L_3);
int32_t L_4;
L_4 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_3, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_5 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)L_4);
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPCosts_16 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPCosts_16), (void*)L_5);
// DPParents = new int[points.Count];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = ___1_points;
NullCheck(L_6);
int32_t L_7;
L_7 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_6, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_7);
((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPParents_17 = L_8;
Il2CppCodeGenWriteBarrier((void**)(&((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPParents_17), (void*)L_8);
}
IL_002f:
{
// for (int i = 0; i < DPParents.Length; i++) DPCosts[i] = DPParents[i] = -1;
V_2 = 0;
goto IL_004a;
}
IL_0033:
{
// for (int i = 0; i < DPParents.Length; i++) DPCosts[i] = DPParents[i] = -1;
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_9 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPCosts_16;
int32_t L_10 = V_2;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPParents_17;
int32_t L_12 = V_2;
int32_t L_13 = (-1);
V_3 = L_13;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (int32_t)L_13);
int32_t L_14 = V_3;
NullCheck(L_9);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(L_10), (float)((float)L_14));
// for (int i = 0; i < DPParents.Length; i++) DPCosts[i] = DPParents[i] = -1;
int32_t L_15 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_15, 1));
}
IL_004a:
{
// for (int i = 0; i < DPParents.Length; i++) DPCosts[i] = DPParents[i] = -1;
int32_t L_16 = V_2;
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_17 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPParents_17;
NullCheck(L_17);
if ((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))
{
goto IL_0033;
}
}
{
// bool canBeOriginalNodes = points.Count == p.path.Count;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_18 = ___1_points;
NullCheck(L_18);
int32_t L_19;
L_19 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_18, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_20 = ___0_p;
NullCheck(L_20);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_21 = L_20->___path_8;
NullCheck(L_21);
int32_t L_22;
L_22 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_21, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
V_0 = (bool)((((int32_t)L_19) == ((int32_t)L_22))? 1 : 0);
// for (int i = 0; i < points.Count; i++) {
V_4 = 0;
goto IL_0190;
}
IL_0070:
{
// float d = DPCosts[i];
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_23 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPCosts_16;
int32_t L_24 = V_4;
NullCheck(L_23);
int32_t L_25 = L_24;
float L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
V_5 = L_26;
// Vector3 start = points[i];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_27 = ___1_points;
int32_t L_28 = V_4;
NullCheck(L_27);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
L_29 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_27, L_28, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_6 = L_29;
// var startIsOriginalNode = canBeOriginalNodes && start == (Vector3)p.path[i].position;
bool L_30 = V_0;
if (!L_30)
{
goto IL_00a7;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_6;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_32 = ___0_p;
NullCheck(L_32);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_33 = L_32->___path_8;
int32_t L_34 = V_4;
NullCheck(L_33);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_35;
L_35 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_33, L_34, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_35);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_36 = L_35->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
L_37 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_36, NULL);
bool L_38;
L_38 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_31, L_37, NULL);
G_B9_0 = ((int32_t)(L_38));
goto IL_00a8;
}
IL_00a7:
{
G_B9_0 = 0;
}
IL_00a8:
{
V_7 = (bool)G_B9_0;
// for (int j = i+1; j < points.Count; j++) {
int32_t L_39 = V_4;
V_8 = ((int32_t)il2cpp_codegen_add(L_39, 1));
goto IL_017d;
}
IL_00b5:
{
// float d2 = d + (points[j] - start).magnitude + 0.0001f;
float L_40 = V_5;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_41 = ___1_points;
int32_t L_42 = V_8;
NullCheck(L_41);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
L_43 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_41, L_42, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
L_45 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_43, L_44, NULL);
V_10 = L_45;
float L_46;
L_46 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_10), NULL);
V_9 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_40, L_46)), (9.99999975E-05f)));
// if (DPParents[j] == -1 || d2 < DPCosts[j]) {
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_47 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPParents_17;
int32_t L_48 = V_8;
NullCheck(L_47);
int32_t L_49 = L_48;
int32_t L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
if ((((int32_t)L_50) == ((int32_t)(-1))))
{
goto IL_00f2;
}
}
{
float L_51 = V_9;
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_52 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPCosts_16;
int32_t L_53 = V_8;
NullCheck(L_52);
int32_t L_54 = L_53;
float L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
if ((!(((float)L_51) < ((float)L_55))))
{
goto IL_0177;
}
}
IL_00f2:
{
// var endIsOriginalNode = canBeOriginalNodes && points[j] == (Vector3)p.path[j].position;
bool L_56 = V_0;
if (!L_56)
{
goto IL_011b;
}
}
{
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_57 = ___1_points;
int32_t L_58 = V_8;
NullCheck(L_57);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
L_59 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_57, L_58, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_60 = ___0_p;
NullCheck(L_60);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_61 = L_60->___path_8;
int32_t L_62 = V_8;
NullCheck(L_61);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_63;
L_63 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_61, L_62, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
NullCheck(L_63);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_64 = L_63->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
L_65 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_64, NULL);
bool L_66;
L_66 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_59, L_65, NULL);
G_B15_0 = ((int32_t)(L_66));
goto IL_011c;
}
IL_011b:
{
G_B15_0 = 0;
}
IL_011c:
{
V_11 = (bool)G_B15_0;
// if (j == i+1 || ValidateLine(startIsOriginalNode ? p.path[i] : null, endIsOriginalNode ? p.path[j] : null, start, points[j], filter, nnConstraint)) {
int32_t L_67 = V_8;
int32_t L_68 = V_4;
if ((((int32_t)L_67) == ((int32_t)((int32_t)il2cpp_codegen_add(L_68, 1)))))
{
goto IL_0163;
}
}
{
bool L_69 = V_7;
G_B17_0 = __this;
if (L_69)
{
G_B18_0 = __this;
goto IL_012e;
}
}
{
G_B19_0 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)(NULL));
G_B19_1 = G_B17_0;
goto IL_013b;
}
IL_012e:
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_70 = ___0_p;
NullCheck(L_70);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_71 = L_70->___path_8;
int32_t L_72 = V_4;
NullCheck(L_71);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_73;
L_73 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_71, L_72, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
G_B19_0 = L_73;
G_B19_1 = G_B18_0;
}
IL_013b:
{
bool L_74 = V_11;
G_B20_0 = G_B19_0;
G_B20_1 = G_B19_1;
if (L_74)
{
G_B21_0 = G_B19_0;
G_B21_1 = G_B19_1;
goto IL_0142;
}
}
{
G_B22_0 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)(NULL));
G_B22_1 = G_B20_0;
G_B22_2 = G_B20_1;
goto IL_014f;
}
IL_0142:
{
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_75 = ___0_p;
NullCheck(L_75);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_76 = L_75->___path_8;
int32_t L_77 = V_8;
NullCheck(L_76);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_78;
L_78 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_76, L_77, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
G_B22_0 = L_78;
G_B22_1 = G_B21_0;
G_B22_2 = G_B21_1;
}
IL_014f:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79 = V_6;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_80 = ___1_points;
int32_t L_81 = V_8;
NullCheck(L_80);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
L_82 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_80, L_81, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_83 = ___2_filter;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_84 = ___3_nnConstraint;
NullCheck(G_B22_2);
bool L_85;
L_85 = RaycastModifier_ValidateLine_m9723BC45E8810795ADC608D338082FEC14B4EE3D(G_B22_2, G_B22_1, G_B22_0, L_79, L_82, L_83, L_84, NULL);
if (!L_85)
{
goto IL_018a;
}
}
IL_0163:
{
// DPCosts[j] = d2;
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_86 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPCosts_16;
int32_t L_87 = V_8;
float L_88 = V_9;
NullCheck(L_86);
(L_86)->SetAt(static_cast<il2cpp_array_size_t>(L_87), (float)L_88);
// DPParents[j] = i;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_89 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPParents_17;
int32_t L_90 = V_8;
int32_t L_91 = V_4;
NullCheck(L_89);
(L_89)->SetAt(static_cast<il2cpp_array_size_t>(L_90), (int32_t)L_91);
}
IL_0177:
{
// for (int j = i+1; j < points.Count; j++) {
int32_t L_92 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add(L_92, 1));
}
IL_017d:
{
// for (int j = i+1; j < points.Count; j++) {
int32_t L_93 = V_8;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_94 = ___1_points;
NullCheck(L_94);
int32_t L_95;
L_95 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_94, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_93) < ((int32_t)L_95)))
{
goto IL_00b5;
}
}
IL_018a:
{
// for (int i = 0; i < points.Count; i++) {
int32_t L_96 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_96, 1));
}
IL_0190:
{
// for (int i = 0; i < points.Count; i++) {
int32_t L_97 = V_4;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_98 = ___1_points;
NullCheck(L_98);
int32_t L_99;
L_99 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_98, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_97) < ((int32_t)L_99)))
{
goto IL_0070;
}
}
{
// int c = points.Count - 1;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_100 = ___1_points;
NullCheck(L_100);
int32_t L_101;
L_101 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_100, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
V_1 = ((int32_t)il2cpp_codegen_subtract(L_101, 1));
goto IL_01c1;
}
IL_01a8:
{
// buffer.Add(points[c]);
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_102 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_103 = ___1_points;
int32_t L_104 = V_1;
NullCheck(L_103);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105;
L_105 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_103, L_104, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
NullCheck(L_102);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_102, L_105, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// c = DPParents[c];
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_106 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPParents_17;
int32_t L_107 = V_1;
NullCheck(L_106);
int32_t L_108 = L_107;
int32_t L_109 = (L_106)->GetAt(static_cast<il2cpp_array_size_t>(L_108));
V_1 = L_109;
}
IL_01c1:
{
// while (c != -1) {
int32_t L_110 = V_1;
if ((!(((uint32_t)L_110) == ((uint32_t)(-1)))))
{
goto IL_01a8;
}
}
{
// buffer.Reverse();
il2cpp_codegen_runtime_class_init_inline(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_111 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15;
NullCheck(L_111);
List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72(L_111, List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var);
// Memory.Swap(ref buffer, ref points);
Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937((&((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15), (&___1_points), Memory_Swap_TisList_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_m62BB9C0CD87EAB27657FEE5B43114FBEA24DD937_RuntimeMethod_var);
// buffer.ClearFast();
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_112 = ((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15;
ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB(L_112, ListExtensions_ClearFast_TisVector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_m7E4C2F116ECD9A76AB794D731343715CB79FA8FB_RuntimeMethod_var);
// return points;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_113 = ___1_points;
return L_113;
}
}
// System.Boolean Pathfinding.RaycastModifier::ValidateLine(Pathfinding.GraphNode,Pathfinding.GraphNode,UnityEngine.Vector3,UnityEngine.Vector3,System.Func`2<Pathfinding.GraphNode,System.Boolean>,Pathfinding.NNConstraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RaycastModifier_ValidateLine_m9723BC45E8810795ADC608D338082FEC14B4EE3D (RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_n1, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_n2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_v1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_v2, Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* ___4_filter, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___5_nnConstraint, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IRaycastableGraph_t833F9A92A796447C85D2C83EFEC6CC894EAD7336_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* V_1 = NULL;
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* V_2 = NULL;
RuntimeObject* V_3 = NULL;
GraphHitInfo_tAADF50478FBE1A94D43AE3F349EE1E4AEAB5CBE0 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// if (useRaycasting) {
bool L_0 = __this->___useRaycasting_6;
if (!L_0)
{
goto IL_0188;
}
}
{
// if (use2DPhysics) {
bool L_1 = __this->___use2DPhysics_10;
if (!L_1)
{
goto IL_00b7;
}
}
{
// if (thickRaycast && thickRaycastRadius > 0 && Physics2D.CircleCast(v1 + raycastOffset, thickRaycastRadius, v2 - v1, (v2 - v1).magnitude, mask)) {
bool L_2 = __this->___thickRaycast_8;
if (!L_2)
{
goto IL_0078;
}
}
{
float L_3 = __this->___thickRaycastRadius_9;
if ((!(((float)L_3) > ((float)(0.0f)))))
{
goto IL_0078;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = __this->___raycastOffset_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_4, L_5, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7;
L_7 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_6, NULL);
float L_8 = __this->___thickRaycastRadius_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___3_v2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
L_11 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_9, L_10, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12;
L_12 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_11, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___3_v2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
L_15 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_13, L_14, NULL);
V_0 = L_15;
float L_16;
L_16 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_0), NULL);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_17 = __this->___mask_7;
int32_t L_18;
L_18 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_17, NULL);
il2cpp_codegen_runtime_class_init_inline(Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA L_19;
L_19 = Physics2D_CircleCast_mFDA98331D99470872994987932FCAF8E2539467A(L_7, L_8, L_12, L_16, L_18, NULL);
bool L_20;
L_20 = RaycastHit2D_op_Implicit_mBEF99A746116664D68B1398D58CA247550980A11(L_19, NULL);
if (!L_20)
{
goto IL_0078;
}
}
{
// return false;
return (bool)0;
}
IL_0078:
{
// if (Physics2D.Linecast(v1+raycastOffset, v2+raycastOffset, mask)) {
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = __this->___raycastOffset_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
L_23 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_21, L_22, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_24;
L_24 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_23, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = ___3_v2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = __this->___raycastOffset_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
L_27 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_25, L_26, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_28;
L_28 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_27, NULL);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_29 = __this->___mask_7;
int32_t L_30;
L_30 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_29, NULL);
il2cpp_codegen_runtime_class_init_inline(Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
RaycastHit2D_t3EAAA06E6603C6BC61AC1291DD881C5C1E23BDFA L_31;
L_31 = Physics2D_Linecast_m9812FA76F939EF9A8DA87B6C27F2C91C751533B3(L_24, L_28, L_30, NULL);
bool L_32;
L_32 = RaycastHit2D_op_Implicit_mBEF99A746116664D68B1398D58CA247550980A11(L_31, NULL);
if (!L_32)
{
goto IL_0188;
}
}
{
// return false;
return (bool)0;
}
IL_00b7:
{
// if (Physics.Linecast(v1+raycastOffset, v2+raycastOffset, mask)) {
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = __this->___raycastOffset_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
L_35 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_33, L_34, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = ___3_v2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = __this->___raycastOffset_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
L_38 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_36, L_37, NULL);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_39 = __this->___mask_7;
int32_t L_40;
L_40 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_39, NULL);
bool L_41;
L_41 = Physics_Linecast_mE693FAFE56D0E69918A0948310EF642094C91DC0(L_35, L_38, L_40, NULL);
if (!L_41)
{
goto IL_00e4;
}
}
{
// return false;
return (bool)0;
}
IL_00e4:
{
// if (thickRaycast && thickRaycastRadius > 0) {
bool L_42 = __this->___thickRaycast_8;
if (!L_42)
{
goto IL_0188;
}
}
{
float L_43 = __this->___thickRaycastRadius_9;
if ((!(((float)L_43) > ((float)(0.0f)))))
{
goto IL_0188;
}
}
{
// if (Physics.CheckSphere(v1 + raycastOffset + (v2 - v1).normalized * thickRaycastRadius, thickRaycastRadius, mask)) {
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = __this->___raycastOffset_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
L_46 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_44, L_45, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = ___3_v2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
L_49 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_47, L_48, NULL);
V_0 = L_49;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
L_50 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_0), NULL);
float L_51 = __this->___thickRaycastRadius_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
L_52 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_50, L_51, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
L_53 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_46, L_52, NULL);
float L_54 = __this->___thickRaycastRadius_9;
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_55 = __this->___mask_7;
int32_t L_56;
L_56 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_55, NULL);
bool L_57;
L_57 = Physics_CheckSphere_mD6F0027DBDECFA69245E99D8A4EE1DC8742A817F(L_53, L_54, L_56, NULL);
if (!L_57)
{
goto IL_0145;
}
}
{
// return false;
return (bool)0;
}
IL_0145:
{
// if (Physics.SphereCast(new Ray(v1+raycastOffset, v2-v1), thickRaycastRadius, (v2-v1).magnitude, mask)) {
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = __this->___raycastOffset_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
L_60 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_58, L_59, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = ___3_v2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
L_63 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_61, L_62, NULL);
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_64;
memset((&L_64), 0, sizeof(L_64));
Ray__ctor_mE298992FD10A3894C38373198385F345C58BD64C((&L_64), L_60, L_63, /*hidden argument*/NULL);
float L_65 = __this->___thickRaycastRadius_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = ___3_v2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
L_68 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_66, L_67, NULL);
V_0 = L_68;
float L_69;
L_69 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_0), NULL);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_70 = __this->___mask_7;
int32_t L_71;
L_71 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_70, NULL);
bool L_72;
L_72 = Physics_SphereCast_mCE6B04501EE9D9DF9E6AE427BD9496F69467FAD5(L_64, L_65, L_69, L_71, NULL);
if (!L_72)
{
goto IL_0188;
}
}
{
// return false;
return (bool)0;
}
IL_0188:
{
// if (useGraphRaycasting) {
bool L_73 = __this->___useGraphRaycasting_12;
if (!L_73)
{
goto IL_01f5;
}
}
{
// if (n1 == null) n1 = AstarPath.active.GetNearest(v1, nnConstraint).node;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_74 = ___0_n1;
if (L_74)
{
goto IL_01a7;
}
}
{
// if (n1 == null) n1 = AstarPath.active.GetNearest(v1, nnConstraint).node;
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_75 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76 = ___2_v1;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_77 = ___5_nnConstraint;
NullCheck(L_75);
NNInfo_tA85703447EFEE17F9138E4518FC423F3870AE7A2 L_78;
L_78 = AstarPath_GetNearest_mEDA1176CC4AFCAD80383D0D747CA2FC45C1950A3(L_75, L_76, L_77, NULL);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_79 = L_78.___node_0;
___0_n1 = L_79;
}
IL_01a7:
{
// if (n2 == null) n2 = AstarPath.active.GetNearest(v2, nnConstraint).node;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_80 = ___1_n2;
if (L_80)
{
goto IL_01bf;
}
}
{
// if (n2 == null) n2 = AstarPath.active.GetNearest(v2, nnConstraint).node;
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_81 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82 = ___3_v2;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_83 = ___5_nnConstraint;
NullCheck(L_81);
NNInfo_tA85703447EFEE17F9138E4518FC423F3870AE7A2 L_84;
L_84 = AstarPath_GetNearest_mEDA1176CC4AFCAD80383D0D747CA2FC45C1950A3(L_81, L_82, L_83, NULL);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_85 = L_84.___node_0;
___1_n2 = L_85;
}
IL_01bf:
{
// if (n1 != null && n2 != null) {
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_86 = ___0_n1;
if (!L_86)
{
goto IL_01f5;
}
}
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_87 = ___1_n2;
if (!L_87)
{
goto IL_01f5;
}
}
{
// NavGraph graph = n1.Graph;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_88 = ___0_n1;
NullCheck(L_88);
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* L_89;
L_89 = GraphNode_get_Graph_mB23268E38AA50142FEE9276D0F2C11146E4A50AE(L_88, NULL);
V_1 = L_89;
// NavGraph graph2 = n2.Graph;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_90 = ___1_n2;
NullCheck(L_90);
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* L_91;
L_91 = GraphNode_get_Graph_mB23268E38AA50142FEE9276D0F2C11146E4A50AE(L_90, NULL);
V_2 = L_91;
// if (graph != graph2) {
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* L_92 = V_1;
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* L_93 = V_2;
if ((((RuntimeObject*)(NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)L_92) == ((RuntimeObject*)(NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)L_93)))
{
goto IL_01d9;
}
}
{
// return false;
return (bool)0;
}
IL_01d9:
{
// var rayGraph = graph as IRaycastableGraph;
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* L_94 = V_1;
V_3 = ((RuntimeObject*)IsInst((RuntimeObject*)L_94, IRaycastableGraph_t833F9A92A796447C85D2C83EFEC6CC894EAD7336_il2cpp_TypeInfo_var));
// if (rayGraph != null) {
RuntimeObject* L_95 = V_3;
if (!L_95)
{
goto IL_01f5;
}
}
{
// return !rayGraph.Linecast(v1, v2, out GraphHitInfo _, null, filter);
RuntimeObject* L_96 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97 = ___2_v1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98 = ___3_v2;
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_99 = ___4_filter;
NullCheck(L_96);
bool L_100;
L_100 = InterfaceFuncInvoker5< bool, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, GraphHitInfo_tAADF50478FBE1A94D43AE3F349EE1E4AEAB5CBE0*, List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* >::Invoke(4 /* System.Boolean Pathfinding.IRaycastableGraph::Linecast(UnityEngine.Vector3,UnityEngine.Vector3,Pathfinding.GraphHitInfo&,System.Collections.Generic.List`1<Pathfinding.GraphNode>,System.Func`2<Pathfinding.GraphNode,System.Boolean>) */, IRaycastableGraph_t833F9A92A796447C85D2C83EFEC6CC894EAD7336_il2cpp_TypeInfo_var, L_96, L_97, L_98, (&V_4), (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*)NULL, L_99);
return (bool)((((int32_t)L_100) == ((int32_t)0))? 1 : 0);
}
IL_01f5:
{
// return true;
return (bool)1;
}
}
// System.Void Pathfinding.RaycastModifier::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaycastModifier__ctor_m2224A8CE30571074C1871CA478DCCCF7BE49B70E (RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public bool useRaycasting = true;
__this->___useRaycasting_6 = (bool)1;
// public LayerMask mask = -1;
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_0;
L_0 = LayerMask_op_Implicit_m01C8996A2CB2085328B9C33539C43139660D8222((-1), NULL);
__this->___mask_7 = L_0;
// public Vector3 raycastOffset = Vector3.zero;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
__this->___raycastOffset_11 = L_1;
// public Quality quality = Quality.Medium;
__this->___quality_13 = 1;
// Filter cachedFilter = new Filter();
Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE* L_2 = (Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE*)il2cpp_codegen_object_new(Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE_il2cpp_TypeInfo_var);
NullCheck(L_2);
Filter__ctor_mDCE26B49F69F2DFF397556E7DDB178A3FEAEB5EF(L_2, NULL);
__this->___cachedFilter_18 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&__this->___cachedFilter_18), (void*)L_2);
// NNConstraint cachedNNConstraint = NNConstraint.None;
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_3;
L_3 = NNConstraint_get_None_m64D379ED16BA6D507F7A3837557A44C519FA4811(NULL);
__this->___cachedNNConstraint_19 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___cachedNNConstraint_19), (void*)L_3);
MonoModifier__ctor_mEF5B826ACD1EE41EB12582AAE03927CC5D04C44E(__this, NULL);
return;
}
}
// System.Void Pathfinding.RaycastModifier::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaycastModifier__cctor_mF12718F068F8E806B67052B2D1F04D5F342B9AC1 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t96C3467432BCBA53327BCA69F3498356FA455EDC____F10EB800F205B09A732C0E1EB94A9D53194237405ABA783F698D7D11C18CFB89_2_FieldInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// static readonly int[] iterationsByQuality = new [] { 1, 2, 1, 3 };
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)4);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = L_0;
RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t96C3467432BCBA53327BCA69F3498356FA455EDC____F10EB800F205B09A732C0E1EB94A9D53194237405ABA783F698D7D11C18CFB89_2_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_1, L_2, NULL);
((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___iterationsByQuality_14 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___iterationsByQuality_14), (void*)L_1);
// static List<Vector3> buffer = new List<Vector3>();
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_3 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
NullCheck(L_3);
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_3, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___buffer_15), (void*)L_3);
// static float[] DPCosts = new float[16];
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_4 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPCosts_16 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPCosts_16), (void*)L_4);
// static int[] DPParents = new int[16];
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_5 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPParents_17 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&((RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_StaticFields*)il2cpp_codegen_static_fields_for(RaycastModifier_tF3FFBEE1699CC8CA9ED1179C3E199E74FD6F2EE0_il2cpp_TypeInfo_var))->___DPParents_17), (void*)L_5);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Pathfinding.RaycastModifier/Filter::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Filter__ctor_mDCE26B49F69F2DFF397556E7DDB178A3FEAEB5EF (Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Filter_CanTraverse_m65B185F29033C9B4DDA295E33F96B0CC89E1ADB8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public Filter() {
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
// cachedDelegate = this.CanTraverse;
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_0 = (Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB*)il2cpp_codegen_object_new(Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB_il2cpp_TypeInfo_var);
NullCheck(L_0);
Func_2__ctor_mE6C3288369F6782CCB388406CA8BB82A05334383(L_0, __this, (intptr_t)((void*)Filter_CanTraverse_m65B185F29033C9B4DDA295E33F96B0CC89E1ADB8_RuntimeMethod_var), NULL);
__this->___cachedDelegate_1 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___cachedDelegate_1), (void*)L_0);
// }
return;
}
}
// System.Boolean Pathfinding.RaycastModifier/Filter::CanTraverse(Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Filter_CanTraverse_m65B185F29033C9B4DDA295E33F96B0CC89E1ADB8 (Filter_t4C9C62F0B96FED996DED3EE2A6F9356914B4D9EE* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
{
{
// return path.CanTraverse(node);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_0 = __this->___path_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_node;
NullCheck(L_0);
bool L_2;
L_2 = Path_CanTraverse_m6591EBB82B68115ECC6D103EBF00414BDDC0A308(L_0, L_1, NULL);
return L_2;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Pathfinding.SimpleSmoothModifier::get_Order()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SimpleSmoothModifier_get_Order_mAE020042C5998326A1AD8255638BE3E048B87E54 (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, const RuntimeMethod* method)
{
{
// public override int Order { get { return 50; } }
return ((int32_t)50);
}
}
// System.Void Pathfinding.SimpleSmoothModifier::Apply(Pathfinding.Path)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleSmoothModifier_Apply_mA86A86C18FFCF307F7B2744D1D8E2550CEAD4173 (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA3CD0224CF2E61DE16825903B9A06B269894E21F);
s_Il2CppMethodInitialized = true;
}
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_0 = NULL;
int32_t V_1 = 0;
{
// if (p.vectorPath == null) {
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_0 = ___0_p;
NullCheck(L_0);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = L_0->___vectorPath_9;
if (L_1)
{
goto IL_0013;
}
}
{
// Debug.LogWarning("Can't process NULL path (has another modifier logged an error?)");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteralA3CD0224CF2E61DE16825903B9A06B269894E21F, NULL);
// return;
return;
}
IL_0013:
{
// List<Vector3> path = null;
V_0 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)NULL;
// switch (smoothType) {
int32_t L_2 = __this->___smoothType_6;
V_1 = L_2;
int32_t L_3 = V_1;
switch (L_3)
{
case 0:
{
goto IL_0034;
}
case 1:
{
goto IL_0043;
}
case 2:
{
goto IL_0052;
}
case 3:
{
goto IL_0061;
}
}
}
{
goto IL_006e;
}
IL_0034:
{
// path = SmoothSimple(p.vectorPath); break;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_4 = ___0_p;
NullCheck(L_4);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_5 = L_4->___vectorPath_9;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6;
L_6 = SimpleSmoothModifier_SmoothSimple_mA9F86CA73615D4DE4ADD5C7417B5E733179A4D5C(__this, L_5, NULL);
V_0 = L_6;
// path = SmoothSimple(p.vectorPath); break;
goto IL_006e;
}
IL_0043:
{
// path = SmoothBezier(p.vectorPath); break;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_7 = ___0_p;
NullCheck(L_7);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_8 = L_7->___vectorPath_9;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_9;
L_9 = SimpleSmoothModifier_SmoothBezier_m42BE6D751007E5B963EB838DC10A377898A8683F(__this, L_8, NULL);
V_0 = L_9;
// path = SmoothBezier(p.vectorPath); break;
goto IL_006e;
}
IL_0052:
{
// path = SmoothOffsetSimple(p.vectorPath); break;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_10 = ___0_p;
NullCheck(L_10);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_11 = L_10->___vectorPath_9;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_12;
L_12 = SimpleSmoothModifier_SmoothOffsetSimple_m00EE01D589060F5C79BFF72844DBFCCA84EA0792(__this, L_11, NULL);
V_0 = L_12;
// path = SmoothOffsetSimple(p.vectorPath); break;
goto IL_006e;
}
IL_0061:
{
// path = CurvedNonuniform(p.vectorPath); break;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_13 = ___0_p;
NullCheck(L_13);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_14 = L_13->___vectorPath_9;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_15;
L_15 = SimpleSmoothModifier_CurvedNonuniform_mD9AC6F9C0AC05CF93FABDF414141A74434BA8EA9(__this, L_14, NULL);
V_0 = L_15;
}
IL_006e:
{
// if (path != p.vectorPath) {
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_16 = V_0;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_17 = ___0_p;
NullCheck(L_17);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_18 = L_17->___vectorPath_9;
if ((((RuntimeObject*)(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)L_16) == ((RuntimeObject*)(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)L_18)))
{
goto IL_0089;
}
}
{
// ListPool<Vector3>.Release(ref p.vectorPath);
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_19 = ___0_p;
NullCheck(L_19);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** L_20 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B**)(&L_19->___vectorPath_9);
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0(L_20, ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
// p.vectorPath = path;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_21 = ___0_p;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_22 = V_0;
NullCheck(L_21);
L_21->___vectorPath_9 = L_22;
Il2CppCodeGenWriteBarrier((void**)(&L_21->___vectorPath_9), (void*)L_22);
}
IL_0089:
{
// }
return;
}
}
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.SimpleSmoothModifier::CurvedNonuniform(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* SimpleSmoothModifier_CurvedNonuniform_mD9AC6F9C0AC05CF93FABDF414141A74434BA8EA9 (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_path, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral816AF15D1D3239E081779CE3E6B255C50367DAC3);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_1 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
int32_t V_3 = 0;
float V_4 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
memset((&V_5), 0, sizeof(V_5));
float V_6 = 0.0f;
int32_t V_7 = 0;
float V_8 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
memset((&V_9), 0, sizeof(V_9));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
memset((&V_10), 0, sizeof(V_10));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_11;
memset((&V_11), 0, sizeof(V_11));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_12;
memset((&V_12), 0, sizeof(V_12));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_13;
memset((&V_13), 0, sizeof(V_13));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_14;
memset((&V_14), 0, sizeof(V_14));
float V_15 = 0.0f;
float V_16 = 0.0f;
float V_17 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B12_0;
memset((&G_B12_0), 0, sizeof(G_B12_0));
{
// if (maxSegmentLength <= 0) {
float L_0 = __this->___maxSegmentLength_11;
if ((!(((float)L_0) <= ((float)(0.0f)))))
{
goto IL_0019;
}
}
{
// Debug.LogWarning("Max Segment Length is <= 0 which would cause DivByZero-exception or other nasty errors (avoid this)");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteral816AF15D1D3239E081779CE3E6B255C50367DAC3, NULL);
// return path;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = ___0_path;
return L_1;
}
IL_0019:
{
// int pointCounter = 0;
V_0 = 0;
// for (int i = 0; i < path.Count-1; i++) {
V_3 = 0;
goto IL_0061;
}
IL_001f:
{
// float dist = (path[i]-path[i+1]).magnitude;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_2 = ___0_path;
int32_t L_3 = V_3;
NullCheck(L_2);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_2, L_3, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_5 = ___0_path;
int32_t L_6 = V_3;
NullCheck(L_5);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_5, ((int32_t)il2cpp_codegen_add(L_6, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
L_8 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_4, L_7, NULL);
V_5 = L_8;
float L_9;
L_9 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_5), NULL);
V_4 = L_9;
// for (float t = 0; t <= dist; t += maxSegmentLength) {
V_6 = (0.0f);
goto IL_0057;
}
IL_0048:
{
// pointCounter++;
int32_t L_10 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_10, 1));
// for (float t = 0; t <= dist; t += maxSegmentLength) {
float L_11 = V_6;
float L_12 = __this->___maxSegmentLength_11;
V_6 = ((float)il2cpp_codegen_add(L_11, L_12));
}
IL_0057:
{
// for (float t = 0; t <= dist; t += maxSegmentLength) {
float L_13 = V_6;
float L_14 = V_4;
if ((((float)L_13) <= ((float)L_14)))
{
goto IL_0048;
}
}
{
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_15 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_15, 1));
}
IL_0061:
{
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_16 = V_3;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_17 = ___0_path;
NullCheck(L_17);
int32_t L_18;
L_18 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_17, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_16) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_18, 1)))))
{
goto IL_001f;
}
}
{
// List<Vector3> subdivided = ListPool<Vector3>.Claim(pointCounter);
int32_t L_19 = V_0;
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_20;
L_20 = ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88(L_19, ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_RuntimeMethod_var);
V_1 = L_20;
// Vector3 preEndVel = (path[1]-path[0]).normalized;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_21 = ___0_path;
NullCheck(L_21);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
L_22 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_21, 1, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_23 = ___0_path;
NullCheck(L_23);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
L_24 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_23, 0, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_22, L_24, NULL);
V_5 = L_25;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
L_26 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_5), NULL);
V_2 = L_26;
// for (int i = 0; i < path.Count-1; i++) {
V_7 = 0;
goto IL_01c8;
}
IL_0098:
{
// float dist = (path[i]-path[i+1]).magnitude;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_27 = ___0_path;
int32_t L_28 = V_7;
NullCheck(L_27);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
L_29 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_27, L_28, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_30 = ___0_path;
int32_t L_31 = V_7;
NullCheck(L_30);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
L_32 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_30, ((int32_t)il2cpp_codegen_add(L_31, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
L_33 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_29, L_32, NULL);
V_5 = L_33;
float L_34;
L_34 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_5), NULL);
V_8 = L_34;
// Vector3 startVel1 = preEndVel;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_2;
V_9 = L_35;
// Vector3 endVel1 = i < path.Count-2 ? ((path[i+2]-path[i+1]).normalized - (path[i]-path[i+1]).normalized).normalized : (path[i+1]-path[i]).normalized;
int32_t L_36 = V_7;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_37 = ___0_path;
NullCheck(L_37);
int32_t L_38;
L_38 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_37, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_36) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_38, 2)))))
{
goto IL_00eb;
}
}
{
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_39 = ___0_path;
int32_t L_40 = V_7;
NullCheck(L_39);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
L_41 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_39, ((int32_t)il2cpp_codegen_add(L_40, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_42 = ___0_path;
int32_t L_43 = V_7;
NullCheck(L_42);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
L_44 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_42, L_43, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
L_45 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_41, L_44, NULL);
V_5 = L_45;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
L_46 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_5), NULL);
G_B12_0 = L_46;
goto IL_013b;
}
IL_00eb:
{
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_47 = ___0_path;
int32_t L_48 = V_7;
NullCheck(L_47);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
L_49 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_47, ((int32_t)il2cpp_codegen_add(L_48, 2)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_50 = ___0_path;
int32_t L_51 = V_7;
NullCheck(L_50);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
L_52 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_50, ((int32_t)il2cpp_codegen_add(L_51, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
L_53 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_49, L_52, NULL);
V_5 = L_53;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
L_54 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_5), NULL);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_55 = ___0_path;
int32_t L_56 = V_7;
NullCheck(L_55);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
L_57 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_55, L_56, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_58 = ___0_path;
int32_t L_59 = V_7;
NullCheck(L_58);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
L_60 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_58, ((int32_t)il2cpp_codegen_add(L_59, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
L_61 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_57, L_60, NULL);
V_5 = L_61;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
L_62 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_5), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
L_63 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_54, L_62, NULL);
V_5 = L_63;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
L_64 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_5), NULL);
G_B12_0 = L_64;
}
IL_013b:
{
V_10 = G_B12_0;
// Vector3 startVel = startVel1 * dist * factor;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65 = V_9;
float L_66 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
L_67 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_65, L_66, NULL);
float L_68 = __this->___factor_14;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69;
L_69 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_67, L_68, NULL);
V_11 = L_69;
// Vector3 endVel = endVel1 * dist * factor;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = V_10;
float L_71 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
L_72 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_70, L_71, NULL);
float L_73 = __this->___factor_14;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74;
L_74 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_72, L_73, NULL);
V_12 = L_74;
// Vector3 start = path[i];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_75 = ___0_path;
int32_t L_76 = V_7;
NullCheck(L_75);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
L_77 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_75, L_76, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_13 = L_77;
// Vector3 end = path[i+1];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_78 = ___0_path;
int32_t L_79 = V_7;
NullCheck(L_78);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
L_80 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_78, ((int32_t)il2cpp_codegen_add(L_79, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_14 = L_80;
// float onedivdist = 1F / dist;
float L_81 = V_8;
V_15 = ((float)((1.0f)/L_81));
// for (float t = 0; t <= dist; t += maxSegmentLength) {
V_16 = (0.0f);
goto IL_01b9;
}
IL_0192:
{
// float t2 = t * onedivdist;
float L_82 = V_16;
float L_83 = V_15;
V_17 = ((float)il2cpp_codegen_multiply(L_82, L_83));
// subdivided.Add(GetPointOnCubic(start, end, startVel, endVel, t2));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_84 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86 = V_14;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = V_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = V_12;
float L_89 = V_17;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
L_90 = SimpleSmoothModifier_GetPointOnCubic_mA00313E0030A154145B81F4634EDABDF08EEAF68(L_85, L_86, L_87, L_88, L_89, NULL);
NullCheck(L_84);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_84, L_90, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// for (float t = 0; t <= dist; t += maxSegmentLength) {
float L_91 = V_16;
float L_92 = __this->___maxSegmentLength_11;
V_16 = ((float)il2cpp_codegen_add(L_91, L_92));
}
IL_01b9:
{
// for (float t = 0; t <= dist; t += maxSegmentLength) {
float L_93 = V_16;
float L_94 = V_8;
if ((((float)L_93) <= ((float)L_94)))
{
goto IL_0192;
}
}
{
// preEndVel = endVel1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95 = V_10;
V_2 = L_95;
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_96 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_96, 1));
}
IL_01c8:
{
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_97 = V_7;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_98 = ___0_path;
NullCheck(L_98);
int32_t L_99;
L_99 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_98, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_97) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_99, 1)))))
{
goto IL_0098;
}
}
{
// subdivided[subdivided.Count-1] = path[path.Count-1];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_100 = V_1;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_101 = V_1;
NullCheck(L_101);
int32_t L_102;
L_102 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_101, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_103 = ___0_path;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_104 = ___0_path;
NullCheck(L_104);
int32_t L_105;
L_105 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_104, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
NullCheck(L_103);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_106;
L_106 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_103, ((int32_t)il2cpp_codegen_subtract(L_105, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
NullCheck(L_100);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_100, ((int32_t)il2cpp_codegen_subtract(L_102, 1)), L_106, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
// return subdivided;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_107 = V_1;
return L_107;
}
}
// UnityEngine.Vector3 Pathfinding.SimpleSmoothModifier::GetPointOnCubic(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SimpleSmoothModifier_GetPointOnCubic_mA00313E0030A154145B81F4634EDABDF08EEAF68 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_tan1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_tan2, float ___4_t, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
float V_4 = 0.0f;
{
// float t2 = t*t, t3 = t2*t;
float L_0 = ___4_t;
float L_1 = ___4_t;
V_0 = ((float)il2cpp_codegen_multiply(L_0, L_1));
// float t2 = t*t, t3 = t2*t;
float L_2 = V_0;
float L_3 = ___4_t;
V_1 = ((float)il2cpp_codegen_multiply(L_2, L_3));
// float h1 = 2*t3 - 3*t2 + 1; // calculate basis function 1
float L_4 = V_1;
float L_5 = V_0;
// float h2 = -2*t3 + 3*t2; // calculate basis function 2
float L_6 = V_1;
float L_7 = V_0;
V_2 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply((-2.0f), L_6)), ((float)il2cpp_codegen_multiply((3.0f), L_7))));
// float h3 = t3 - 2*t2 + t; // calculate basis function 3
float L_8 = V_1;
float L_9 = V_0;
float L_10 = ___4_t;
V_3 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract(L_8, ((float)il2cpp_codegen_multiply((2.0f), L_9)))), L_10));
// float h4 = t3 - t2; // calculate basis function 4
float L_11 = V_1;
float L_12 = V_0;
V_4 = ((float)il2cpp_codegen_subtract(L_11, L_12));
// return h1*a + // multiply and sum all funtions
// h2*b + // together to build the interpolated
// h3*tan1 + // point along the curve.
// h4*tan2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_a;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
L_14 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply((2.0f), L_4)), ((float)il2cpp_codegen_multiply((3.0f), L_5)))), (1.0f))), L_13, NULL);
float L_15 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___1_b;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
L_17 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_15, L_16, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_14, L_17, NULL);
float L_19 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___2_tan1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
L_21 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_19, L_20, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
L_22 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_18, L_21, NULL);
float L_23 = V_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = ___3_tan2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_23, L_24, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
L_26 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_22, L_25, NULL);
return L_26;
}
}
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.SimpleSmoothModifier::SmoothOffsetSimple(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* SimpleSmoothModifier_SmoothOffsetSimple_m00EE01D589060F5C79BFF72844DBFCCA84EA0792 (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_path, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral529788B3A8B9D3896A06D6C788DD3831BB92F59A);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_1 = NULL;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
memset((&V_8), 0, sizeof(V_8));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
memset((&V_9), 0, sizeof(V_9));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
memset((&V_10), 0, sizeof(V_10));
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B22_0;
memset((&G_B22_0), 0, sizeof(G_B22_0));
int32_t G_B22_1 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B22_2 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B21_0;
memset((&G_B21_0), 0, sizeof(G_B21_0));
int32_t G_B21_1 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B21_2 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B23_0;
memset((&G_B23_0), 0, sizeof(G_B23_0));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B23_1;
memset((&G_B23_1), 0, sizeof(G_B23_1));
int32_t G_B23_2 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B23_3 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B28_0;
memset((&G_B28_0), 0, sizeof(G_B28_0));
int32_t G_B28_1 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B28_2 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B27_0;
memset((&G_B27_0), 0, sizeof(G_B27_0));
int32_t G_B27_1 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B27_2 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B29_0;
memset((&G_B29_0), 0, sizeof(G_B29_0));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B29_1;
memset((&G_B29_1), 0, sizeof(G_B29_1));
int32_t G_B29_2 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* G_B29_3 = NULL;
{
// if (path.Count <= 2 || iterations <= 0) {
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_0 = ___0_path;
NullCheck(L_0);
int32_t L_1;
L_1 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_0, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_1) <= ((int32_t)2)))
{
goto IL_0012;
}
}
{
int32_t L_2 = __this->___iterations_8;
if ((((int32_t)L_2) > ((int32_t)0)))
{
goto IL_0014;
}
}
IL_0012:
{
// return path;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_3 = ___0_path;
return L_3;
}
IL_0014:
{
// if (iterations > 12) {
int32_t L_4 = __this->___iterations_8;
if ((((int32_t)L_4) <= ((int32_t)((int32_t)12))))
{
goto IL_002a;
}
}
{
// Debug.LogWarning("A very high iteration count was passed, won't let this one through");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteral529788B3A8B9D3896A06D6C788DD3831BB92F59A, NULL);
// return path;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_5 = ___0_path;
return L_5;
}
IL_002a:
{
// int maxLength = (path.Count-2)*(int)Mathf.Pow(2, iterations)+2;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = ___0_path;
NullCheck(L_6);
int32_t L_7;
L_7 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_6, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
int32_t L_8 = __this->___iterations_8;
float L_9;
L_9 = powf((2.0f), ((float)L_8));
V_0 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_7, 2)), il2cpp_codegen_cast_double_to_int<int32_t>(L_9))), 2));
// List<Vector3> subdivided = ListPool<Vector3>.Claim(maxLength);
int32_t L_10 = V_0;
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_11;
L_11 = ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88(L_10, ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_RuntimeMethod_var);
V_1 = L_11;
// List<Vector3> subdivided2 = ListPool<Vector3>.Claim(maxLength);
int32_t L_12 = V_0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_13;
L_13 = ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88(L_12, ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_RuntimeMethod_var);
V_2 = L_13;
// for (int i = 0; i < maxLength; i++) { subdivided.Add(Vector3.zero); subdivided2.Add(Vector3.zero); }
V_3 = 0;
goto IL_0074;
}
IL_005a:
{
// for (int i = 0; i < maxLength; i++) { subdivided.Add(Vector3.zero); subdivided2.Add(Vector3.zero); }
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_14 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
L_15 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
NullCheck(L_14);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_14, L_15, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// for (int i = 0; i < maxLength; i++) { subdivided.Add(Vector3.zero); subdivided2.Add(Vector3.zero); }
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_16 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
L_17 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
NullCheck(L_16);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_16, L_17, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// for (int i = 0; i < maxLength; i++) { subdivided.Add(Vector3.zero); subdivided2.Add(Vector3.zero); }
int32_t L_18 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_18, 1));
}
IL_0074:
{
// for (int i = 0; i < maxLength; i++) { subdivided.Add(Vector3.zero); subdivided2.Add(Vector3.zero); }
int32_t L_19 = V_3;
int32_t L_20 = V_0;
if ((((int32_t)L_19) < ((int32_t)L_20)))
{
goto IL_005a;
}
}
{
// for (int i = 0; i < path.Count; i++) {
V_4 = 0;
goto IL_0093;
}
IL_007d:
{
// subdivided[i] = path[i];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_21 = V_1;
int32_t L_22 = V_4;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_23 = ___0_path;
int32_t L_24 = V_4;
NullCheck(L_23);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_23, L_24, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
NullCheck(L_21);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_21, L_22, L_25, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
// for (int i = 0; i < path.Count; i++) {
int32_t L_26 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_26, 1));
}
IL_0093:
{
// for (int i = 0; i < path.Count; i++) {
int32_t L_27 = V_4;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_28 = ___0_path;
NullCheck(L_28);
int32_t L_29;
L_29 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_28, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_27) < ((int32_t)L_29)))
{
goto IL_007d;
}
}
{
// for (int iteration = 0; iteration < iterations; iteration++) {
V_5 = 0;
goto IL_0272;
}
IL_00a5:
{
// int currentPathLength = (path.Count-2)*(int)Mathf.Pow(2, iteration)+2;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_30 = ___0_path;
NullCheck(L_30);
int32_t L_31;
L_31 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_30, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
int32_t L_32 = V_5;
float L_33;
L_33 = powf((2.0f), ((float)L_32));
V_6 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_31, 2)), il2cpp_codegen_cast_double_to_int<int32_t>(L_33))), 2));
// List<Vector3> tmp = subdivided;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_34 = V_1;
// subdivided = subdivided2;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_35 = V_2;
V_1 = L_35;
// subdivided2 = tmp;
V_2 = L_34;
// for (int i = 0; i < currentPathLength-1; i++) {
V_7 = 0;
goto IL_0234;
}
IL_00cc:
{
// Vector3 current = subdivided2[i];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_36 = V_2;
int32_t L_37 = V_7;
NullCheck(L_36);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
L_38 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_36, L_37, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_8 = L_38;
// Vector3 next = subdivided2[i+1];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_39 = V_2;
int32_t L_40 = V_7;
NullCheck(L_39);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
L_41 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_39, ((int32_t)il2cpp_codegen_add(L_40, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_9 = L_41;
// Vector3 normal = Vector3.Cross(next-current, Vector3.up);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
L_44 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_42, L_43, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
L_45 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
L_46 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_44, L_45, NULL);
V_10 = L_46;
// normal = normal.normalized;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
L_47 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_10), NULL);
V_10 = L_47;
// bool firstRight = false;
V_11 = (bool)0;
// bool secondRight = false;
V_12 = (bool)0;
// bool setFirst = false;
V_13 = (bool)0;
// bool setSecond = false;
V_14 = (bool)0;
// if (i != 0 && !VectorMath.IsColinearXZ(current, next, subdivided2[i-1])) {
int32_t L_48 = V_7;
if (!L_48)
{
goto IL_013d;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = V_9;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_51 = V_2;
int32_t L_52 = V_7;
NullCheck(L_51);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
L_53 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_51, ((int32_t)il2cpp_codegen_subtract(L_52, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
bool L_54;
L_54 = VectorMath_IsColinearXZ_m78868E7F86427A3D8EB3571A567DB40CB745D6AB(L_49, L_50, L_53, NULL);
if (L_54)
{
goto IL_013d;
}
}
{
// setFirst = true;
V_13 = (bool)1;
// firstRight = VectorMath.RightOrColinearXZ(current, next, subdivided2[i-1]);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_9;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_57 = V_2;
int32_t L_58 = V_7;
NullCheck(L_57);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
L_59 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_57, ((int32_t)il2cpp_codegen_subtract(L_58, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
bool L_60;
L_60 = VectorMath_RightOrColinearXZ_mB4E21EEF15049363F827235D8695B37BC8463686(L_55, L_56, L_59, NULL);
V_11 = L_60;
}
IL_013d:
{
// if (i < currentPathLength-1 && !VectorMath.IsColinearXZ(current, next, subdivided2[i+2])) {
int32_t L_61 = V_7;
int32_t L_62 = V_6;
if ((((int32_t)L_61) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_62, 1)))))
{
goto IL_0172;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = V_9;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_65 = V_2;
int32_t L_66 = V_7;
NullCheck(L_65);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
L_67 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_65, ((int32_t)il2cpp_codegen_add(L_66, 2)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
bool L_68;
L_68 = VectorMath_IsColinearXZ_m78868E7F86427A3D8EB3571A567DB40CB745D6AB(L_63, L_64, L_67, NULL);
if (L_68)
{
goto IL_0172;
}
}
{
// setSecond = true;
V_14 = (bool)1;
// secondRight = VectorMath.RightOrColinearXZ(current, next, subdivided2[i+2]);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = V_9;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_71 = V_2;
int32_t L_72 = V_7;
NullCheck(L_71);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
L_73 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_71, ((int32_t)il2cpp_codegen_add(L_72, 2)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
bool L_74;
L_74 = VectorMath_RightOrColinearXZ_mB4E21EEF15049363F827235D8695B37BC8463686(L_69, L_70, L_73, NULL);
V_12 = L_74;
}
IL_0172:
{
// if (setFirst) {
bool L_75 = V_13;
if (!L_75)
{
goto IL_01c2;
}
}
{
// subdivided[i*2] = current + (firstRight ? normal*offset*nextMultiplier : -normal*offset*nextMultiplier);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_76 = V_1;
int32_t L_77 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = V_8;
bool L_79 = V_11;
G_B21_0 = L_78;
G_B21_1 = ((int32_t)il2cpp_codegen_multiply(L_77, 2));
G_B21_2 = L_76;
if (L_79)
{
G_B22_0 = L_78;
G_B22_1 = ((int32_t)il2cpp_codegen_multiply(L_77, 2));
G_B22_2 = L_76;
goto IL_019f;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
L_81 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_80, NULL);
float L_82 = __this->___offset_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
L_83 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_81, L_82, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
L_84 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_83, (1.0f), NULL);
G_B23_0 = L_84;
G_B23_1 = G_B21_0;
G_B23_2 = G_B21_1;
G_B23_3 = G_B21_2;
goto IL_01b6;
}
IL_019f:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = V_10;
float L_86 = __this->___offset_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
L_87 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_85, L_86, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
L_88 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_87, (1.0f), NULL);
G_B23_0 = L_88;
G_B23_1 = G_B22_0;
G_B23_2 = G_B22_1;
G_B23_3 = G_B22_2;
}
IL_01b6:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
L_89 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B23_1, G_B23_0, NULL);
NullCheck(G_B23_3);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(G_B23_3, G_B23_2, L_89, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
goto IL_01ce;
}
IL_01c2:
{
// subdivided[i*2] = current;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_90 = V_1;
int32_t L_91 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92 = V_8;
NullCheck(L_90);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_90, ((int32_t)il2cpp_codegen_multiply(L_91, 2)), L_92, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
}
IL_01ce:
{
// if (setSecond) {
bool L_93 = V_14;
if (!L_93)
{
goto IL_0220;
}
}
{
// subdivided[i*2+1] = next + (secondRight ? normal*offset*nextMultiplier : -normal*offset*nextMultiplier);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_94 = V_1;
int32_t L_95 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96 = V_9;
bool L_97 = V_12;
G_B27_0 = L_96;
G_B27_1 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_95, 2)), 1));
G_B27_2 = L_94;
if (L_97)
{
G_B28_0 = L_96;
G_B28_1 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_95, 2)), 1));
G_B28_2 = L_94;
goto IL_01fd;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99;
L_99 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_98, NULL);
float L_100 = __this->___offset_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
L_101 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_99, L_100, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102;
L_102 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_101, (1.0f), NULL);
G_B29_0 = L_102;
G_B29_1 = G_B27_0;
G_B29_2 = G_B27_1;
G_B29_3 = G_B27_2;
goto IL_0214;
}
IL_01fd:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103 = V_10;
float L_104 = __this->___offset_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105;
L_105 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_103, L_104, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_106;
L_106 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_105, (1.0f), NULL);
G_B29_0 = L_106;
G_B29_1 = G_B28_0;
G_B29_2 = G_B28_1;
G_B29_3 = G_B28_2;
}
IL_0214:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_107;
L_107 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B29_1, G_B29_0, NULL);
NullCheck(G_B29_3);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(G_B29_3, G_B29_2, L_107, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
goto IL_022e;
}
IL_0220:
{
// subdivided[i*2+1] = next;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_108 = V_1;
int32_t L_109 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110 = V_9;
NullCheck(L_108);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_108, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_109, 2)), 1)), L_110, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
}
IL_022e:
{
// for (int i = 0; i < currentPathLength-1; i++) {
int32_t L_111 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_111, 1));
}
IL_0234:
{
// for (int i = 0; i < currentPathLength-1; i++) {
int32_t L_112 = V_7;
int32_t L_113 = V_6;
if ((((int32_t)L_112) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_113, 1)))))
{
goto IL_00cc;
}
}
{
// subdivided[(path.Count-2)*(int)Mathf.Pow(2, iteration+1)+2-1] = subdivided2[currentPathLength-1];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_114 = V_1;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_115 = ___0_path;
NullCheck(L_115);
int32_t L_116;
L_116 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_115, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
int32_t L_117 = V_5;
float L_118;
L_118 = powf((2.0f), ((float)((int32_t)il2cpp_codegen_add(L_117, 1))));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_119 = V_2;
int32_t L_120 = V_6;
NullCheck(L_119);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121;
L_121 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_119, ((int32_t)il2cpp_codegen_subtract(L_120, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
NullCheck(L_114);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_114, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_116, 2)), il2cpp_codegen_cast_double_to_int<int32_t>(L_118))), 2)), 1)), L_121, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
// for (int iteration = 0; iteration < iterations; iteration++) {
int32_t L_122 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_122, 1));
}
IL_0272:
{
// for (int iteration = 0; iteration < iterations; iteration++) {
int32_t L_123 = V_5;
int32_t L_124 = __this->___iterations_8;
if ((((int32_t)L_123) < ((int32_t)L_124)))
{
goto IL_00a5;
}
}
{
// ListPool<Vector3>.Release(ref subdivided2);
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0((&V_2), ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
// return subdivided;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_125 = V_1;
return L_125;
}
}
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.SimpleSmoothModifier::SmoothSimple(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* SimpleSmoothModifier_SmoothSimple_mA9F86CA73615D4DE4ADD5C7417B5E733179A4D5C (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_path, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral174511C17A0C389A1C6989EC81BBFDFADFFFCDDE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral47B064EEB40CF1A29DC7815158EAB966D01B9907);
s_Il2CppMethodInitialized = true;
}
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_0 = NULL;
float V_1 = 0.0f;
float V_2 = 0.0f;
int32_t V_3 = 0;
int32_t V_4 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
memset((&V_5), 0, sizeof(V_5));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
memset((&V_6), 0, sizeof(V_6));
float V_7 = 0.0f;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t V_10 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_11;
memset((&V_11), 0, sizeof(V_11));
int32_t V_12 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_13;
memset((&V_13), 0, sizeof(V_13));
{
// if (path.Count < 2) return path;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_0 = ___0_path;
NullCheck(L_0);
int32_t L_1;
L_1 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_0, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_1) >= ((int32_t)2)))
{
goto IL_000b;
}
}
{
// if (path.Count < 2) return path;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_2 = ___0_path;
return L_2;
}
IL_000b:
{
// if (uniformLength) {
bool L_3 = __this->___uniformLength_10;
if (!L_3)
{
goto IL_00ee;
}
}
{
// maxSegmentLength = Mathf.Max(maxSegmentLength, 0.005f);
float L_4 = __this->___maxSegmentLength_11;
float L_5;
L_5 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_4, (0.00499999989f), NULL);
__this->___maxSegmentLength_11 = L_5;
// float pathLength = 0;
V_1 = (0.0f);
// for (int i = 0; i < path.Count-1; i++) {
V_3 = 0;
goto IL_0052;
}
IL_0036:
{
// pathLength += Vector3.Distance(path[i], path[i+1]);
float L_6 = V_1;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_7 = ___0_path;
int32_t L_8 = V_3;
NullCheck(L_7);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
L_9 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_7, L_8, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_10 = ___0_path;
int32_t L_11 = V_3;
NullCheck(L_10);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
L_12 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_10, ((int32_t)il2cpp_codegen_add(L_11, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
float L_13;
L_13 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_9, L_12, NULL);
V_1 = ((float)il2cpp_codegen_add(L_6, L_13));
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_14 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_14, 1));
}
IL_0052:
{
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_15 = V_3;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_16 = ___0_path;
NullCheck(L_16);
int32_t L_17;
L_17 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_16, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_15) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_17, 1)))))
{
goto IL_0036;
}
}
{
// int estimatedNumberOfSegments = Mathf.FloorToInt(pathLength / maxSegmentLength);
float L_18 = V_1;
float L_19 = __this->___maxSegmentLength_11;
int32_t L_20;
L_20 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(L_18/L_19)), NULL);
// subdivided = ListPool<Vector3>.Claim(estimatedNumberOfSegments+2);
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_21;
L_21 = ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88(((int32_t)il2cpp_codegen_add(L_20, 2)), ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_RuntimeMethod_var);
V_0 = L_21;
// float distanceAlong = 0;
V_2 = (0.0f);
// for (int i = 0; i < path.Count-1; i++) {
V_4 = 0;
goto IL_00cc;
}
IL_007d:
{
// var start = path[i];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_22 = ___0_path;
int32_t L_23 = V_4;
NullCheck(L_22);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
L_24 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_22, L_23, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_5 = L_24;
// var end = path[i+1];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_25 = ___0_path;
int32_t L_26 = V_4;
NullCheck(L_25);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
L_27 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_25, ((int32_t)il2cpp_codegen_add(L_26, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_6 = L_27;
// float length = Vector3.Distance(start, end);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_6;
float L_30;
L_30 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_28, L_29, NULL);
V_7 = L_30;
goto IL_00bc;
}
IL_00a0:
{
// subdivided.Add(Vector3.Lerp(start, end, distanceAlong / length));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_31 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = V_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_6;
float L_34 = V_2;
float L_35 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
L_36 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_32, L_33, ((float)(L_34/L_35)), NULL);
NullCheck(L_31);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_31, L_36, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// distanceAlong += maxSegmentLength;
float L_37 = V_2;
float L_38 = __this->___maxSegmentLength_11;
V_2 = ((float)il2cpp_codegen_add(L_37, L_38));
}
IL_00bc:
{
// while (distanceAlong < length) {
float L_39 = V_2;
float L_40 = V_7;
if ((((float)L_39) < ((float)L_40)))
{
goto IL_00a0;
}
}
{
// distanceAlong -= length;
float L_41 = V_2;
float L_42 = V_7;
V_2 = ((float)il2cpp_codegen_subtract(L_41, L_42));
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_43 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_43, 1));
}
IL_00cc:
{
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_44 = V_4;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_45 = ___0_path;
NullCheck(L_45);
int32_t L_46;
L_46 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_45, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_44) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_46, 1)))))
{
goto IL_007d;
}
}
{
// subdivided.Add(path[path.Count-1]);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_47 = V_0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_48 = ___0_path;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_49 = ___0_path;
NullCheck(L_49);
int32_t L_50;
L_50 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_49, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
NullCheck(L_48);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
L_51 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_48, ((int32_t)il2cpp_codegen_subtract(L_50, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
NullCheck(L_47);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_47, L_51, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
goto IL_0163;
}
IL_00ee:
{
// subdivisions = Mathf.Max(subdivisions, 0);
int32_t L_52 = __this->___subdivisions_7;
int32_t L_53;
L_53 = Mathf_Max_m7FA442918DE37E3A00106D1F2E789D65829792B8_inline(L_52, 0, NULL);
__this->___subdivisions_7 = L_53;
// if (subdivisions > 10) {
int32_t L_54 = __this->___subdivisions_7;
if ((((int32_t)L_54) <= ((int32_t)((int32_t)10))))
{
goto IL_013a;
}
}
{
// Debug.LogWarning("Very large number of subdivisions. Cowardly refusing to subdivide every segment into more than " + (1 << subdivisions) + " subsegments");
int32_t L_55 = __this->___subdivisions_7;
V_9 = ((int32_t)(1<<((int32_t)(L_55&((int32_t)31)))));
String_t* L_56;
L_56 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_9), NULL);
String_t* L_57;
L_57 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteral47B064EEB40CF1A29DC7815158EAB966D01B9907, L_56, _stringLiteral174511C17A0C389A1C6989EC81BBFDFADFFFCDDE, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(L_57, NULL);
// subdivisions = 10;
__this->___subdivisions_7 = ((int32_t)10);
}
IL_013a:
{
// int steps = 1 << subdivisions;
int32_t L_58 = __this->___subdivisions_7;
V_8 = ((int32_t)(1<<((int32_t)(L_58&((int32_t)31)))));
// subdivided = ListPool<Vector3>.Claim((path.Count-1)*steps + 1);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_59 = ___0_path;
NullCheck(L_59);
int32_t L_60;
L_60 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_59, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
int32_t L_61 = V_8;
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_62;
L_62 = ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_60, 1)), L_61)), 1)), ListPool_1_Claim_m2405606FB53C8EEE2C7CB0701CF4C9FF4EC22E88_RuntimeMethod_var);
V_0 = L_62;
// Polygon.Subdivide(path, subdivided, steps);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_63 = ___0_path;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_64 = V_0;
int32_t L_65 = V_8;
il2cpp_codegen_runtime_class_init_inline(Polygon_t7785E70EF754BE7616755CB48DCFED7AA64B5AFF_il2cpp_TypeInfo_var);
Polygon_Subdivide_mA88024240A3BA24B2E52DBB096CDE8A90150EBF0(L_63, L_64, L_65, NULL);
}
IL_0163:
{
// if (strength > 0) {
float L_66 = __this->___strength_9;
if ((!(((float)L_66) > ((float)(0.0f)))))
{
goto IL_01e3;
}
}
{
// for (int it = 0; it < iterations; it++) {
V_10 = 0;
goto IL_01d9;
}
IL_0175:
{
// Vector3 prev = subdivided[0];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_67 = V_0;
NullCheck(L_67);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
L_68 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_67, 0, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_11 = L_68;
// for (int i = 1; i < subdivided.Count-1; i++) {
V_12 = 1;
goto IL_01c7;
}
IL_0183:
{
// Vector3 tmp = subdivided[i];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_69 = V_0;
int32_t L_70 = V_12;
NullCheck(L_69);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
L_71 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_69, L_70, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_13 = L_71;
// subdivided[i] = Vector3.Lerp(tmp, (prev+subdivided[i+1])/2F, strength);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_72 = V_0;
int32_t L_73 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75 = V_11;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_76 = V_0;
int32_t L_77 = V_12;
NullCheck(L_76);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78;
L_78 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_76, ((int32_t)il2cpp_codegen_add(L_77, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
L_79 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_75, L_78, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
L_80 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_79, (2.0f), NULL);
float L_81 = __this->___strength_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
L_82 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_74, L_80, L_81, NULL);
NullCheck(L_72);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_72, L_73, L_82, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
// prev = tmp;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83 = V_13;
V_11 = L_83;
// for (int i = 1; i < subdivided.Count-1; i++) {
int32_t L_84 = V_12;
V_12 = ((int32_t)il2cpp_codegen_add(L_84, 1));
}
IL_01c7:
{
// for (int i = 1; i < subdivided.Count-1; i++) {
int32_t L_85 = V_12;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_86 = V_0;
NullCheck(L_86);
int32_t L_87;
L_87 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_86, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_85) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_87, 1)))))
{
goto IL_0183;
}
}
{
// for (int it = 0; it < iterations; it++) {
int32_t L_88 = V_10;
V_10 = ((int32_t)il2cpp_codegen_add(L_88, 1));
}
IL_01d9:
{
// for (int it = 0; it < iterations; it++) {
int32_t L_89 = V_10;
int32_t L_90 = __this->___iterations_8;
if ((((int32_t)L_89) < ((int32_t)L_90)))
{
goto IL_0175;
}
}
IL_01e3:
{
// return subdivided;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_91 = V_0;
return L_91;
}
}
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.SimpleSmoothModifier::SmoothBezier(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* SimpleSmoothModifier_SmoothBezier_m42BE6D751007E5B963EB838DC10A377898A8683F (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_path, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_1 = NULL;
int32_t V_2 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
memset((&V_3), 0, sizeof(V_3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
memset((&V_4), 0, sizeof(V_4));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
memset((&V_5), 0, sizeof(V_5));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
memset((&V_6), 0, sizeof(V_6));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
memset((&V_7), 0, sizeof(V_7));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
memset((&V_8), 0, sizeof(V_8));
int32_t V_9 = 0;
{
// if (subdivisions < 0) subdivisions = 0;
int32_t L_0 = __this->___subdivisions_7;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0010;
}
}
{
// if (subdivisions < 0) subdivisions = 0;
__this->___subdivisions_7 = 0;
}
IL_0010:
{
// int subMult = 1 << subdivisions;
int32_t L_1 = __this->___subdivisions_7;
V_0 = ((int32_t)(1<<((int32_t)(L_1&((int32_t)31)))));
// List<Vector3> subdivided = ListPool<Vector3>.Claim();
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_2;
L_2 = ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7(ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_RuntimeMethod_var);
V_1 = L_2;
// for (int i = 0; i < path.Count-1; i++) {
V_2 = 0;
goto IL_0109;
}
IL_0029:
{
// if (i == 0) {
int32_t L_3 = V_2;
if (L_3)
{
goto IL_0044;
}
}
{
// tangent1 = path[i+1]-path[i];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_4 = ___0_path;
int32_t L_5 = V_2;
NullCheck(L_4);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_4, ((int32_t)il2cpp_codegen_add(L_5, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_7 = ___0_path;
int32_t L_8 = V_2;
NullCheck(L_7);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
L_9 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_7, L_8, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_6, L_9, NULL);
V_3 = L_10;
goto IL_005c;
}
IL_0044:
{
// tangent1 = path[i+1]-path[i-1];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_11 = ___0_path;
int32_t L_12 = V_2;
NullCheck(L_11);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
L_13 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_11, ((int32_t)il2cpp_codegen_add(L_12, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_14 = ___0_path;
int32_t L_15 = V_2;
NullCheck(L_14);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
L_16 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_14, ((int32_t)il2cpp_codegen_subtract(L_15, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
L_17 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_13, L_16, NULL);
V_3 = L_17;
}
IL_005c:
{
// if (i == path.Count-2) {
int32_t L_18 = V_2;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_19 = ___0_path;
NullCheck(L_19);
int32_t L_20;
L_20 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_19, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((!(((uint32_t)L_18) == ((uint32_t)((int32_t)il2cpp_codegen_subtract(L_20, 2))))))
{
goto IL_0080;
}
}
{
// tangent2 = path[i]-path[i+1];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_21 = ___0_path;
int32_t L_22 = V_2;
NullCheck(L_21);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
L_23 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_21, L_22, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_24 = ___0_path;
int32_t L_25 = V_2;
NullCheck(L_24);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
L_26 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_24, ((int32_t)il2cpp_codegen_add(L_25, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
L_27 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_23, L_26, NULL);
V_4 = L_27;
goto IL_0097;
}
IL_0080:
{
// tangent2 = path[i]-path[i+2];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_28 = ___0_path;
int32_t L_29 = V_2;
NullCheck(L_28);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
L_30 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_28, L_29, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_31 = ___0_path;
int32_t L_32 = V_2;
NullCheck(L_31);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
L_33 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_31, ((int32_t)il2cpp_codegen_add(L_32, 2)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
L_34 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_30, L_33, NULL);
V_4 = L_34;
}
IL_0097:
{
// tangent1 *= bezierTangentLength;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_3;
float L_36 = __this->___bezierTangentLength_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
L_37 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_35, L_36, NULL);
V_3 = L_37;
// tangent2 *= bezierTangentLength;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_4;
float L_39 = __this->___bezierTangentLength_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
L_40 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_38, L_39, NULL);
V_4 = L_40;
// Vector3 v1 = path[i];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_41 = ___0_path;
int32_t L_42 = V_2;
NullCheck(L_41);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
L_43 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_41, L_42, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_5 = L_43;
// Vector3 v2 = v1+tangent1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
L_46 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_44, L_45, NULL);
V_6 = L_46;
// Vector3 v4 = path[i+1];
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_47 = ___0_path;
int32_t L_48 = V_2;
NullCheck(L_47);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
L_49 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_47, ((int32_t)il2cpp_codegen_add(L_48, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
V_7 = L_49;
// Vector3 v3 = v4+tangent2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = V_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
L_52 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_50, L_51, NULL);
V_8 = L_52;
// for (int j = 0; j < subMult; j++) {
V_9 = 0;
goto IL_0100;
}
IL_00e1:
{
// subdivided.Add(AstarSplines.CubicBezier(v1, v2, v3, v4, (float)j/subMult));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_53 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = V_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = V_7;
int32_t L_58 = V_9;
int32_t L_59 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
L_60 = AstarSplines_CubicBezier_m1B0D89E05C98A7954892F1842CBB206EF6A1C7E9(L_54, L_55, L_56, L_57, ((float)(((float)L_58)/((float)L_59))), NULL);
NullCheck(L_53);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_53, L_60, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// for (int j = 0; j < subMult; j++) {
int32_t L_61 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add(L_61, 1));
}
IL_0100:
{
// for (int j = 0; j < subMult; j++) {
int32_t L_62 = V_9;
int32_t L_63 = V_0;
if ((((int32_t)L_62) < ((int32_t)L_63)))
{
goto IL_00e1;
}
}
{
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_64 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_64, 1));
}
IL_0109:
{
// for (int i = 0; i < path.Count-1; i++) {
int32_t L_65 = V_2;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_66 = ___0_path;
NullCheck(L_66);
int32_t L_67;
L_67 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_66, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((((int32_t)L_65) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_67, 1)))))
{
goto IL_0029;
}
}
{
// subdivided.Add(path[path.Count-1]);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_68 = V_1;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_69 = ___0_path;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_70 = ___0_path;
NullCheck(L_70);
int32_t L_71;
L_71 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_70, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
NullCheck(L_69);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
L_72 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_69, ((int32_t)il2cpp_codegen_subtract(L_71, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
NullCheck(L_68);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_68, L_72, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// return subdivided;
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_73 = V_1;
return L_73;
}
}
// System.Void Pathfinding.SimpleSmoothModifier::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleSmoothModifier__ctor_m6DEEE41A536B8FBF1A783DE004D8795E412BF43E (SimpleSmoothModifier_t334264117DF75A9E3A2B524360592D568326034C* __this, const RuntimeMethod* method)
{
{
// public int subdivisions = 2;
__this->___subdivisions_7 = 2;
// public int iterations = 2;
__this->___iterations_8 = 2;
// public float strength = 0.5F;
__this->___strength_9 = (0.5f);
// public bool uniformLength = true;
__this->___uniformLength_10 = (bool)1;
// public float maxSegmentLength = 2F;
__this->___maxSegmentLength_11 = (2.0f);
// public float bezierTangentLength = 0.4F;
__this->___bezierTangentLength_12 = (0.400000006f);
// public float offset = 0.2F;
__this->___offset_13 = (0.200000003f);
// public float factor = 0.1F;
__this->___factor_14 = (0.100000001f);
MonoModifier__ctor_mEF5B826ACD1EE41EB12582AAE03927CC5D04C44E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Pathfinding.StartEndModifier::get_Order()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t StartEndModifier_get_Order_m8CAB919051DD1CC8B110C195BACAFD6E4BA552E4 (StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* __this, const RuntimeMethod* method)
{
{
// public override int Order { get { return 0; } }
return 0;
}
}
// System.Void Pathfinding.StartEndModifier::Apply(Pathfinding.Path)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StartEndModifier_Apply_mF55A21854494AFD1C1AD5C6B01A5EF29574D2B17 (StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0__p, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Insert_mE7623D84AEA50E917A6371C1DD13D356C9190F2F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
int32_t V_4 = 0;
int32_t V_5 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
memset((&V_6), 0, sizeof(V_6));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
memset((&V_7), 0, sizeof(V_7));
{
// var p = _p as ABPath;
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_0 = ___0__p;
V_0 = ((ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F*)IsInstClass((RuntimeObject*)L_0, ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F_il2cpp_TypeInfo_var));
// if (p == null || p.vectorPath.Count == 0) return;
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_1 = V_0;
if (!L_1)
{
goto IL_0017;
}
}
{
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_2 = V_0;
NullCheck(L_2);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_3 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_2)->___vectorPath_9;
NullCheck(L_3);
int32_t L_4;
L_4 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_3, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if (L_4)
{
goto IL_0018;
}
}
IL_0017:
{
// if (p == null || p.vectorPath.Count == 0) return;
return;
}
IL_0018:
{
// bool singleNode = false;
V_1 = (bool)0;
// if (p.vectorPath.Count == 1 && !addPoints) {
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_5 = V_0;
NullCheck(L_5);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_5)->___vectorPath_9;
NullCheck(L_6);
int32_t L_7;
L_7 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_6, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
if ((!(((uint32_t)L_7) == ((uint32_t)1))))
{
goto IL_0049;
}
}
{
bool L_8 = __this->___addPoints_1;
if (L_8)
{
goto IL_0049;
}
}
{
// p.vectorPath.Add(p.vectorPath[0]);
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_9 = V_0;
NullCheck(L_9);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_10 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_9)->___vectorPath_9;
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_11 = V_0;
NullCheck(L_11);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_12 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_11)->___vectorPath_9;
NullCheck(L_12);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
L_13 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_12, 0, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
NullCheck(L_10);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_10, L_13, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
// singleNode = true;
V_1 = (bool)1;
}
IL_0049:
{
// Vector3 pStart = Snap(p, exactStartPoint, true, out forceAddStartPoint, out closestStartConnection);
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_14 = V_0;
int32_t L_15 = __this->___exactStartPoint_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
L_16 = StartEndModifier_Snap_m32883D7EBB0EB6E7516A8503906A7A367399E82D(__this, L_14, L_15, (bool)1, (&V_2), (&V_4), NULL);
V_6 = L_16;
// Vector3 pEnd = Snap(p, exactEndPoint, false, out forceAddEndPoint, out closestEndConnection);
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_17 = V_0;
int32_t L_18 = __this->___exactEndPoint_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
L_19 = StartEndModifier_Snap_m32883D7EBB0EB6E7516A8503906A7A367399E82D(__this, L_17, L_18, (bool)0, (&V_3), (&V_5), NULL);
V_7 = L_19;
// if (singleNode) {
bool L_20 = V_1;
if (!L_20)
{
goto IL_0082;
}
}
{
// if (closestStartConnection == closestEndConnection) {
int32_t L_21 = V_4;
int32_t L_22 = V_5;
if ((!(((uint32_t)L_21) == ((uint32_t)L_22))))
{
goto IL_0080;
}
}
{
// forceAddStartPoint = false;
V_2 = (bool)0;
// forceAddEndPoint = false;
V_3 = (bool)0;
goto IL_0082;
}
IL_0080:
{
// forceAddStartPoint = false;
V_2 = (bool)0;
}
IL_0082:
{
// if ((forceAddStartPoint || addPoints) && exactStartPoint != Exactness.SnapToNode) {
bool L_23 = V_2;
if (L_23)
{
goto IL_008d;
}
}
{
bool L_24 = __this->___addPoints_1;
if (!L_24)
{
goto IL_00a5;
}
}
IL_008d:
{
int32_t L_25 = __this->___exactStartPoint_2;
if (!L_25)
{
goto IL_00a5;
}
}
{
// p.vectorPath.Insert(0, pStart);
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_26 = V_0;
NullCheck(L_26);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_27 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_26)->___vectorPath_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_6;
NullCheck(L_27);
List_1_Insert_mE7623D84AEA50E917A6371C1DD13D356C9190F2F(L_27, 0, L_28, List_1_Insert_mE7623D84AEA50E917A6371C1DD13D356C9190F2F_RuntimeMethod_var);
goto IL_00b3;
}
IL_00a5:
{
// p.vectorPath[0] = pStart;
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_29 = V_0;
NullCheck(L_29);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_30 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_29)->___vectorPath_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_6;
NullCheck(L_30);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_30, 0, L_31, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
}
IL_00b3:
{
// if ((forceAddEndPoint || addPoints) && exactEndPoint != Exactness.SnapToNode) {
bool L_32 = V_3;
if (L_32)
{
goto IL_00be;
}
}
{
bool L_33 = __this->___addPoints_1;
if (!L_33)
{
goto IL_00d4;
}
}
IL_00be:
{
int32_t L_34 = __this->___exactEndPoint_3;
if (!L_34)
{
goto IL_00d4;
}
}
{
// p.vectorPath.Add(pEnd);
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_35 = V_0;
NullCheck(L_35);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_36 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_35)->___vectorPath_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_7;
NullCheck(L_36);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_36, L_37, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
return;
}
IL_00d4:
{
// p.vectorPath[p.vectorPath.Count-1] = pEnd;
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_38 = V_0;
NullCheck(L_38);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_39 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_38)->___vectorPath_9;
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_40 = V_0;
NullCheck(L_40);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_41 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_40)->___vectorPath_9;
NullCheck(L_41);
int32_t L_42;
L_42 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_41, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = V_7;
NullCheck(L_39);
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_39, ((int32_t)il2cpp_codegen_subtract(L_42, 1)), L_43, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
// }
return;
}
}
// UnityEngine.Vector3 Pathfinding.StartEndModifier::Snap(Pathfinding.ABPath,Pathfinding.StartEndModifier/Exactness,System.Boolean,System.Boolean&,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 StartEndModifier_Snap_m32883D7EBB0EB6E7516A8503906A7A367399E82D (StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* __this, ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* ___0_path, int32_t ___1_mode, bool ___2_start, bool* ___3_forceAddPoint, int32_t* ___4_closestConnectionIndex, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mA937F129E2EC4ED2E068F66C45A0D79F0189C78B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_1 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
memset((&V_3), 0, sizeof(V_3));
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_4 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
memset((&V_5), 0, sizeof(V_5));
float V_6 = 0.0f;
int32_t V_7 = 0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_8 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
memset((&V_9), 0, sizeof(V_9));
float V_10 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_11;
memset((&V_11), 0, sizeof(V_11));
int32_t G_B3_0 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B13_0;
memset((&G_B13_0), 0, sizeof(G_B13_0));
int32_t G_B20_0 = 0;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* G_B20_1 = NULL;
int32_t G_B19_0 = 0;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* G_B19_1 = NULL;
int32_t G_B21_0 = 0;
int32_t G_B21_1 = 0;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* G_B21_2 = NULL;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* G_B24_0 = NULL;
StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* G_B24_1 = NULL;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* G_B23_0 = NULL;
StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* G_B23_1 = NULL;
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* G_B26_0 = NULL;
StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* G_B26_1 = NULL;
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* G_B25_0 = NULL;
StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* G_B25_1 = NULL;
int32_t G_B28_0 = 0;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* G_B28_1 = NULL;
int32_t G_B27_0 = 0;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* G_B27_1 = NULL;
int32_t G_B29_0 = 0;
int32_t G_B29_1 = 0;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* G_B29_2 = NULL;
{
// var index = start ? 0 : path.path.Count - 1;
bool L_0 = ___2_start;
if (L_0)
{
goto IL_0012;
}
}
{
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_1 = ___0_path;
NullCheck(L_1);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_2 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_1)->___path_8;
NullCheck(L_2);
int32_t L_3;
L_3 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_2, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
G_B3_0 = ((int32_t)il2cpp_codegen_subtract(L_3, 1));
goto IL_0013;
}
IL_0012:
{
G_B3_0 = 0;
}
IL_0013:
{
V_0 = G_B3_0;
// var node = path.path[index];
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_4 = ___0_path;
NullCheck(L_4);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_5 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_4)->___path_8;
int32_t L_6 = V_0;
NullCheck(L_5);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7;
L_7 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_5, L_6, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
V_1 = L_7;
// var nodePos = (Vector3)node.position;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_8 = V_1;
NullCheck(L_8);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_9 = L_8->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_9, NULL);
V_2 = L_10;
// closestConnectionIndex = 0;
int32_t* L_11 = ___4_closestConnectionIndex;
*((int32_t*)L_11) = (int32_t)0;
// forceAddPoint = false;
bool* L_12 = ___3_forceAddPoint;
*((int8_t*)L_12) = (int8_t)0;
int32_t L_13 = ___1_mode;
switch (L_13)
{
case 0:
{
goto IL_0065;
}
case 1:
{
goto IL_0067;
}
case 2:
{
goto IL_0067;
}
case 3:
{
goto IL_0054;
}
case 4:
{
goto IL_0067;
}
}
}
{
goto IL_01fe;
}
IL_0054:
{
// return start ? path.startPoint : path.endPoint;
bool L_14 = ___2_start;
if (L_14)
{
goto IL_005e;
}
}
{
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_15 = ___0_path;
NullCheck(L_15);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = L_15->___endPoint_33;
return L_16;
}
IL_005e:
{
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_17 = ___0_path;
NullCheck(L_17);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = L_17->___startPoint_32;
return L_18;
}
IL_0065:
{
// return nodePos;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_2;
return L_19;
}
IL_0067:
{
// if (start) {
bool L_20 = ___2_start;
if (!L_20)
{
goto IL_0088;
}
}
{
// relevantPoint = adjustStartPoint != null? adjustStartPoint() : path.originalStartPoint;
Func_1_t58C51DB29153B53A9136AE397958F3FCC1F596EC* L_21 = __this->___adjustStartPoint_4;
if (L_21)
{
goto IL_007a;
}
}
{
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_22 = ___0_path;
NullCheck(L_22);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = L_22->___originalStartPoint_30;
G_B13_0 = L_23;
goto IL_0085;
}
IL_007a:
{
Func_1_t58C51DB29153B53A9136AE397958F3FCC1F596EC* L_24 = __this->___adjustStartPoint_4;
NullCheck(L_24);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = Func_1_Invoke_m1CDD0198843EF8947E2C7F333F38C1E36FF3C568_inline(L_24, NULL);
G_B13_0 = L_25;
}
IL_0085:
{
V_3 = G_B13_0;
goto IL_008f;
}
IL_0088:
{
// relevantPoint = path.originalEndPoint;
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_26 = ___0_path;
NullCheck(L_26);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = L_26->___originalEndPoint_31;
V_3 = L_27;
}
IL_008f:
{
int32_t L_28 = ___1_mode;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_28, 1)))
{
case 0:
{
goto IL_00ac;
}
case 1:
{
goto IL_00b6;
}
case 2:
{
goto IL_01f3;
}
case 3:
{
goto IL_00f3;
}
}
}
{
goto IL_01f3;
}
IL_00ac:
{
// return GetClampedPoint(nodePos, relevantPoint, node);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_3;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_31 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
L_32 = StartEndModifier_GetClampedPoint_mD43826354F26662E1552F52A53D9751F821D90B6(__this, L_29, L_30, L_31, NULL);
return L_32;
}
IL_00b6:
{
// var adjacentNode = path.path[Mathf.Clamp(index + (start ? 1 : -1), 0, path.path.Count-1)];
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_33 = ___0_path;
NullCheck(L_33);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_34 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_33)->___path_8;
int32_t L_35 = V_0;
bool L_36 = ___2_start;
G_B19_0 = L_35;
G_B19_1 = L_34;
if (L_36)
{
G_B20_0 = L_35;
G_B20_1 = L_34;
goto IL_00c3;
}
}
{
G_B21_0 = (-1);
G_B21_1 = G_B19_0;
G_B21_2 = G_B19_1;
goto IL_00c4;
}
IL_00c3:
{
G_B21_0 = 1;
G_B21_1 = G_B20_0;
G_B21_2 = G_B20_1;
}
IL_00c4:
{
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_37 = ___0_path;
NullCheck(L_37);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_38 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_37)->___path_8;
NullCheck(L_38);
int32_t L_39;
L_39 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_38, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
int32_t L_40;
L_40 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(((int32_t)il2cpp_codegen_add(G_B21_1, G_B21_0)), 0, ((int32_t)il2cpp_codegen_subtract(L_39, 1)), NULL);
NullCheck(G_B21_2);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_41;
L_41 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(G_B21_2, L_40, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
V_4 = L_41;
// return VectorMath.ClosestPointOnSegment(nodePos, (Vector3)adjacentNode.position, relevantPoint);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_2;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_43 = V_4;
NullCheck(L_43);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_44 = L_43->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
L_45 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_44, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
L_47 = VectorMath_ClosestPointOnSegment_mEE1C608A7DCBE4809E300E1AF0C1A8AB6F825A92(L_42, L_45, L_46, NULL);
return L_47;
}
IL_00f3:
{
// connectionBuffer = connectionBuffer ?? new List<GraphNode>();
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_48 = __this->___connectionBuffer_8;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_49 = L_48;
G_B23_0 = L_49;
G_B23_1 = __this;
if (L_49)
{
G_B24_0 = L_49;
G_B24_1 = __this;
goto IL_0103;
}
}
{
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_50 = (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*)il2cpp_codegen_object_new(List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_il2cpp_TypeInfo_var);
NullCheck(L_50);
List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7(L_50, List_1__ctor_m61E0EFD50DB52CB8E593E21B6674AAA703BDFFF7_RuntimeMethod_var);
G_B24_0 = L_50;
G_B24_1 = G_B23_1;
}
IL_0103:
{
NullCheck(G_B24_1);
G_B24_1->___connectionBuffer_8 = G_B24_0;
Il2CppCodeGenWriteBarrier((void**)(&G_B24_1->___connectionBuffer_8), (void*)G_B24_0);
// connectionBufferAddDelegate = connectionBufferAddDelegate ?? (System.Action<GraphNode>)connectionBuffer.Add;
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_51 = __this->___connectionBufferAddDelegate_9;
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_52 = L_51;
G_B25_0 = L_52;
G_B25_1 = __this;
if (L_52)
{
G_B26_0 = L_52;
G_B26_1 = __this;
goto IL_0125;
}
}
{
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_53 = __this->___connectionBuffer_8;
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_54 = L_53;
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_55 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
NullCheck(L_55);
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_55, L_54, (intptr_t)((void*)GetVirtualMethodInfo(L_54, 11)), NULL);
G_B26_0 = L_55;
G_B26_1 = G_B25_1;
}
IL_0125:
{
NullCheck(G_B26_1);
G_B26_1->___connectionBufferAddDelegate_9 = G_B26_0;
Il2CppCodeGenWriteBarrier((void**)(&G_B26_1->___connectionBufferAddDelegate_9), (void*)G_B26_0);
// adjacentNode = path.path[Mathf.Clamp(index + (start ? 1 : -1), 0, path.path.Count-1)];
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_56 = ___0_path;
NullCheck(L_56);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_57 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_56)->___path_8;
int32_t L_58 = V_0;
bool L_59 = ___2_start;
G_B27_0 = L_58;
G_B27_1 = L_57;
if (L_59)
{
G_B28_0 = L_58;
G_B28_1 = L_57;
goto IL_0137;
}
}
{
G_B29_0 = (-1);
G_B29_1 = G_B27_0;
G_B29_2 = G_B27_1;
goto IL_0138;
}
IL_0137:
{
G_B29_0 = 1;
G_B29_1 = G_B28_0;
G_B29_2 = G_B28_1;
}
IL_0138:
{
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_60 = ___0_path;
NullCheck(L_60);
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_61 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_60)->___path_8;
NullCheck(L_61);
int32_t L_62;
L_62 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_61, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
int32_t L_63;
L_63 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(((int32_t)il2cpp_codegen_add(G_B29_1, G_B29_0)), 0, ((int32_t)il2cpp_codegen_subtract(L_62, 1)), NULL);
NullCheck(G_B29_2);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_64;
L_64 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(G_B29_2, L_63, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
V_4 = L_64;
// node.GetConnections(connectionBufferAddDelegate);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_65 = V_1;
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_66 = __this->___connectionBufferAddDelegate_9;
NullCheck(L_65);
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(5 /* System.Void Pathfinding.GraphNode::GetConnections(System.Action`1<Pathfinding.GraphNode>) */, L_65, L_66);
// var bestPos = nodePos;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_2;
V_5 = L_67;
// var bestDist = float.PositiveInfinity;
V_6 = (std::numeric_limits<float>::infinity());
// for (int i = connectionBuffer.Count - 1; i >= 0; i--) {
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_68 = __this->___connectionBuffer_8;
NullCheck(L_68);
int32_t L_69;
L_69 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_68, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
V_7 = ((int32_t)il2cpp_codegen_subtract(L_69, 1));
goto IL_01e0;
}
IL_017a:
{
// var neighbour = connectionBuffer[i];
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_70 = __this->___connectionBuffer_8;
int32_t L_71 = V_7;
NullCheck(L_70);
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_72;
L_72 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_70, L_71, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
V_8 = L_72;
// if (!path.CanTraverse(neighbour)) continue;
ABPath_tBBF9BF4DDCCEC714D7E456B726BD00FBFAE5418F* L_73 = ___0_path;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_74 = V_8;
NullCheck(L_73);
bool L_75;
L_75 = Path_CanTraverse_m6591EBB82B68115ECC6D103EBF00414BDDC0A308(L_73, L_74, NULL);
if (!L_75)
{
goto IL_01da;
}
}
{
// var closest = VectorMath.ClosestPointOnSegment(nodePos, (Vector3)neighbour.position, relevantPoint);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76 = V_2;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_77 = V_8;
NullCheck(L_77);
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_78 = L_77->___position_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
L_79 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_78, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
L_81 = VectorMath_ClosestPointOnSegment_mEE1C608A7DCBE4809E300E1AF0C1A8AB6F825A92(L_76, L_79, L_80, NULL);
V_9 = L_81;
// var dist = (closest - relevantPoint).sqrMagnitude;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
L_84 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_82, L_83, NULL);
V_11 = L_84;
float L_85;
L_85 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_11), NULL);
V_10 = L_85;
// if (dist < bestDist) {
float L_86 = V_10;
float L_87 = V_6;
if ((!(((float)L_86) < ((float)L_87))))
{
goto IL_01da;
}
}
{
// bestPos = closest;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = V_9;
V_5 = L_88;
// bestDist = dist;
float L_89 = V_10;
V_6 = L_89;
// closestConnectionIndex = i;
int32_t* L_90 = ___4_closestConnectionIndex;
int32_t L_91 = V_7;
*((int32_t*)L_90) = (int32_t)L_91;
// forceAddPoint = neighbour != adjacentNode;
bool* L_92 = ___3_forceAddPoint;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_93 = V_8;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_94 = V_4;
*((int8_t*)L_92) = (int8_t)((((int32_t)((((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_93) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_94))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
IL_01da:
{
// for (int i = connectionBuffer.Count - 1; i >= 0; i--) {
int32_t L_95 = V_7;
V_7 = ((int32_t)il2cpp_codegen_subtract(L_95, 1));
}
IL_01e0:
{
// for (int i = connectionBuffer.Count - 1; i >= 0; i--) {
int32_t L_96 = V_7;
if ((((int32_t)L_96) >= ((int32_t)0)))
{
goto IL_017a;
}
}
{
// connectionBuffer.Clear();
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_97 = __this->___connectionBuffer_8;
NullCheck(L_97);
List_1_Clear_mA937F129E2EC4ED2E068F66C45A0D79F0189C78B_inline(L_97, List_1_Clear_mA937F129E2EC4ED2E068F66C45A0D79F0189C78B_RuntimeMethod_var);
// return bestPos;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98 = V_5;
return L_98;
}
IL_01f3:
{
// throw new System.ArgumentException("Cannot reach this point, but the compiler is not smart enough to realize that.");
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_99 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
NullCheck(L_99);
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_99, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral7A0FADE91808BFEA62C68743C2EF05BA007CD87F)), NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_99, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&StartEndModifier_Snap_m32883D7EBB0EB6E7516A8503906A7A367399E82D_RuntimeMethod_var)));
}
IL_01fe:
{
// throw new System.ArgumentException("Invalid mode");
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_100 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
NullCheck(L_100);
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_100, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralFF58697ED636DB5BE0E1B0D11850ADEA3B188274)), NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_100, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&StartEndModifier_Snap_m32883D7EBB0EB6E7516A8503906A7A367399E82D_RuntimeMethod_var)));
}
}
// UnityEngine.Vector3 Pathfinding.StartEndModifier::GetClampedPoint(UnityEngine.Vector3,UnityEngine.Vector3,Pathfinding.GraphNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 StartEndModifier_GetClampedPoint_mD43826354F26662E1552F52A53D9751F821D90B6 (StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___2_hint, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IRaycastableGraph_t833F9A92A796447C85D2C83EFEC6CC894EAD7336_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject* V_2 = NULL;
GraphHitInfo_tAADF50478FBE1A94D43AE3F349EE1E4AEAB5CBE0 V_3;
memset((&V_3), 0, sizeof(V_3));
{
// Vector3 point = to;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_to;
V_0 = L_0;
// if (useRaycasting && Physics.Linecast(from, to, out hit, mask)) {
bool L_1 = __this->___useRaycasting_5;
if (!L_1)
{
goto IL_0028;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_from;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___1_to;
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_4 = __this->___mask_6;
int32_t L_5;
L_5 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_4, NULL);
bool L_6;
L_6 = Physics_Linecast_mF9E3896E84ACD675E71363ADE30A8418C14C59C6(L_2, L_3, (&V_1), L_5, NULL);
if (!L_6)
{
goto IL_0028;
}
}
{
// point = hit.point;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39((&V_1), NULL);
V_0 = L_7;
}
IL_0028:
{
// if (useGraphRaycasting && hint != null) {
bool L_8 = __this->___useGraphRaycasting_7;
if (!L_8)
{
goto IL_0056;
}
}
{
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = ___2_hint;
if (!L_9)
{
goto IL_0056;
}
}
{
// var rayGraph = AstarData.GetGraph(hint) as IRaycastableGraph;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_10 = ___2_hint;
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* L_11;
L_11 = AstarData_GetGraph_m277003679707540B49B5ADCDE494AA6492F3450F(L_10, NULL);
V_2 = ((RuntimeObject*)IsInst((RuntimeObject*)L_11, IRaycastableGraph_t833F9A92A796447C85D2C83EFEC6CC894EAD7336_il2cpp_TypeInfo_var));
// if (rayGraph != null) {
RuntimeObject* L_12 = V_2;
if (!L_12)
{
goto IL_0056;
}
}
{
// if (rayGraph.Linecast(from, point, hint, out graphHit)) {
RuntimeObject* L_13 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___0_from;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_0;
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_16 = ___2_hint;
NullCheck(L_13);
bool L_17;
L_17 = InterfaceFuncInvoker4< bool, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, GraphHitInfo_tAADF50478FBE1A94D43AE3F349EE1E4AEAB5CBE0* >::Invoke(2 /* System.Boolean Pathfinding.IRaycastableGraph::Linecast(UnityEngine.Vector3,UnityEngine.Vector3,Pathfinding.GraphNode,Pathfinding.GraphHitInfo&) */, IRaycastableGraph_t833F9A92A796447C85D2C83EFEC6CC894EAD7336_il2cpp_TypeInfo_var, L_13, L_14, L_15, L_16, (&V_3));
if (!L_17)
{
goto IL_0056;
}
}
{
// point = graphHit.point;
GraphHitInfo_tAADF50478FBE1A94D43AE3F349EE1E4AEAB5CBE0 L_18 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18.___point_1;
V_0 = L_19;
}
IL_0056:
{
// return point;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_0;
return L_20;
}
}
// System.Void Pathfinding.StartEndModifier::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StartEndModifier__ctor_mF5D5E3665E5AAD8A5D908FB7D3B9A2498520F032 (StartEndModifier_t69365942D4D0908748A6405B017F6B0C341028F7* __this, const RuntimeMethod* method)
{
{
// public Exactness exactStartPoint = Exactness.ClosestOnNode;
__this->___exactStartPoint_2 = 3;
// public Exactness exactEndPoint = Exactness.ClosestOnNode;
__this->___exactEndPoint_3 = 3;
// public LayerMask mask = -1;
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_0;
L_0 = LayerMask_op_Implicit_m01C8996A2CB2085328B9C33539C43139660D8222((-1), NULL);
__this->___mask_6 = L_0;
PathModifier__ctor_mE1F60DCEE4C6980899185B9EDA6F2A2A589F56B7(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method)
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_euler;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_0, (0.0174532924f), NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
L_2 = Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E(L_1, NULL);
V_0 = L_2;
goto IL_0014;
}
IL_0014:
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = V_0;
return L_3;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___oneVector_6;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
float L_1 = L_0.___x_2;
float L_2 = ___1_d;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
float L_4 = L_3.___y_3;
float L_5 = ___1_d;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
float L_7 = L_6.___z_4;
float L_8 = ___1_d;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ((Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields*)il2cpp_codegen_static_fields_for(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var))->___identityQuaternion_4;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline (float ___0_f, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
float L_0 = ___0_f;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_1;
L_1 = floor(((double)L_0));
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
goto IL_000c;
}
IL_000c:
{
int32_t L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline (float ___0_f, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
float L_0 = ___0_f;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_1;
L_1 = ceil(((double)L_0));
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
goto IL_000c;
}
IL_000c:
{
int32_t L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___zeroVector_5;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
float L_3 = L_2.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
float L_5 = L_4.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
memset((&L_6), 0, sizeof(L_6));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), ((-L_1)), ((-L_3)), ((-L_5)), /*hidden argument*/NULL);
V_0 = L_6;
goto IL_001e;
}
IL_001e:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
return L_7;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint16_t GridNode_get_InternalGridFlags_m3524F7385C1A53C7D7FA6107D48BF8638399C907_inline (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, const RuntimeMethod* method)
{
{
// get { return gridFlags; }
uint16_t L_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)__this)->___gridFlags_27;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
{
{
// public GraphTransform transform { get; private set; }
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = __this->___U3CtransformU3Ek__BackingField_49;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
float V_2 = 0.0f;
{
float L_0 = ___0_value;
float L_1 = ___1_min;
V_0 = (bool)((((float)L_0) < ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_000e;
}
}
{
float L_3 = ___1_min;
___0_value = L_3;
goto IL_0019;
}
IL_000e:
{
float L_4 = ___0_value;
float L_5 = ___2_max;
V_1 = (bool)((((float)L_4) > ((float)L_5))? 1 : 0);
bool L_6 = V_1;
if (!L_6)
{
goto IL_0019;
}
}
{
float L_7 = ___2_max;
___0_value = L_7;
}
IL_0019:
{
float L_8 = ___0_value;
V_2 = L_8;
goto IL_001d;
}
IL_001d:
{
float L_9 = V_2;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
{
{
float L_0 = ___0_x;
__this->___x_2 = L_0;
float L_1 = ___1_y;
__this->___y_3 = L_1;
float L_2 = ___2_z;
__this->___z_4 = L_2;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
float L_1 = L_0.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
float L_3 = L_2.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
float L_5 = L_4.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
float L_11 = L_10.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___0_lhs;
float L_13 = L_12.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___1_rhs;
float L_15 = L_14.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_lhs;
float L_17 = L_16.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_rhs;
float L_19 = L_18.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_lhs;
float L_21 = L_20.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___1_rhs;
float L_23 = L_22.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
memset((&L_24), 0, sizeof(L_24));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_24), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_9, L_11)), ((float)il2cpp_codegen_multiply(L_13, L_15)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_17, L_19)), ((float)il2cpp_codegen_multiply(L_21, L_23)))), /*hidden argument*/NULL);
V_0 = L_24;
goto IL_005a;
}
IL_005a:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_0;
return L_25;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3_Normalize_mC749B887A4C74BA0A2E13E6377F17CCAEB0AADA8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
bool V_1 = false;
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
float L_1;
L_1 = Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline(L_0, NULL);
V_0 = L_1;
float L_2 = V_0;
V_1 = (bool)((((float)L_2) > ((float)(9.99999975E-06f)))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_002d;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
float L_5 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_4, L_5, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this = L_6;
goto IL_0038;
}
IL_002d:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this = L_7;
}
IL_0038:
{
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
float L_11 = L_10.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)), ((float)il2cpp_codegen_subtract(L_9, L_11)), /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
float L_11 = L_10.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), ((float)il2cpp_codegen_add(L_9, L_11)), /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint16_t PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, const RuntimeMethod* method)
{
{
// public ushort PathID { get { return pathID; } }
uint16_t L_0 = __this->___pathID_0;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138_inline (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method)
{
{
// public uint H { get { return h; } set { h = value; } }
uint32_t L_0 = ___0_value;
__this->___h_11 = L_0;
// public uint H { get { return h; } set { h = value; } }
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA_inline (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method)
{
{
// public uint G { get { return g; } set { g = value; } }
uint32_t L_0 = __this->___g_10;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PointGraph_get_nodeCount_m0D081B425461BB0B4E6EF8BBFBA26F5777AEB2D2_inline (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, const RuntimeMethod* method)
{
{
// public int nodeCount { get; protected set; }
int32_t L_0 = __this->___U3CnodeCountU3Ek__BackingField_23;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___x_2;
float L_1 = __this->___x_2;
float L_2 = __this->___y_3;
float L_3 = __this->___y_3;
float L_4 = __this->___z_4;
float L_5 = __this->___z_4;
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))));
goto IL_002d;
}
IL_002d:
{
float L_6 = V_0;
return L_6;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
float L_0 = ___1_b;
float L_1 = ___0_a;
float L_2;
L_2 = fabsf(((float)il2cpp_codegen_subtract(L_0, L_1)));
float L_3 = ___0_a;
float L_4;
L_4 = fabsf(L_3);
float L_5 = ___1_b;
float L_6;
L_6 = fabsf(L_5);
float L_7;
L_7 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_4, L_6, NULL);
float L_8 = ((Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields*)il2cpp_codegen_static_fields_for(Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var))->___Epsilon_0;
float L_9;
L_9 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(((float)il2cpp_codegen_multiply((9.99999997E-07f), L_7)), ((float)il2cpp_codegen_multiply(L_8, (8.0f))), NULL);
V_0 = (bool)((((float)L_2) < ((float)L_9))? 1 : 0);
goto IL_0035;
}
IL_0035:
{
bool L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
float L_0 = __this->___x_2;
float L_1 = __this->___x_2;
float L_2 = __this->___y_3;
float L_3 = __this->___y_3;
float L_4 = __this->___z_4;
float L_5 = __this->___z_4;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_6;
L_6 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))))));
V_0 = ((float)L_6);
goto IL_0034;
}
IL_0034:
{
float L_7 = V_0;
return L_7;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, const RuntimeMethod* method)
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_v;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_v;
float L_3 = L_2.___y_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
memset((&L_4), 0, sizeof(L_4));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), L_1, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_0015;
}
IL_0015:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PointGraph_set_nodeCount_m54C70E397E4891F8B7FFEC013D17E8FB8647A148_inline (PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* __this, int32_t ___0_value, const RuntimeMethod* method)
{
{
// public int nodeCount { get; protected set; }
int32_t L_0 = ___0_value;
__this->___U3CnodeCountU3Ek__BackingField_23 = L_0;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float G_B3_0 = 0.0f;
{
float L_0 = ___0_a;
float L_1 = ___1_b;
if ((((float)L_0) > ((float)L_1)))
{
goto IL_0008;
}
}
{
float L_2 = ___1_b;
G_B3_0 = L_2;
goto IL_0009;
}
IL_0008:
{
float L_3 = ___0_a;
G_B3_0 = L_3;
}
IL_0009:
{
V_0 = G_B3_0;
goto IL_000c;
}
IL_000c:
{
float L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
float L_0 = ___0_f;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_1;
L_1 = bankers_round(((double)L_0));
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
goto IL_000c;
}
IL_000c:
{
int32_t L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (1.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___upVector_7;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method)
{
{
float L_0 = ___0_r;
__this->___r_0 = L_0;
float L_1 = ___1_g;
__this->___g_1 = L_1;
float L_2 = ___2_b;
__this->___b_2 = L_2;
float L_3 = ___3_a;
__this->___a_3 = L_3;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Single_IsPositiveInfinity_mB6DA4AAB74012F1BD90C90121090ED87A5782FA7_inline (float ___0_f, const RuntimeMethod* method)
{
{
float L_0 = ___0_f;
return (bool)((((float)L_0) == ((float)(std::numeric_limits<float>::infinity())))? 1 : 0);
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___0_x, float ___1_y, const RuntimeMethod* method)
{
{
float L_0 = ___0_x;
__this->___x_0 = L_0;
float L_1 = ___1_y;
__this->___y_1 = L_1;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->____stringLength_4;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
{
{
// return penalty;
uint32_t L_0 = __this->___penalty_2;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
bool V_4 = false;
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
float L_3 = L_2.___x_2;
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
float L_7 = L_6.___y_3;
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
float L_11 = L_10.___z_4;
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
float L_12 = V_0;
float L_13 = V_0;
float L_14 = V_1;
float L_15 = V_1;
float L_16 = V_2;
float L_17 = V_2;
V_3 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))));
float L_18 = V_3;
V_4 = (bool)((((float)L_18) < ((float)(9.99999944E-11f)))? 1 : 0);
goto IL_0043;
}
IL_0043:
{
bool L_19 = V_4;
return L_19;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline(L_0, NULL);
V_0 = L_1;
goto IL_000f;
}
IL_000f:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline (float ___0_d, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_a;
float L_1 = L_0.___x_2;
float L_2 = ___0_d;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___1_a;
float L_4 = L_3.___y_3;
float L_5 = ___0_d;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_a;
float L_7 = L_6.___z_4;
float L_8 = ___0_d;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
float L_3 = L_2.___x_2;
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
float L_7 = L_6.___y_3;
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
float L_11 = L_10.___z_4;
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
float L_12 = V_0;
float L_13 = V_0;
float L_14 = V_1;
float L_15 = V_1;
float L_16 = V_2;
float L_17 = V_2;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_18;
L_18 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))))));
V_3 = ((float)L_18);
goto IL_0040;
}
IL_0040:
{
float L_19 = V_3;
return L_19;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
float L_0 = ___2_t;
float L_1;
L_1 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_0, NULL);
___2_t = L_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___1_b;
float L_5 = L_4.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
float L_7 = L_6.___x_2;
float L_8 = ___2_t;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_a;
float L_10 = L_9.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___1_b;
float L_12 = L_11.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_a;
float L_14 = L_13.___y_3;
float L_15 = ___2_t;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_a;
float L_17 = L_16.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_b;
float L_19 = L_18.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_a;
float L_21 = L_20.___z_4;
float L_22 = ___2_t;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
memset((&L_23), 0, sizeof(L_23));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_23), ((float)il2cpp_codegen_add(L_3, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_5, L_7)), L_8)))), ((float)il2cpp_codegen_add(L_10, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_12, L_14)), L_15)))), ((float)il2cpp_codegen_add(L_17, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_19, L_21)), L_22)))), /*hidden argument*/NULL);
V_0 = L_23;
goto IL_0053;
}
IL_0053:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
return L_24;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Max_m7FA442918DE37E3A00106D1F2E789D65829792B8_inline (int32_t ___0_a, int32_t ___1_b, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B3_0 = 0;
{
int32_t L_0 = ___0_a;
int32_t L_1 = ___1_b;
if ((((int32_t)L_0) > ((int32_t)L_1)))
{
goto IL_0008;
}
}
{
int32_t L_2 = ___1_b;
G_B3_0 = L_2;
goto IL_0009;
}
IL_0008:
{
int32_t L_3 = ___0_a;
G_B3_0 = L_3;
}
IL_0009:
{
V_0 = G_B3_0;
goto IL_000c;
}
IL_000c:
{
int32_t L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
float L_1 = L_0.___x_2;
float L_2 = ___1_d;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
float L_4 = L_3.___y_3;
float L_5 = ___1_d;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
float L_7 = L_6.___z_4;
float L_8 = ___1_d;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)(L_1/L_2)), ((float)(L_4/L_5)), ((float)(L_7/L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline (int32_t ___0_value, int32_t ___1_min, int32_t ___2_max, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
int32_t V_2 = 0;
{
int32_t L_0 = ___0_value;
int32_t L_1 = ___1_min;
V_0 = (bool)((((int32_t)L_0) < ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_000e;
}
}
{
int32_t L_3 = ___1_min;
___0_value = L_3;
goto IL_0019;
}
IL_000e:
{
int32_t L_4 = ___0_value;
int32_t L_5 = ___2_max;
V_1 = (bool)((((int32_t)L_4) > ((int32_t)L_5))? 1 : 0);
bool L_6 = V_1;
if (!L_6)
{
goto IL_0019;
}
}
{
int32_t L_7 = ___2_max;
___0_value = L_7;
}
IL_0019:
{
int32_t L_8 = ___0_value;
V_2 = L_8;
goto IL_001d;
}
IL_001d:
{
int32_t L_9 = V_2;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 Enumerator_get_Current_mF36B1C2353072BC4860616AEF9852ED47B114B65_gshared_inline (Enumerator_t2DDCF88EF84B8772C308BED0F9893B5C26F37D0B* __this, const RuntimeMethod* method)
{
{
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_0 = __this->____current_3;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m3379DEA703C536D8D6F82BD9CDFC7441FC2D90CB_gshared_inline (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_item, const RuntimeMethod* method)
{
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = __this->____version_3;
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_1 = __this->____items_1;
V_0 = L_1;
int32_t L_2 = __this->____size_2;
V_1 = L_2;
int32_t L_3 = V_1;
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_4 = V_0;
NullCheck(L_4);
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
{
goto IL_0034;
}
}
{
int32_t L_5 = V_1;
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_6 = V_0;
int32_t L_7 = V_1;
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_8 = ___0_item;
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553)L_8);
return;
}
IL_0034:
{
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_9 = ___0_item;
(( void (*) (List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200*, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
{
typedef void (*FunctionPointerType) (RuntimeObject*, RuntimeObject*, const RuntimeMethod*);
((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_obj, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method)
{
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = __this->____version_3;
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = __this->____items_1;
V_0 = L_1;
int32_t L_2 = __this->____size_2;
V_1 = L_2;
int32_t L_3 = V_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = V_0;
NullCheck(L_4);
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
{
goto IL_0034;
}
}
{
int32_t L_5 = V_1;
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_6 = V_0;
int32_t L_7 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_item;
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_8);
return;
}
IL_0034:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_item;
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->____version_3;
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
if (!true)
{
goto IL_0035;
}
}
{
int32_t L_1 = __this->____size_2;
V_0 = L_1;
__this->____size_2 = 0;
int32_t L_2 = V_0;
if ((((int32_t)L_2) <= ((int32_t)0)))
{
goto IL_003c;
}
}
{
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->____items_1;
int32_t L_4 = V_0;
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
return;
}
IL_0035:
{
__this->____size_2 = 0;
}
IL_003c:
{
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 ___0_item, const RuntimeMethod* method)
{
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = __this->____version_3;
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->____items_1;
V_0 = L_1;
int32_t L_2 = __this->____size_2;
V_1 = L_2;
int32_t L_3 = V_1;
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_4 = V_0;
NullCheck(L_4);
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
{
goto IL_0034;
}
}
{
int32_t L_5 = V_1;
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_6 = V_0;
int32_t L_7 = V_1;
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_8 = ___0_item;
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_8);
return;
}
IL_0034:
{
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_9 = ___0_item;
(( void (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method)
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = __this->____version_3;
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = __this->____items_1;
V_0 = L_1;
int32_t L_2 = __this->____size_2;
V_1 = L_2;
int32_t L_3 = V_1;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = V_0;
NullCheck(L_4);
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
{
goto IL_0034;
}
}
{
int32_t L_5 = V_1;
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = V_0;
int32_t L_7 = V_1;
int32_t L_8 = ___0_item;
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (int32_t)L_8);
return;
}
IL_0034:
{
int32_t L_9 = ___0_item;
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Stack_1_get_Count_mD08AE71D49787D30DDD9D484BCD323D646744D2E_gshared_inline (Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->____size_1;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method)
{
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = __this->____version_3;
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = __this->____items_1;
V_0 = L_1;
int32_t L_2 = __this->____size_2;
V_1 = L_2;
int32_t L_3 = V_1;
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = V_0;
NullCheck(L_4);
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
{
goto IL_0034;
}
}
{
int32_t L_5 = V_1;
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = V_0;
int32_t L_7 = V_1;
RuntimeObject* L_8 = ___0_item;
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (RuntimeObject*)L_8);
return;
}
IL_0034:
{
RuntimeObject* L_9 = ___0_item;
(( void (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, RuntimeObject*, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->____size_2;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->____version_3;
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
if (!true)
{
goto IL_0035;
}
}
{
int32_t L_1 = __this->____size_2;
V_0 = L_1;
__this->____size_2 = 0;
int32_t L_2 = V_0;
if ((((int32_t)L_2) <= ((int32_t)0)))
{
goto IL_003c;
}
}
{
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_3 = __this->____items_1;
int32_t L_4 = V_0;
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
return;
}
IL_0035:
{
__this->____size_2 = 0;
}
IL_003c:
{
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->____size_2;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m0420B2F58963DEA722E474A10DB1F772F87331E9_gshared_inline (List_1_tE9A474190B88D00D2CA7AE73ABB0F07060BBCF77* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->____size_2;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Func_1_Invoke_m1CDD0198843EF8947E2C7F333F38C1E36FF3C568_gshared_inline (Func_1_t58C51DB29153B53A9136AE397958F3FCC1F596EC* __this, const RuntimeMethod* method)
{
typedef Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 (*FunctionPointerType) (RuntimeObject*, const RuntimeMethod*);
return ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_vector;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_vector;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_vector;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_vector;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_vector;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
float L_11 = L_10.___z_4;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_12;
L_12 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))))));
V_0 = ((float)L_12);
goto IL_0034;
}
IL_0034:
{
float L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
{
float V_0 = 0.0f;
bool V_1 = false;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
float L_1;
L_1 = Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline(L_0, NULL);
V_0 = L_1;
float L_2 = V_0;
V_1 = (bool)((((float)L_2) > ((float)(9.99999975E-06f)))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_001e;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_value;
float L_5 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_4, L_5, NULL);
V_2 = L_6;
goto IL_0026;
}
IL_001e:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
V_2 = L_7;
goto IL_0026;
}
IL_0026:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
return L_8;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method)
{
bool V_0 = false;
float V_1 = 0.0f;
bool V_2 = false;
{
float L_0 = ___0_value;
V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
V_1 = (0.0f);
goto IL_002d;
}
IL_0015:
{
float L_2 = ___0_value;
V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
bool L_3 = V_2;
if (!L_3)
{
goto IL_0029;
}
}
{
V_1 = (1.0f);
goto IL_002d;
}
IL_0029:
{
float L_4 = ___0_value;
V_1 = L_4;
goto IL_002d;
}
IL_002d:
{
float L_5 = V_1;
return L_5;
}
}