UnityEngine.TerrainModule.cpp 154 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306
  1. #include "pch-cpp.hpp"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <limits>
  8. struct Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907;
  9. struct Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C;
  10. struct Dictionary_2_t22B5EE7684537D7D143E6F6FCDC4C58B5D53F68F;
  11. struct Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119;
  12. struct IEqualityComparer_1_tDBFC8496F14612776AF930DBF84AFE7D06D1F0E9;
  13. struct IEqualityComparer_1_t88286C29EF8964DB1FA6326A0679A19AC8C74709;
  14. struct KeyCollection_t97828E793E08E7AE593254EBFD6895A9E9604AF2;
  15. struct KeyCollection_t8A862CFF968D9AAD432E0AFA29DECB342BF06F59;
  16. struct KeyCollection_tE33A2EB76F7F1DBF4EF03A4D82E8E0A13B74637E;
  17. struct Predicate_1_t8342C85FF4E41CD1F7024AC0CDC3E5312A32CB12;
  18. struct Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055;
  19. struct ValueCollection_tBB50DA6B04BF6793F609F48ADA1A351088E36D60;
  20. struct ValueCollection_tAD845AD3A8539F70A13D1BE6F0351D29799ADEAB;
  21. struct EntryU5BU5D_t0D4B039A690585E4A149FAC6B11C554E9BAA164A;
  22. struct EntryU5BU5D_tF5367AE3FB34F62A304459CBC2E961FB1A82E6DA;
  23. struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  24. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  25. struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
  26. struct TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE;
  27. struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA;
  28. struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
  29. struct Delegate_t;
  30. struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
  31. struct MethodInfo_t;
  32. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
  33. struct String_t;
  34. struct Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667;
  35. struct TerrainData_t615A68EAC648066681875D47FC641496D12F2E24;
  36. struct TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB;
  37. struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
  38. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  39. struct HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0;
  40. struct TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F;
  41. struct U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3;
  42. struct U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E;
  43. struct U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951;
  44. IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C_il2cpp_TypeInfo_var;
  45. IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119_il2cpp_TypeInfo_var;
  46. IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
  47. IL2CPP_EXTERN_C RuntimeClass* Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var;
  48. IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
  49. IL2CPP_EXTERN_C RuntimeClass* Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055_il2cpp_TypeInfo_var;
  50. IL2CPP_EXTERN_C RuntimeClass* TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_il2cpp_TypeInfo_var;
  51. IL2CPP_EXTERN_C RuntimeClass* TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var;
  52. IL2CPP_EXTERN_C RuntimeClass* TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB_il2cpp_TypeInfo_var;
  53. IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E_il2cpp_TypeInfo_var;
  54. IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951_il2cpp_TypeInfo_var;
  55. IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3_il2cpp_TypeInfo_var;
  56. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m265E9FB46C80D234AEB47C08D701628D57DBA132_RuntimeMethod_var;
  57. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m4E7AE6465929CEEA79B5921CFF3D4BD64E249AF9_RuntimeMethod_var;
  58. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_ContainsKey_m384365266E590EDD82F8949169A3C502E643AC95_RuntimeMethod_var;
  59. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_GetEnumerator_m50800AFD24DEE5F8ACB58E1535F2A472B478E473_RuntimeMethod_var;
  60. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_GetEnumerator_m5461BE3EE48320EA8E593506F16860A2CB4E9056_RuntimeMethod_var;
  61. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_mA4944115ADCBA991881F907C9E48413EB1EFE42A_RuntimeMethod_var;
  62. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m5665AD243B285B8D26138C699D544F4124AC7D78_RuntimeMethod_var;
  63. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_mCA22422F902B1FF70914D8FA2EF849DA0DCDC87D_RuntimeMethod_var;
  64. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Count_m001233C3B4F8B3D1A8F044C9D43104F1671688DC_RuntimeMethod_var;
  65. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Count_m876E3F2E32CD5DE6F869A52E21B755854D74C024_RuntimeMethod_var;
  66. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Keys_mBE9BF06497225D54AC2D2D7AEF6D0F94169B10D4_RuntimeMethod_var;
  67. IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m09F8467FB404D375259C17136F2213FC8455F2BF_RuntimeMethod_var;
  68. IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_mC60AECD5D4FA770371F4B374F2B026F7198CEF03_RuntimeMethod_var;
  69. IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_mDDABE6027BD9E377D6E3FC7F60CE5DDB0ADC47D7_RuntimeMethod_var;
  70. IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m1BA7CBA94F8FC389211722A43E22BB110102ABB4_RuntimeMethod_var;
  71. IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m1CEA4A6A000E5344DB72DFF5E4FF563FF67F3558_RuntimeMethod_var;
  72. IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m6430F89661ED2AEDEAD6FD241BBDA21BF02135DC_RuntimeMethod_var;
  73. IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m1F085EA2ABB67CCEB29CC4A10D6FBC0F2B963349_RuntimeMethod_var;
  74. IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m88A7ECB72C871AEFAD87667D8512A109C33E7080_RuntimeMethod_var;
  75. IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_mCD48A37B44C4A6E441AF6806E0821A24A22A51F3_RuntimeMethod_var;
  76. IL2CPP_EXTERN_C const RuntimeMethod* KeyCollection_GetEnumerator_m7D86741C1BEF055A22281CF69C6235BFD1E7D521_RuntimeMethod_var;
  77. IL2CPP_EXTERN_C const RuntimeMethod* KeyValuePair_2_get_Key_mFE7731B1C41692F16EB45AC2D63092AC73156A8A_RuntimeMethod_var;
  78. IL2CPP_EXTERN_C const RuntimeMethod* KeyValuePair_2_get_Value_m32D4949D8D2F580E35346D41EBB14C7933B93482_RuntimeMethod_var;
  79. IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass2_1_U3CCollectTerrainsU3Eb__0_m57E871EB2399E5FB7DF78B3C9EBFBF152116AC2C_RuntimeMethod_var;
  80. IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass3_0_U3CCreateFromPlacementU3Eb__0_m703A4D4E3D378C9896199B70A89FCDF1A07C737B_RuntimeMethod_var;
  81. struct Delegate_t_marshaled_com;
  82. struct Delegate_t_marshaled_pinvoke;
  83. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  84. struct TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE;
  85. IL2CPP_EXTERN_C_BEGIN
  86. IL2CPP_EXTERN_C_END
  87. #ifdef __clang__
  88. #pragma clang diagnostic push
  89. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  90. #pragma clang diagnostic ignored "-Wunused-variable"
  91. #endif
  92. struct U3CModuleU3E_t72986D6E9DA49B1952335DAFFF9250DC3CDDEA8E
  93. {
  94. };
  95. struct Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C : public RuntimeObject
  96. {
  97. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets;
  98. EntryU5BU5D_t0D4B039A690585E4A149FAC6B11C554E9BAA164A* ____entries;
  99. int32_t ____count;
  100. int32_t ____freeList;
  101. int32_t ____freeCount;
  102. int32_t ____version;
  103. RuntimeObject* ____comparer;
  104. KeyCollection_t97828E793E08E7AE593254EBFD6895A9E9604AF2* ____keys;
  105. ValueCollection_tBB50DA6B04BF6793F609F48ADA1A351088E36D60* ____values;
  106. RuntimeObject* ____syncRoot;
  107. };
  108. struct Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119 : public RuntimeObject
  109. {
  110. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets;
  111. EntryU5BU5D_tF5367AE3FB34F62A304459CBC2E961FB1A82E6DA* ____entries;
  112. int32_t ____count;
  113. int32_t ____freeList;
  114. int32_t ____freeCount;
  115. int32_t ____version;
  116. RuntimeObject* ____comparer;
  117. KeyCollection_tE33A2EB76F7F1DBF4EF03A4D82E8E0A13B74637E* ____keys;
  118. ValueCollection_tAD845AD3A8539F70A13D1BE6F0351D29799ADEAB* ____values;
  119. RuntimeObject* ____syncRoot;
  120. };
  121. struct KeyCollection_tE33A2EB76F7F1DBF4EF03A4D82E8E0A13B74637E : public RuntimeObject
  122. {
  123. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* ____dictionary;
  124. };
  125. struct String_t : public RuntimeObject
  126. {
  127. int32_t ____stringLength;
  128. Il2CppChar ____firstChar;
  129. };
  130. struct TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C : public RuntimeObject
  131. {
  132. };
  133. struct TerrainUtility_t2033CBF4E86976650C0371A424B6BDD6B051451D : public RuntimeObject
  134. {
  135. };
  136. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  137. {
  138. };
  139. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  140. {
  141. };
  142. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  143. {
  144. };
  145. struct U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3 : public RuntimeObject
  146. {
  147. int32_t ___groupID;
  148. };
  149. struct U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E : public RuntimeObject
  150. {
  151. bool ___onlyAutoConnectedTerrains;
  152. };
  153. struct U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951 : public RuntimeObject
  154. {
  155. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___t;
  156. U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E* ___CSU24U3CU3E8__locals1;
  157. };
  158. struct KeyValuePair_2_tDC26B09C26BA829DDE331BCB6AF7C508C763D7A3
  159. {
  160. int32_t ___key;
  161. RuntimeObject* ___value;
  162. };
  163. struct KeyValuePair_2_t5106DD80E20DAA18F0718F331B82E30C0F196873
  164. {
  165. int32_t ___key;
  166. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* ___value;
  167. };
  168. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  169. {
  170. bool ___m_value;
  171. };
  172. struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
  173. {
  174. double ___m_value;
  175. };
  176. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  177. {
  178. };
  179. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  180. {
  181. };
  182. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  183. {
  184. };
  185. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  186. {
  187. int32_t ___m_value;
  188. };
  189. struct IntPtr_t
  190. {
  191. void* ___m_value;
  192. };
  193. struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682
  194. {
  195. union
  196. {
  197. struct
  198. {
  199. };
  200. uint8_t Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682__padding[1];
  201. };
  202. };
  203. struct RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8
  204. {
  205. int32_t ___m_XMin;
  206. int32_t ___m_YMin;
  207. int32_t ___m_Width;
  208. int32_t ___m_Height;
  209. };
  210. struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
  211. {
  212. float ___m_value;
  213. };
  214. struct TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09
  215. {
  216. int32_t ___tileX;
  217. int32_t ___tileZ;
  218. };
  219. struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
  220. {
  221. float ___x;
  222. float ___y;
  223. };
  224. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
  225. {
  226. float ___x;
  227. float ___y;
  228. float ___z;
  229. };
  230. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  231. {
  232. union
  233. {
  234. struct
  235. {
  236. };
  237. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  238. };
  239. };
  240. struct Enumerator_tE92C1AC40A104A179B94F8A013728FD9314CFBD3
  241. {
  242. Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* ____dictionary;
  243. int32_t ____version;
  244. int32_t ____index;
  245. KeyValuePair_2_tDC26B09C26BA829DDE331BCB6AF7C508C763D7A3 ____current;
  246. int32_t ____getEnumeratorRetType;
  247. };
  248. struct Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F
  249. {
  250. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* ____dictionary;
  251. int32_t ____version;
  252. int32_t ____index;
  253. KeyValuePair_2_t5106DD80E20DAA18F0718F331B82E30C0F196873 ____current;
  254. int32_t ____getEnumeratorRetType;
  255. };
  256. struct Enumerator_tF5348A6D692C0422DAF82BC55E5276A4D29BEF53
  257. {
  258. Dictionary_2_t22B5EE7684537D7D143E6F6FCDC4C58B5D53F68F* ____dictionary;
  259. int32_t ____index;
  260. int32_t ____version;
  261. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 ____currentKey;
  262. };
  263. struct Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689
  264. {
  265. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* ____dictionary;
  266. int32_t ____index;
  267. int32_t ____version;
  268. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 ____currentKey;
  269. };
  270. struct KeyValuePair_2_t8760984FFCA6E11154C918347EA4C7CFB2D0B8CE
  271. {
  272. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 ___key;
  273. RuntimeObject* ___value;
  274. };
  275. struct KeyValuePair_2_t69A51C36FF679E64375AD7C88BC0B6EC664E71E3
  276. {
  277. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 ___key;
  278. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___value;
  279. };
  280. struct Delegate_t : public RuntimeObject
  281. {
  282. intptr_t ___method_ptr;
  283. intptr_t ___invoke_impl;
  284. RuntimeObject* ___m_target;
  285. intptr_t ___method;
  286. intptr_t ___delegate_trampoline;
  287. intptr_t ___extra_arg;
  288. intptr_t ___method_code;
  289. intptr_t ___interp_method;
  290. intptr_t ___interp_invoke_impl;
  291. MethodInfo_t* ___method_info;
  292. MethodInfo_t* ___original_method_info;
  293. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  294. bool ___method_is_virtual;
  295. };
  296. struct Delegate_t_marshaled_pinvoke
  297. {
  298. intptr_t ___method_ptr;
  299. intptr_t ___invoke_impl;
  300. Il2CppIUnknown* ___m_target;
  301. intptr_t ___method;
  302. intptr_t ___delegate_trampoline;
  303. intptr_t ___extra_arg;
  304. intptr_t ___method_code;
  305. intptr_t ___interp_method;
  306. intptr_t ___interp_invoke_impl;
  307. MethodInfo_t* ___method_info;
  308. MethodInfo_t* ___original_method_info;
  309. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  310. int32_t ___method_is_virtual;
  311. };
  312. struct Delegate_t_marshaled_com
  313. {
  314. intptr_t ___method_ptr;
  315. intptr_t ___invoke_impl;
  316. Il2CppIUnknown* ___m_target;
  317. intptr_t ___method;
  318. intptr_t ___delegate_trampoline;
  319. intptr_t ___extra_arg;
  320. intptr_t ___method_code;
  321. intptr_t ___interp_method;
  322. intptr_t ___interp_invoke_impl;
  323. MethodInfo_t* ___method_info;
  324. MethodInfo_t* ___original_method_info;
  325. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  326. int32_t ___method_is_virtual;
  327. };
  328. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  329. {
  330. intptr_t ___m_CachedPtr;
  331. };
  332. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  333. {
  334. intptr_t ___m_CachedPtr;
  335. };
  336. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  337. {
  338. intptr_t ___m_CachedPtr;
  339. };
  340. struct TerrainMapStatusCode_t5F36434C02953C1E58623F2E3A41D7B5FC8ADCA8
  341. {
  342. int32_t ___value__;
  343. };
  344. struct BoundaryValueType_t2B2F2E941A2F5A0411741220B4700D421279EF67
  345. {
  346. int32_t ___value__;
  347. };
  348. struct Enumerator_tB06F293668D09F345A54C8C836ABF567B9087FB7
  349. {
  350. Dictionary_2_t22B5EE7684537D7D143E6F6FCDC4C58B5D53F68F* ____dictionary;
  351. int32_t ____version;
  352. int32_t ____index;
  353. KeyValuePair_2_t8760984FFCA6E11154C918347EA4C7CFB2D0B8CE ____current;
  354. int32_t ____getEnumeratorRetType;
  355. };
  356. struct Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B
  357. {
  358. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* ____dictionary;
  359. int32_t ____version;
  360. int32_t ____index;
  361. KeyValuePair_2_t69A51C36FF679E64375AD7C88BC0B6EC664E71E3 ____current;
  362. int32_t ____getEnumeratorRetType;
  363. };
  364. struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  365. {
  366. };
  367. struct MulticastDelegate_t : public Delegate_t
  368. {
  369. DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates;
  370. };
  371. struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
  372. {
  373. Delegate_t_marshaled_pinvoke** ___delegates;
  374. };
  375. struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
  376. {
  377. Delegate_t_marshaled_com** ___delegates;
  378. };
  379. struct TerrainData_t615A68EAC648066681875D47FC641496D12F2E24 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  380. {
  381. };
  382. struct TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB : public RuntimeObject
  383. {
  384. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_patchSize;
  385. int32_t ___m_errorCode;
  386. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* ___m_terrainTiles;
  387. };
  388. struct Predicate_1_t8342C85FF4E41CD1F7024AC0CDC3E5312A32CB12 : public MulticastDelegate_t
  389. {
  390. };
  391. struct Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055 : public MulticastDelegate_t
  392. {
  393. };
  394. struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  395. {
  396. };
  397. struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  398. {
  399. };
  400. struct HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0 : public MulticastDelegate_t
  401. {
  402. };
  403. struct TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F : public MulticastDelegate_t
  404. {
  405. };
  406. struct Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
  407. {
  408. };
  409. struct String_t_StaticFields
  410. {
  411. String_t* ___Empty;
  412. };
  413. struct TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_StaticFields
  414. {
  415. HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* ___heightmapChanged;
  416. TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* ___textureChanged;
  417. };
  418. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  419. {
  420. String_t* ___TrueString;
  421. String_t* ___FalseString;
  422. };
  423. struct IntPtr_t_StaticFields
  424. {
  425. intptr_t ___Zero;
  426. };
  427. struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields
  428. {
  429. float ___Epsilon;
  430. };
  431. struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields
  432. {
  433. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___zeroVector;
  434. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___oneVector;
  435. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___upVector;
  436. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___downVector;
  437. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___leftVector;
  438. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rightVector;
  439. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___positiveInfinityVector;
  440. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___negativeInfinityVector;
  441. };
  442. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
  443. {
  444. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector;
  445. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector;
  446. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector;
  447. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector;
  448. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector;
  449. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector;
  450. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector;
  451. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector;
  452. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector;
  453. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector;
  454. };
  455. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
  456. {
  457. int32_t ___OffsetOfInstanceIDInCPlusPlusObject;
  458. };
  459. struct TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_StaticFields
  460. {
  461. int32_t ___k_MaximumResolution;
  462. int32_t ___k_MinimumDetailResolutionPerPatch;
  463. int32_t ___k_MaximumDetailResolutionPerPatch;
  464. int32_t ___k_MaximumDetailPatchCount;
  465. int32_t ___k_MinimumAlphamapResolution;
  466. int32_t ___k_MaximumAlphamapResolution;
  467. int32_t ___k_MinimumBaseMapResolution;
  468. int32_t ___k_MaximumBaseMapResolution;
  469. };
  470. #ifdef __clang__
  471. #pragma clang diagnostic pop
  472. #endif
  473. struct TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE : public RuntimeArray
  474. {
  475. ALIGN_FIELD (8) Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* m_Items[1];
  476. inline Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* GetAt(il2cpp_array_size_t index) const
  477. {
  478. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  479. return m_Items[index];
  480. }
  481. inline Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667** GetAddressAt(il2cpp_array_size_t index)
  482. {
  483. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  484. return m_Items + index;
  485. }
  486. inline void SetAt(il2cpp_array_size_t index, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* value)
  487. {
  488. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  489. m_Items[index] = value;
  490. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  491. }
  492. inline Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* GetAtUnchecked(il2cpp_array_size_t index) const
  493. {
  494. return m_Items[index];
  495. }
  496. inline Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667** GetAddressAtUnchecked(il2cpp_array_size_t index)
  497. {
  498. return m_Items + index;
  499. }
  500. inline void SetAtUnchecked(il2cpp_array_size_t index, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* value)
  501. {
  502. m_Items[index] = value;
  503. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  504. }
  505. };
  506. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771 : public RuntimeArray
  507. {
  508. ALIGN_FIELD (8) Delegate_t* m_Items[1];
  509. inline Delegate_t* GetAt(il2cpp_array_size_t index) const
  510. {
  511. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  512. return m_Items[index];
  513. }
  514. inline Delegate_t** GetAddressAt(il2cpp_array_size_t index)
  515. {
  516. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  517. return m_Items + index;
  518. }
  519. inline void SetAt(il2cpp_array_size_t index, Delegate_t* value)
  520. {
  521. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  522. m_Items[index] = value;
  523. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  524. }
  525. inline Delegate_t* GetAtUnchecked(il2cpp_array_size_t index) const
  526. {
  527. return m_Items[index];
  528. }
  529. inline Delegate_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
  530. {
  531. return m_Items + index;
  532. }
  533. inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t* value)
  534. {
  535. m_Items[index] = value;
  536. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  537. }
  538. };
  539. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_mF6F2C5F869485AA206FDE526CAA58BBC691A8AD5_gshared (Dictionary_2_t22B5EE7684537D7D143E6F6FCDC4C58B5D53F68F* __this, TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 ___0_key, RuntimeObject** ___1_value, const RuntimeMethod* method) ;
  540. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Predicate_1__ctor_m3E007299121A15DF80F4A210FF8C20E5DF688F20_gshared (Predicate_1_t8342C85FF4E41CD1F7024AC0CDC3E5312A32CB12* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
  541. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Predicate_1_Invoke_m6AC449189DCEE89A4FA2A2B724DE296A1DFB6A9B_gshared_inline (Predicate_1_t8342C85FF4E41CD1F7024AC0CDC3E5312A32CB12* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
  542. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Dictionary_2_get_Count_m7D1C8AC9355A50AF1C84A0A4B186C1D52083FBB7_gshared (Dictionary_2_t22B5EE7684537D7D143E6F6FCDC4C58B5D53F68F* __this, const RuntimeMethod* method) ;
  543. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_mBEB6B3A304C6A01DA2A2E016B112DD4E73D6A0B8_gshared (Dictionary_2_t22B5EE7684537D7D143E6F6FCDC4C58B5D53F68F* __this, const RuntimeMethod* method) ;
  544. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_mCDB94B777C71A4AEC648AEE14D9C777B05667901_gshared (Dictionary_2_t22B5EE7684537D7D143E6F6FCDC4C58B5D53F68F* __this, TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 ___0_key, RuntimeObject* ___1_value, const RuntimeMethod* method) ;
  545. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyCollection_t8A862CFF968D9AAD432E0AFA29DECB342BF06F59* Dictionary_2_get_Keys_m1A371FDB5221EB779B15B24DE039B1191CB9394D_gshared (Dictionary_2_t22B5EE7684537D7D143E6F6FCDC4C58B5D53F68F* __this, const RuntimeMethod* method) ;
  546. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tF5348A6D692C0422DAF82BC55E5276A4D29BEF53 KeyCollection_GetEnumerator_m0046DC4034F114EC3737521FFB2F49F4C1E6F869_gshared (KeyCollection_t8A862CFF968D9AAD432E0AFA29DECB342BF06F59* __this, const RuntimeMethod* method) ;
  547. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_m499372F99070BD8E7376FF1B2EE3040325A7E141_gshared (Enumerator_tF5348A6D692C0422DAF82BC55E5276A4D29BEF53* __this, const RuntimeMethod* method) ;
  548. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 Enumerator_get_Current_mC41EF0278150018906F2AB9D7CF81AE865E6AA1C_gshared_inline (Enumerator_tF5348A6D692C0422DAF82BC55E5276A4D29BEF53* __this, const RuntimeMethod* method) ;
  549. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_mEE338DC5230565298472253C6A1646332E2E83CF_gshared (Enumerator_tF5348A6D692C0422DAF82BC55E5276A4D29BEF53* __this, const RuntimeMethod* method) ;
  550. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m92E9AB321FBD7147CA109C822D99C8B0610C27B7_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, const RuntimeMethod* method) ;
  551. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_mED5C451F158CDDD2B3F4B0720CD248DA9DB27B25_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, int32_t ___0_key, const RuntimeMethod* method) ;
  552. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_mAF1EF7DA16BD70E252EA5C4B0F74DE519A02CBCD_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, int32_t ___0_key, RuntimeObject* ___1_value, const RuntimeMethod* method) ;
  553. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Dictionary_2_get_Count_mB1687BC0FFB3D5E49E5129641D4FB9EA23743F91_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, const RuntimeMethod* method) ;
  554. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tE92C1AC40A104A179B94F8A013728FD9314CFBD3 Dictionary_2_GetEnumerator_m3F1620145BA0815B7C7CD648EF054558AA26556A_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, const RuntimeMethod* method) ;
  555. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_mAECCBE12C0427D7ACF88F82FA266F1AE37402565_gshared (Enumerator_tE92C1AC40A104A179B94F8A013728FD9314CFBD3* __this, const RuntimeMethod* method) ;
  556. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR KeyValuePair_2_tDC26B09C26BA829DDE331BCB6AF7C508C763D7A3 Enumerator_get_Current_m90160D324DA0D9F5624A345F47D8E226A118911A_gshared_inline (Enumerator_tE92C1AC40A104A179B94F8A013728FD9314CFBD3* __this, const RuntimeMethod* method) ;
  557. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* KeyValuePair_2_get_Value_m8508BCECB0654E2E93B1A141382E2688ADE7EE7C_gshared_inline (KeyValuePair_2_tDC26B09C26BA829DDE331BCB6AF7C508C763D7A3* __this, const RuntimeMethod* method) ;
  558. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tB06F293668D09F345A54C8C836ABF567B9087FB7 Dictionary_2_GetEnumerator_mE58E6AC88AD044F9EB9989FF2F6AA6F05ECA402F_gshared (Dictionary_2_t22B5EE7684537D7D143E6F6FCDC4C58B5D53F68F* __this, const RuntimeMethod* method) ;
  559. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_mE3662EBE47C6E066285CDB5B63ACB07D73B5CD84_gshared (Enumerator_tB06F293668D09F345A54C8C836ABF567B9087FB7* __this, const RuntimeMethod* method) ;
  560. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR KeyValuePair_2_t8760984FFCA6E11154C918347EA4C7CFB2D0B8CE Enumerator_get_Current_mAB48908F9E456DE35489D40F781F13159CD102CA_gshared_inline (Enumerator_tB06F293668D09F345A54C8C836ABF567B9087FB7* __this, const RuntimeMethod* method) ;
  561. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 KeyValuePair_2_get_Key_mE27FF2218D103DBF58A36186AA62595EC4079388_gshared_inline (KeyValuePair_2_t8760984FFCA6E11154C918347EA4C7CFB2D0B8CE* __this, const RuntimeMethod* method) ;
  562. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m0192F3C0DFB719827E8F40E0992166F0CE78BEE6_gshared (Enumerator_tB06F293668D09F345A54C8C836ABF567B9087FB7* __this, const RuntimeMethod* method) ;
  563. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m4DC143BC57F14EDD85AB13B6D6F3B5D0E319B30E_gshared (Enumerator_tE92C1AC40A104A179B94F8A013728FD9314CFBD3* __this, const RuntimeMethod* method) ;
  564. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Behaviour__ctor_m00422B6EFEA829BCB116D715E74F1EAD2CB6F4F8 (Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA* __this, const RuntimeMethod* method) ;
  565. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* TerrainData_get_users_m0C569F1AD5853CEBF3C572723A1CAD04AC8433C4 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* __this, const RuntimeMethod* method) ;
  566. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875_inline (HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___1_heightRegion, bool ___2_synched, const RuntimeMethod* method) ;
  567. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE_inline (TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, String_t* ___1_textureName, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___2_texelRegion, bool ___3_synched, const RuntimeMethod* method) ;
  568. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m2149FA40CEC8D82AC20D3508AB40C0D8EFEF68E6 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, const RuntimeMethod* method) ;
  569. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainData_Internal_Create_m79BF764CFF5F49D17E2BFC8B20F60B4CF70BE4E1 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* ___0_terrainData, const RuntimeMethod* method) ;
  570. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainData_get_size_Injected_m0F56E87C4D7EDD1D84F038E4AF0F273D328CF661 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___0_ret, const RuntimeMethod* method) ;
  571. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E (int32_t ___0_type, const RuntimeMethod* method) ;
  572. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainTileCoord__ctor_m6B6744655B9C3BA9B1A92076F07002B4B4EB899A (TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09* __this, int32_t ___0_tileX, int32_t ___1_tileZ, const RuntimeMethod* method) ;
  573. inline bool Dictionary_2_TryGetValue_mA4944115ADCBA991881F907C9E48413EB1EFE42A (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* __this, TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 ___0_key, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667** ___1_value, const RuntimeMethod* method)
  574. {
  575. return (( bool (*) (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119*, TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667**, const RuntimeMethod*))Dictionary_2_TryGetValue_mF6F2C5F869485AA206FDE526CAA58BBC691A8AD5_gshared)(__this, ___0_key, ___1_value, method);
  576. }
  577. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0__ctor_mAFD4AEF760F5CC7CE66BAD750DAD3697397E8945 (U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3* __this, const RuntimeMethod* method) ;
  578. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701 (const RuntimeMethod* method) ;
  579. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
  580. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* __this, const RuntimeMethod* method) ;
  581. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24 (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* __this, const RuntimeMethod* method) ;
  582. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
  583. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  584. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* __this, const RuntimeMethod* method) ;
  585. inline void Predicate_1__ctor_m80A5EFAAAC439A069D5782C725DF325FDD5D891C (Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  586. {
  587. (( void (*) (Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055*, RuntimeObject*, intptr_t, const RuntimeMethod*))Predicate_1__ctor_m3E007299121A15DF80F4A210FF8C20E5DF688F20_gshared)(__this, ___0_object, ___1_method, method);
  588. }
  589. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___0_x, float ___1_y, const RuntimeMethod* method) ;
  590. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* TerrainMap_CreateFromPlacement_m64B90ADBC1D3A1AE18CEC7D0B452377E10B2BCB5 (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_gridOrigin, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_gridSize, Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* ___2_filter, bool ___3_fullValidation, const RuntimeMethod* method) ;
  591. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainMap__ctor_mCDB47BA50D9D54E65754028F9CF8F91828FE616F (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, const RuntimeMethod* method) ;
  592. inline bool Predicate_1_Invoke_mA6B25B82B5FF8BFA2DCF9E5A8600C761222B0B2A_inline (Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_obj, const RuntimeMethod* method)
  593. {
  594. return (( bool (*) (Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, const RuntimeMethod*))Predicate_1_Invoke_m6AC449189DCEE89A4FA2A2B724DE296A1DFB6A9B_gshared_inline)(__this, ___0_obj, method);
  595. }
  596. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, const RuntimeMethod* method) ;
  597. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TerrainMap_TryToAddTerrain_m03A05C883F317FD2E6956ADD6625409E8A90BE15 (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, int32_t ___0_tileX, int32_t ___1_tileZ, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___2_terrain, const RuntimeMethod* method) ;
  598. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TerrainMap_Validate_mAFBB4A2D0290E25D59902A1BD5DA1EBC2ACD1326 (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, const RuntimeMethod* method) ;
  599. inline int32_t Dictionary_2_get_Count_m876E3F2E32CD5DE6F869A52E21B755854D74C024 (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* __this, const RuntimeMethod* method)
  600. {
  601. return (( int32_t (*) (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119*, const RuntimeMethod*))Dictionary_2_get_Count_m7D1C8AC9355A50AF1C84A0A4B186C1D52083FBB7_gshared)(__this, method);
  602. }
  603. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
  604. inline void Dictionary_2__ctor_mCA22422F902B1FF70914D8FA2EF849DA0DCDC87D (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* __this, const RuntimeMethod* method)
  605. {
  606. (( void (*) (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119*, const RuntimeMethod*))Dictionary_2__ctor_mBEB6B3A304C6A01DA2A2E016B112DD4E73D6A0B8_gshared)(__this, method);
  607. }
  608. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
  609. inline void Dictionary_2_Add_m265E9FB46C80D234AEB47C08D701628D57DBA132 (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* __this, TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 ___0_key, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___1_value, const RuntimeMethod* method)
  610. {
  611. (( void (*) (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119*, TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, const RuntimeMethod*))Dictionary_2_Add_mCDB94B777C71A4AEC648AEE14D9C777B05667901_gshared)(__this, ___0_key, ___1_value, method);
  612. }
  613. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
  614. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, int32_t ___0_tileX, int32_t ___1_tileZ, const RuntimeMethod* method) ;
  615. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainMap_AddTerrainInternal_m507CE3A3F880B33CA2330F69464E3511D5B9BD71 (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, int32_t ___0_x, int32_t ___1_z, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___2_terrain, const RuntimeMethod* method) ;
  616. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_exists, const RuntimeMethod* method) ;
  617. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
  618. inline KeyCollection_tE33A2EB76F7F1DBF4EF03A4D82E8E0A13B74637E* Dictionary_2_get_Keys_mBE9BF06497225D54AC2D2D7AEF6D0F94169B10D4 (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* __this, const RuntimeMethod* method)
  619. {
  620. return (( KeyCollection_tE33A2EB76F7F1DBF4EF03A4D82E8E0A13B74637E* (*) (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119*, const RuntimeMethod*))Dictionary_2_get_Keys_m1A371FDB5221EB779B15B24DE039B1191CB9394D_gshared)(__this, method);
  621. }
  622. inline Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689 KeyCollection_GetEnumerator_m7D86741C1BEF055A22281CF69C6235BFD1E7D521 (KeyCollection_tE33A2EB76F7F1DBF4EF03A4D82E8E0A13B74637E* __this, const RuntimeMethod* method)
  623. {
  624. return (( Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689 (*) (KeyCollection_tE33A2EB76F7F1DBF4EF03A4D82E8E0A13B74637E*, const RuntimeMethod*))KeyCollection_GetEnumerator_m0046DC4034F114EC3737521FFB2F49F4C1E6F869_gshared)(__this, method);
  625. }
  626. inline void Enumerator_Dispose_mC60AECD5D4FA770371F4B374F2B026F7198CEF03 (Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689* __this, const RuntimeMethod* method)
  627. {
  628. (( void (*) (Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689*, const RuntimeMethod*))Enumerator_Dispose_m499372F99070BD8E7376FF1B2EE3040325A7E141_gshared)(__this, method);
  629. }
  630. inline TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 Enumerator_get_Current_m88A7ECB72C871AEFAD87667D8512A109C33E7080_inline (Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689* __this, const RuntimeMethod* method)
  631. {
  632. return (( TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 (*) (Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689*, const RuntimeMethod*))Enumerator_get_Current_mC41EF0278150018906F2AB9D7CF81AE865E6AA1C_gshared_inline)(__this, method);
  633. }
  634. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainMap_ValidateTerrain_m8D9B035B3851E0ED8BB5877BD11F63BA85029653 (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, int32_t ___0_tileX, int32_t ___1_tileZ, const RuntimeMethod* method) ;
  635. inline bool Enumerator_MoveNext_m6430F89661ED2AEDEAD6FD241BBDA21BF02135DC (Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689* __this, const RuntimeMethod* method)
  636. {
  637. return (( bool (*) (Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689*, const RuntimeMethod*))Enumerator_MoveNext_mEE338DC5230565298472253C6A1646332E2E83CF_gshared)(__this, method);
  638. }
  639. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Terrain_get_allowAutoConnect_m4E9CB87D130BB118517C5504C8FB4A5CC3AA91D7 (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* __this, const RuntimeMethod* method) ;
  640. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Terrain_SetNeighbors_m2FFA89D199120125D264EF7EE0BC749A35514C1E (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_left, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___1_top, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___2_right, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___3_bottom, const RuntimeMethod* method) ;
  641. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass2_0__ctor_m4C022C4675BA4CFC7E7AAA5692979CDE6CD8E611 (U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E* __this, const RuntimeMethod* method) ;
  642. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TerrainUtility_ValidTerrainsExist_m0DD08E4CEC739929A9AEBCEA849EDFE79985A207 (const RuntimeMethod* method) ;
  643. inline void Dictionary_2__ctor_m5665AD243B285B8D26138C699D544F4124AC7D78 (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* __this, const RuntimeMethod* method)
  644. {
  645. (( void (*) (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C*, const RuntimeMethod*))Dictionary_2__ctor_m92E9AB321FBD7147CA109C822D99C8B0610C27B7_gshared)(__this, method);
  646. }
  647. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass2_1__ctor_mA329ED5B221AE8787EAEA1124A2A95675FDD1695 (U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* __this, const RuntimeMethod* method) ;
  648. inline bool Dictionary_2_ContainsKey_m384365266E590EDD82F8949169A3C502E643AC95 (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* __this, int32_t ___0_key, const RuntimeMethod* method)
  649. {
  650. return (( bool (*) (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C*, int32_t, const RuntimeMethod*))Dictionary_2_ContainsKey_mED5C451F158CDDD2B3F4B0720CD248DA9DB27B25_gshared)(__this, ___0_key, method);
  651. }
  652. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* TerrainMap_CreateFromPlacement_mC7822A5F4FC2A2CB119259A48F19D364ACEC5AE7 (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_originTerrain, Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* ___1_filter, bool ___2_fullValidation, const RuntimeMethod* method) ;
  653. inline void Dictionary_2_Add_m4E7AE6465929CEEA79B5921CFF3D4BD64E249AF9 (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* __this, int32_t ___0_key, TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* ___1_value, const RuntimeMethod* method)
  654. {
  655. (( void (*) (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C*, int32_t, TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB*, const RuntimeMethod*))Dictionary_2_Add_mAF1EF7DA16BD70E252EA5C4B0F74DE519A02CBCD_gshared)(__this, ___0_key, ___1_value, method);
  656. }
  657. inline int32_t Dictionary_2_get_Count_m001233C3B4F8B3D1A8F044C9D43104F1671688DC (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* __this, const RuntimeMethod* method)
  658. {
  659. return (( int32_t (*) (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C*, const RuntimeMethod*))Dictionary_2_get_Count_mB1687BC0FFB3D5E49E5129641D4FB9EA23743F91_gshared)(__this, method);
  660. }
  661. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainUtility_ClearConnectivity_m7448E42CD3F2941EF02C10DE358778EEAF9B0AA9 (const RuntimeMethod* method) ;
  662. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* TerrainUtility_CollectTerrains_mDFCA0AFA00FFD16CEC8B4EFA9C55E3B7B6803EC4 (bool ___0_onlyAutoConnectedTerrains, const RuntimeMethod* method) ;
  663. inline Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F Dictionary_2_GetEnumerator_m5461BE3EE48320EA8E593506F16860A2CB4E9056 (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* __this, const RuntimeMethod* method)
  664. {
  665. return (( Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F (*) (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C*, const RuntimeMethod*))Dictionary_2_GetEnumerator_m3F1620145BA0815B7C7CD648EF054558AA26556A_gshared)(__this, method);
  666. }
  667. inline void Enumerator_Dispose_m09F8467FB404D375259C17136F2213FC8455F2BF (Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F* __this, const RuntimeMethod* method)
  668. {
  669. (( void (*) (Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F*, const RuntimeMethod*))Enumerator_Dispose_mAECCBE12C0427D7ACF88F82FA266F1AE37402565_gshared)(__this, method);
  670. }
  671. inline KeyValuePair_2_t5106DD80E20DAA18F0718F331B82E30C0F196873 Enumerator_get_Current_m1F085EA2ABB67CCEB29CC4A10D6FBC0F2B963349_inline (Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F* __this, const RuntimeMethod* method)
  672. {
  673. return (( KeyValuePair_2_t5106DD80E20DAA18F0718F331B82E30C0F196873 (*) (Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F*, const RuntimeMethod*))Enumerator_get_Current_m90160D324DA0D9F5624A345F47D8E226A118911A_gshared_inline)(__this, method);
  674. }
  675. inline TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* KeyValuePair_2_get_Value_m32D4949D8D2F580E35346D41EBB14C7933B93482_inline (KeyValuePair_2_t5106DD80E20DAA18F0718F331B82E30C0F196873* __this, const RuntimeMethod* method)
  676. {
  677. return (( TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* (*) (KeyValuePair_2_t5106DD80E20DAA18F0718F331B82E30C0F196873*, const RuntimeMethod*))KeyValuePair_2_get_Value_m8508BCECB0654E2E93B1A141382E2688ADE7EE7C_gshared_inline)(__this, method);
  678. }
  679. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* TerrainMap_get_terrainTiles_m9EAA8FCB972C834E2093DDD49B26DBBA2E74A2AB_inline (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, const RuntimeMethod* method) ;
  680. inline Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B Dictionary_2_GetEnumerator_m50800AFD24DEE5F8ACB58E1535F2A472B478E473 (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* __this, const RuntimeMethod* method)
  681. {
  682. return (( Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B (*) (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119*, const RuntimeMethod*))Dictionary_2_GetEnumerator_mE58E6AC88AD044F9EB9989FF2F6AA6F05ECA402F_gshared)(__this, method);
  683. }
  684. inline void Enumerator_Dispose_mDDABE6027BD9E377D6E3FC7F60CE5DDB0ADC47D7 (Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B* __this, const RuntimeMethod* method)
  685. {
  686. (( void (*) (Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B*, const RuntimeMethod*))Enumerator_Dispose_mE3662EBE47C6E066285CDB5B63ACB07D73B5CD84_gshared)(__this, method);
  687. }
  688. inline KeyValuePair_2_t69A51C36FF679E64375AD7C88BC0B6EC664E71E3 Enumerator_get_Current_mCD48A37B44C4A6E441AF6806E0821A24A22A51F3_inline (Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B* __this, const RuntimeMethod* method)
  689. {
  690. return (( KeyValuePair_2_t69A51C36FF679E64375AD7C88BC0B6EC664E71E3 (*) (Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B*, const RuntimeMethod*))Enumerator_get_Current_mAB48908F9E456DE35489D40F781F13159CD102CA_gshared_inline)(__this, method);
  691. }
  692. inline TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 KeyValuePair_2_get_Key_mFE7731B1C41692F16EB45AC2D63092AC73156A8A_inline (KeyValuePair_2_t69A51C36FF679E64375AD7C88BC0B6EC664E71E3* __this, const RuntimeMethod* method)
  693. {
  694. return (( TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 (*) (KeyValuePair_2_t69A51C36FF679E64375AD7C88BC0B6EC664E71E3*, const RuntimeMethod*))KeyValuePair_2_get_Key_mE27FF2218D103DBF58A36186AA62595EC4079388_gshared_inline)(__this, method);
  695. }
  696. inline bool Enumerator_MoveNext_m1BA7CBA94F8FC389211722A43E22BB110102ABB4 (Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B* __this, const RuntimeMethod* method)
  697. {
  698. return (( bool (*) (Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B*, const RuntimeMethod*))Enumerator_MoveNext_m0192F3C0DFB719827E8F40E0992166F0CE78BEE6_gshared)(__this, method);
  699. }
  700. inline bool Enumerator_MoveNext_m1CEA4A6A000E5344DB72DFF5E4FF563FF67F3558 (Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F* __this, const RuntimeMethod* method)
  701. {
  702. return (( bool (*) (Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F*, const RuntimeMethod*))Enumerator_MoveNext_m4DC143BC57F14EDD85AB13B6D6F3B5D0E319B30E_gshared)(__this, method);
  703. }
  704. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
  705. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
  706. #ifdef __clang__
  707. #pragma clang diagnostic push
  708. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  709. #pragma clang diagnostic ignored "-Wunused-variable"
  710. #endif
  711. #ifdef __clang__
  712. #pragma clang diagnostic pop
  713. #endif
  714. #ifdef __clang__
  715. #pragma clang diagnostic push
  716. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  717. #pragma clang diagnostic ignored "-Wunused-variable"
  718. #endif
  719. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* __this, const RuntimeMethod* method)
  720. {
  721. typedef TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* (*Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD_ftn) (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*);
  722. static Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD_ftn _il2cpp_icall_func;
  723. if (!_il2cpp_icall_func)
  724. _il2cpp_icall_func = (Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::get_terrainData()");
  725. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* icallRetVal = _il2cpp_icall_func(__this);
  726. return icallRetVal;
  727. }
  728. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Terrain_get_allowAutoConnect_m4E9CB87D130BB118517C5504C8FB4A5CC3AA91D7 (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* __this, const RuntimeMethod* method)
  729. {
  730. typedef bool (*Terrain_get_allowAutoConnect_m4E9CB87D130BB118517C5504C8FB4A5CC3AA91D7_ftn) (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*);
  731. static Terrain_get_allowAutoConnect_m4E9CB87D130BB118517C5504C8FB4A5CC3AA91D7_ftn _il2cpp_icall_func;
  732. if (!_il2cpp_icall_func)
  733. _il2cpp_icall_func = (Terrain_get_allowAutoConnect_m4E9CB87D130BB118517C5504C8FB4A5CC3AA91D7_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::get_allowAutoConnect()");
  734. bool icallRetVal = _il2cpp_icall_func(__this);
  735. return icallRetVal;
  736. }
  737. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24 (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* __this, const RuntimeMethod* method)
  738. {
  739. typedef int32_t (*Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24_ftn) (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*);
  740. static Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24_ftn _il2cpp_icall_func;
  741. if (!_il2cpp_icall_func)
  742. _il2cpp_icall_func = (Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::get_groupingID()");
  743. int32_t icallRetVal = _il2cpp_icall_func(__this);
  744. return icallRetVal;
  745. }
  746. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Terrain_SetNeighbors_m2FFA89D199120125D264EF7EE0BC749A35514C1E (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_left, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___1_top, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___2_right, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___3_bottom, const RuntimeMethod* method)
  747. {
  748. typedef void (*Terrain_SetNeighbors_m2FFA89D199120125D264EF7EE0BC749A35514C1E_ftn) (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*);
  749. static Terrain_SetNeighbors_m2FFA89D199120125D264EF7EE0BC749A35514C1E_ftn _il2cpp_icall_func;
  750. if (!_il2cpp_icall_func)
  751. _il2cpp_icall_func = (Terrain_SetNeighbors_m2FFA89D199120125D264EF7EE0BC749A35514C1E_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::SetNeighbors(UnityEngine.Terrain,UnityEngine.Terrain,UnityEngine.Terrain,UnityEngine.Terrain)");
  752. _il2cpp_icall_func(__this, ___0_left, ___1_top, ___2_right, ___3_bottom);
  753. }
  754. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701 (const RuntimeMethod* method)
  755. {
  756. typedef TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* (*Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701_ftn) ();
  757. static Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701_ftn _il2cpp_icall_func;
  758. if (!_il2cpp_icall_func)
  759. _il2cpp_icall_func = (Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::get_activeTerrains()");
  760. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* icallRetVal = _il2cpp_icall_func();
  761. return icallRetVal;
  762. }
  763. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Terrain__ctor_m11F03EC6C1E68752DDCAE8EF2DED99CFD939FCDC (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* __this, const RuntimeMethod* method)
  764. {
  765. {
  766. Behaviour__ctor_m00422B6EFEA829BCB116D715E74F1EAD2CB6F4F8(__this, NULL);
  767. return;
  768. }
  769. }
  770. #ifdef __clang__
  771. #pragma clang diagnostic pop
  772. #endif
  773. #ifdef __clang__
  774. #pragma clang diagnostic push
  775. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  776. #pragma clang diagnostic ignored "-Wunused-variable"
  777. #endif
  778. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainCallbacks_InvokeHeightmapChangedCallback_m731ED939CBD563CCCE503062602DF5908205AD04 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* ___0_terrainData, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___1_heightRegion, bool ___2_synched, const RuntimeMethod* method)
  779. {
  780. static bool s_Il2CppMethodInitialized;
  781. if (!s_Il2CppMethodInitialized)
  782. {
  783. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_il2cpp_TypeInfo_var);
  784. s_Il2CppMethodInitialized = true;
  785. }
  786. bool V_0 = false;
  787. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* V_1 = NULL;
  788. int32_t V_2 = 0;
  789. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_3 = NULL;
  790. {
  791. HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* L_0 = ((TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_StaticFields*)il2cpp_codegen_static_fields_for(TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_il2cpp_TypeInfo_var))->___heightmapChanged;
  792. V_0 = (bool)((!(((RuntimeObject*)(HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0*)L_0) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  793. bool L_1 = V_0;
  794. if (!L_1)
  795. {
  796. goto IL_0037;
  797. }
  798. }
  799. {
  800. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_2 = ___0_terrainData;
  801. NullCheck(L_2);
  802. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_3;
  803. L_3 = TerrainData_get_users_m0C569F1AD5853CEBF3C572723A1CAD04AC8433C4(L_2, NULL);
  804. V_1 = L_3;
  805. V_2 = 0;
  806. goto IL_0030;
  807. }
  808. IL_001a:
  809. {
  810. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_4 = V_1;
  811. int32_t L_5 = V_2;
  812. NullCheck(L_4);
  813. int32_t L_6 = L_5;
  814. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  815. V_3 = L_7;
  816. HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* L_8 = ((TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_StaticFields*)il2cpp_codegen_static_fields_for(TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_il2cpp_TypeInfo_var))->___heightmapChanged;
  817. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_9 = V_3;
  818. RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 L_10 = ___1_heightRegion;
  819. bool L_11 = ___2_synched;
  820. NullCheck(L_8);
  821. HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875_inline(L_8, L_9, L_10, L_11, NULL);
  822. int32_t L_12 = V_2;
  823. V_2 = ((int32_t)il2cpp_codegen_add(L_12, 1));
  824. }
  825. IL_0030:
  826. {
  827. int32_t L_13 = V_2;
  828. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_14 = V_1;
  829. NullCheck(L_14);
  830. if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))
  831. {
  832. goto IL_001a;
  833. }
  834. }
  835. {
  836. }
  837. IL_0037:
  838. {
  839. return;
  840. }
  841. }
  842. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainCallbacks_InvokeTextureChangedCallback_mB508E8B7A884854AA01AE5B88AB33E1AE40F4318 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* ___0_terrainData, String_t* ___1_textureName, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___2_texelRegion, bool ___3_synched, const RuntimeMethod* method)
  843. {
  844. static bool s_Il2CppMethodInitialized;
  845. if (!s_Il2CppMethodInitialized)
  846. {
  847. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_il2cpp_TypeInfo_var);
  848. s_Il2CppMethodInitialized = true;
  849. }
  850. bool V_0 = false;
  851. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* V_1 = NULL;
  852. int32_t V_2 = 0;
  853. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_3 = NULL;
  854. {
  855. TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* L_0 = ((TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_StaticFields*)il2cpp_codegen_static_fields_for(TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_il2cpp_TypeInfo_var))->___textureChanged;
  856. V_0 = (bool)((!(((RuntimeObject*)(TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F*)L_0) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  857. bool L_1 = V_0;
  858. if (!L_1)
  859. {
  860. goto IL_0038;
  861. }
  862. }
  863. {
  864. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_2 = ___0_terrainData;
  865. NullCheck(L_2);
  866. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_3;
  867. L_3 = TerrainData_get_users_m0C569F1AD5853CEBF3C572723A1CAD04AC8433C4(L_2, NULL);
  868. V_1 = L_3;
  869. V_2 = 0;
  870. goto IL_0031;
  871. }
  872. IL_001a:
  873. {
  874. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_4 = V_1;
  875. int32_t L_5 = V_2;
  876. NullCheck(L_4);
  877. int32_t L_6 = L_5;
  878. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  879. V_3 = L_7;
  880. TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* L_8 = ((TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_StaticFields*)il2cpp_codegen_static_fields_for(TerrainCallbacks_tE504E6C7F9609FDE7009DFEA9E405218E5212B5C_il2cpp_TypeInfo_var))->___textureChanged;
  881. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_9 = V_3;
  882. String_t* L_10 = ___1_textureName;
  883. RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 L_11 = ___2_texelRegion;
  884. bool L_12 = ___3_synched;
  885. NullCheck(L_8);
  886. TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE_inline(L_8, L_9, L_10, L_11, L_12, NULL);
  887. int32_t L_13 = V_2;
  888. V_2 = ((int32_t)il2cpp_codegen_add(L_13, 1));
  889. }
  890. IL_0031:
  891. {
  892. int32_t L_14 = V_2;
  893. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_15 = V_1;
  894. NullCheck(L_15);
  895. if ((((int32_t)L_14) < ((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))))
  896. {
  897. goto IL_001a;
  898. }
  899. }
  900. {
  901. }
  902. IL_0038:
  903. {
  904. return;
  905. }
  906. }
  907. #ifdef __clang__
  908. #pragma clang diagnostic pop
  909. #endif
  910. #ifdef __clang__
  911. #pragma clang diagnostic push
  912. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  913. #pragma clang diagnostic ignored "-Wunused-variable"
  914. #endif
  915. void HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875_Multicast(HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___1_heightRegion, bool ___2_synched, const RuntimeMethod* method)
  916. {
  917. il2cpp_array_size_t length = __this->___delegates->max_length;
  918. Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates->GetAddressAtUnchecked(0));
  919. for (il2cpp_array_size_t i = 0; i < length; i++)
  920. {
  921. HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* currentDelegate = reinterpret_cast<HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0*>(delegatesToInvoke[i]);
  922. typedef void (*FunctionPointerType) (RuntimeObject*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  923. ((FunctionPointerType)currentDelegate->___invoke_impl)((Il2CppObject*)currentDelegate->___method_code, ___0_terrain, ___1_heightRegion, ___2_synched, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method));
  924. }
  925. }
  926. void HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875_OpenInst(HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___1_heightRegion, bool ___2_synched, const RuntimeMethod* method)
  927. {
  928. NullCheck(___0_terrain);
  929. typedef void (*FunctionPointerType) (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  930. ((FunctionPointerType)__this->___method_ptr)(___0_terrain, ___1_heightRegion, ___2_synched, method);
  931. }
  932. void HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875_OpenStatic(HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___1_heightRegion, bool ___2_synched, const RuntimeMethod* method)
  933. {
  934. typedef void (*FunctionPointerType) (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  935. ((FunctionPointerType)__this->___method_ptr)(___0_terrain, ___1_heightRegion, ___2_synched, method);
  936. }
  937. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HeightmapChangedCallback__ctor_m6A7E4189E0A7A1B70EE73818B93B0FC9F613648C (HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  938. {
  939. __this->___method_ptr = (intptr_t)il2cpp_codegen_get_method_pointer((RuntimeMethod*)___1_method);
  940. __this->___method = ___1_method;
  941. __this->___m_target = ___0_object;
  942. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target), (void*)___0_object);
  943. int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
  944. __this->___method_code = (intptr_t)__this;
  945. if (MethodIsStatic((RuntimeMethod*)___1_method))
  946. {
  947. bool isOpen = parameterCount == 3;
  948. if (isOpen)
  949. __this->___invoke_impl = (intptr_t)&HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875_OpenStatic;
  950. else
  951. {
  952. __this->___invoke_impl = __this->___method_ptr;
  953. __this->___method_code = (intptr_t)__this->___m_target;
  954. }
  955. }
  956. else
  957. {
  958. bool isOpen = parameterCount == 2;
  959. if (isOpen)
  960. {
  961. __this->___invoke_impl = (intptr_t)&HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875_OpenInst;
  962. }
  963. else
  964. {
  965. if (___0_object == NULL)
  966. il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
  967. __this->___invoke_impl = __this->___method_ptr;
  968. __this->___method_code = (intptr_t)__this->___m_target;
  969. }
  970. }
  971. __this->___extra_arg = (intptr_t)&HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875_Multicast;
  972. }
  973. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875 (HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___1_heightRegion, bool ___2_synched, const RuntimeMethod* method)
  974. {
  975. typedef void (*FunctionPointerType) (RuntimeObject*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  976. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_terrain, ___1_heightRegion, ___2_synched, reinterpret_cast<RuntimeMethod*>(__this->___method));
  977. }
  978. #ifdef __clang__
  979. #pragma clang diagnostic pop
  980. #endif
  981. #ifdef __clang__
  982. #pragma clang diagnostic push
  983. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  984. #pragma clang diagnostic ignored "-Wunused-variable"
  985. #endif
  986. void TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE_Multicast(TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, String_t* ___1_textureName, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___2_texelRegion, bool ___3_synched, const RuntimeMethod* method)
  987. {
  988. il2cpp_array_size_t length = __this->___delegates->max_length;
  989. Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates->GetAddressAtUnchecked(0));
  990. for (il2cpp_array_size_t i = 0; i < length; i++)
  991. {
  992. TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* currentDelegate = reinterpret_cast<TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F*>(delegatesToInvoke[i]);
  993. typedef void (*FunctionPointerType) (RuntimeObject*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, String_t*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  994. ((FunctionPointerType)currentDelegate->___invoke_impl)((Il2CppObject*)currentDelegate->___method_code, ___0_terrain, ___1_textureName, ___2_texelRegion, ___3_synched, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method));
  995. }
  996. }
  997. void TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE_OpenInst(TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, String_t* ___1_textureName, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___2_texelRegion, bool ___3_synched, const RuntimeMethod* method)
  998. {
  999. NullCheck(___0_terrain);
  1000. typedef void (*FunctionPointerType) (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, String_t*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  1001. ((FunctionPointerType)__this->___method_ptr)(___0_terrain, ___1_textureName, ___2_texelRegion, ___3_synched, method);
  1002. }
  1003. void TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE_OpenStatic(TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, String_t* ___1_textureName, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___2_texelRegion, bool ___3_synched, const RuntimeMethod* method)
  1004. {
  1005. typedef void (*FunctionPointerType) (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, String_t*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  1006. ((FunctionPointerType)__this->___method_ptr)(___0_terrain, ___1_textureName, ___2_texelRegion, ___3_synched, method);
  1007. }
  1008. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextureChangedCallback__ctor_m64076D799FEB79E3D6BE2C4EB33CD081A398F0EF (TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  1009. {
  1010. __this->___method_ptr = (intptr_t)il2cpp_codegen_get_method_pointer((RuntimeMethod*)___1_method);
  1011. __this->___method = ___1_method;
  1012. __this->___m_target = ___0_object;
  1013. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target), (void*)___0_object);
  1014. int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
  1015. __this->___method_code = (intptr_t)__this;
  1016. if (MethodIsStatic((RuntimeMethod*)___1_method))
  1017. {
  1018. bool isOpen = parameterCount == 4;
  1019. if (isOpen)
  1020. __this->___invoke_impl = (intptr_t)&TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE_OpenStatic;
  1021. else
  1022. {
  1023. __this->___invoke_impl = __this->___method_ptr;
  1024. __this->___method_code = (intptr_t)__this->___m_target;
  1025. }
  1026. }
  1027. else
  1028. {
  1029. bool isOpen = parameterCount == 3;
  1030. if (isOpen)
  1031. {
  1032. __this->___invoke_impl = (intptr_t)&TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE_OpenInst;
  1033. }
  1034. else
  1035. {
  1036. if (___0_object == NULL)
  1037. il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
  1038. __this->___invoke_impl = __this->___method_ptr;
  1039. __this->___method_code = (intptr_t)__this->___m_target;
  1040. }
  1041. }
  1042. __this->___extra_arg = (intptr_t)&TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE_Multicast;
  1043. }
  1044. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE (TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, String_t* ___1_textureName, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___2_texelRegion, bool ___3_synched, const RuntimeMethod* method)
  1045. {
  1046. typedef void (*FunctionPointerType) (RuntimeObject*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, String_t*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  1047. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_terrain, ___1_textureName, ___2_texelRegion, ___3_synched, reinterpret_cast<RuntimeMethod*>(__this->___method));
  1048. }
  1049. #ifdef __clang__
  1050. #pragma clang diagnostic pop
  1051. #endif
  1052. #ifdef __clang__
  1053. #pragma clang diagnostic push
  1054. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1055. #pragma clang diagnostic ignored "-Wunused-variable"
  1056. #endif
  1057. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E (int32_t ___0_type, const RuntimeMethod* method)
  1058. {
  1059. typedef int32_t (*TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E_ftn) (int32_t);
  1060. static TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E_ftn _il2cpp_icall_func;
  1061. if (!_il2cpp_icall_func)
  1062. _il2cpp_icall_func = (TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TerrainData::GetBoundaryValue(UnityEngine.TerrainData/BoundaryValueType)");
  1063. int32_t icallRetVal = _il2cpp_icall_func(___0_type);
  1064. return icallRetVal;
  1065. }
  1066. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainData__ctor_m1B68EB89248D5706C2528F47279812F824E27A2E (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* __this, const RuntimeMethod* method)
  1067. {
  1068. static bool s_Il2CppMethodInitialized;
  1069. if (!s_Il2CppMethodInitialized)
  1070. {
  1071. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1072. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var);
  1073. s_Il2CppMethodInitialized = true;
  1074. }
  1075. {
  1076. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1077. Object__ctor_m2149FA40CEC8D82AC20D3508AB40C0D8EFEF68E6(__this, NULL);
  1078. il2cpp_codegen_runtime_class_init_inline(TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var);
  1079. TerrainData_Internal_Create_m79BF764CFF5F49D17E2BFC8B20F60B4CF70BE4E1(__this, NULL);
  1080. return;
  1081. }
  1082. }
  1083. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainData_Internal_Create_m79BF764CFF5F49D17E2BFC8B20F60B4CF70BE4E1 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* ___0_terrainData, const RuntimeMethod* method)
  1084. {
  1085. typedef void (*TerrainData_Internal_Create_m79BF764CFF5F49D17E2BFC8B20F60B4CF70BE4E1_ftn) (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24*);
  1086. static TerrainData_Internal_Create_m79BF764CFF5F49D17E2BFC8B20F60B4CF70BE4E1_ftn _il2cpp_icall_func;
  1087. if (!_il2cpp_icall_func)
  1088. _il2cpp_icall_func = (TerrainData_Internal_Create_m79BF764CFF5F49D17E2BFC8B20F60B4CF70BE4E1_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TerrainData::Internal_Create(UnityEngine.TerrainData)");
  1089. _il2cpp_icall_func(___0_terrainData);
  1090. }
  1091. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* __this, const RuntimeMethod* method)
  1092. {
  1093. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  1094. memset((&V_0), 0, sizeof(V_0));
  1095. {
  1096. TerrainData_get_size_Injected_m0F56E87C4D7EDD1D84F038E4AF0F273D328CF661(__this, (&V_0), NULL);
  1097. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = V_0;
  1098. return L_0;
  1099. }
  1100. }
  1101. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TerrainData_GetAlphamapResolutionInternal_m5C312434763B8F0BD8DE760ACF439DFEFAC2F3E5 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* __this, const RuntimeMethod* method)
  1102. {
  1103. typedef float (*TerrainData_GetAlphamapResolutionInternal_m5C312434763B8F0BD8DE760ACF439DFEFAC2F3E5_ftn) (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24*);
  1104. static TerrainData_GetAlphamapResolutionInternal_m5C312434763B8F0BD8DE760ACF439DFEFAC2F3E5_ftn _il2cpp_icall_func;
  1105. if (!_il2cpp_icall_func)
  1106. _il2cpp_icall_func = (TerrainData_GetAlphamapResolutionInternal_m5C312434763B8F0BD8DE760ACF439DFEFAC2F3E5_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TerrainData::GetAlphamapResolutionInternal()");
  1107. float icallRetVal = _il2cpp_icall_func(__this);
  1108. return icallRetVal;
  1109. }
  1110. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* TerrainData_get_users_m0C569F1AD5853CEBF3C572723A1CAD04AC8433C4 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* __this, const RuntimeMethod* method)
  1111. {
  1112. typedef TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* (*TerrainData_get_users_m0C569F1AD5853CEBF3C572723A1CAD04AC8433C4_ftn) (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24*);
  1113. static TerrainData_get_users_m0C569F1AD5853CEBF3C572723A1CAD04AC8433C4_ftn _il2cpp_icall_func;
  1114. if (!_il2cpp_icall_func)
  1115. _il2cpp_icall_func = (TerrainData_get_users_m0C569F1AD5853CEBF3C572723A1CAD04AC8433C4_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TerrainData::get_users()");
  1116. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* icallRetVal = _il2cpp_icall_func(__this);
  1117. return icallRetVal;
  1118. }
  1119. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainData__cctor_m525F8AF6DEDDACF640BD2D24767502121ED6D9B0 (const RuntimeMethod* method)
  1120. {
  1121. static bool s_Il2CppMethodInitialized;
  1122. if (!s_Il2CppMethodInitialized)
  1123. {
  1124. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var);
  1125. s_Il2CppMethodInitialized = true;
  1126. }
  1127. {
  1128. int32_t L_0;
  1129. L_0 = TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E(0, NULL);
  1130. ((TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var))->___k_MaximumResolution = L_0;
  1131. int32_t L_1;
  1132. L_1 = TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E(1, NULL);
  1133. ((TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var))->___k_MinimumDetailResolutionPerPatch = L_1;
  1134. int32_t L_2;
  1135. L_2 = TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E(2, NULL);
  1136. ((TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var))->___k_MaximumDetailResolutionPerPatch = L_2;
  1137. int32_t L_3;
  1138. L_3 = TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E(3, NULL);
  1139. ((TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var))->___k_MaximumDetailPatchCount = L_3;
  1140. int32_t L_4;
  1141. L_4 = TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E(5, NULL);
  1142. ((TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var))->___k_MinimumAlphamapResolution = L_4;
  1143. int32_t L_5;
  1144. L_5 = TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E(6, NULL);
  1145. ((TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var))->___k_MaximumAlphamapResolution = L_5;
  1146. int32_t L_6;
  1147. L_6 = TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E(7, NULL);
  1148. ((TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var))->___k_MinimumBaseMapResolution = L_6;
  1149. int32_t L_7;
  1150. L_7 = TerrainData_GetBoundaryValue_mA9217CC15BBC958C9F7071B96CE74769EFDC322E(8, NULL);
  1151. ((TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t615A68EAC648066681875D47FC641496D12F2E24_il2cpp_TypeInfo_var))->___k_MaximumBaseMapResolution = L_7;
  1152. return;
  1153. }
  1154. }
  1155. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainData_get_size_Injected_m0F56E87C4D7EDD1D84F038E4AF0F273D328CF661 (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___0_ret, const RuntimeMethod* method)
  1156. {
  1157. typedef void (*TerrainData_get_size_Injected_m0F56E87C4D7EDD1D84F038E4AF0F273D328CF661_ftn) (TerrainData_t615A68EAC648066681875D47FC641496D12F2E24*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*);
  1158. static TerrainData_get_size_Injected_m0F56E87C4D7EDD1D84F038E4AF0F273D328CF661_ftn _il2cpp_icall_func;
  1159. if (!_il2cpp_icall_func)
  1160. _il2cpp_icall_func = (TerrainData_get_size_Injected_m0F56E87C4D7EDD1D84F038E4AF0F273D328CF661_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TerrainData::get_size_Injected(UnityEngine.Vector3&)");
  1161. _il2cpp_icall_func(__this, ___0_ret);
  1162. }
  1163. #ifdef __clang__
  1164. #pragma clang diagnostic pop
  1165. #endif
  1166. #ifdef __clang__
  1167. #pragma clang diagnostic push
  1168. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1169. #pragma clang diagnostic ignored "-Wunused-variable"
  1170. #endif
  1171. #ifdef __clang__
  1172. #pragma clang diagnostic pop
  1173. #endif
  1174. #ifdef __clang__
  1175. #pragma clang diagnostic push
  1176. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1177. #pragma clang diagnostic ignored "-Wunused-variable"
  1178. #endif
  1179. #ifdef __clang__
  1180. #pragma clang diagnostic pop
  1181. #endif
  1182. #ifdef __clang__
  1183. #pragma clang diagnostic push
  1184. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1185. #pragma clang diagnostic ignored "-Wunused-variable"
  1186. #endif
  1187. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainTileCoord__ctor_m6B6744655B9C3BA9B1A92076F07002B4B4EB899A (TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09* __this, int32_t ___0_tileX, int32_t ___1_tileZ, const RuntimeMethod* method)
  1188. {
  1189. {
  1190. int32_t L_0 = ___0_tileX;
  1191. __this->___tileX = L_0;
  1192. int32_t L_1 = ___1_tileZ;
  1193. __this->___tileZ = L_1;
  1194. return;
  1195. }
  1196. }
  1197. IL2CPP_EXTERN_C void TerrainTileCoord__ctor_m6B6744655B9C3BA9B1A92076F07002B4B4EB899A_AdjustorThunk (RuntimeObject* __this, int32_t ___0_tileX, int32_t ___1_tileZ, const RuntimeMethod* method)
  1198. {
  1199. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09* _thisAdjusted;
  1200. int32_t _offset = 1;
  1201. _thisAdjusted = reinterpret_cast<TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09*>(__this + _offset);
  1202. TerrainTileCoord__ctor_m6B6744655B9C3BA9B1A92076F07002B4B4EB899A(_thisAdjusted, ___0_tileX, ___1_tileZ, method);
  1203. }
  1204. #ifdef __clang__
  1205. #pragma clang diagnostic pop
  1206. #endif
  1207. #ifdef __clang__
  1208. #pragma clang diagnostic push
  1209. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1210. #pragma clang diagnostic ignored "-Wunused-variable"
  1211. #endif
  1212. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, int32_t ___0_tileX, int32_t ___1_tileZ, const RuntimeMethod* method)
  1213. {
  1214. static bool s_Il2CppMethodInitialized;
  1215. if (!s_Il2CppMethodInitialized)
  1216. {
  1217. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mA4944115ADCBA991881F907C9E48413EB1EFE42A_RuntimeMethod_var);
  1218. s_Il2CppMethodInitialized = true;
  1219. }
  1220. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_0 = NULL;
  1221. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_1 = NULL;
  1222. {
  1223. V_0 = (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*)NULL;
  1224. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* L_0 = __this->___m_terrainTiles;
  1225. int32_t L_1 = ___0_tileX;
  1226. int32_t L_2 = ___1_tileZ;
  1227. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_3;
  1228. memset((&L_3), 0, sizeof(L_3));
  1229. TerrainTileCoord__ctor_m6B6744655B9C3BA9B1A92076F07002B4B4EB899A((&L_3), L_1, L_2, NULL);
  1230. NullCheck(L_0);
  1231. bool L_4;
  1232. L_4 = Dictionary_2_TryGetValue_mA4944115ADCBA991881F907C9E48413EB1EFE42A(L_0, L_3, (&V_0), Dictionary_2_TryGetValue_mA4944115ADCBA991881F907C9E48413EB1EFE42A_RuntimeMethod_var);
  1233. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_5 = V_0;
  1234. V_1 = L_5;
  1235. goto IL_001c;
  1236. }
  1237. IL_001c:
  1238. {
  1239. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_6 = V_1;
  1240. return L_6;
  1241. }
  1242. }
  1243. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* TerrainMap_CreateFromPlacement_mC7822A5F4FC2A2CB119259A48F19D364ACEC5AE7 (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_originTerrain, Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* ___1_filter, bool ___2_fullValidation, const RuntimeMethod* method)
  1244. {
  1245. static bool s_Il2CppMethodInitialized;
  1246. if (!s_Il2CppMethodInitialized)
  1247. {
  1248. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1249. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055_il2cpp_TypeInfo_var);
  1250. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass3_0_U3CCreateFromPlacementU3Eb__0_m703A4D4E3D378C9896199B70A89FCDF1A07C737B_RuntimeMethod_var);
  1251. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3_il2cpp_TypeInfo_var);
  1252. s_Il2CppMethodInitialized = true;
  1253. }
  1254. U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3* V_0 = NULL;
  1255. float V_1 = 0.0f;
  1256. float V_2 = 0.0f;
  1257. float V_3 = 0.0f;
  1258. float V_4 = 0.0f;
  1259. bool V_5 = false;
  1260. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* V_6 = NULL;
  1261. bool V_7 = false;
  1262. bool V_8 = false;
  1263. int32_t G_B4_0 = 0;
  1264. {
  1265. U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3* L_0 = (U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3_il2cpp_TypeInfo_var);
  1266. U3CU3Ec__DisplayClass3_0__ctor_mAFD4AEF760F5CC7CE66BAD750DAD3697397E8945(L_0, NULL);
  1267. V_0 = L_0;
  1268. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_1;
  1269. L_1 = Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701(NULL);
  1270. if (!L_1)
  1271. {
  1272. goto IL_001f;
  1273. }
  1274. }
  1275. {
  1276. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_2;
  1277. L_2 = Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701(NULL);
  1278. NullCheck(L_2);
  1279. if (!(((RuntimeArray*)L_2)->max_length))
  1280. {
  1281. goto IL_001f;
  1282. }
  1283. }
  1284. {
  1285. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_3 = ___0_originTerrain;
  1286. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1287. bool L_4;
  1288. L_4 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  1289. G_B4_0 = ((int32_t)(L_4));
  1290. goto IL_0020;
  1291. }
  1292. IL_001f:
  1293. {
  1294. G_B4_0 = 1;
  1295. }
  1296. IL_0020:
  1297. {
  1298. V_5 = (bool)G_B4_0;
  1299. bool L_5 = V_5;
  1300. if (!L_5)
  1301. {
  1302. goto IL_002e;
  1303. }
  1304. }
  1305. {
  1306. V_6 = (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB*)NULL;
  1307. goto IL_00cb;
  1308. }
  1309. IL_002e:
  1310. {
  1311. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_6 = ___0_originTerrain;
  1312. NullCheck(L_6);
  1313. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_7;
  1314. L_7 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_6, NULL);
  1315. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1316. bool L_8;
  1317. L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  1318. V_7 = L_8;
  1319. bool L_9 = V_7;
  1320. if (!L_9)
  1321. {
  1322. goto IL_0048;
  1323. }
  1324. }
  1325. {
  1326. V_6 = (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB*)NULL;
  1327. goto IL_00cb;
  1328. }
  1329. IL_0048:
  1330. {
  1331. U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3* L_10 = V_0;
  1332. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_11 = ___0_originTerrain;
  1333. NullCheck(L_11);
  1334. int32_t L_12;
  1335. L_12 = Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24(L_11, NULL);
  1336. NullCheck(L_10);
  1337. L_10->___groupID = L_12;
  1338. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_13 = ___0_originTerrain;
  1339. NullCheck(L_13);
  1340. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
  1341. L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_13, NULL);
  1342. NullCheck(L_14);
  1343. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  1344. L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
  1345. float L_16 = L_15.___x;
  1346. V_1 = L_16;
  1347. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_17 = ___0_originTerrain;
  1348. NullCheck(L_17);
  1349. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18;
  1350. L_18 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_17, NULL);
  1351. NullCheck(L_18);
  1352. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  1353. L_19 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_18, NULL);
  1354. float L_20 = L_19.___z;
  1355. V_2 = L_20;
  1356. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_21 = ___0_originTerrain;
  1357. NullCheck(L_21);
  1358. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_22;
  1359. L_22 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_21, NULL);
  1360. NullCheck(L_22);
  1361. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  1362. L_23 = TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5(L_22, NULL);
  1363. float L_24 = L_23.___x;
  1364. V_3 = L_24;
  1365. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_25 = ___0_originTerrain;
  1366. NullCheck(L_25);
  1367. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_26;
  1368. L_26 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_25, NULL);
  1369. NullCheck(L_26);
  1370. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  1371. L_27 = TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5(L_26, NULL);
  1372. float L_28 = L_27.___z;
  1373. V_4 = L_28;
  1374. Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* L_29 = ___1_filter;
  1375. V_8 = (bool)((((RuntimeObject*)(Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055*)L_29) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
  1376. bool L_30 = V_8;
  1377. if (!L_30)
  1378. {
  1379. goto IL_00b1;
  1380. }
  1381. }
  1382. {
  1383. U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3* L_31 = V_0;
  1384. Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* L_32 = (Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055*)il2cpp_codegen_object_new(Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055_il2cpp_TypeInfo_var);
  1385. Predicate_1__ctor_m80A5EFAAAC439A069D5782C725DF325FDD5D891C(L_32, L_31, (intptr_t)((void*)U3CU3Ec__DisplayClass3_0_U3CCreateFromPlacementU3Eb__0_m703A4D4E3D378C9896199B70A89FCDF1A07C737B_RuntimeMethod_var), NULL);
  1386. ___1_filter = L_32;
  1387. }
  1388. IL_00b1:
  1389. {
  1390. float L_33 = V_1;
  1391. float L_34 = V_2;
  1392. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_35;
  1393. memset((&L_35), 0, sizeof(L_35));
  1394. Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_35), L_33, L_34, NULL);
  1395. float L_36 = V_3;
  1396. float L_37 = V_4;
  1397. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_38;
  1398. memset((&L_38), 0, sizeof(L_38));
  1399. Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_38), L_36, L_37, NULL);
  1400. Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* L_39 = ___1_filter;
  1401. bool L_40 = ___2_fullValidation;
  1402. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_41;
  1403. L_41 = TerrainMap_CreateFromPlacement_m64B90ADBC1D3A1AE18CEC7D0B452377E10B2BCB5(L_35, L_38, L_39, L_40, NULL);
  1404. V_6 = L_41;
  1405. goto IL_00cb;
  1406. }
  1407. IL_00cb:
  1408. {
  1409. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_42 = V_6;
  1410. return L_42;
  1411. }
  1412. }
  1413. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* TerrainMap_CreateFromPlacement_m64B90ADBC1D3A1AE18CEC7D0B452377E10B2BCB5 (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_gridOrigin, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_gridSize, Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* ___2_filter, bool ___3_fullValidation, const RuntimeMethod* method)
  1414. {
  1415. static bool s_Il2CppMethodInitialized;
  1416. if (!s_Il2CppMethodInitialized)
  1417. {
  1418. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_m876E3F2E32CD5DE6F869A52E21B755854D74C024_RuntimeMethod_var);
  1419. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1420. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB_il2cpp_TypeInfo_var);
  1421. s_Il2CppMethodInitialized = true;
  1422. }
  1423. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* V_0 = NULL;
  1424. float V_1 = 0.0f;
  1425. float V_2 = 0.0f;
  1426. bool V_3 = false;
  1427. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* V_4 = NULL;
  1428. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* V_5 = NULL;
  1429. int32_t V_6 = 0;
  1430. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_7 = NULL;
  1431. bool V_8 = false;
  1432. bool V_9 = false;
  1433. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
  1434. memset((&V_10), 0, sizeof(V_10));
  1435. int32_t V_11 = 0;
  1436. int32_t V_12 = 0;
  1437. bool V_13 = false;
  1438. int32_t G_B3_0 = 0;
  1439. int32_t G_B11_0 = 0;
  1440. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* G_B21_0 = NULL;
  1441. {
  1442. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_0;
  1443. L_0 = Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701(NULL);
  1444. if (!L_0)
  1445. {
  1446. goto IL_0013;
  1447. }
  1448. }
  1449. {
  1450. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_1;
  1451. L_1 = Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701(NULL);
  1452. NullCheck(L_1);
  1453. G_B3_0 = ((((int32_t)(((RuntimeArray*)L_1)->max_length)) == ((int32_t)0))? 1 : 0);
  1454. goto IL_0014;
  1455. }
  1456. IL_0013:
  1457. {
  1458. G_B3_0 = 1;
  1459. }
  1460. IL_0014:
  1461. {
  1462. V_3 = (bool)G_B3_0;
  1463. bool L_2 = V_3;
  1464. if (!L_2)
  1465. {
  1466. goto IL_0020;
  1467. }
  1468. }
  1469. {
  1470. V_4 = (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB*)NULL;
  1471. goto IL_0102;
  1472. }
  1473. IL_0020:
  1474. {
  1475. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_3 = (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB*)il2cpp_codegen_object_new(TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB_il2cpp_TypeInfo_var);
  1476. TerrainMap__ctor_mCDB47BA50D9D54E65754028F9CF8F91828FE616F(L_3, NULL);
  1477. V_0 = L_3;
  1478. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___1_gridSize;
  1479. float L_5 = L_4.___x;
  1480. V_1 = ((float)((1.0f)/L_5));
  1481. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___1_gridSize;
  1482. float L_7 = L_6.___y;
  1483. V_2 = ((float)((1.0f)/L_7));
  1484. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_8;
  1485. L_8 = Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701(NULL);
  1486. V_5 = L_8;
  1487. V_6 = 0;
  1488. goto IL_00d3;
  1489. }
  1490. IL_0050:
  1491. {
  1492. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_9 = V_5;
  1493. int32_t L_10 = V_6;
  1494. NullCheck(L_9);
  1495. int32_t L_11 = L_10;
  1496. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  1497. V_7 = L_12;
  1498. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_13 = V_7;
  1499. NullCheck(L_13);
  1500. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_14;
  1501. L_14 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_13, NULL);
  1502. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1503. bool L_15;
  1504. L_15 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_14, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  1505. V_8 = L_15;
  1506. bool L_16 = V_8;
  1507. if (!L_16)
  1508. {
  1509. goto IL_006d;
  1510. }
  1511. }
  1512. {
  1513. goto IL_00cd;
  1514. }
  1515. IL_006d:
  1516. {
  1517. Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* L_17 = ___2_filter;
  1518. if (!L_17)
  1519. {
  1520. goto IL_007a;
  1521. }
  1522. }
  1523. {
  1524. Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* L_18 = ___2_filter;
  1525. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_19 = V_7;
  1526. NullCheck(L_18);
  1527. bool L_20;
  1528. L_20 = Predicate_1_Invoke_mA6B25B82B5FF8BFA2DCF9E5A8600C761222B0B2A_inline(L_18, L_19, NULL);
  1529. G_B11_0 = ((int32_t)(L_20));
  1530. goto IL_007b;
  1531. }
  1532. IL_007a:
  1533. {
  1534. G_B11_0 = 1;
  1535. }
  1536. IL_007b:
  1537. {
  1538. V_9 = (bool)G_B11_0;
  1539. bool L_21 = V_9;
  1540. if (!L_21)
  1541. {
  1542. goto IL_00cc;
  1543. }
  1544. }
  1545. {
  1546. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_22 = V_7;
  1547. NullCheck(L_22);
  1548. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23;
  1549. L_23 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_22, NULL);
  1550. NullCheck(L_23);
  1551. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  1552. L_24 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_23, NULL);
  1553. V_10 = L_24;
  1554. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_10;
  1555. float L_26 = L_25.___x;
  1556. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_27 = ___0_gridOrigin;
  1557. float L_28 = L_27.___x;
  1558. float L_29 = V_1;
  1559. int32_t L_30;
  1560. L_30 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_26, L_28)), L_29)), NULL);
  1561. V_11 = L_30;
  1562. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_10;
  1563. float L_32 = L_31.___z;
  1564. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_33 = ___0_gridOrigin;
  1565. float L_34 = L_33.___y;
  1566. float L_35 = V_2;
  1567. int32_t L_36;
  1568. L_36 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_32, L_34)), L_35)), NULL);
  1569. V_12 = L_36;
  1570. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_37 = V_0;
  1571. int32_t L_38 = V_11;
  1572. int32_t L_39 = V_12;
  1573. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_40 = V_7;
  1574. NullCheck(L_37);
  1575. bool L_41;
  1576. L_41 = TerrainMap_TryToAddTerrain_m03A05C883F317FD2E6956ADD6625409E8A90BE15(L_37, L_38, L_39, L_40, NULL);
  1577. }
  1578. IL_00cc:
  1579. {
  1580. }
  1581. IL_00cd:
  1582. {
  1583. int32_t L_42 = V_6;
  1584. V_6 = ((int32_t)il2cpp_codegen_add(L_42, 1));
  1585. }
  1586. IL_00d3:
  1587. {
  1588. int32_t L_43 = V_6;
  1589. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_44 = V_5;
  1590. NullCheck(L_44);
  1591. if ((((int32_t)L_43) < ((int32_t)((int32_t)(((RuntimeArray*)L_44)->max_length)))))
  1592. {
  1593. goto IL_0050;
  1594. }
  1595. }
  1596. {
  1597. bool L_45 = ___3_fullValidation;
  1598. V_13 = L_45;
  1599. bool L_46 = V_13;
  1600. if (!L_46)
  1601. {
  1602. goto IL_00ec;
  1603. }
  1604. }
  1605. {
  1606. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_47 = V_0;
  1607. NullCheck(L_47);
  1608. int32_t L_48;
  1609. L_48 = TerrainMap_Validate_mAFBB4A2D0290E25D59902A1BD5DA1EBC2ACD1326(L_47, NULL);
  1610. }
  1611. IL_00ec:
  1612. {
  1613. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_49 = V_0;
  1614. NullCheck(L_49);
  1615. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* L_50 = L_49->___m_terrainTiles;
  1616. NullCheck(L_50);
  1617. int32_t L_51;
  1618. L_51 = Dictionary_2_get_Count_m876E3F2E32CD5DE6F869A52E21B755854D74C024(L_50, Dictionary_2_get_Count_m876E3F2E32CD5DE6F869A52E21B755854D74C024_RuntimeMethod_var);
  1619. if ((((int32_t)L_51) > ((int32_t)0)))
  1620. {
  1621. goto IL_00fd;
  1622. }
  1623. }
  1624. {
  1625. G_B21_0 = ((TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB*)(NULL));
  1626. goto IL_00fe;
  1627. }
  1628. IL_00fd:
  1629. {
  1630. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_52 = V_0;
  1631. G_B21_0 = L_52;
  1632. }
  1633. IL_00fe:
  1634. {
  1635. V_4 = G_B21_0;
  1636. goto IL_0102;
  1637. }
  1638. IL_0102:
  1639. {
  1640. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_53 = V_4;
  1641. return L_53;
  1642. }
  1643. }
  1644. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* TerrainMap_get_terrainTiles_m9EAA8FCB972C834E2093DDD49B26DBBA2E74A2AB (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, const RuntimeMethod* method)
  1645. {
  1646. {
  1647. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* L_0 = __this->___m_terrainTiles;
  1648. return L_0;
  1649. }
  1650. }
  1651. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainMap__ctor_mCDB47BA50D9D54E65754028F9CF8F91828FE616F (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, const RuntimeMethod* method)
  1652. {
  1653. static bool s_Il2CppMethodInitialized;
  1654. if (!s_Il2CppMethodInitialized)
  1655. {
  1656. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_mCA22422F902B1FF70914D8FA2EF849DA0DCDC87D_RuntimeMethod_var);
  1657. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119_il2cpp_TypeInfo_var);
  1658. s_Il2CppMethodInitialized = true;
  1659. }
  1660. {
  1661. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  1662. __this->___m_errorCode = 0;
  1663. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* L_0 = (Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119*)il2cpp_codegen_object_new(Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119_il2cpp_TypeInfo_var);
  1664. Dictionary_2__ctor_mCA22422F902B1FF70914D8FA2EF849DA0DCDC87D(L_0, Dictionary_2__ctor_mCA22422F902B1FF70914D8FA2EF849DA0DCDC87D_RuntimeMethod_var);
  1665. __this->___m_terrainTiles = L_0;
  1666. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_terrainTiles), (void*)L_0);
  1667. return;
  1668. }
  1669. }
  1670. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainMap_AddTerrainInternal_m507CE3A3F880B33CA2330F69464E3511D5B9BD71 (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, int32_t ___0_x, int32_t ___1_z, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___2_terrain, const RuntimeMethod* method)
  1671. {
  1672. static bool s_Il2CppMethodInitialized;
  1673. if (!s_Il2CppMethodInitialized)
  1674. {
  1675. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_m265E9FB46C80D234AEB47C08D701628D57DBA132_RuntimeMethod_var);
  1676. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_m876E3F2E32CD5DE6F869A52E21B755854D74C024_RuntimeMethod_var);
  1677. s_Il2CppMethodInitialized = true;
  1678. }
  1679. bool V_0 = false;
  1680. bool V_1 = false;
  1681. {
  1682. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* L_0 = __this->___m_terrainTiles;
  1683. NullCheck(L_0);
  1684. int32_t L_1;
  1685. L_1 = Dictionary_2_get_Count_m876E3F2E32CD5DE6F869A52E21B755854D74C024(L_0, Dictionary_2_get_Count_m876E3F2E32CD5DE6F869A52E21B755854D74C024_RuntimeMethod_var);
  1686. V_0 = (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
  1687. bool L_2 = V_0;
  1688. if (!L_2)
  1689. {
  1690. goto IL_0026;
  1691. }
  1692. }
  1693. {
  1694. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_3 = ___2_terrain;
  1695. NullCheck(L_3);
  1696. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_4;
  1697. L_4 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_3, NULL);
  1698. NullCheck(L_4);
  1699. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  1700. L_5 = TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5(L_4, NULL);
  1701. __this->___m_patchSize = L_5;
  1702. goto IL_0052;
  1703. }
  1704. IL_0026:
  1705. {
  1706. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_6 = ___2_terrain;
  1707. NullCheck(L_6);
  1708. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_7;
  1709. L_7 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_6, NULL);
  1710. NullCheck(L_7);
  1711. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  1712. L_8 = TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5(L_7, NULL);
  1713. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = __this->___m_patchSize;
  1714. bool L_10;
  1715. L_10 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_8, L_9, NULL);
  1716. V_1 = L_10;
  1717. bool L_11 = V_1;
  1718. if (!L_11)
  1719. {
  1720. goto IL_0051;
  1721. }
  1722. }
  1723. {
  1724. int32_t L_12 = __this->___m_errorCode;
  1725. __this->___m_errorCode = ((int32_t)((int32_t)L_12|4));
  1726. }
  1727. IL_0051:
  1728. {
  1729. }
  1730. IL_0052:
  1731. {
  1732. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* L_13 = __this->___m_terrainTiles;
  1733. int32_t L_14 = ___0_x;
  1734. int32_t L_15 = ___1_z;
  1735. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_16;
  1736. memset((&L_16), 0, sizeof(L_16));
  1737. TerrainTileCoord__ctor_m6B6744655B9C3BA9B1A92076F07002B4B4EB899A((&L_16), L_14, L_15, NULL);
  1738. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_17 = ___2_terrain;
  1739. NullCheck(L_13);
  1740. Dictionary_2_Add_m265E9FB46C80D234AEB47C08D701628D57DBA132(L_13, L_16, L_17, Dictionary_2_Add_m265E9FB46C80D234AEB47C08D701628D57DBA132_RuntimeMethod_var);
  1741. return;
  1742. }
  1743. }
  1744. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TerrainMap_TryToAddTerrain_m03A05C883F317FD2E6956ADD6625409E8A90BE15 (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, int32_t ___0_tileX, int32_t ___1_tileZ, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___2_terrain, const RuntimeMethod* method)
  1745. {
  1746. static bool s_Il2CppMethodInitialized;
  1747. if (!s_Il2CppMethodInitialized)
  1748. {
  1749. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1750. s_Il2CppMethodInitialized = true;
  1751. }
  1752. bool V_0 = false;
  1753. bool V_1 = false;
  1754. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_2 = NULL;
  1755. bool V_3 = false;
  1756. bool V_4 = false;
  1757. bool V_5 = false;
  1758. {
  1759. V_0 = (bool)0;
  1760. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_0 = ___2_terrain;
  1761. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1762. bool L_1;
  1763. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  1764. V_1 = L_1;
  1765. bool L_2 = V_1;
  1766. if (!L_2)
  1767. {
  1768. goto IL_0053;
  1769. }
  1770. }
  1771. {
  1772. int32_t L_3 = ___0_tileX;
  1773. int32_t L_4 = ___1_tileZ;
  1774. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_5;
  1775. L_5 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(__this, L_3, L_4, NULL);
  1776. V_2 = L_5;
  1777. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_6 = V_2;
  1778. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1779. bool L_7;
  1780. L_7 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_6, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  1781. V_3 = L_7;
  1782. bool L_8 = V_3;
  1783. if (!L_8)
  1784. {
  1785. goto IL_0044;
  1786. }
  1787. }
  1788. {
  1789. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_9 = V_2;
  1790. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_10 = ___2_terrain;
  1791. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1792. bool L_11;
  1793. L_11 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_9, L_10, NULL);
  1794. V_4 = L_11;
  1795. bool L_12 = V_4;
  1796. if (!L_12)
  1797. {
  1798. goto IL_0041;
  1799. }
  1800. }
  1801. {
  1802. int32_t L_13 = __this->___m_errorCode;
  1803. __this->___m_errorCode = ((int32_t)((int32_t)L_13|1));
  1804. }
  1805. IL_0041:
  1806. {
  1807. goto IL_0052;
  1808. }
  1809. IL_0044:
  1810. {
  1811. int32_t L_14 = ___0_tileX;
  1812. int32_t L_15 = ___1_tileZ;
  1813. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_16 = ___2_terrain;
  1814. TerrainMap_AddTerrainInternal_m507CE3A3F880B33CA2330F69464E3511D5B9BD71(__this, L_14, L_15, L_16, NULL);
  1815. V_0 = (bool)1;
  1816. }
  1817. IL_0052:
  1818. {
  1819. }
  1820. IL_0053:
  1821. {
  1822. bool L_17 = V_0;
  1823. V_5 = L_17;
  1824. goto IL_0058;
  1825. }
  1826. IL_0058:
  1827. {
  1828. bool L_18 = V_5;
  1829. return L_18;
  1830. }
  1831. }
  1832. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainMap_ValidateTerrain_m8D9B035B3851E0ED8BB5877BD11F63BA85029653 (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, int32_t ___0_tileX, int32_t ___1_tileZ, const RuntimeMethod* method)
  1833. {
  1834. static bool s_Il2CppMethodInitialized;
  1835. if (!s_Il2CppMethodInitialized)
  1836. {
  1837. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1838. s_Il2CppMethodInitialized = true;
  1839. }
  1840. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_0 = NULL;
  1841. bool V_1 = false;
  1842. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_2 = NULL;
  1843. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_3 = NULL;
  1844. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_4 = NULL;
  1845. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_5 = NULL;
  1846. bool V_6 = false;
  1847. bool V_7 = false;
  1848. bool V_8 = false;
  1849. bool V_9 = false;
  1850. bool V_10 = false;
  1851. bool V_11 = false;
  1852. bool V_12 = false;
  1853. bool V_13 = false;
  1854. int32_t G_B5_0 = 0;
  1855. int32_t G_B12_0 = 0;
  1856. int32_t G_B19_0 = 0;
  1857. int32_t G_B26_0 = 0;
  1858. {
  1859. int32_t L_0 = ___0_tileX;
  1860. int32_t L_1 = ___1_tileZ;
  1861. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_2;
  1862. L_2 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(__this, L_0, L_1, NULL);
  1863. V_0 = L_2;
  1864. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_3 = V_0;
  1865. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1866. bool L_4;
  1867. L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  1868. V_1 = L_4;
  1869. bool L_5 = V_1;
  1870. if (!L_5)
  1871. {
  1872. goto IL_026d;
  1873. }
  1874. }
  1875. {
  1876. int32_t L_6 = ___0_tileX;
  1877. int32_t L_7 = ___1_tileZ;
  1878. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_8;
  1879. L_8 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(__this, ((int32_t)il2cpp_codegen_subtract(L_6, 1)), L_7, NULL);
  1880. V_2 = L_8;
  1881. int32_t L_9 = ___0_tileX;
  1882. int32_t L_10 = ___1_tileZ;
  1883. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_11;
  1884. L_11 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(__this, ((int32_t)il2cpp_codegen_add(L_9, 1)), L_10, NULL);
  1885. V_3 = L_11;
  1886. int32_t L_12 = ___0_tileX;
  1887. int32_t L_13 = ___1_tileZ;
  1888. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_14;
  1889. L_14 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(__this, L_12, ((int32_t)il2cpp_codegen_add(L_13, 1)), NULL);
  1890. V_4 = L_14;
  1891. int32_t L_15 = ___0_tileX;
  1892. int32_t L_16 = ___1_tileZ;
  1893. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_17;
  1894. L_17 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(__this, L_15, ((int32_t)il2cpp_codegen_subtract(L_16, 1)), NULL);
  1895. V_5 = L_17;
  1896. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_18 = V_2;
  1897. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1898. bool L_19;
  1899. L_19 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_18, NULL);
  1900. V_6 = L_19;
  1901. bool L_20 = V_6;
  1902. if (!L_20)
  1903. {
  1904. goto IL_00cf;
  1905. }
  1906. }
  1907. {
  1908. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_21 = V_0;
  1909. NullCheck(L_21);
  1910. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22;
  1911. L_22 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_21, NULL);
  1912. NullCheck(L_22);
  1913. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  1914. L_23 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_22, NULL);
  1915. float L_24 = L_23.___x;
  1916. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_25 = V_2;
  1917. NullCheck(L_25);
  1918. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26;
  1919. L_26 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_25, NULL);
  1920. NullCheck(L_26);
  1921. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  1922. L_27 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_26, NULL);
  1923. float L_28 = L_27.___x;
  1924. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_29 = V_2;
  1925. NullCheck(L_29);
  1926. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_30;
  1927. L_30 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_29, NULL);
  1928. NullCheck(L_30);
  1929. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  1930. L_31 = TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5(L_30, NULL);
  1931. float L_32 = L_31.___x;
  1932. bool L_33;
  1933. L_33 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(L_24, ((float)il2cpp_codegen_add(L_28, L_32)), NULL);
  1934. if (!L_33)
  1935. {
  1936. goto IL_00b7;
  1937. }
  1938. }
  1939. {
  1940. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_34 = V_0;
  1941. NullCheck(L_34);
  1942. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_35;
  1943. L_35 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_34, NULL);
  1944. NullCheck(L_35);
  1945. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  1946. L_36 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_35, NULL);
  1947. float L_37 = L_36.___z;
  1948. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_38 = V_2;
  1949. NullCheck(L_38);
  1950. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_39;
  1951. L_39 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_38, NULL);
  1952. NullCheck(L_39);
  1953. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
  1954. L_40 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_39, NULL);
  1955. float L_41 = L_40.___z;
  1956. bool L_42;
  1957. L_42 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(L_37, L_41, NULL);
  1958. G_B5_0 = ((((int32_t)L_42) == ((int32_t)0))? 1 : 0);
  1959. goto IL_00b8;
  1960. }
  1961. IL_00b7:
  1962. {
  1963. G_B5_0 = 1;
  1964. }
  1965. IL_00b8:
  1966. {
  1967. V_7 = (bool)G_B5_0;
  1968. bool L_43 = V_7;
  1969. if (!L_43)
  1970. {
  1971. goto IL_00ce;
  1972. }
  1973. }
  1974. {
  1975. int32_t L_44 = __this->___m_errorCode;
  1976. __this->___m_errorCode = ((int32_t)((int32_t)L_44|8));
  1977. }
  1978. IL_00ce:
  1979. {
  1980. }
  1981. IL_00cf:
  1982. {
  1983. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_45 = V_3;
  1984. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  1985. bool L_46;
  1986. L_46 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_45, NULL);
  1987. V_8 = L_46;
  1988. bool L_47 = V_8;
  1989. if (!L_47)
  1990. {
  1991. goto IL_0156;
  1992. }
  1993. }
  1994. {
  1995. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_48 = V_0;
  1996. NullCheck(L_48);
  1997. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_49;
  1998. L_49 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_48, NULL);
  1999. NullCheck(L_49);
  2000. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
  2001. L_50 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_49, NULL);
  2002. float L_51 = L_50.___x;
  2003. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_52 = V_0;
  2004. NullCheck(L_52);
  2005. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_53;
  2006. L_53 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_52, NULL);
  2007. NullCheck(L_53);
  2008. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
  2009. L_54 = TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5(L_53, NULL);
  2010. float L_55 = L_54.___x;
  2011. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_56 = V_3;
  2012. NullCheck(L_56);
  2013. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_57;
  2014. L_57 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_56, NULL);
  2015. NullCheck(L_57);
  2016. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
  2017. L_58 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_57, NULL);
  2018. float L_59 = L_58.___x;
  2019. bool L_60;
  2020. L_60 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(((float)il2cpp_codegen_add(L_51, L_55)), L_59, NULL);
  2021. if (!L_60)
  2022. {
  2023. goto IL_013e;
  2024. }
  2025. }
  2026. {
  2027. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_61 = V_0;
  2028. NullCheck(L_61);
  2029. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_62;
  2030. L_62 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_61, NULL);
  2031. NullCheck(L_62);
  2032. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
  2033. L_63 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_62, NULL);
  2034. float L_64 = L_63.___z;
  2035. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_65 = V_3;
  2036. NullCheck(L_65);
  2037. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_66;
  2038. L_66 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_65, NULL);
  2039. NullCheck(L_66);
  2040. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
  2041. L_67 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_66, NULL);
  2042. float L_68 = L_67.___z;
  2043. bool L_69;
  2044. L_69 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(L_64, L_68, NULL);
  2045. G_B12_0 = ((((int32_t)L_69) == ((int32_t)0))? 1 : 0);
  2046. goto IL_013f;
  2047. }
  2048. IL_013e:
  2049. {
  2050. G_B12_0 = 1;
  2051. }
  2052. IL_013f:
  2053. {
  2054. V_9 = (bool)G_B12_0;
  2055. bool L_70 = V_9;
  2056. if (!L_70)
  2057. {
  2058. goto IL_0155;
  2059. }
  2060. }
  2061. {
  2062. int32_t L_71 = __this->___m_errorCode;
  2063. __this->___m_errorCode = ((int32_t)((int32_t)L_71|8));
  2064. }
  2065. IL_0155:
  2066. {
  2067. }
  2068. IL_0156:
  2069. {
  2070. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_72 = V_4;
  2071. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2072. bool L_73;
  2073. L_73 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_72, NULL);
  2074. V_10 = L_73;
  2075. bool L_74 = V_10;
  2076. if (!L_74)
  2077. {
  2078. goto IL_01e0;
  2079. }
  2080. }
  2081. {
  2082. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_75 = V_0;
  2083. NullCheck(L_75);
  2084. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_76;
  2085. L_76 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_75, NULL);
  2086. NullCheck(L_76);
  2087. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
  2088. L_77 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_76, NULL);
  2089. float L_78 = L_77.___x;
  2090. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_79 = V_4;
  2091. NullCheck(L_79);
  2092. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_80;
  2093. L_80 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_79, NULL);
  2094. NullCheck(L_80);
  2095. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
  2096. L_81 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_80, NULL);
  2097. float L_82 = L_81.___x;
  2098. bool L_83;
  2099. L_83 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(L_78, L_82, NULL);
  2100. if (!L_83)
  2101. {
  2102. goto IL_01c8;
  2103. }
  2104. }
  2105. {
  2106. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_84 = V_0;
  2107. NullCheck(L_84);
  2108. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_85;
  2109. L_85 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_84, NULL);
  2110. NullCheck(L_85);
  2111. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
  2112. L_86 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_85, NULL);
  2113. float L_87 = L_86.___z;
  2114. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_88 = V_0;
  2115. NullCheck(L_88);
  2116. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_89;
  2117. L_89 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_88, NULL);
  2118. NullCheck(L_89);
  2119. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
  2120. L_90 = TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5(L_89, NULL);
  2121. float L_91 = L_90.___z;
  2122. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_92 = V_4;
  2123. NullCheck(L_92);
  2124. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_93;
  2125. L_93 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_92, NULL);
  2126. NullCheck(L_93);
  2127. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
  2128. L_94 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_93, NULL);
  2129. float L_95 = L_94.___z;
  2130. bool L_96;
  2131. L_96 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(((float)il2cpp_codegen_add(L_87, L_91)), L_95, NULL);
  2132. G_B19_0 = ((((int32_t)L_96) == ((int32_t)0))? 1 : 0);
  2133. goto IL_01c9;
  2134. }
  2135. IL_01c8:
  2136. {
  2137. G_B19_0 = 1;
  2138. }
  2139. IL_01c9:
  2140. {
  2141. V_11 = (bool)G_B19_0;
  2142. bool L_97 = V_11;
  2143. if (!L_97)
  2144. {
  2145. goto IL_01df;
  2146. }
  2147. }
  2148. {
  2149. int32_t L_98 = __this->___m_errorCode;
  2150. __this->___m_errorCode = ((int32_t)((int32_t)L_98|8));
  2151. }
  2152. IL_01df:
  2153. {
  2154. }
  2155. IL_01e0:
  2156. {
  2157. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_99 = V_5;
  2158. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2159. bool L_100;
  2160. L_100 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_99, NULL);
  2161. V_12 = L_100;
  2162. bool L_101 = V_12;
  2163. if (!L_101)
  2164. {
  2165. goto IL_026b;
  2166. }
  2167. }
  2168. {
  2169. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_102 = V_0;
  2170. NullCheck(L_102);
  2171. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_103;
  2172. L_103 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_102, NULL);
  2173. NullCheck(L_103);
  2174. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104;
  2175. L_104 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_103, NULL);
  2176. float L_105 = L_104.___x;
  2177. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_106 = V_5;
  2178. NullCheck(L_106);
  2179. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_107;
  2180. L_107 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_106, NULL);
  2181. NullCheck(L_107);
  2182. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108;
  2183. L_108 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_107, NULL);
  2184. float L_109 = L_108.___x;
  2185. bool L_110;
  2186. L_110 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(L_105, L_109, NULL);
  2187. if (!L_110)
  2188. {
  2189. goto IL_0253;
  2190. }
  2191. }
  2192. {
  2193. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_111 = V_0;
  2194. NullCheck(L_111);
  2195. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_112;
  2196. L_112 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_111, NULL);
  2197. NullCheck(L_112);
  2198. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_113;
  2199. L_113 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_112, NULL);
  2200. float L_114 = L_113.___z;
  2201. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_115 = V_5;
  2202. NullCheck(L_115);
  2203. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_116;
  2204. L_116 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_115, NULL);
  2205. NullCheck(L_116);
  2206. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117;
  2207. L_117 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_116, NULL);
  2208. float L_118 = L_117.___z;
  2209. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_119 = V_5;
  2210. NullCheck(L_119);
  2211. TerrainData_t615A68EAC648066681875D47FC641496D12F2E24* L_120;
  2212. L_120 = Terrain_get_terrainData_m3B6C1D89471A4E1C60FC19C168DB37A011B924FD(L_119, NULL);
  2213. NullCheck(L_120);
  2214. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121;
  2215. L_121 = TerrainData_get_size_mCD3977F344B9DEBFF61DD537D03FEB9473838DA5(L_120, NULL);
  2216. float L_122 = L_121.___z;
  2217. bool L_123;
  2218. L_123 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(L_114, ((float)il2cpp_codegen_add(L_118, L_122)), NULL);
  2219. G_B26_0 = ((((int32_t)L_123) == ((int32_t)0))? 1 : 0);
  2220. goto IL_0254;
  2221. }
  2222. IL_0253:
  2223. {
  2224. G_B26_0 = 1;
  2225. }
  2226. IL_0254:
  2227. {
  2228. V_13 = (bool)G_B26_0;
  2229. bool L_124 = V_13;
  2230. if (!L_124)
  2231. {
  2232. goto IL_026a;
  2233. }
  2234. }
  2235. {
  2236. int32_t L_125 = __this->___m_errorCode;
  2237. __this->___m_errorCode = ((int32_t)((int32_t)L_125|8));
  2238. }
  2239. IL_026a:
  2240. {
  2241. }
  2242. IL_026b:
  2243. {
  2244. }
  2245. IL_026d:
  2246. {
  2247. return;
  2248. }
  2249. }
  2250. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TerrainMap_Validate_mAFBB4A2D0290E25D59902A1BD5DA1EBC2ACD1326 (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, const RuntimeMethod* method)
  2251. {
  2252. static bool s_Il2CppMethodInitialized;
  2253. if (!s_Il2CppMethodInitialized)
  2254. {
  2255. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Keys_mBE9BF06497225D54AC2D2D7AEF6D0F94169B10D4_RuntimeMethod_var);
  2256. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_mC60AECD5D4FA770371F4B374F2B026F7198CEF03_RuntimeMethod_var);
  2257. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m6430F89661ED2AEDEAD6FD241BBDA21BF02135DC_RuntimeMethod_var);
  2258. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m88A7ECB72C871AEFAD87667D8512A109C33E7080_RuntimeMethod_var);
  2259. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyCollection_GetEnumerator_m7D86741C1BEF055A22281CF69C6235BFD1E7D521_RuntimeMethod_var);
  2260. s_Il2CppMethodInitialized = true;
  2261. }
  2262. Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689 V_0;
  2263. memset((&V_0), 0, sizeof(V_0));
  2264. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 V_1;
  2265. memset((&V_1), 0, sizeof(V_1));
  2266. int32_t V_2 = 0;
  2267. {
  2268. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* L_0 = __this->___m_terrainTiles;
  2269. NullCheck(L_0);
  2270. KeyCollection_tE33A2EB76F7F1DBF4EF03A4D82E8E0A13B74637E* L_1;
  2271. L_1 = Dictionary_2_get_Keys_mBE9BF06497225D54AC2D2D7AEF6D0F94169B10D4(L_0, Dictionary_2_get_Keys_mBE9BF06497225D54AC2D2D7AEF6D0F94169B10D4_RuntimeMethod_var);
  2272. NullCheck(L_1);
  2273. Enumerator_t608060746142FE814AB6D19ACFCB6AF049D89689 L_2;
  2274. L_2 = KeyCollection_GetEnumerator_m7D86741C1BEF055A22281CF69C6235BFD1E7D521(L_1, KeyCollection_GetEnumerator_m7D86741C1BEF055A22281CF69C6235BFD1E7D521_RuntimeMethod_var);
  2275. V_0 = L_2;
  2276. }
  2277. {
  2278. auto __finallyBlock = il2cpp::utils::Finally([&]
  2279. {
  2280. FINALLY_003d:
  2281. {
  2282. Enumerator_Dispose_mC60AECD5D4FA770371F4B374F2B026F7198CEF03((&V_0), Enumerator_Dispose_mC60AECD5D4FA770371F4B374F2B026F7198CEF03_RuntimeMethod_var);
  2283. return;
  2284. }
  2285. });
  2286. try
  2287. {
  2288. {
  2289. goto IL_0032_1;
  2290. }
  2291. IL_0015_1:
  2292. {
  2293. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_3;
  2294. L_3 = Enumerator_get_Current_m88A7ECB72C871AEFAD87667D8512A109C33E7080_inline((&V_0), Enumerator_get_Current_m88A7ECB72C871AEFAD87667D8512A109C33E7080_RuntimeMethod_var);
  2295. V_1 = L_3;
  2296. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_4 = V_1;
  2297. int32_t L_5 = L_4.___tileX;
  2298. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_6 = V_1;
  2299. int32_t L_7 = L_6.___tileZ;
  2300. TerrainMap_ValidateTerrain_m8D9B035B3851E0ED8BB5877BD11F63BA85029653(__this, L_5, L_7, NULL);
  2301. }
  2302. IL_0032_1:
  2303. {
  2304. bool L_8;
  2305. L_8 = Enumerator_MoveNext_m6430F89661ED2AEDEAD6FD241BBDA21BF02135DC((&V_0), Enumerator_MoveNext_m6430F89661ED2AEDEAD6FD241BBDA21BF02135DC_RuntimeMethod_var);
  2306. if (L_8)
  2307. {
  2308. goto IL_0015_1;
  2309. }
  2310. }
  2311. {
  2312. goto IL_004c;
  2313. }
  2314. }
  2315. catch(Il2CppExceptionWrapper& e)
  2316. {
  2317. __finallyBlock.StoreException(e.ex);
  2318. }
  2319. }
  2320. IL_004c:
  2321. {
  2322. int32_t L_9 = __this->___m_errorCode;
  2323. V_2 = L_9;
  2324. goto IL_0055;
  2325. }
  2326. IL_0055:
  2327. {
  2328. int32_t L_10 = V_2;
  2329. return L_10;
  2330. }
  2331. }
  2332. #ifdef __clang__
  2333. #pragma clang diagnostic pop
  2334. #endif
  2335. #ifdef __clang__
  2336. #pragma clang diagnostic push
  2337. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2338. #pragma clang diagnostic ignored "-Wunused-variable"
  2339. #endif
  2340. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0__ctor_mAFD4AEF760F5CC7CE66BAD750DAD3697397E8945 (U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3* __this, const RuntimeMethod* method)
  2341. {
  2342. {
  2343. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  2344. return;
  2345. }
  2346. }
  2347. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec__DisplayClass3_0_U3CCreateFromPlacementU3Eb__0_m703A4D4E3D378C9896199B70A89FCDF1A07C737B (U3CU3Ec__DisplayClass3_0_t5A3BA129A3DFF96B5C0658B95E1ED4A678218CC3* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_x, const RuntimeMethod* method)
  2348. {
  2349. {
  2350. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_0 = ___0_x;
  2351. NullCheck(L_0);
  2352. int32_t L_1;
  2353. L_1 = Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24(L_0, NULL);
  2354. int32_t L_2 = __this->___groupID;
  2355. return (bool)((((int32_t)L_1) == ((int32_t)L_2))? 1 : 0);
  2356. }
  2357. }
  2358. #ifdef __clang__
  2359. #pragma clang diagnostic pop
  2360. #endif
  2361. #ifdef __clang__
  2362. #pragma clang diagnostic push
  2363. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2364. #pragma clang diagnostic ignored "-Wunused-variable"
  2365. #endif
  2366. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TerrainUtility_ValidTerrainsExist_m0DD08E4CEC739929A9AEBCEA849EDFE79985A207 (const RuntimeMethod* method)
  2367. {
  2368. bool V_0 = false;
  2369. int32_t G_B3_0 = 0;
  2370. {
  2371. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_0;
  2372. L_0 = Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701(NULL);
  2373. if (!L_0)
  2374. {
  2375. goto IL_0013;
  2376. }
  2377. }
  2378. {
  2379. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_1;
  2380. L_1 = Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701(NULL);
  2381. NullCheck(L_1);
  2382. G_B3_0 = ((!(((uint32_t)(((RuntimeArray*)L_1)->max_length)) <= ((uint32_t)0)))? 1 : 0);
  2383. goto IL_0014;
  2384. }
  2385. IL_0013:
  2386. {
  2387. G_B3_0 = 0;
  2388. }
  2389. IL_0014:
  2390. {
  2391. V_0 = (bool)G_B3_0;
  2392. goto IL_0017;
  2393. }
  2394. IL_0017:
  2395. {
  2396. bool L_2 = V_0;
  2397. return L_2;
  2398. }
  2399. }
  2400. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainUtility_ClearConnectivity_m7448E42CD3F2941EF02C10DE358778EEAF9B0AA9 (const RuntimeMethod* method)
  2401. {
  2402. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* V_0 = NULL;
  2403. int32_t V_1 = 0;
  2404. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_2 = NULL;
  2405. bool V_3 = false;
  2406. {
  2407. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_0;
  2408. L_0 = Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701(NULL);
  2409. V_0 = L_0;
  2410. V_1 = 0;
  2411. goto IL_002b;
  2412. }
  2413. IL_000c:
  2414. {
  2415. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_1 = V_0;
  2416. int32_t L_2 = V_1;
  2417. NullCheck(L_1);
  2418. int32_t L_3 = L_2;
  2419. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  2420. V_2 = L_4;
  2421. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_5 = V_2;
  2422. NullCheck(L_5);
  2423. bool L_6;
  2424. L_6 = Terrain_get_allowAutoConnect_m4E9CB87D130BB118517C5504C8FB4A5CC3AA91D7(L_5, NULL);
  2425. V_3 = L_6;
  2426. bool L_7 = V_3;
  2427. if (!L_7)
  2428. {
  2429. goto IL_0026;
  2430. }
  2431. }
  2432. {
  2433. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_8 = V_2;
  2434. NullCheck(L_8);
  2435. Terrain_SetNeighbors_m2FFA89D199120125D264EF7EE0BC749A35514C1E(L_8, (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*)NULL, (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*)NULL, (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*)NULL, (Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*)NULL, NULL);
  2436. }
  2437. IL_0026:
  2438. {
  2439. int32_t L_9 = V_1;
  2440. V_1 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  2441. }
  2442. IL_002b:
  2443. {
  2444. int32_t L_10 = V_1;
  2445. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_11 = V_0;
  2446. NullCheck(L_11);
  2447. if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
  2448. {
  2449. goto IL_000c;
  2450. }
  2451. }
  2452. {
  2453. return;
  2454. }
  2455. }
  2456. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* TerrainUtility_CollectTerrains_mDFCA0AFA00FFD16CEC8B4EFA9C55E3B7B6803EC4 (bool ___0_onlyAutoConnectedTerrains, const RuntimeMethod* method)
  2457. {
  2458. static bool s_Il2CppMethodInitialized;
  2459. if (!s_Il2CppMethodInitialized)
  2460. {
  2461. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_m4E7AE6465929CEEA79B5921CFF3D4BD64E249AF9_RuntimeMethod_var);
  2462. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_ContainsKey_m384365266E590EDD82F8949169A3C502E643AC95_RuntimeMethod_var);
  2463. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m5665AD243B285B8D26138C699D544F4124AC7D78_RuntimeMethod_var);
  2464. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_m001233C3B4F8B3D1A8F044C9D43104F1671688DC_RuntimeMethod_var);
  2465. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C_il2cpp_TypeInfo_var);
  2466. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055_il2cpp_TypeInfo_var);
  2467. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E_il2cpp_TypeInfo_var);
  2468. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass2_1_U3CCollectTerrainsU3Eb__0_m57E871EB2399E5FB7DF78B3C9EBFBF152116AC2C_RuntimeMethod_var);
  2469. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951_il2cpp_TypeInfo_var);
  2470. s_Il2CppMethodInitialized = true;
  2471. }
  2472. U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E* V_0 = NULL;
  2473. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* V_1 = NULL;
  2474. bool V_2 = false;
  2475. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* V_3 = NULL;
  2476. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* V_4 = NULL;
  2477. int32_t V_5 = 0;
  2478. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* V_6 = NULL;
  2479. bool V_7 = false;
  2480. bool V_8 = false;
  2481. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* V_9 = NULL;
  2482. bool V_10 = false;
  2483. int32_t G_B6_0 = 0;
  2484. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* G_B18_0 = NULL;
  2485. {
  2486. U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E* L_0 = (U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E_il2cpp_TypeInfo_var);
  2487. U3CU3Ec__DisplayClass2_0__ctor_m4C022C4675BA4CFC7E7AAA5692979CDE6CD8E611(L_0, NULL);
  2488. V_0 = L_0;
  2489. U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E* L_1 = V_0;
  2490. bool L_2 = ___0_onlyAutoConnectedTerrains;
  2491. NullCheck(L_1);
  2492. L_1->___onlyAutoConnectedTerrains = L_2;
  2493. bool L_3;
  2494. L_3 = TerrainUtility_ValidTerrainsExist_m0DD08E4CEC739929A9AEBCEA849EDFE79985A207(NULL);
  2495. V_2 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
  2496. bool L_4 = V_2;
  2497. if (!L_4)
  2498. {
  2499. goto IL_0021;
  2500. }
  2501. }
  2502. {
  2503. V_3 = (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C*)NULL;
  2504. goto IL_00f5;
  2505. }
  2506. IL_0021:
  2507. {
  2508. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* L_5 = (Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C*)il2cpp_codegen_object_new(Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C_il2cpp_TypeInfo_var);
  2509. Dictionary_2__ctor_m5665AD243B285B8D26138C699D544F4124AC7D78(L_5, Dictionary_2__ctor_m5665AD243B285B8D26138C699D544F4124AC7D78_RuntimeMethod_var);
  2510. V_1 = L_5;
  2511. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_6;
  2512. L_6 = Terrain_get_activeTerrains_mB90A9BC89764F626D13F3EF1420EA8D3E186B701(NULL);
  2513. V_4 = L_6;
  2514. V_5 = 0;
  2515. goto IL_00db;
  2516. }
  2517. IL_0037:
  2518. {
  2519. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* L_7 = (U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951_il2cpp_TypeInfo_var);
  2520. U3CU3Ec__DisplayClass2_1__ctor_mA329ED5B221AE8787EAEA1124A2A95675FDD1695(L_7, NULL);
  2521. V_6 = L_7;
  2522. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* L_8 = V_6;
  2523. U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E* L_9 = V_0;
  2524. NullCheck(L_8);
  2525. L_8->___CSU24U3CU3E8__locals1 = L_9;
  2526. Il2CppCodeGenWriteBarrier((void**)(&L_8->___CSU24U3CU3E8__locals1), (void*)L_9);
  2527. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* L_10 = V_6;
  2528. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_11 = V_4;
  2529. int32_t L_12 = V_5;
  2530. NullCheck(L_11);
  2531. int32_t L_13 = L_12;
  2532. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  2533. NullCheck(L_10);
  2534. L_10->___t = L_14;
  2535. Il2CppCodeGenWriteBarrier((void**)(&L_10->___t), (void*)L_14);
  2536. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* L_15 = V_6;
  2537. NullCheck(L_15);
  2538. U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E* L_16 = L_15->___CSU24U3CU3E8__locals1;
  2539. NullCheck(L_16);
  2540. bool L_17 = L_16->___onlyAutoConnectedTerrains;
  2541. if (!L_17)
  2542. {
  2543. goto IL_0072;
  2544. }
  2545. }
  2546. {
  2547. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* L_18 = V_6;
  2548. NullCheck(L_18);
  2549. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_19 = L_18->___t;
  2550. NullCheck(L_19);
  2551. bool L_20;
  2552. L_20 = Terrain_get_allowAutoConnect_m4E9CB87D130BB118517C5504C8FB4A5CC3AA91D7(L_19, NULL);
  2553. G_B6_0 = ((((int32_t)L_20) == ((int32_t)0))? 1 : 0);
  2554. goto IL_0073;
  2555. }
  2556. IL_0072:
  2557. {
  2558. G_B6_0 = 0;
  2559. }
  2560. IL_0073:
  2561. {
  2562. V_7 = (bool)G_B6_0;
  2563. bool L_21 = V_7;
  2564. if (!L_21)
  2565. {
  2566. goto IL_007b;
  2567. }
  2568. }
  2569. {
  2570. goto IL_00d5;
  2571. }
  2572. IL_007b:
  2573. {
  2574. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* L_22 = V_1;
  2575. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* L_23 = V_6;
  2576. NullCheck(L_23);
  2577. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_24 = L_23->___t;
  2578. NullCheck(L_24);
  2579. int32_t L_25;
  2580. L_25 = Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24(L_24, NULL);
  2581. NullCheck(L_22);
  2582. bool L_26;
  2583. L_26 = Dictionary_2_ContainsKey_m384365266E590EDD82F8949169A3C502E643AC95(L_22, L_25, Dictionary_2_ContainsKey_m384365266E590EDD82F8949169A3C502E643AC95_RuntimeMethod_var);
  2584. V_8 = (bool)((((int32_t)L_26) == ((int32_t)0))? 1 : 0);
  2585. bool L_27 = V_8;
  2586. if (!L_27)
  2587. {
  2588. goto IL_00d4;
  2589. }
  2590. }
  2591. {
  2592. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* L_28 = V_6;
  2593. NullCheck(L_28);
  2594. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_29 = L_28->___t;
  2595. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* L_30 = V_6;
  2596. Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055* L_31 = (Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055*)il2cpp_codegen_object_new(Predicate_1_tF9C1F3093AD3E74A0F6BE3895143021CAFB64055_il2cpp_TypeInfo_var);
  2597. Predicate_1__ctor_m80A5EFAAAC439A069D5782C725DF325FDD5D891C(L_31, L_30, (intptr_t)((void*)U3CU3Ec__DisplayClass2_1_U3CCollectTerrainsU3Eb__0_m57E871EB2399E5FB7DF78B3C9EBFBF152116AC2C_RuntimeMethod_var), NULL);
  2598. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_32;
  2599. L_32 = TerrainMap_CreateFromPlacement_mC7822A5F4FC2A2CB119259A48F19D364ACEC5AE7(L_29, L_31, (bool)1, NULL);
  2600. V_9 = L_32;
  2601. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_33 = V_9;
  2602. V_10 = (bool)((!(((RuntimeObject*)(TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB*)L_33) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  2603. bool L_34 = V_10;
  2604. if (!L_34)
  2605. {
  2606. goto IL_00d3;
  2607. }
  2608. }
  2609. {
  2610. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* L_35 = V_1;
  2611. U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* L_36 = V_6;
  2612. NullCheck(L_36);
  2613. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_37 = L_36->___t;
  2614. NullCheck(L_37);
  2615. int32_t L_38;
  2616. L_38 = Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24(L_37, NULL);
  2617. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_39 = V_9;
  2618. NullCheck(L_35);
  2619. Dictionary_2_Add_m4E7AE6465929CEEA79B5921CFF3D4BD64E249AF9(L_35, L_38, L_39, Dictionary_2_Add_m4E7AE6465929CEEA79B5921CFF3D4BD64E249AF9_RuntimeMethod_var);
  2620. }
  2621. IL_00d3:
  2622. {
  2623. }
  2624. IL_00d4:
  2625. {
  2626. }
  2627. IL_00d5:
  2628. {
  2629. int32_t L_40 = V_5;
  2630. V_5 = ((int32_t)il2cpp_codegen_add(L_40, 1));
  2631. }
  2632. IL_00db:
  2633. {
  2634. int32_t L_41 = V_5;
  2635. TerrainU5BU5D_t89E2F0565563C3D9005990300ADEDD183F1823FE* L_42 = V_4;
  2636. NullCheck(L_42);
  2637. if ((((int32_t)L_41) < ((int32_t)((int32_t)(((RuntimeArray*)L_42)->max_length)))))
  2638. {
  2639. goto IL_0037;
  2640. }
  2641. }
  2642. {
  2643. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* L_43 = V_1;
  2644. NullCheck(L_43);
  2645. int32_t L_44;
  2646. L_44 = Dictionary_2_get_Count_m001233C3B4F8B3D1A8F044C9D43104F1671688DC(L_43, Dictionary_2_get_Count_m001233C3B4F8B3D1A8F044C9D43104F1671688DC_RuntimeMethod_var);
  2647. if (L_44)
  2648. {
  2649. goto IL_00f1;
  2650. }
  2651. }
  2652. {
  2653. G_B18_0 = ((Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C*)(NULL));
  2654. goto IL_00f2;
  2655. }
  2656. IL_00f1:
  2657. {
  2658. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* L_45 = V_1;
  2659. G_B18_0 = L_45;
  2660. }
  2661. IL_00f2:
  2662. {
  2663. V_3 = G_B18_0;
  2664. goto IL_00f5;
  2665. }
  2666. IL_00f5:
  2667. {
  2668. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* L_46 = V_3;
  2669. return L_46;
  2670. }
  2671. }
  2672. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainUtility_AutoConnect_m3E435D139BE402DC495248EDD1FF2C1E9377A897 (const RuntimeMethod* method)
  2673. {
  2674. static bool s_Il2CppMethodInitialized;
  2675. if (!s_Il2CppMethodInitialized)
  2676. {
  2677. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_GetEnumerator_m50800AFD24DEE5F8ACB58E1535F2A472B478E473_RuntimeMethod_var);
  2678. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_GetEnumerator_m5461BE3EE48320EA8E593506F16860A2CB4E9056_RuntimeMethod_var);
  2679. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m09F8467FB404D375259C17136F2213FC8455F2BF_RuntimeMethod_var);
  2680. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_mDDABE6027BD9E377D6E3FC7F60CE5DDB0ADC47D7_RuntimeMethod_var);
  2681. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m1BA7CBA94F8FC389211722A43E22BB110102ABB4_RuntimeMethod_var);
  2682. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m1CEA4A6A000E5344DB72DFF5E4FF563FF67F3558_RuntimeMethod_var);
  2683. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m1F085EA2ABB67CCEB29CC4A10D6FBC0F2B963349_RuntimeMethod_var);
  2684. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_mCD48A37B44C4A6E441AF6806E0821A24A22A51F3_RuntimeMethod_var);
  2685. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyValuePair_2_get_Key_mFE7731B1C41692F16EB45AC2D63092AC73156A8A_RuntimeMethod_var);
  2686. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyValuePair_2_get_Value_m32D4949D8D2F580E35346D41EBB14C7933B93482_RuntimeMethod_var);
  2687. s_Il2CppMethodInitialized = true;
  2688. }
  2689. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* V_0 = NULL;
  2690. bool V_1 = false;
  2691. bool V_2 = false;
  2692. Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F V_3;
  2693. memset((&V_3), 0, sizeof(V_3));
  2694. KeyValuePair_2_t5106DD80E20DAA18F0718F331B82E30C0F196873 V_4;
  2695. memset((&V_4), 0, sizeof(V_4));
  2696. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* V_5 = NULL;
  2697. Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B V_6;
  2698. memset((&V_6), 0, sizeof(V_6));
  2699. KeyValuePair_2_t69A51C36FF679E64375AD7C88BC0B6EC664E71E3 V_7;
  2700. memset((&V_7), 0, sizeof(V_7));
  2701. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 V_8;
  2702. memset((&V_8), 0, sizeof(V_8));
  2703. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_9 = NULL;
  2704. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_10 = NULL;
  2705. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_11 = NULL;
  2706. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_12 = NULL;
  2707. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* V_13 = NULL;
  2708. {
  2709. bool L_0;
  2710. L_0 = TerrainUtility_ValidTerrainsExist_m0DD08E4CEC739929A9AEBCEA849EDFE79985A207(NULL);
  2711. V_1 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
  2712. bool L_1 = V_1;
  2713. if (!L_1)
  2714. {
  2715. goto IL_0012;
  2716. }
  2717. }
  2718. {
  2719. goto IL_013a;
  2720. }
  2721. IL_0012:
  2722. {
  2723. TerrainUtility_ClearConnectivity_m7448E42CD3F2941EF02C10DE358778EEAF9B0AA9(NULL);
  2724. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* L_2;
  2725. L_2 = TerrainUtility_CollectTerrains_mDFCA0AFA00FFD16CEC8B4EFA9C55E3B7B6803EC4((bool)1, NULL);
  2726. V_0 = L_2;
  2727. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* L_3 = V_0;
  2728. V_2 = (bool)((((RuntimeObject*)(Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C*)L_3) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
  2729. bool L_4 = V_2;
  2730. if (!L_4)
  2731. {
  2732. goto IL_002c;
  2733. }
  2734. }
  2735. {
  2736. goto IL_013a;
  2737. }
  2738. IL_002c:
  2739. {
  2740. Dictionary_2_t2A7962936E35A63A01CBCE08C2732E037C7FCF4C* L_5 = V_0;
  2741. NullCheck(L_5);
  2742. Enumerator_tB3EC2B6C57FCD9C7E78B708686BCBF5852E2AA3F L_6;
  2743. L_6 = Dictionary_2_GetEnumerator_m5461BE3EE48320EA8E593506F16860A2CB4E9056(L_5, Dictionary_2_GetEnumerator_m5461BE3EE48320EA8E593506F16860A2CB4E9056_RuntimeMethod_var);
  2744. V_3 = L_6;
  2745. }
  2746. {
  2747. auto __finallyBlock = il2cpp::utils::Finally([&]
  2748. {
  2749. FINALLY_012b:
  2750. {
  2751. Enumerator_Dispose_m09F8467FB404D375259C17136F2213FC8455F2BF((&V_3), Enumerator_Dispose_m09F8467FB404D375259C17136F2213FC8455F2BF_RuntimeMethod_var);
  2752. return;
  2753. }
  2754. });
  2755. try
  2756. {
  2757. {
  2758. goto IL_011d_1;
  2759. }
  2760. IL_0039_1:
  2761. {
  2762. KeyValuePair_2_t5106DD80E20DAA18F0718F331B82E30C0F196873 L_7;
  2763. L_7 = Enumerator_get_Current_m1F085EA2ABB67CCEB29CC4A10D6FBC0F2B963349_inline((&V_3), Enumerator_get_Current_m1F085EA2ABB67CCEB29CC4A10D6FBC0F2B963349_RuntimeMethod_var);
  2764. V_4 = L_7;
  2765. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_8;
  2766. L_8 = KeyValuePair_2_get_Value_m32D4949D8D2F580E35346D41EBB14C7933B93482_inline((&V_4), KeyValuePair_2_get_Value_m32D4949D8D2F580E35346D41EBB14C7933B93482_RuntimeMethod_var);
  2767. V_5 = L_8;
  2768. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_9 = V_5;
  2769. NullCheck(L_9);
  2770. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* L_10;
  2771. L_10 = TerrainMap_get_terrainTiles_m9EAA8FCB972C834E2093DDD49B26DBBA2E74A2AB_inline(L_9, NULL);
  2772. NullCheck(L_10);
  2773. Enumerator_t4B54697825D0059AED7437C1585FDF185FF80B5B L_11;
  2774. L_11 = Dictionary_2_GetEnumerator_m50800AFD24DEE5F8ACB58E1535F2A472B478E473(L_10, Dictionary_2_GetEnumerator_m50800AFD24DEE5F8ACB58E1535F2A472B478E473_RuntimeMethod_var);
  2775. V_6 = L_11;
  2776. }
  2777. {
  2778. auto __finallyBlock = il2cpp::utils::Finally([&]
  2779. {
  2780. FINALLY_010d_1:
  2781. {
  2782. Enumerator_Dispose_mDDABE6027BD9E377D6E3FC7F60CE5DDB0ADC47D7((&V_6), Enumerator_Dispose_mDDABE6027BD9E377D6E3FC7F60CE5DDB0ADC47D7_RuntimeMethod_var);
  2783. return;
  2784. }
  2785. });
  2786. try
  2787. {
  2788. {
  2789. goto IL_00ff_2;
  2790. }
  2791. IL_0060_2:
  2792. {
  2793. KeyValuePair_2_t69A51C36FF679E64375AD7C88BC0B6EC664E71E3 L_12;
  2794. L_12 = Enumerator_get_Current_mCD48A37B44C4A6E441AF6806E0821A24A22A51F3_inline((&V_6), Enumerator_get_Current_mCD48A37B44C4A6E441AF6806E0821A24A22A51F3_RuntimeMethod_var);
  2795. V_7 = L_12;
  2796. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_13;
  2797. L_13 = KeyValuePair_2_get_Key_mFE7731B1C41692F16EB45AC2D63092AC73156A8A_inline((&V_7), KeyValuePair_2_get_Key_mFE7731B1C41692F16EB45AC2D63092AC73156A8A_RuntimeMethod_var);
  2798. V_8 = L_13;
  2799. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_14 = V_5;
  2800. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_15 = V_8;
  2801. int32_t L_16 = L_15.___tileX;
  2802. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_17 = V_8;
  2803. int32_t L_18 = L_17.___tileZ;
  2804. NullCheck(L_14);
  2805. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_19;
  2806. L_19 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(L_14, L_16, L_18, NULL);
  2807. V_9 = L_19;
  2808. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_20 = V_5;
  2809. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_21 = V_8;
  2810. int32_t L_22 = L_21.___tileX;
  2811. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_23 = V_8;
  2812. int32_t L_24 = L_23.___tileZ;
  2813. NullCheck(L_20);
  2814. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_25;
  2815. L_25 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(L_20, ((int32_t)il2cpp_codegen_subtract(L_22, 1)), L_24, NULL);
  2816. V_10 = L_25;
  2817. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_26 = V_5;
  2818. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_27 = V_8;
  2819. int32_t L_28 = L_27.___tileX;
  2820. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_29 = V_8;
  2821. int32_t L_30 = L_29.___tileZ;
  2822. NullCheck(L_26);
  2823. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_31;
  2824. L_31 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(L_26, ((int32_t)il2cpp_codegen_add(L_28, 1)), L_30, NULL);
  2825. V_11 = L_31;
  2826. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_32 = V_5;
  2827. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_33 = V_8;
  2828. int32_t L_34 = L_33.___tileX;
  2829. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_35 = V_8;
  2830. int32_t L_36 = L_35.___tileZ;
  2831. NullCheck(L_32);
  2832. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_37;
  2833. L_37 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(L_32, L_34, ((int32_t)il2cpp_codegen_add(L_36, 1)), NULL);
  2834. V_12 = L_37;
  2835. TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* L_38 = V_5;
  2836. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_39 = V_8;
  2837. int32_t L_40 = L_39.___tileX;
  2838. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_41 = V_8;
  2839. int32_t L_42 = L_41.___tileZ;
  2840. NullCheck(L_38);
  2841. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_43;
  2842. L_43 = TerrainMap_GetTerrain_mFF9C935F05859DF70E95994E727565BD67CDD6FC(L_38, L_40, ((int32_t)il2cpp_codegen_subtract(L_42, 1)), NULL);
  2843. V_13 = L_43;
  2844. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_44 = V_9;
  2845. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_45 = V_10;
  2846. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_46 = V_12;
  2847. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_47 = V_11;
  2848. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_48 = V_13;
  2849. NullCheck(L_44);
  2850. Terrain_SetNeighbors_m2FFA89D199120125D264EF7EE0BC749A35514C1E(L_44, L_45, L_46, L_47, L_48, NULL);
  2851. }
  2852. IL_00ff_2:
  2853. {
  2854. bool L_49;
  2855. L_49 = Enumerator_MoveNext_m1BA7CBA94F8FC389211722A43E22BB110102ABB4((&V_6), Enumerator_MoveNext_m1BA7CBA94F8FC389211722A43E22BB110102ABB4_RuntimeMethod_var);
  2856. if (L_49)
  2857. {
  2858. goto IL_0060_2;
  2859. }
  2860. }
  2861. {
  2862. goto IL_011c_1;
  2863. }
  2864. }
  2865. catch(Il2CppExceptionWrapper& e)
  2866. {
  2867. __finallyBlock.StoreException(e.ex);
  2868. }
  2869. }
  2870. IL_011c_1:
  2871. {
  2872. }
  2873. IL_011d_1:
  2874. {
  2875. bool L_50;
  2876. L_50 = Enumerator_MoveNext_m1CEA4A6A000E5344DB72DFF5E4FF563FF67F3558((&V_3), Enumerator_MoveNext_m1CEA4A6A000E5344DB72DFF5E4FF563FF67F3558_RuntimeMethod_var);
  2877. if (L_50)
  2878. {
  2879. goto IL_0039_1;
  2880. }
  2881. }
  2882. {
  2883. goto IL_013a;
  2884. }
  2885. }
  2886. catch(Il2CppExceptionWrapper& e)
  2887. {
  2888. __finallyBlock.StoreException(e.ex);
  2889. }
  2890. }
  2891. IL_013a:
  2892. {
  2893. return;
  2894. }
  2895. }
  2896. #ifdef __clang__
  2897. #pragma clang diagnostic pop
  2898. #endif
  2899. #ifdef __clang__
  2900. #pragma clang diagnostic push
  2901. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2902. #pragma clang diagnostic ignored "-Wunused-variable"
  2903. #endif
  2904. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass2_0__ctor_m4C022C4675BA4CFC7E7AAA5692979CDE6CD8E611 (U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E* __this, const RuntimeMethod* method)
  2905. {
  2906. {
  2907. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  2908. return;
  2909. }
  2910. }
  2911. #ifdef __clang__
  2912. #pragma clang diagnostic pop
  2913. #endif
  2914. #ifdef __clang__
  2915. #pragma clang diagnostic push
  2916. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2917. #pragma clang diagnostic ignored "-Wunused-variable"
  2918. #endif
  2919. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass2_1__ctor_mA329ED5B221AE8787EAEA1124A2A95675FDD1695 (U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* __this, const RuntimeMethod* method)
  2920. {
  2921. {
  2922. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  2923. return;
  2924. }
  2925. }
  2926. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec__DisplayClass2_1_U3CCollectTerrainsU3Eb__0_m57E871EB2399E5FB7DF78B3C9EBFBF152116AC2C (U3CU3Ec__DisplayClass2_1_t550F5BA64A779BA6B1FDFAC1457F462892D2A951* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_x, const RuntimeMethod* method)
  2927. {
  2928. int32_t G_B4_0 = 0;
  2929. int32_t G_B6_0 = 0;
  2930. {
  2931. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_0 = ___0_x;
  2932. NullCheck(L_0);
  2933. int32_t L_1;
  2934. L_1 = Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24(L_0, NULL);
  2935. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_2 = __this->___t;
  2936. NullCheck(L_2);
  2937. int32_t L_3;
  2938. L_3 = Terrain_get_groupingID_mE52E78018126A5D00F837081287BE076E7709C24(L_2, NULL);
  2939. if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
  2940. {
  2941. goto IL_002b;
  2942. }
  2943. }
  2944. {
  2945. U3CU3Ec__DisplayClass2_0_t0E9CE80E29A8238529BFBB9FCD0C8D0AAD68A57E* L_4 = __this->___CSU24U3CU3E8__locals1;
  2946. NullCheck(L_4);
  2947. bool L_5 = L_4->___onlyAutoConnectedTerrains;
  2948. if (!L_5)
  2949. {
  2950. goto IL_0028;
  2951. }
  2952. }
  2953. {
  2954. Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* L_6 = ___0_x;
  2955. NullCheck(L_6);
  2956. bool L_7;
  2957. L_7 = Terrain_get_allowAutoConnect_m4E9CB87D130BB118517C5504C8FB4A5CC3AA91D7(L_6, NULL);
  2958. G_B4_0 = ((int32_t)(L_7));
  2959. goto IL_0029;
  2960. }
  2961. IL_0028:
  2962. {
  2963. G_B4_0 = 1;
  2964. }
  2965. IL_0029:
  2966. {
  2967. G_B6_0 = G_B4_0;
  2968. goto IL_002c;
  2969. }
  2970. IL_002b:
  2971. {
  2972. G_B6_0 = 0;
  2973. }
  2974. IL_002c:
  2975. {
  2976. return (bool)G_B6_0;
  2977. }
  2978. }
  2979. #ifdef __clang__
  2980. #pragma clang diagnostic pop
  2981. #endif
  2982. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void HeightmapChangedCallback_Invoke_m63C1C93709641DBE02DCE9F71B7895C5793AF875_inline (HeightmapChangedCallback_tDF97623B4D5F5E1F3F7F75CC922345B098036EC0* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___1_heightRegion, bool ___2_synched, const RuntimeMethod* method)
  2983. {
  2984. typedef void (*FunctionPointerType) (RuntimeObject*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  2985. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_terrain, ___1_heightRegion, ___2_synched, reinterpret_cast<RuntimeMethod*>(__this->___method));
  2986. }
  2987. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TextureChangedCallback_Invoke_m1194A44102843272B51A70C302EBDBC8214647DE_inline (TextureChangedCallback_tA2D79601BF5AFEC6C8674AA03DAD28844CE69D2F* __this, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667* ___0_terrain, String_t* ___1_textureName, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8 ___2_texelRegion, bool ___3_synched, const RuntimeMethod* method)
  2988. {
  2989. typedef void (*FunctionPointerType) (RuntimeObject*, Terrain_t7F309492F67238DBFBC4566F47385B2A665CF667*, String_t*, RectInt_t1744D10E1063135DA9D574F95205B98DAC600CB8, bool, const RuntimeMethod*);
  2990. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_terrain, ___1_textureName, ___2_texelRegion, ___3_synched, reinterpret_cast<RuntimeMethod*>(__this->___method));
  2991. }
  2992. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___0_x, float ___1_y, const RuntimeMethod* method)
  2993. {
  2994. {
  2995. float L_0 = ___0_x;
  2996. __this->___x = L_0;
  2997. float L_1 = ___1_y;
  2998. __this->___y = L_1;
  2999. return;
  3000. }
  3001. }
  3002. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, const RuntimeMethod* method)
  3003. {
  3004. static bool s_Il2CppMethodInitialized;
  3005. if (!s_Il2CppMethodInitialized)
  3006. {
  3007. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  3008. s_Il2CppMethodInitialized = true;
  3009. }
  3010. int32_t V_0 = 0;
  3011. {
  3012. float L_0 = ___0_f;
  3013. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  3014. double L_1;
  3015. L_1 = bankers_round(((double)L_0));
  3016. V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
  3017. goto IL_000c;
  3018. }
  3019. IL_000c:
  3020. {
  3021. int32_t L_2 = V_0;
  3022. return L_2;
  3023. }
  3024. }
  3025. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
  3026. {
  3027. bool V_0 = false;
  3028. {
  3029. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
  3030. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_rhs;
  3031. bool L_2;
  3032. L_2 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_0, L_1, NULL);
  3033. V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
  3034. goto IL_000e;
  3035. }
  3036. IL_000e:
  3037. {
  3038. bool L_3 = V_0;
  3039. return L_3;
  3040. }
  3041. }
  3042. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
  3043. {
  3044. static bool s_Il2CppMethodInitialized;
  3045. if (!s_Il2CppMethodInitialized)
  3046. {
  3047. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var);
  3048. s_Il2CppMethodInitialized = true;
  3049. }
  3050. bool V_0 = false;
  3051. {
  3052. float L_0 = ___1_b;
  3053. float L_1 = ___0_a;
  3054. float L_2;
  3055. L_2 = fabsf(((float)il2cpp_codegen_subtract(L_0, L_1)));
  3056. float L_3 = ___0_a;
  3057. float L_4;
  3058. L_4 = fabsf(L_3);
  3059. float L_5 = ___1_b;
  3060. float L_6;
  3061. L_6 = fabsf(L_5);
  3062. float L_7;
  3063. L_7 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_4, L_6, NULL);
  3064. float L_8 = ((Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields*)il2cpp_codegen_static_fields_for(Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var))->___Epsilon;
  3065. float L_9;
  3066. L_9 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(((float)il2cpp_codegen_multiply((9.99999997E-07f), L_7)), ((float)il2cpp_codegen_multiply(L_8, (8.0f))), NULL);
  3067. V_0 = (bool)((((float)L_2) < ((float)L_9))? 1 : 0);
  3068. goto IL_0035;
  3069. }
  3070. IL_0035:
  3071. {
  3072. bool L_10 = V_0;
  3073. return L_10;
  3074. }
  3075. }
  3076. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* TerrainMap_get_terrainTiles_m9EAA8FCB972C834E2093DDD49B26DBBA2E74A2AB_inline (TerrainMap_t6E07590E3151F47FFC6D5536635AC428ABDA79EB* __this, const RuntimeMethod* method)
  3077. {
  3078. {
  3079. Dictionary_2_t5C5FBA59FA0804C53874B619629A7AF7EA74A119* L_0 = __this->___m_terrainTiles;
  3080. return L_0;
  3081. }
  3082. }
  3083. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Predicate_1_Invoke_m6AC449189DCEE89A4FA2A2B724DE296A1DFB6A9B_gshared_inline (Predicate_1_t8342C85FF4E41CD1F7024AC0CDC3E5312A32CB12* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
  3084. {
  3085. typedef bool (*FunctionPointerType) (RuntimeObject*, RuntimeObject*, const RuntimeMethod*);
  3086. return ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_obj, reinterpret_cast<RuntimeMethod*>(__this->___method));
  3087. }
  3088. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 Enumerator_get_Current_mC41EF0278150018906F2AB9D7CF81AE865E6AA1C_gshared_inline (Enumerator_tF5348A6D692C0422DAF82BC55E5276A4D29BEF53* __this, const RuntimeMethod* method)
  3089. {
  3090. {
  3091. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_0 = __this->____currentKey;
  3092. return L_0;
  3093. }
  3094. }
  3095. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR KeyValuePair_2_tDC26B09C26BA829DDE331BCB6AF7C508C763D7A3 Enumerator_get_Current_m90160D324DA0D9F5624A345F47D8E226A118911A_gshared_inline (Enumerator_tE92C1AC40A104A179B94F8A013728FD9314CFBD3* __this, const RuntimeMethod* method)
  3096. {
  3097. {
  3098. KeyValuePair_2_tDC26B09C26BA829DDE331BCB6AF7C508C763D7A3 L_0 = __this->____current;
  3099. return L_0;
  3100. }
  3101. }
  3102. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* KeyValuePair_2_get_Value_m8508BCECB0654E2E93B1A141382E2688ADE7EE7C_gshared_inline (KeyValuePair_2_tDC26B09C26BA829DDE331BCB6AF7C508C763D7A3* __this, const RuntimeMethod* method)
  3103. {
  3104. {
  3105. RuntimeObject* L_0 = __this->___value;
  3106. return L_0;
  3107. }
  3108. }
  3109. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR KeyValuePair_2_t8760984FFCA6E11154C918347EA4C7CFB2D0B8CE Enumerator_get_Current_mAB48908F9E456DE35489D40F781F13159CD102CA_gshared_inline (Enumerator_tB06F293668D09F345A54C8C836ABF567B9087FB7* __this, const RuntimeMethod* method)
  3110. {
  3111. {
  3112. KeyValuePair_2_t8760984FFCA6E11154C918347EA4C7CFB2D0B8CE L_0 = __this->____current;
  3113. return L_0;
  3114. }
  3115. }
  3116. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 KeyValuePair_2_get_Key_mE27FF2218D103DBF58A36186AA62595EC4079388_gshared_inline (KeyValuePair_2_t8760984FFCA6E11154C918347EA4C7CFB2D0B8CE* __this, const RuntimeMethod* method)
  3117. {
  3118. {
  3119. TerrainTileCoord_t2181DDF40A8A428A84817957CB7FB19A314F4F09 L_0 = __this->___key;
  3120. return L_0;
  3121. }
  3122. }
  3123. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
  3124. {
  3125. float V_0 = 0.0f;
  3126. float V_1 = 0.0f;
  3127. float V_2 = 0.0f;
  3128. float V_3 = 0.0f;
  3129. bool V_4 = false;
  3130. {
  3131. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
  3132. float L_1 = L_0.___x;
  3133. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
  3134. float L_3 = L_2.___x;
  3135. V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
  3136. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
  3137. float L_5 = L_4.___y;
  3138. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
  3139. float L_7 = L_6.___y;
  3140. V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
  3141. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
  3142. float L_9 = L_8.___z;
  3143. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
  3144. float L_11 = L_10.___z;
  3145. V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
  3146. float L_12 = V_0;
  3147. float L_13 = V_0;
  3148. float L_14 = V_1;
  3149. float L_15 = V_1;
  3150. float L_16 = V_2;
  3151. float L_17 = V_2;
  3152. 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))));
  3153. float L_18 = V_3;
  3154. V_4 = (bool)((((float)L_18) < ((float)(9.99999944E-11f)))? 1 : 0);
  3155. goto IL_0043;
  3156. }
  3157. IL_0043:
  3158. {
  3159. bool L_19 = V_4;
  3160. return L_19;
  3161. }
  3162. }
  3163. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
  3164. {
  3165. float V_0 = 0.0f;
  3166. float G_B3_0 = 0.0f;
  3167. {
  3168. float L_0 = ___0_a;
  3169. float L_1 = ___1_b;
  3170. if ((((float)L_0) > ((float)L_1)))
  3171. {
  3172. goto IL_0008;
  3173. }
  3174. }
  3175. {
  3176. float L_2 = ___1_b;
  3177. G_B3_0 = L_2;
  3178. goto IL_0009;
  3179. }
  3180. IL_0008:
  3181. {
  3182. float L_3 = ___0_a;
  3183. G_B3_0 = L_3;
  3184. }
  3185. IL_0009:
  3186. {
  3187. V_0 = G_B3_0;
  3188. goto IL_000c;
  3189. }
  3190. IL_000c:
  3191. {
  3192. float L_4 = V_0;
  3193. return L_4;
  3194. }
  3195. }