SDK__12.cpp 1015 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237
  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 VirtualActionInvoker0
  9. {
  10. typedef void (*Action)(void*, const RuntimeMethod*);
  11. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  12. {
  13. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  14. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  15. }
  16. };
  17. template <typename T1>
  18. struct VirtualActionInvoker1
  19. {
  20. typedef void (*Action)(void*, T1, const RuntimeMethod*);
  21. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
  22. {
  23. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  24. ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
  25. }
  26. };
  27. template <typename T1, typename T2>
  28. struct VirtualActionInvoker2
  29. {
  30. typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
  31. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
  32. {
  33. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  34. ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  35. }
  36. };
  37. template <typename R>
  38. struct VirtualFuncInvoker0
  39. {
  40. typedef R (*Func)(void*, const RuntimeMethod*);
  41. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  42. {
  43. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  44. return ((Func)invokeData.methodPtr)(obj, invokeData.method);
  45. }
  46. };
  47. template <typename R, typename T1>
  48. struct VirtualFuncInvoker1
  49. {
  50. typedef R (*Func)(void*, T1, const RuntimeMethod*);
  51. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
  52. {
  53. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  54. return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
  55. }
  56. };
  57. template <typename R, typename T1, typename T2>
  58. struct VirtualFuncInvoker2
  59. {
  60. typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
  61. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
  62. {
  63. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  64. return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  65. }
  66. };
  67. struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4;
  68. struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  69. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  70. struct FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D;
  71. struct FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595;
  72. struct IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953;
  73. struct IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA;
  74. struct IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C;
  75. struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
  76. struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3;
  77. struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
  78. struct ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A;
  79. struct QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7;
  80. struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
  81. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
  82. struct TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24;
  83. struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
  84. struct ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA;
  85. struct BoneMapU5BU5D_t66A8A628D56F8F5EFEAB5E122101628FE49F377C;
  86. struct BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239;
  87. struct NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3;
  88. struct PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20;
  89. struct AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1;
  90. struct LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128;
  91. struct ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492;
  92. struct FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44;
  93. struct LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3;
  94. struct VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C;
  95. struct Animation_t6593B06C39E3B139808B19F2C719C860F3F61040;
  96. struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354;
  97. struct Animator_t8A52E42AE54F76681838FE9E632683EF3952E883;
  98. struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C;
  99. struct BipedLimbOrientations_t033DF43795D8FA93753A6E3915A777DDA992E164;
  100. struct BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB;
  101. struct CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B;
  102. struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
  103. struct FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D;
  104. struct FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40;
  105. struct FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11;
  106. struct IAsyncResult_t7B9B5A0ECB35DCEC31B8A8122C37D687369253B5;
  107. struct IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8;
  108. struct IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF;
  109. struct IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12;
  110. struct IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B;
  111. struct IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949;
  112. struct IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04;
  113. struct IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA;
  114. struct IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44;
  115. struct IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024;
  116. struct IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8;
  117. struct IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06;
  118. struct IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3;
  119. struct IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417;
  120. struct IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08;
  121. struct IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E;
  122. struct IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE;
  123. struct IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC;
  124. struct MethodInfo_t;
  125. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
  126. struct RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185;
  127. struct String_t;
  128. struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
  129. struct UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977;
  130. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  131. struct LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53;
  132. struct ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0;
  133. struct BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E;
  134. struct Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6;
  135. struct IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1;
  136. struct Node_tC4020128B203BFA29C957212F91116F3F7203FAE;
  137. struct Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19;
  138. struct UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0;
  139. struct LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1;
  140. struct TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C;
  141. struct Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B;
  142. struct BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6;
  143. struct Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2;
  144. struct Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD;
  145. struct Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA;
  146. struct VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD;
  147. struct References_t0121F43F3544E7A8D35268152FCACCE8522923C6;
  148. IL2CPP_EXTERN_C RuntimeClass* AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var;
  149. IL2CPP_EXTERN_C RuntimeClass* Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var;
  150. IL2CPP_EXTERN_C RuntimeClass* ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492_il2cpp_TypeInfo_var;
  151. IL2CPP_EXTERN_C RuntimeClass* Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B_il2cpp_TypeInfo_var;
  152. IL2CPP_EXTERN_C RuntimeClass* AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1_il2cpp_TypeInfo_var;
  153. IL2CPP_EXTERN_C RuntimeClass* BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239_il2cpp_TypeInfo_var;
  154. IL2CPP_EXTERN_C RuntimeClass* Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6_il2cpp_TypeInfo_var;
  155. IL2CPP_EXTERN_C RuntimeClass* BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var;
  156. IL2CPP_EXTERN_C RuntimeClass* ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA_il2cpp_TypeInfo_var;
  157. IL2CPP_EXTERN_C RuntimeClass* ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0_il2cpp_TypeInfo_var;
  158. IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
  159. IL2CPP_EXTERN_C RuntimeClass* FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D_il2cpp_TypeInfo_var;
  160. IL2CPP_EXTERN_C RuntimeClass* FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595_il2cpp_TypeInfo_var;
  161. IL2CPP_EXTERN_C RuntimeClass* FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11_il2cpp_TypeInfo_var;
  162. IL2CPP_EXTERN_C RuntimeClass* IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953_il2cpp_TypeInfo_var;
  163. IL2CPP_EXTERN_C RuntimeClass* IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var;
  164. IL2CPP_EXTERN_C RuntimeClass* IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA_il2cpp_TypeInfo_var;
  165. IL2CPP_EXTERN_C RuntimeClass* IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12_il2cpp_TypeInfo_var;
  166. IL2CPP_EXTERN_C RuntimeClass* IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C_il2cpp_TypeInfo_var;
  167. IL2CPP_EXTERN_C RuntimeClass* IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B_il2cpp_TypeInfo_var;
  168. IL2CPP_EXTERN_C RuntimeClass* IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949_il2cpp_TypeInfo_var;
  169. IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var;
  170. IL2CPP_EXTERN_C RuntimeClass* KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var;
  171. IL2CPP_EXTERN_C RuntimeClass* LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3_il2cpp_TypeInfo_var;
  172. IL2CPP_EXTERN_C RuntimeClass* Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2_il2cpp_TypeInfo_var;
  173. IL2CPP_EXTERN_C RuntimeClass* Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD_il2cpp_TypeInfo_var;
  174. IL2CPP_EXTERN_C RuntimeClass* LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128_il2cpp_TypeInfo_var;
  175. IL2CPP_EXTERN_C RuntimeClass* LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1_il2cpp_TypeInfo_var;
  176. IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
  177. IL2CPP_EXTERN_C RuntimeClass* Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var;
  178. IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
  179. IL2CPP_EXTERN_C RuntimeClass* Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var;
  180. IL2CPP_EXTERN_C RuntimeClass* PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var;
  181. IL2CPP_EXTERN_C RuntimeClass* Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_il2cpp_TypeInfo_var;
  182. IL2CPP_EXTERN_C RuntimeClass* QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var;
  183. IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
  184. IL2CPP_EXTERN_C RuntimeClass* RotationLimitHinge_t0614C9B8EB6263E2B5765EAEE2EB2D3A0FC4368C_il2cpp_TypeInfo_var;
  185. IL2CPP_EXTERN_C RuntimeClass* Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA_il2cpp_TypeInfo_var;
  186. IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var;
  187. IL2CPP_EXTERN_C RuntimeClass* TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var;
  188. IL2CPP_EXTERN_C RuntimeClass* Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var;
  189. IL2CPP_EXTERN_C RuntimeClass* TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C_il2cpp_TypeInfo_var;
  190. IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var;
  191. IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
  192. IL2CPP_EXTERN_C RuntimeClass* VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var;
  193. IL2CPP_EXTERN_C RuntimeClass* Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var;
  194. IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t8A3378E04A85985CC8FDDBAEF2073B988BAF5D57____CF97ADEEDB59E05BFD73A2B4C2A8885708C4F4F70C84C64B27120E72AB733B72_FieldInfo_var;
  195. IL2CPP_EXTERN_C String_t* _stringLiteral10A3A905877D395DE21E9F94F049CD2BEA75E437;
  196. IL2CPP_EXTERN_C String_t* _stringLiteral176048BD1594E9AE8C0D082376E907B73C34B332;
  197. IL2CPP_EXTERN_C String_t* _stringLiteral1D6F03F3BCF180B1867F699B93505C9E6D66DD3F;
  198. IL2CPP_EXTERN_C String_t* _stringLiteral1FC8E7E09C5555C95F47ABCCD3E69CEBD22A6FB2;
  199. IL2CPP_EXTERN_C String_t* _stringLiteral220475E96F0CD1E4FAA7516B9BD96935B7FFE3D0;
  200. IL2CPP_EXTERN_C String_t* _stringLiteral23F908C80A7E55240B5A280AFCFF136A94F1FA07;
  201. IL2CPP_EXTERN_C String_t* _stringLiteral2624108011D5FE44FFAB2BB152CF96CE5E27AAF9;
  202. IL2CPP_EXTERN_C String_t* _stringLiteral2A59F4A1517DDFFC15EF1B070170C10B0AD962ED;
  203. IL2CPP_EXTERN_C String_t* _stringLiteral2E968396BBBC971E896E669FE9C1583917058F65;
  204. IL2CPP_EXTERN_C String_t* _stringLiteral2FB530555C09803F87A6ADA1B3318A5F49AA8F9A;
  205. IL2CPP_EXTERN_C String_t* _stringLiteral31569C152A5B07A473F44E6AECC28B6F4C39835B;
  206. IL2CPP_EXTERN_C String_t* _stringLiteral3F0BE26595761121B3D10CBBE611BE4D51F716BC;
  207. IL2CPP_EXTERN_C String_t* _stringLiteral419360761D491F1469DA5FEA27B1ED2851763785;
  208. IL2CPP_EXTERN_C String_t* _stringLiteral42B97A882DC077C8297A5EEEAC8BACDFF3656039;
  209. IL2CPP_EXTERN_C String_t* _stringLiteral447FB46AD325219F6D11D543414418B0FBD6A379;
  210. IL2CPP_EXTERN_C String_t* _stringLiteral4A2E82E54F791F6334549A1813061B44BBAACD02;
  211. IL2CPP_EXTERN_C String_t* _stringLiteral597185D35650707DDD4124DA2E54B237CBC611CF;
  212. IL2CPP_EXTERN_C String_t* _stringLiteral61991A00023F54B2FF4772518E7DF9F6B5083415;
  213. IL2CPP_EXTERN_C String_t* _stringLiteral63005A62A7D95C9B5EEA8C6F6C826A0CB841C9C0;
  214. IL2CPP_EXTERN_C String_t* _stringLiteral73FDD757E65793997C4CEECC490C50A599361CC4;
  215. IL2CPP_EXTERN_C String_t* _stringLiteral771776082A070842E5A967F445608E78BFE331E6;
  216. IL2CPP_EXTERN_C String_t* _stringLiteral7A7D3380A770DD5B4FD8C50AE3E7D2126A849EB6;
  217. IL2CPP_EXTERN_C String_t* _stringLiteral7ECBAEE2FECD5B71D96F3F87A85F788A2B8C74B4;
  218. IL2CPP_EXTERN_C String_t* _stringLiteral82212C4BAE946DDC57CD8E353358BC23CA53860B;
  219. IL2CPP_EXTERN_C String_t* _stringLiteral8906C5F0384153EEABBB28EC24244FA0161B2658;
  220. IL2CPP_EXTERN_C String_t* _stringLiteral91DB92DDDE9DB6217B11DF34E9B9A6A99832475E;
  221. IL2CPP_EXTERN_C String_t* _stringLiteral958ED085E6F8E8DC150DE721E49745D99E5DC525;
  222. IL2CPP_EXTERN_C String_t* _stringLiteral971C6638320A0F65DBF4E0F751C2EA43427A0CC7;
  223. IL2CPP_EXTERN_C String_t* _stringLiteral9C6EC8C583F8432493C4445D64D100F0559AF402;
  224. IL2CPP_EXTERN_C String_t* _stringLiteralA9AE18500C1AD6EE1C2A4EFB31AF545D94C38BB8;
  225. IL2CPP_EXTERN_C String_t* _stringLiteralBB1638D209ED7099AB691478694CB0BA2BF6CC42;
  226. IL2CPP_EXTERN_C String_t* _stringLiteralC0A4FC1B518AF87B48F9CC61731D5E63437752E2;
  227. IL2CPP_EXTERN_C String_t* _stringLiteralC485B4DA36F64DA3532446AC14AB6206B8DAA536;
  228. IL2CPP_EXTERN_C String_t* _stringLiteralC752E6E3AAADED764AEE2F05918FF367F65852EE;
  229. IL2CPP_EXTERN_C String_t* _stringLiteralCC13510D8AF402FBAF000507B4CE95A8C9297767;
  230. IL2CPP_EXTERN_C String_t* _stringLiteralCF299D9922A3B9F415D93400254E355CD6C527FF;
  231. IL2CPP_EXTERN_C String_t* _stringLiteralD6CC67719F37EE5351F5C50F7653D2E62F587E55;
  232. IL2CPP_EXTERN_C String_t* _stringLiteralD85E8DE019F0C897259765EC93102FB1C51C8C38;
  233. IL2CPP_EXTERN_C String_t* _stringLiteralE25734E73CF61A7E10FB81AE5C184B3437C50CB3;
  234. IL2CPP_EXTERN_C String_t* _stringLiteralE29C69EE31BFF1E7D1F1C447AADF14C3236B83A5;
  235. IL2CPP_EXTERN_C String_t* _stringLiteralE50EF1392D2D8DE79CC3B179A15B2312E52F2399;
  236. IL2CPP_EXTERN_C String_t* _stringLiteralE527E46C6545DED7D3801664C6207D6E2DA6AF73;
  237. IL2CPP_EXTERN_C String_t* _stringLiteralEA3158CC9ED850ECE58F9041193A90F4799E78EE;
  238. IL2CPP_EXTERN_C String_t* _stringLiteralEB5F0291A601D60C9681CBBBADFE9932230DDA53;
  239. IL2CPP_EXTERN_C String_t* _stringLiteralED33CEC2CB7E35D44AA8526B5613B262C8F1FD56;
  240. IL2CPP_EXTERN_C String_t* _stringLiteralEF54379874F7A948797933A903F278CCABA8044D;
  241. IL2CPP_EXTERN_C String_t* _stringLiteralF2E3C69A492BD31933F52C410CA87FD2B043CFCC;
  242. IL2CPP_EXTERN_C String_t* _stringLiteralFF331A9C899068EDF8574B99A8D12CCEDACB6FC3;
  243. IL2CPP_EXTERN_C const RuntimeMethod* Array_Resize_TisPoint_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_m2D138B0D4419513EBC0C0B212D0E884A71E9A211_RuntimeMethod_var;
  244. struct Delegate_t_marshaled_com;
  245. struct Delegate_t_marshaled_pinvoke;
  246. struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4;
  247. struct FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D;
  248. struct FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595;
  249. struct IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953;
  250. struct IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA;
  251. struct IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C;
  252. struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
  253. struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3;
  254. struct ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A;
  255. struct QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7;
  256. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
  257. struct TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24;
  258. struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
  259. struct ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA;
  260. struct BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239;
  261. struct NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3;
  262. struct PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20;
  263. struct AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1;
  264. struct LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128;
  265. struct ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492;
  266. struct LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3;
  267. struct VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C;
  268. IL2CPP_EXTERN_C_BEGIN
  269. IL2CPP_EXTERN_C_END
  270. #ifdef __clang__
  271. #pragma clang diagnostic push
  272. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  273. #pragma clang diagnostic ignored "-Wunused-variable"
  274. #endif
  275. struct BipedLimbOrientations_t033DF43795D8FA93753A6E3915A777DDA992E164 : public RuntimeObject
  276. {
  277. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* ___leftArm;
  278. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* ___rightArm;
  279. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* ___leftLeg;
  280. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* ___rightLeg;
  281. };
  282. struct BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB : public RuntimeObject
  283. {
  284. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___root;
  285. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pelvis;
  286. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftThigh;
  287. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftCalf;
  288. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftFoot;
  289. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightThigh;
  290. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightCalf;
  291. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightFoot;
  292. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftUpperArm;
  293. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftForearm;
  294. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHand;
  295. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightUpperArm;
  296. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightForearm;
  297. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightHand;
  298. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___head;
  299. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___spine;
  300. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___eyes;
  301. };
  302. struct FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40 : public RuntimeObject
  303. {
  304. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* ___ik;
  305. float ___pull;
  306. float ___pin;
  307. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___children;
  308. };
  309. struct IKMapping_t05AB3BCACE119B2C288AD4D23A4CEB45FAE88AA7 : public RuntimeObject
  310. {
  311. };
  312. struct String_t : public RuntimeObject
  313. {
  314. int32_t ____stringLength;
  315. Il2CppChar ____firstChar;
  316. };
  317. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  318. {
  319. };
  320. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  321. {
  322. };
  323. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  324. {
  325. };
  326. struct Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D : public RuntimeObject
  327. {
  328. };
  329. struct ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0 : public RuntimeObject
  330. {
  331. float ___pushElasticity;
  332. float ___pullElasticity;
  333. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone1;
  334. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone2;
  335. float ___U3CnominalDistanceU3Ek__BackingField;
  336. bool ___U3CisRigidU3Ek__BackingField;
  337. float ___crossFade;
  338. float ___inverseCrossFade;
  339. int32_t ___chain1Index;
  340. int32_t ___chain2Index;
  341. };
  342. struct References_t0121F43F3544E7A8D35268152FCACCE8522923C6 : public RuntimeObject
  343. {
  344. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___root;
  345. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pelvis;
  346. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___spine;
  347. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___chest;
  348. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___neck;
  349. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___head;
  350. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftShoulder;
  351. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftUpperArm;
  352. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftForearm;
  353. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHand;
  354. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightShoulder;
  355. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightUpperArm;
  356. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightForearm;
  357. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightHand;
  358. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftThigh;
  359. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftCalf;
  360. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftFoot;
  361. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftToes;
  362. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightThigh;
  363. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightCalf;
  364. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightFoot;
  365. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightToes;
  366. };
  367. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  368. {
  369. bool ___m_value;
  370. };
  371. struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
  372. {
  373. double ___m_value;
  374. };
  375. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  376. {
  377. };
  378. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  379. {
  380. };
  381. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  382. {
  383. };
  384. struct IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12 : public IKMapping_t05AB3BCACE119B2C288AD4D23A4CEB45FAE88AA7
  385. {
  386. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone;
  387. float ___maintainRotationWeight;
  388. BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E* ___boneMap;
  389. };
  390. struct IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B : public IKMapping_t05AB3BCACE119B2C288AD4D23A4CEB45FAE88AA7
  391. {
  392. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___parentBone;
  393. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone1;
  394. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone2;
  395. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone3;
  396. float ___maintainRotationWeight;
  397. float ___weight;
  398. bool ___updatePlaneRotations;
  399. BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E* ___boneMapParent;
  400. BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E* ___boneMap1;
  401. BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E* ___boneMap2;
  402. BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E* ___boneMap3;
  403. };
  404. struct IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949 : public IKMapping_t05AB3BCACE119B2C288AD4D23A4CEB45FAE88AA7
  405. {
  406. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___spineBones;
  407. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftUpperArmBone;
  408. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightUpperArmBone;
  409. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftThighBone;
  410. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightThighBone;
  411. int32_t ___iterations;
  412. float ___twistWeight;
  413. int32_t ___rootNodeIndex;
  414. BoneMapU5BU5D_t66A8A628D56F8F5EFEAB5E122101628FE49F377C* ___spine;
  415. BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E* ___leftUpperArm;
  416. BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E* ___rightUpperArm;
  417. BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E* ___leftThigh;
  418. BoneMap_t23D26BB1C3A3CF2C09611C6518D24E359E4B7D2E* ___rightThigh;
  419. bool ___useFABRIK;
  420. };
  421. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  422. {
  423. int32_t ___m_value;
  424. };
  425. struct IntPtr_t
  426. {
  427. void* ___m_value;
  428. };
  429. struct Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0
  430. {
  431. float ___m_Time;
  432. float ___m_Value;
  433. float ___m_InTangent;
  434. float ___m_OutTangent;
  435. int32_t ___m_WeightedMode;
  436. float ___m_InWeight;
  437. float ___m_OutWeight;
  438. };
  439. struct LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB
  440. {
  441. int32_t ___m_Mask;
  442. };
  443. struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682
  444. {
  445. union
  446. {
  447. struct
  448. {
  449. };
  450. uint8_t Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682__padding[1];
  451. };
  452. };
  453. struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
  454. {
  455. float ___x;
  456. float ___y;
  457. float ___z;
  458. float ___w;
  459. };
  460. struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
  461. {
  462. float ___m_value;
  463. };
  464. struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
  465. {
  466. float ___x;
  467. float ___y;
  468. };
  469. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
  470. {
  471. float ___x;
  472. float ___y;
  473. float ___z;
  474. };
  475. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  476. {
  477. union
  478. {
  479. struct
  480. {
  481. };
  482. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  483. };
  484. };
  485. struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 : public RuntimeObject
  486. {
  487. intptr_t ___m_Ptr;
  488. };
  489. struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke
  490. {
  491. intptr_t ___m_Ptr;
  492. };
  493. struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com
  494. {
  495. intptr_t ___m_Ptr;
  496. };
  497. struct AvatarIKGoal_t85129D04ABC13A90A81A5FCF6C76DD178ACC27EE
  498. {
  499. int32_t ___value__;
  500. };
  501. struct Delegate_t : public RuntimeObject
  502. {
  503. intptr_t ___method_ptr;
  504. intptr_t ___invoke_impl;
  505. RuntimeObject* ___m_target;
  506. intptr_t ___method;
  507. intptr_t ___delegate_trampoline;
  508. intptr_t ___extra_arg;
  509. intptr_t ___method_code;
  510. intptr_t ___interp_method;
  511. intptr_t ___interp_invoke_impl;
  512. MethodInfo_t* ___method_info;
  513. MethodInfo_t* ___original_method_info;
  514. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  515. bool ___method_is_virtual;
  516. };
  517. struct Delegate_t_marshaled_pinvoke
  518. {
  519. intptr_t ___method_ptr;
  520. intptr_t ___invoke_impl;
  521. Il2CppIUnknown* ___m_target;
  522. intptr_t ___method;
  523. intptr_t ___delegate_trampoline;
  524. intptr_t ___extra_arg;
  525. intptr_t ___method_code;
  526. intptr_t ___interp_method;
  527. intptr_t ___interp_invoke_impl;
  528. MethodInfo_t* ___method_info;
  529. MethodInfo_t* ___original_method_info;
  530. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  531. int32_t ___method_is_virtual;
  532. };
  533. struct Delegate_t_marshaled_com
  534. {
  535. intptr_t ___method_ptr;
  536. intptr_t ___invoke_impl;
  537. Il2CppIUnknown* ___m_target;
  538. intptr_t ___method;
  539. intptr_t ___delegate_trampoline;
  540. intptr_t ___extra_arg;
  541. intptr_t ___method_code;
  542. intptr_t ___interp_method;
  543. intptr_t ___interp_invoke_impl;
  544. MethodInfo_t* ___method_info;
  545. MethodInfo_t* ___original_method_info;
  546. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  547. int32_t ___method_is_virtual;
  548. };
  549. struct FullBodyBipedChain_t5705F33D9945758480BFBD3FB2272CAE93D4809E
  550. {
  551. int32_t ___value__;
  552. };
  553. struct FullBodyBipedEffector_t89AA7BE1B2DB2F94BDED174C7B70C14D7DC21C44
  554. {
  555. int32_t ___value__;
  556. };
  557. struct IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8 : public RuntimeObject
  558. {
  559. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone1;
  560. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone2;
  561. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone3;
  562. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal;
  563. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___direction;
  564. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotationOffset;
  565. float ___weight;
  566. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultLocalDirection;
  567. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultChildDirection;
  568. float ___clampF;
  569. int32_t ___chainIndex1;
  570. int32_t ___nodeIndex1;
  571. int32_t ___chainIndex2;
  572. int32_t ___nodeIndex2;
  573. int32_t ___chainIndex3;
  574. int32_t ___nodeIndex3;
  575. bool ___U3CinitiatedU3Ek__BackingField;
  576. bool ___limbOrientationsSet;
  577. };
  578. struct IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF : public RuntimeObject
  579. {
  580. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone;
  581. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  582. float ___positionWeight;
  583. float ___rotationWeight;
  584. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position;
  585. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation;
  586. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positionOffset;
  587. bool ___U3CisEndEffectorU3Ek__BackingField;
  588. bool ___effectChildNodes;
  589. float ___maintainRelativePositionWeight;
  590. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___childBones;
  591. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___planeBone1;
  592. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___planeBone2;
  593. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___planeBone3;
  594. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___planeRotationOffset;
  595. float ___posW;
  596. float ___rotW;
  597. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___localPositions;
  598. bool ___usePlaneNodes;
  599. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___animatedPlaneRotation;
  600. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___animatedPosition;
  601. bool ___firstUpdate;
  602. int32_t ___chainIndex;
  603. int32_t ___nodeIndex;
  604. int32_t ___plane1ChainIndex;
  605. int32_t ___plane1NodeIndex;
  606. int32_t ___plane2ChainIndex;
  607. int32_t ___plane2NodeIndex;
  608. int32_t ___plane3ChainIndex;
  609. int32_t ___plane3NodeIndex;
  610. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___childChainIndexes;
  611. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___childNodeIndexes;
  612. };
  613. struct IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04 : public RuntimeObject
  614. {
  615. bool ___executedInEditor;
  616. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPosition;
  617. float ___IKPositionWeight;
  618. bool ___U3CinitiatedU3Ek__BackingField;
  619. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreInitiate;
  620. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPostInitiate;
  621. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreUpdate;
  622. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPostUpdate;
  623. bool ___firstInitiation;
  624. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___root;
  625. };
  626. struct InterpolationMode_t50019C7D2F25C8938B5710A6D76276517CC448DB
  627. {
  628. int32_t ___value__;
  629. };
  630. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  631. {
  632. intptr_t ___m_CachedPtr;
  633. };
  634. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  635. {
  636. intptr_t ___m_CachedPtr;
  637. };
  638. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  639. {
  640. intptr_t ___m_CachedPtr;
  641. };
  642. struct RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5
  643. {
  644. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Point;
  645. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Normal;
  646. uint32_t ___m_FaceID;
  647. float ___m_Distance;
  648. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_UV;
  649. int32_t ___m_Collider;
  650. };
  651. struct RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5
  652. {
  653. intptr_t ___value;
  654. };
  655. struct LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53 : public RuntimeObject
  656. {
  657. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upperBoneForwardAxis;
  658. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lowerBoneForwardAxis;
  659. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastBoneLeftAxis;
  660. };
  661. struct Smoothing_tC475D60F553A65513E486DCB68774E37747BC054
  662. {
  663. int32_t ___value__;
  664. };
  665. struct Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19 : public RuntimeObject
  666. {
  667. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___transform;
  668. float ___weight;
  669. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___solverPosition;
  670. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___solverRotation;
  671. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultLocalPosition;
  672. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultLocalRotation;
  673. };
  674. struct AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4
  675. {
  676. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___direction;
  677. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axis;
  678. float ___dot;
  679. };
  680. struct BendModifier_t828CB69B903C2B7168E87B374BABBB031702FC61
  681. {
  682. int32_t ___value__;
  683. };
  684. struct BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6 : public RuntimeObject
  685. {
  686. float ___U3CsqrMagU3Ek__BackingField;
  687. float ___U3CmagU3Ek__BackingField;
  688. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___bones;
  689. bool ___initiated;
  690. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rootPosition;
  691. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rootRotation;
  692. int32_t ___index;
  693. int32_t ___LOD;
  694. };
  695. struct PositionOffset_tB66BD5A735EC5804BC1C7397A17F93EAD7CF817F
  696. {
  697. int32_t ___value__;
  698. };
  699. struct RotationOffset_tC3AC7B4E8B86B15E364EFC5A1751F1A226802FC1
  700. {
  701. int32_t ___value__;
  702. };
  703. struct VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD : public RuntimeObject
  704. {
  705. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___readPosition;
  706. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___readRotation;
  707. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___solverPosition;
  708. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___solverRotation;
  709. float ___length;
  710. float ___sqrMag;
  711. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axis;
  712. };
  713. struct ShoulderRotationMode_t212FE4C4B408FAA40D6A0801CEFF1B45064ADD4A
  714. {
  715. int32_t ___value__;
  716. };
  717. struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  718. {
  719. };
  720. struct FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11 : public RuntimeObject
  721. {
  722. float ___pin;
  723. float ___pull;
  724. float ___push;
  725. float ___pushParent;
  726. float ___reach;
  727. int32_t ___reachSmoothing;
  728. int32_t ___pushSmoothing;
  729. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* ___nodes;
  730. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___children;
  731. ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA* ___childConstraints;
  732. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* ___bendConstraint;
  733. float ___rootLength;
  734. bool ___initiated;
  735. float ___length;
  736. float ___distance;
  737. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* ___p;
  738. float ___reachForce;
  739. float ___pullParentSum;
  740. SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___crossFades;
  741. float ___sqrMag1;
  742. float ___sqrMag2;
  743. float ___sqrMagDif;
  744. };
  745. struct IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024 : public IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04
  746. {
  747. int32_t ___iterations;
  748. float ___rootPin;
  749. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* ___chains;
  750. bool ___zeroWeightApplied;
  751. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* ___isRoot;
  752. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rootDefaultPosition;
  753. };
  754. struct IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8 : public IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04
  755. {
  756. int32_t ___iterations;
  757. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* ___chain;
  758. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* ___effectors;
  759. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* ___spineMapping;
  760. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* ___boneMappings;
  761. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* ___limbMappings;
  762. bool ___FABRIKPass;
  763. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreRead;
  764. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreSolve;
  765. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* ___OnPreIteration;
  766. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* ___OnPostIteration;
  767. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreBend;
  768. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPostSolve;
  769. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnStoreDefaultLocalState;
  770. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnFixTransforms;
  771. };
  772. struct IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3 : public IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04
  773. {
  774. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  775. float ___tolerance;
  776. int32_t ___maxIterations;
  777. bool ___useRotationLimits;
  778. bool ___XY;
  779. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* ___bones;
  780. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastLocalDirection;
  781. float ___chainLength;
  782. };
  783. struct IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417 : public IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04
  784. {
  785. float ___IKRotationWeight;
  786. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotation;
  787. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* ___pelvis;
  788. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* ___thigh;
  789. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* ___calf;
  790. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* ___foot;
  791. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* ___toe;
  792. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* ___leg;
  793. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___heelOffset;
  794. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___positions;
  795. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___rotations;
  796. };
  797. struct IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E : public IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04
  798. {
  799. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  800. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* ___spine;
  801. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* ___head;
  802. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* ___eyes;
  803. float ___bodyWeight;
  804. float ___headWeight;
  805. float ___eyesWeight;
  806. float ___clampWeight;
  807. float ___clampWeightHead;
  808. float ___clampWeightEyes;
  809. int32_t ___clampSmoothing;
  810. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___spineWeightCurve;
  811. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___spineTargetOffset;
  812. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___spineForwards;
  813. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___headForwards;
  814. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___eyeForward;
  815. bool ___isDirty;
  816. };
  817. struct IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE : public IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04
  818. {
  819. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  820. float ___IKRotationWeight;
  821. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotation;
  822. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendNormal;
  823. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* ___bone1;
  824. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* ___bone2;
  825. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* ___bone3;
  826. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___weightIKPosition;
  827. bool ___directHierarchy;
  828. };
  829. struct IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC : public IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04
  830. {
  831. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___solverTransforms;
  832. bool ___hasChest;
  833. bool ___hasNeck;
  834. bool ___hasShoulders;
  835. bool ___hasToes;
  836. bool ___hasLegs;
  837. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___readPositions;
  838. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___readRotations;
  839. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___solvedPositions;
  840. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___solvedRotations;
  841. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___defaultLocalRotations;
  842. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___defaultLocalPositions;
  843. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rootV;
  844. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rootVelocity;
  845. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bodyOffset;
  846. int32_t ___supportLegIndex;
  847. int32_t ___lastLOD;
  848. int32_t ___LOD;
  849. float ___scale;
  850. bool ___plantFeet;
  851. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___U3CrootBoneU3Ek__BackingField;
  852. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* ___spine;
  853. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* ___leftArm;
  854. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* ___rightArm;
  855. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* ___leftLeg;
  856. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* ___rightLeg;
  857. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* ___locomotion;
  858. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* ___legs;
  859. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* ___arms;
  860. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headPosition;
  861. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headDeltaPosition;
  862. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___raycastOriginPelvis;
  863. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastOffset;
  864. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugPos1;
  865. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugPos2;
  866. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugPos3;
  867. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugPos4;
  868. };
  869. struct MulticastDelegate_t : public Delegate_t
  870. {
  871. DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates;
  872. };
  873. struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
  874. {
  875. Delegate_t_marshaled_pinvoke** ___delegates;
  876. };
  877. struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
  878. {
  879. Delegate_t_marshaled_com** ___delegates;
  880. };
  881. struct Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6 : public Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19
  882. {
  883. float ___length;
  884. float ___sqrMag;
  885. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axis;
  886. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* ____rotationLimit;
  887. bool ___isLimited;
  888. };
  889. struct Node_tC4020128B203BFA29C957212F91116F3F7203FAE : public Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19
  890. {
  891. float ___length;
  892. float ___effectorPositionWeight;
  893. float ___effectorRotationWeight;
  894. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset;
  895. };
  896. struct Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B : public BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6
  897. {
  898. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  899. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal;
  900. float ___positionWeight;
  901. float ___rotationWeight;
  902. int32_t ___shoulderRotationMode;
  903. float ___shoulderRotationWeight;
  904. float ___shoulderTwistWeight;
  905. float ___bendGoalWeight;
  906. float ___swivelOffset;
  907. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___wristToPalmAxis;
  908. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___palmToThumbAxis;
  909. float ___armLengthMlp;
  910. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___stretchCurve;
  911. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPosition;
  912. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotation;
  913. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendDirection;
  914. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___handPositionOffset;
  915. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CpositionU3Ek__BackingField;
  916. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CrotationU3Ek__BackingField;
  917. bool ___hasShoulder;
  918. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestForwardAxis;
  919. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestUpAxis;
  920. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestRotation;
  921. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestForward;
  922. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestUp;
  923. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___forearmRelToUpperArm;
  924. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upperArmBendAxis;
  925. };
  926. struct Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2 : public BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6
  927. {
  928. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  929. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal;
  930. float ___positionWeight;
  931. float ___rotationWeight;
  932. float ___bendGoalWeight;
  933. float ___swivelOffset;
  934. float ___bendToTargetWeight;
  935. float ___legLengthMlp;
  936. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___stretchCurve;
  937. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPosition;
  938. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotation;
  939. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___footPositionOffset;
  940. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___heelPositionOffset;
  941. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___footRotationOffset;
  942. float ___currentMag;
  943. bool ___useAnimatedBendNormal;
  944. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CpositionU3Ek__BackingField;
  945. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CrotationU3Ek__BackingField;
  946. bool ___U3ChasToesU3Ek__BackingField;
  947. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CthighRelativeToPelvisU3Ek__BackingField;
  948. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___footPosition;
  949. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___footRotation;
  950. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendNormal;
  951. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___calfRelToThigh;
  952. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___thighRelToFoot;
  953. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendNormalRelToPelvis;
  954. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendNormalRelToTarget;
  955. };
  956. struct Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD : public RuntimeObject
  957. {
  958. float ___weight;
  959. float ___footDistance;
  960. float ___stepThreshold;
  961. float ___angleThreshold;
  962. float ___comAngleMlp;
  963. float ___maxVelocity;
  964. float ___velocityFactor;
  965. float ___maxLegStretch;
  966. float ___rootSpeed;
  967. float ___stepSpeed;
  968. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___stepHeight;
  969. float ___maxBodyYOffset;
  970. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___heelHeight;
  971. float ___relaxLegTwistMinAngle;
  972. float ___relaxLegTwistSpeed;
  973. int32_t ___stepInterpolation;
  974. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset;
  975. bool ___blockingEnabled;
  976. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___blockingLayers;
  977. float ___raycastRadius;
  978. float ___raycastHeight;
  979. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* ___onLeftFootstep;
  980. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* ___onRightFootstep;
  981. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CcenterOfMassU3Ek__BackingField;
  982. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* ___footsteps;
  983. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastComPosition;
  984. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___comVelocity;
  985. int32_t ___leftFootIndex;
  986. int32_t ___rightFootIndex;
  987. };
  988. struct Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA : public BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6
  989. {
  990. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___headTarget;
  991. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pelvisTarget;
  992. float ___positionWeight;
  993. float ___rotationWeight;
  994. float ___pelvisPositionWeight;
  995. float ___pelvisRotationWeight;
  996. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___chestGoal;
  997. float ___chestGoalWeight;
  998. float ___minHeadHeight;
  999. float ___bodyPosStiffness;
  1000. float ___bodyRotStiffness;
  1001. float ___neckStiffness;
  1002. float ___rotateChestByHands;
  1003. float ___chestClampWeight;
  1004. float ___headClampWeight;
  1005. float ___moveBodyBackWhenCrouching;
  1006. float ___maintainPelvisPosition;
  1007. float ___maxRootAngle;
  1008. float ___rootHeadingOffset;
  1009. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPositionHead;
  1010. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotationHead;
  1011. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPositionPelvis;
  1012. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotationPelvis;
  1013. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___goalPositionChest;
  1014. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pelvisPositionOffset;
  1015. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestPositionOffset;
  1016. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headPositionOffset;
  1017. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisRotationOffset;
  1018. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestRotationOffset;
  1019. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___headRotationOffset;
  1020. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___faceDirection;
  1021. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___locomotionHeadPositionOffset;
  1022. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headPosition;
  1023. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CanchorRotationU3Ek__BackingField;
  1024. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CanchorRelativeToHeadU3Ek__BackingField;
  1025. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___headRotation;
  1026. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisRotation;
  1027. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___anchorRelativeToPelvis;
  1028. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisRelativeRotation;
  1029. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestRelativeRotation;
  1030. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headDeltaPosition;
  1031. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisDeltaRotation;
  1032. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestTargetRotation;
  1033. int32_t ___pelvisIndex;
  1034. int32_t ___spineIndex;
  1035. int32_t ___chestIndex;
  1036. int32_t ___neckIndex;
  1037. int32_t ___headIndex;
  1038. float ___length;
  1039. bool ___hasChest;
  1040. bool ___hasNeck;
  1041. bool ___hasLegs;
  1042. float ___headHeight;
  1043. float ___sizeMlp;
  1044. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestForward;
  1045. };
  1046. struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  1047. {
  1048. };
  1049. struct IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA : public IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3
  1050. {
  1051. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* ___OnPreIteration;
  1052. };
  1053. struct IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44 : public IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3
  1054. {
  1055. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* ___OnPreIteration;
  1056. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* ___limitedBones;
  1057. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___solverLocalPositions;
  1058. };
  1059. struct IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06 : public IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8
  1060. {
  1061. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rootNode;
  1062. float ___spineStiffness;
  1063. float ___pullBodyVertical;
  1064. float ___pullBodyHorizontal;
  1065. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CpullBodyOffsetU3Ek__BackingField;
  1066. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset;
  1067. };
  1068. struct IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08 : public IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE
  1069. {
  1070. int32_t ___goal;
  1071. int32_t ___bendModifier;
  1072. float ___maintainRotationWeight;
  1073. float ___bendModifierWeight;
  1074. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal;
  1075. bool ___maintainBendFor1Frame;
  1076. bool ___maintainRotationFor1Frame;
  1077. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultRootRotation;
  1078. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___parentDefaultRotation;
  1079. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___bone3RotationBeforeSolve;
  1080. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___maintainRotation;
  1081. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___bone3DefaultRotation;
  1082. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ____bendNormal;
  1083. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___animationNormal;
  1084. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* ___axisDirectionsLeft;
  1085. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* ___axisDirectionsRight;
  1086. };
  1087. struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  1088. {
  1089. };
  1090. struct IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1 : public MulticastDelegate_t
  1091. {
  1092. };
  1093. struct UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0 : public MulticastDelegate_t
  1094. {
  1095. };
  1096. struct LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1 : public Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6
  1097. {
  1098. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___baseForwardOffsetEuler;
  1099. };
  1100. struct TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C : public Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6
  1101. {
  1102. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___targetToLocalSpace;
  1103. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultLocalBendNormal;
  1104. };
  1105. struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
  1106. {
  1107. CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B* ___m_CancellationTokenSource;
  1108. };
  1109. struct RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
  1110. {
  1111. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axis;
  1112. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultLocalRotation;
  1113. bool ___U3CdefaultLocalRotationOverrideU3Ek__BackingField;
  1114. bool ___initiated;
  1115. bool ___applicationQuit;
  1116. bool ___defaultLocalRotationSet;
  1117. };
  1118. struct SolverManager_tC19A5D89A8BD538817A551177E739AF1652D66F2 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
  1119. {
  1120. bool ___fixTransforms;
  1121. Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator;
  1122. Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* ___legacy;
  1123. bool ___updateFrame;
  1124. bool ___componentInitiated;
  1125. bool ___skipSolverUpdate;
  1126. };
  1127. struct IK_t8EA47A619130A4B7014BE679297372F51431EB42 : public SolverManager_tC19A5D89A8BD538817A551177E739AF1652D66F2
  1128. {
  1129. };
  1130. struct RotationLimitHinge_t0614C9B8EB6263E2B5765EAEE2EB2D3A0FC4368C : public RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185
  1131. {
  1132. bool ___useLimits;
  1133. float ___min;
  1134. float ___max;
  1135. float ___zeroAxisDisplayOffset;
  1136. float ___lastAngle;
  1137. };
  1138. struct FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D : public IK_t8EA47A619130A4B7014BE679297372F51431EB42
  1139. {
  1140. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* ___solver;
  1141. };
  1142. struct String_t_StaticFields
  1143. {
  1144. String_t* ___Empty;
  1145. };
  1146. struct Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_StaticFields
  1147. {
  1148. bool ___logged;
  1149. };
  1150. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  1151. {
  1152. String_t* ___TrueString;
  1153. String_t* ___FalseString;
  1154. };
  1155. struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields
  1156. {
  1157. float ___Epsilon;
  1158. };
  1159. struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
  1160. {
  1161. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion;
  1162. };
  1163. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
  1164. {
  1165. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector;
  1166. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector;
  1167. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector;
  1168. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector;
  1169. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector;
  1170. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector;
  1171. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector;
  1172. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector;
  1173. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector;
  1174. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector;
  1175. };
  1176. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
  1177. {
  1178. int32_t ___OffsetOfInstanceIDInCPlusPlusObject;
  1179. };
  1180. #ifdef __clang__
  1181. #pragma clang diagnostic pop
  1182. #endif
  1183. struct BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239 : public RuntimeArray
  1184. {
  1185. ALIGN_FIELD (8) Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* m_Items[1];
  1186. inline Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* GetAt(il2cpp_array_size_t index) const
  1187. {
  1188. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1189. return m_Items[index];
  1190. }
  1191. inline Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6** GetAddressAt(il2cpp_array_size_t index)
  1192. {
  1193. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1194. return m_Items + index;
  1195. }
  1196. inline void SetAt(il2cpp_array_size_t index, Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* value)
  1197. {
  1198. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1199. m_Items[index] = value;
  1200. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1201. }
  1202. inline Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* GetAtUnchecked(il2cpp_array_size_t index) const
  1203. {
  1204. return m_Items[index];
  1205. }
  1206. inline Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1207. {
  1208. return m_Items + index;
  1209. }
  1210. inline void SetAtUnchecked(il2cpp_array_size_t index, Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* value)
  1211. {
  1212. m_Items[index] = value;
  1213. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1214. }
  1215. };
  1216. struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4 : public RuntimeArray
  1217. {
  1218. ALIGN_FIELD (8) bool m_Items[1];
  1219. inline bool GetAt(il2cpp_array_size_t index) const
  1220. {
  1221. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1222. return m_Items[index];
  1223. }
  1224. inline bool* GetAddressAt(il2cpp_array_size_t index)
  1225. {
  1226. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1227. return m_Items + index;
  1228. }
  1229. inline void SetAt(il2cpp_array_size_t index, bool value)
  1230. {
  1231. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1232. m_Items[index] = value;
  1233. }
  1234. inline bool GetAtUnchecked(il2cpp_array_size_t index) const
  1235. {
  1236. return m_Items[index];
  1237. }
  1238. inline bool* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1239. {
  1240. return m_Items + index;
  1241. }
  1242. inline void SetAtUnchecked(il2cpp_array_size_t index, bool value)
  1243. {
  1244. m_Items[index] = value;
  1245. }
  1246. };
  1247. struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C : public RuntimeArray
  1248. {
  1249. ALIGN_FIELD (8) Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 m_Items[1];
  1250. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAt(il2cpp_array_size_t index) const
  1251. {
  1252. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1253. return m_Items[index];
  1254. }
  1255. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAt(il2cpp_array_size_t index)
  1256. {
  1257. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1258. return m_Items + index;
  1259. }
  1260. inline void SetAt(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
  1261. {
  1262. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1263. m_Items[index] = value;
  1264. }
  1265. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAtUnchecked(il2cpp_array_size_t index) const
  1266. {
  1267. return m_Items[index];
  1268. }
  1269. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1270. {
  1271. return m_Items + index;
  1272. }
  1273. inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
  1274. {
  1275. m_Items[index] = value;
  1276. }
  1277. };
  1278. struct FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D : public RuntimeArray
  1279. {
  1280. ALIGN_FIELD (8) FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* m_Items[1];
  1281. inline FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* GetAt(il2cpp_array_size_t index) const
  1282. {
  1283. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1284. return m_Items[index];
  1285. }
  1286. inline FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40** GetAddressAt(il2cpp_array_size_t index)
  1287. {
  1288. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1289. return m_Items + index;
  1290. }
  1291. inline void SetAt(il2cpp_array_size_t index, FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* value)
  1292. {
  1293. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1294. m_Items[index] = value;
  1295. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1296. }
  1297. inline FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* GetAtUnchecked(il2cpp_array_size_t index) const
  1298. {
  1299. return m_Items[index];
  1300. }
  1301. inline FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1302. {
  1303. return m_Items + index;
  1304. }
  1305. inline void SetAtUnchecked(il2cpp_array_size_t index, FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* value)
  1306. {
  1307. m_Items[index] = value;
  1308. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1309. }
  1310. };
  1311. struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C : public RuntimeArray
  1312. {
  1313. ALIGN_FIELD (8) int32_t m_Items[1];
  1314. inline int32_t GetAt(il2cpp_array_size_t index) const
  1315. {
  1316. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1317. return m_Items[index];
  1318. }
  1319. inline int32_t* GetAddressAt(il2cpp_array_size_t index)
  1320. {
  1321. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1322. return m_Items + index;
  1323. }
  1324. inline void SetAt(il2cpp_array_size_t index, int32_t value)
  1325. {
  1326. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1327. m_Items[index] = value;
  1328. }
  1329. inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
  1330. {
  1331. return m_Items[index];
  1332. }
  1333. inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1334. {
  1335. return m_Items + index;
  1336. }
  1337. inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
  1338. {
  1339. m_Items[index] = value;
  1340. }
  1341. };
  1342. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
  1343. {
  1344. ALIGN_FIELD (8) String_t* m_Items[1];
  1345. inline String_t* GetAt(il2cpp_array_size_t index) const
  1346. {
  1347. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1348. return m_Items[index];
  1349. }
  1350. inline String_t** GetAddressAt(il2cpp_array_size_t index)
  1351. {
  1352. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1353. return m_Items + index;
  1354. }
  1355. inline void SetAt(il2cpp_array_size_t index, String_t* value)
  1356. {
  1357. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1358. m_Items[index] = value;
  1359. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1360. }
  1361. inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
  1362. {
  1363. return m_Items[index];
  1364. }
  1365. inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1366. {
  1367. return m_Items + index;
  1368. }
  1369. inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
  1370. {
  1371. m_Items[index] = value;
  1372. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1373. }
  1374. };
  1375. struct PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20 : public RuntimeArray
  1376. {
  1377. ALIGN_FIELD (8) Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* m_Items[1];
  1378. inline Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* GetAt(il2cpp_array_size_t index) const
  1379. {
  1380. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1381. return m_Items[index];
  1382. }
  1383. inline Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19** GetAddressAt(il2cpp_array_size_t index)
  1384. {
  1385. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1386. return m_Items + index;
  1387. }
  1388. inline void SetAt(il2cpp_array_size_t index, Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* value)
  1389. {
  1390. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1391. m_Items[index] = value;
  1392. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1393. }
  1394. inline Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* GetAtUnchecked(il2cpp_array_size_t index) const
  1395. {
  1396. return m_Items[index];
  1397. }
  1398. inline Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1399. {
  1400. return m_Items + index;
  1401. }
  1402. inline void SetAtUnchecked(il2cpp_array_size_t index, Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* value)
  1403. {
  1404. m_Items[index] = value;
  1405. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1406. }
  1407. };
  1408. struct IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953 : public RuntimeArray
  1409. {
  1410. ALIGN_FIELD (8) IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* m_Items[1];
  1411. inline IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* GetAt(il2cpp_array_size_t index) const
  1412. {
  1413. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1414. return m_Items[index];
  1415. }
  1416. inline IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF** GetAddressAt(il2cpp_array_size_t index)
  1417. {
  1418. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1419. return m_Items + index;
  1420. }
  1421. inline void SetAt(il2cpp_array_size_t index, IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* value)
  1422. {
  1423. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1424. m_Items[index] = value;
  1425. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1426. }
  1427. inline IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* GetAtUnchecked(il2cpp_array_size_t index) const
  1428. {
  1429. return m_Items[index];
  1430. }
  1431. inline IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1432. {
  1433. return m_Items + index;
  1434. }
  1435. inline void SetAtUnchecked(il2cpp_array_size_t index, IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* value)
  1436. {
  1437. m_Items[index] = value;
  1438. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1439. }
  1440. };
  1441. struct FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595 : public RuntimeArray
  1442. {
  1443. ALIGN_FIELD (8) FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* m_Items[1];
  1444. inline FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* GetAt(il2cpp_array_size_t index) const
  1445. {
  1446. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1447. return m_Items[index];
  1448. }
  1449. inline FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11** GetAddressAt(il2cpp_array_size_t index)
  1450. {
  1451. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1452. return m_Items + index;
  1453. }
  1454. inline void SetAt(il2cpp_array_size_t index, FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* value)
  1455. {
  1456. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1457. m_Items[index] = value;
  1458. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1459. }
  1460. inline FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* GetAtUnchecked(il2cpp_array_size_t index) const
  1461. {
  1462. return m_Items[index];
  1463. }
  1464. inline FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1465. {
  1466. return m_Items + index;
  1467. }
  1468. inline void SetAtUnchecked(il2cpp_array_size_t index, FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* value)
  1469. {
  1470. m_Items[index] = value;
  1471. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1472. }
  1473. };
  1474. struct NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3 : public RuntimeArray
  1475. {
  1476. ALIGN_FIELD (8) Node_tC4020128B203BFA29C957212F91116F3F7203FAE* m_Items[1];
  1477. inline Node_tC4020128B203BFA29C957212F91116F3F7203FAE* GetAt(il2cpp_array_size_t index) const
  1478. {
  1479. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1480. return m_Items[index];
  1481. }
  1482. inline Node_tC4020128B203BFA29C957212F91116F3F7203FAE** GetAddressAt(il2cpp_array_size_t index)
  1483. {
  1484. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1485. return m_Items + index;
  1486. }
  1487. inline void SetAt(il2cpp_array_size_t index, Node_tC4020128B203BFA29C957212F91116F3F7203FAE* value)
  1488. {
  1489. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1490. m_Items[index] = value;
  1491. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1492. }
  1493. inline Node_tC4020128B203BFA29C957212F91116F3F7203FAE* GetAtUnchecked(il2cpp_array_size_t index) const
  1494. {
  1495. return m_Items[index];
  1496. }
  1497. inline Node_tC4020128B203BFA29C957212F91116F3F7203FAE** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1498. {
  1499. return m_Items + index;
  1500. }
  1501. inline void SetAtUnchecked(il2cpp_array_size_t index, Node_tC4020128B203BFA29C957212F91116F3F7203FAE* value)
  1502. {
  1503. m_Items[index] = value;
  1504. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1505. }
  1506. };
  1507. struct IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C : public RuntimeArray
  1508. {
  1509. ALIGN_FIELD (8) IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* m_Items[1];
  1510. inline IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* GetAt(il2cpp_array_size_t index) const
  1511. {
  1512. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1513. return m_Items[index];
  1514. }
  1515. inline IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B** GetAddressAt(il2cpp_array_size_t index)
  1516. {
  1517. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1518. return m_Items + index;
  1519. }
  1520. inline void SetAt(il2cpp_array_size_t index, IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* value)
  1521. {
  1522. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1523. m_Items[index] = value;
  1524. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1525. }
  1526. inline IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* GetAtUnchecked(il2cpp_array_size_t index) const
  1527. {
  1528. return m_Items[index];
  1529. }
  1530. inline IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1531. {
  1532. return m_Items + index;
  1533. }
  1534. inline void SetAtUnchecked(il2cpp_array_size_t index, IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* value)
  1535. {
  1536. m_Items[index] = value;
  1537. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1538. }
  1539. };
  1540. struct IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA : public RuntimeArray
  1541. {
  1542. ALIGN_FIELD (8) IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* m_Items[1];
  1543. inline IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* GetAt(il2cpp_array_size_t index) const
  1544. {
  1545. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1546. return m_Items[index];
  1547. }
  1548. inline IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12** GetAddressAt(il2cpp_array_size_t index)
  1549. {
  1550. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1551. return m_Items + index;
  1552. }
  1553. inline void SetAt(il2cpp_array_size_t index, IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* value)
  1554. {
  1555. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1556. m_Items[index] = value;
  1557. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1558. }
  1559. inline IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* GetAtUnchecked(il2cpp_array_size_t index) const
  1560. {
  1561. return m_Items[index];
  1562. }
  1563. inline IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1564. {
  1565. return m_Items + index;
  1566. }
  1567. inline void SetAtUnchecked(il2cpp_array_size_t index, IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* value)
  1568. {
  1569. m_Items[index] = value;
  1570. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1571. }
  1572. };
  1573. struct TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24 : public RuntimeArray
  1574. {
  1575. ALIGN_FIELD (8) Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* m_Items[1];
  1576. inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* GetAt(il2cpp_array_size_t index) const
  1577. {
  1578. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1579. return m_Items[index];
  1580. }
  1581. inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1** GetAddressAt(il2cpp_array_size_t index)
  1582. {
  1583. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1584. return m_Items + index;
  1585. }
  1586. inline void SetAt(il2cpp_array_size_t index, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* value)
  1587. {
  1588. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1589. m_Items[index] = value;
  1590. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1591. }
  1592. inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* GetAtUnchecked(il2cpp_array_size_t index) const
  1593. {
  1594. return m_Items[index];
  1595. }
  1596. inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1597. {
  1598. return m_Items + index;
  1599. }
  1600. inline void SetAtUnchecked(il2cpp_array_size_t index, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* value)
  1601. {
  1602. m_Items[index] = value;
  1603. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1604. }
  1605. };
  1606. struct ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA : public RuntimeArray
  1607. {
  1608. ALIGN_FIELD (8) ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* m_Items[1];
  1609. inline ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* GetAt(il2cpp_array_size_t index) const
  1610. {
  1611. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1612. return m_Items[index];
  1613. }
  1614. inline ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0** GetAddressAt(il2cpp_array_size_t index)
  1615. {
  1616. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1617. return m_Items + index;
  1618. }
  1619. inline void SetAt(il2cpp_array_size_t index, ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* value)
  1620. {
  1621. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1622. m_Items[index] = value;
  1623. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1624. }
  1625. inline ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* GetAtUnchecked(il2cpp_array_size_t index) const
  1626. {
  1627. return m_Items[index];
  1628. }
  1629. inline ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1630. {
  1631. return m_Items + index;
  1632. }
  1633. inline void SetAtUnchecked(il2cpp_array_size_t index, ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* value)
  1634. {
  1635. m_Items[index] = value;
  1636. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1637. }
  1638. };
  1639. struct ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A : public RuntimeArray
  1640. {
  1641. ALIGN_FIELD (8) Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* m_Items[1];
  1642. inline Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* GetAt(il2cpp_array_size_t index) const
  1643. {
  1644. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1645. return m_Items[index];
  1646. }
  1647. inline Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C** GetAddressAt(il2cpp_array_size_t index)
  1648. {
  1649. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1650. return m_Items + index;
  1651. }
  1652. inline void SetAt(il2cpp_array_size_t index, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* value)
  1653. {
  1654. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1655. m_Items[index] = value;
  1656. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1657. }
  1658. inline Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* GetAtUnchecked(il2cpp_array_size_t index) const
  1659. {
  1660. return m_Items[index];
  1661. }
  1662. inline Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1663. {
  1664. return m_Items + index;
  1665. }
  1666. inline void SetAtUnchecked(il2cpp_array_size_t index, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* value)
  1667. {
  1668. m_Items[index] = value;
  1669. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1670. }
  1671. };
  1672. struct QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7 : public RuntimeArray
  1673. {
  1674. ALIGN_FIELD (8) Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 m_Items[1];
  1675. inline Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 GetAt(il2cpp_array_size_t index) const
  1676. {
  1677. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1678. return m_Items[index];
  1679. }
  1680. inline Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* GetAddressAt(il2cpp_array_size_t index)
  1681. {
  1682. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1683. return m_Items + index;
  1684. }
  1685. inline void SetAt(il2cpp_array_size_t index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 value)
  1686. {
  1687. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1688. m_Items[index] = value;
  1689. }
  1690. inline Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 GetAtUnchecked(il2cpp_array_size_t index) const
  1691. {
  1692. return m_Items[index];
  1693. }
  1694. inline Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1695. {
  1696. return m_Items + index;
  1697. }
  1698. inline void SetAtUnchecked(il2cpp_array_size_t index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 value)
  1699. {
  1700. m_Items[index] = value;
  1701. }
  1702. };
  1703. struct AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1 : public RuntimeArray
  1704. {
  1705. ALIGN_FIELD (8) AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4 m_Items[1];
  1706. inline AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4 GetAt(il2cpp_array_size_t index) const
  1707. {
  1708. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1709. return m_Items[index];
  1710. }
  1711. inline AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4* GetAddressAt(il2cpp_array_size_t index)
  1712. {
  1713. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1714. return m_Items + index;
  1715. }
  1716. inline void SetAt(il2cpp_array_size_t index, AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4 value)
  1717. {
  1718. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1719. m_Items[index] = value;
  1720. }
  1721. inline AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4 GetAtUnchecked(il2cpp_array_size_t index) const
  1722. {
  1723. return m_Items[index];
  1724. }
  1725. inline AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1726. {
  1727. return m_Items + index;
  1728. }
  1729. inline void SetAtUnchecked(il2cpp_array_size_t index, AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4 value)
  1730. {
  1731. m_Items[index] = value;
  1732. }
  1733. };
  1734. struct LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128 : public RuntimeArray
  1735. {
  1736. ALIGN_FIELD (8) LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* m_Items[1];
  1737. inline LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* GetAt(il2cpp_array_size_t index) const
  1738. {
  1739. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1740. return m_Items[index];
  1741. }
  1742. inline LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1** GetAddressAt(il2cpp_array_size_t index)
  1743. {
  1744. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1745. return m_Items + index;
  1746. }
  1747. inline void SetAt(il2cpp_array_size_t index, LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* value)
  1748. {
  1749. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1750. m_Items[index] = value;
  1751. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1752. }
  1753. inline LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* GetAtUnchecked(il2cpp_array_size_t index) const
  1754. {
  1755. return m_Items[index];
  1756. }
  1757. inline LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1758. {
  1759. return m_Items + index;
  1760. }
  1761. inline void SetAtUnchecked(il2cpp_array_size_t index, LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* value)
  1762. {
  1763. m_Items[index] = value;
  1764. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1765. }
  1766. };
  1767. struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3 : public RuntimeArray
  1768. {
  1769. ALIGN_FIELD (8) Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 m_Items[1];
  1770. inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 GetAt(il2cpp_array_size_t index) const
  1771. {
  1772. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1773. return m_Items[index];
  1774. }
  1775. inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* GetAddressAt(il2cpp_array_size_t index)
  1776. {
  1777. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1778. return m_Items + index;
  1779. }
  1780. inline void SetAt(il2cpp_array_size_t index, Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 value)
  1781. {
  1782. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1783. m_Items[index] = value;
  1784. }
  1785. inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 GetAtUnchecked(il2cpp_array_size_t index) const
  1786. {
  1787. return m_Items[index];
  1788. }
  1789. inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1790. {
  1791. return m_Items + index;
  1792. }
  1793. inline void SetAtUnchecked(il2cpp_array_size_t index, Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 value)
  1794. {
  1795. m_Items[index] = value;
  1796. }
  1797. };
  1798. struct LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3 : public RuntimeArray
  1799. {
  1800. ALIGN_FIELD (8) Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* m_Items[1];
  1801. inline Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* GetAt(il2cpp_array_size_t index) const
  1802. {
  1803. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1804. return m_Items[index];
  1805. }
  1806. inline Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2** GetAddressAt(il2cpp_array_size_t index)
  1807. {
  1808. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1809. return m_Items + index;
  1810. }
  1811. inline void SetAt(il2cpp_array_size_t index, Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* value)
  1812. {
  1813. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1814. m_Items[index] = value;
  1815. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1816. }
  1817. inline Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* GetAtUnchecked(il2cpp_array_size_t index) const
  1818. {
  1819. return m_Items[index];
  1820. }
  1821. inline Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1822. {
  1823. return m_Items + index;
  1824. }
  1825. inline void SetAtUnchecked(il2cpp_array_size_t index, Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* value)
  1826. {
  1827. m_Items[index] = value;
  1828. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1829. }
  1830. };
  1831. struct ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492 : public RuntimeArray
  1832. {
  1833. ALIGN_FIELD (8) Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* m_Items[1];
  1834. inline Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* GetAt(il2cpp_array_size_t index) const
  1835. {
  1836. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1837. return m_Items[index];
  1838. }
  1839. inline Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B** GetAddressAt(il2cpp_array_size_t index)
  1840. {
  1841. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1842. return m_Items + index;
  1843. }
  1844. inline void SetAt(il2cpp_array_size_t index, Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* value)
  1845. {
  1846. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1847. m_Items[index] = value;
  1848. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1849. }
  1850. inline Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* GetAtUnchecked(il2cpp_array_size_t index) const
  1851. {
  1852. return m_Items[index];
  1853. }
  1854. inline Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1855. {
  1856. return m_Items + index;
  1857. }
  1858. inline void SetAtUnchecked(il2cpp_array_size_t index, Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* value)
  1859. {
  1860. m_Items[index] = value;
  1861. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1862. }
  1863. };
  1864. struct VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C : public RuntimeArray
  1865. {
  1866. ALIGN_FIELD (8) VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* m_Items[1];
  1867. inline VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* GetAt(il2cpp_array_size_t index) const
  1868. {
  1869. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1870. return m_Items[index];
  1871. }
  1872. inline VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD** GetAddressAt(il2cpp_array_size_t index)
  1873. {
  1874. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1875. return m_Items + index;
  1876. }
  1877. inline void SetAt(il2cpp_array_size_t index, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* value)
  1878. {
  1879. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1880. m_Items[index] = value;
  1881. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1882. }
  1883. inline VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* GetAtUnchecked(il2cpp_array_size_t index) const
  1884. {
  1885. return m_Items[index];
  1886. }
  1887. inline VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1888. {
  1889. return m_Items + index;
  1890. }
  1891. inline void SetAtUnchecked(il2cpp_array_size_t index, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* value)
  1892. {
  1893. m_Items[index] = value;
  1894. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1895. }
  1896. };
  1897. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Resize_TisRuntimeObject_mE8D92C287251BAF8256D85E5829F749359EC334E_gshared (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918** ___0_array, int32_t ___1_newSize, const RuntimeMethod* method) ;
  1898. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Application_get_isPlaying_m25B0ABDFEF54F5370CD3F263A813540843D00F34 (const RuntimeMethod* method) ;
  1899. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  1900. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverHeuristic_InitiateBones_m72560B417621E3DD92F48687FD6FA96CBDEEC8BF (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method) ;
  1901. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method) ;
  1902. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
  1903. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method) ;
  1904. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverHeuristic_GetSingularityOffset_mD1CB009105B01A07A06CAF5BDE215F23506F6F74 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method) ;
  1905. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
  1906. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float IKSolverHeuristic_get_positionOffset_mEA60C0D8E914455404C0F122E1FCE873C0360FFD (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method) ;
  1907. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void IterationDelegate_Invoke_m2BB5120815C0CC3CE91AFEC5044B2B5DB252C09B_inline (IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* __this, int32_t ___0_i, const RuntimeMethod* method) ;
  1908. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
  1909. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverCCD_Solve_m89AE3EB8509495A1A71F1CC21732BC1748B58A16 (IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_targetPosition, const RuntimeMethod* method) ;
  1910. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
  1911. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_DeltaAngle_mCBA858CE5C1BEEBE375812325A50E434FF66D6D4_inline (float ___0_current, float ___1_target, const RuntimeMethod* method) ;
  1912. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline (const RuntimeMethod* method) ;
  1913. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80 (float ___0_angle, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_axis, const RuntimeMethod* method) ;
  1914. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  1915. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_lhs, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rhs, const RuntimeMethod* method) ;
  1916. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
  1917. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D (Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* __this, const RuntimeMethod* method) ;
  1918. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RotationLimit_Apply_mF3AB1220EA79B9ADFD3B4594A024AF0E85A5E577 (RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* __this, const RuntimeMethod* method) ;
  1919. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_fromDirection, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_toDirection, const RuntimeMethod* method) ;
  1920. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, float ___2_t, const RuntimeMethod* method) ;
  1921. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverHeuristic__ctor_mA6507737B85B0103335026BB482227CBC68486E0 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method) ;
  1922. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline (IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* __this, const RuntimeMethod* method) ;
  1923. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolver_LogWarning_m66446B7D574CE93C2316D03D5850B7C4A4B7A6FB (IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* __this, String_t* ___0_message, const RuntimeMethod* method) ;
  1924. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_OnPreSolve_m8CA78AE5BA7133CBE7FBDBC33D3A8C9B2C5E309F (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method) ;
  1925. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_ForwardReach_m9C61840135B7AE2F4EF8259A2D2A77CC111E3DC6 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
  1926. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_BackwardReach_mDD2D453B45B34C1270FA86B208AA44F9DBA94676 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
  1927. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_OnPostSolve_m62B531283A90EAD8E6BB05365294345CEC150833 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method) ;
  1928. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 IKSolverFABRIK_GetParentSolverRotation_m4E58370FD55A585601B533872BC7791A153433AF (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, const RuntimeMethod* method) ;
  1929. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, const RuntimeMethod* method) ;
  1930. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFABRIK_GetParentSolverPosition_mFFAB72C3430DE35F7BB1B1BFB3DA9B2DD74BCADB (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, const RuntimeMethod* method) ;
  1931. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_point, const RuntimeMethod* method) ;
  1932. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_Solve_mF5D6791EFB98A19CDA87AF98C1F6CE059739E254 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_targetPosition, const RuntimeMethod* method) ;
  1933. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
  1934. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
  1935. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
  1936. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_MapToSolverPositions_mA8FBEF7FE47EBED9A7786AD1F48BF261170D92B4 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method) ;
  1937. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_MapToSolverPositionsLimited_m8738D3B234AF85815A82AA0F1CD38E893F9F4354 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method) ;
  1938. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method) ;
  1939. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFABRIK_SolveJoint_m88377CBA14DBBCA356EC314E1B18E30759058AE9 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_pos2, float ___2_length, const RuntimeMethod* method) ;
  1940. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_LimitForward_mCE4FEEEC72158B33A0B0D6DCF3C6FB2106474D62 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_rotateBone, int32_t ___1_limitBone, const RuntimeMethod* method) ;
  1941. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  1942. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
  1943. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method) ;
  1944. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 RotationLimit_GetLimitedLocalRotation_m2AC6A31CEE50E52C79A05401B95C7E5E4A2C12AF (RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_localRotation, bool* ___1_changed, const RuntimeMethod* method) ;
  1945. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolverRotate_m443F9B077E0C6CB11B6C1D21978B2B15426775FB (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, bool ___2_recursive, const RuntimeMethod* method) ;
  1946. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 IKSolverFABRIK_GetLimitedRotation_mD2685B7ACC9B2BBA4458C82B02F0AC6360308B91 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_q, bool* ___2_changed, const RuntimeMethod* method) ;
  1947. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_from, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_to, const RuntimeMethod* method) ;
  1948. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolverRotateChildren_m19FA0F9A683FC8B889D99756763449115E251A50 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method) ;
  1949. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolverMoveChildrenAroundPoint_m24DF501E82A6155445BA204CDBEFDD6C98F565A2 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method) ;
  1950. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolverMove_mFF38212783430C3368105B72AA0BFEF3ED87ED73 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_offset, const RuntimeMethod* method) ;
  1951. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_BackwardReachLimited_m8270FAB0A75A8EEC8F8F8FE4DA099DA0203BAEB1 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
  1952. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_BackwardReachUnlimited_m792B0AEBAC3E9077DFF534826505DEA0A35BA955 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
  1953. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method) ;
  1954. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method) ;
  1955. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_forward, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_upwards, const RuntimeMethod* method) ;
  1956. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  1957. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bone_Swing2D_mB3119950E12FDE1B054518C0C474F533DEFC1D82 (Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_swingTarget, float ___1_weight, const RuntimeMethod* method) ;
  1958. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bone_Swing_m3024054C40C12CACB343DA9499845D32156856E5 (Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_swingTarget, float ___1_weight, const RuntimeMethod* method) ;
  1959. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool FABRIKChain_IsValid_mE198841BE07DAF14123B09DA52ED05974C884518 (FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* __this, String_t** ___0_message, const RuntimeMethod* method) ;
  1960. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, const RuntimeMethod* method) ;
  1961. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___0_str0, String_t* ___1_str1, const RuntimeMethod* method) ;
  1962. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5 (int32_t* __this, const RuntimeMethod* method) ;
  1963. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m093934F71A9B351911EE46311674ED463B180006 (String_t* ___0_str0, String_t* ___1_str1, String_t* ___2_str2, String_t* ___3_str3, const RuntimeMethod* method) ;
  1964. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___0_values, const RuntimeMethod* method) ;
  1965. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  1966. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localPosition_mDE1C997F7D79C0885210B7732B4BA50EE7D73134 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  1967. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FABRIKChain_Initiate_mA6831A7418367ED262BF0EE1099BC2818D2CE8EC (FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* __this, const RuntimeMethod* method) ;
  1968. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverFABRIKRoot_IsRoot_mDEF6233B39D152309283C7462F378E93BF342789 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, int32_t ___0_index, const RuntimeMethod* method) ;
  1969. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FABRIKChain_Stage1_m81BFE6BF921B3FFFA3DB9F9E19C7C349F33476AA (FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* __this, FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* ___0_chain, const RuntimeMethod* method) ;
  1970. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFABRIKRoot_GetCentroid_mE358FEC42458D1137D66579ED4F7426B79834DA7 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, const RuntimeMethod* method) ;
  1971. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FABRIKChain_Stage2_mFAE93DA4293EE524D8E96251DB45226600E1ACB1 (FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_rootPosition, FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* ___1_chain, const RuntimeMethod* method) ;
  1972. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIKRoot_AddPointsToArray_m849A5EC8096B5B173FFD2F8F84A869333702E7A2 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20** ___0_array, FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* ___1_chain, const RuntimeMethod* method) ;
  1973. inline void Array_Resize_TisPoint_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_m2D138B0D4419513EBC0C0B212D0E884A71E9A211 (PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20** ___0_array, int32_t ___1_newSize, const RuntimeMethod* method)
  1974. {
  1975. (( void (*) (PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20**, int32_t, const RuntimeMethod*))Array_Resize_TisRuntimeObject_mE8D92C287251BAF8256D85E5829F749359EC334E_gshared)(___0_array, ___1_newSize, method);
  1976. }
  1977. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolver__ctor_mF80BFDB950365AD0B8E8ACB9A26E78C8DDC9B3DC (IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* __this, const RuntimeMethod* method) ;
  1978. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t IKSolverFullBody_GetChainIndex_m08B49A2752088F6FDCDE181DFEF2B0F602532050 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method) ;
  1979. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t FBIKChain_GetNodeIndex_m8E5475A2FCA90AC350E446A9976EE460CABF6121 (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_boneTransform, const RuntimeMethod* method) ;
  1980. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool FBIKChain_IsValid_m617380C24BA09DF31ACD082B8FF8C47C4A7B5879 (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, String_t** ___0_message, const RuntimeMethod* method) ;
  1981. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKEffector_IsValid_m4D76E0C8BE51434034DDE1AECD7F37E8FF47DA78 (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* ___0_solver, String_t** ___1_message, const RuntimeMethod* method) ;
  1982. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingSpine_StoreDefaultLocalState_m2B0A5DD590DC5C39146DE9C0D12B5D9126F08B13 (IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* __this, const RuntimeMethod* method) ;
  1983. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingLimb_StoreDefaultLocalState_mE8AB2533BF4C0BD3743528F4B492AD0830ABAB93 (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* __this, const RuntimeMethod* method) ;
  1984. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingBone_StoreDefaultLocalState_m5A2F3FC8919B312E445FA16679D31870B344E8BB (IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* __this, const RuntimeMethod* method) ;
  1985. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void UpdateDelegate_Invoke_m095B3934DAEC5FA9ECE0A12334D557DAB064FE78_inline (UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* __this, const RuntimeMethod* method) ;
  1986. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingSpine_FixTransforms_mB2ED5970ECAC50DBB9B958BBF8FC13101659854A (IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* __this, const RuntimeMethod* method) ;
  1987. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingLimb_FixTransforms_mFD0A8196457E247EEA89AFDEE5BC495F19AFF97C (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* __this, const RuntimeMethod* method) ;
  1988. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingBone_FixTransforms_m9ACA15257C7D4EF6FA2EDAE7D811B6037228B231 (IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* __this, const RuntimeMethod* method) ;
  1989. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKChain_Initiate_m22658578D98324ADF0DB32C3A2AC014D3DB867EB (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  1990. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKEffector_Initiate_m665499C5AF74CC3D3E49A13C0B36ECE44548377C (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  1991. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKEffector_OnPostWrite_m9F0A312E782EEF2BD2E78C613EE30C9FC7D3FF16 (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, const RuntimeMethod* method) ;
  1992. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool IKConstraintBend_get_initiated_m8816A51D8F352EDB5ECC78B0D32D2EA3DA673D7D_inline (IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* __this, const RuntimeMethod* method) ;
  1993. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBody_GetEffector_m91A935CE4C543CAC72E03A612F1B7C57C4696C23 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_t, const RuntimeMethod* method) ;
  1994. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKConstraintBend_LimitBend_m6B044306A483C417F12B66BAD70BA8188BF46D2A (IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* __this, float ___0_solverWeight, float ___1_positionWeight, const RuntimeMethod* method) ;
  1995. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKEffector_ResetOffset_m0B9E2B0CC5C76F37DC372095244541B1004C6400 (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  1996. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKEffector_OnPreSolve_mCAA6A3F51CE00AAB9EAC20C7BE3884283EBA6CFC (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  1997. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKChain_ReadPose_m033602DE9803DDD63F23F6EBEF1E946397DE4D0E (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, bool ___1_fullBody, const RuntimeMethod* method) ;
  1998. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingSpine_ReadPose_mCF6A5FB830D99CA518985B0F9222D80C1A20E69F (IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* __this, const RuntimeMethod* method) ;
  1999. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingBone_ReadPose_m5CC284A5E0E296962FED1A9F29A360F2CE155F8A (IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* __this, const RuntimeMethod* method) ;
  2000. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingLimb_ReadPose_mF213C8FD1A6AEA90BFB3CC7F57B78D1FE24A0161 (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* __this, const RuntimeMethod* method) ;
  2001. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool IKEffector_get_isEndEffector_m54200CE28232E1CED2790F2FC02DB411885F1F1B_inline (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, const RuntimeMethod* method) ;
  2002. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKEffector_Update_mBF620F2B296D6FD4579D660C4FB800B54FFAA3B3 (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  2003. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 FBIKChain_Push_m89B1B93A02779DE5DF7D782B5AAEB2FDC29F62BC (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  2004. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKChain_Reach_m46C364EC6211B78B85D4003B28F479AA56215177 (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  2005. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKChain_SolveTrigonometric_m980F15D9E5B2EF146F57E56BE8F7A20CB4B32FFA (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, bool ___1_calculateBendDirection, const RuntimeMethod* method) ;
  2006. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKChain_Stage1_mA105D25ECAF6223E6A13421D0C9AA88A86EEAE4C (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  2007. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKChain_Stage2_mBDE85FF8BE51437DCF44D120F8A24D385741A9BD (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_position, const RuntimeMethod* method) ;
  2008. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingSpine_WritePose_m89825C771778C32B9392F77E175D6E907D0E636F (IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  2009. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingBone_WritePose_m8DC79F602191916A8DEA97BAAE665012BDBD4DED (IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* __this, float ___0_solverWeight, const RuntimeMethod* method) ;
  2010. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingLimb_WritePose_m3C2617BB22539714E761FFC884B970699DA6F0A1 (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, bool ___1_fullBody, const RuntimeMethod* method) ;
  2011. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingSpine__ctor_mD04FEDA7BB3F6EA4ECEBAA549C89C4378DCA30D6 (IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* __this, const RuntimeMethod* method) ;
  2012. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_effector, const RuntimeMethod* method) ;
  2013. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_GetChain_m75364C9F4E654450B982B9B284364A5D8A265602 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_c, const RuntimeMethod* method) ;
  2014. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverFullBody_IsValid_m7415DECBDD8F37339979BA77C836A9DC3E9075FE (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, String_t** ___0_message, const RuntimeMethod* method) ;
  2015. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* IKSolverFullBodyBiped_DetectRootNodeBone_mA134835420527AB13E709D92BF1128A1CB856216 (BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* ___0_references, const RuntimeMethod* method) ;
  2016. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKChain__ctor_mF47376AFBF623DF3BF0F7FC910A5C0C7FE87C7BD (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, const RuntimeMethod* method) ;
  2017. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKChain_SetNodes_mAB478A3B34E6DFFCF3990E56F103F0B07911B6E6 (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* __this, TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_boneTransforms, const RuntimeMethod* method) ;
  2018. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B (RuntimeArray* ___0_array, RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 ___1_fldHandle, const RuntimeMethod* method) ;
  2019. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913 (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, const RuntimeMethod* method) ;
  2020. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChildConstraint__ctor_mD1B3AFFA76AFF4D607B17FFCDD6479031AB85A77 (ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_bone1, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_bone2, float ___2_pushElasticity, float ___3_pullElasticity, const RuntimeMethod* method) ;
  2021. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingSpine_SetBones_m2906299F074450549534A23C88C9EEF4C20D3CB2 (IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* __this, TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_spineBones, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_leftUpperArmBone, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___2_rightUpperArmBone, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___3_leftThighBone, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___4_rightThighBone, const RuntimeMethod* method) ;
  2022. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingBone__ctor_mB14B2C8C993BFB0DC86A4FE4BE0ED819996C2A26 (IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* __this, const RuntimeMethod* method) ;
  2023. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingLimb__ctor_mAD46AFE7237D7E19AF788360845CD24416436402 (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* __this, const RuntimeMethod* method) ;
  2024. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* IKSolverFullBodyBiped_GetLeftClavicle_m8ED24196BA43CA4EA13F889DC2E1C44F5194580D (BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* ___0_references, const RuntimeMethod* method) ;
  2025. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingLimb_SetBones_mECAE028389665D979788AB2B90449BCDB8010CAD (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_bone1, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_bone2, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___2_bone3, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___3_parentBone, const RuntimeMethod* method) ;
  2026. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* IKSolverFullBodyBiped_GetRightClavicle_m731F1A45830C21777C972DFDD4A17D35AB16C24B (BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* ___0_references, const RuntimeMethod* method) ;
  2027. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolver_Initiate_m3788998F391336578711BBECB4121F595DA4AA0B (IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_root, const RuntimeMethod* method) ;
  2028. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Project_m85DF3CB297EC5E1A17BD6266FF65E86AB7372C9B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_onNormal, const RuntimeMethod* method) ;
  2029. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
  2030. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_SetLimbOrientation_m5B281995A772AB6CA2906BD74CEF62AA2C88A396 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_chain, LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* ___1_limbOrientation, const RuntimeMethod* method) ;
  2031. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* IKSolverFullBodyBiped_GetBendConstraint_mA7054F0B22CADA5B80BA53106F94E451B46566AC (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_limb, const RuntimeMethod* method) ;
  2032. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method) ;
  2033. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKConstraintBend_SetLimbOrientation_mEB2CF4B6F7D0469CB9E0307E33B1CB1247364AFF (IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_upper, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_lower, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_last, const RuntimeMethod* method) ;
  2034. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* IKSolverFullBodyBiped_GetLimbMapping_m4E45F924632CEFA45471E96EFA1E119FEE788C3B (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_chain, const RuntimeMethod* method) ;
  2035. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKMappingLimb_SetLimbOrientation_m8010F112030EB214691F13A3958732892CE56964 (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_upper, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_lower, const RuntimeMethod* method) ;
  2036. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverFullBodyBiped_Contains_m64F665C7F82B6E4874CFE387426B1B1396763611 (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_array, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_transform, const RuntimeMethod* method) ;
  2037. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKEffector_SetToTarget_m235E356A2D13C38ABE39804B5C73F7FF7856E05D (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, const RuntimeMethod* method) ;
  2038. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_PullBody_mB819B96085A2E600DC587901F08977C75FFFD81B (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2039. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_ReadPose_m8F16EA6B52EFA865FA4DEE82587341931F87AF6E (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method) ;
  2040. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFullBodyBiped_GetBodyOffset_mBE7BF80C4D3E6121F676FE69147F6314F56432DE (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2041. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  2042. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V3Tools_ExtractVertical_m47BDFC19A306C2C7BB23EC498633102F1ED6C372 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_verticalAxis, float ___2_weight, const RuntimeMethod* method) ;
  2043. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V3Tools_ExtractHorizontal_m91B6CF4A493350C8537393356A03968D54B4A75C (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_normal, float ___2_weight, const RuntimeMethod* method) ;
  2044. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_set_pullBodyOffset_mCA94F8D64F715A7A62446AACD9022597E7698D5D_inline (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  2045. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_bodyEffector_m97B613AF8F3394E6C145169FC2C20E95AE62034E (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2046. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFullBodyBiped_get_pullBodyOffset_mE72A3FEDFCD35C32634971B2B168A043BEF82482_inline (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2047. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_leftHandEffector_m3BF5472D80EA409075C62F714D01855F729876F6 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2048. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_get_leftArmChain_mAB6B0622FF236D65F6049006D1A1D48E004C81A0 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2049. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFullBodyBiped_GetHandBodyPull_m09F48E26B87ACACA14B406D4D22BB1CBF7D5D0E8 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* ___0_effector, FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* ___1_arm, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_offset, const RuntimeMethod* method) ;
  2050. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_rightHandEffector_mCBB21A3FE2F1B14EC9A05C0AA23A392C408C004E (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2051. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_get_rightArmChain_mA670FF593133563EA13B7EB272B8155BAB667BC7 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2052. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
  2053. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_leftFootEffector_m6AEF596EBEBE905767C197DB60B93B764F434BC2 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2054. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_rightFootEffector_m2FCD557479D15DB80715000CD4349EAB5CD81002 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method) ;
  2055. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_tC4020128B203BFA29C957212F91116F3F7203FAE* IKEffector_GetNode_mED3486B48E46C1F178608B3154032FBAED248D8E (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* ___0_solver, const RuntimeMethod* method) ;
  2056. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_ApplyBendConstraints_m8E8D733425C991B3FB94148595CB07CF07DC4F12 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method) ;
  2057. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_WritePose_mFC086B9EE2A3AE3468D24BFECDFDF07644862365 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method) ;
  2058. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody__ctor_mD8D847B0FE05B2CF6B8C0A8A0464389DDE18721E (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method) ;
  2059. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bone__ctor_m3A52FF10CE476DA9437CA1427B4670068EB079EF (Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* __this, const RuntimeMethod* method) ;
  2060. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverHeuristic_SetChain_m2846BCFD4ED17D9E18A1C25CD53C9BFFDEC83FB3 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_hierarchy, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_root, const RuntimeMethod* method) ;
  2061. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59 (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* __this, const RuntimeMethod* method) ;
  2062. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* __this, const RuntimeMethod* method) ;
  2063. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B (String_t* ___0_str0, String_t* ___1_str1, String_t* ___2_str2, const RuntimeMethod* method) ;
  2064. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* IKSolver_ContainsDuplicateBone_mC5AD6C60A94BA5C0CB7284835BB6586A707B731F (BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* ___0_bones, const RuntimeMethod* method) ;
  2065. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolver_HierarchyIsValid_m83E9D596BC072569416DD5B13E2FC17600C7C3E5 (BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* ___0_bones, const RuntimeMethod* method) ;
  2066. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Warning_Log_m3B3DC501CEF603D988C5D1BEF3F753D4241876C1 (String_t* ___0_message, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_context, bool ___2_logInEditMode, const RuntimeMethod* method) ;
  2067. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RotationLimit_Disable_m286460CEE4E06F3F42AF8E99320C42BAFB70321C (RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* __this, const RuntimeMethod* method) ;
  2068. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, const RuntimeMethod* method) ;
  2069. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_SqrMagnitude_m5ED73273031577902F1BED4CA9C5A0E786A680D1_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
  2070. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverHeuristic_SingularityDetected_m169EA7B04674143F241C17CC0F8BAB025859C56C (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method) ;
  2071. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
  2072. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
  2073. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* Hierarchy_ContainsDuplicate_m8D557E254AE9C2E97100726E4F15FD40155043DF (ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A* ___0_objects, const RuntimeMethod* method) ;
  2074. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_Read_m14CA1A64EF0F9313538828150274682729D16FCE (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method) ;
  2075. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_Solve_m623AA7600B3E262753350199B4ED28E7A6CFF80F (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method) ;
  2076. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_Write_m295BC369D77FF6C20A5EF2A3BA6D0F8FCDDA97F5 (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method) ;
  2077. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_Solve_mD08F2AE15FBA4ACAF5ACE013A2BD3524CC468654 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, bool ___0_stretch, const RuntimeMethod* method) ;
  2078. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_Read_m0D270E046A2E5561B4267ADB7F76E10BE725F0CD (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_positions, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___1_rotations, bool ___2_hasChest, bool ___3_hasNeck, bool ___4_hasShoulders, bool ___5_hasToes, bool ___6_hasLegs, int32_t ___7_rootIndex, int32_t ___8_index, const RuntimeMethod* method) ;
  2079. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Point__ctor_m239882619C92DC9AFA7C444B440576DD8279870B (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* __this, const RuntimeMethod* method) ;
  2080. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg__ctor_m0B26577A63E03CE1C883B91D3271048AC80A6464 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  2081. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TrigonometricBone_GetBendNormalFromCurrentRotation_mC6228E20EE9B222D620EA8410762778D2EDF4AE4 (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* __this, const RuntimeMethod* method) ;
  2082. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
  2083. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb_StoreAxisDirections_m7C1545C8C1C492ED22ABBC32B4A799605FEFF8EC (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1** ___0_axisDirections, const RuntimeMethod* method) ;
  2084. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverLimb_GetModifiedBendNormal_m5CF161D75E084E4619F5100479563E582713D010 (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method) ;
  2085. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, float ___2_t, const RuntimeMethod* method) ;
  2086. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric__ctor_mE83F64AEC3DCBEC0316F59036574A00AD9894616 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method) ;
  2087. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AxisDirection__ctor_m71A0315B1402B0AE838AFE634D4C3FCF992F6D45 (AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_axis, const RuntimeMethod* method) ;
  2088. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb_MaintainBend_m3FB93A6A248637C68EF504F9AE7565BD7D926C0B (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method) ;
  2089. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method) ;
  2090. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Interp_Float_m218DE9CAA3AAC9F0186C85992D42704BEBCDF902 (float ___0_t, int32_t ___1_mode, const RuntimeMethod* method) ;
  2091. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Slerp_m6CA14E5B6F6217802BAA0ADD2C9D086C741BA09C (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method) ;
  2092. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_spineIsValid_mAC99B4675FC152679E1572D4AEA5DA2E0AEE924D (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method) ;
  2093. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_headIsValid_m4A294AD6FA4B6AFE655CAE6E981C00A70456B1C6 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method) ;
  2094. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_eyesIsValid_m1245D18449981503AC460C83DA78FF203EEFD721 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method) ;
  2095. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_spineIsEmpty_m5964197CEF14482717743ABF057B3F98579B951E (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method) ;
  2096. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_headIsEmpty_m58229F7D551F2604FD44ED2DA7CB20F2DCAC3292 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method) ;
  2097. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_eyesIsEmpty_m908DEDD44E1BF38A6DFF8ADE0169EEAB3EF92ED7 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method) ;
  2098. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SetBones_mA78E9CC27149380A4FD7BB9BE07BE9E25877F323 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_array, LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** ___1_bones, const RuntimeMethod* method) ;
  2099. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LookAtBone__ctor_m21AA81862C38AD99FB90A9595C89D46BAF58D022 (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method) ;
  2100. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  2101. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LookAtBone_Initiate_m65D1326C546047D4D9BF584D121831C7CA7ADC7A (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_root, const RuntimeMethod* method) ;
  2102. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SolveSpine_m0B8B3308B91533128678D9086A8628108632ACA4 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method) ;
  2103. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SolveHead_mB571547D8D5DE1F593714DC1F1EA6EB62AC99E2D (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method) ;
  2104. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SolveEyes_m2D64CAC03C7AB3931118502D8C3B2CF54DA6590E (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method) ;
  2105. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 LookAtBone_get_forward_mBADF314297904630D793582886F60759A64FDA5D (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, const RuntimeMethod* method) ;
  2106. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* IKSolverLookAt_GetForwards_m92503D8D158D6407DEA534044F02ADDD643116B8 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** ___0_forwards, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_baseForward, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_targetForward, int32_t ___3_bones, float ___4_clamp, const RuntimeMethod* method) ;
  2107. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LookAtBone_LookAt_mE9EEC0C2EA7478755A936E4302EDFFD6D403E94A (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, float ___1_weight, const RuntimeMethod* method) ;
  2108. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
  2109. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, const RuntimeMethod* method) ;
  2110. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, float ___0_time, const RuntimeMethod* method) ;
  2111. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LookAtBone__ctor_mB765C747E8169C438757EF682E7EBD97DA14F8F1 (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, const RuntimeMethod* method) ;
  2112. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34 (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* __this, float ___0_time, float ___1_value, const RuntimeMethod* method) ;
  2113. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve__ctor_mEABC98C03805713354D61E50D9340766BD5B717E (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* ___0_keys, const RuntimeMethod* method) ;
  2114. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
  2115. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverTrigonometric_GetDirectionToBendPoint_m71840FAB5D51A3BF6D5466FC165E8F01793F2ACD (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, float ___1_directionMag, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_bendDirection, float ___3_sqrMag1, float ___4_sqrMag2, const RuntimeMethod* method) ;
  2116. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline (const RuntimeMethod* method) ;
  2117. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_InitiateBones_m96A48AF5D6AA22C3213B6DC5BF13B2CCDAD32853 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method) ;
  2118. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverTrigonometric_IsDirectHierarchy_m31566C1619A597911C8B7C92472110A08038675C (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method) ;
  2119. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrigonometricBone_Initiate_m256090C19B80B9611A364114DA50A0A9C9B17B5A (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_childPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_bendNormal, const RuntimeMethod* method) ;
  2120. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_SetBendPlaneToCurrent_mEAC5A0EE470E97DB2906B7C0A38C1C84DAF2C597 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method) ;
  2121. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverTrigonometric_GetBendDirection_mDBEEEFA23C4045C38067D0004B058E1BF4D3DCAE (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_IKPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_bendNormal, const RuntimeMethod* method) ;
  2122. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 TrigonometricBone_GetRotation_mF72E793049CF59C0835AB6B1055677596018EA5F (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_bendNormal, const RuntimeMethod* method) ;
  2123. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrigonometricBone__ctor_m1524861EFA327C398224766BC039DEBB7D6E90A2 (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* __this, const RuntimeMethod* method) ;
  2124. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 QuaTools_RotationToLocalSpace_m1159D06966D66C93705A46511CE556BDBA561178 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_space, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method) ;
  2125. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool References_get_isFilled_mB4AECD9FD7E86B1F5F91EC123C275A9448862082 (References_t0121F43F3544E7A8D35268152FCACCE8522923C6* __this, const RuntimeMethod* method) ;
  2126. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
  2127. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* References_GetTransforms_mB1B23F1922A06432C754C54FCF01331130E64716 (References_t0121F43F3544E7A8D35268152FCACCE8522923C6* __this, const RuntimeMethod* method) ;
  2128. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_DefaultAnimationCurves_m546EBAC9ABCFE53268DA1DF663920B37DA2C9C29 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method) ;
  2129. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_GuessHandOrientations_mCBF4C4B0A474BB93524751D8051995019FE03CB4 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, References_t0121F43F3544E7A8D35268152FCACCE8522923C6* ___0_references, bool ___1_onlyIfZero, const RuntimeMethod* method) ;
  2130. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m23033D7E2F0F298BE465B7F3A63CDF40A4EB70EB (RuntimeObject* ___0_message, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_context, const RuntimeMethod* method) ;
  2131. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VRIKCalibrator_GuessWristToPalmAxis_m0AE1B709E4BC17D1FF6377F1B854D0DF6D281FA3 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_hand, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_forearm, const RuntimeMethod* method) ;
  2132. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VRIKCalibrator_GuessPalmToThumbAxis_m0828887A63875E75077B1CEE7B19F0914C7477DA (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_hand, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_forearm, const RuntimeMethod* method) ;
  2133. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve__ctor_m0D976567166F92383307DC8EB8D7082CD34E226F (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, const RuntimeMethod* method) ;
  2134. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* AnimationCurve_get_keys_m34452C69464AB459C04BFFEA4F541F06B419AC4E (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, const RuntimeMethod* method) ;
  2135. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* IKSolverVR_GetSineKeyframes_mC269016DF971058CD72330AE34027F91279BADE7 (float ___0_mag, const RuntimeMethod* method) ;
  2136. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve_set_keys_mBE1284B44CDBB1D8381177A3D581A6E71467F95C (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* ___0_value, const RuntimeMethod* method) ;
  2137. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_AddRotationOffset_m056188497CD85FADD698407413DE08D630791A1F (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, int32_t ___0_rotationOffset, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_value, const RuntimeMethod* method) ;
  2138. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_AddDeltaPosition_m61BF65BAFCD63E4A0BC27181EDC8B70239AB533E (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_delta, const RuntimeMethod* method) ;
  2139. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_AddDeltaRotation_mFCC2028B2307513C5E4C38A411DC8F04A880E509 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_delta, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_pivot, const RuntimeMethod* method) ;
  2140. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_UpdateSolverTransforms_m901FC622D9EA101AC3E0C458F3E2984F3259DF28 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method) ;
  2141. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_Read_mD51260A061FB80FDCD583D972C535EDB42EAFF38 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_positions, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___1_rotations, bool ___2_hasChest, bool ___3_hasNeck, bool ___4_hasShoulders, bool ___5_hasToes, bool ___6_hasLegs, const RuntimeMethod* method) ;
  2142. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method) ;
  2143. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_Reset_m2C11E57AA2659815868C1B4DD657395D7D64F02B (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_positions, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___1_rotations, const RuntimeMethod* method) ;
  2144. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method) ;
  2145. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Transform_get_localRotation_mD53D37611A5DAE93EC6C7BBCAC337408C5CACA77 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  2146. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
  2147. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Keyframe_set_time_m98F165193486C0DF1611B562016595B18052A2D6 (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* __this, float ___0_value, const RuntimeMethod* method) ;
  2148. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Keyframe_set_value_m396D6040A4AB72ED5B9797E8C92DD806FA6F5431 (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* __this, float ___0_value, const RuntimeMethod* method) ;
  2149. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_Solve_m88E180654128DF65ABC3C22450260BB0198FA91D (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method) ;
  2150. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_Write_m51B13B7DDE7568ABDD5BBF081D48ED8BB482ED94 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method) ;
  2151. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_WriteTransforms_m03106C9EDFE2CB7E63C14922C4F789B00DFEB86A (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method) ;
  2152. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Spine_get_anchorRelativeToHead_mC024F027EC9B56BDC1454C414C6F343B0A1924FE_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method) ;
  2153. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverVR_GetPosition_m41D78D6D9E6E94DDEF1CF697A0BC27284B2E3D1B (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, int32_t ___0_index, const RuntimeMethod* method) ;
  2154. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V3Tools_Lerp_mD7F7DC69008BC285AA91CB1B09570FE5FA3325B4 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_fromVector, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_toVector, float ___2_weight, const RuntimeMethod* method) ;
  2155. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 IKSolverVR_GetRotation_m8F9D85BC162869F77DA700A431E3CEC50FF6A271 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, int32_t ___0_index, const RuntimeMethod* method) ;
  2156. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 QuaTools_Lerp_mA4973D1315D60B0E95A01B5581EF5119592351EE (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_fromRotation, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_toRotation, float ___2_weight, const RuntimeMethod* method) ;
  2157. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method) ;
  2158. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void IKSolverVR_set_rootBone_m19D2FDB8BABAC9F3D1B59BEA3B39DA5C2B4B32F6_inline (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_value, const RuntimeMethod* method) ;
  2159. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method) ;
  2160. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_Initiate_m8F0B4D2C1682F50C12305D1BE36D06E543D45D33 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_positions, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___1_rotations, bool ___2_hasToes, float ___3_scale, const RuntimeMethod* method) ;
  2161. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void BodyPart_SetLOD_m144EB600CBEB9A89F7894F86460818581A40A350_inline (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, int32_t ___0_LOD, const RuntimeMethod* method) ;
  2162. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_Solve_m0BC1EEB53096BEC88731ADD5E5481FD1FEA92A78 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_rootBone, LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* ___1_legs, ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* ___2_arms, float ___3_scale, const RuntimeMethod* method) ;
  2163. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_Solve_m718D05DCCB9F2FC8B46737B3965EC3CF17A1638C (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_rootBone, Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* ___1_spine, Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* ___2_leftLeg, Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* ___3_rightLeg, Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* ___4_leftArm, Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* ___5_rightArm, int32_t ___6_supportLegIndex, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___7_leftFootPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___8_rightFootPosition, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* ___9_leftFootRotation, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* ___10_rightFootRotation, float* ___11_leftFootOffset, float* ___12_rightFootOffset, float* ___13_leftHeelOffset, float* ___14_rightHeelOffset, float ___15_scale, const RuntimeMethod* method) ;
  2164. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  2165. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  2166. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V3Tools_PointToPlane_m37055F32224A4792C3FF89C730FC2C7BE73DA608 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_planePosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_planeNormal, const RuntimeMethod* method) ;
  2167. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865 (const RuntimeMethod* method) ;
  2168. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
  2169. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_InverseTranslateToHead_mCBC45D232C0831636371802B8AB702837AF4362E (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* ___0_legs, bool ___1_limited, bool ___2_useCurrentLegMag, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_offset, float ___4_w, const RuntimeMethod* method) ;
  2170. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_TranslateRoot_m75F9BA842BC2235D17AD7E5221E143559AA28CC0 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_newRootPos, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_newRootRot, const RuntimeMethod* method) ;
  2171. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Spine_get_chest_m86C7BF0990FD4DD6DD65A6993C08EA0A53B75908 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method) ;
  2172. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_Solve_m9844BB2C63CB043D62378B325AD2A429E5B66400 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, bool ___0_isLeft, const RuntimeMethod* method) ;
  2173. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverVR_GetPelvisOffset_m489C1D0B60BE713C4907F7AC5D565EB2F7A21A03 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method) ;
  2174. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D (LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___0_mask, const RuntimeMethod* method) ;
  2175. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Raycast_m56120FFEF0D4F0A44CCA505B5C946E6FB8742F12 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___2_hitInfo, float ___3_maxDistance, int32_t ___4_layerMask, const RuntimeMethod* method) ;
  2176. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, const RuntimeMethod* method) ;
  2177. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_SphereCast_m2A41FD7023EC5B89B69E0A8948325BEF46D9597C (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, float ___1_radius, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_direction, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___3_hitInfo, float ___4_maxDistance, int32_t ___5_layerMask, const RuntimeMethod* method) ;
  2178. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float RaycastHit_get_distance_m035194B0E9BB6229259CFC43B095A9C8E5011C78 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, const RuntimeMethod* method) ;
  2179. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, float ___1_maxLength, const RuntimeMethod* method) ;
  2180. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine__ctor_mA10197BE4F824FC0EEE30230E5E89B4AEC941FFA (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method) ;
  2181. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm__ctor_m211CA994178D560511C187FBEE2568898AA8F7D1 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method) ;
  2182. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion__ctor_m04CEFEE863563DBD99B58F2A436E6B32997CF828 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method) ;
  2183. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Repeat_m6F1560A163481BB311D685294E1B463C3E4EB3BA_inline (float ___0_t, float ___1_length, const RuntimeMethod* method) ;
  2184. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Quaternion__ctor_m868FD60AA65DD5A8AC0C5DEB0608381A8D85FCD8_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, float ___0_x, float ___1_y, float ___2_z, float ___3_w, const RuntimeMethod* method) ;
  2185. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  2186. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method) ;
  2187. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
  2188. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
  2189. #ifdef __clang__
  2190. #pragma clang diagnostic push
  2191. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2192. #pragma clang diagnostic ignored "-Wunused-variable"
  2193. #endif
  2194. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverCCD_FadeOutBoneWeights_mCF1ACC6643CDEB2B3B4056937F41FE52A82D6445 (IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA* __this, const RuntimeMethod* method)
  2195. {
  2196. float V_0 = 0.0f;
  2197. int32_t V_1 = 0;
  2198. {
  2199. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2200. NullCheck(L_0);
  2201. if ((((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))) >= ((int32_t)2)))
  2202. {
  2203. goto IL_000c;
  2204. }
  2205. }
  2206. {
  2207. return;
  2208. }
  2209. IL_000c:
  2210. {
  2211. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2212. NullCheck(L_1);
  2213. int32_t L_2 = 0;
  2214. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  2215. NullCheck(L_3);
  2216. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_3)->___weight = (1.0f);
  2217. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2218. NullCheck(L_4);
  2219. V_0 = ((float)((1.0f)/((float)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_4)->max_length)), 1)))));
  2220. V_1 = 1;
  2221. goto IL_0054;
  2222. }
  2223. IL_0034:
  2224. {
  2225. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_5 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2226. int32_t L_6 = V_1;
  2227. NullCheck(L_5);
  2228. int32_t L_7 = L_6;
  2229. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  2230. float L_9 = V_0;
  2231. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_10 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2232. NullCheck(L_10);
  2233. int32_t L_11 = V_1;
  2234. NullCheck(L_8);
  2235. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_8)->___weight = ((float)il2cpp_codegen_multiply(L_9, ((float)((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_10)->max_length)), 1)), L_11)))));
  2236. int32_t L_12 = V_1;
  2237. V_1 = ((int32_t)il2cpp_codegen_add(L_12, 1));
  2238. }
  2239. IL_0054:
  2240. {
  2241. int32_t L_13 = V_1;
  2242. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_14 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2243. NullCheck(L_14);
  2244. if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))
  2245. {
  2246. goto IL_0034;
  2247. }
  2248. }
  2249. {
  2250. return;
  2251. }
  2252. }
  2253. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverCCD_OnInitiate_m19C5760C4A9EF24DCAC27D3D1F521B277DDE3289 (IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA* __this, const RuntimeMethod* method)
  2254. {
  2255. static bool s_Il2CppMethodInitialized;
  2256. if (!s_Il2CppMethodInitialized)
  2257. {
  2258. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  2259. s_Il2CppMethodInitialized = true;
  2260. }
  2261. {
  2262. bool L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___firstInitiation;
  2263. if (L_0)
  2264. {
  2265. goto IL_000f;
  2266. }
  2267. }
  2268. {
  2269. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  2270. bool L_1;
  2271. L_1 = Application_get_isPlaying_m25B0ABDFEF54F5370CD3F263A813540843D00F34(NULL);
  2272. if (L_1)
  2273. {
  2274. goto IL_0030;
  2275. }
  2276. }
  2277. IL_000f:
  2278. {
  2279. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_2 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2280. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_3 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2281. NullCheck(L_3);
  2282. NullCheck(L_2);
  2283. int32_t L_4 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_3)->max_length)), 1));
  2284. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  2285. NullCheck(L_5);
  2286. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_5)->___transform;
  2287. NullCheck(L_6);
  2288. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  2289. L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
  2290. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_7;
  2291. }
  2292. IL_0030:
  2293. {
  2294. IKSolverHeuristic_InitiateBones_m72560B417621E3DD92F48687FD6FA96CBDEEC8BF(__this, NULL);
  2295. return;
  2296. }
  2297. }
  2298. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverCCD_OnUpdate_mBBDCC965BDABC378B8AE89DBC27097B35D52E51F (IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA* __this, const RuntimeMethod* method)
  2299. {
  2300. static bool s_Il2CppMethodInitialized;
  2301. if (!s_Il2CppMethodInitialized)
  2302. {
  2303. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2304. s_Il2CppMethodInitialized = true;
  2305. }
  2306. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  2307. memset((&V_0), 0, sizeof(V_0));
  2308. int32_t V_1 = 0;
  2309. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B9_0;
  2310. memset((&G_B9_0), 0, sizeof(G_B9_0));
  2311. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B18_0;
  2312. memset((&G_B18_0), 0, sizeof(G_B18_0));
  2313. IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA* G_B18_1 = NULL;
  2314. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B17_0;
  2315. memset((&G_B17_0), 0, sizeof(G_B17_0));
  2316. IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA* G_B17_1 = NULL;
  2317. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B19_0;
  2318. memset((&G_B19_0), 0, sizeof(G_B19_0));
  2319. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B19_1;
  2320. memset((&G_B19_1), 0, sizeof(G_B19_1));
  2321. IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA* G_B19_2 = NULL;
  2322. {
  2323. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  2324. if ((!(((float)L_0) <= ((float)(0.0f)))))
  2325. {
  2326. goto IL_000e;
  2327. }
  2328. }
  2329. {
  2330. return;
  2331. }
  2332. IL_000e:
  2333. {
  2334. float L_1 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  2335. float L_2;
  2336. L_2 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_1, (0.0f), (1.0f), NULL);
  2337. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_2;
  2338. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___target;
  2339. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2340. bool L_4;
  2341. L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  2342. if (!L_4)
  2343. {
  2344. goto IL_0048;
  2345. }
  2346. }
  2347. {
  2348. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___target;
  2349. NullCheck(L_5);
  2350. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  2351. L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
  2352. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_6;
  2353. }
  2354. IL_0048:
  2355. {
  2356. bool L_7 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___XY;
  2357. if (!L_7)
  2358. {
  2359. goto IL_0072;
  2360. }
  2361. }
  2362. {
  2363. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_8 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition);
  2364. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_9 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2365. NullCheck(L_9);
  2366. int32_t L_10 = 0;
  2367. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_11 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  2368. NullCheck(L_11);
  2369. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_11)->___transform;
  2370. NullCheck(L_12);
  2371. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  2372. L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
  2373. float L_14 = L_13.___z;
  2374. L_8->___z = L_14;
  2375. }
  2376. IL_0072:
  2377. {
  2378. int32_t L_15 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___maxIterations;
  2379. if ((((int32_t)L_15) > ((int32_t)1)))
  2380. {
  2381. goto IL_0082;
  2382. }
  2383. }
  2384. {
  2385. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  2386. L_16 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  2387. G_B9_0 = L_16;
  2388. goto IL_0088;
  2389. }
  2390. IL_0082:
  2391. {
  2392. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  2393. L_17 = IKSolverHeuristic_GetSingularityOffset_mD1CB009105B01A07A06CAF5BDE215F23506F6F74(__this, NULL);
  2394. G_B9_0 = L_17;
  2395. }
  2396. IL_0088:
  2397. {
  2398. V_0 = G_B9_0;
  2399. V_1 = 0;
  2400. goto IL_0100;
  2401. }
  2402. IL_008d:
  2403. {
  2404. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_0;
  2405. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  2406. L_19 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  2407. bool L_20;
  2408. L_20 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_18, L_19, NULL);
  2409. if (!L_20)
  2410. {
  2411. goto IL_00c0;
  2412. }
  2413. }
  2414. {
  2415. int32_t L_21 = V_1;
  2416. if ((((int32_t)L_21) < ((int32_t)1)))
  2417. {
  2418. goto IL_00c0;
  2419. }
  2420. }
  2421. {
  2422. float L_22 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___tolerance;
  2423. if ((!(((float)L_22) > ((float)(0.0f)))))
  2424. {
  2425. goto IL_00c0;
  2426. }
  2427. }
  2428. {
  2429. float L_23;
  2430. L_23 = IKSolverHeuristic_get_positionOffset_mEA60C0D8E914455404C0F122E1FCE873C0360FFD(__this, NULL);
  2431. float L_24 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___tolerance;
  2432. float L_25 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___tolerance;
  2433. if ((((float)L_23) < ((float)((float)il2cpp_codegen_multiply(L_24, L_25)))))
  2434. {
  2435. goto IL_0109;
  2436. }
  2437. }
  2438. IL_00c0:
  2439. {
  2440. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  2441. L_26 = VirtualFuncInvoker0< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(15, __this);
  2442. ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___lastLocalDirection = L_26;
  2443. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* L_27 = __this->___OnPreIteration;
  2444. if (!L_27)
  2445. {
  2446. goto IL_00e0;
  2447. }
  2448. }
  2449. {
  2450. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* L_28 = __this->___OnPreIteration;
  2451. int32_t L_29 = V_1;
  2452. NullCheck(L_28);
  2453. IterationDelegate_Invoke_m2BB5120815C0CC3CE91AFEC5044B2B5DB252C09B_inline(L_28, L_29, NULL);
  2454. }
  2455. IL_00e0:
  2456. {
  2457. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  2458. int32_t L_31 = V_1;
  2459. if (!L_31)
  2460. {
  2461. G_B18_0 = L_30;
  2462. G_B18_1 = __this;
  2463. goto IL_00f1;
  2464. }
  2465. G_B17_0 = L_30;
  2466. G_B17_1 = __this;
  2467. }
  2468. {
  2469. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
  2470. L_32 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  2471. G_B19_0 = L_32;
  2472. G_B19_1 = G_B17_0;
  2473. G_B19_2 = G_B17_1;
  2474. goto IL_00f2;
  2475. }
  2476. IL_00f1:
  2477. {
  2478. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_0;
  2479. G_B19_0 = L_33;
  2480. G_B19_1 = G_B18_0;
  2481. G_B19_2 = G_B18_1;
  2482. }
  2483. IL_00f2:
  2484. {
  2485. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  2486. L_34 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B19_1, G_B19_0, NULL);
  2487. NullCheck(G_B19_2);
  2488. IKSolverCCD_Solve_m89AE3EB8509495A1A71F1CC21732BC1748B58A16(G_B19_2, L_34, NULL);
  2489. int32_t L_35 = V_1;
  2490. V_1 = ((int32_t)il2cpp_codegen_add(L_35, 1));
  2491. }
  2492. IL_0100:
  2493. {
  2494. int32_t L_36 = V_1;
  2495. int32_t L_37 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___maxIterations;
  2496. if ((((int32_t)L_36) < ((int32_t)L_37)))
  2497. {
  2498. goto IL_008d;
  2499. }
  2500. }
  2501. IL_0109:
  2502. {
  2503. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
  2504. L_38 = VirtualFuncInvoker0< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(15, __this);
  2505. ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___lastLocalDirection = L_38;
  2506. return;
  2507. }
  2508. }
  2509. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverCCD_Solve_m89AE3EB8509495A1A71F1CC21732BC1748B58A16 (IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_targetPosition, const RuntimeMethod* method)
  2510. {
  2511. static bool s_Il2CppMethodInitialized;
  2512. if (!s_Il2CppMethodInitialized)
  2513. {
  2514. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2515. s_Il2CppMethodInitialized = true;
  2516. }
  2517. int32_t V_0 = 0;
  2518. float V_1 = 0.0f;
  2519. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  2520. memset((&V_2), 0, sizeof(V_2));
  2521. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  2522. memset((&V_3), 0, sizeof(V_3));
  2523. float V_4 = 0.0f;
  2524. float V_5 = 0.0f;
  2525. int32_t V_6 = 0;
  2526. float V_7 = 0.0f;
  2527. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
  2528. memset((&V_8), 0, sizeof(V_8));
  2529. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_9;
  2530. memset((&V_9), 0, sizeof(V_9));
  2531. {
  2532. bool L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___XY;
  2533. if (!L_0)
  2534. {
  2535. goto IL_0133;
  2536. }
  2537. }
  2538. {
  2539. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2540. NullCheck(L_1);
  2541. V_0 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_1)->max_length)), 2));
  2542. goto IL_012b;
  2543. }
  2544. IL_001b:
  2545. {
  2546. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_2 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2547. int32_t L_3 = V_0;
  2548. NullCheck(L_2);
  2549. int32_t L_4 = L_3;
  2550. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  2551. NullCheck(L_5);
  2552. float L_6 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_5)->___weight;
  2553. float L_7 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  2554. V_1 = ((float)il2cpp_codegen_multiply(L_6, L_7));
  2555. float L_8 = V_1;
  2556. if ((!(((float)L_8) > ((float)(0.0f)))))
  2557. {
  2558. goto IL_00f7;
  2559. }
  2560. }
  2561. {
  2562. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_9 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2563. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_10 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2564. NullCheck(L_10);
  2565. NullCheck(L_9);
  2566. int32_t L_11 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_10)->max_length)), 1));
  2567. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  2568. NullCheck(L_12);
  2569. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_12)->___transform;
  2570. NullCheck(L_13);
  2571. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  2572. L_14 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_13, NULL);
  2573. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_15 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2574. int32_t L_16 = V_0;
  2575. NullCheck(L_15);
  2576. int32_t L_17 = L_16;
  2577. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  2578. NullCheck(L_18);
  2579. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_18)->___transform;
  2580. NullCheck(L_19);
  2581. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  2582. L_20 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_19, NULL);
  2583. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  2584. L_21 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_14, L_20, NULL);
  2585. V_2 = L_21;
  2586. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___0_targetPosition;
  2587. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_23 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2588. int32_t L_24 = V_0;
  2589. NullCheck(L_23);
  2590. int32_t L_25 = L_24;
  2591. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  2592. NullCheck(L_26);
  2593. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_26)->___transform;
  2594. NullCheck(L_27);
  2595. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
  2596. L_28 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_27, NULL);
  2597. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
  2598. L_29 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_22, L_28, NULL);
  2599. V_3 = L_29;
  2600. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_2;
  2601. float L_31 = L_30.___x;
  2602. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = V_2;
  2603. float L_33 = L_32.___y;
  2604. float L_34;
  2605. L_34 = atan2f(L_31, L_33);
  2606. V_4 = ((float)il2cpp_codegen_multiply(L_34, (57.2957802f)));
  2607. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_3;
  2608. float L_36 = L_35.___x;
  2609. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_3;
  2610. float L_38 = L_37.___y;
  2611. float L_39;
  2612. L_39 = atan2f(L_36, L_38);
  2613. V_5 = ((float)il2cpp_codegen_multiply(L_39, (57.2957802f)));
  2614. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_40 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2615. int32_t L_41 = V_0;
  2616. NullCheck(L_40);
  2617. int32_t L_42 = L_41;
  2618. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_43 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
  2619. NullCheck(L_43);
  2620. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_44 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_43)->___transform;
  2621. float L_45 = V_4;
  2622. float L_46 = V_5;
  2623. float L_47;
  2624. L_47 = Mathf_DeltaAngle_mCBA858CE5C1BEEBE375812325A50E434FF66D6D4_inline(L_45, L_46, NULL);
  2625. float L_48 = V_1;
  2626. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
  2627. L_49 = Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline(NULL);
  2628. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50;
  2629. L_50 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(((float)il2cpp_codegen_multiply(L_47, L_48)), L_49, NULL);
  2630. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_51 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2631. int32_t L_52 = V_0;
  2632. NullCheck(L_51);
  2633. int32_t L_53 = L_52;
  2634. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_54 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
  2635. NullCheck(L_54);
  2636. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_55 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_54)->___transform;
  2637. NullCheck(L_55);
  2638. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56;
  2639. L_56 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_55, NULL);
  2640. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_57;
  2641. L_57 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_50, L_56, NULL);
  2642. NullCheck(L_44);
  2643. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_44, L_57, NULL);
  2644. }
  2645. IL_00f7:
  2646. {
  2647. bool L_58 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___useRotationLimits;
  2648. if (!L_58)
  2649. {
  2650. goto IL_0127;
  2651. }
  2652. }
  2653. {
  2654. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_59 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2655. int32_t L_60 = V_0;
  2656. NullCheck(L_59);
  2657. int32_t L_61 = L_60;
  2658. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_62 = (L_59)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
  2659. NullCheck(L_62);
  2660. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_63;
  2661. L_63 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_62, NULL);
  2662. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2663. bool L_64;
  2664. L_64 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_63, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  2665. if (!L_64)
  2666. {
  2667. goto IL_0127;
  2668. }
  2669. }
  2670. {
  2671. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_65 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2672. int32_t L_66 = V_0;
  2673. NullCheck(L_65);
  2674. int32_t L_67 = L_66;
  2675. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_68 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
  2676. NullCheck(L_68);
  2677. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_69;
  2678. L_69 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_68, NULL);
  2679. NullCheck(L_69);
  2680. bool L_70;
  2681. L_70 = RotationLimit_Apply_mF3AB1220EA79B9ADFD3B4594A024AF0E85A5E577(L_69, NULL);
  2682. }
  2683. IL_0127:
  2684. {
  2685. int32_t L_71 = V_0;
  2686. V_0 = ((int32_t)il2cpp_codegen_subtract(L_71, 1));
  2687. }
  2688. IL_012b:
  2689. {
  2690. int32_t L_72 = V_0;
  2691. if ((((int32_t)L_72) > ((int32_t)(-1))))
  2692. {
  2693. goto IL_001b;
  2694. }
  2695. }
  2696. {
  2697. return;
  2698. }
  2699. IL_0133:
  2700. {
  2701. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_73 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2702. NullCheck(L_73);
  2703. V_6 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_73)->max_length)), 2));
  2704. goto IL_025d;
  2705. }
  2706. IL_0144:
  2707. {
  2708. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_74 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2709. int32_t L_75 = V_6;
  2710. NullCheck(L_74);
  2711. int32_t L_76 = L_75;
  2712. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_77 = (L_74)->GetAt(static_cast<il2cpp_array_size_t>(L_76));
  2713. NullCheck(L_77);
  2714. float L_78 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_77)->___weight;
  2715. float L_79 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  2716. V_7 = ((float)il2cpp_codegen_multiply(L_78, L_79));
  2717. float L_80 = V_7;
  2718. if ((!(((float)L_80) > ((float)(0.0f)))))
  2719. {
  2720. goto IL_0225;
  2721. }
  2722. }
  2723. {
  2724. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_81 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2725. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_82 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2726. NullCheck(L_82);
  2727. NullCheck(L_81);
  2728. int32_t L_83 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_82)->max_length)), 1));
  2729. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_84 = (L_81)->GetAt(static_cast<il2cpp_array_size_t>(L_83));
  2730. NullCheck(L_84);
  2731. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_85 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_84)->___transform;
  2732. NullCheck(L_85);
  2733. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
  2734. L_86 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_85, NULL);
  2735. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_87 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2736. int32_t L_88 = V_6;
  2737. NullCheck(L_87);
  2738. int32_t L_89 = L_88;
  2739. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_90 = (L_87)->GetAt(static_cast<il2cpp_array_size_t>(L_89));
  2740. NullCheck(L_90);
  2741. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_91 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_90)->___transform;
  2742. NullCheck(L_91);
  2743. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
  2744. L_92 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_91, NULL);
  2745. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
  2746. L_93 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_86, L_92, NULL);
  2747. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94 = ___0_targetPosition;
  2748. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_95 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2749. int32_t L_96 = V_6;
  2750. NullCheck(L_95);
  2751. int32_t L_97 = L_96;
  2752. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_98 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
  2753. NullCheck(L_98);
  2754. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_99 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_98)->___transform;
  2755. NullCheck(L_99);
  2756. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100;
  2757. L_100 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_99, NULL);
  2758. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
  2759. L_101 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_94, L_100, NULL);
  2760. V_8 = L_101;
  2761. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102 = V_8;
  2762. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_103;
  2763. L_103 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_93, L_102, NULL);
  2764. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_104 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2765. int32_t L_105 = V_6;
  2766. NullCheck(L_104);
  2767. int32_t L_106 = L_105;
  2768. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_107 = (L_104)->GetAt(static_cast<il2cpp_array_size_t>(L_106));
  2769. NullCheck(L_107);
  2770. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_108 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_107)->___transform;
  2771. NullCheck(L_108);
  2772. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_109;
  2773. L_109 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_108, NULL);
  2774. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_110;
  2775. L_110 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_103, L_109, NULL);
  2776. V_9 = L_110;
  2777. float L_111 = V_7;
  2778. if ((!(((float)L_111) >= ((float)(1.0f)))))
  2779. {
  2780. goto IL_01f6;
  2781. }
  2782. }
  2783. {
  2784. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_112 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2785. int32_t L_113 = V_6;
  2786. NullCheck(L_112);
  2787. int32_t L_114 = L_113;
  2788. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_115 = (L_112)->GetAt(static_cast<il2cpp_array_size_t>(L_114));
  2789. NullCheck(L_115);
  2790. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_116 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_115)->___transform;
  2791. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_117 = V_9;
  2792. NullCheck(L_116);
  2793. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_116, L_117, NULL);
  2794. goto IL_0225;
  2795. }
  2796. IL_01f6:
  2797. {
  2798. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_118 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2799. int32_t L_119 = V_6;
  2800. NullCheck(L_118);
  2801. int32_t L_120 = L_119;
  2802. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_121 = (L_118)->GetAt(static_cast<il2cpp_array_size_t>(L_120));
  2803. NullCheck(L_121);
  2804. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_122 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_121)->___transform;
  2805. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_123 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2806. int32_t L_124 = V_6;
  2807. NullCheck(L_123);
  2808. int32_t L_125 = L_124;
  2809. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_126 = (L_123)->GetAt(static_cast<il2cpp_array_size_t>(L_125));
  2810. NullCheck(L_126);
  2811. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_127 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_126)->___transform;
  2812. NullCheck(L_127);
  2813. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_128;
  2814. L_128 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_127, NULL);
  2815. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_129 = V_9;
  2816. float L_130 = V_7;
  2817. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_131;
  2818. L_131 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_128, L_129, L_130, NULL);
  2819. NullCheck(L_122);
  2820. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_122, L_131, NULL);
  2821. }
  2822. IL_0225:
  2823. {
  2824. bool L_132 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___useRotationLimits;
  2825. if (!L_132)
  2826. {
  2827. goto IL_0257;
  2828. }
  2829. }
  2830. {
  2831. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_133 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2832. int32_t L_134 = V_6;
  2833. NullCheck(L_133);
  2834. int32_t L_135 = L_134;
  2835. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_136 = (L_133)->GetAt(static_cast<il2cpp_array_size_t>(L_135));
  2836. NullCheck(L_136);
  2837. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_137;
  2838. L_137 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_136, NULL);
  2839. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2840. bool L_138;
  2841. L_138 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_137, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  2842. if (!L_138)
  2843. {
  2844. goto IL_0257;
  2845. }
  2846. }
  2847. {
  2848. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_139 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  2849. int32_t L_140 = V_6;
  2850. NullCheck(L_139);
  2851. int32_t L_141 = L_140;
  2852. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_142 = (L_139)->GetAt(static_cast<il2cpp_array_size_t>(L_141));
  2853. NullCheck(L_142);
  2854. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_143;
  2855. L_143 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_142, NULL);
  2856. NullCheck(L_143);
  2857. bool L_144;
  2858. L_144 = RotationLimit_Apply_mF3AB1220EA79B9ADFD3B4594A024AF0E85A5E577(L_143, NULL);
  2859. }
  2860. IL_0257:
  2861. {
  2862. int32_t L_145 = V_6;
  2863. V_6 = ((int32_t)il2cpp_codegen_subtract(L_145, 1));
  2864. }
  2865. IL_025d:
  2866. {
  2867. int32_t L_146 = V_6;
  2868. if ((((int32_t)L_146) > ((int32_t)(-1))))
  2869. {
  2870. goto IL_0144;
  2871. }
  2872. }
  2873. {
  2874. return;
  2875. }
  2876. }
  2877. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverCCD__ctor_mCD65235E749C31EF4416D7EDB7F9EBB81EAE8650 (IKSolverCCD_tDB02E47AC4F765C1A5EA53630DCAABD42CC0E6DA* __this, const RuntimeMethod* method)
  2878. {
  2879. {
  2880. IKSolverHeuristic__ctor_mA6507737B85B0103335026BB482227CBC68486E0(__this, NULL);
  2881. return;
  2882. }
  2883. }
  2884. #ifdef __clang__
  2885. #pragma clang diagnostic pop
  2886. #endif
  2887. #ifdef __clang__
  2888. #pragma clang diagnostic push
  2889. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2890. #pragma clang diagnostic ignored "-Wunused-variable"
  2891. #endif
  2892. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolveForward_m42B06B621D94355061DA463F229D4CFBFE8FD0F7 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
  2893. {
  2894. static bool s_Il2CppMethodInitialized;
  2895. if (!s_Il2CppMethodInitialized)
  2896. {
  2897. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var);
  2898. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEA3158CC9ED850ECE58F9041193A90F4799E78EE);
  2899. s_Il2CppMethodInitialized = true;
  2900. }
  2901. {
  2902. bool L_0;
  2903. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  2904. if (L_0)
  2905. {
  2906. goto IL_001b;
  2907. }
  2908. }
  2909. {
  2910. bool L_1 = ((Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_StaticFields*)il2cpp_codegen_static_fields_for(Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var))->___logged;
  2911. if (L_1)
  2912. {
  2913. goto IL_001a;
  2914. }
  2915. }
  2916. {
  2917. IKSolver_LogWarning_m66446B7D574CE93C2316D03D5850B7C4A4B7A6FB(__this, _stringLiteralEA3158CC9ED850ECE58F9041193A90F4799E78EE, NULL);
  2918. }
  2919. IL_001a:
  2920. {
  2921. return;
  2922. }
  2923. IL_001b:
  2924. {
  2925. IKSolverFABRIK_OnPreSolve_m8CA78AE5BA7133CBE7FBDBC33D3A8C9B2C5E309F(__this, NULL);
  2926. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_position;
  2927. IKSolverFABRIK_ForwardReach_m9C61840135B7AE2F4EF8259A2D2A77CC111E3DC6(__this, L_2, NULL);
  2928. return;
  2929. }
  2930. }
  2931. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolveBackward_m0D02E4263480CB3CD9F730E4F17626C0E4F09A37 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
  2932. {
  2933. static bool s_Il2CppMethodInitialized;
  2934. if (!s_Il2CppMethodInitialized)
  2935. {
  2936. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var);
  2937. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEA3158CC9ED850ECE58F9041193A90F4799E78EE);
  2938. s_Il2CppMethodInitialized = true;
  2939. }
  2940. {
  2941. bool L_0;
  2942. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  2943. if (L_0)
  2944. {
  2945. goto IL_001b;
  2946. }
  2947. }
  2948. {
  2949. bool L_1 = ((Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_StaticFields*)il2cpp_codegen_static_fields_for(Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var))->___logged;
  2950. if (L_1)
  2951. {
  2952. goto IL_001a;
  2953. }
  2954. }
  2955. {
  2956. IKSolver_LogWarning_m66446B7D574CE93C2316D03D5850B7C4A4B7A6FB(__this, _stringLiteralEA3158CC9ED850ECE58F9041193A90F4799E78EE, NULL);
  2957. }
  2958. IL_001a:
  2959. {
  2960. return;
  2961. }
  2962. IL_001b:
  2963. {
  2964. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_position;
  2965. IKSolverFABRIK_BackwardReach_mDD2D453B45B34C1270FA86B208AA44F9DBA94676(__this, L_2, NULL);
  2966. IKSolverFABRIK_OnPostSolve_m62B531283A90EAD8E6BB05365294345CEC150833(__this, NULL);
  2967. return;
  2968. }
  2969. }
  2970. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFABRIK_GetIKPosition_mD70DD672E700E0470649447BC34A7793A6184A4F (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method)
  2971. {
  2972. static bool s_Il2CppMethodInitialized;
  2973. if (!s_Il2CppMethodInitialized)
  2974. {
  2975. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2976. s_Il2CppMethodInitialized = true;
  2977. }
  2978. {
  2979. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___target;
  2980. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2981. bool L_1;
  2982. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  2983. if (!L_1)
  2984. {
  2985. goto IL_001a;
  2986. }
  2987. }
  2988. {
  2989. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___target;
  2990. NullCheck(L_2);
  2991. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  2992. L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
  2993. return L_3;
  2994. }
  2995. IL_001a:
  2996. {
  2997. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  2998. return L_4;
  2999. }
  3000. }
  3001. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_OnInitiate_m03FB6F8245EC8796689DCB24F0D757089D0C105C (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method)
  3002. {
  3003. static bool s_Il2CppMethodInitialized;
  3004. if (!s_Il2CppMethodInitialized)
  3005. {
  3006. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  3007. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var);
  3008. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
  3009. s_Il2CppMethodInitialized = true;
  3010. }
  3011. int32_t V_0 = 0;
  3012. int32_t V_1 = 0;
  3013. {
  3014. bool L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___firstInitiation;
  3015. if (L_0)
  3016. {
  3017. goto IL_000f;
  3018. }
  3019. }
  3020. {
  3021. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  3022. bool L_1;
  3023. L_1 = Application_get_isPlaying_m25B0ABDFEF54F5370CD3F263A813540843D00F34(NULL);
  3024. if (L_1)
  3025. {
  3026. goto IL_0030;
  3027. }
  3028. }
  3029. IL_000f:
  3030. {
  3031. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_2 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3032. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_3 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3033. NullCheck(L_3);
  3034. NullCheck(L_2);
  3035. int32_t L_4 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_3)->max_length)), 1));
  3036. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  3037. NullCheck(L_5);
  3038. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_5)->___transform;
  3039. NullCheck(L_6);
  3040. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  3041. L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
  3042. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_7;
  3043. }
  3044. IL_0030:
  3045. {
  3046. V_0 = 0;
  3047. goto IL_0076;
  3048. }
  3049. IL_0034:
  3050. {
  3051. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_8 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3052. int32_t L_9 = V_0;
  3053. NullCheck(L_8);
  3054. int32_t L_10 = L_9;
  3055. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  3056. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_12 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3057. int32_t L_13 = V_0;
  3058. NullCheck(L_12);
  3059. int32_t L_14 = L_13;
  3060. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  3061. NullCheck(L_15);
  3062. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___transform;
  3063. NullCheck(L_16);
  3064. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  3065. L_17 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_16, NULL);
  3066. NullCheck(L_11);
  3067. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_11)->___solverPosition = L_17;
  3068. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_18 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3069. int32_t L_19 = V_0;
  3070. NullCheck(L_18);
  3071. int32_t L_20 = L_19;
  3072. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  3073. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_22 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3074. int32_t L_23 = V_0;
  3075. NullCheck(L_22);
  3076. int32_t L_24 = L_23;
  3077. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  3078. NullCheck(L_25);
  3079. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_25)->___transform;
  3080. NullCheck(L_26);
  3081. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
  3082. L_27 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_26, NULL);
  3083. NullCheck(L_21);
  3084. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_21)->___solverRotation = L_27;
  3085. int32_t L_28 = V_0;
  3086. V_0 = ((int32_t)il2cpp_codegen_add(L_28, 1));
  3087. }
  3088. IL_0076:
  3089. {
  3090. int32_t L_29 = V_0;
  3091. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_30 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3092. NullCheck(L_30);
  3093. if ((((int32_t)L_29) < ((int32_t)((int32_t)(((RuntimeArray*)L_30)->max_length)))))
  3094. {
  3095. goto IL_0034;
  3096. }
  3097. }
  3098. {
  3099. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_31 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3100. NullCheck(L_31);
  3101. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_32 = (BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4*)(BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4*)SZArrayNew(BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_31)->max_length)));
  3102. __this->___limitedBones = L_32;
  3103. Il2CppCodeGenWriteBarrier((void**)(&__this->___limitedBones), (void*)L_32);
  3104. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_33 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3105. NullCheck(L_33);
  3106. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_34 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_33)->max_length)));
  3107. __this->___solverLocalPositions = L_34;
  3108. Il2CppCodeGenWriteBarrier((void**)(&__this->___solverLocalPositions), (void*)L_34);
  3109. IKSolverHeuristic_InitiateBones_m72560B417621E3DD92F48687FD6FA96CBDEEC8BF(__this, NULL);
  3110. V_1 = 0;
  3111. goto IL_00f0;
  3112. }
  3113. IL_00b1:
  3114. {
  3115. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_35 = __this->___solverLocalPositions;
  3116. int32_t L_36 = V_1;
  3117. int32_t L_37 = V_1;
  3118. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
  3119. L_38 = IKSolverFABRIK_GetParentSolverRotation_m4E58370FD55A585601B533872BC7791A153433AF(__this, L_37, NULL);
  3120. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39;
  3121. L_39 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_38, NULL);
  3122. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_40 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3123. int32_t L_41 = V_1;
  3124. NullCheck(L_40);
  3125. int32_t L_42 = L_41;
  3126. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_43 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
  3127. NullCheck(L_43);
  3128. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_44 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_43)->___transform;
  3129. NullCheck(L_44);
  3130. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
  3131. L_45 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_44, NULL);
  3132. int32_t L_46 = V_1;
  3133. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
  3134. L_47 = IKSolverFABRIK_GetParentSolverPosition_mFFAB72C3430DE35F7BB1B1BFB3DA9B2DD74BCADB(__this, L_46, NULL);
  3135. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
  3136. L_48 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_45, L_47, NULL);
  3137. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
  3138. L_49 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_39, L_48, NULL);
  3139. NullCheck(L_35);
  3140. (L_35)->SetAt(static_cast<il2cpp_array_size_t>(L_36), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_49);
  3141. int32_t L_50 = V_1;
  3142. V_1 = ((int32_t)il2cpp_codegen_add(L_50, 1));
  3143. }
  3144. IL_00f0:
  3145. {
  3146. int32_t L_51 = V_1;
  3147. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_52 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3148. NullCheck(L_52);
  3149. if ((((int32_t)L_51) < ((int32_t)((int32_t)(((RuntimeArray*)L_52)->max_length)))))
  3150. {
  3151. goto IL_00b1;
  3152. }
  3153. }
  3154. {
  3155. return;
  3156. }
  3157. }
  3158. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_OnUpdate_m560A7FCF152E344072A066E5ED1CD446E248957E (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method)
  3159. {
  3160. static bool s_Il2CppMethodInitialized;
  3161. if (!s_Il2CppMethodInitialized)
  3162. {
  3163. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  3164. s_Il2CppMethodInitialized = true;
  3165. }
  3166. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  3167. memset((&V_0), 0, sizeof(V_0));
  3168. int32_t V_1 = 0;
  3169. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B9_0;
  3170. memset((&G_B9_0), 0, sizeof(G_B9_0));
  3171. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B18_0;
  3172. memset((&G_B18_0), 0, sizeof(G_B18_0));
  3173. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* G_B18_1 = NULL;
  3174. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B17_0;
  3175. memset((&G_B17_0), 0, sizeof(G_B17_0));
  3176. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* G_B17_1 = NULL;
  3177. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B19_0;
  3178. memset((&G_B19_0), 0, sizeof(G_B19_0));
  3179. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B19_1;
  3180. memset((&G_B19_1), 0, sizeof(G_B19_1));
  3181. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* G_B19_2 = NULL;
  3182. {
  3183. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  3184. if ((!(((float)L_0) <= ((float)(0.0f)))))
  3185. {
  3186. goto IL_000e;
  3187. }
  3188. }
  3189. {
  3190. return;
  3191. }
  3192. IL_000e:
  3193. {
  3194. float L_1 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  3195. float L_2;
  3196. L_2 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_1, (0.0f), (1.0f), NULL);
  3197. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_2;
  3198. IKSolverFABRIK_OnPreSolve_m8CA78AE5BA7133CBE7FBDBC33D3A8C9B2C5E309F(__this, NULL);
  3199. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___target;
  3200. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  3201. bool L_4;
  3202. L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  3203. if (!L_4)
  3204. {
  3205. goto IL_004e;
  3206. }
  3207. }
  3208. {
  3209. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___target;
  3210. NullCheck(L_5);
  3211. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  3212. L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
  3213. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_6;
  3214. }
  3215. IL_004e:
  3216. {
  3217. bool L_7 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___XY;
  3218. if (!L_7)
  3219. {
  3220. goto IL_0078;
  3221. }
  3222. }
  3223. {
  3224. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_8 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition);
  3225. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_9 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3226. NullCheck(L_9);
  3227. int32_t L_10 = 0;
  3228. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_11 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  3229. NullCheck(L_11);
  3230. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_11)->___transform;
  3231. NullCheck(L_12);
  3232. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  3233. L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
  3234. float L_14 = L_13.___z;
  3235. L_8->___z = L_14;
  3236. }
  3237. IL_0078:
  3238. {
  3239. int32_t L_15 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___maxIterations;
  3240. if ((((int32_t)L_15) > ((int32_t)1)))
  3241. {
  3242. goto IL_0088;
  3243. }
  3244. }
  3245. {
  3246. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  3247. L_16 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  3248. G_B9_0 = L_16;
  3249. goto IL_008e;
  3250. }
  3251. IL_0088:
  3252. {
  3253. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  3254. L_17 = IKSolverHeuristic_GetSingularityOffset_mD1CB009105B01A07A06CAF5BDE215F23506F6F74(__this, NULL);
  3255. G_B9_0 = L_17;
  3256. }
  3257. IL_008e:
  3258. {
  3259. V_0 = G_B9_0;
  3260. V_1 = 0;
  3261. goto IL_0106;
  3262. }
  3263. IL_0093:
  3264. {
  3265. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_0;
  3266. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  3267. L_19 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  3268. bool L_20;
  3269. L_20 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_18, L_19, NULL);
  3270. if (!L_20)
  3271. {
  3272. goto IL_00c6;
  3273. }
  3274. }
  3275. {
  3276. int32_t L_21 = V_1;
  3277. if ((((int32_t)L_21) < ((int32_t)1)))
  3278. {
  3279. goto IL_00c6;
  3280. }
  3281. }
  3282. {
  3283. float L_22 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___tolerance;
  3284. if ((!(((float)L_22) > ((float)(0.0f)))))
  3285. {
  3286. goto IL_00c6;
  3287. }
  3288. }
  3289. {
  3290. float L_23;
  3291. L_23 = IKSolverHeuristic_get_positionOffset_mEA60C0D8E914455404C0F122E1FCE873C0360FFD(__this, NULL);
  3292. float L_24 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___tolerance;
  3293. float L_25 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___tolerance;
  3294. if ((((float)L_23) < ((float)((float)il2cpp_codegen_multiply(L_24, L_25)))))
  3295. {
  3296. goto IL_010f;
  3297. }
  3298. }
  3299. IL_00c6:
  3300. {
  3301. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  3302. L_26 = VirtualFuncInvoker0< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(15, __this);
  3303. ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___lastLocalDirection = L_26;
  3304. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* L_27 = __this->___OnPreIteration;
  3305. if (!L_27)
  3306. {
  3307. goto IL_00e6;
  3308. }
  3309. }
  3310. {
  3311. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* L_28 = __this->___OnPreIteration;
  3312. int32_t L_29 = V_1;
  3313. NullCheck(L_28);
  3314. IterationDelegate_Invoke_m2BB5120815C0CC3CE91AFEC5044B2B5DB252C09B_inline(L_28, L_29, NULL);
  3315. }
  3316. IL_00e6:
  3317. {
  3318. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  3319. int32_t L_31 = V_1;
  3320. if (!L_31)
  3321. {
  3322. G_B18_0 = L_30;
  3323. G_B18_1 = __this;
  3324. goto IL_00f7;
  3325. }
  3326. G_B17_0 = L_30;
  3327. G_B17_1 = __this;
  3328. }
  3329. {
  3330. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
  3331. L_32 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  3332. G_B19_0 = L_32;
  3333. G_B19_1 = G_B17_0;
  3334. G_B19_2 = G_B17_1;
  3335. goto IL_00f8;
  3336. }
  3337. IL_00f7:
  3338. {
  3339. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_0;
  3340. G_B19_0 = L_33;
  3341. G_B19_1 = G_B18_0;
  3342. G_B19_2 = G_B18_1;
  3343. }
  3344. IL_00f8:
  3345. {
  3346. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  3347. L_34 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B19_1, G_B19_0, NULL);
  3348. NullCheck(G_B19_2);
  3349. IKSolverFABRIK_Solve_mF5D6791EFB98A19CDA87AF98C1F6CE059739E254(G_B19_2, L_34, NULL);
  3350. int32_t L_35 = V_1;
  3351. V_1 = ((int32_t)il2cpp_codegen_add(L_35, 1));
  3352. }
  3353. IL_0106:
  3354. {
  3355. int32_t L_36 = V_1;
  3356. int32_t L_37 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___maxIterations;
  3357. if ((((int32_t)L_36) < ((int32_t)L_37)))
  3358. {
  3359. goto IL_0093;
  3360. }
  3361. }
  3362. IL_010f:
  3363. {
  3364. IKSolverFABRIK_OnPostSolve_m62B531283A90EAD8E6BB05365294345CEC150833(__this, NULL);
  3365. return;
  3366. }
  3367. }
  3368. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverFABRIK_get_boneLengthCanBeZero_m7E04D07B05FFFF2CF8C9E5AEA7A859A35CDDBFF3 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method)
  3369. {
  3370. {
  3371. return (bool)0;
  3372. }
  3373. }
  3374. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFABRIK_SolveJoint_m88377CBA14DBBCA356EC314E1B18E30759058AE9 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_pos2, float ___2_length, const RuntimeMethod* method)
  3375. {
  3376. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  3377. memset((&V_0), 0, sizeof(V_0));
  3378. {
  3379. bool L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___XY;
  3380. if (!L_0)
  3381. {
  3382. goto IL_0015;
  3383. }
  3384. }
  3385. {
  3386. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_pos2;
  3387. float L_2 = L_1.___z;
  3388. (&___0_pos1)->___z = L_2;
  3389. }
  3390. IL_0015:
  3391. {
  3392. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___1_pos2;
  3393. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_pos1;
  3394. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___1_pos2;
  3395. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  3396. L_6 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_4, L_5, NULL);
  3397. V_0 = L_6;
  3398. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  3399. L_7 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_0), NULL);
  3400. float L_8 = ___2_length;
  3401. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  3402. L_9 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_7, L_8, NULL);
  3403. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  3404. L_10 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_3, L_9, NULL);
  3405. return L_10;
  3406. }
  3407. }
  3408. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_OnPreSolve_m8CA78AE5BA7133CBE7FBDBC33D3A8C9B2C5E309F (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method)
  3409. {
  3410. int32_t V_0 = 0;
  3411. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  3412. memset((&V_1), 0, sizeof(V_1));
  3413. {
  3414. ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___chainLength = (0.0f);
  3415. V_0 = 0;
  3416. goto IL_0155;
  3417. }
  3418. IL_0012:
  3419. {
  3420. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3421. int32_t L_1 = V_0;
  3422. NullCheck(L_0);
  3423. int32_t L_2 = L_1;
  3424. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  3425. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3426. int32_t L_5 = V_0;
  3427. NullCheck(L_4);
  3428. int32_t L_6 = L_5;
  3429. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  3430. NullCheck(L_7);
  3431. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_7)->___transform;
  3432. NullCheck(L_8);
  3433. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  3434. L_9 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_8, NULL);
  3435. NullCheck(L_3);
  3436. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_3)->___solverPosition = L_9;
  3437. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_10 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3438. int32_t L_11 = V_0;
  3439. NullCheck(L_10);
  3440. int32_t L_12 = L_11;
  3441. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  3442. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_14 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3443. int32_t L_15 = V_0;
  3444. NullCheck(L_14);
  3445. int32_t L_16 = L_15;
  3446. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  3447. NullCheck(L_17);
  3448. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_17)->___transform;
  3449. NullCheck(L_18);
  3450. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
  3451. L_19 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_18, NULL);
  3452. NullCheck(L_13);
  3453. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_13)->___solverRotation = L_19;
  3454. int32_t L_20 = V_0;
  3455. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_21 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3456. NullCheck(L_21);
  3457. if ((((int32_t)L_20) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_21)->max_length)), 1)))))
  3458. {
  3459. goto IL_010e;
  3460. }
  3461. }
  3462. {
  3463. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_22 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3464. int32_t L_23 = V_0;
  3465. NullCheck(L_22);
  3466. int32_t L_24 = L_23;
  3467. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  3468. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_26 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3469. int32_t L_27 = V_0;
  3470. NullCheck(L_26);
  3471. int32_t L_28 = L_27;
  3472. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
  3473. NullCheck(L_29);
  3474. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_30 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_29)->___transform;
  3475. NullCheck(L_30);
  3476. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  3477. L_31 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_30, NULL);
  3478. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_32 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3479. int32_t L_33 = V_0;
  3480. NullCheck(L_32);
  3481. int32_t L_34 = ((int32_t)il2cpp_codegen_add(L_33, 1));
  3482. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  3483. NullCheck(L_35);
  3484. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_35)->___transform;
  3485. NullCheck(L_36);
  3486. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  3487. L_37 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_36, NULL);
  3488. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
  3489. L_38 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_31, L_37, NULL);
  3490. V_1 = L_38;
  3491. float L_39;
  3492. L_39 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_1), NULL);
  3493. NullCheck(L_25);
  3494. L_25->___length = L_39;
  3495. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_40 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3496. int32_t L_41 = V_0;
  3497. NullCheck(L_40);
  3498. int32_t L_42 = L_41;
  3499. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_43 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
  3500. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_44 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3501. int32_t L_45 = V_0;
  3502. NullCheck(L_44);
  3503. int32_t L_46 = L_45;
  3504. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_47 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
  3505. NullCheck(L_47);
  3506. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_48 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_47)->___transform;
  3507. NullCheck(L_48);
  3508. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_49;
  3509. L_49 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_48, NULL);
  3510. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50;
  3511. L_50 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_49, NULL);
  3512. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_51 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3513. int32_t L_52 = V_0;
  3514. NullCheck(L_51);
  3515. int32_t L_53 = ((int32_t)il2cpp_codegen_add(L_52, 1));
  3516. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_54 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
  3517. NullCheck(L_54);
  3518. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_55 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_54)->___transform;
  3519. NullCheck(L_55);
  3520. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
  3521. L_56 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_55, NULL);
  3522. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_57 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3523. int32_t L_58 = V_0;
  3524. NullCheck(L_57);
  3525. int32_t L_59 = L_58;
  3526. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_60 = (L_57)->GetAt(static_cast<il2cpp_array_size_t>(L_59));
  3527. NullCheck(L_60);
  3528. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_61 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_60)->___transform;
  3529. NullCheck(L_61);
  3530. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
  3531. L_62 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_61, NULL);
  3532. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
  3533. L_63 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_56, L_62, NULL);
  3534. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
  3535. L_64 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_50, L_63, NULL);
  3536. NullCheck(L_43);
  3537. L_43->___axis = L_64;
  3538. float L_65 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___chainLength;
  3539. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_66 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3540. int32_t L_67 = V_0;
  3541. NullCheck(L_66);
  3542. int32_t L_68 = L_67;
  3543. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_69 = (L_66)->GetAt(static_cast<il2cpp_array_size_t>(L_68));
  3544. NullCheck(L_69);
  3545. float L_70 = L_69->___length;
  3546. ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___chainLength = ((float)il2cpp_codegen_add(L_65, L_70));
  3547. }
  3548. IL_010e:
  3549. {
  3550. bool L_71 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___useRotationLimits;
  3551. if (!L_71)
  3552. {
  3553. goto IL_0151;
  3554. }
  3555. }
  3556. {
  3557. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_72 = __this->___solverLocalPositions;
  3558. int32_t L_73 = V_0;
  3559. int32_t L_74 = V_0;
  3560. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_75;
  3561. L_75 = IKSolverFABRIK_GetParentSolverRotation_m4E58370FD55A585601B533872BC7791A153433AF(__this, L_74, NULL);
  3562. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_76;
  3563. L_76 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_75, NULL);
  3564. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_77 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3565. int32_t L_78 = V_0;
  3566. NullCheck(L_77);
  3567. int32_t L_79 = L_78;
  3568. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_80 = (L_77)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
  3569. NullCheck(L_80);
  3570. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_81 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_80)->___transform;
  3571. NullCheck(L_81);
  3572. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
  3573. L_82 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_81, NULL);
  3574. int32_t L_83 = V_0;
  3575. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
  3576. L_84 = IKSolverFABRIK_GetParentSolverPosition_mFFAB72C3430DE35F7BB1B1BFB3DA9B2DD74BCADB(__this, L_83, NULL);
  3577. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
  3578. L_85 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_82, L_84, NULL);
  3579. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
  3580. L_86 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_76, L_85, NULL);
  3581. NullCheck(L_72);
  3582. (L_72)->SetAt(static_cast<il2cpp_array_size_t>(L_73), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_86);
  3583. }
  3584. IL_0151:
  3585. {
  3586. int32_t L_87 = V_0;
  3587. V_0 = ((int32_t)il2cpp_codegen_add(L_87, 1));
  3588. }
  3589. IL_0155:
  3590. {
  3591. int32_t L_88 = V_0;
  3592. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_89 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3593. NullCheck(L_89);
  3594. if ((((int32_t)L_88) < ((int32_t)((int32_t)(((RuntimeArray*)L_89)->max_length)))))
  3595. {
  3596. goto IL_0012;
  3597. }
  3598. }
  3599. {
  3600. return;
  3601. }
  3602. }
  3603. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_OnPostSolve_m62B531283A90EAD8E6BB05365294345CEC150833 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method)
  3604. {
  3605. {
  3606. bool L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___useRotationLimits;
  3607. if (L_0)
  3608. {
  3609. goto IL_0010;
  3610. }
  3611. }
  3612. {
  3613. IKSolverFABRIK_MapToSolverPositions_mA8FBEF7FE47EBED9A7786AD1F48BF261170D92B4(__this, NULL);
  3614. goto IL_0016;
  3615. }
  3616. IL_0010:
  3617. {
  3618. IKSolverFABRIK_MapToSolverPositionsLimited_m8738D3B234AF85815A82AA0F1CD38E893F9F4354(__this, NULL);
  3619. }
  3620. IL_0016:
  3621. {
  3622. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  3623. L_1 = VirtualFuncInvoker0< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(15, __this);
  3624. ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___lastLocalDirection = L_1;
  3625. return;
  3626. }
  3627. }
  3628. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_Solve_mF5D6791EFB98A19CDA87AF98C1F6CE059739E254 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_targetPosition, const RuntimeMethod* method)
  3629. {
  3630. {
  3631. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_targetPosition;
  3632. IKSolverFABRIK_ForwardReach_m9C61840135B7AE2F4EF8259A2D2A77CC111E3DC6(__this, L_0, NULL);
  3633. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3634. NullCheck(L_1);
  3635. int32_t L_2 = 0;
  3636. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  3637. NullCheck(L_3);
  3638. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_3)->___transform;
  3639. NullCheck(L_4);
  3640. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  3641. L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
  3642. IKSolverFABRIK_BackwardReach_mDD2D453B45B34C1270FA86B208AA44F9DBA94676(__this, L_5, NULL);
  3643. return;
  3644. }
  3645. }
  3646. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_ForwardReach_m9C61840135B7AE2F4EF8259A2D2A77CC111E3DC6 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
  3647. {
  3648. int32_t V_0 = 0;
  3649. int32_t V_1 = 0;
  3650. {
  3651. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3652. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3653. NullCheck(L_1);
  3654. NullCheck(L_0);
  3655. int32_t L_2 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_1)->max_length)), 1));
  3656. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  3657. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3658. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_5 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3659. NullCheck(L_5);
  3660. NullCheck(L_4);
  3661. int32_t L_6 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_5)->max_length)), 1));
  3662. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  3663. NullCheck(L_7);
  3664. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_7)->___solverPosition;
  3665. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_position;
  3666. float L_10 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  3667. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  3668. L_11 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_8, L_9, L_10, NULL);
  3669. NullCheck(L_3);
  3670. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_3)->___solverPosition = L_11;
  3671. V_0 = 0;
  3672. goto IL_0049;
  3673. }
  3674. IL_003c:
  3675. {
  3676. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_12 = __this->___limitedBones;
  3677. int32_t L_13 = V_0;
  3678. NullCheck(L_12);
  3679. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(L_13), (bool)0);
  3680. int32_t L_14 = V_0;
  3681. V_0 = ((int32_t)il2cpp_codegen_add(L_14, 1));
  3682. }
  3683. IL_0049:
  3684. {
  3685. int32_t L_15 = V_0;
  3686. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_16 = __this->___limitedBones;
  3687. NullCheck(L_16);
  3688. if ((((int32_t)L_15) < ((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))))
  3689. {
  3690. goto IL_003c;
  3691. }
  3692. }
  3693. {
  3694. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_17 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3695. NullCheck(L_17);
  3696. V_1 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_17)->max_length)), 2));
  3697. goto IL_00ab;
  3698. }
  3699. IL_0061:
  3700. {
  3701. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_18 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3702. int32_t L_19 = V_1;
  3703. NullCheck(L_18);
  3704. int32_t L_20 = L_19;
  3705. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  3706. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_22 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3707. int32_t L_23 = V_1;
  3708. NullCheck(L_22);
  3709. int32_t L_24 = L_23;
  3710. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  3711. NullCheck(L_25);
  3712. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_25)->___solverPosition;
  3713. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_27 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3714. int32_t L_28 = V_1;
  3715. NullCheck(L_27);
  3716. int32_t L_29 = ((int32_t)il2cpp_codegen_add(L_28, 1));
  3717. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  3718. NullCheck(L_30);
  3719. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_30)->___solverPosition;
  3720. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_32 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3721. int32_t L_33 = V_1;
  3722. NullCheck(L_32);
  3723. int32_t L_34 = L_33;
  3724. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  3725. NullCheck(L_35);
  3726. float L_36 = L_35->___length;
  3727. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  3728. L_37 = IKSolverFABRIK_SolveJoint_m88377CBA14DBBCA356EC314E1B18E30759058AE9(__this, L_26, L_31, L_36, NULL);
  3729. NullCheck(L_21);
  3730. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_21)->___solverPosition = L_37;
  3731. int32_t L_38 = V_1;
  3732. int32_t L_39 = V_1;
  3733. IKSolverFABRIK_LimitForward_mCE4FEEEC72158B33A0B0D6DCF3C6FB2106474D62(__this, L_38, ((int32_t)il2cpp_codegen_add(L_39, 1)), NULL);
  3734. int32_t L_40 = V_1;
  3735. V_1 = ((int32_t)il2cpp_codegen_subtract(L_40, 1));
  3736. }
  3737. IL_00ab:
  3738. {
  3739. int32_t L_41 = V_1;
  3740. if ((((int32_t)L_41) > ((int32_t)(-1))))
  3741. {
  3742. goto IL_0061;
  3743. }
  3744. }
  3745. {
  3746. IKSolverFABRIK_LimitForward_mCE4FEEEC72158B33A0B0D6DCF3C6FB2106474D62(__this, 0, 0, NULL);
  3747. return;
  3748. }
  3749. }
  3750. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolverMove_mFF38212783430C3368105B72AA0BFEF3ED87ED73 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_offset, const RuntimeMethod* method)
  3751. {
  3752. int32_t V_0 = 0;
  3753. {
  3754. int32_t L_0 = ___0_index;
  3755. V_0 = L_0;
  3756. goto IL_0021;
  3757. }
  3758. IL_0004:
  3759. {
  3760. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3761. int32_t L_2 = V_0;
  3762. NullCheck(L_1);
  3763. int32_t L_3 = L_2;
  3764. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  3765. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_5 = L_4;
  3766. NullCheck(L_5);
  3767. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_5)->___solverPosition;
  3768. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___1_offset;
  3769. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  3770. L_8 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_6, L_7, NULL);
  3771. NullCheck(L_5);
  3772. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_5)->___solverPosition = L_8;
  3773. int32_t L_9 = V_0;
  3774. V_0 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  3775. }
  3776. IL_0021:
  3777. {
  3778. int32_t L_10 = V_0;
  3779. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_11 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3780. NullCheck(L_11);
  3781. if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
  3782. {
  3783. goto IL_0004;
  3784. }
  3785. }
  3786. {
  3787. return;
  3788. }
  3789. }
  3790. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolverRotate_m443F9B077E0C6CB11B6C1D21978B2B15426775FB (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, bool ___2_recursive, const RuntimeMethod* method)
  3791. {
  3792. int32_t V_0 = 0;
  3793. {
  3794. int32_t L_0 = ___0_index;
  3795. V_0 = L_0;
  3796. goto IL_002c;
  3797. }
  3798. IL_0004:
  3799. {
  3800. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3801. int32_t L_2 = V_0;
  3802. NullCheck(L_1);
  3803. int32_t L_3 = L_2;
  3804. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  3805. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ___1_rotation;
  3806. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_6 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3807. int32_t L_7 = V_0;
  3808. NullCheck(L_6);
  3809. int32_t L_8 = L_7;
  3810. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  3811. NullCheck(L_9);
  3812. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_9)->___solverRotation;
  3813. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  3814. L_11 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_5, L_10, NULL);
  3815. NullCheck(L_4);
  3816. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___solverRotation = L_11;
  3817. bool L_12 = ___2_recursive;
  3818. if (L_12)
  3819. {
  3820. goto IL_0028;
  3821. }
  3822. }
  3823. {
  3824. return;
  3825. }
  3826. IL_0028:
  3827. {
  3828. int32_t L_13 = V_0;
  3829. V_0 = ((int32_t)il2cpp_codegen_add(L_13, 1));
  3830. }
  3831. IL_002c:
  3832. {
  3833. int32_t L_14 = V_0;
  3834. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_15 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3835. NullCheck(L_15);
  3836. if ((((int32_t)L_14) < ((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))))
  3837. {
  3838. goto IL_0004;
  3839. }
  3840. }
  3841. {
  3842. return;
  3843. }
  3844. }
  3845. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolverRotateChildren_m19FA0F9A683FC8B889D99756763449115E251A50 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method)
  3846. {
  3847. int32_t V_0 = 0;
  3848. {
  3849. int32_t L_0 = ___0_index;
  3850. V_0 = ((int32_t)il2cpp_codegen_add(L_0, 1));
  3851. goto IL_002a;
  3852. }
  3853. IL_0006:
  3854. {
  3855. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3856. int32_t L_2 = V_0;
  3857. NullCheck(L_1);
  3858. int32_t L_3 = L_2;
  3859. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  3860. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ___1_rotation;
  3861. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_6 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3862. int32_t L_7 = V_0;
  3863. NullCheck(L_6);
  3864. int32_t L_8 = L_7;
  3865. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  3866. NullCheck(L_9);
  3867. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_9)->___solverRotation;
  3868. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  3869. L_11 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_5, L_10, NULL);
  3870. NullCheck(L_4);
  3871. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___solverRotation = L_11;
  3872. int32_t L_12 = V_0;
  3873. V_0 = ((int32_t)il2cpp_codegen_add(L_12, 1));
  3874. }
  3875. IL_002a:
  3876. {
  3877. int32_t L_13 = V_0;
  3878. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_14 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3879. NullCheck(L_14);
  3880. if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))
  3881. {
  3882. goto IL_0006;
  3883. }
  3884. }
  3885. {
  3886. return;
  3887. }
  3888. }
  3889. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_SolverMoveChildrenAroundPoint_m24DF501E82A6155445BA204CDBEFDD6C98F565A2 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method)
  3890. {
  3891. int32_t V_0 = 0;
  3892. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  3893. memset((&V_1), 0, sizeof(V_1));
  3894. {
  3895. int32_t L_0 = ___0_index;
  3896. V_0 = ((int32_t)il2cpp_codegen_add(L_0, 1));
  3897. goto IL_0050;
  3898. }
  3899. IL_0006:
  3900. {
  3901. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3902. int32_t L_2 = V_0;
  3903. NullCheck(L_1);
  3904. int32_t L_3 = L_2;
  3905. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  3906. NullCheck(L_4);
  3907. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___solverPosition;
  3908. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_6 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3909. int32_t L_7 = ___0_index;
  3910. NullCheck(L_6);
  3911. int32_t L_8 = L_7;
  3912. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  3913. NullCheck(L_9);
  3914. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_9)->___solverPosition;
  3915. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  3916. L_11 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_5, L_10, NULL);
  3917. V_1 = L_11;
  3918. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_12 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3919. int32_t L_13 = V_0;
  3920. NullCheck(L_12);
  3921. int32_t L_14 = L_13;
  3922. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  3923. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_16 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3924. int32_t L_17 = ___0_index;
  3925. NullCheck(L_16);
  3926. int32_t L_18 = L_17;
  3927. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  3928. NullCheck(L_19);
  3929. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_19)->___solverPosition;
  3930. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21 = ___1_rotation;
  3931. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_1;
  3932. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  3933. L_23 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_21, L_22, NULL);
  3934. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  3935. L_24 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_20, L_23, NULL);
  3936. NullCheck(L_15);
  3937. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___solverPosition = L_24;
  3938. int32_t L_25 = V_0;
  3939. V_0 = ((int32_t)il2cpp_codegen_add(L_25, 1));
  3940. }
  3941. IL_0050:
  3942. {
  3943. int32_t L_26 = V_0;
  3944. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_27 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3945. NullCheck(L_27);
  3946. if ((((int32_t)L_26) < ((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length)))))
  3947. {
  3948. goto IL_0006;
  3949. }
  3950. }
  3951. {
  3952. return;
  3953. }
  3954. }
  3955. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 IKSolverFABRIK_GetParentSolverRotation_m4E58370FD55A585601B533872BC7791A153433AF (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, const RuntimeMethod* method)
  3956. {
  3957. static bool s_Il2CppMethodInitialized;
  3958. if (!s_Il2CppMethodInitialized)
  3959. {
  3960. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  3961. s_Il2CppMethodInitialized = true;
  3962. }
  3963. {
  3964. int32_t L_0 = ___0_index;
  3965. if ((((int32_t)L_0) <= ((int32_t)0)))
  3966. {
  3967. goto IL_0014;
  3968. }
  3969. }
  3970. {
  3971. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3972. int32_t L_2 = ___0_index;
  3973. NullCheck(L_1);
  3974. int32_t L_3 = ((int32_t)il2cpp_codegen_subtract(L_2, 1));
  3975. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  3976. NullCheck(L_4);
  3977. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___solverRotation;
  3978. return L_5;
  3979. }
  3980. IL_0014:
  3981. {
  3982. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_6 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  3983. NullCheck(L_6);
  3984. int32_t L_7 = 0;
  3985. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  3986. NullCheck(L_8);
  3987. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_8)->___transform;
  3988. NullCheck(L_9);
  3989. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10;
  3990. L_10 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_9, NULL);
  3991. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  3992. bool L_11;
  3993. L_11 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  3994. if (!L_11)
  3995. {
  3996. goto IL_0034;
  3997. }
  3998. }
  3999. {
  4000. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
  4001. L_12 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4002. return L_12;
  4003. }
  4004. IL_0034:
  4005. {
  4006. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_13 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4007. NullCheck(L_13);
  4008. int32_t L_14 = 0;
  4009. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_15 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  4010. NullCheck(L_15);
  4011. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___transform;
  4012. NullCheck(L_16);
  4013. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17;
  4014. L_17 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_16, NULL);
  4015. NullCheck(L_17);
  4016. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
  4017. L_18 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_17, NULL);
  4018. return L_18;
  4019. }
  4020. }
  4021. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFABRIK_GetParentSolverPosition_mFFAB72C3430DE35F7BB1B1BFB3DA9B2DD74BCADB (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, const RuntimeMethod* method)
  4022. {
  4023. static bool s_Il2CppMethodInitialized;
  4024. if (!s_Il2CppMethodInitialized)
  4025. {
  4026. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4027. s_Il2CppMethodInitialized = true;
  4028. }
  4029. {
  4030. int32_t L_0 = ___0_index;
  4031. if ((((int32_t)L_0) <= ((int32_t)0)))
  4032. {
  4033. goto IL_0014;
  4034. }
  4035. }
  4036. {
  4037. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4038. int32_t L_2 = ___0_index;
  4039. NullCheck(L_1);
  4040. int32_t L_3 = ((int32_t)il2cpp_codegen_subtract(L_2, 1));
  4041. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  4042. NullCheck(L_4);
  4043. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___solverPosition;
  4044. return L_5;
  4045. }
  4046. IL_0014:
  4047. {
  4048. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_6 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4049. NullCheck(L_6);
  4050. int32_t L_7 = 0;
  4051. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  4052. NullCheck(L_8);
  4053. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_8)->___transform;
  4054. NullCheck(L_9);
  4055. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10;
  4056. L_10 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_9, NULL);
  4057. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4058. bool L_11;
  4059. L_11 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  4060. if (!L_11)
  4061. {
  4062. goto IL_0034;
  4063. }
  4064. }
  4065. {
  4066. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  4067. L_12 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  4068. return L_12;
  4069. }
  4070. IL_0034:
  4071. {
  4072. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_13 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4073. NullCheck(L_13);
  4074. int32_t L_14 = 0;
  4075. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_15 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  4076. NullCheck(L_15);
  4077. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___transform;
  4078. NullCheck(L_16);
  4079. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17;
  4080. L_17 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_16, NULL);
  4081. NullCheck(L_17);
  4082. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  4083. L_18 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_17, NULL);
  4084. return L_18;
  4085. }
  4086. }
  4087. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 IKSolverFABRIK_GetLimitedRotation_mD2685B7ACC9B2BBA4458C82B02F0AC6360308B91 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_q, bool* ___2_changed, const RuntimeMethod* method)
  4088. {
  4089. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  4090. memset((&V_0), 0, sizeof(V_0));
  4091. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  4092. memset((&V_1), 0, sizeof(V_1));
  4093. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
  4094. memset((&V_2), 0, sizeof(V_2));
  4095. {
  4096. bool* L_0 = ___2_changed;
  4097. *((int8_t*)L_0) = (int8_t)0;
  4098. int32_t L_1 = ___0_index;
  4099. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  4100. L_2 = IKSolverFABRIK_GetParentSolverRotation_m4E58370FD55A585601B533872BC7791A153433AF(__this, L_1, NULL);
  4101. V_0 = L_2;
  4102. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = V_0;
  4103. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  4104. L_4 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_3, NULL);
  4105. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ___1_q;
  4106. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
  4107. L_6 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_4, L_5, NULL);
  4108. V_1 = L_6;
  4109. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_7 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4110. int32_t L_8 = ___0_index;
  4111. NullCheck(L_7);
  4112. int32_t L_9 = L_8;
  4113. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  4114. NullCheck(L_10);
  4115. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_11;
  4116. L_11 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_10, NULL);
  4117. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = V_1;
  4118. bool* L_13 = ___2_changed;
  4119. NullCheck(L_11);
  4120. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
  4121. L_14 = RotationLimit_GetLimitedLocalRotation_m2AC6A31CEE50E52C79A05401B95C7E5E4A2C12AF(L_11, L_12, L_13, NULL);
  4122. V_2 = L_14;
  4123. bool* L_15 = ___2_changed;
  4124. int32_t L_16 = *((uint8_t*)L_15);
  4125. if (L_16)
  4126. {
  4127. goto IL_0033;
  4128. }
  4129. }
  4130. {
  4131. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17 = ___1_q;
  4132. return L_17;
  4133. }
  4134. IL_0033:
  4135. {
  4136. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18 = V_0;
  4137. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = V_2;
  4138. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
  4139. L_20 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_18, L_19, NULL);
  4140. return L_20;
  4141. }
  4142. }
  4143. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_LimitForward_mCE4FEEEC72158B33A0B0D6DCF3C6FB2106474D62 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, int32_t ___0_rotateBone, int32_t ___1_limitBone, const RuntimeMethod* method)
  4144. {
  4145. static bool s_Il2CppMethodInitialized;
  4146. if (!s_Il2CppMethodInitialized)
  4147. {
  4148. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4149. s_Il2CppMethodInitialized = true;
  4150. }
  4151. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  4152. memset((&V_0), 0, sizeof(V_0));
  4153. bool V_1 = false;
  4154. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
  4155. memset((&V_2), 0, sizeof(V_2));
  4156. int32_t V_3 = 0;
  4157. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_4;
  4158. memset((&V_4), 0, sizeof(V_4));
  4159. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_5;
  4160. memset((&V_5), 0, sizeof(V_5));
  4161. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_6;
  4162. memset((&V_6), 0, sizeof(V_6));
  4163. {
  4164. bool L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___useRotationLimits;
  4165. if (L_0)
  4166. {
  4167. goto IL_0009;
  4168. }
  4169. }
  4170. {
  4171. return;
  4172. }
  4173. IL_0009:
  4174. {
  4175. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4176. int32_t L_2 = ___1_limitBone;
  4177. NullCheck(L_1);
  4178. int32_t L_3 = L_2;
  4179. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  4180. NullCheck(L_4);
  4181. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_5;
  4182. L_5 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_4, NULL);
  4183. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4184. bool L_6;
  4185. L_6 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  4186. if (!L_6)
  4187. {
  4188. goto IL_001f;
  4189. }
  4190. }
  4191. {
  4192. return;
  4193. }
  4194. IL_001f:
  4195. {
  4196. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_7 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4197. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_8 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4198. NullCheck(L_8);
  4199. NullCheck(L_7);
  4200. int32_t L_9 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_8)->max_length)), 1));
  4201. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  4202. NullCheck(L_10);
  4203. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_10)->___solverPosition;
  4204. V_0 = L_11;
  4205. int32_t L_12 = ___0_rotateBone;
  4206. V_3 = L_12;
  4207. goto IL_0099;
  4208. }
  4209. IL_003a:
  4210. {
  4211. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_13 = __this->___limitedBones;
  4212. int32_t L_14 = V_3;
  4213. NullCheck(L_13);
  4214. int32_t L_15 = L_14;
  4215. uint8_t L_16 = (uint8_t)(L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  4216. if (L_16)
  4217. {
  4218. goto IL_00a6;
  4219. }
  4220. }
  4221. {
  4222. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_17 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4223. int32_t L_18 = V_3;
  4224. NullCheck(L_17);
  4225. int32_t L_19 = L_18;
  4226. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  4227. NullCheck(L_20);
  4228. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_20)->___solverRotation;
  4229. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_22 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4230. int32_t L_23 = V_3;
  4231. NullCheck(L_22);
  4232. int32_t L_24 = L_23;
  4233. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  4234. NullCheck(L_25);
  4235. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = L_25->___axis;
  4236. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  4237. L_27 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_21, L_26, NULL);
  4238. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_28 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4239. int32_t L_29 = V_3;
  4240. NullCheck(L_28);
  4241. int32_t L_30 = ((int32_t)il2cpp_codegen_add(L_29, 1));
  4242. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  4243. NullCheck(L_31);
  4244. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_31)->___solverPosition;
  4245. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_33 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4246. int32_t L_34 = V_3;
  4247. NullCheck(L_33);
  4248. int32_t L_35 = L_34;
  4249. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
  4250. NullCheck(L_36);
  4251. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_36)->___solverPosition;
  4252. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
  4253. L_38 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_32, L_37, NULL);
  4254. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39;
  4255. L_39 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_27, L_38, NULL);
  4256. V_4 = L_39;
  4257. int32_t L_40 = V_3;
  4258. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41 = V_4;
  4259. IKSolverFABRIK_SolverRotate_m443F9B077E0C6CB11B6C1D21978B2B15426775FB(__this, L_40, L_41, (bool)0, NULL);
  4260. int32_t L_42 = V_3;
  4261. V_3 = ((int32_t)il2cpp_codegen_add(L_42, 1));
  4262. }
  4263. IL_0099:
  4264. {
  4265. int32_t L_43 = V_3;
  4266. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_44 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4267. NullCheck(L_44);
  4268. if ((((int32_t)L_43) < ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_44)->max_length)), 1)))))
  4269. {
  4270. goto IL_003a;
  4271. }
  4272. }
  4273. IL_00a6:
  4274. {
  4275. V_1 = (bool)0;
  4276. int32_t L_45 = ___1_limitBone;
  4277. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_46 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4278. int32_t L_47 = ___1_limitBone;
  4279. NullCheck(L_46);
  4280. int32_t L_48 = L_47;
  4281. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_49 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
  4282. NullCheck(L_49);
  4283. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_49)->___solverRotation;
  4284. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_51;
  4285. L_51 = IKSolverFABRIK_GetLimitedRotation_mD2685B7ACC9B2BBA4458C82B02F0AC6360308B91(__this, L_45, L_50, (&V_1), NULL);
  4286. V_2 = L_51;
  4287. bool L_52 = V_1;
  4288. if (!L_52)
  4289. {
  4290. goto IL_0192;
  4291. }
  4292. }
  4293. {
  4294. int32_t L_53 = ___1_limitBone;
  4295. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_54 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4296. NullCheck(L_54);
  4297. if ((((int32_t)L_53) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_54)->max_length)), 1)))))
  4298. {
  4299. goto IL_0184;
  4300. }
  4301. }
  4302. {
  4303. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_55 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4304. int32_t L_56 = ___1_limitBone;
  4305. NullCheck(L_55);
  4306. int32_t L_57 = L_56;
  4307. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_58 = (L_55)->GetAt(static_cast<il2cpp_array_size_t>(L_57));
  4308. NullCheck(L_58);
  4309. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_58)->___solverRotation;
  4310. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60 = V_2;
  4311. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_61;
  4312. L_61 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_59, L_60, NULL);
  4313. V_5 = L_61;
  4314. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_62 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4315. int32_t L_63 = ___1_limitBone;
  4316. NullCheck(L_62);
  4317. int32_t L_64 = L_63;
  4318. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_65 = (L_62)->GetAt(static_cast<il2cpp_array_size_t>(L_64));
  4319. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66 = V_2;
  4320. NullCheck(L_65);
  4321. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_65)->___solverRotation = L_66;
  4322. int32_t L_67 = ___1_limitBone;
  4323. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_68 = V_5;
  4324. IKSolverFABRIK_SolverRotateChildren_m19FA0F9A683FC8B889D99756763449115E251A50(__this, L_67, L_68, NULL);
  4325. int32_t L_69 = ___1_limitBone;
  4326. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_70 = V_5;
  4327. IKSolverFABRIK_SolverMoveChildrenAroundPoint_m24DF501E82A6155445BA204CDBEFDD6C98F565A2(__this, L_69, L_70, NULL);
  4328. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_71 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4329. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_72 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4330. NullCheck(L_72);
  4331. NullCheck(L_71);
  4332. int32_t L_73 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_72)->max_length)), 1));
  4333. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
  4334. NullCheck(L_74);
  4335. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_74)->___solverPosition;
  4336. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_76 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4337. int32_t L_77 = ___0_rotateBone;
  4338. NullCheck(L_76);
  4339. int32_t L_78 = L_77;
  4340. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_79 = (L_76)->GetAt(static_cast<il2cpp_array_size_t>(L_78));
  4341. NullCheck(L_79);
  4342. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_79)->___solverPosition;
  4343. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
  4344. L_81 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_75, L_80, NULL);
  4345. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82 = V_0;
  4346. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_83 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4347. int32_t L_84 = ___0_rotateBone;
  4348. NullCheck(L_83);
  4349. int32_t L_85 = L_84;
  4350. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_86 = (L_83)->GetAt(static_cast<il2cpp_array_size_t>(L_85));
  4351. NullCheck(L_86);
  4352. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_86)->___solverPosition;
  4353. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
  4354. L_88 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_82, L_87, NULL);
  4355. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_89;
  4356. L_89 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_81, L_88, NULL);
  4357. V_6 = L_89;
  4358. int32_t L_90 = ___0_rotateBone;
  4359. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_91 = V_6;
  4360. IKSolverFABRIK_SolverRotate_m443F9B077E0C6CB11B6C1D21978B2B15426775FB(__this, L_90, L_91, (bool)1, NULL);
  4361. int32_t L_92 = ___0_rotateBone;
  4362. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_93 = V_6;
  4363. IKSolverFABRIK_SolverMoveChildrenAroundPoint_m24DF501E82A6155445BA204CDBEFDD6C98F565A2(__this, L_92, L_93, NULL);
  4364. int32_t L_94 = ___0_rotateBone;
  4365. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95 = V_0;
  4366. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_96 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4367. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_97 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4368. NullCheck(L_97);
  4369. NullCheck(L_96);
  4370. int32_t L_98 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_97)->max_length)), 1));
  4371. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_99 = (L_96)->GetAt(static_cast<il2cpp_array_size_t>(L_98));
  4372. NullCheck(L_99);
  4373. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_99)->___solverPosition;
  4374. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
  4375. L_101 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_95, L_100, NULL);
  4376. IKSolverFABRIK_SolverMove_mFF38212783430C3368105B72AA0BFEF3ED87ED73(__this, L_94, L_101, NULL);
  4377. goto IL_0192;
  4378. }
  4379. IL_0184:
  4380. {
  4381. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_102 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4382. int32_t L_103 = ___1_limitBone;
  4383. NullCheck(L_102);
  4384. int32_t L_104 = L_103;
  4385. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_105 = (L_102)->GetAt(static_cast<il2cpp_array_size_t>(L_104));
  4386. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_106 = V_2;
  4387. NullCheck(L_105);
  4388. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_105)->___solverRotation = L_106;
  4389. }
  4390. IL_0192:
  4391. {
  4392. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_107 = __this->___limitedBones;
  4393. int32_t L_108 = ___1_limitBone;
  4394. NullCheck(L_107);
  4395. (L_107)->SetAt(static_cast<il2cpp_array_size_t>(L_108), (bool)1);
  4396. return;
  4397. }
  4398. }
  4399. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_BackwardReach_mDD2D453B45B34C1270FA86B208AA44F9DBA94676 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
  4400. {
  4401. {
  4402. bool L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___useRotationLimits;
  4403. if (!L_0)
  4404. {
  4405. goto IL_0010;
  4406. }
  4407. }
  4408. {
  4409. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_position;
  4410. IKSolverFABRIK_BackwardReachLimited_m8270FAB0A75A8EEC8F8F8FE4DA099DA0203BAEB1(__this, L_1, NULL);
  4411. return;
  4412. }
  4413. IL_0010:
  4414. {
  4415. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_position;
  4416. IKSolverFABRIK_BackwardReachUnlimited_m792B0AEBAC3E9077DFF534826505DEA0A35BA955(__this, L_2, NULL);
  4417. return;
  4418. }
  4419. }
  4420. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_BackwardReachUnlimited_m792B0AEBAC3E9077DFF534826505DEA0A35BA955 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
  4421. {
  4422. int32_t V_0 = 0;
  4423. {
  4424. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4425. NullCheck(L_0);
  4426. int32_t L_1 = 0;
  4427. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  4428. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_position;
  4429. NullCheck(L_2);
  4430. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___solverPosition = L_3;
  4431. V_0 = 1;
  4432. goto IL_0054;
  4433. }
  4434. IL_0012:
  4435. {
  4436. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4437. int32_t L_5 = V_0;
  4438. NullCheck(L_4);
  4439. int32_t L_6 = L_5;
  4440. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  4441. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_8 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4442. int32_t L_9 = V_0;
  4443. NullCheck(L_8);
  4444. int32_t L_10 = L_9;
  4445. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  4446. NullCheck(L_11);
  4447. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_11)->___solverPosition;
  4448. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_13 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4449. int32_t L_14 = V_0;
  4450. NullCheck(L_13);
  4451. int32_t L_15 = ((int32_t)il2cpp_codegen_subtract(L_14, 1));
  4452. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  4453. NullCheck(L_16);
  4454. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_16)->___solverPosition;
  4455. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_18 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4456. int32_t L_19 = V_0;
  4457. NullCheck(L_18);
  4458. int32_t L_20 = ((int32_t)il2cpp_codegen_subtract(L_19, 1));
  4459. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  4460. NullCheck(L_21);
  4461. float L_22 = L_21->___length;
  4462. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  4463. L_23 = IKSolverFABRIK_SolveJoint_m88377CBA14DBBCA356EC314E1B18E30759058AE9(__this, L_12, L_17, L_22, NULL);
  4464. NullCheck(L_7);
  4465. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_7)->___solverPosition = L_23;
  4466. int32_t L_24 = V_0;
  4467. V_0 = ((int32_t)il2cpp_codegen_add(L_24, 1));
  4468. }
  4469. IL_0054:
  4470. {
  4471. int32_t L_25 = V_0;
  4472. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_26 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4473. NullCheck(L_26);
  4474. if ((((int32_t)L_25) < ((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))))
  4475. {
  4476. goto IL_0012;
  4477. }
  4478. }
  4479. {
  4480. return;
  4481. }
  4482. }
  4483. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_BackwardReachLimited_m8270FAB0A75A8EEC8F8F8FE4DA099DA0203BAEB1 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
  4484. {
  4485. static bool s_Il2CppMethodInitialized;
  4486. if (!s_Il2CppMethodInitialized)
  4487. {
  4488. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4489. s_Il2CppMethodInitialized = true;
  4490. }
  4491. int32_t V_0 = 0;
  4492. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  4493. memset((&V_1), 0, sizeof(V_1));
  4494. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
  4495. memset((&V_2), 0, sizeof(V_2));
  4496. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
  4497. memset((&V_3), 0, sizeof(V_3));
  4498. bool V_4 = false;
  4499. int32_t V_5 = 0;
  4500. {
  4501. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4502. NullCheck(L_0);
  4503. int32_t L_1 = 0;
  4504. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  4505. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_position;
  4506. NullCheck(L_2);
  4507. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___solverPosition = L_3;
  4508. V_0 = 0;
  4509. goto IL_0121;
  4510. }
  4511. IL_0015:
  4512. {
  4513. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4514. int32_t L_5 = V_0;
  4515. NullCheck(L_4);
  4516. int32_t L_6 = ((int32_t)il2cpp_codegen_add(L_5, 1));
  4517. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  4518. NullCheck(L_7);
  4519. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_7)->___solverPosition;
  4520. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_9 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4521. int32_t L_10 = V_0;
  4522. NullCheck(L_9);
  4523. int32_t L_11 = L_10;
  4524. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  4525. NullCheck(L_12);
  4526. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_12)->___solverPosition;
  4527. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_14 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4528. int32_t L_15 = V_0;
  4529. NullCheck(L_14);
  4530. int32_t L_16 = L_15;
  4531. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  4532. NullCheck(L_17);
  4533. float L_18 = L_17->___length;
  4534. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  4535. L_19 = IKSolverFABRIK_SolveJoint_m88377CBA14DBBCA356EC314E1B18E30759058AE9(__this, L_8, L_13, L_18, NULL);
  4536. V_1 = L_19;
  4537. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_20 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4538. int32_t L_21 = V_0;
  4539. NullCheck(L_20);
  4540. int32_t L_22 = L_21;
  4541. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  4542. NullCheck(L_23);
  4543. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_23)->___solverRotation;
  4544. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_25 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4545. int32_t L_26 = V_0;
  4546. NullCheck(L_25);
  4547. int32_t L_27 = L_26;
  4548. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
  4549. NullCheck(L_28);
  4550. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = L_28->___axis;
  4551. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  4552. L_30 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_24, L_29, NULL);
  4553. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_1;
  4554. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_32 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4555. int32_t L_33 = V_0;
  4556. NullCheck(L_32);
  4557. int32_t L_34 = L_33;
  4558. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  4559. NullCheck(L_35);
  4560. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_35)->___solverPosition;
  4561. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  4562. L_37 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_31, L_36, NULL);
  4563. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
  4564. L_38 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_30, L_37, NULL);
  4565. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_39 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4566. int32_t L_40 = V_0;
  4567. NullCheck(L_39);
  4568. int32_t L_41 = L_40;
  4569. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
  4570. NullCheck(L_42);
  4571. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_43 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_42)->___solverRotation;
  4572. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44;
  4573. L_44 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_38, L_43, NULL);
  4574. V_2 = L_44;
  4575. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_45 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4576. int32_t L_46 = V_0;
  4577. NullCheck(L_45);
  4578. int32_t L_47 = L_46;
  4579. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_48 = (L_45)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
  4580. NullCheck(L_48);
  4581. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_49;
  4582. L_49 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_48, NULL);
  4583. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4584. bool L_50;
  4585. L_50 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_49, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  4586. if (!L_50)
  4587. {
  4588. goto IL_00b2;
  4589. }
  4590. }
  4591. {
  4592. V_4 = (bool)0;
  4593. int32_t L_51 = V_0;
  4594. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52 = V_2;
  4595. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_53;
  4596. L_53 = IKSolverFABRIK_GetLimitedRotation_mD2685B7ACC9B2BBA4458C82B02F0AC6360308B91(__this, L_51, L_52, (&V_4), NULL);
  4597. V_2 = L_53;
  4598. }
  4599. IL_00b2:
  4600. {
  4601. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_54 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4602. int32_t L_55 = V_0;
  4603. NullCheck(L_54);
  4604. int32_t L_56 = L_55;
  4605. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
  4606. NullCheck(L_57);
  4607. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_57)->___solverRotation;
  4608. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59 = V_2;
  4609. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60;
  4610. L_60 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_58, L_59, NULL);
  4611. V_3 = L_60;
  4612. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_61 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4613. int32_t L_62 = V_0;
  4614. NullCheck(L_61);
  4615. int32_t L_63 = L_62;
  4616. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_64 = (L_61)->GetAt(static_cast<il2cpp_array_size_t>(L_63));
  4617. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65 = V_2;
  4618. NullCheck(L_64);
  4619. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_64)->___solverRotation = L_65;
  4620. int32_t L_66 = V_0;
  4621. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_67 = V_3;
  4622. IKSolverFABRIK_SolverRotateChildren_m19FA0F9A683FC8B889D99756763449115E251A50(__this, L_66, L_67, NULL);
  4623. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_68 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4624. int32_t L_69 = V_0;
  4625. NullCheck(L_68);
  4626. int32_t L_70 = ((int32_t)il2cpp_codegen_add(L_69, 1));
  4627. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_71 = (L_68)->GetAt(static_cast<il2cpp_array_size_t>(L_70));
  4628. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_72 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4629. int32_t L_73 = V_0;
  4630. NullCheck(L_72);
  4631. int32_t L_74 = L_73;
  4632. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_75 = (L_72)->GetAt(static_cast<il2cpp_array_size_t>(L_74));
  4633. NullCheck(L_75);
  4634. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_75)->___solverPosition;
  4635. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_77 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4636. int32_t L_78 = V_0;
  4637. NullCheck(L_77);
  4638. int32_t L_79 = L_78;
  4639. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_80 = (L_77)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
  4640. NullCheck(L_80);
  4641. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_81 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_80)->___solverRotation;
  4642. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_82 = __this->___solverLocalPositions;
  4643. int32_t L_83 = V_0;
  4644. NullCheck(L_82);
  4645. int32_t L_84 = ((int32_t)il2cpp_codegen_add(L_83, 1));
  4646. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = (L_82)->GetAt(static_cast<il2cpp_array_size_t>(L_84));
  4647. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
  4648. L_86 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_81, L_85, NULL);
  4649. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
  4650. L_87 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_76, L_86, NULL);
  4651. NullCheck(L_71);
  4652. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_71)->___solverPosition = L_87;
  4653. int32_t L_88 = V_0;
  4654. V_0 = ((int32_t)il2cpp_codegen_add(L_88, 1));
  4655. }
  4656. IL_0121:
  4657. {
  4658. int32_t L_89 = V_0;
  4659. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_90 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4660. NullCheck(L_90);
  4661. if ((((int32_t)L_89) < ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_90)->max_length)), 1)))))
  4662. {
  4663. goto IL_0015;
  4664. }
  4665. }
  4666. {
  4667. V_5 = 0;
  4668. goto IL_017f;
  4669. }
  4670. IL_0136:
  4671. {
  4672. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_91 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4673. int32_t L_92 = V_5;
  4674. NullCheck(L_91);
  4675. int32_t L_93 = L_92;
  4676. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_94 = (L_91)->GetAt(static_cast<il2cpp_array_size_t>(L_93));
  4677. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_95 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4678. int32_t L_96 = V_5;
  4679. NullCheck(L_95);
  4680. int32_t L_97 = L_96;
  4681. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_98 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
  4682. NullCheck(L_98);
  4683. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_99 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_98)->___solverRotation;
  4684. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100;
  4685. L_100 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  4686. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
  4687. L_101 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_99, L_100, NULL);
  4688. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_102 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4689. int32_t L_103 = V_5;
  4690. NullCheck(L_102);
  4691. int32_t L_104 = L_103;
  4692. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_105 = (L_102)->GetAt(static_cast<il2cpp_array_size_t>(L_104));
  4693. NullCheck(L_105);
  4694. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_106 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_105)->___solverRotation;
  4695. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_107;
  4696. L_107 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  4697. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108;
  4698. L_108 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_106, L_107, NULL);
  4699. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_109;
  4700. L_109 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_101, L_108, NULL);
  4701. NullCheck(L_94);
  4702. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_94)->___solverRotation = L_109;
  4703. int32_t L_110 = V_5;
  4704. V_5 = ((int32_t)il2cpp_codegen_add(L_110, 1));
  4705. }
  4706. IL_017f:
  4707. {
  4708. int32_t L_111 = V_5;
  4709. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_112 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4710. NullCheck(L_112);
  4711. if ((((int32_t)L_111) < ((int32_t)((int32_t)(((RuntimeArray*)L_112)->max_length)))))
  4712. {
  4713. goto IL_0136;
  4714. }
  4715. }
  4716. {
  4717. return;
  4718. }
  4719. }
  4720. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_MapToSolverPositions_mA8FBEF7FE47EBED9A7786AD1F48BF261170D92B4 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method)
  4721. {
  4722. int32_t V_0 = 0;
  4723. {
  4724. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4725. NullCheck(L_0);
  4726. int32_t L_1 = 0;
  4727. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  4728. NullCheck(L_2);
  4729. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___transform;
  4730. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4731. NullCheck(L_4);
  4732. int32_t L_5 = 0;
  4733. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  4734. NullCheck(L_6);
  4735. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6)->___solverPosition;
  4736. NullCheck(L_3);
  4737. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_3, L_7, NULL);
  4738. V_0 = 0;
  4739. goto IL_0073;
  4740. }
  4741. IL_0023:
  4742. {
  4743. bool L_8 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___XY;
  4744. if (!L_8)
  4745. {
  4746. goto IL_004e;
  4747. }
  4748. }
  4749. {
  4750. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_9 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4751. int32_t L_10 = V_0;
  4752. NullCheck(L_9);
  4753. int32_t L_11 = L_10;
  4754. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  4755. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_13 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4756. int32_t L_14 = V_0;
  4757. NullCheck(L_13);
  4758. int32_t L_15 = ((int32_t)il2cpp_codegen_add(L_14, 1));
  4759. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  4760. NullCheck(L_16);
  4761. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_16)->___solverPosition;
  4762. NullCheck(L_12);
  4763. Bone_Swing2D_mB3119950E12FDE1B054518C0C474F533DEFC1D82(L_12, L_17, (1.0f), NULL);
  4764. goto IL_006f;
  4765. }
  4766. IL_004e:
  4767. {
  4768. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_18 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4769. int32_t L_19 = V_0;
  4770. NullCheck(L_18);
  4771. int32_t L_20 = L_19;
  4772. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  4773. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_22 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4774. int32_t L_23 = V_0;
  4775. NullCheck(L_22);
  4776. int32_t L_24 = ((int32_t)il2cpp_codegen_add(L_23, 1));
  4777. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  4778. NullCheck(L_25);
  4779. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_25)->___solverPosition;
  4780. NullCheck(L_21);
  4781. Bone_Swing_m3024054C40C12CACB343DA9499845D32156856E5(L_21, L_26, (1.0f), NULL);
  4782. }
  4783. IL_006f:
  4784. {
  4785. int32_t L_27 = V_0;
  4786. V_0 = ((int32_t)il2cpp_codegen_add(L_27, 1));
  4787. }
  4788. IL_0073:
  4789. {
  4790. int32_t L_28 = V_0;
  4791. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_29 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4792. NullCheck(L_29);
  4793. if ((((int32_t)L_28) < ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_29)->max_length)), 1)))))
  4794. {
  4795. goto IL_0023;
  4796. }
  4797. }
  4798. {
  4799. return;
  4800. }
  4801. }
  4802. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK_MapToSolverPositionsLimited_m8738D3B234AF85815A82AA0F1CD38E893F9F4354 (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method)
  4803. {
  4804. int32_t V_0 = 0;
  4805. {
  4806. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4807. NullCheck(L_0);
  4808. int32_t L_1 = 0;
  4809. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  4810. NullCheck(L_2);
  4811. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___transform;
  4812. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4813. NullCheck(L_4);
  4814. int32_t L_5 = 0;
  4815. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  4816. NullCheck(L_6);
  4817. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6)->___solverPosition;
  4818. NullCheck(L_3);
  4819. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_3, L_7, NULL);
  4820. V_0 = 0;
  4821. goto IL_0053;
  4822. }
  4823. IL_0023:
  4824. {
  4825. int32_t L_8 = V_0;
  4826. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_9 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4827. NullCheck(L_9);
  4828. if ((((int32_t)L_8) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_9)->max_length)), 1)))))
  4829. {
  4830. goto IL_004f;
  4831. }
  4832. }
  4833. {
  4834. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_10 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4835. int32_t L_11 = V_0;
  4836. NullCheck(L_10);
  4837. int32_t L_12 = L_11;
  4838. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  4839. NullCheck(L_13);
  4840. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_13)->___transform;
  4841. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_15 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4842. int32_t L_16 = V_0;
  4843. NullCheck(L_15);
  4844. int32_t L_17 = L_16;
  4845. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  4846. NullCheck(L_18);
  4847. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_18)->___solverRotation;
  4848. NullCheck(L_14);
  4849. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_14, L_19, NULL);
  4850. }
  4851. IL_004f:
  4852. {
  4853. int32_t L_20 = V_0;
  4854. V_0 = ((int32_t)il2cpp_codegen_add(L_20, 1));
  4855. }
  4856. IL_0053:
  4857. {
  4858. int32_t L_21 = V_0;
  4859. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_22 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)__this)->___bones;
  4860. NullCheck(L_22);
  4861. if ((((int32_t)L_21) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
  4862. {
  4863. goto IL_0023;
  4864. }
  4865. }
  4866. {
  4867. return;
  4868. }
  4869. }
  4870. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIK__ctor_mFE24AF30AAD34908009C4B11505F62F2F843139E (IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* __this, const RuntimeMethod* method)
  4871. {
  4872. static bool s_Il2CppMethodInitialized;
  4873. if (!s_Il2CppMethodInitialized)
  4874. {
  4875. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var);
  4876. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
  4877. s_Il2CppMethodInitialized = true;
  4878. }
  4879. {
  4880. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_0 = (BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4*)(BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4*)SZArrayNew(BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var, (uint32_t)0);
  4881. __this->___limitedBones = L_0;
  4882. Il2CppCodeGenWriteBarrier((void**)(&__this->___limitedBones), (void*)L_0);
  4883. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)0);
  4884. __this->___solverLocalPositions = L_1;
  4885. Il2CppCodeGenWriteBarrier((void**)(&__this->___solverLocalPositions), (void*)L_1);
  4886. IKSolverHeuristic__ctor_mA6507737B85B0103335026BB482227CBC68486E0(__this, NULL);
  4887. return;
  4888. }
  4889. }
  4890. #ifdef __clang__
  4891. #pragma clang diagnostic pop
  4892. #endif
  4893. #ifdef __clang__
  4894. #pragma clang diagnostic push
  4895. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4896. #pragma clang diagnostic ignored "-Wunused-variable"
  4897. #endif
  4898. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverFABRIKRoot_IsValid_m8D52BD9CAD91F5976D0E1857822A27B8E72ED340 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, String_t** ___0_message, const RuntimeMethod* method)
  4899. {
  4900. static bool s_Il2CppMethodInitialized;
  4901. if (!s_Il2CppMethodInitialized)
  4902. {
  4903. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4904. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
  4905. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2624108011D5FE44FFAB2BB152CF96CE5E27AAF9);
  4906. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2A59F4A1517DDFFC15EF1B070170C10B0AD962ED);
  4907. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral771776082A070842E5A967F445608E78BFE331E6);
  4908. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral82212C4BAE946DDC57CD8E353358BC23CA53860B);
  4909. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8906C5F0384153EEABBB28EC24244FA0161B2658);
  4910. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral91DB92DDDE9DB6217B11DF34E9B9A6A99832475E);
  4911. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral971C6638320A0F65DBF4E0F751C2EA43427A0CC7);
  4912. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBB1638D209ED7099AB691478694CB0BA2BF6CC42);
  4913. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE25734E73CF61A7E10FB81AE5C184B3437C50CB3);
  4914. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE527E46C6545DED7D3801664C6207D6E2DA6AF73);
  4915. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFF331A9C899068EDF8574B99A8D12CCEDACB6FC3);
  4916. s_Il2CppMethodInitialized = true;
  4917. }
  4918. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* V_0 = NULL;
  4919. int32_t V_1 = 0;
  4920. int32_t V_2 = 0;
  4921. int32_t V_3 = 0;
  4922. int32_t V_4 = 0;
  4923. int32_t V_5 = 0;
  4924. int32_t V_6 = 0;
  4925. int32_t V_7 = 0;
  4926. int32_t V_8 = 0;
  4927. int32_t V_9 = 0;
  4928. {
  4929. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_0 = __this->___chains;
  4930. NullCheck(L_0);
  4931. if ((((RuntimeArray*)L_0)->max_length))
  4932. {
  4933. goto IL_0012;
  4934. }
  4935. }
  4936. {
  4937. String_t** L_1 = ___0_message;
  4938. *((RuntimeObject**)L_1) = (RuntimeObject*)_stringLiteralFF331A9C899068EDF8574B99A8D12CCEDACB6FC3;
  4939. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_1, (void*)(RuntimeObject*)_stringLiteralFF331A9C899068EDF8574B99A8D12CCEDACB6FC3);
  4940. return (bool)0;
  4941. }
  4942. IL_0012:
  4943. {
  4944. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_2 = __this->___chains;
  4945. V_0 = L_2;
  4946. V_1 = 0;
  4947. goto IL_002e;
  4948. }
  4949. IL_001d:
  4950. {
  4951. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_3 = V_0;
  4952. int32_t L_4 = V_1;
  4953. NullCheck(L_3);
  4954. int32_t L_5 = L_4;
  4955. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  4956. String_t** L_7 = ___0_message;
  4957. NullCheck(L_6);
  4958. bool L_8;
  4959. L_8 = FABRIKChain_IsValid_mE198841BE07DAF14123B09DA52ED05974C884518(L_6, L_7, NULL);
  4960. if (L_8)
  4961. {
  4962. goto IL_002a;
  4963. }
  4964. }
  4965. {
  4966. return (bool)0;
  4967. }
  4968. IL_002a:
  4969. {
  4970. int32_t L_9 = V_1;
  4971. V_1 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  4972. }
  4973. IL_002e:
  4974. {
  4975. int32_t L_10 = V_1;
  4976. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_11 = V_0;
  4977. NullCheck(L_11);
  4978. if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
  4979. {
  4980. goto IL_001d;
  4981. }
  4982. }
  4983. {
  4984. V_2 = 0;
  4985. goto IL_0094;
  4986. }
  4987. IL_0038:
  4988. {
  4989. V_3 = 0;
  4990. goto IL_0085;
  4991. }
  4992. IL_003c:
  4993. {
  4994. int32_t L_12 = V_2;
  4995. int32_t L_13 = V_3;
  4996. if ((((int32_t)L_12) == ((int32_t)L_13)))
  4997. {
  4998. goto IL_0081;
  4999. }
  5000. }
  5001. {
  5002. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_14 = __this->___chains;
  5003. int32_t L_15 = V_2;
  5004. NullCheck(L_14);
  5005. int32_t L_16 = L_15;
  5006. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  5007. NullCheck(L_17);
  5008. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_18 = L_17->___ik;
  5009. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_19 = __this->___chains;
  5010. int32_t L_20 = V_3;
  5011. NullCheck(L_19);
  5012. int32_t L_21 = L_20;
  5013. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
  5014. NullCheck(L_22);
  5015. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_23 = L_22->___ik;
  5016. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  5017. bool L_24;
  5018. L_24 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_18, L_23, NULL);
  5019. if (!L_24)
  5020. {
  5021. goto IL_0081;
  5022. }
  5023. }
  5024. {
  5025. String_t** L_25 = ___0_message;
  5026. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_26 = __this->___chains;
  5027. int32_t L_27 = V_2;
  5028. NullCheck(L_26);
  5029. int32_t L_28 = L_27;
  5030. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
  5031. NullCheck(L_29);
  5032. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_30 = L_29->___ik;
  5033. NullCheck(L_30);
  5034. String_t* L_31;
  5035. L_31 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_30, NULL);
  5036. String_t* L_32;
  5037. L_32 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_31, _stringLiteral2624108011D5FE44FFAB2BB152CF96CE5E27AAF9, NULL);
  5038. *((RuntimeObject**)L_25) = (RuntimeObject*)L_32;
  5039. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_25, (void*)(RuntimeObject*)L_32);
  5040. return (bool)0;
  5041. }
  5042. IL_0081:
  5043. {
  5044. int32_t L_33 = V_3;
  5045. V_3 = ((int32_t)il2cpp_codegen_add(L_33, 1));
  5046. }
  5047. IL_0085:
  5048. {
  5049. int32_t L_34 = V_3;
  5050. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_35 = __this->___chains;
  5051. NullCheck(L_35);
  5052. if ((((int32_t)L_34) < ((int32_t)((int32_t)(((RuntimeArray*)L_35)->max_length)))))
  5053. {
  5054. goto IL_003c;
  5055. }
  5056. }
  5057. {
  5058. int32_t L_36 = V_2;
  5059. V_2 = ((int32_t)il2cpp_codegen_add(L_36, 1));
  5060. }
  5061. IL_0094:
  5062. {
  5063. int32_t L_37 = V_2;
  5064. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_38 = __this->___chains;
  5065. NullCheck(L_38);
  5066. if ((((int32_t)L_37) < ((int32_t)((int32_t)(((RuntimeArray*)L_38)->max_length)))))
  5067. {
  5068. goto IL_0038;
  5069. }
  5070. }
  5071. {
  5072. V_4 = 0;
  5073. goto IL_029a;
  5074. }
  5075. IL_00a7:
  5076. {
  5077. V_5 = 0;
  5078. goto IL_027d;
  5079. }
  5080. IL_00af:
  5081. {
  5082. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_39 = __this->___chains;
  5083. int32_t L_40 = V_4;
  5084. NullCheck(L_39);
  5085. int32_t L_41 = L_40;
  5086. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
  5087. NullCheck(L_42);
  5088. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_43 = L_42->___children;
  5089. int32_t L_44 = V_5;
  5090. NullCheck(L_43);
  5091. int32_t L_45 = L_44;
  5092. int32_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
  5093. V_6 = L_46;
  5094. int32_t L_47 = V_6;
  5095. if ((((int32_t)L_47) >= ((int32_t)0)))
  5096. {
  5097. goto IL_00f4;
  5098. }
  5099. }
  5100. {
  5101. String_t** L_48 = ___0_message;
  5102. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_49 = __this->___chains;
  5103. int32_t L_50 = V_4;
  5104. NullCheck(L_49);
  5105. int32_t L_51 = L_50;
  5106. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
  5107. NullCheck(L_52);
  5108. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_53 = L_52->___ik;
  5109. NullCheck(L_53);
  5110. String_t* L_54;
  5111. L_54 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_53, NULL);
  5112. String_t* L_55;
  5113. L_55 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_4), NULL);
  5114. String_t* L_56;
  5115. L_56 = String_Concat_m093934F71A9B351911EE46311674ED463B180006(L_54, _stringLiteralE25734E73CF61A7E10FB81AE5C184B3437C50CB3, L_55, _stringLiteral91DB92DDDE9DB6217B11DF34E9B9A6A99832475E, NULL);
  5116. *((RuntimeObject**)L_48) = (RuntimeObject*)L_56;
  5117. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_48, (void*)(RuntimeObject*)L_56);
  5118. return (bool)0;
  5119. }
  5120. IL_00f4:
  5121. {
  5122. int32_t L_57 = V_6;
  5123. int32_t L_58 = V_4;
  5124. if ((!(((uint32_t)L_57) == ((uint32_t)L_58))))
  5125. {
  5126. goto IL_0127;
  5127. }
  5128. }
  5129. {
  5130. String_t** L_59 = ___0_message;
  5131. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_60 = __this->___chains;
  5132. int32_t L_61 = V_4;
  5133. NullCheck(L_60);
  5134. int32_t L_62 = L_61;
  5135. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_63 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
  5136. NullCheck(L_63);
  5137. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_64 = L_63->___ik;
  5138. NullCheck(L_64);
  5139. String_t* L_65;
  5140. L_65 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_64, NULL);
  5141. String_t* L_66;
  5142. L_66 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_4), NULL);
  5143. String_t* L_67;
  5144. L_67 = String_Concat_m093934F71A9B351911EE46311674ED463B180006(L_65, _stringLiteralE25734E73CF61A7E10FB81AE5C184B3437C50CB3, L_66, _stringLiteral771776082A070842E5A967F445608E78BFE331E6, NULL);
  5145. *((RuntimeObject**)L_59) = (RuntimeObject*)L_67;
  5146. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_59, (void*)(RuntimeObject*)L_67);
  5147. return (bool)0;
  5148. }
  5149. IL_0127:
  5150. {
  5151. int32_t L_68 = V_6;
  5152. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_69 = __this->___chains;
  5153. NullCheck(L_69);
  5154. if ((((int32_t)L_68) < ((int32_t)((int32_t)(((RuntimeArray*)L_69)->max_length)))))
  5155. {
  5156. goto IL_0160;
  5157. }
  5158. }
  5159. {
  5160. String_t** L_70 = ___0_message;
  5161. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_71 = __this->___chains;
  5162. int32_t L_72 = V_4;
  5163. NullCheck(L_71);
  5164. int32_t L_73 = L_72;
  5165. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
  5166. NullCheck(L_74);
  5167. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_75 = L_74->___ik;
  5168. NullCheck(L_75);
  5169. String_t* L_76;
  5170. L_76 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_75, NULL);
  5171. String_t* L_77;
  5172. L_77 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_4), NULL);
  5173. String_t* L_78;
  5174. L_78 = String_Concat_m093934F71A9B351911EE46311674ED463B180006(L_76, _stringLiteralE25734E73CF61A7E10FB81AE5C184B3437C50CB3, L_77, _stringLiteralBB1638D209ED7099AB691478694CB0BA2BF6CC42, NULL);
  5175. *((RuntimeObject**)L_70) = (RuntimeObject*)L_78;
  5176. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_70, (void*)(RuntimeObject*)L_78);
  5177. return (bool)0;
  5178. }
  5179. IL_0160:
  5180. {
  5181. V_7 = 0;
  5182. goto IL_0201;
  5183. }
  5184. IL_0168:
  5185. {
  5186. int32_t L_79 = V_6;
  5187. int32_t L_80 = V_7;
  5188. if ((!(((uint32_t)L_79) == ((uint32_t)L_80))))
  5189. {
  5190. goto IL_01fb;
  5191. }
  5192. }
  5193. {
  5194. V_8 = 0;
  5195. goto IL_01e4;
  5196. }
  5197. IL_0176:
  5198. {
  5199. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_81 = __this->___chains;
  5200. int32_t L_82 = V_7;
  5201. NullCheck(L_81);
  5202. int32_t L_83 = L_82;
  5203. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_84 = (L_81)->GetAt(static_cast<il2cpp_array_size_t>(L_83));
  5204. NullCheck(L_84);
  5205. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_85 = L_84->___children;
  5206. int32_t L_86 = V_8;
  5207. NullCheck(L_85);
  5208. int32_t L_87 = L_86;
  5209. int32_t L_88 = (L_85)->GetAt(static_cast<il2cpp_array_size_t>(L_87));
  5210. int32_t L_89 = V_4;
  5211. if ((!(((uint32_t)L_88) == ((uint32_t)L_89))))
  5212. {
  5213. goto IL_01de;
  5214. }
  5215. }
  5216. {
  5217. String_t** L_90 = ___0_message;
  5218. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_91 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)5);
  5219. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_92 = L_91;
  5220. NullCheck(L_92);
  5221. (L_92)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral82212C4BAE946DDC57CD8E353358BC23CA53860B);
  5222. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_93 = L_92;
  5223. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_94 = __this->___chains;
  5224. int32_t L_95 = V_7;
  5225. NullCheck(L_94);
  5226. int32_t L_96 = L_95;
  5227. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_97 = (L_94)->GetAt(static_cast<il2cpp_array_size_t>(L_96));
  5228. NullCheck(L_97);
  5229. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_98 = L_97->___ik;
  5230. NullCheck(L_98);
  5231. String_t* L_99;
  5232. L_99 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_98, NULL);
  5233. NullCheck(L_93);
  5234. (L_93)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_99);
  5235. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_100 = L_93;
  5236. NullCheck(L_100);
  5237. (L_100)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral8906C5F0384153EEABBB28EC24244FA0161B2658);
  5238. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_101 = L_100;
  5239. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_102 = __this->___chains;
  5240. int32_t L_103 = V_4;
  5241. NullCheck(L_102);
  5242. int32_t L_104 = L_103;
  5243. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_105 = (L_102)->GetAt(static_cast<il2cpp_array_size_t>(L_104));
  5244. NullCheck(L_105);
  5245. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_106 = L_105->___ik;
  5246. NullCheck(L_106);
  5247. String_t* L_107;
  5248. L_107 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_106, NULL);
  5249. NullCheck(L_101);
  5250. (L_101)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_107);
  5251. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_108 = L_101;
  5252. NullCheck(L_108);
  5253. (L_108)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral2A59F4A1517DDFFC15EF1B070170C10B0AD962ED);
  5254. String_t* L_109;
  5255. L_109 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_108, NULL);
  5256. *((RuntimeObject**)L_90) = (RuntimeObject*)L_109;
  5257. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_90, (void*)(RuntimeObject*)L_109);
  5258. return (bool)0;
  5259. }
  5260. IL_01de:
  5261. {
  5262. int32_t L_110 = V_8;
  5263. V_8 = ((int32_t)il2cpp_codegen_add(L_110, 1));
  5264. }
  5265. IL_01e4:
  5266. {
  5267. int32_t L_111 = V_8;
  5268. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_112 = __this->___chains;
  5269. int32_t L_113 = V_7;
  5270. NullCheck(L_112);
  5271. int32_t L_114 = L_113;
  5272. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_115 = (L_112)->GetAt(static_cast<il2cpp_array_size_t>(L_114));
  5273. NullCheck(L_115);
  5274. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_116 = L_115->___children;
  5275. NullCheck(L_116);
  5276. if ((((int32_t)L_111) < ((int32_t)((int32_t)(((RuntimeArray*)L_116)->max_length)))))
  5277. {
  5278. goto IL_0176;
  5279. }
  5280. }
  5281. IL_01fb:
  5282. {
  5283. int32_t L_117 = V_7;
  5284. V_7 = ((int32_t)il2cpp_codegen_add(L_117, 1));
  5285. }
  5286. IL_0201:
  5287. {
  5288. int32_t L_118 = V_7;
  5289. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_119 = __this->___chains;
  5290. NullCheck(L_119);
  5291. if ((((int32_t)L_118) < ((int32_t)((int32_t)(((RuntimeArray*)L_119)->max_length)))))
  5292. {
  5293. goto IL_0168;
  5294. }
  5295. }
  5296. {
  5297. V_9 = 0;
  5298. goto IL_0263;
  5299. }
  5300. IL_0215:
  5301. {
  5302. int32_t L_120 = V_5;
  5303. int32_t L_121 = V_9;
  5304. if ((((int32_t)L_120) == ((int32_t)L_121)))
  5305. {
  5306. goto IL_025d;
  5307. }
  5308. }
  5309. {
  5310. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_122 = __this->___chains;
  5311. int32_t L_123 = V_4;
  5312. NullCheck(L_122);
  5313. int32_t L_124 = L_123;
  5314. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_125 = (L_122)->GetAt(static_cast<il2cpp_array_size_t>(L_124));
  5315. NullCheck(L_125);
  5316. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_126 = L_125->___children;
  5317. int32_t L_127 = V_9;
  5318. NullCheck(L_126);
  5319. int32_t L_128 = L_127;
  5320. int32_t L_129 = (L_126)->GetAt(static_cast<il2cpp_array_size_t>(L_128));
  5321. int32_t L_130 = V_6;
  5322. if ((!(((uint32_t)L_129) == ((uint32_t)L_130))))
  5323. {
  5324. goto IL_025d;
  5325. }
  5326. }
  5327. {
  5328. String_t** L_131 = ___0_message;
  5329. String_t* L_132;
  5330. L_132 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_6), NULL);
  5331. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_133 = __this->___chains;
  5332. int32_t L_134 = V_4;
  5333. NullCheck(L_133);
  5334. int32_t L_135 = L_134;
  5335. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_136 = (L_133)->GetAt(static_cast<il2cpp_array_size_t>(L_135));
  5336. NullCheck(L_136);
  5337. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_137 = L_136->___ik;
  5338. NullCheck(L_137);
  5339. String_t* L_138;
  5340. L_138 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_137, NULL);
  5341. String_t* L_139;
  5342. L_139 = String_Concat_m093934F71A9B351911EE46311674ED463B180006(_stringLiteralE527E46C6545DED7D3801664C6207D6E2DA6AF73, L_132, _stringLiteral971C6638320A0F65DBF4E0F751C2EA43427A0CC7, L_138, NULL);
  5343. *((RuntimeObject**)L_131) = (RuntimeObject*)L_139;
  5344. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_131, (void*)(RuntimeObject*)L_139);
  5345. return (bool)0;
  5346. }
  5347. IL_025d:
  5348. {
  5349. int32_t L_140 = V_9;
  5350. V_9 = ((int32_t)il2cpp_codegen_add(L_140, 1));
  5351. }
  5352. IL_0263:
  5353. {
  5354. int32_t L_141 = V_9;
  5355. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_142 = __this->___chains;
  5356. int32_t L_143 = V_4;
  5357. NullCheck(L_142);
  5358. int32_t L_144 = L_143;
  5359. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_145 = (L_142)->GetAt(static_cast<il2cpp_array_size_t>(L_144));
  5360. NullCheck(L_145);
  5361. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_146 = L_145->___children;
  5362. NullCheck(L_146);
  5363. if ((((int32_t)L_141) < ((int32_t)((int32_t)(((RuntimeArray*)L_146)->max_length)))))
  5364. {
  5365. goto IL_0215;
  5366. }
  5367. }
  5368. {
  5369. int32_t L_147 = V_5;
  5370. V_5 = ((int32_t)il2cpp_codegen_add(L_147, 1));
  5371. }
  5372. IL_027d:
  5373. {
  5374. int32_t L_148 = V_5;
  5375. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_149 = __this->___chains;
  5376. int32_t L_150 = V_4;
  5377. NullCheck(L_149);
  5378. int32_t L_151 = L_150;
  5379. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_152 = (L_149)->GetAt(static_cast<il2cpp_array_size_t>(L_151));
  5380. NullCheck(L_152);
  5381. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_153 = L_152->___children;
  5382. NullCheck(L_153);
  5383. if ((((int32_t)L_148) < ((int32_t)((int32_t)(((RuntimeArray*)L_153)->max_length)))))
  5384. {
  5385. goto IL_00af;
  5386. }
  5387. }
  5388. {
  5389. int32_t L_154 = V_4;
  5390. V_4 = ((int32_t)il2cpp_codegen_add(L_154, 1));
  5391. }
  5392. IL_029a:
  5393. {
  5394. int32_t L_155 = V_4;
  5395. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_156 = __this->___chains;
  5396. NullCheck(L_156);
  5397. if ((((int32_t)L_155) < ((int32_t)((int32_t)(((RuntimeArray*)L_156)->max_length)))))
  5398. {
  5399. goto IL_00a7;
  5400. }
  5401. }
  5402. {
  5403. return (bool)1;
  5404. }
  5405. }
  5406. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIKRoot_StoreDefaultLocalState_m287A29C5765944FBA6785FDF38A957B2B0211037 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, const RuntimeMethod* method)
  5407. {
  5408. int32_t V_0 = 0;
  5409. {
  5410. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  5411. NullCheck(L_0);
  5412. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  5413. L_1 = Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95(L_0, NULL);
  5414. __this->___rootDefaultPosition = L_1;
  5415. V_0 = 0;
  5416. goto IL_0030;
  5417. }
  5418. IL_0015:
  5419. {
  5420. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_2 = __this->___chains;
  5421. int32_t L_3 = V_0;
  5422. NullCheck(L_2);
  5423. int32_t L_4 = L_3;
  5424. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  5425. NullCheck(L_5);
  5426. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_6 = L_5->___ik;
  5427. NullCheck(L_6);
  5428. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* L_7 = L_6->___solver;
  5429. NullCheck(L_7);
  5430. VirtualActionInvoker0::Invoke(9, L_7);
  5431. int32_t L_8 = V_0;
  5432. V_0 = ((int32_t)il2cpp_codegen_add(L_8, 1));
  5433. }
  5434. IL_0030:
  5435. {
  5436. int32_t L_9 = V_0;
  5437. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_10 = __this->___chains;
  5438. NullCheck(L_10);
  5439. if ((((int32_t)L_9) < ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
  5440. {
  5441. goto IL_0015;
  5442. }
  5443. }
  5444. {
  5445. return;
  5446. }
  5447. }
  5448. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIKRoot_FixTransforms_mE5099701C02642D23A5DACAA98BA8B45D75207D2 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, const RuntimeMethod* method)
  5449. {
  5450. int32_t V_0 = 0;
  5451. {
  5452. bool L_0;
  5453. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  5454. if (L_0)
  5455. {
  5456. goto IL_0009;
  5457. }
  5458. }
  5459. {
  5460. return;
  5461. }
  5462. IL_0009:
  5463. {
  5464. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  5465. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___rootDefaultPosition;
  5466. NullCheck(L_1);
  5467. Transform_set_localPosition_mDE1C997F7D79C0885210B7732B4BA50EE7D73134(L_1, L_2, NULL);
  5468. V_0 = 0;
  5469. goto IL_0039;
  5470. }
  5471. IL_001e:
  5472. {
  5473. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_3 = __this->___chains;
  5474. int32_t L_4 = V_0;
  5475. NullCheck(L_3);
  5476. int32_t L_5 = L_4;
  5477. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  5478. NullCheck(L_6);
  5479. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_7 = L_6->___ik;
  5480. NullCheck(L_7);
  5481. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* L_8 = L_7->___solver;
  5482. NullCheck(L_8);
  5483. VirtualActionInvoker0::Invoke(8, L_8);
  5484. int32_t L_9 = V_0;
  5485. V_0 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  5486. }
  5487. IL_0039:
  5488. {
  5489. int32_t L_10 = V_0;
  5490. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_11 = __this->___chains;
  5491. NullCheck(L_11);
  5492. if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
  5493. {
  5494. goto IL_001e;
  5495. }
  5496. }
  5497. {
  5498. return;
  5499. }
  5500. }
  5501. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIKRoot_OnInitiate_m69EE1C6550B61BD19626B8C08F569CDAEFC285A0 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, const RuntimeMethod* method)
  5502. {
  5503. static bool s_Il2CppMethodInitialized;
  5504. if (!s_Il2CppMethodInitialized)
  5505. {
  5506. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var);
  5507. s_Il2CppMethodInitialized = true;
  5508. }
  5509. int32_t V_0 = 0;
  5510. int32_t V_1 = 0;
  5511. {
  5512. V_0 = 0;
  5513. goto IL_0015;
  5514. }
  5515. IL_0004:
  5516. {
  5517. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_0 = __this->___chains;
  5518. int32_t L_1 = V_0;
  5519. NullCheck(L_0);
  5520. int32_t L_2 = L_1;
  5521. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  5522. NullCheck(L_3);
  5523. FABRIKChain_Initiate_mA6831A7418367ED262BF0EE1099BC2818D2CE8EC(L_3, NULL);
  5524. int32_t L_4 = V_0;
  5525. V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
  5526. }
  5527. IL_0015:
  5528. {
  5529. int32_t L_5 = V_0;
  5530. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_6 = __this->___chains;
  5531. NullCheck(L_6);
  5532. if ((((int32_t)L_5) < ((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
  5533. {
  5534. goto IL_0004;
  5535. }
  5536. }
  5537. {
  5538. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_7 = __this->___chains;
  5539. NullCheck(L_7);
  5540. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_8 = (BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4*)(BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4*)SZArrayNew(BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)));
  5541. __this->___isRoot = L_8;
  5542. Il2CppCodeGenWriteBarrier((void**)(&__this->___isRoot), (void*)L_8);
  5543. V_1 = 0;
  5544. goto IL_004a;
  5545. }
  5546. IL_0037:
  5547. {
  5548. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_9 = __this->___isRoot;
  5549. int32_t L_10 = V_1;
  5550. int32_t L_11 = V_1;
  5551. bool L_12;
  5552. L_12 = IKSolverFABRIKRoot_IsRoot_mDEF6233B39D152309283C7462F378E93BF342789(__this, L_11, NULL);
  5553. NullCheck(L_9);
  5554. (L_9)->SetAt(static_cast<il2cpp_array_size_t>(L_10), (bool)L_12);
  5555. int32_t L_13 = V_1;
  5556. V_1 = ((int32_t)il2cpp_codegen_add(L_13, 1));
  5557. }
  5558. IL_004a:
  5559. {
  5560. int32_t L_14 = V_1;
  5561. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_15 = __this->___chains;
  5562. NullCheck(L_15);
  5563. if ((((int32_t)L_14) < ((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))))
  5564. {
  5565. goto IL_0037;
  5566. }
  5567. }
  5568. {
  5569. return;
  5570. }
  5571. }
  5572. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverFABRIKRoot_IsRoot_mDEF6233B39D152309283C7462F378E93BF342789 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, int32_t ___0_index, const RuntimeMethod* method)
  5573. {
  5574. int32_t V_0 = 0;
  5575. int32_t V_1 = 0;
  5576. {
  5577. V_0 = 0;
  5578. goto IL_0036;
  5579. }
  5580. IL_0004:
  5581. {
  5582. V_1 = 0;
  5583. goto IL_0020;
  5584. }
  5585. IL_0008:
  5586. {
  5587. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_0 = __this->___chains;
  5588. int32_t L_1 = V_0;
  5589. NullCheck(L_0);
  5590. int32_t L_2 = L_1;
  5591. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  5592. NullCheck(L_3);
  5593. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = L_3->___children;
  5594. int32_t L_5 = V_1;
  5595. NullCheck(L_4);
  5596. int32_t L_6 = L_5;
  5597. int32_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  5598. int32_t L_8 = ___0_index;
  5599. if ((!(((uint32_t)L_7) == ((uint32_t)L_8))))
  5600. {
  5601. goto IL_001c;
  5602. }
  5603. }
  5604. {
  5605. return (bool)0;
  5606. }
  5607. IL_001c:
  5608. {
  5609. int32_t L_9 = V_1;
  5610. V_1 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  5611. }
  5612. IL_0020:
  5613. {
  5614. int32_t L_10 = V_1;
  5615. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_11 = __this->___chains;
  5616. int32_t L_12 = V_0;
  5617. NullCheck(L_11);
  5618. int32_t L_13 = L_12;
  5619. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  5620. NullCheck(L_14);
  5621. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_15 = L_14->___children;
  5622. NullCheck(L_15);
  5623. if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))))
  5624. {
  5625. goto IL_0008;
  5626. }
  5627. }
  5628. {
  5629. int32_t L_16 = V_0;
  5630. V_0 = ((int32_t)il2cpp_codegen_add(L_16, 1));
  5631. }
  5632. IL_0036:
  5633. {
  5634. int32_t L_17 = V_0;
  5635. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_18 = __this->___chains;
  5636. NullCheck(L_18);
  5637. if ((((int32_t)L_17) < ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))))
  5638. {
  5639. goto IL_0004;
  5640. }
  5641. }
  5642. {
  5643. return (bool)1;
  5644. }
  5645. }
  5646. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIKRoot_OnUpdate_m922282E5EE31D5F7FEB107EE5CA1F9872F06C02C (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, const RuntimeMethod* method)
  5647. {
  5648. int32_t V_0 = 0;
  5649. int32_t V_1 = 0;
  5650. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  5651. memset((&V_2), 0, sizeof(V_2));
  5652. int32_t V_3 = 0;
  5653. int32_t V_4 = 0;
  5654. {
  5655. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  5656. if ((!(((float)L_0) <= ((float)(0.0f)))))
  5657. {
  5658. goto IL_0016;
  5659. }
  5660. }
  5661. {
  5662. bool L_1 = __this->___zeroWeightApplied;
  5663. if (!L_1)
  5664. {
  5665. goto IL_0016;
  5666. }
  5667. }
  5668. {
  5669. return;
  5670. }
  5671. IL_0016:
  5672. {
  5673. float L_2 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  5674. float L_3;
  5675. L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_2, (0.0f), (1.0f), NULL);
  5676. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_3;
  5677. V_0 = 0;
  5678. goto IL_0056;
  5679. }
  5680. IL_0035:
  5681. {
  5682. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_4 = __this->___chains;
  5683. int32_t L_5 = V_0;
  5684. NullCheck(L_4);
  5685. int32_t L_6 = L_5;
  5686. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  5687. NullCheck(L_7);
  5688. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_8 = L_7->___ik;
  5689. NullCheck(L_8);
  5690. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* L_9 = L_8->___solver;
  5691. float L_10 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  5692. NullCheck(L_9);
  5693. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)L_9)->___IKPositionWeight = L_10;
  5694. int32_t L_11 = V_0;
  5695. V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
  5696. }
  5697. IL_0056:
  5698. {
  5699. int32_t L_12 = V_0;
  5700. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_13 = __this->___chains;
  5701. NullCheck(L_13);
  5702. if ((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))
  5703. {
  5704. goto IL_0035;
  5705. }
  5706. }
  5707. {
  5708. float L_14 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  5709. if ((!(((float)L_14) <= ((float)(0.0f)))))
  5710. {
  5711. goto IL_0076;
  5712. }
  5713. }
  5714. {
  5715. __this->___zeroWeightApplied = (bool)1;
  5716. return;
  5717. }
  5718. IL_0076:
  5719. {
  5720. __this->___zeroWeightApplied = (bool)0;
  5721. V_1 = 0;
  5722. goto IL_00ff;
  5723. }
  5724. IL_0081:
  5725. {
  5726. V_3 = 0;
  5727. goto IL_00a6;
  5728. }
  5729. IL_0085:
  5730. {
  5731. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_15 = __this->___isRoot;
  5732. int32_t L_16 = V_3;
  5733. NullCheck(L_15);
  5734. int32_t L_17 = L_16;
  5735. uint8_t L_18 = (uint8_t)(L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  5736. if (!L_18)
  5737. {
  5738. goto IL_00a2;
  5739. }
  5740. }
  5741. {
  5742. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_19 = __this->___chains;
  5743. int32_t L_20 = V_3;
  5744. NullCheck(L_19);
  5745. int32_t L_21 = L_20;
  5746. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
  5747. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_23 = __this->___chains;
  5748. NullCheck(L_22);
  5749. FABRIKChain_Stage1_m81BFE6BF921B3FFFA3DB9F9E19C7C349F33476AA(L_22, L_23, NULL);
  5750. }
  5751. IL_00a2:
  5752. {
  5753. int32_t L_24 = V_3;
  5754. V_3 = ((int32_t)il2cpp_codegen_add(L_24, 1));
  5755. }
  5756. IL_00a6:
  5757. {
  5758. int32_t L_25 = V_3;
  5759. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_26 = __this->___chains;
  5760. NullCheck(L_26);
  5761. if ((((int32_t)L_25) < ((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))))
  5762. {
  5763. goto IL_0085;
  5764. }
  5765. }
  5766. {
  5767. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  5768. L_27 = IKSolverFABRIKRoot_GetCentroid_mE358FEC42458D1137D66579ED4F7426B79834DA7(__this, NULL);
  5769. V_2 = L_27;
  5770. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  5771. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_2;
  5772. NullCheck(L_28);
  5773. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_28, L_29, NULL);
  5774. V_4 = 0;
  5775. goto IL_00ef;
  5776. }
  5777. IL_00c9:
  5778. {
  5779. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_30 = __this->___isRoot;
  5780. int32_t L_31 = V_4;
  5781. NullCheck(L_30);
  5782. int32_t L_32 = L_31;
  5783. uint8_t L_33 = (uint8_t)(L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
  5784. if (!L_33)
  5785. {
  5786. goto IL_00e9;
  5787. }
  5788. }
  5789. {
  5790. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_34 = __this->___chains;
  5791. int32_t L_35 = V_4;
  5792. NullCheck(L_34);
  5793. int32_t L_36 = L_35;
  5794. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
  5795. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_2;
  5796. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_39 = __this->___chains;
  5797. NullCheck(L_37);
  5798. FABRIKChain_Stage2_mFAE93DA4293EE524D8E96251DB45226600E1ACB1(L_37, L_38, L_39, NULL);
  5799. }
  5800. IL_00e9:
  5801. {
  5802. int32_t L_40 = V_4;
  5803. V_4 = ((int32_t)il2cpp_codegen_add(L_40, 1));
  5804. }
  5805. IL_00ef:
  5806. {
  5807. int32_t L_41 = V_4;
  5808. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_42 = __this->___chains;
  5809. NullCheck(L_42);
  5810. if ((((int32_t)L_41) < ((int32_t)((int32_t)(((RuntimeArray*)L_42)->max_length)))))
  5811. {
  5812. goto IL_00c9;
  5813. }
  5814. }
  5815. {
  5816. int32_t L_43 = V_1;
  5817. V_1 = ((int32_t)il2cpp_codegen_add(L_43, 1));
  5818. }
  5819. IL_00ff:
  5820. {
  5821. int32_t L_44 = V_1;
  5822. int32_t L_45 = __this->___iterations;
  5823. if ((((int32_t)L_44) < ((int32_t)L_45)))
  5824. {
  5825. goto IL_0081;
  5826. }
  5827. }
  5828. {
  5829. return;
  5830. }
  5831. }
  5832. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* IKSolverFABRIKRoot_GetPoints_m392BB0FDEC79029B5E792090CA3804B1F420309D (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, const RuntimeMethod* method)
  5833. {
  5834. static bool s_Il2CppMethodInitialized;
  5835. if (!s_Il2CppMethodInitialized)
  5836. {
  5837. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var);
  5838. s_Il2CppMethodInitialized = true;
  5839. }
  5840. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* V_0 = NULL;
  5841. int32_t V_1 = 0;
  5842. {
  5843. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_0 = (PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)SZArrayNew(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var, (uint32_t)0);
  5844. V_0 = L_0;
  5845. V_1 = 0;
  5846. goto IL_001f;
  5847. }
  5848. IL_000b:
  5849. {
  5850. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_1 = __this->___chains;
  5851. int32_t L_2 = V_1;
  5852. NullCheck(L_1);
  5853. int32_t L_3 = L_2;
  5854. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  5855. IKSolverFABRIKRoot_AddPointsToArray_m849A5EC8096B5B173FFD2F8F84A869333702E7A2(__this, (&V_0), L_4, NULL);
  5856. int32_t L_5 = V_1;
  5857. V_1 = ((int32_t)il2cpp_codegen_add(L_5, 1));
  5858. }
  5859. IL_001f:
  5860. {
  5861. int32_t L_6 = V_1;
  5862. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_7 = __this->___chains;
  5863. NullCheck(L_7);
  5864. if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
  5865. {
  5866. goto IL_000b;
  5867. }
  5868. }
  5869. {
  5870. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_8 = V_0;
  5871. return L_8;
  5872. }
  5873. }
  5874. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* IKSolverFABRIKRoot_GetPoint_m56E18F16A5B94377D080C9F4339DE58D300CFABF (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  5875. {
  5876. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* V_0 = NULL;
  5877. int32_t V_1 = 0;
  5878. {
  5879. V_0 = (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)NULL;
  5880. V_1 = 0;
  5881. goto IL_0028;
  5882. }
  5883. IL_0006:
  5884. {
  5885. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_0 = __this->___chains;
  5886. int32_t L_1 = V_1;
  5887. NullCheck(L_0);
  5888. int32_t L_2 = L_1;
  5889. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  5890. NullCheck(L_3);
  5891. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_4 = L_3->___ik;
  5892. NullCheck(L_4);
  5893. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* L_5 = L_4->___solver;
  5894. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ___0_transform;
  5895. NullCheck(L_5);
  5896. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_7;
  5897. L_7 = VirtualFuncInvoker1< Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* >::Invoke(7, L_5, L_6);
  5898. V_0 = L_7;
  5899. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_8 = V_0;
  5900. if (!L_8)
  5901. {
  5902. goto IL_0024;
  5903. }
  5904. }
  5905. {
  5906. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_9 = V_0;
  5907. return L_9;
  5908. }
  5909. IL_0024:
  5910. {
  5911. int32_t L_10 = V_1;
  5912. V_1 = ((int32_t)il2cpp_codegen_add(L_10, 1));
  5913. }
  5914. IL_0028:
  5915. {
  5916. int32_t L_11 = V_1;
  5917. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_12 = __this->___chains;
  5918. NullCheck(L_12);
  5919. if ((((int32_t)L_11) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))
  5920. {
  5921. goto IL_0006;
  5922. }
  5923. }
  5924. {
  5925. return (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)NULL;
  5926. }
  5927. }
  5928. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIKRoot_AddPointsToArray_m849A5EC8096B5B173FFD2F8F84A869333702E7A2 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20** ___0_array, FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* ___1_chain, const RuntimeMethod* method)
  5929. {
  5930. static bool s_Il2CppMethodInitialized;
  5931. if (!s_Il2CppMethodInitialized)
  5932. {
  5933. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Resize_TisPoint_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_m2D138B0D4419513EBC0C0B212D0E884A71E9A211_RuntimeMethod_var);
  5934. s_Il2CppMethodInitialized = true;
  5935. }
  5936. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* V_0 = NULL;
  5937. int32_t V_1 = 0;
  5938. int32_t V_2 = 0;
  5939. {
  5940. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_0 = ___1_chain;
  5941. NullCheck(L_0);
  5942. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_1 = L_0->___ik;
  5943. NullCheck(L_1);
  5944. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* L_2 = L_1->___solver;
  5945. NullCheck(L_2);
  5946. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_3;
  5947. L_3 = VirtualFuncInvoker0< PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* >::Invoke(6, L_2);
  5948. V_0 = L_3;
  5949. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20** L_4 = ___0_array;
  5950. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20** L_5 = ___0_array;
  5951. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_6 = *((PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20**)L_5);
  5952. NullCheck(L_6);
  5953. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_7 = V_0;
  5954. NullCheck(L_7);
  5955. Array_Resize_TisPoint_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_m2D138B0D4419513EBC0C0B212D0E884A71E9A211(L_4, ((int32_t)il2cpp_codegen_add(((int32_t)(((RuntimeArray*)L_6)->max_length)), ((int32_t)(((RuntimeArray*)L_7)->max_length)))), Array_Resize_TisPoint_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_m2D138B0D4419513EBC0C0B212D0E884A71E9A211_RuntimeMethod_var);
  5956. V_1 = 0;
  5957. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20** L_8 = ___0_array;
  5958. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_9 = *((PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20**)L_8);
  5959. NullCheck(L_9);
  5960. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_10 = V_0;
  5961. NullCheck(L_10);
  5962. V_2 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_9)->max_length)), ((int32_t)(((RuntimeArray*)L_10)->max_length))));
  5963. goto IL_003b;
  5964. }
  5965. IL_002c:
  5966. {
  5967. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20** L_11 = ___0_array;
  5968. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_12 = *((PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20**)L_11);
  5969. int32_t L_13 = V_2;
  5970. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_14 = V_0;
  5971. int32_t L_15 = V_1;
  5972. NullCheck(L_14);
  5973. int32_t L_16 = L_15;
  5974. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  5975. NullCheck(L_12);
  5976. ArrayElementTypeCheck (L_12, L_17);
  5977. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(L_13), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_17);
  5978. int32_t L_18 = V_1;
  5979. V_1 = ((int32_t)il2cpp_codegen_add(L_18, 1));
  5980. int32_t L_19 = V_2;
  5981. V_2 = ((int32_t)il2cpp_codegen_add(L_19, 1));
  5982. }
  5983. IL_003b:
  5984. {
  5985. int32_t L_20 = V_2;
  5986. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20** L_21 = ___0_array;
  5987. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_22 = *((PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20**)L_21);
  5988. NullCheck(L_22);
  5989. if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
  5990. {
  5991. goto IL_002c;
  5992. }
  5993. }
  5994. {
  5995. return;
  5996. }
  5997. }
  5998. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFABRIKRoot_GetCentroid_mE358FEC42458D1137D66579ED4F7426B79834DA7 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, const RuntimeMethod* method)
  5999. {
  6000. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  6001. memset((&V_0), 0, sizeof(V_0));
  6002. float V_1 = 0.0f;
  6003. int32_t V_2 = 0;
  6004. int32_t V_3 = 0;
  6005. {
  6006. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  6007. NullCheck(L_0);
  6008. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  6009. L_1 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_0, NULL);
  6010. V_0 = L_1;
  6011. float L_2 = __this->___rootPin;
  6012. if ((!(((float)L_2) >= ((float)(1.0f)))))
  6013. {
  6014. goto IL_001b;
  6015. }
  6016. }
  6017. {
  6018. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = V_0;
  6019. return L_3;
  6020. }
  6021. IL_001b:
  6022. {
  6023. V_1 = (0.0f);
  6024. V_2 = 0;
  6025. goto IL_0043;
  6026. }
  6027. IL_0025:
  6028. {
  6029. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_4 = __this->___isRoot;
  6030. int32_t L_5 = V_2;
  6031. NullCheck(L_4);
  6032. int32_t L_6 = L_5;
  6033. uint8_t L_7 = (uint8_t)(L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  6034. if (!L_7)
  6035. {
  6036. goto IL_003f;
  6037. }
  6038. }
  6039. {
  6040. float L_8 = V_1;
  6041. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_9 = __this->___chains;
  6042. int32_t L_10 = V_2;
  6043. NullCheck(L_9);
  6044. int32_t L_11 = L_10;
  6045. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  6046. NullCheck(L_12);
  6047. float L_13 = L_12->___pull;
  6048. V_1 = ((float)il2cpp_codegen_add(L_8, L_13));
  6049. }
  6050. IL_003f:
  6051. {
  6052. int32_t L_14 = V_2;
  6053. V_2 = ((int32_t)il2cpp_codegen_add(L_14, 1));
  6054. }
  6055. IL_0043:
  6056. {
  6057. int32_t L_15 = V_2;
  6058. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_16 = __this->___chains;
  6059. NullCheck(L_16);
  6060. if ((((int32_t)L_15) < ((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))))
  6061. {
  6062. goto IL_0025;
  6063. }
  6064. }
  6065. {
  6066. V_3 = 0;
  6067. goto IL_00bc;
  6068. }
  6069. IL_0052:
  6070. {
  6071. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_17 = __this->___isRoot;
  6072. int32_t L_18 = V_3;
  6073. NullCheck(L_17);
  6074. int32_t L_19 = L_18;
  6075. uint8_t L_20 = (uint8_t)(L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  6076. if (!L_20)
  6077. {
  6078. goto IL_00b8;
  6079. }
  6080. }
  6081. {
  6082. float L_21 = V_1;
  6083. if ((!(((float)L_21) > ((float)(0.0f)))))
  6084. {
  6085. goto IL_00b8;
  6086. }
  6087. }
  6088. {
  6089. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_0;
  6090. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_23 = __this->___chains;
  6091. int32_t L_24 = V_3;
  6092. NullCheck(L_23);
  6093. int32_t L_25 = L_24;
  6094. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  6095. NullCheck(L_26);
  6096. FABRIK_tC16CC6F708FAF6DC7EF3015BF76115D699E86E2D* L_27 = L_26->___ik;
  6097. NullCheck(L_27);
  6098. IKSolverFABRIK_tFCE78BC4C45D4E15ED1A67F4D1D3EBA02E788E44* L_28 = L_27->___solver;
  6099. NullCheck(L_28);
  6100. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_29 = ((IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3*)L_28)->___bones;
  6101. NullCheck(L_29);
  6102. int32_t L_30 = 0;
  6103. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_31 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  6104. NullCheck(L_31);
  6105. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_31)->___solverPosition;
  6106. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  6107. NullCheck(L_33);
  6108. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  6109. L_34 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_33, NULL);
  6110. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  6111. L_35 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_32, L_34, NULL);
  6112. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_36 = __this->___chains;
  6113. int32_t L_37 = V_3;
  6114. NullCheck(L_36);
  6115. int32_t L_38 = L_37;
  6116. FABRIKChain_tF7172EC9892D4A01AB5E606815AA263CDFDB0C40* L_39 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
  6117. NullCheck(L_39);
  6118. float L_40 = L_39->___pull;
  6119. float L_41 = V_1;
  6120. float L_42 = V_1;
  6121. float L_43;
  6122. L_43 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_41, (1.0f), L_42, NULL);
  6123. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
  6124. L_44 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_35, ((float)(L_40/L_43)), NULL);
  6125. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
  6126. L_45 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_22, L_44, NULL);
  6127. V_0 = L_45;
  6128. }
  6129. IL_00b8:
  6130. {
  6131. int32_t L_46 = V_3;
  6132. V_3 = ((int32_t)il2cpp_codegen_add(L_46, 1));
  6133. }
  6134. IL_00bc:
  6135. {
  6136. int32_t L_47 = V_3;
  6137. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_48 = __this->___chains;
  6138. NullCheck(L_48);
  6139. if ((((int32_t)L_47) < ((int32_t)((int32_t)(((RuntimeArray*)L_48)->max_length)))))
  6140. {
  6141. goto IL_0052;
  6142. }
  6143. }
  6144. {
  6145. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_0;
  6146. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_50 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  6147. NullCheck(L_50);
  6148. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
  6149. L_51 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_50, NULL);
  6150. float L_52 = __this->___rootPin;
  6151. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
  6152. L_53 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_49, L_51, L_52, NULL);
  6153. return L_53;
  6154. }
  6155. }
  6156. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFABRIKRoot__ctor_m4FCE763F46FA9E805739EF2F8F52434707655971 (IKSolverFABRIKRoot_tBBF05AB231ED1AB3081D49F515CCAC40B5C4E024* __this, const RuntimeMethod* method)
  6157. {
  6158. static bool s_Il2CppMethodInitialized;
  6159. if (!s_Il2CppMethodInitialized)
  6160. {
  6161. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D_il2cpp_TypeInfo_var);
  6162. s_Il2CppMethodInitialized = true;
  6163. }
  6164. {
  6165. __this->___iterations = 4;
  6166. FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D* L_0 = (FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D*)(FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D*)SZArrayNew(FABRIKChainU5BU5D_t1727620BF1245EAD9CCEAC83755FE4171DFF8E1D_il2cpp_TypeInfo_var, (uint32_t)0);
  6167. __this->___chains = L_0;
  6168. Il2CppCodeGenWriteBarrier((void**)(&__this->___chains), (void*)L_0);
  6169. IKSolver__ctor_mF80BFDB950365AD0B8E8ACB9A26E78C8DDC9B3DC(__this, NULL);
  6170. return;
  6171. }
  6172. }
  6173. #ifdef __clang__
  6174. #pragma clang diagnostic pop
  6175. #endif
  6176. #ifdef __clang__
  6177. #pragma clang diagnostic push
  6178. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  6179. #pragma clang diagnostic ignored "-Wunused-variable"
  6180. #endif
  6181. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBody_GetEffector_m91A935CE4C543CAC72E03A612F1B7C57C4696C23 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_t, const RuntimeMethod* method)
  6182. {
  6183. static bool s_Il2CppMethodInitialized;
  6184. if (!s_Il2CppMethodInitialized)
  6185. {
  6186. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  6187. s_Il2CppMethodInitialized = true;
  6188. }
  6189. int32_t V_0 = 0;
  6190. {
  6191. V_0 = 0;
  6192. goto IL_0026;
  6193. }
  6194. IL_0004:
  6195. {
  6196. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_0 = __this->___effectors;
  6197. int32_t L_1 = V_0;
  6198. NullCheck(L_0);
  6199. int32_t L_2 = L_1;
  6200. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  6201. NullCheck(L_3);
  6202. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = L_3->___bone;
  6203. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ___0_t;
  6204. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  6205. bool L_6;
  6206. L_6 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_4, L_5, NULL);
  6207. if (!L_6)
  6208. {
  6209. goto IL_0022;
  6210. }
  6211. }
  6212. {
  6213. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_7 = __this->___effectors;
  6214. int32_t L_8 = V_0;
  6215. NullCheck(L_7);
  6216. int32_t L_9 = L_8;
  6217. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  6218. return L_10;
  6219. }
  6220. IL_0022:
  6221. {
  6222. int32_t L_11 = V_0;
  6223. V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
  6224. }
  6225. IL_0026:
  6226. {
  6227. int32_t L_12 = V_0;
  6228. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_13 = __this->___effectors;
  6229. NullCheck(L_13);
  6230. if ((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))
  6231. {
  6232. goto IL_0004;
  6233. }
  6234. }
  6235. {
  6236. return (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)NULL;
  6237. }
  6238. }
  6239. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBody_GetChain_mFD2187FA56B82BF935EFC01CCD78E9B0BD6770A2 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  6240. {
  6241. int32_t V_0 = 0;
  6242. {
  6243. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ___0_transform;
  6244. int32_t L_1;
  6245. L_1 = IKSolverFullBody_GetChainIndex_m08B49A2752088F6FDCDE181DFEF2B0F602532050(__this, L_0, NULL);
  6246. V_0 = L_1;
  6247. int32_t L_2 = V_0;
  6248. if ((!(((uint32_t)L_2) == ((uint32_t)(-1)))))
  6249. {
  6250. goto IL_000e;
  6251. }
  6252. }
  6253. {
  6254. return (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11*)NULL;
  6255. }
  6256. IL_000e:
  6257. {
  6258. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_3 = __this->___chain;
  6259. int32_t L_4 = V_0;
  6260. NullCheck(L_3);
  6261. int32_t L_5 = L_4;
  6262. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  6263. return L_6;
  6264. }
  6265. }
  6266. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t IKSolverFullBody_GetChainIndex_m08B49A2752088F6FDCDE181DFEF2B0F602532050 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  6267. {
  6268. static bool s_Il2CppMethodInitialized;
  6269. if (!s_Il2CppMethodInitialized)
  6270. {
  6271. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  6272. s_Il2CppMethodInitialized = true;
  6273. }
  6274. int32_t V_0 = 0;
  6275. int32_t V_1 = 0;
  6276. {
  6277. V_0 = 0;
  6278. goto IL_0040;
  6279. }
  6280. IL_0004:
  6281. {
  6282. V_1 = 0;
  6283. goto IL_002a;
  6284. }
  6285. IL_0008:
  6286. {
  6287. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = __this->___chain;
  6288. int32_t L_1 = V_0;
  6289. NullCheck(L_0);
  6290. int32_t L_2 = L_1;
  6291. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  6292. NullCheck(L_3);
  6293. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_4 = L_3->___nodes;
  6294. int32_t L_5 = V_1;
  6295. NullCheck(L_4);
  6296. int32_t L_6 = L_5;
  6297. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  6298. NullCheck(L_7);
  6299. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_7)->___transform;
  6300. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ___0_transform;
  6301. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  6302. bool L_10;
  6303. L_10 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_8, L_9, NULL);
  6304. if (!L_10)
  6305. {
  6306. goto IL_0026;
  6307. }
  6308. }
  6309. {
  6310. int32_t L_11 = V_0;
  6311. return L_11;
  6312. }
  6313. IL_0026:
  6314. {
  6315. int32_t L_12 = V_1;
  6316. V_1 = ((int32_t)il2cpp_codegen_add(L_12, 1));
  6317. }
  6318. IL_002a:
  6319. {
  6320. int32_t L_13 = V_1;
  6321. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_14 = __this->___chain;
  6322. int32_t L_15 = V_0;
  6323. NullCheck(L_14);
  6324. int32_t L_16 = L_15;
  6325. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  6326. NullCheck(L_17);
  6327. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_18 = L_17->___nodes;
  6328. NullCheck(L_18);
  6329. if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))))
  6330. {
  6331. goto IL_0008;
  6332. }
  6333. }
  6334. {
  6335. int32_t L_19 = V_0;
  6336. V_0 = ((int32_t)il2cpp_codegen_add(L_19, 1));
  6337. }
  6338. IL_0040:
  6339. {
  6340. int32_t L_20 = V_0;
  6341. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_21 = __this->___chain;
  6342. NullCheck(L_21);
  6343. if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length)))))
  6344. {
  6345. goto IL_0004;
  6346. }
  6347. }
  6348. {
  6349. return (-1);
  6350. }
  6351. }
  6352. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_tC4020128B203BFA29C957212F91116F3F7203FAE* IKSolverFullBody_GetNode_m28AA522A3BC2F9C6A29D5FDC73E306E1A57099F4 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, int32_t ___0_chainIndex, int32_t ___1_nodeIndex, const RuntimeMethod* method)
  6353. {
  6354. {
  6355. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = __this->___chain;
  6356. int32_t L_1 = ___0_chainIndex;
  6357. NullCheck(L_0);
  6358. int32_t L_2 = L_1;
  6359. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  6360. NullCheck(L_3);
  6361. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_4 = L_3->___nodes;
  6362. int32_t L_5 = ___1_nodeIndex;
  6363. NullCheck(L_4);
  6364. int32_t L_6 = L_5;
  6365. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  6366. return L_7;
  6367. }
  6368. }
  6369. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_GetChainAndNodeIndexes_m618E137B19300855CEF3FDDB3DB1B2FF87F2BFEA (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, int32_t* ___1_chainIndex, int32_t* ___2_nodeIndex, const RuntimeMethod* method)
  6370. {
  6371. {
  6372. int32_t* L_0 = ___1_chainIndex;
  6373. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ___0_transform;
  6374. int32_t L_2;
  6375. L_2 = IKSolverFullBody_GetChainIndex_m08B49A2752088F6FDCDE181DFEF2B0F602532050(__this, L_1, NULL);
  6376. *((int32_t*)L_0) = (int32_t)L_2;
  6377. int32_t* L_3 = ___1_chainIndex;
  6378. int32_t L_4 = *((int32_t*)L_3);
  6379. if ((!(((uint32_t)L_4) == ((uint32_t)(-1)))))
  6380. {
  6381. goto IL_0012;
  6382. }
  6383. }
  6384. {
  6385. int32_t* L_5 = ___2_nodeIndex;
  6386. *((int32_t*)L_5) = (int32_t)(-1);
  6387. return;
  6388. }
  6389. IL_0012:
  6390. {
  6391. int32_t* L_6 = ___2_nodeIndex;
  6392. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_7 = __this->___chain;
  6393. int32_t* L_8 = ___1_chainIndex;
  6394. int32_t L_9 = *((int32_t*)L_8);
  6395. NullCheck(L_7);
  6396. int32_t L_10 = L_9;
  6397. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_11 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  6398. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = ___0_transform;
  6399. NullCheck(L_11);
  6400. int32_t L_13;
  6401. L_13 = FBIKChain_GetNodeIndex_m8E5475A2FCA90AC350E446A9976EE460CABF6121(L_11, L_12, NULL);
  6402. *((int32_t*)L_6) = (int32_t)L_13;
  6403. return;
  6404. }
  6405. }
  6406. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* IKSolverFullBody_GetPoints_mE6E49921AF14B165C692EAC9619578073972D112 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  6407. {
  6408. static bool s_Il2CppMethodInitialized;
  6409. if (!s_Il2CppMethodInitialized)
  6410. {
  6411. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var);
  6412. s_Il2CppMethodInitialized = true;
  6413. }
  6414. int32_t V_0 = 0;
  6415. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* V_1 = NULL;
  6416. int32_t V_2 = 0;
  6417. int32_t V_3 = 0;
  6418. int32_t V_4 = 0;
  6419. int32_t V_5 = 0;
  6420. {
  6421. V_0 = 0;
  6422. V_3 = 0;
  6423. goto IL_001c;
  6424. }
  6425. IL_0006:
  6426. {
  6427. int32_t L_0 = V_0;
  6428. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_1 = __this->___chain;
  6429. int32_t L_2 = V_3;
  6430. NullCheck(L_1);
  6431. int32_t L_3 = L_2;
  6432. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  6433. NullCheck(L_4);
  6434. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_5 = L_4->___nodes;
  6435. NullCheck(L_5);
  6436. V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(((RuntimeArray*)L_5)->max_length))));
  6437. int32_t L_6 = V_3;
  6438. V_3 = ((int32_t)il2cpp_codegen_add(L_6, 1));
  6439. }
  6440. IL_001c:
  6441. {
  6442. int32_t L_7 = V_3;
  6443. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_8 = __this->___chain;
  6444. NullCheck(L_8);
  6445. if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
  6446. {
  6447. goto IL_0006;
  6448. }
  6449. }
  6450. {
  6451. int32_t L_9 = V_0;
  6452. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_10 = (PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)SZArrayNew(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var, (uint32_t)L_9);
  6453. V_1 = L_10;
  6454. V_2 = 0;
  6455. V_4 = 0;
  6456. goto IL_0072;
  6457. }
  6458. IL_0035:
  6459. {
  6460. V_5 = 0;
  6461. goto IL_0058;
  6462. }
  6463. IL_003a:
  6464. {
  6465. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_11 = V_1;
  6466. int32_t L_12 = V_2;
  6467. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_13 = __this->___chain;
  6468. int32_t L_14 = V_4;
  6469. NullCheck(L_13);
  6470. int32_t L_15 = L_14;
  6471. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  6472. NullCheck(L_16);
  6473. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_17 = L_16->___nodes;
  6474. int32_t L_18 = V_5;
  6475. NullCheck(L_17);
  6476. int32_t L_19 = L_18;
  6477. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  6478. NullCheck(L_11);
  6479. ArrayElementTypeCheck (L_11, L_20);
  6480. (L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_20);
  6481. int32_t L_21 = V_2;
  6482. V_2 = ((int32_t)il2cpp_codegen_add(L_21, 1));
  6483. int32_t L_22 = V_5;
  6484. V_5 = ((int32_t)il2cpp_codegen_add(L_22, 1));
  6485. }
  6486. IL_0058:
  6487. {
  6488. int32_t L_23 = V_5;
  6489. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_24 = __this->___chain;
  6490. int32_t L_25 = V_4;
  6491. NullCheck(L_24);
  6492. int32_t L_26 = L_25;
  6493. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  6494. NullCheck(L_27);
  6495. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_28 = L_27->___nodes;
  6496. NullCheck(L_28);
  6497. if ((((int32_t)L_23) < ((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))))
  6498. {
  6499. goto IL_003a;
  6500. }
  6501. }
  6502. {
  6503. int32_t L_29 = V_4;
  6504. V_4 = ((int32_t)il2cpp_codegen_add(L_29, 1));
  6505. }
  6506. IL_0072:
  6507. {
  6508. int32_t L_30 = V_4;
  6509. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_31 = __this->___chain;
  6510. NullCheck(L_31);
  6511. if ((((int32_t)L_30) < ((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length)))))
  6512. {
  6513. goto IL_0035;
  6514. }
  6515. }
  6516. {
  6517. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_32 = V_1;
  6518. return L_32;
  6519. }
  6520. }
  6521. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* IKSolverFullBody_GetPoint_mD073F910F32110CF40EEECC48A4308F41C6414C6 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  6522. {
  6523. static bool s_Il2CppMethodInitialized;
  6524. if (!s_Il2CppMethodInitialized)
  6525. {
  6526. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  6527. s_Il2CppMethodInitialized = true;
  6528. }
  6529. int32_t V_0 = 0;
  6530. int32_t V_1 = 0;
  6531. {
  6532. V_0 = 0;
  6533. goto IL_004e;
  6534. }
  6535. IL_0004:
  6536. {
  6537. V_1 = 0;
  6538. goto IL_0038;
  6539. }
  6540. IL_0008:
  6541. {
  6542. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = __this->___chain;
  6543. int32_t L_1 = V_0;
  6544. NullCheck(L_0);
  6545. int32_t L_2 = L_1;
  6546. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  6547. NullCheck(L_3);
  6548. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_4 = L_3->___nodes;
  6549. int32_t L_5 = V_1;
  6550. NullCheck(L_4);
  6551. int32_t L_6 = L_5;
  6552. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  6553. NullCheck(L_7);
  6554. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_7)->___transform;
  6555. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ___0_transform;
  6556. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  6557. bool L_10;
  6558. L_10 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_8, L_9, NULL);
  6559. if (!L_10)
  6560. {
  6561. goto IL_0034;
  6562. }
  6563. }
  6564. {
  6565. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_11 = __this->___chain;
  6566. int32_t L_12 = V_0;
  6567. NullCheck(L_11);
  6568. int32_t L_13 = L_12;
  6569. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  6570. NullCheck(L_14);
  6571. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_15 = L_14->___nodes;
  6572. int32_t L_16 = V_1;
  6573. NullCheck(L_15);
  6574. int32_t L_17 = L_16;
  6575. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  6576. return L_18;
  6577. }
  6578. IL_0034:
  6579. {
  6580. int32_t L_19 = V_1;
  6581. V_1 = ((int32_t)il2cpp_codegen_add(L_19, 1));
  6582. }
  6583. IL_0038:
  6584. {
  6585. int32_t L_20 = V_1;
  6586. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_21 = __this->___chain;
  6587. int32_t L_22 = V_0;
  6588. NullCheck(L_21);
  6589. int32_t L_23 = L_22;
  6590. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  6591. NullCheck(L_24);
  6592. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_25 = L_24->___nodes;
  6593. NullCheck(L_25);
  6594. if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length)))))
  6595. {
  6596. goto IL_0008;
  6597. }
  6598. }
  6599. {
  6600. int32_t L_26 = V_0;
  6601. V_0 = ((int32_t)il2cpp_codegen_add(L_26, 1));
  6602. }
  6603. IL_004e:
  6604. {
  6605. int32_t L_27 = V_0;
  6606. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_28 = __this->___chain;
  6607. NullCheck(L_28);
  6608. if ((((int32_t)L_27) < ((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))))
  6609. {
  6610. goto IL_0004;
  6611. }
  6612. }
  6613. {
  6614. return (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)NULL;
  6615. }
  6616. }
  6617. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverFullBody_IsValid_m7415DECBDD8F37339979BA77C836A9DC3E9075FE (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, String_t** ___0_message, const RuntimeMethod* method)
  6618. {
  6619. static bool s_Il2CppMethodInitialized;
  6620. if (!s_Il2CppMethodInitialized)
  6621. {
  6622. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral10A3A905877D395DE21E9F94F049CD2BEA75E437);
  6623. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEF54379874F7A948797933A903F278CCABA8044D);
  6624. s_Il2CppMethodInitialized = true;
  6625. }
  6626. int32_t V_0 = 0;
  6627. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* V_1 = NULL;
  6628. int32_t V_2 = 0;
  6629. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* V_3 = NULL;
  6630. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* V_4 = NULL;
  6631. {
  6632. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = __this->___chain;
  6633. if (L_0)
  6634. {
  6635. goto IL_0011;
  6636. }
  6637. }
  6638. {
  6639. String_t** L_1 = ___0_message;
  6640. *((RuntimeObject**)L_1) = (RuntimeObject*)_stringLiteralEF54379874F7A948797933A903F278CCABA8044D;
  6641. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_1, (void*)(RuntimeObject*)_stringLiteralEF54379874F7A948797933A903F278CCABA8044D);
  6642. return (bool)0;
  6643. }
  6644. IL_0011:
  6645. {
  6646. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_2 = __this->___chain;
  6647. NullCheck(L_2);
  6648. if ((((RuntimeArray*)L_2)->max_length))
  6649. {
  6650. goto IL_0023;
  6651. }
  6652. }
  6653. {
  6654. String_t** L_3 = ___0_message;
  6655. *((RuntimeObject**)L_3) = (RuntimeObject*)_stringLiteral10A3A905877D395DE21E9F94F049CD2BEA75E437;
  6656. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_3, (void*)(RuntimeObject*)_stringLiteral10A3A905877D395DE21E9F94F049CD2BEA75E437);
  6657. return (bool)0;
  6658. }
  6659. IL_0023:
  6660. {
  6661. V_0 = 0;
  6662. goto IL_003d;
  6663. }
  6664. IL_0027:
  6665. {
  6666. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_4 = __this->___chain;
  6667. int32_t L_5 = V_0;
  6668. NullCheck(L_4);
  6669. int32_t L_6 = L_5;
  6670. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  6671. String_t** L_8 = ___0_message;
  6672. NullCheck(L_7);
  6673. bool L_9;
  6674. L_9 = FBIKChain_IsValid_m617380C24BA09DF31ACD082B8FF8C47C4A7B5879(L_7, L_8, NULL);
  6675. if (L_9)
  6676. {
  6677. goto IL_0039;
  6678. }
  6679. }
  6680. {
  6681. return (bool)0;
  6682. }
  6683. IL_0039:
  6684. {
  6685. int32_t L_10 = V_0;
  6686. V_0 = ((int32_t)il2cpp_codegen_add(L_10, 1));
  6687. }
  6688. IL_003d:
  6689. {
  6690. int32_t L_11 = V_0;
  6691. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_12 = __this->___chain;
  6692. NullCheck(L_12);
  6693. if ((((int32_t)L_11) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))
  6694. {
  6695. goto IL_0027;
  6696. }
  6697. }
  6698. {
  6699. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_13 = __this->___effectors;
  6700. V_1 = L_13;
  6701. V_2 = 0;
  6702. goto IL_0065;
  6703. }
  6704. IL_0053:
  6705. {
  6706. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_14 = V_1;
  6707. int32_t L_15 = V_2;
  6708. NullCheck(L_14);
  6709. int32_t L_16 = L_15;
  6710. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  6711. String_t** L_18 = ___0_message;
  6712. NullCheck(L_17);
  6713. bool L_19;
  6714. L_19 = IKEffector_IsValid_m4D76E0C8BE51434034DDE1AECD7F37E8FF47DA78(L_17, __this, L_18, NULL);
  6715. if (L_19)
  6716. {
  6717. goto IL_0061;
  6718. }
  6719. }
  6720. {
  6721. return (bool)0;
  6722. }
  6723. IL_0061:
  6724. {
  6725. int32_t L_20 = V_2;
  6726. V_2 = ((int32_t)il2cpp_codegen_add(L_20, 1));
  6727. }
  6728. IL_0065:
  6729. {
  6730. int32_t L_21 = V_2;
  6731. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_22 = V_1;
  6732. NullCheck(L_22);
  6733. if ((((int32_t)L_21) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
  6734. {
  6735. goto IL_0053;
  6736. }
  6737. }
  6738. {
  6739. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_23 = __this->___spineMapping;
  6740. String_t** L_24 = ___0_message;
  6741. NullCheck(L_23);
  6742. bool L_25;
  6743. L_25 = VirtualFuncInvoker2< bool, IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*, String_t** >::Invoke(4, L_23, __this, L_24);
  6744. if (L_25)
  6745. {
  6746. goto IL_007c;
  6747. }
  6748. }
  6749. {
  6750. return (bool)0;
  6751. }
  6752. IL_007c:
  6753. {
  6754. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_26 = __this->___limbMappings;
  6755. V_3 = L_26;
  6756. V_2 = 0;
  6757. goto IL_0099;
  6758. }
  6759. IL_0087:
  6760. {
  6761. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_27 = V_3;
  6762. int32_t L_28 = V_2;
  6763. NullCheck(L_27);
  6764. int32_t L_29 = L_28;
  6765. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  6766. String_t** L_31 = ___0_message;
  6767. NullCheck(L_30);
  6768. bool L_32;
  6769. L_32 = VirtualFuncInvoker2< bool, IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*, String_t** >::Invoke(4, L_30, __this, L_31);
  6770. if (L_32)
  6771. {
  6772. goto IL_0095;
  6773. }
  6774. }
  6775. {
  6776. return (bool)0;
  6777. }
  6778. IL_0095:
  6779. {
  6780. int32_t L_33 = V_2;
  6781. V_2 = ((int32_t)il2cpp_codegen_add(L_33, 1));
  6782. }
  6783. IL_0099:
  6784. {
  6785. int32_t L_34 = V_2;
  6786. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_35 = V_3;
  6787. NullCheck(L_35);
  6788. if ((((int32_t)L_34) < ((int32_t)((int32_t)(((RuntimeArray*)L_35)->max_length)))))
  6789. {
  6790. goto IL_0087;
  6791. }
  6792. }
  6793. {
  6794. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_36 = __this->___boneMappings;
  6795. V_4 = L_36;
  6796. V_2 = 0;
  6797. goto IL_00be;
  6798. }
  6799. IL_00ab:
  6800. {
  6801. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_37 = V_4;
  6802. int32_t L_38 = V_2;
  6803. NullCheck(L_37);
  6804. int32_t L_39 = L_38;
  6805. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
  6806. String_t** L_41 = ___0_message;
  6807. NullCheck(L_40);
  6808. bool L_42;
  6809. L_42 = VirtualFuncInvoker2< bool, IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*, String_t** >::Invoke(4, L_40, __this, L_41);
  6810. if (L_42)
  6811. {
  6812. goto IL_00ba;
  6813. }
  6814. }
  6815. {
  6816. return (bool)0;
  6817. }
  6818. IL_00ba:
  6819. {
  6820. int32_t L_43 = V_2;
  6821. V_2 = ((int32_t)il2cpp_codegen_add(L_43, 1));
  6822. }
  6823. IL_00be:
  6824. {
  6825. int32_t L_44 = V_2;
  6826. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_45 = V_4;
  6827. NullCheck(L_45);
  6828. if ((((int32_t)L_44) < ((int32_t)((int32_t)(((RuntimeArray*)L_45)->max_length)))))
  6829. {
  6830. goto IL_00ab;
  6831. }
  6832. }
  6833. {
  6834. return (bool)1;
  6835. }
  6836. }
  6837. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_StoreDefaultLocalState_mAEC67C1489F1788A7FE581113236530514676735 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  6838. {
  6839. int32_t V_0 = 0;
  6840. int32_t V_1 = 0;
  6841. {
  6842. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_0 = __this->___spineMapping;
  6843. NullCheck(L_0);
  6844. IKMappingSpine_StoreDefaultLocalState_m2B0A5DD590DC5C39146DE9C0D12B5D9126F08B13(L_0, NULL);
  6845. V_0 = 0;
  6846. goto IL_0020;
  6847. }
  6848. IL_000f:
  6849. {
  6850. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_1 = __this->___limbMappings;
  6851. int32_t L_2 = V_0;
  6852. NullCheck(L_1);
  6853. int32_t L_3 = L_2;
  6854. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  6855. NullCheck(L_4);
  6856. IKMappingLimb_StoreDefaultLocalState_mE8AB2533BF4C0BD3743528F4B492AD0830ABAB93(L_4, NULL);
  6857. int32_t L_5 = V_0;
  6858. V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
  6859. }
  6860. IL_0020:
  6861. {
  6862. int32_t L_6 = V_0;
  6863. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_7 = __this->___limbMappings;
  6864. NullCheck(L_7);
  6865. if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
  6866. {
  6867. goto IL_000f;
  6868. }
  6869. }
  6870. {
  6871. V_1 = 0;
  6872. goto IL_0040;
  6873. }
  6874. IL_002f:
  6875. {
  6876. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_8 = __this->___boneMappings;
  6877. int32_t L_9 = V_1;
  6878. NullCheck(L_8);
  6879. int32_t L_10 = L_9;
  6880. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  6881. NullCheck(L_11);
  6882. IKMappingBone_StoreDefaultLocalState_m5A2F3FC8919B312E445FA16679D31870B344E8BB(L_11, NULL);
  6883. int32_t L_12 = V_1;
  6884. V_1 = ((int32_t)il2cpp_codegen_add(L_12, 1));
  6885. }
  6886. IL_0040:
  6887. {
  6888. int32_t L_13 = V_1;
  6889. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_14 = __this->___boneMappings;
  6890. NullCheck(L_14);
  6891. if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))
  6892. {
  6893. goto IL_002f;
  6894. }
  6895. }
  6896. {
  6897. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_15 = __this->___OnStoreDefaultLocalState;
  6898. if (!L_15)
  6899. {
  6900. goto IL_005e;
  6901. }
  6902. }
  6903. {
  6904. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_16 = __this->___OnStoreDefaultLocalState;
  6905. NullCheck(L_16);
  6906. UpdateDelegate_Invoke_m095B3934DAEC5FA9ECE0A12334D557DAB064FE78_inline(L_16, NULL);
  6907. }
  6908. IL_005e:
  6909. {
  6910. return;
  6911. }
  6912. }
  6913. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_FixTransforms_mAB9740D0A02CEBCFAB9F2C6605117DB7CB49A1C6 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  6914. {
  6915. int32_t V_0 = 0;
  6916. int32_t V_1 = 0;
  6917. {
  6918. bool L_0;
  6919. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  6920. if (L_0)
  6921. {
  6922. goto IL_0009;
  6923. }
  6924. }
  6925. {
  6926. return;
  6927. }
  6928. IL_0009:
  6929. {
  6930. float L_1 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  6931. if ((!(((float)L_1) <= ((float)(0.0f)))))
  6932. {
  6933. goto IL_0017;
  6934. }
  6935. }
  6936. {
  6937. return;
  6938. }
  6939. IL_0017:
  6940. {
  6941. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_2 = __this->___spineMapping;
  6942. NullCheck(L_2);
  6943. IKMappingSpine_FixTransforms_mB2ED5970ECAC50DBB9B958BBF8FC13101659854A(L_2, NULL);
  6944. V_0 = 0;
  6945. goto IL_0037;
  6946. }
  6947. IL_0026:
  6948. {
  6949. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_3 = __this->___limbMappings;
  6950. int32_t L_4 = V_0;
  6951. NullCheck(L_3);
  6952. int32_t L_5 = L_4;
  6953. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  6954. NullCheck(L_6);
  6955. IKMappingLimb_FixTransforms_mFD0A8196457E247EEA89AFDEE5BC495F19AFF97C(L_6, NULL);
  6956. int32_t L_7 = V_0;
  6957. V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  6958. }
  6959. IL_0037:
  6960. {
  6961. int32_t L_8 = V_0;
  6962. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_9 = __this->___limbMappings;
  6963. NullCheck(L_9);
  6964. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  6965. {
  6966. goto IL_0026;
  6967. }
  6968. }
  6969. {
  6970. V_1 = 0;
  6971. goto IL_0057;
  6972. }
  6973. IL_0046:
  6974. {
  6975. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_10 = __this->___boneMappings;
  6976. int32_t L_11 = V_1;
  6977. NullCheck(L_10);
  6978. int32_t L_12 = L_11;
  6979. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  6980. NullCheck(L_13);
  6981. IKMappingBone_FixTransforms_m9ACA15257C7D4EF6FA2EDAE7D811B6037228B231(L_13, NULL);
  6982. int32_t L_14 = V_1;
  6983. V_1 = ((int32_t)il2cpp_codegen_add(L_14, 1));
  6984. }
  6985. IL_0057:
  6986. {
  6987. int32_t L_15 = V_1;
  6988. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_16 = __this->___boneMappings;
  6989. NullCheck(L_16);
  6990. if ((((int32_t)L_15) < ((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))))
  6991. {
  6992. goto IL_0046;
  6993. }
  6994. }
  6995. {
  6996. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_17 = __this->___OnFixTransforms;
  6997. if (!L_17)
  6998. {
  6999. goto IL_0075;
  7000. }
  7001. }
  7002. {
  7003. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_18 = __this->___OnFixTransforms;
  7004. NullCheck(L_18);
  7005. UpdateDelegate_Invoke_m095B3934DAEC5FA9ECE0A12334D557DAB064FE78_inline(L_18, NULL);
  7006. }
  7007. IL_0075:
  7008. {
  7009. return;
  7010. }
  7011. }
  7012. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_OnInitiate_m558178F14BD49E0C471636C89D360DAF0F6443BE (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  7013. {
  7014. int32_t V_0 = 0;
  7015. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* V_1 = NULL;
  7016. int32_t V_2 = 0;
  7017. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* V_3 = NULL;
  7018. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* V_4 = NULL;
  7019. {
  7020. V_0 = 0;
  7021. goto IL_0016;
  7022. }
  7023. IL_0004:
  7024. {
  7025. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = __this->___chain;
  7026. int32_t L_1 = V_0;
  7027. NullCheck(L_0);
  7028. int32_t L_2 = L_1;
  7029. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  7030. NullCheck(L_3);
  7031. FBIKChain_Initiate_m22658578D98324ADF0DB32C3A2AC014D3DB867EB(L_3, __this, NULL);
  7032. int32_t L_4 = V_0;
  7033. V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
  7034. }
  7035. IL_0016:
  7036. {
  7037. int32_t L_5 = V_0;
  7038. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_6 = __this->___chain;
  7039. NullCheck(L_6);
  7040. if ((((int32_t)L_5) < ((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
  7041. {
  7042. goto IL_0004;
  7043. }
  7044. }
  7045. {
  7046. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_7 = __this->___effectors;
  7047. V_1 = L_7;
  7048. V_2 = 0;
  7049. goto IL_0039;
  7050. }
  7051. IL_002c:
  7052. {
  7053. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_8 = V_1;
  7054. int32_t L_9 = V_2;
  7055. NullCheck(L_8);
  7056. int32_t L_10 = L_9;
  7057. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  7058. NullCheck(L_11);
  7059. IKEffector_Initiate_m665499C5AF74CC3D3E49A13C0B36ECE44548377C(L_11, __this, NULL);
  7060. int32_t L_12 = V_2;
  7061. V_2 = ((int32_t)il2cpp_codegen_add(L_12, 1));
  7062. }
  7063. IL_0039:
  7064. {
  7065. int32_t L_13 = V_2;
  7066. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_14 = V_1;
  7067. NullCheck(L_14);
  7068. if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))
  7069. {
  7070. goto IL_002c;
  7071. }
  7072. }
  7073. {
  7074. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_15 = __this->___spineMapping;
  7075. NullCheck(L_15);
  7076. VirtualActionInvoker1< IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* >::Invoke(5, L_15, __this);
  7077. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_16 = __this->___boneMappings;
  7078. V_3 = L_16;
  7079. V_2 = 0;
  7080. goto IL_0063;
  7081. }
  7082. IL_0056:
  7083. {
  7084. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_17 = V_3;
  7085. int32_t L_18 = V_2;
  7086. NullCheck(L_17);
  7087. int32_t L_19 = L_18;
  7088. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  7089. NullCheck(L_20);
  7090. VirtualActionInvoker1< IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* >::Invoke(5, L_20, __this);
  7091. int32_t L_21 = V_2;
  7092. V_2 = ((int32_t)il2cpp_codegen_add(L_21, 1));
  7093. }
  7094. IL_0063:
  7095. {
  7096. int32_t L_22 = V_2;
  7097. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_23 = V_3;
  7098. NullCheck(L_23);
  7099. if ((((int32_t)L_22) < ((int32_t)((int32_t)(((RuntimeArray*)L_23)->max_length)))))
  7100. {
  7101. goto IL_0056;
  7102. }
  7103. }
  7104. {
  7105. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_24 = __this->___limbMappings;
  7106. V_4 = L_24;
  7107. V_2 = 0;
  7108. goto IL_0083;
  7109. }
  7110. IL_0075:
  7111. {
  7112. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_25 = V_4;
  7113. int32_t L_26 = V_2;
  7114. NullCheck(L_25);
  7115. int32_t L_27 = L_26;
  7116. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
  7117. NullCheck(L_28);
  7118. VirtualActionInvoker1< IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* >::Invoke(5, L_28, __this);
  7119. int32_t L_29 = V_2;
  7120. V_2 = ((int32_t)il2cpp_codegen_add(L_29, 1));
  7121. }
  7122. IL_0083:
  7123. {
  7124. int32_t L_30 = V_2;
  7125. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_31 = V_4;
  7126. NullCheck(L_31);
  7127. if ((((int32_t)L_30) < ((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length)))))
  7128. {
  7129. goto IL_0075;
  7130. }
  7131. }
  7132. {
  7133. return;
  7134. }
  7135. }
  7136. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_OnUpdate_mF71586F0E988215DB145809FE8E44D0559DB0B39 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  7137. {
  7138. int32_t V_0 = 0;
  7139. int32_t V_1 = 0;
  7140. {
  7141. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  7142. if ((!(((float)L_0) <= ((float)(0.0f)))))
  7143. {
  7144. goto IL_0033;
  7145. }
  7146. }
  7147. {
  7148. V_0 = 0;
  7149. goto IL_0027;
  7150. }
  7151. IL_0011:
  7152. {
  7153. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_1 = __this->___effectors;
  7154. int32_t L_2 = V_0;
  7155. NullCheck(L_1);
  7156. int32_t L_3 = L_2;
  7157. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  7158. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  7159. L_5 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  7160. NullCheck(L_4);
  7161. L_4->___positionOffset = L_5;
  7162. int32_t L_6 = V_0;
  7163. V_0 = ((int32_t)il2cpp_codegen_add(L_6, 1));
  7164. }
  7165. IL_0027:
  7166. {
  7167. int32_t L_7 = V_0;
  7168. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_8 = __this->___effectors;
  7169. NullCheck(L_8);
  7170. if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
  7171. {
  7172. goto IL_0011;
  7173. }
  7174. }
  7175. {
  7176. return;
  7177. }
  7178. IL_0033:
  7179. {
  7180. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_9 = __this->___chain;
  7181. NullCheck(L_9);
  7182. if ((((RuntimeArray*)L_9)->max_length))
  7183. {
  7184. goto IL_003d;
  7185. }
  7186. }
  7187. {
  7188. return;
  7189. }
  7190. IL_003d:
  7191. {
  7192. float L_10 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  7193. float L_11;
  7194. L_11 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_10, (0.0f), (1.0f), NULL);
  7195. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_11;
  7196. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_12 = __this->___OnPreRead;
  7197. if (!L_12)
  7198. {
  7199. goto IL_006b;
  7200. }
  7201. }
  7202. {
  7203. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_13 = __this->___OnPreRead;
  7204. NullCheck(L_13);
  7205. UpdateDelegate_Invoke_m095B3934DAEC5FA9ECE0A12334D557DAB064FE78_inline(L_13, NULL);
  7206. }
  7207. IL_006b:
  7208. {
  7209. VirtualActionInvoker0::Invoke(12, __this);
  7210. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_14 = __this->___OnPreSolve;
  7211. if (!L_14)
  7212. {
  7213. goto IL_0084;
  7214. }
  7215. }
  7216. {
  7217. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_15 = __this->___OnPreSolve;
  7218. NullCheck(L_15);
  7219. UpdateDelegate_Invoke_m095B3934DAEC5FA9ECE0A12334D557DAB064FE78_inline(L_15, NULL);
  7220. }
  7221. IL_0084:
  7222. {
  7223. VirtualActionInvoker0::Invoke(13, __this);
  7224. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_16 = __this->___OnPostSolve;
  7225. if (!L_16)
  7226. {
  7227. goto IL_009d;
  7228. }
  7229. }
  7230. {
  7231. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_17 = __this->___OnPostSolve;
  7232. NullCheck(L_17);
  7233. UpdateDelegate_Invoke_m095B3934DAEC5FA9ECE0A12334D557DAB064FE78_inline(L_17, NULL);
  7234. }
  7235. IL_009d:
  7236. {
  7237. VirtualActionInvoker0::Invoke(15, __this);
  7238. V_1 = 0;
  7239. goto IL_00b8;
  7240. }
  7241. IL_00a7:
  7242. {
  7243. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_18 = __this->___effectors;
  7244. int32_t L_19 = V_1;
  7245. NullCheck(L_18);
  7246. int32_t L_20 = L_19;
  7247. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  7248. NullCheck(L_21);
  7249. IKEffector_OnPostWrite_m9F0A312E782EEF2BD2E78C613EE30C9FC7D3FF16(L_21, NULL);
  7250. int32_t L_22 = V_1;
  7251. V_1 = ((int32_t)il2cpp_codegen_add(L_22, 1));
  7252. }
  7253. IL_00b8:
  7254. {
  7255. int32_t L_23 = V_1;
  7256. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_24 = __this->___effectors;
  7257. NullCheck(L_24);
  7258. if ((((int32_t)L_23) < ((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))))
  7259. {
  7260. goto IL_00a7;
  7261. }
  7262. }
  7263. {
  7264. return;
  7265. }
  7266. }
  7267. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_ReadPose_m8F16EA6B52EFA865FA4DEE82587341931F87AF6E (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  7268. {
  7269. int32_t V_0 = 0;
  7270. int32_t V_1 = 0;
  7271. int32_t V_2 = 0;
  7272. int32_t V_3 = 0;
  7273. int32_t V_4 = 0;
  7274. int32_t V_5 = 0;
  7275. {
  7276. V_0 = 0;
  7277. goto IL_0053;
  7278. }
  7279. IL_0004:
  7280. {
  7281. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = __this->___chain;
  7282. int32_t L_1 = V_0;
  7283. NullCheck(L_0);
  7284. int32_t L_2 = L_1;
  7285. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  7286. NullCheck(L_3);
  7287. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_4 = L_3->___bendConstraint;
  7288. NullCheck(L_4);
  7289. bool L_5;
  7290. L_5 = IKConstraintBend_get_initiated_m8816A51D8F352EDB5ECC78B0D32D2EA3DA673D7D_inline(L_4, NULL);
  7291. if (!L_5)
  7292. {
  7293. goto IL_004f;
  7294. }
  7295. }
  7296. {
  7297. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_6 = __this->___chain;
  7298. int32_t L_7 = V_0;
  7299. NullCheck(L_6);
  7300. int32_t L_8 = L_7;
  7301. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  7302. NullCheck(L_9);
  7303. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_10 = L_9->___bendConstraint;
  7304. float L_11 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  7305. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_12 = __this->___chain;
  7306. int32_t L_13 = V_0;
  7307. NullCheck(L_12);
  7308. int32_t L_14 = L_13;
  7309. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  7310. NullCheck(L_15);
  7311. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_16 = L_15->___nodes;
  7312. NullCheck(L_16);
  7313. int32_t L_17 = 2;
  7314. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_18 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  7315. NullCheck(L_18);
  7316. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_18)->___transform;
  7317. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_20;
  7318. L_20 = IKSolverFullBody_GetEffector_m91A935CE4C543CAC72E03A612F1B7C57C4696C23(__this, L_19, NULL);
  7319. NullCheck(L_20);
  7320. float L_21 = L_20->___positionWeight;
  7321. NullCheck(L_10);
  7322. IKConstraintBend_LimitBend_m6B044306A483C417F12B66BAD70BA8188BF46D2A(L_10, L_11, L_21, NULL);
  7323. }
  7324. IL_004f:
  7325. {
  7326. int32_t L_22 = V_0;
  7327. V_0 = ((int32_t)il2cpp_codegen_add(L_22, 1));
  7328. }
  7329. IL_0053:
  7330. {
  7331. int32_t L_23 = V_0;
  7332. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_24 = __this->___chain;
  7333. NullCheck(L_24);
  7334. if ((((int32_t)L_23) < ((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))))
  7335. {
  7336. goto IL_0004;
  7337. }
  7338. }
  7339. {
  7340. V_1 = 0;
  7341. goto IL_0074;
  7342. }
  7343. IL_0062:
  7344. {
  7345. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_25 = __this->___effectors;
  7346. int32_t L_26 = V_1;
  7347. NullCheck(L_25);
  7348. int32_t L_27 = L_26;
  7349. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
  7350. NullCheck(L_28);
  7351. IKEffector_ResetOffset_m0B9E2B0CC5C76F37DC372095244541B1004C6400(L_28, __this, NULL);
  7352. int32_t L_29 = V_1;
  7353. V_1 = ((int32_t)il2cpp_codegen_add(L_29, 1));
  7354. }
  7355. IL_0074:
  7356. {
  7357. int32_t L_30 = V_1;
  7358. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_31 = __this->___effectors;
  7359. NullCheck(L_31);
  7360. if ((((int32_t)L_30) < ((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length)))))
  7361. {
  7362. goto IL_0062;
  7363. }
  7364. }
  7365. {
  7366. V_2 = 0;
  7367. goto IL_0095;
  7368. }
  7369. IL_0083:
  7370. {
  7371. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_32 = __this->___effectors;
  7372. int32_t L_33 = V_2;
  7373. NullCheck(L_32);
  7374. int32_t L_34 = L_33;
  7375. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  7376. NullCheck(L_35);
  7377. IKEffector_OnPreSolve_mCAA6A3F51CE00AAB9EAC20C7BE3884283EBA6CFC(L_35, __this, NULL);
  7378. int32_t L_36 = V_2;
  7379. V_2 = ((int32_t)il2cpp_codegen_add(L_36, 1));
  7380. }
  7381. IL_0095:
  7382. {
  7383. int32_t L_37 = V_2;
  7384. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_38 = __this->___effectors;
  7385. NullCheck(L_38);
  7386. if ((((int32_t)L_37) < ((int32_t)((int32_t)(((RuntimeArray*)L_38)->max_length)))))
  7387. {
  7388. goto IL_0083;
  7389. }
  7390. }
  7391. {
  7392. V_3 = 0;
  7393. goto IL_00bf;
  7394. }
  7395. IL_00a4:
  7396. {
  7397. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_39 = __this->___chain;
  7398. int32_t L_40 = V_3;
  7399. NullCheck(L_39);
  7400. int32_t L_41 = L_40;
  7401. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
  7402. int32_t L_43 = __this->___iterations;
  7403. NullCheck(L_42);
  7404. FBIKChain_ReadPose_m033602DE9803DDD63F23F6EBEF1E946397DE4D0E(L_42, __this, (bool)((((int32_t)L_43) > ((int32_t)0))? 1 : 0), NULL);
  7405. int32_t L_44 = V_3;
  7406. V_3 = ((int32_t)il2cpp_codegen_add(L_44, 1));
  7407. }
  7408. IL_00bf:
  7409. {
  7410. int32_t L_45 = V_3;
  7411. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_46 = __this->___chain;
  7412. NullCheck(L_46);
  7413. if ((((int32_t)L_45) < ((int32_t)((int32_t)(((RuntimeArray*)L_46)->max_length)))))
  7414. {
  7415. goto IL_00a4;
  7416. }
  7417. }
  7418. {
  7419. int32_t L_47 = __this->___iterations;
  7420. if ((((int32_t)L_47) <= ((int32_t)0)))
  7421. {
  7422. goto IL_0103;
  7423. }
  7424. }
  7425. {
  7426. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_48 = __this->___spineMapping;
  7427. NullCheck(L_48);
  7428. IKMappingSpine_ReadPose_mCF6A5FB830D99CA518985B0F9222D80C1A20E69F(L_48, NULL);
  7429. V_4 = 0;
  7430. goto IL_00f7;
  7431. }
  7432. IL_00e3:
  7433. {
  7434. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_49 = __this->___boneMappings;
  7435. int32_t L_50 = V_4;
  7436. NullCheck(L_49);
  7437. int32_t L_51 = L_50;
  7438. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
  7439. NullCheck(L_52);
  7440. IKMappingBone_ReadPose_m5CC284A5E0E296962FED1A9F29A360F2CE155F8A(L_52, NULL);
  7441. int32_t L_53 = V_4;
  7442. V_4 = ((int32_t)il2cpp_codegen_add(L_53, 1));
  7443. }
  7444. IL_00f7:
  7445. {
  7446. int32_t L_54 = V_4;
  7447. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_55 = __this->___boneMappings;
  7448. NullCheck(L_55);
  7449. if ((((int32_t)L_54) < ((int32_t)((int32_t)(((RuntimeArray*)L_55)->max_length)))))
  7450. {
  7451. goto IL_00e3;
  7452. }
  7453. }
  7454. IL_0103:
  7455. {
  7456. V_5 = 0;
  7457. goto IL_011c;
  7458. }
  7459. IL_0108:
  7460. {
  7461. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_56 = __this->___limbMappings;
  7462. int32_t L_57 = V_5;
  7463. NullCheck(L_56);
  7464. int32_t L_58 = L_57;
  7465. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_59 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_58));
  7466. NullCheck(L_59);
  7467. IKMappingLimb_ReadPose_mF213C8FD1A6AEA90BFB3CC7F57B78D1FE24A0161(L_59, NULL);
  7468. int32_t L_60 = V_5;
  7469. V_5 = ((int32_t)il2cpp_codegen_add(L_60, 1));
  7470. }
  7471. IL_011c:
  7472. {
  7473. int32_t L_61 = V_5;
  7474. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_62 = __this->___limbMappings;
  7475. NullCheck(L_62);
  7476. if ((((int32_t)L_61) < ((int32_t)((int32_t)(((RuntimeArray*)L_62)->max_length)))))
  7477. {
  7478. goto IL_0108;
  7479. }
  7480. }
  7481. {
  7482. return;
  7483. }
  7484. }
  7485. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_Solve_mCAB1672A17905EB9F3D8E877356F7ADCAF7DBA61 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  7486. {
  7487. int32_t V_0 = 0;
  7488. int32_t V_1 = 0;
  7489. int32_t V_2 = 0;
  7490. int32_t V_3 = 0;
  7491. int32_t V_4 = 0;
  7492. int32_t G_B29_0 = 0;
  7493. int32_t G_B28_0 = 0;
  7494. int32_t G_B30_0 = 0;
  7495. int32_t G_B30_1 = 0;
  7496. {
  7497. int32_t L_0 = __this->___iterations;
  7498. if ((((int32_t)L_0) <= ((int32_t)0)))
  7499. {
  7500. goto IL_015a;
  7501. }
  7502. }
  7503. {
  7504. V_0 = 0;
  7505. goto IL_0143;
  7506. }
  7507. IL_0013:
  7508. {
  7509. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* L_1 = __this->___OnPreIteration;
  7510. if (!L_1)
  7511. {
  7512. goto IL_0027;
  7513. }
  7514. }
  7515. {
  7516. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* L_2 = __this->___OnPreIteration;
  7517. int32_t L_3 = V_0;
  7518. NullCheck(L_2);
  7519. IterationDelegate_Invoke_m2BB5120815C0CC3CE91AFEC5044B2B5DB252C09B_inline(L_2, L_3, NULL);
  7520. }
  7521. IL_0027:
  7522. {
  7523. V_1 = 0;
  7524. goto IL_004c;
  7525. }
  7526. IL_002b:
  7527. {
  7528. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_4 = __this->___effectors;
  7529. int32_t L_5 = V_1;
  7530. NullCheck(L_4);
  7531. int32_t L_6 = L_5;
  7532. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  7533. NullCheck(L_7);
  7534. bool L_8;
  7535. L_8 = IKEffector_get_isEndEffector_m54200CE28232E1CED2790F2FC02DB411885F1F1B_inline(L_7, NULL);
  7536. if (!L_8)
  7537. {
  7538. goto IL_0048;
  7539. }
  7540. }
  7541. {
  7542. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_9 = __this->___effectors;
  7543. int32_t L_10 = V_1;
  7544. NullCheck(L_9);
  7545. int32_t L_11 = L_10;
  7546. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  7547. NullCheck(L_12);
  7548. IKEffector_Update_mBF620F2B296D6FD4579D660C4FB800B54FFAA3B3(L_12, __this, NULL);
  7549. }
  7550. IL_0048:
  7551. {
  7552. int32_t L_13 = V_1;
  7553. V_1 = ((int32_t)il2cpp_codegen_add(L_13, 1));
  7554. }
  7555. IL_004c:
  7556. {
  7557. int32_t L_14 = V_1;
  7558. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_15 = __this->___effectors;
  7559. NullCheck(L_15);
  7560. if ((((int32_t)L_14) < ((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))))
  7561. {
  7562. goto IL_002b;
  7563. }
  7564. }
  7565. {
  7566. bool L_16 = __this->___FABRIKPass;
  7567. if (!L_16)
  7568. {
  7569. goto IL_00b4;
  7570. }
  7571. }
  7572. {
  7573. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_17 = __this->___chain;
  7574. NullCheck(L_17);
  7575. int32_t L_18 = 0;
  7576. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_19 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  7577. NullCheck(L_19);
  7578. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  7579. L_20 = FBIKChain_Push_m89B1B93A02779DE5DF7D782B5AAEB2FDC29F62BC(L_19, __this, NULL);
  7580. bool L_21 = __this->___FABRIKPass;
  7581. if (!L_21)
  7582. {
  7583. goto IL_0084;
  7584. }
  7585. }
  7586. {
  7587. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_22 = __this->___chain;
  7588. NullCheck(L_22);
  7589. int32_t L_23 = 0;
  7590. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_24 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  7591. NullCheck(L_24);
  7592. FBIKChain_Reach_m46C364EC6211B78B85D4003B28F479AA56215177(L_24, __this, NULL);
  7593. }
  7594. IL_0084:
  7595. {
  7596. V_2 = 0;
  7597. goto IL_00a9;
  7598. }
  7599. IL_0088:
  7600. {
  7601. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_25 = __this->___effectors;
  7602. int32_t L_26 = V_2;
  7603. NullCheck(L_25);
  7604. int32_t L_27 = L_26;
  7605. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
  7606. NullCheck(L_28);
  7607. bool L_29;
  7608. L_29 = IKEffector_get_isEndEffector_m54200CE28232E1CED2790F2FC02DB411885F1F1B_inline(L_28, NULL);
  7609. if (L_29)
  7610. {
  7611. goto IL_00a5;
  7612. }
  7613. }
  7614. {
  7615. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_30 = __this->___effectors;
  7616. int32_t L_31 = V_2;
  7617. NullCheck(L_30);
  7618. int32_t L_32 = L_31;
  7619. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_33 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
  7620. NullCheck(L_33);
  7621. IKEffector_Update_mBF620F2B296D6FD4579D660C4FB800B54FFAA3B3(L_33, __this, NULL);
  7622. }
  7623. IL_00a5:
  7624. {
  7625. int32_t L_34 = V_2;
  7626. V_2 = ((int32_t)il2cpp_codegen_add(L_34, 1));
  7627. }
  7628. IL_00a9:
  7629. {
  7630. int32_t L_35 = V_2;
  7631. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_36 = __this->___effectors;
  7632. NullCheck(L_36);
  7633. if ((((int32_t)L_35) < ((int32_t)((int32_t)(((RuntimeArray*)L_36)->max_length)))))
  7634. {
  7635. goto IL_0088;
  7636. }
  7637. }
  7638. IL_00b4:
  7639. {
  7640. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_37 = __this->___chain;
  7641. NullCheck(L_37);
  7642. int32_t L_38 = 0;
  7643. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_39 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
  7644. NullCheck(L_39);
  7645. FBIKChain_SolveTrigonometric_m980F15D9E5B2EF146F57E56BE8F7A20CB4B32FFA(L_39, __this, (bool)0, NULL);
  7646. bool L_40 = __this->___FABRIKPass;
  7647. if (!L_40)
  7648. {
  7649. goto IL_012b;
  7650. }
  7651. }
  7652. {
  7653. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_41 = __this->___chain;
  7654. NullCheck(L_41);
  7655. int32_t L_42 = 0;
  7656. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_43 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
  7657. NullCheck(L_43);
  7658. FBIKChain_Stage1_mA105D25ECAF6223E6A13421D0C9AA88A86EEAE4C(L_43, __this, NULL);
  7659. V_3 = 0;
  7660. goto IL_00fe;
  7661. }
  7662. IL_00dd:
  7663. {
  7664. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_44 = __this->___effectors;
  7665. int32_t L_45 = V_3;
  7666. NullCheck(L_44);
  7667. int32_t L_46 = L_45;
  7668. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_47 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
  7669. NullCheck(L_47);
  7670. bool L_48;
  7671. L_48 = IKEffector_get_isEndEffector_m54200CE28232E1CED2790F2FC02DB411885F1F1B_inline(L_47, NULL);
  7672. if (L_48)
  7673. {
  7674. goto IL_00fa;
  7675. }
  7676. }
  7677. {
  7678. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_49 = __this->___effectors;
  7679. int32_t L_50 = V_3;
  7680. NullCheck(L_49);
  7681. int32_t L_51 = L_50;
  7682. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
  7683. NullCheck(L_52);
  7684. IKEffector_Update_mBF620F2B296D6FD4579D660C4FB800B54FFAA3B3(L_52, __this, NULL);
  7685. }
  7686. IL_00fa:
  7687. {
  7688. int32_t L_53 = V_3;
  7689. V_3 = ((int32_t)il2cpp_codegen_add(L_53, 1));
  7690. }
  7691. IL_00fe:
  7692. {
  7693. int32_t L_54 = V_3;
  7694. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_55 = __this->___effectors;
  7695. NullCheck(L_55);
  7696. if ((((int32_t)L_54) < ((int32_t)((int32_t)(((RuntimeArray*)L_55)->max_length)))))
  7697. {
  7698. goto IL_00dd;
  7699. }
  7700. }
  7701. {
  7702. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_56 = __this->___chain;
  7703. NullCheck(L_56);
  7704. int32_t L_57 = 0;
  7705. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_58 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_57));
  7706. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_59 = __this->___chain;
  7707. NullCheck(L_59);
  7708. int32_t L_60 = 0;
  7709. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_61 = (L_59)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
  7710. NullCheck(L_61);
  7711. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_62 = L_61->___nodes;
  7712. NullCheck(L_62);
  7713. int32_t L_63 = 0;
  7714. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_64 = (L_62)->GetAt(static_cast<il2cpp_array_size_t>(L_63));
  7715. NullCheck(L_64);
  7716. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_64)->___solverPosition;
  7717. NullCheck(L_58);
  7718. FBIKChain_Stage2_mBDE85FF8BE51437DCF44D120F8A24D385741A9BD(L_58, __this, L_65, NULL);
  7719. }
  7720. IL_012b:
  7721. {
  7722. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* L_66 = __this->___OnPostIteration;
  7723. if (!L_66)
  7724. {
  7725. goto IL_013f;
  7726. }
  7727. }
  7728. {
  7729. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* L_67 = __this->___OnPostIteration;
  7730. int32_t L_68 = V_0;
  7731. NullCheck(L_67);
  7732. IterationDelegate_Invoke_m2BB5120815C0CC3CE91AFEC5044B2B5DB252C09B_inline(L_67, L_68, NULL);
  7733. }
  7734. IL_013f:
  7735. {
  7736. int32_t L_69 = V_0;
  7737. V_0 = ((int32_t)il2cpp_codegen_add(L_69, 1));
  7738. }
  7739. IL_0143:
  7740. {
  7741. int32_t L_70 = V_0;
  7742. bool L_71 = __this->___FABRIKPass;
  7743. if (L_71)
  7744. {
  7745. G_B29_0 = L_70;
  7746. goto IL_014f;
  7747. }
  7748. G_B28_0 = L_70;
  7749. }
  7750. {
  7751. G_B30_0 = 1;
  7752. G_B30_1 = G_B28_0;
  7753. goto IL_0155;
  7754. }
  7755. IL_014f:
  7756. {
  7757. int32_t L_72 = __this->___iterations;
  7758. G_B30_0 = L_72;
  7759. G_B30_1 = G_B29_0;
  7760. }
  7761. IL_0155:
  7762. {
  7763. if ((((int32_t)G_B30_1) < ((int32_t)G_B30_0)))
  7764. {
  7765. goto IL_0013;
  7766. }
  7767. }
  7768. IL_015a:
  7769. {
  7770. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_73 = __this->___OnPreBend;
  7771. if (!L_73)
  7772. {
  7773. goto IL_016d;
  7774. }
  7775. }
  7776. {
  7777. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_74 = __this->___OnPreBend;
  7778. NullCheck(L_74);
  7779. UpdateDelegate_Invoke_m095B3934DAEC5FA9ECE0A12334D557DAB064FE78_inline(L_74, NULL);
  7780. }
  7781. IL_016d:
  7782. {
  7783. V_4 = 0;
  7784. goto IL_0197;
  7785. }
  7786. IL_0172:
  7787. {
  7788. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_75 = __this->___effectors;
  7789. int32_t L_76 = V_4;
  7790. NullCheck(L_75);
  7791. int32_t L_77 = L_76;
  7792. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_78 = (L_75)->GetAt(static_cast<il2cpp_array_size_t>(L_77));
  7793. NullCheck(L_78);
  7794. bool L_79;
  7795. L_79 = IKEffector_get_isEndEffector_m54200CE28232E1CED2790F2FC02DB411885F1F1B_inline(L_78, NULL);
  7796. if (!L_79)
  7797. {
  7798. goto IL_0191;
  7799. }
  7800. }
  7801. {
  7802. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_80 = __this->___effectors;
  7803. int32_t L_81 = V_4;
  7804. NullCheck(L_80);
  7805. int32_t L_82 = L_81;
  7806. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_83 = (L_80)->GetAt(static_cast<il2cpp_array_size_t>(L_82));
  7807. NullCheck(L_83);
  7808. IKEffector_Update_mBF620F2B296D6FD4579D660C4FB800B54FFAA3B3(L_83, __this, NULL);
  7809. }
  7810. IL_0191:
  7811. {
  7812. int32_t L_84 = V_4;
  7813. V_4 = ((int32_t)il2cpp_codegen_add(L_84, 1));
  7814. }
  7815. IL_0197:
  7816. {
  7817. int32_t L_85 = V_4;
  7818. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_86 = __this->___effectors;
  7819. NullCheck(L_86);
  7820. if ((((int32_t)L_85) < ((int32_t)((int32_t)(((RuntimeArray*)L_86)->max_length)))))
  7821. {
  7822. goto IL_0172;
  7823. }
  7824. }
  7825. {
  7826. VirtualActionInvoker0::Invoke(14, __this);
  7827. return;
  7828. }
  7829. }
  7830. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_ApplyBendConstraints_m8E8D733425C991B3FB94148595CB07CF07DC4F12 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  7831. {
  7832. {
  7833. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = __this->___chain;
  7834. NullCheck(L_0);
  7835. int32_t L_1 = 0;
  7836. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  7837. NullCheck(L_2);
  7838. FBIKChain_SolveTrigonometric_m980F15D9E5B2EF146F57E56BE8F7A20CB4B32FFA(L_2, __this, (bool)1, NULL);
  7839. return;
  7840. }
  7841. }
  7842. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody_WritePose_mFC086B9EE2A3AE3468D24BFECDFDF07644862365 (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  7843. {
  7844. int32_t V_0 = 0;
  7845. int32_t V_1 = 0;
  7846. {
  7847. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  7848. if ((!(((float)L_0) <= ((float)(0.0f)))))
  7849. {
  7850. goto IL_000e;
  7851. }
  7852. }
  7853. {
  7854. return;
  7855. }
  7856. IL_000e:
  7857. {
  7858. int32_t L_1 = __this->___iterations;
  7859. if ((((int32_t)L_1) <= ((int32_t)0)))
  7860. {
  7861. goto IL_0049;
  7862. }
  7863. }
  7864. {
  7865. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_2 = __this->___spineMapping;
  7866. NullCheck(L_2);
  7867. IKMappingSpine_WritePose_m89825C771778C32B9392F77E175D6E907D0E636F(L_2, __this, NULL);
  7868. V_0 = 0;
  7869. goto IL_003e;
  7870. }
  7871. IL_0027:
  7872. {
  7873. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_3 = __this->___boneMappings;
  7874. int32_t L_4 = V_0;
  7875. NullCheck(L_3);
  7876. int32_t L_5 = L_4;
  7877. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  7878. float L_7 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  7879. NullCheck(L_6);
  7880. IKMappingBone_WritePose_m8DC79F602191916A8DEA97BAAE665012BDBD4DED(L_6, L_7, NULL);
  7881. int32_t L_8 = V_0;
  7882. V_0 = ((int32_t)il2cpp_codegen_add(L_8, 1));
  7883. }
  7884. IL_003e:
  7885. {
  7886. int32_t L_9 = V_0;
  7887. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_10 = __this->___boneMappings;
  7888. NullCheck(L_10);
  7889. if ((((int32_t)L_9) < ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
  7890. {
  7891. goto IL_0027;
  7892. }
  7893. }
  7894. IL_0049:
  7895. {
  7896. V_1 = 0;
  7897. goto IL_0068;
  7898. }
  7899. IL_004d:
  7900. {
  7901. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_11 = __this->___limbMappings;
  7902. int32_t L_12 = V_1;
  7903. NullCheck(L_11);
  7904. int32_t L_13 = L_12;
  7905. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  7906. int32_t L_15 = __this->___iterations;
  7907. NullCheck(L_14);
  7908. IKMappingLimb_WritePose_m3C2617BB22539714E761FFC884B970699DA6F0A1(L_14, __this, (bool)((((int32_t)L_15) > ((int32_t)0))? 1 : 0), NULL);
  7909. int32_t L_16 = V_1;
  7910. V_1 = ((int32_t)il2cpp_codegen_add(L_16, 1));
  7911. }
  7912. IL_0068:
  7913. {
  7914. int32_t L_17 = V_1;
  7915. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_18 = __this->___limbMappings;
  7916. NullCheck(L_18);
  7917. if ((((int32_t)L_17) < ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))))
  7918. {
  7919. goto IL_004d;
  7920. }
  7921. }
  7922. {
  7923. return;
  7924. }
  7925. }
  7926. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBody__ctor_mD8D847B0FE05B2CF6B8C0A8A0464389DDE18721E (IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8* __this, const RuntimeMethod* method)
  7927. {
  7928. static bool s_Il2CppMethodInitialized;
  7929. if (!s_Il2CppMethodInitialized)
  7930. {
  7931. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595_il2cpp_TypeInfo_var);
  7932. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953_il2cpp_TypeInfo_var);
  7933. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA_il2cpp_TypeInfo_var);
  7934. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C_il2cpp_TypeInfo_var);
  7935. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949_il2cpp_TypeInfo_var);
  7936. s_Il2CppMethodInitialized = true;
  7937. }
  7938. {
  7939. __this->___iterations = 4;
  7940. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = (FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595*)(FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595*)SZArrayNew(FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595_il2cpp_TypeInfo_var, (uint32_t)0);
  7941. __this->___chain = L_0;
  7942. Il2CppCodeGenWriteBarrier((void**)(&__this->___chain), (void*)L_0);
  7943. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_1 = (IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953*)(IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953*)SZArrayNew(IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953_il2cpp_TypeInfo_var, (uint32_t)0);
  7944. __this->___effectors = L_1;
  7945. Il2CppCodeGenWriteBarrier((void**)(&__this->___effectors), (void*)L_1);
  7946. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_2 = (IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949*)il2cpp_codegen_object_new(IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949_il2cpp_TypeInfo_var);
  7947. IKMappingSpine__ctor_mD04FEDA7BB3F6EA4ECEBAA549C89C4378DCA30D6(L_2, NULL);
  7948. __this->___spineMapping = L_2;
  7949. Il2CppCodeGenWriteBarrier((void**)(&__this->___spineMapping), (void*)L_2);
  7950. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_3 = (IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA*)(IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA*)SZArrayNew(IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA_il2cpp_TypeInfo_var, (uint32_t)0);
  7951. __this->___boneMappings = L_3;
  7952. Il2CppCodeGenWriteBarrier((void**)(&__this->___boneMappings), (void*)L_3);
  7953. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_4 = (IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C*)(IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C*)SZArrayNew(IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C_il2cpp_TypeInfo_var, (uint32_t)0);
  7954. __this->___limbMappings = L_4;
  7955. Il2CppCodeGenWriteBarrier((void**)(&__this->___limbMappings), (void*)L_4);
  7956. __this->___FABRIKPass = (bool)1;
  7957. IKSolver__ctor_mF80BFDB950365AD0B8E8ACB9A26E78C8DDC9B3DC(__this, NULL);
  7958. return;
  7959. }
  7960. }
  7961. #ifdef __clang__
  7962. #pragma clang diagnostic pop
  7963. #endif
  7964. #ifdef __clang__
  7965. #pragma clang diagnostic push
  7966. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  7967. #pragma clang diagnostic ignored "-Wunused-variable"
  7968. #endif
  7969. #ifdef __clang__
  7970. #pragma clang diagnostic pop
  7971. #endif
  7972. #ifdef __clang__
  7973. #pragma clang diagnostic push
  7974. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  7975. #pragma clang diagnostic ignored "-Wunused-variable"
  7976. #endif
  7977. #ifdef __clang__
  7978. #pragma clang diagnostic pop
  7979. #endif
  7980. #ifdef __clang__
  7981. #pragma clang diagnostic push
  7982. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  7983. #pragma clang diagnostic ignored "-Wunused-variable"
  7984. #endif
  7985. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_bodyEffector_m97B613AF8F3394E6C145169FC2C20E95AE62034E (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  7986. {
  7987. {
  7988. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0;
  7989. L_0 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, 0, NULL);
  7990. return L_0;
  7991. }
  7992. }
  7993. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_leftShoulderEffector_m1E241CB8F90408873321977AB7D2D0C50485F666 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  7994. {
  7995. {
  7996. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0;
  7997. L_0 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, 1, NULL);
  7998. return L_0;
  7999. }
  8000. }
  8001. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_rightShoulderEffector_m7EE8CAA0BD91D245EC4FEC88A44750227594E9C4 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8002. {
  8003. {
  8004. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0;
  8005. L_0 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, 2, NULL);
  8006. return L_0;
  8007. }
  8008. }
  8009. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_leftThighEffector_m68A5A262F0B002544DE07F6C04E496B966C8C385 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8010. {
  8011. {
  8012. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0;
  8013. L_0 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, 3, NULL);
  8014. return L_0;
  8015. }
  8016. }
  8017. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_rightThighEffector_mC140F7CED6B5134F0775C9B5D7C07433679BB828 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8018. {
  8019. {
  8020. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0;
  8021. L_0 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, 4, NULL);
  8022. return L_0;
  8023. }
  8024. }
  8025. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_leftHandEffector_m3BF5472D80EA409075C62F714D01855F729876F6 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8026. {
  8027. {
  8028. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0;
  8029. L_0 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, 5, NULL);
  8030. return L_0;
  8031. }
  8032. }
  8033. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_rightHandEffector_mCBB21A3FE2F1B14EC9A05C0AA23A392C408C004E (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8034. {
  8035. {
  8036. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0;
  8037. L_0 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, 6, NULL);
  8038. return L_0;
  8039. }
  8040. }
  8041. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_leftFootEffector_m6AEF596EBEBE905767C197DB60B93B764F434BC2 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8042. {
  8043. {
  8044. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0;
  8045. L_0 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, 7, NULL);
  8046. return L_0;
  8047. }
  8048. }
  8049. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_get_rightFootEffector_m2FCD557479D15DB80715000CD4349EAB5CD81002 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8050. {
  8051. {
  8052. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0;
  8053. L_0 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, 8, NULL);
  8054. return L_0;
  8055. }
  8056. }
  8057. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_get_leftArmChain_mAB6B0622FF236D65F6049006D1A1D48E004C81A0 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8058. {
  8059. {
  8060. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8061. NullCheck(L_0);
  8062. int32_t L_1 = 1;
  8063. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8064. return L_2;
  8065. }
  8066. }
  8067. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_get_rightArmChain_mA670FF593133563EA13B7EB272B8155BAB667BC7 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8068. {
  8069. {
  8070. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8071. NullCheck(L_0);
  8072. int32_t L_1 = 2;
  8073. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8074. return L_2;
  8075. }
  8076. }
  8077. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_get_leftLegChain_m8ED3154CC1875F69947BA32276C44298F03C2480 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8078. {
  8079. {
  8080. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8081. NullCheck(L_0);
  8082. int32_t L_1 = 3;
  8083. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8084. return L_2;
  8085. }
  8086. }
  8087. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_get_rightLegChain_m154FE3FEF8F459AF8726F8446F5A660A53DD931E (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8088. {
  8089. {
  8090. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8091. NullCheck(L_0);
  8092. int32_t L_1 = 4;
  8093. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8094. return L_2;
  8095. }
  8096. }
  8097. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* IKSolverFullBodyBiped_get_leftArmMapping_mAC32513CAFA0E101C05A969DBCD1D5CE75120EB0 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8098. {
  8099. {
  8100. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8101. NullCheck(L_0);
  8102. int32_t L_1 = 0;
  8103. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8104. return L_2;
  8105. }
  8106. }
  8107. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* IKSolverFullBodyBiped_get_rightArmMapping_m5DD3DC93471EFC25A78687F322F4C1AFC6F2597C (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8108. {
  8109. {
  8110. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8111. NullCheck(L_0);
  8112. int32_t L_1 = 1;
  8113. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8114. return L_2;
  8115. }
  8116. }
  8117. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* IKSolverFullBodyBiped_get_leftLegMapping_m763C18B6E158121AB45CB4884C5CEA3D58EF40F2 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8118. {
  8119. {
  8120. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8121. NullCheck(L_0);
  8122. int32_t L_1 = 2;
  8123. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8124. return L_2;
  8125. }
  8126. }
  8127. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* IKSolverFullBodyBiped_get_rightLegMapping_mA3878E3DEEA955AD13C75F02C529BC3D06DFA0E3 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8128. {
  8129. {
  8130. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8131. NullCheck(L_0);
  8132. int32_t L_1 = 3;
  8133. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8134. return L_2;
  8135. }
  8136. }
  8137. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* IKSolverFullBodyBiped_get_headMapping_m20B2C2CF149135ABFA5ECFCC722401781956AA87 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8138. {
  8139. {
  8140. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings;
  8141. NullCheck(L_0);
  8142. int32_t L_1 = 0;
  8143. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8144. return L_2;
  8145. }
  8146. }
  8147. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_SetChainWeights_m7B8597B02AA88F956BF2963C9DB7CCEE96D2337B (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_c, float ___1_pull, float ___2_reach, const RuntimeMethod* method)
  8148. {
  8149. {
  8150. int32_t L_0 = ___0_c;
  8151. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_1;
  8152. L_1 = IKSolverFullBodyBiped_GetChain_m75364C9F4E654450B982B9B284364A5D8A265602(__this, L_0, NULL);
  8153. float L_2 = ___1_pull;
  8154. NullCheck(L_1);
  8155. L_1->___pull = L_2;
  8156. int32_t L_3 = ___0_c;
  8157. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_4;
  8158. L_4 = IKSolverFullBodyBiped_GetChain_m75364C9F4E654450B982B9B284364A5D8A265602(__this, L_3, NULL);
  8159. float L_5 = ___2_reach;
  8160. NullCheck(L_4);
  8161. L_4->___reach = L_5;
  8162. return;
  8163. }
  8164. }
  8165. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_SetEffectorWeights_mBAF147CE593599EF495EC721604C99FBF7C810B1 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_effector, float ___1_positionWeight, float ___2_rotationWeight, const RuntimeMethod* method)
  8166. {
  8167. {
  8168. int32_t L_0 = ___0_effector;
  8169. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_1;
  8170. L_1 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, L_0, NULL);
  8171. float L_2 = ___1_positionWeight;
  8172. float L_3;
  8173. L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_2, (0.0f), (1.0f), NULL);
  8174. NullCheck(L_1);
  8175. L_1->___positionWeight = L_3;
  8176. int32_t L_4 = ___0_effector;
  8177. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_5;
  8178. L_5 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(__this, L_4, NULL);
  8179. float L_6 = ___2_rotationWeight;
  8180. float L_7;
  8181. L_7 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_6, (0.0f), (1.0f), NULL);
  8182. NullCheck(L_5);
  8183. L_5->___rotationWeight = L_7;
  8184. return;
  8185. }
  8186. }
  8187. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_GetChain_m75364C9F4E654450B982B9B284364A5D8A265602 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_c, const RuntimeMethod* method)
  8188. {
  8189. {
  8190. int32_t L_0 = ___0_c;
  8191. switch (L_0)
  8192. {
  8193. case 0:
  8194. {
  8195. goto IL_0018;
  8196. }
  8197. case 1:
  8198. {
  8199. goto IL_0021;
  8200. }
  8201. case 2:
  8202. {
  8203. goto IL_002a;
  8204. }
  8205. case 3:
  8206. {
  8207. goto IL_0033;
  8208. }
  8209. }
  8210. }
  8211. {
  8212. goto IL_003c;
  8213. }
  8214. IL_0018:
  8215. {
  8216. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_1 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8217. NullCheck(L_1);
  8218. int32_t L_2 = 1;
  8219. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8220. return L_3;
  8221. }
  8222. IL_0021:
  8223. {
  8224. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_4 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8225. NullCheck(L_4);
  8226. int32_t L_5 = 2;
  8227. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  8228. return L_6;
  8229. }
  8230. IL_002a:
  8231. {
  8232. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_7 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8233. NullCheck(L_7);
  8234. int32_t L_8 = 3;
  8235. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  8236. return L_9;
  8237. }
  8238. IL_0033:
  8239. {
  8240. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_10 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8241. NullCheck(L_10);
  8242. int32_t L_11 = 4;
  8243. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  8244. return L_12;
  8245. }
  8246. IL_003c:
  8247. {
  8248. return (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11*)NULL;
  8249. }
  8250. }
  8251. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_effector, const RuntimeMethod* method)
  8252. {
  8253. {
  8254. int32_t L_0 = ___0_effector;
  8255. switch (L_0)
  8256. {
  8257. case 0:
  8258. {
  8259. goto IL_002c;
  8260. }
  8261. case 1:
  8262. {
  8263. goto IL_0035;
  8264. }
  8265. case 2:
  8266. {
  8267. goto IL_003e;
  8268. }
  8269. case 3:
  8270. {
  8271. goto IL_0047;
  8272. }
  8273. case 4:
  8274. {
  8275. goto IL_0050;
  8276. }
  8277. case 5:
  8278. {
  8279. goto IL_0059;
  8280. }
  8281. case 6:
  8282. {
  8283. goto IL_0062;
  8284. }
  8285. case 7:
  8286. {
  8287. goto IL_006b;
  8288. }
  8289. case 8:
  8290. {
  8291. goto IL_0074;
  8292. }
  8293. }
  8294. }
  8295. {
  8296. goto IL_007d;
  8297. }
  8298. IL_002c:
  8299. {
  8300. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_1 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8301. NullCheck(L_1);
  8302. int32_t L_2 = 0;
  8303. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8304. return L_3;
  8305. }
  8306. IL_0035:
  8307. {
  8308. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_4 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8309. NullCheck(L_4);
  8310. int32_t L_5 = 1;
  8311. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  8312. return L_6;
  8313. }
  8314. IL_003e:
  8315. {
  8316. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_7 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8317. NullCheck(L_7);
  8318. int32_t L_8 = 2;
  8319. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  8320. return L_9;
  8321. }
  8322. IL_0047:
  8323. {
  8324. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_10 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8325. NullCheck(L_10);
  8326. int32_t L_11 = 3;
  8327. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  8328. return L_12;
  8329. }
  8330. IL_0050:
  8331. {
  8332. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_13 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8333. NullCheck(L_13);
  8334. int32_t L_14 = 4;
  8335. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_15 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  8336. return L_15;
  8337. }
  8338. IL_0059:
  8339. {
  8340. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_16 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8341. NullCheck(L_16);
  8342. int32_t L_17 = 1;
  8343. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_18 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  8344. return L_18;
  8345. }
  8346. IL_0062:
  8347. {
  8348. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_19 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8349. NullCheck(L_19);
  8350. int32_t L_20 = 2;
  8351. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_21 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  8352. return L_21;
  8353. }
  8354. IL_006b:
  8355. {
  8356. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_22 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8357. NullCheck(L_22);
  8358. int32_t L_23 = 3;
  8359. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_24 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  8360. return L_24;
  8361. }
  8362. IL_0074:
  8363. {
  8364. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_25 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8365. NullCheck(L_25);
  8366. int32_t L_26 = 4;
  8367. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_27 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  8368. return L_27;
  8369. }
  8370. IL_007d:
  8371. {
  8372. return (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11*)NULL;
  8373. }
  8374. }
  8375. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_effector, const RuntimeMethod* method)
  8376. {
  8377. {
  8378. int32_t L_0 = ___0_effector;
  8379. switch (L_0)
  8380. {
  8381. case 0:
  8382. {
  8383. goto IL_002c;
  8384. }
  8385. case 1:
  8386. {
  8387. goto IL_0035;
  8388. }
  8389. case 2:
  8390. {
  8391. goto IL_003e;
  8392. }
  8393. case 3:
  8394. {
  8395. goto IL_0047;
  8396. }
  8397. case 4:
  8398. {
  8399. goto IL_0050;
  8400. }
  8401. case 5:
  8402. {
  8403. goto IL_0059;
  8404. }
  8405. case 6:
  8406. {
  8407. goto IL_0062;
  8408. }
  8409. case 7:
  8410. {
  8411. goto IL_006b;
  8412. }
  8413. case 8:
  8414. {
  8415. goto IL_0074;
  8416. }
  8417. }
  8418. }
  8419. {
  8420. goto IL_007d;
  8421. }
  8422. IL_002c:
  8423. {
  8424. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_1 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8425. NullCheck(L_1);
  8426. int32_t L_2 = 0;
  8427. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8428. return L_3;
  8429. }
  8430. IL_0035:
  8431. {
  8432. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_4 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8433. NullCheck(L_4);
  8434. int32_t L_5 = 1;
  8435. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  8436. return L_6;
  8437. }
  8438. IL_003e:
  8439. {
  8440. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_7 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8441. NullCheck(L_7);
  8442. int32_t L_8 = 2;
  8443. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  8444. return L_9;
  8445. }
  8446. IL_0047:
  8447. {
  8448. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_10 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8449. NullCheck(L_10);
  8450. int32_t L_11 = 3;
  8451. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  8452. return L_12;
  8453. }
  8454. IL_0050:
  8455. {
  8456. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_13 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8457. NullCheck(L_13);
  8458. int32_t L_14 = 4;
  8459. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_15 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  8460. return L_15;
  8461. }
  8462. IL_0059:
  8463. {
  8464. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_16 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8465. NullCheck(L_16);
  8466. int32_t L_17 = 5;
  8467. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_18 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  8468. return L_18;
  8469. }
  8470. IL_0062:
  8471. {
  8472. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_19 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8473. NullCheck(L_19);
  8474. int32_t L_20 = 6;
  8475. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_21 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  8476. return L_21;
  8477. }
  8478. IL_006b:
  8479. {
  8480. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_22 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8481. NullCheck(L_22);
  8482. int32_t L_23 = 7;
  8483. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_24 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  8484. return L_24;
  8485. }
  8486. IL_0074:
  8487. {
  8488. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_25 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8489. NullCheck(L_25);
  8490. int32_t L_26 = 8;
  8491. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_27 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  8492. return L_27;
  8493. }
  8494. IL_007d:
  8495. {
  8496. return (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)NULL;
  8497. }
  8498. }
  8499. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_GetEndEffector_mF9A178D7DDED7C68072B28F9C90462B163113098 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_c, const RuntimeMethod* method)
  8500. {
  8501. {
  8502. int32_t L_0 = ___0_c;
  8503. switch (L_0)
  8504. {
  8505. case 0:
  8506. {
  8507. goto IL_0018;
  8508. }
  8509. case 1:
  8510. {
  8511. goto IL_0021;
  8512. }
  8513. case 2:
  8514. {
  8515. goto IL_002a;
  8516. }
  8517. case 3:
  8518. {
  8519. goto IL_0033;
  8520. }
  8521. }
  8522. }
  8523. {
  8524. goto IL_003c;
  8525. }
  8526. IL_0018:
  8527. {
  8528. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_1 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8529. NullCheck(L_1);
  8530. int32_t L_2 = 5;
  8531. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8532. return L_3;
  8533. }
  8534. IL_0021:
  8535. {
  8536. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_4 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8537. NullCheck(L_4);
  8538. int32_t L_5 = 6;
  8539. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  8540. return L_6;
  8541. }
  8542. IL_002a:
  8543. {
  8544. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_7 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8545. NullCheck(L_7);
  8546. int32_t L_8 = 7;
  8547. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  8548. return L_9;
  8549. }
  8550. IL_0033:
  8551. {
  8552. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_10 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8553. NullCheck(L_10);
  8554. int32_t L_11 = 8;
  8555. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  8556. return L_12;
  8557. }
  8558. IL_003c:
  8559. {
  8560. return (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)NULL;
  8561. }
  8562. }
  8563. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* IKSolverFullBodyBiped_GetLimbMapping_m4E45F924632CEFA45471E96EFA1E119FEE788C3B (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_chain, const RuntimeMethod* method)
  8564. {
  8565. {
  8566. int32_t L_0 = ___0_chain;
  8567. switch (L_0)
  8568. {
  8569. case 0:
  8570. {
  8571. goto IL_0018;
  8572. }
  8573. case 1:
  8574. {
  8575. goto IL_0021;
  8576. }
  8577. case 2:
  8578. {
  8579. goto IL_002a;
  8580. }
  8581. case 3:
  8582. {
  8583. goto IL_0033;
  8584. }
  8585. }
  8586. }
  8587. {
  8588. goto IL_003c;
  8589. }
  8590. IL_0018:
  8591. {
  8592. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_1 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8593. NullCheck(L_1);
  8594. int32_t L_2 = 0;
  8595. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8596. return L_3;
  8597. }
  8598. IL_0021:
  8599. {
  8600. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_4 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8601. NullCheck(L_4);
  8602. int32_t L_5 = 1;
  8603. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  8604. return L_6;
  8605. }
  8606. IL_002a:
  8607. {
  8608. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_7 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8609. NullCheck(L_7);
  8610. int32_t L_8 = 2;
  8611. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  8612. return L_9;
  8613. }
  8614. IL_0033:
  8615. {
  8616. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_10 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8617. NullCheck(L_10);
  8618. int32_t L_11 = 3;
  8619. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  8620. return L_12;
  8621. }
  8622. IL_003c:
  8623. {
  8624. return (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)NULL;
  8625. }
  8626. }
  8627. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* IKSolverFullBodyBiped_GetLimbMapping_m95E810B2068963EB6CF811346C56EBF47B4CDAB6 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_effector, const RuntimeMethod* method)
  8628. {
  8629. {
  8630. int32_t L_0 = ___0_effector;
  8631. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_0, 1)))
  8632. {
  8633. case 0:
  8634. {
  8635. goto IL_002a;
  8636. }
  8637. case 1:
  8638. {
  8639. goto IL_0033;
  8640. }
  8641. case 2:
  8642. {
  8643. goto IL_003c;
  8644. }
  8645. case 3:
  8646. {
  8647. goto IL_0045;
  8648. }
  8649. case 4:
  8650. {
  8651. goto IL_004e;
  8652. }
  8653. case 5:
  8654. {
  8655. goto IL_0057;
  8656. }
  8657. case 6:
  8658. {
  8659. goto IL_0060;
  8660. }
  8661. case 7:
  8662. {
  8663. goto IL_0069;
  8664. }
  8665. }
  8666. }
  8667. {
  8668. goto IL_0072;
  8669. }
  8670. IL_002a:
  8671. {
  8672. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_1 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8673. NullCheck(L_1);
  8674. int32_t L_2 = 0;
  8675. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8676. return L_3;
  8677. }
  8678. IL_0033:
  8679. {
  8680. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_4 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8681. NullCheck(L_4);
  8682. int32_t L_5 = 1;
  8683. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  8684. return L_6;
  8685. }
  8686. IL_003c:
  8687. {
  8688. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_7 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8689. NullCheck(L_7);
  8690. int32_t L_8 = 2;
  8691. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  8692. return L_9;
  8693. }
  8694. IL_0045:
  8695. {
  8696. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_10 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8697. NullCheck(L_10);
  8698. int32_t L_11 = 3;
  8699. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  8700. return L_12;
  8701. }
  8702. IL_004e:
  8703. {
  8704. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_13 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8705. NullCheck(L_13);
  8706. int32_t L_14 = 0;
  8707. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_15 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  8708. return L_15;
  8709. }
  8710. IL_0057:
  8711. {
  8712. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_16 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8713. NullCheck(L_16);
  8714. int32_t L_17 = 1;
  8715. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_18 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  8716. return L_18;
  8717. }
  8718. IL_0060:
  8719. {
  8720. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_19 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8721. NullCheck(L_19);
  8722. int32_t L_20 = 2;
  8723. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_21 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  8724. return L_21;
  8725. }
  8726. IL_0069:
  8727. {
  8728. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_22 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8729. NullCheck(L_22);
  8730. int32_t L_23 = 3;
  8731. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_24 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  8732. return L_24;
  8733. }
  8734. IL_0072:
  8735. {
  8736. return (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)NULL;
  8737. }
  8738. }
  8739. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* IKSolverFullBodyBiped_GetSpineMapping_m177AC89100C002C85AA9E9B12C35A6A29E7C0373 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8740. {
  8741. {
  8742. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___spineMapping;
  8743. return L_0;
  8744. }
  8745. }
  8746. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* IKSolverFullBodyBiped_GetHeadMapping_mCE3B2971DA05072081FBAF3D137851AA804BA95B (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  8747. {
  8748. {
  8749. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings;
  8750. NullCheck(L_0);
  8751. int32_t L_1 = 0;
  8752. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8753. return L_2;
  8754. }
  8755. }
  8756. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* IKSolverFullBodyBiped_GetBendConstraint_mA7054F0B22CADA5B80BA53106F94E451B46566AC (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_limb, const RuntimeMethod* method)
  8757. {
  8758. {
  8759. int32_t L_0 = ___0_limb;
  8760. switch (L_0)
  8761. {
  8762. case 0:
  8763. {
  8764. goto IL_0018;
  8765. }
  8766. case 1:
  8767. {
  8768. goto IL_0026;
  8769. }
  8770. case 2:
  8771. {
  8772. goto IL_0034;
  8773. }
  8774. case 3:
  8775. {
  8776. goto IL_0042;
  8777. }
  8778. }
  8779. }
  8780. {
  8781. goto IL_0050;
  8782. }
  8783. IL_0018:
  8784. {
  8785. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_1 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8786. NullCheck(L_1);
  8787. int32_t L_2 = 1;
  8788. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8789. NullCheck(L_3);
  8790. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_4 = L_3->___bendConstraint;
  8791. return L_4;
  8792. }
  8793. IL_0026:
  8794. {
  8795. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_5 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8796. NullCheck(L_5);
  8797. int32_t L_6 = 2;
  8798. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_7 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  8799. NullCheck(L_7);
  8800. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_8 = L_7->___bendConstraint;
  8801. return L_8;
  8802. }
  8803. IL_0034:
  8804. {
  8805. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_9 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8806. NullCheck(L_9);
  8807. int32_t L_10 = 3;
  8808. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_11 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  8809. NullCheck(L_11);
  8810. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_12 = L_11->___bendConstraint;
  8811. return L_12;
  8812. }
  8813. IL_0042:
  8814. {
  8815. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_13 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8816. NullCheck(L_13);
  8817. int32_t L_14 = 4;
  8818. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_15 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  8819. NullCheck(L_15);
  8820. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_16 = L_15->___bendConstraint;
  8821. return L_16;
  8822. }
  8823. IL_0050:
  8824. {
  8825. return (IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8*)NULL;
  8826. }
  8827. }
  8828. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverFullBodyBiped_IsValid_m5C9788ABB8225869CAA2FB8E1A9F69C1C4783756 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, String_t** ___0_message, const RuntimeMethod* method)
  8829. {
  8830. static bool s_Il2CppMethodInitialized;
  8831. if (!s_Il2CppMethodInitialized)
  8832. {
  8833. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  8834. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral63005A62A7D95C9B5EEA8C6F6C826A0CB841C9C0);
  8835. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE50EF1392D2D8DE79CC3B179A15B2312E52F2399);
  8836. s_Il2CppMethodInitialized = true;
  8837. }
  8838. {
  8839. String_t** L_0 = ___0_message;
  8840. bool L_1;
  8841. L_1 = IKSolverFullBody_IsValid_m7415DECBDD8F37339979BA77C836A9DC3E9075FE(__this, L_0, NULL);
  8842. if (L_1)
  8843. {
  8844. goto IL_000b;
  8845. }
  8846. }
  8847. {
  8848. return (bool)0;
  8849. }
  8850. IL_000b:
  8851. {
  8852. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___rootNode;
  8853. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  8854. bool L_3;
  8855. L_3 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_2, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  8856. if (!L_3)
  8857. {
  8858. goto IL_0022;
  8859. }
  8860. }
  8861. {
  8862. String_t** L_4 = ___0_message;
  8863. *((RuntimeObject**)L_4) = (RuntimeObject*)_stringLiteralE50EF1392D2D8DE79CC3B179A15B2312E52F2399;
  8864. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_4, (void*)(RuntimeObject*)_stringLiteralE50EF1392D2D8DE79CC3B179A15B2312E52F2399);
  8865. return (bool)0;
  8866. }
  8867. IL_0022:
  8868. {
  8869. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_5 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8870. NullCheck(L_5);
  8871. if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_5)->max_length))) == ((uint32_t)5))))
  8872. {
  8873. goto IL_009e;
  8874. }
  8875. }
  8876. {
  8877. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_6 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8878. NullCheck(L_6);
  8879. int32_t L_7 = 0;
  8880. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  8881. NullCheck(L_8);
  8882. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_9 = L_8->___nodes;
  8883. NullCheck(L_9);
  8884. if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_9)->max_length))) == ((uint32_t)1))))
  8885. {
  8886. goto IL_009e;
  8887. }
  8888. }
  8889. {
  8890. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_10 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8891. NullCheck(L_10);
  8892. int32_t L_11 = 1;
  8893. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  8894. NullCheck(L_12);
  8895. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_13 = L_12->___nodes;
  8896. NullCheck(L_13);
  8897. if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_13)->max_length))) == ((uint32_t)3))))
  8898. {
  8899. goto IL_009e;
  8900. }
  8901. }
  8902. {
  8903. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_14 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8904. NullCheck(L_14);
  8905. int32_t L_15 = 2;
  8906. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  8907. NullCheck(L_16);
  8908. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_17 = L_16->___nodes;
  8909. NullCheck(L_17);
  8910. if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))) == ((uint32_t)3))))
  8911. {
  8912. goto IL_009e;
  8913. }
  8914. }
  8915. {
  8916. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_18 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8917. NullCheck(L_18);
  8918. int32_t L_19 = 3;
  8919. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_20 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  8920. NullCheck(L_20);
  8921. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_21 = L_20->___nodes;
  8922. NullCheck(L_21);
  8923. if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_21)->max_length))) == ((uint32_t)3))))
  8924. {
  8925. goto IL_009e;
  8926. }
  8927. }
  8928. {
  8929. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_22 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  8930. NullCheck(L_22);
  8931. int32_t L_23 = 4;
  8932. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_24 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  8933. NullCheck(L_24);
  8934. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_25 = L_24->___nodes;
  8935. NullCheck(L_25);
  8936. if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_25)->max_length))) == ((uint32_t)3))))
  8937. {
  8938. goto IL_009e;
  8939. }
  8940. }
  8941. {
  8942. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_26 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  8943. NullCheck(L_26);
  8944. if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_26)->max_length))) == ((uint32_t)((int32_t)9)))))
  8945. {
  8946. goto IL_009e;
  8947. }
  8948. }
  8949. {
  8950. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_27 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  8951. NullCheck(L_27);
  8952. if ((((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length))) == ((int32_t)4)))
  8953. {
  8954. goto IL_00a7;
  8955. }
  8956. }
  8957. IL_009e:
  8958. {
  8959. String_t** L_28 = ___0_message;
  8960. *((RuntimeObject**)L_28) = (RuntimeObject*)_stringLiteral63005A62A7D95C9B5EEA8C6F6C826A0CB841C9C0;
  8961. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_28, (void*)(RuntimeObject*)_stringLiteral63005A62A7D95C9B5EEA8C6F6C826A0CB841C9C0);
  8962. return (bool)0;
  8963. }
  8964. IL_00a7:
  8965. {
  8966. return (bool)1;
  8967. }
  8968. }
  8969. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_SetToReferences_mC9E9C86DC98CE19EF4F151D8C9A81C9C71285351 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* ___0_references, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_rootNode, const RuntimeMethod* method)
  8970. {
  8971. static bool s_Il2CppMethodInitialized;
  8972. if (!s_Il2CppMethodInitialized)
  8973. {
  8974. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  8975. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA_il2cpp_TypeInfo_var);
  8976. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0_il2cpp_TypeInfo_var);
  8977. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595_il2cpp_TypeInfo_var);
  8978. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11_il2cpp_TypeInfo_var);
  8979. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953_il2cpp_TypeInfo_var);
  8980. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  8981. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA_il2cpp_TypeInfo_var);
  8982. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12_il2cpp_TypeInfo_var);
  8983. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C_il2cpp_TypeInfo_var);
  8984. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B_il2cpp_TypeInfo_var);
  8985. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949_il2cpp_TypeInfo_var);
  8986. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
  8987. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  8988. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var);
  8989. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t8A3378E04A85985CC8FDDBAEF2073B988BAF5D57____CF97ADEEDB59E05BFD73A2B4C2A8885708C4F4F70C84C64B27120E72AB733B72_FieldInfo_var);
  8990. s_Il2CppMethodInitialized = true;
  8991. }
  8992. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* V_0 = NULL;
  8993. int32_t V_1 = 0;
  8994. int32_t V_2 = 0;
  8995. int32_t V_3 = 0;
  8996. int32_t V_4 = 0;
  8997. int32_t G_B20_0 = 0;
  8998. {
  8999. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_0 = ___0_references;
  9000. NullCheck(L_0);
  9001. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = L_0->___root;
  9002. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root = L_1;
  9003. Il2CppCodeGenWriteBarrier((void**)(&((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root), (void*)L_1);
  9004. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ___1_rootNode;
  9005. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  9006. bool L_3;
  9007. L_3 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_2, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  9008. if (!L_3)
  9009. {
  9010. goto IL_001d;
  9011. }
  9012. }
  9013. {
  9014. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_4 = ___0_references;
  9015. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5;
  9016. L_5 = IKSolverFullBodyBiped_DetectRootNodeBone_mA134835420527AB13E709D92BF1128A1CB856216(L_4, NULL);
  9017. ___1_rootNode = L_5;
  9018. }
  9019. IL_001d:
  9020. {
  9021. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ___1_rootNode;
  9022. __this->___rootNode = L_6;
  9023. Il2CppCodeGenWriteBarrier((void**)(&__this->___rootNode), (void*)L_6);
  9024. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_7 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9025. if (!L_7)
  9026. {
  9027. goto IL_0037;
  9028. }
  9029. }
  9030. {
  9031. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_8 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9032. NullCheck(L_8);
  9033. if ((((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length))) == ((int32_t)5)))
  9034. {
  9035. goto IL_0043;
  9036. }
  9037. }
  9038. IL_0037:
  9039. {
  9040. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_9 = (FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595*)(FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595*)SZArrayNew(FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595_il2cpp_TypeInfo_var, (uint32_t)5);
  9041. ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain = L_9;
  9042. Il2CppCodeGenWriteBarrier((void**)(&((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain), (void*)L_9);
  9043. }
  9044. IL_0043:
  9045. {
  9046. V_2 = 0;
  9047. goto IL_0062;
  9048. }
  9049. IL_0047:
  9050. {
  9051. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_10 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9052. int32_t L_11 = V_2;
  9053. NullCheck(L_10);
  9054. int32_t L_12 = L_11;
  9055. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  9056. if (L_13)
  9057. {
  9058. goto IL_005e;
  9059. }
  9060. }
  9061. {
  9062. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_14 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9063. int32_t L_15 = V_2;
  9064. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_16 = (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11*)il2cpp_codegen_object_new(FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11_il2cpp_TypeInfo_var);
  9065. FBIKChain__ctor_mF47376AFBF623DF3BF0F7FC910A5C0C7FE87C7BD(L_16, NULL);
  9066. NullCheck(L_14);
  9067. ArrayElementTypeCheck (L_14, L_16);
  9068. (L_14)->SetAt(static_cast<il2cpp_array_size_t>(L_15), (FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11*)L_16);
  9069. }
  9070. IL_005e:
  9071. {
  9072. int32_t L_17 = V_2;
  9073. V_2 = ((int32_t)il2cpp_codegen_add(L_17, 1));
  9074. }
  9075. IL_0062:
  9076. {
  9077. int32_t L_18 = V_2;
  9078. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_19 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9079. NullCheck(L_19);
  9080. if ((((int32_t)L_18) < ((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length)))))
  9081. {
  9082. goto IL_0047;
  9083. }
  9084. }
  9085. {
  9086. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_20 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9087. NullCheck(L_20);
  9088. int32_t L_21 = 0;
  9089. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
  9090. NullCheck(L_22);
  9091. L_22->___pin = (0.0f);
  9092. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_23 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9093. NullCheck(L_23);
  9094. int32_t L_24 = 0;
  9095. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_25 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  9096. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_26 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)1);
  9097. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_27 = L_26;
  9098. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28 = ___1_rootNode;
  9099. NullCheck(L_27);
  9100. ArrayElementTypeCheck (L_27, L_28);
  9101. (L_27)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_28);
  9102. NullCheck(L_25);
  9103. FBIKChain_SetNodes_mAB478A3B34E6DFFCF3990E56F103F0B07911B6E6(L_25, L_27, NULL);
  9104. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_29 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9105. NullCheck(L_29);
  9106. int32_t L_30 = 0;
  9107. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_31 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  9108. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_32 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)4);
  9109. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_33 = L_32;
  9110. RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_34 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t8A3378E04A85985CC8FDDBAEF2073B988BAF5D57____CF97ADEEDB59E05BFD73A2B4C2A8885708C4F4F70C84C64B27120E72AB733B72_FieldInfo_var) };
  9111. RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_33, L_34, NULL);
  9112. NullCheck(L_31);
  9113. L_31->___children = L_33;
  9114. Il2CppCodeGenWriteBarrier((void**)(&L_31->___children), (void*)L_33);
  9115. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_35 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9116. NullCheck(L_35);
  9117. int32_t L_36 = 1;
  9118. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_37 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
  9119. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_38 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)3);
  9120. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_39 = L_38;
  9121. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_40 = ___0_references;
  9122. NullCheck(L_40);
  9123. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_41 = L_40->___leftUpperArm;
  9124. NullCheck(L_39);
  9125. ArrayElementTypeCheck (L_39, L_41);
  9126. (L_39)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_41);
  9127. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_42 = L_39;
  9128. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_43 = ___0_references;
  9129. NullCheck(L_43);
  9130. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_44 = L_43->___leftForearm;
  9131. NullCheck(L_42);
  9132. ArrayElementTypeCheck (L_42, L_44);
  9133. (L_42)->SetAt(static_cast<il2cpp_array_size_t>(1), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_44);
  9134. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_45 = L_42;
  9135. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_46 = ___0_references;
  9136. NullCheck(L_46);
  9137. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_47 = L_46->___leftHand;
  9138. NullCheck(L_45);
  9139. ArrayElementTypeCheck (L_45, L_47);
  9140. (L_45)->SetAt(static_cast<il2cpp_array_size_t>(2), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_47);
  9141. NullCheck(L_37);
  9142. FBIKChain_SetNodes_mAB478A3B34E6DFFCF3990E56F103F0B07911B6E6(L_37, L_45, NULL);
  9143. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_48 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9144. NullCheck(L_48);
  9145. int32_t L_49 = 2;
  9146. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_50 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
  9147. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_51 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)3);
  9148. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_52 = L_51;
  9149. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_53 = ___0_references;
  9150. NullCheck(L_53);
  9151. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_54 = L_53->___rightUpperArm;
  9152. NullCheck(L_52);
  9153. ArrayElementTypeCheck (L_52, L_54);
  9154. (L_52)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_54);
  9155. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_55 = L_52;
  9156. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_56 = ___0_references;
  9157. NullCheck(L_56);
  9158. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_57 = L_56->___rightForearm;
  9159. NullCheck(L_55);
  9160. ArrayElementTypeCheck (L_55, L_57);
  9161. (L_55)->SetAt(static_cast<il2cpp_array_size_t>(1), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_57);
  9162. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_58 = L_55;
  9163. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_59 = ___0_references;
  9164. NullCheck(L_59);
  9165. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_60 = L_59->___rightHand;
  9166. NullCheck(L_58);
  9167. ArrayElementTypeCheck (L_58, L_60);
  9168. (L_58)->SetAt(static_cast<il2cpp_array_size_t>(2), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_60);
  9169. NullCheck(L_50);
  9170. FBIKChain_SetNodes_mAB478A3B34E6DFFCF3990E56F103F0B07911B6E6(L_50, L_58, NULL);
  9171. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_61 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9172. NullCheck(L_61);
  9173. int32_t L_62 = 3;
  9174. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_63 = (L_61)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
  9175. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_64 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)3);
  9176. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_65 = L_64;
  9177. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_66 = ___0_references;
  9178. NullCheck(L_66);
  9179. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_67 = L_66->___leftThigh;
  9180. NullCheck(L_65);
  9181. ArrayElementTypeCheck (L_65, L_67);
  9182. (L_65)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_67);
  9183. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_68 = L_65;
  9184. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_69 = ___0_references;
  9185. NullCheck(L_69);
  9186. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_70 = L_69->___leftCalf;
  9187. NullCheck(L_68);
  9188. ArrayElementTypeCheck (L_68, L_70);
  9189. (L_68)->SetAt(static_cast<il2cpp_array_size_t>(1), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_70);
  9190. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_71 = L_68;
  9191. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_72 = ___0_references;
  9192. NullCheck(L_72);
  9193. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_73 = L_72->___leftFoot;
  9194. NullCheck(L_71);
  9195. ArrayElementTypeCheck (L_71, L_73);
  9196. (L_71)->SetAt(static_cast<il2cpp_array_size_t>(2), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_73);
  9197. NullCheck(L_63);
  9198. FBIKChain_SetNodes_mAB478A3B34E6DFFCF3990E56F103F0B07911B6E6(L_63, L_71, NULL);
  9199. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_74 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9200. NullCheck(L_74);
  9201. int32_t L_75 = 4;
  9202. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_76 = (L_74)->GetAt(static_cast<il2cpp_array_size_t>(L_75));
  9203. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_77 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)3);
  9204. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_78 = L_77;
  9205. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_79 = ___0_references;
  9206. NullCheck(L_79);
  9207. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_80 = L_79->___rightThigh;
  9208. NullCheck(L_78);
  9209. ArrayElementTypeCheck (L_78, L_80);
  9210. (L_78)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_80);
  9211. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_81 = L_78;
  9212. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_82 = ___0_references;
  9213. NullCheck(L_82);
  9214. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_83 = L_82->___rightCalf;
  9215. NullCheck(L_81);
  9216. ArrayElementTypeCheck (L_81, L_83);
  9217. (L_81)->SetAt(static_cast<il2cpp_array_size_t>(1), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_83);
  9218. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_84 = L_81;
  9219. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_85 = ___0_references;
  9220. NullCheck(L_85);
  9221. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_86 = L_85->___rightFoot;
  9222. NullCheck(L_84);
  9223. ArrayElementTypeCheck (L_84, L_86);
  9224. (L_84)->SetAt(static_cast<il2cpp_array_size_t>(2), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_86);
  9225. NullCheck(L_76);
  9226. FBIKChain_SetNodes_mAB478A3B34E6DFFCF3990E56F103F0B07911B6E6(L_76, L_84, NULL);
  9227. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_87 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9228. NullCheck(L_87);
  9229. if ((((int32_t)((int32_t)(((RuntimeArray*)L_87)->max_length))) == ((int32_t)((int32_t)9))))
  9230. {
  9231. goto IL_01cd;
  9232. }
  9233. }
  9234. {
  9235. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_88 = (IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953*)(IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953*)SZArrayNew(IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953_il2cpp_TypeInfo_var, (uint32_t)((int32_t)9));
  9236. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_89 = L_88;
  9237. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_90 = (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)il2cpp_codegen_object_new(IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  9238. IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913(L_90, NULL);
  9239. NullCheck(L_89);
  9240. ArrayElementTypeCheck (L_89, L_90);
  9241. (L_89)->SetAt(static_cast<il2cpp_array_size_t>(0), (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)L_90);
  9242. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_91 = L_89;
  9243. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_92 = (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)il2cpp_codegen_object_new(IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  9244. IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913(L_92, NULL);
  9245. NullCheck(L_91);
  9246. ArrayElementTypeCheck (L_91, L_92);
  9247. (L_91)->SetAt(static_cast<il2cpp_array_size_t>(1), (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)L_92);
  9248. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_93 = L_91;
  9249. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_94 = (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)il2cpp_codegen_object_new(IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  9250. IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913(L_94, NULL);
  9251. NullCheck(L_93);
  9252. ArrayElementTypeCheck (L_93, L_94);
  9253. (L_93)->SetAt(static_cast<il2cpp_array_size_t>(2), (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)L_94);
  9254. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_95 = L_93;
  9255. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_96 = (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)il2cpp_codegen_object_new(IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  9256. IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913(L_96, NULL);
  9257. NullCheck(L_95);
  9258. ArrayElementTypeCheck (L_95, L_96);
  9259. (L_95)->SetAt(static_cast<il2cpp_array_size_t>(3), (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)L_96);
  9260. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_97 = L_95;
  9261. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_98 = (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)il2cpp_codegen_object_new(IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  9262. IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913(L_98, NULL);
  9263. NullCheck(L_97);
  9264. ArrayElementTypeCheck (L_97, L_98);
  9265. (L_97)->SetAt(static_cast<il2cpp_array_size_t>(4), (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)L_98);
  9266. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_99 = L_97;
  9267. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_100 = (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)il2cpp_codegen_object_new(IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  9268. IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913(L_100, NULL);
  9269. NullCheck(L_99);
  9270. ArrayElementTypeCheck (L_99, L_100);
  9271. (L_99)->SetAt(static_cast<il2cpp_array_size_t>(5), (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)L_100);
  9272. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_101 = L_99;
  9273. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_102 = (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)il2cpp_codegen_object_new(IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  9274. IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913(L_102, NULL);
  9275. NullCheck(L_101);
  9276. ArrayElementTypeCheck (L_101, L_102);
  9277. (L_101)->SetAt(static_cast<il2cpp_array_size_t>(6), (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)L_102);
  9278. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_103 = L_101;
  9279. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_104 = (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)il2cpp_codegen_object_new(IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  9280. IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913(L_104, NULL);
  9281. NullCheck(L_103);
  9282. ArrayElementTypeCheck (L_103, L_104);
  9283. (L_103)->SetAt(static_cast<il2cpp_array_size_t>(7), (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)L_104);
  9284. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_105 = L_103;
  9285. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_106 = (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)il2cpp_codegen_object_new(IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF_il2cpp_TypeInfo_var);
  9286. IKEffector__ctor_m4238102C511118C122DFA9CA629F0131DFEFB913(L_106, NULL);
  9287. NullCheck(L_105);
  9288. ArrayElementTypeCheck (L_105, L_106);
  9289. (L_105)->SetAt(static_cast<il2cpp_array_size_t>(8), (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF*)L_106);
  9290. ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors = L_105;
  9291. Il2CppCodeGenWriteBarrier((void**)(&((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors), (void*)L_105);
  9292. }
  9293. IL_01cd:
  9294. {
  9295. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_107 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9296. NullCheck(L_107);
  9297. int32_t L_108 = 0;
  9298. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_109 = (L_107)->GetAt(static_cast<il2cpp_array_size_t>(L_108));
  9299. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_110 = ___1_rootNode;
  9300. NullCheck(L_109);
  9301. L_109->___bone = L_110;
  9302. Il2CppCodeGenWriteBarrier((void**)(&L_109->___bone), (void*)L_110);
  9303. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_111 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9304. NullCheck(L_111);
  9305. int32_t L_112 = 0;
  9306. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_113 = (L_111)->GetAt(static_cast<il2cpp_array_size_t>(L_112));
  9307. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_114 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)2);
  9308. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_115 = L_114;
  9309. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_116 = ___0_references;
  9310. NullCheck(L_116);
  9311. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_117 = L_116->___leftThigh;
  9312. NullCheck(L_115);
  9313. ArrayElementTypeCheck (L_115, L_117);
  9314. (L_115)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_117);
  9315. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_118 = L_115;
  9316. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_119 = ___0_references;
  9317. NullCheck(L_119);
  9318. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_120 = L_119->___rightThigh;
  9319. NullCheck(L_118);
  9320. ArrayElementTypeCheck (L_118, L_120);
  9321. (L_118)->SetAt(static_cast<il2cpp_array_size_t>(1), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_120);
  9322. NullCheck(L_113);
  9323. L_113->___childBones = L_118;
  9324. Il2CppCodeGenWriteBarrier((void**)(&L_113->___childBones), (void*)L_118);
  9325. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_121 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9326. NullCheck(L_121);
  9327. int32_t L_122 = 1;
  9328. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_123 = (L_121)->GetAt(static_cast<il2cpp_array_size_t>(L_122));
  9329. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_124 = ___0_references;
  9330. NullCheck(L_124);
  9331. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_125 = L_124->___leftUpperArm;
  9332. NullCheck(L_123);
  9333. L_123->___bone = L_125;
  9334. Il2CppCodeGenWriteBarrier((void**)(&L_123->___bone), (void*)L_125);
  9335. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_126 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9336. NullCheck(L_126);
  9337. int32_t L_127 = 2;
  9338. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_128 = (L_126)->GetAt(static_cast<il2cpp_array_size_t>(L_127));
  9339. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_129 = ___0_references;
  9340. NullCheck(L_129);
  9341. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_130 = L_129->___rightUpperArm;
  9342. NullCheck(L_128);
  9343. L_128->___bone = L_130;
  9344. Il2CppCodeGenWriteBarrier((void**)(&L_128->___bone), (void*)L_130);
  9345. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_131 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9346. NullCheck(L_131);
  9347. int32_t L_132 = 3;
  9348. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_133 = (L_131)->GetAt(static_cast<il2cpp_array_size_t>(L_132));
  9349. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_134 = ___0_references;
  9350. NullCheck(L_134);
  9351. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_135 = L_134->___leftThigh;
  9352. NullCheck(L_133);
  9353. L_133->___bone = L_135;
  9354. Il2CppCodeGenWriteBarrier((void**)(&L_133->___bone), (void*)L_135);
  9355. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_136 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9356. NullCheck(L_136);
  9357. int32_t L_137 = 4;
  9358. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_138 = (L_136)->GetAt(static_cast<il2cpp_array_size_t>(L_137));
  9359. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_139 = ___0_references;
  9360. NullCheck(L_139);
  9361. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_140 = L_139->___rightThigh;
  9362. NullCheck(L_138);
  9363. L_138->___bone = L_140;
  9364. Il2CppCodeGenWriteBarrier((void**)(&L_138->___bone), (void*)L_140);
  9365. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_141 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9366. NullCheck(L_141);
  9367. int32_t L_142 = 5;
  9368. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_143 = (L_141)->GetAt(static_cast<il2cpp_array_size_t>(L_142));
  9369. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_144 = ___0_references;
  9370. NullCheck(L_144);
  9371. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_145 = L_144->___leftHand;
  9372. NullCheck(L_143);
  9373. L_143->___bone = L_145;
  9374. Il2CppCodeGenWriteBarrier((void**)(&L_143->___bone), (void*)L_145);
  9375. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_146 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9376. NullCheck(L_146);
  9377. int32_t L_147 = 6;
  9378. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_148 = (L_146)->GetAt(static_cast<il2cpp_array_size_t>(L_147));
  9379. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_149 = ___0_references;
  9380. NullCheck(L_149);
  9381. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_150 = L_149->___rightHand;
  9382. NullCheck(L_148);
  9383. L_148->___bone = L_150;
  9384. Il2CppCodeGenWriteBarrier((void**)(&L_148->___bone), (void*)L_150);
  9385. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_151 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9386. NullCheck(L_151);
  9387. int32_t L_152 = 7;
  9388. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_153 = (L_151)->GetAt(static_cast<il2cpp_array_size_t>(L_152));
  9389. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_154 = ___0_references;
  9390. NullCheck(L_154);
  9391. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_155 = L_154->___leftFoot;
  9392. NullCheck(L_153);
  9393. L_153->___bone = L_155;
  9394. Il2CppCodeGenWriteBarrier((void**)(&L_153->___bone), (void*)L_155);
  9395. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_156 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9396. NullCheck(L_156);
  9397. int32_t L_157 = 8;
  9398. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_158 = (L_156)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
  9399. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_159 = ___0_references;
  9400. NullCheck(L_159);
  9401. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_160 = L_159->___rightFoot;
  9402. NullCheck(L_158);
  9403. L_158->___bone = L_160;
  9404. Il2CppCodeGenWriteBarrier((void**)(&L_158->___bone), (void*)L_160);
  9405. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_161 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9406. NullCheck(L_161);
  9407. int32_t L_162 = 5;
  9408. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_163 = (L_161)->GetAt(static_cast<il2cpp_array_size_t>(L_162));
  9409. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_164 = ___0_references;
  9410. NullCheck(L_164);
  9411. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_165 = L_164->___leftUpperArm;
  9412. NullCheck(L_163);
  9413. L_163->___planeBone1 = L_165;
  9414. Il2CppCodeGenWriteBarrier((void**)(&L_163->___planeBone1), (void*)L_165);
  9415. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_166 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9416. NullCheck(L_166);
  9417. int32_t L_167 = 5;
  9418. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_168 = (L_166)->GetAt(static_cast<il2cpp_array_size_t>(L_167));
  9419. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_169 = ___0_references;
  9420. NullCheck(L_169);
  9421. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_170 = L_169->___rightUpperArm;
  9422. NullCheck(L_168);
  9423. L_168->___planeBone2 = L_170;
  9424. Il2CppCodeGenWriteBarrier((void**)(&L_168->___planeBone2), (void*)L_170);
  9425. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_171 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9426. NullCheck(L_171);
  9427. int32_t L_172 = 5;
  9428. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_173 = (L_171)->GetAt(static_cast<il2cpp_array_size_t>(L_172));
  9429. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_174 = ___1_rootNode;
  9430. NullCheck(L_173);
  9431. L_173->___planeBone3 = L_174;
  9432. Il2CppCodeGenWriteBarrier((void**)(&L_173->___planeBone3), (void*)L_174);
  9433. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_175 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9434. NullCheck(L_175);
  9435. int32_t L_176 = 6;
  9436. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_177 = (L_175)->GetAt(static_cast<il2cpp_array_size_t>(L_176));
  9437. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_178 = ___0_references;
  9438. NullCheck(L_178);
  9439. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_179 = L_178->___rightUpperArm;
  9440. NullCheck(L_177);
  9441. L_177->___planeBone1 = L_179;
  9442. Il2CppCodeGenWriteBarrier((void**)(&L_177->___planeBone1), (void*)L_179);
  9443. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_180 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9444. NullCheck(L_180);
  9445. int32_t L_181 = 6;
  9446. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_182 = (L_180)->GetAt(static_cast<il2cpp_array_size_t>(L_181));
  9447. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_183 = ___0_references;
  9448. NullCheck(L_183);
  9449. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_184 = L_183->___leftUpperArm;
  9450. NullCheck(L_182);
  9451. L_182->___planeBone2 = L_184;
  9452. Il2CppCodeGenWriteBarrier((void**)(&L_182->___planeBone2), (void*)L_184);
  9453. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_185 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9454. NullCheck(L_185);
  9455. int32_t L_186 = 6;
  9456. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_187 = (L_185)->GetAt(static_cast<il2cpp_array_size_t>(L_186));
  9457. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_188 = ___1_rootNode;
  9458. NullCheck(L_187);
  9459. L_187->___planeBone3 = L_188;
  9460. Il2CppCodeGenWriteBarrier((void**)(&L_187->___planeBone3), (void*)L_188);
  9461. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_189 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9462. NullCheck(L_189);
  9463. int32_t L_190 = 7;
  9464. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_191 = (L_189)->GetAt(static_cast<il2cpp_array_size_t>(L_190));
  9465. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_192 = ___0_references;
  9466. NullCheck(L_192);
  9467. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_193 = L_192->___leftThigh;
  9468. NullCheck(L_191);
  9469. L_191->___planeBone1 = L_193;
  9470. Il2CppCodeGenWriteBarrier((void**)(&L_191->___planeBone1), (void*)L_193);
  9471. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_194 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9472. NullCheck(L_194);
  9473. int32_t L_195 = 7;
  9474. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_196 = (L_194)->GetAt(static_cast<il2cpp_array_size_t>(L_195));
  9475. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_197 = ___0_references;
  9476. NullCheck(L_197);
  9477. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_198 = L_197->___rightThigh;
  9478. NullCheck(L_196);
  9479. L_196->___planeBone2 = L_198;
  9480. Il2CppCodeGenWriteBarrier((void**)(&L_196->___planeBone2), (void*)L_198);
  9481. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_199 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9482. NullCheck(L_199);
  9483. int32_t L_200 = 7;
  9484. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_201 = (L_199)->GetAt(static_cast<il2cpp_array_size_t>(L_200));
  9485. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_202 = ___1_rootNode;
  9486. NullCheck(L_201);
  9487. L_201->___planeBone3 = L_202;
  9488. Il2CppCodeGenWriteBarrier((void**)(&L_201->___planeBone3), (void*)L_202);
  9489. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_203 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9490. NullCheck(L_203);
  9491. int32_t L_204 = 8;
  9492. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_205 = (L_203)->GetAt(static_cast<il2cpp_array_size_t>(L_204));
  9493. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_206 = ___0_references;
  9494. NullCheck(L_206);
  9495. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_207 = L_206->___rightThigh;
  9496. NullCheck(L_205);
  9497. L_205->___planeBone1 = L_207;
  9498. Il2CppCodeGenWriteBarrier((void**)(&L_205->___planeBone1), (void*)L_207);
  9499. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_208 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9500. NullCheck(L_208);
  9501. int32_t L_209 = 8;
  9502. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_210 = (L_208)->GetAt(static_cast<il2cpp_array_size_t>(L_209));
  9503. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_211 = ___0_references;
  9504. NullCheck(L_211);
  9505. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_212 = L_211->___leftThigh;
  9506. NullCheck(L_210);
  9507. L_210->___planeBone2 = L_212;
  9508. Il2CppCodeGenWriteBarrier((void**)(&L_210->___planeBone2), (void*)L_212);
  9509. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_213 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  9510. NullCheck(L_213);
  9511. int32_t L_214 = 8;
  9512. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_215 = (L_213)->GetAt(static_cast<il2cpp_array_size_t>(L_214));
  9513. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_216 = ___1_rootNode;
  9514. NullCheck(L_215);
  9515. L_215->___planeBone3 = L_216;
  9516. Il2CppCodeGenWriteBarrier((void**)(&L_215->___planeBone3), (void*)L_216);
  9517. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_217 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  9518. NullCheck(L_217);
  9519. int32_t L_218 = 0;
  9520. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_219 = (L_217)->GetAt(static_cast<il2cpp_array_size_t>(L_218));
  9521. ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA* L_220 = (ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA*)(ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA*)SZArrayNew(ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA_il2cpp_TypeInfo_var, (uint32_t)4);
  9522. ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA* L_221 = L_220;
  9523. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_222 = ___0_references;
  9524. NullCheck(L_222);
  9525. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_223 = L_222->___leftUpperArm;
  9526. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_224 = ___0_references;
  9527. NullCheck(L_224);
  9528. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_225 = L_224->___rightThigh;
  9529. ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* L_226 = (ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0*)il2cpp_codegen_object_new(ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0_il2cpp_TypeInfo_var);
  9530. ChildConstraint__ctor_mD1B3AFFA76AFF4D607B17FFCDD6479031AB85A77(L_226, L_223, L_225, (0.0f), (1.0f), NULL);
  9531. NullCheck(L_221);
  9532. ArrayElementTypeCheck (L_221, L_226);
  9533. (L_221)->SetAt(static_cast<il2cpp_array_size_t>(0), (ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0*)L_226);
  9534. ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA* L_227 = L_221;
  9535. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_228 = ___0_references;
  9536. NullCheck(L_228);
  9537. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_229 = L_228->___rightUpperArm;
  9538. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_230 = ___0_references;
  9539. NullCheck(L_230);
  9540. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_231 = L_230->___leftThigh;
  9541. ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* L_232 = (ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0*)il2cpp_codegen_object_new(ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0_il2cpp_TypeInfo_var);
  9542. ChildConstraint__ctor_mD1B3AFFA76AFF4D607B17FFCDD6479031AB85A77(L_232, L_229, L_231, (0.0f), (1.0f), NULL);
  9543. NullCheck(L_227);
  9544. ArrayElementTypeCheck (L_227, L_232);
  9545. (L_227)->SetAt(static_cast<il2cpp_array_size_t>(1), (ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0*)L_232);
  9546. ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA* L_233 = L_227;
  9547. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_234 = ___0_references;
  9548. NullCheck(L_234);
  9549. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_235 = L_234->___leftUpperArm;
  9550. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_236 = ___0_references;
  9551. NullCheck(L_236);
  9552. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_237 = L_236->___rightUpperArm;
  9553. ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* L_238 = (ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0*)il2cpp_codegen_object_new(ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0_il2cpp_TypeInfo_var);
  9554. ChildConstraint__ctor_mD1B3AFFA76AFF4D607B17FFCDD6479031AB85A77(L_238, L_235, L_237, (0.0f), (0.0f), NULL);
  9555. NullCheck(L_233);
  9556. ArrayElementTypeCheck (L_233, L_238);
  9557. (L_233)->SetAt(static_cast<il2cpp_array_size_t>(2), (ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0*)L_238);
  9558. ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA* L_239 = L_233;
  9559. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_240 = ___0_references;
  9560. NullCheck(L_240);
  9561. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_241 = L_240->___leftThigh;
  9562. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_242 = ___0_references;
  9563. NullCheck(L_242);
  9564. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_243 = L_242->___rightThigh;
  9565. ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* L_244 = (ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0*)il2cpp_codegen_object_new(ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0_il2cpp_TypeInfo_var);
  9566. ChildConstraint__ctor_mD1B3AFFA76AFF4D607B17FFCDD6479031AB85A77(L_244, L_241, L_243, (0.0f), (0.0f), NULL);
  9567. NullCheck(L_239);
  9568. ArrayElementTypeCheck (L_239, L_244);
  9569. (L_239)->SetAt(static_cast<il2cpp_array_size_t>(3), (ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0*)L_244);
  9570. NullCheck(L_219);
  9571. L_219->___childConstraints = L_239;
  9572. Il2CppCodeGenWriteBarrier((void**)(&L_219->___childConstraints), (void*)L_239);
  9573. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_245 = ___0_references;
  9574. NullCheck(L_245);
  9575. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_246 = L_245->___spine;
  9576. NullCheck(L_246);
  9577. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_247 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add(((int32_t)(((RuntimeArray*)L_246)->max_length)), 1)));
  9578. V_0 = L_247;
  9579. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_248 = V_0;
  9580. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_249 = ___0_references;
  9581. NullCheck(L_249);
  9582. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_250 = L_249->___pelvis;
  9583. NullCheck(L_248);
  9584. ArrayElementTypeCheck (L_248, L_250);
  9585. (L_248)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_250);
  9586. V_3 = 0;
  9587. goto IL_0421;
  9588. }
  9589. IL_0410:
  9590. {
  9591. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_251 = V_0;
  9592. int32_t L_252 = V_3;
  9593. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_253 = ___0_references;
  9594. NullCheck(L_253);
  9595. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_254 = L_253->___spine;
  9596. int32_t L_255 = V_3;
  9597. NullCheck(L_254);
  9598. int32_t L_256 = L_255;
  9599. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_257 = (L_254)->GetAt(static_cast<il2cpp_array_size_t>(L_256));
  9600. NullCheck(L_251);
  9601. ArrayElementTypeCheck (L_251, L_257);
  9602. (L_251)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_252, 1))), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_257);
  9603. int32_t L_258 = V_3;
  9604. V_3 = ((int32_t)il2cpp_codegen_add(L_258, 1));
  9605. }
  9606. IL_0421:
  9607. {
  9608. int32_t L_259 = V_3;
  9609. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_260 = ___0_references;
  9610. NullCheck(L_260);
  9611. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_261 = L_260->___spine;
  9612. NullCheck(L_261);
  9613. if ((((int32_t)L_259) < ((int32_t)((int32_t)(((RuntimeArray*)L_261)->max_length)))))
  9614. {
  9615. goto IL_0410;
  9616. }
  9617. }
  9618. {
  9619. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_262 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___spineMapping;
  9620. if (L_262)
  9621. {
  9622. goto IL_044b;
  9623. }
  9624. }
  9625. {
  9626. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_263 = (IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949*)il2cpp_codegen_object_new(IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949_il2cpp_TypeInfo_var);
  9627. IKMappingSpine__ctor_mD04FEDA7BB3F6EA4ECEBAA549C89C4378DCA30D6(L_263, NULL);
  9628. ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___spineMapping = L_263;
  9629. Il2CppCodeGenWriteBarrier((void**)(&((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___spineMapping), (void*)L_263);
  9630. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_264 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___spineMapping;
  9631. NullCheck(L_264);
  9632. L_264->___iterations = 3;
  9633. }
  9634. IL_044b:
  9635. {
  9636. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_265 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___spineMapping;
  9637. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_266 = V_0;
  9638. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_267 = ___0_references;
  9639. NullCheck(L_267);
  9640. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_268 = L_267->___leftUpperArm;
  9641. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_269 = ___0_references;
  9642. NullCheck(L_269);
  9643. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_270 = L_269->___rightUpperArm;
  9644. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_271 = ___0_references;
  9645. NullCheck(L_271);
  9646. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_272 = L_271->___leftThigh;
  9647. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_273 = ___0_references;
  9648. NullCheck(L_273);
  9649. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_274 = L_273->___rightThigh;
  9650. NullCheck(L_265);
  9651. IKMappingSpine_SetBones_m2906299F074450549534A23C88C9EEF4C20D3CB2(L_265, L_266, L_268, L_270, L_272, L_274, NULL);
  9652. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_275 = ___0_references;
  9653. NullCheck(L_275);
  9654. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_276 = L_275->___head;
  9655. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  9656. bool L_277;
  9657. L_277 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_276, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  9658. if (L_277)
  9659. {
  9660. goto IL_0480;
  9661. }
  9662. }
  9663. {
  9664. G_B20_0 = 0;
  9665. goto IL_0481;
  9666. }
  9667. IL_0480:
  9668. {
  9669. G_B20_0 = 1;
  9670. }
  9671. IL_0481:
  9672. {
  9673. V_1 = G_B20_0;
  9674. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_278 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings;
  9675. NullCheck(L_278);
  9676. int32_t L_279 = V_1;
  9677. if ((((int32_t)((int32_t)(((RuntimeArray*)L_278)->max_length))) == ((int32_t)L_279)))
  9678. {
  9679. goto IL_04d4;
  9680. }
  9681. }
  9682. {
  9683. int32_t L_280 = V_1;
  9684. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_281 = (IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA*)(IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA*)SZArrayNew(IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA_il2cpp_TypeInfo_var, (uint32_t)L_280);
  9685. ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings = L_281;
  9686. Il2CppCodeGenWriteBarrier((void**)(&((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings), (void*)L_281);
  9687. V_4 = 0;
  9688. goto IL_04b2;
  9689. }
  9690. IL_049e:
  9691. {
  9692. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_282 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings;
  9693. int32_t L_283 = V_4;
  9694. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_284 = (IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12*)il2cpp_codegen_object_new(IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12_il2cpp_TypeInfo_var);
  9695. IKMappingBone__ctor_mB14B2C8C993BFB0DC86A4FE4BE0ED819996C2A26(L_284, NULL);
  9696. NullCheck(L_282);
  9697. ArrayElementTypeCheck (L_282, L_284);
  9698. (L_282)->SetAt(static_cast<il2cpp_array_size_t>(L_283), (IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12*)L_284);
  9699. int32_t L_285 = V_4;
  9700. V_4 = ((int32_t)il2cpp_codegen_add(L_285, 1));
  9701. }
  9702. IL_04b2:
  9703. {
  9704. int32_t L_286 = V_4;
  9705. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_287 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings;
  9706. NullCheck(L_287);
  9707. if ((((int32_t)L_286) < ((int32_t)((int32_t)(((RuntimeArray*)L_287)->max_length)))))
  9708. {
  9709. goto IL_049e;
  9710. }
  9711. }
  9712. {
  9713. int32_t L_288 = V_1;
  9714. if ((!(((uint32_t)L_288) == ((uint32_t)1))))
  9715. {
  9716. goto IL_04d4;
  9717. }
  9718. }
  9719. {
  9720. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_289 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings;
  9721. NullCheck(L_289);
  9722. int32_t L_290 = 0;
  9723. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_291 = (L_289)->GetAt(static_cast<il2cpp_array_size_t>(L_290));
  9724. NullCheck(L_291);
  9725. L_291->___maintainRotationWeight = (0.0f);
  9726. }
  9727. IL_04d4:
  9728. {
  9729. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_292 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings;
  9730. NullCheck(L_292);
  9731. if (!(((RuntimeArray*)L_292)->max_length))
  9732. {
  9733. goto IL_04f0;
  9734. }
  9735. }
  9736. {
  9737. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* L_293 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___boneMappings;
  9738. NullCheck(L_293);
  9739. int32_t L_294 = 0;
  9740. IKMappingBone_t82C2D70BEA16AFA1A28B870AA4C05C661F1ABD12* L_295 = (L_293)->GetAt(static_cast<il2cpp_array_size_t>(L_294));
  9741. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_296 = ___0_references;
  9742. NullCheck(L_296);
  9743. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_297 = L_296->___head;
  9744. NullCheck(L_295);
  9745. L_295->___bone = L_297;
  9746. Il2CppCodeGenWriteBarrier((void**)(&L_295->___bone), (void*)L_297);
  9747. }
  9748. IL_04f0:
  9749. {
  9750. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_298 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  9751. NullCheck(L_298);
  9752. if ((((int32_t)((int32_t)(((RuntimeArray*)L_298)->max_length))) == ((int32_t)4)))
  9753. {
  9754. goto IL_054b;
  9755. }
  9756. }
  9757. {
  9758. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_299 = (IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C*)(IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C*)SZArrayNew(IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C_il2cpp_TypeInfo_var, (uint32_t)4);
  9759. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_300 = L_299;
  9760. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_301 = (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)il2cpp_codegen_object_new(IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B_il2cpp_TypeInfo_var);
  9761. IKMappingLimb__ctor_mAD46AFE7237D7E19AF788360845CD24416436402(L_301, NULL);
  9762. NullCheck(L_300);
  9763. ArrayElementTypeCheck (L_300, L_301);
  9764. (L_300)->SetAt(static_cast<il2cpp_array_size_t>(0), (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)L_301);
  9765. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_302 = L_300;
  9766. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_303 = (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)il2cpp_codegen_object_new(IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B_il2cpp_TypeInfo_var);
  9767. IKMappingLimb__ctor_mAD46AFE7237D7E19AF788360845CD24416436402(L_303, NULL);
  9768. NullCheck(L_302);
  9769. ArrayElementTypeCheck (L_302, L_303);
  9770. (L_302)->SetAt(static_cast<il2cpp_array_size_t>(1), (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)L_303);
  9771. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_304 = L_302;
  9772. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_305 = (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)il2cpp_codegen_object_new(IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B_il2cpp_TypeInfo_var);
  9773. IKMappingLimb__ctor_mAD46AFE7237D7E19AF788360845CD24416436402(L_305, NULL);
  9774. NullCheck(L_304);
  9775. ArrayElementTypeCheck (L_304, L_305);
  9776. (L_304)->SetAt(static_cast<il2cpp_array_size_t>(2), (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)L_305);
  9777. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_306 = L_304;
  9778. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_307 = (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)il2cpp_codegen_object_new(IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B_il2cpp_TypeInfo_var);
  9779. IKMappingLimb__ctor_mAD46AFE7237D7E19AF788360845CD24416436402(L_307, NULL);
  9780. NullCheck(L_306);
  9781. ArrayElementTypeCheck (L_306, L_307);
  9782. (L_306)->SetAt(static_cast<il2cpp_array_size_t>(3), (IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B*)L_307);
  9783. ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings = L_306;
  9784. Il2CppCodeGenWriteBarrier((void**)(&((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings), (void*)L_306);
  9785. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_308 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  9786. NullCheck(L_308);
  9787. int32_t L_309 = 2;
  9788. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_310 = (L_308)->GetAt(static_cast<il2cpp_array_size_t>(L_309));
  9789. NullCheck(L_310);
  9790. L_310->___maintainRotationWeight = (1.0f);
  9791. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_311 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  9792. NullCheck(L_311);
  9793. int32_t L_312 = 3;
  9794. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_313 = (L_311)->GetAt(static_cast<il2cpp_array_size_t>(L_312));
  9795. NullCheck(L_313);
  9796. L_313->___maintainRotationWeight = (1.0f);
  9797. }
  9798. IL_054b:
  9799. {
  9800. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_314 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  9801. NullCheck(L_314);
  9802. int32_t L_315 = 0;
  9803. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_316 = (L_314)->GetAt(static_cast<il2cpp_array_size_t>(L_315));
  9804. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_317 = ___0_references;
  9805. NullCheck(L_317);
  9806. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_318 = L_317->___leftUpperArm;
  9807. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_319 = ___0_references;
  9808. NullCheck(L_319);
  9809. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_320 = L_319->___leftForearm;
  9810. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_321 = ___0_references;
  9811. NullCheck(L_321);
  9812. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_322 = L_321->___leftHand;
  9813. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_323 = ___0_references;
  9814. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_324;
  9815. L_324 = IKSolverFullBodyBiped_GetLeftClavicle_m8ED24196BA43CA4EA13F889DC2E1C44F5194580D(L_323, NULL);
  9816. NullCheck(L_316);
  9817. IKMappingLimb_SetBones_mECAE028389665D979788AB2B90449BCDB8010CAD(L_316, L_318, L_320, L_322, L_324, NULL);
  9818. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_325 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  9819. NullCheck(L_325);
  9820. int32_t L_326 = 1;
  9821. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_327 = (L_325)->GetAt(static_cast<il2cpp_array_size_t>(L_326));
  9822. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_328 = ___0_references;
  9823. NullCheck(L_328);
  9824. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_329 = L_328->___rightUpperArm;
  9825. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_330 = ___0_references;
  9826. NullCheck(L_330);
  9827. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_331 = L_330->___rightForearm;
  9828. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_332 = ___0_references;
  9829. NullCheck(L_332);
  9830. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_333 = L_332->___rightHand;
  9831. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_334 = ___0_references;
  9832. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_335;
  9833. L_335 = IKSolverFullBodyBiped_GetRightClavicle_m731F1A45830C21777C972DFDD4A17D35AB16C24B(L_334, NULL);
  9834. NullCheck(L_327);
  9835. IKMappingLimb_SetBones_mECAE028389665D979788AB2B90449BCDB8010CAD(L_327, L_329, L_331, L_333, L_335, NULL);
  9836. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_336 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  9837. NullCheck(L_336);
  9838. int32_t L_337 = 2;
  9839. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_338 = (L_336)->GetAt(static_cast<il2cpp_array_size_t>(L_337));
  9840. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_339 = ___0_references;
  9841. NullCheck(L_339);
  9842. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_340 = L_339->___leftThigh;
  9843. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_341 = ___0_references;
  9844. NullCheck(L_341);
  9845. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_342 = L_341->___leftCalf;
  9846. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_343 = ___0_references;
  9847. NullCheck(L_343);
  9848. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_344 = L_343->___leftFoot;
  9849. NullCheck(L_338);
  9850. IKMappingLimb_SetBones_mECAE028389665D979788AB2B90449BCDB8010CAD(L_338, L_340, L_342, L_344, (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL, NULL);
  9851. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* L_345 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___limbMappings;
  9852. NullCheck(L_345);
  9853. int32_t L_346 = 3;
  9854. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_347 = (L_345)->GetAt(static_cast<il2cpp_array_size_t>(L_346));
  9855. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_348 = ___0_references;
  9856. NullCheck(L_348);
  9857. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_349 = L_348->___rightThigh;
  9858. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_350 = ___0_references;
  9859. NullCheck(L_350);
  9860. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_351 = L_350->___rightCalf;
  9861. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_352 = ___0_references;
  9862. NullCheck(L_352);
  9863. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_353 = L_352->___rightFoot;
  9864. NullCheck(L_347);
  9865. IKMappingLimb_SetBones_mECAE028389665D979788AB2B90449BCDB8010CAD(L_347, L_349, L_351, L_353, (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL, NULL);
  9866. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  9867. bool L_354;
  9868. L_354 = Application_get_isPlaying_m25B0ABDFEF54F5370CD3F263A813540843D00F34(NULL);
  9869. if (!L_354)
  9870. {
  9871. goto IL_05e8;
  9872. }
  9873. }
  9874. {
  9875. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_355 = ___0_references;
  9876. NullCheck(L_355);
  9877. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_356 = L_355->___root;
  9878. IKSolver_Initiate_m3788998F391336578711BBECB4121F595DA4AA0B(__this, L_356, NULL);
  9879. }
  9880. IL_05e8:
  9881. {
  9882. return;
  9883. }
  9884. }
  9885. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* IKSolverFullBodyBiped_DetectRootNodeBone_mA134835420527AB13E709D92BF1128A1CB856216 (BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* ___0_references, const RuntimeMethod* method)
  9886. {
  9887. int32_t V_0 = 0;
  9888. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  9889. memset((&V_1), 0, sizeof(V_1));
  9890. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  9891. memset((&V_2), 0, sizeof(V_2));
  9892. float V_3 = 0.0f;
  9893. int32_t V_4 = 0;
  9894. int32_t V_5 = 0;
  9895. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  9896. memset((&V_6), 0, sizeof(V_6));
  9897. {
  9898. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_0 = ___0_references;
  9899. NullCheck(L_0);
  9900. bool L_1;
  9901. L_1 = VirtualFuncInvoker0< bool >::Invoke(4, L_0);
  9902. if (L_1)
  9903. {
  9904. goto IL_000a;
  9905. }
  9906. }
  9907. {
  9908. return (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
  9909. }
  9910. IL_000a:
  9911. {
  9912. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_2 = ___0_references;
  9913. NullCheck(L_2);
  9914. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_3 = L_2->___spine;
  9915. NullCheck(L_3);
  9916. if ((((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))) >= ((int32_t)1)))
  9917. {
  9918. goto IL_0017;
  9919. }
  9920. }
  9921. {
  9922. return (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
  9923. }
  9924. IL_0017:
  9925. {
  9926. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_4 = ___0_references;
  9927. NullCheck(L_4);
  9928. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_5 = L_4->___spine;
  9929. NullCheck(L_5);
  9930. V_0 = ((int32_t)(((RuntimeArray*)L_5)->max_length));
  9931. int32_t L_6 = V_0;
  9932. if ((!(((uint32_t)L_6) == ((uint32_t)1))))
  9933. {
  9934. goto IL_002d;
  9935. }
  9936. }
  9937. {
  9938. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_7 = ___0_references;
  9939. NullCheck(L_7);
  9940. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_8 = L_7->___spine;
  9941. NullCheck(L_8);
  9942. int32_t L_9 = 0;
  9943. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  9944. return L_10;
  9945. }
  9946. IL_002d:
  9947. {
  9948. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_11 = ___0_references;
  9949. NullCheck(L_11);
  9950. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = L_11->___leftThigh;
  9951. NullCheck(L_12);
  9952. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  9953. L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
  9954. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_14 = ___0_references;
  9955. NullCheck(L_14);
  9956. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = L_14->___rightThigh;
  9957. NullCheck(L_15);
  9958. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  9959. L_16 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_15, NULL);
  9960. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  9961. L_17 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_13, L_16, (0.5f), NULL);
  9962. V_1 = L_17;
  9963. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_18 = ___0_references;
  9964. NullCheck(L_18);
  9965. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = L_18->___leftUpperArm;
  9966. NullCheck(L_19);
  9967. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  9968. L_20 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_19, NULL);
  9969. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_21 = ___0_references;
  9970. NullCheck(L_21);
  9971. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = L_21->___rightUpperArm;
  9972. NullCheck(L_22);
  9973. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  9974. L_23 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_22, NULL);
  9975. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  9976. L_24 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_20, L_23, (0.5f), NULL);
  9977. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_1;
  9978. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  9979. L_26 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_24, L_25, NULL);
  9980. V_2 = L_26;
  9981. float L_27;
  9982. L_27 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_2), NULL);
  9983. V_3 = L_27;
  9984. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_28 = ___0_references;
  9985. NullCheck(L_28);
  9986. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_29 = L_28->___spine;
  9987. NullCheck(L_29);
  9988. if ((((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length))) >= ((int32_t)2)))
  9989. {
  9990. goto IL_0091;
  9991. }
  9992. }
  9993. {
  9994. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_30 = ___0_references;
  9995. NullCheck(L_30);
  9996. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_31 = L_30->___spine;
  9997. NullCheck(L_31);
  9998. int32_t L_32 = 0;
  9999. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
  10000. return L_33;
  10001. }
  10002. IL_0091:
  10003. {
  10004. V_4 = 0;
  10005. V_5 = 1;
  10006. goto IL_00e9;
  10007. }
  10008. IL_0099:
  10009. {
  10010. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_34 = ___0_references;
  10011. NullCheck(L_34);
  10012. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_35 = L_34->___spine;
  10013. int32_t L_36 = V_5;
  10014. NullCheck(L_35);
  10015. int32_t L_37 = L_36;
  10016. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_38 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
  10017. NullCheck(L_38);
  10018. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
  10019. L_39 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_38, NULL);
  10020. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = V_1;
  10021. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
  10022. L_41 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_39, L_40, NULL);
  10023. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_2;
  10024. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
  10025. L_43 = Vector3_Project_m85DF3CB297EC5E1A17BD6266FF65E86AB7372C9B_inline(L_41, L_42, NULL);
  10026. V_6 = L_43;
  10027. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
  10028. L_44 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_6), NULL);
  10029. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
  10030. L_45 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_2), NULL);
  10031. float L_46;
  10032. L_46 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_44, L_45, NULL);
  10033. if ((!(((float)L_46) > ((float)(0.0f)))))
  10034. {
  10035. goto IL_00e3;
  10036. }
  10037. }
  10038. {
  10039. float L_47;
  10040. L_47 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_6), NULL);
  10041. float L_48 = V_3;
  10042. if ((!(((float)((float)(L_47/L_48))) < ((float)(0.5f)))))
  10043. {
  10044. goto IL_00e3;
  10045. }
  10046. }
  10047. {
  10048. int32_t L_49 = V_5;
  10049. V_4 = L_49;
  10050. }
  10051. IL_00e3:
  10052. {
  10053. int32_t L_50 = V_5;
  10054. V_5 = ((int32_t)il2cpp_codegen_add(L_50, 1));
  10055. }
  10056. IL_00e9:
  10057. {
  10058. int32_t L_51 = V_5;
  10059. int32_t L_52 = V_0;
  10060. if ((((int32_t)L_51) < ((int32_t)L_52)))
  10061. {
  10062. goto IL_0099;
  10063. }
  10064. }
  10065. {
  10066. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_53 = ___0_references;
  10067. NullCheck(L_53);
  10068. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_54 = L_53->___spine;
  10069. int32_t L_55 = V_4;
  10070. NullCheck(L_54);
  10071. int32_t L_56 = L_55;
  10072. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
  10073. return L_57;
  10074. }
  10075. }
  10076. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_SetLimbOrientations_mE0A96AA72400547C478A2EB33B3A1B21556A383C (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, BipedLimbOrientations_t033DF43795D8FA93753A6E3915A777DDA992E164* ___0_o, const RuntimeMethod* method)
  10077. {
  10078. {
  10079. BipedLimbOrientations_t033DF43795D8FA93753A6E3915A777DDA992E164* L_0 = ___0_o;
  10080. NullCheck(L_0);
  10081. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_1 = L_0->___leftArm;
  10082. IKSolverFullBodyBiped_SetLimbOrientation_m5B281995A772AB6CA2906BD74CEF62AA2C88A396(__this, 0, L_1, NULL);
  10083. BipedLimbOrientations_t033DF43795D8FA93753A6E3915A777DDA992E164* L_2 = ___0_o;
  10084. NullCheck(L_2);
  10085. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_3 = L_2->___rightArm;
  10086. IKSolverFullBodyBiped_SetLimbOrientation_m5B281995A772AB6CA2906BD74CEF62AA2C88A396(__this, 1, L_3, NULL);
  10087. BipedLimbOrientations_t033DF43795D8FA93753A6E3915A777DDA992E164* L_4 = ___0_o;
  10088. NullCheck(L_4);
  10089. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_5 = L_4->___leftLeg;
  10090. IKSolverFullBodyBiped_SetLimbOrientation_m5B281995A772AB6CA2906BD74CEF62AA2C88A396(__this, 2, L_5, NULL);
  10091. BipedLimbOrientations_t033DF43795D8FA93753A6E3915A777DDA992E164* L_6 = ___0_o;
  10092. NullCheck(L_6);
  10093. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_7 = L_6->___rightLeg;
  10094. IKSolverFullBodyBiped_SetLimbOrientation_m5B281995A772AB6CA2906BD74CEF62AA2C88A396(__this, 3, L_7, NULL);
  10095. return;
  10096. }
  10097. }
  10098. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFullBodyBiped_get_pullBodyOffset_mE72A3FEDFCD35C32634971B2B168A043BEF82482 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  10099. {
  10100. {
  10101. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CpullBodyOffsetU3Ek__BackingField;
  10102. return L_0;
  10103. }
  10104. }
  10105. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_set_pullBodyOffset_mCA94F8D64F715A7A62446AACD9022597E7698D5D (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  10106. {
  10107. {
  10108. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  10109. __this->___U3CpullBodyOffsetU3Ek__BackingField = L_0;
  10110. return;
  10111. }
  10112. }
  10113. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_SetLimbOrientation_m5B281995A772AB6CA2906BD74CEF62AA2C88A396 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_chain, LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* ___1_limbOrientation, const RuntimeMethod* method)
  10114. {
  10115. int32_t G_B3_0 = 0;
  10116. {
  10117. int32_t L_0 = ___0_chain;
  10118. if (!L_0)
  10119. {
  10120. goto IL_0009;
  10121. }
  10122. }
  10123. {
  10124. int32_t L_1 = ___0_chain;
  10125. G_B3_0 = ((((int32_t)L_1) == ((int32_t)1))? 1 : 0);
  10126. goto IL_000a;
  10127. }
  10128. IL_0009:
  10129. {
  10130. G_B3_0 = 1;
  10131. }
  10132. IL_000a:
  10133. {
  10134. if (!G_B3_0)
  10135. {
  10136. goto IL_005c;
  10137. }
  10138. }
  10139. {
  10140. int32_t L_2 = ___0_chain;
  10141. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_3;
  10142. L_3 = IKSolverFullBodyBiped_GetBendConstraint_mA7054F0B22CADA5B80BA53106F94E451B46566AC(__this, L_2, NULL);
  10143. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_4 = ___1_limbOrientation;
  10144. NullCheck(L_4);
  10145. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = L_4->___upperBoneForwardAxis;
  10146. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  10147. L_6 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_5, NULL);
  10148. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_7 = ___1_limbOrientation;
  10149. NullCheck(L_7);
  10150. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = L_7->___lowerBoneForwardAxis;
  10151. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  10152. L_9 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_8, NULL);
  10153. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_10 = ___1_limbOrientation;
  10154. NullCheck(L_10);
  10155. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = L_10->___lastBoneLeftAxis;
  10156. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  10157. L_12 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_11, NULL);
  10158. NullCheck(L_3);
  10159. IKConstraintBend_SetLimbOrientation_mEB2CF4B6F7D0469CB9E0307E33B1CB1247364AFF(L_3, L_6, L_9, L_12, NULL);
  10160. int32_t L_13 = ___0_chain;
  10161. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_14;
  10162. L_14 = IKSolverFullBodyBiped_GetLimbMapping_m4E45F924632CEFA45471E96EFA1E119FEE788C3B(__this, L_13, NULL);
  10163. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_15 = ___1_limbOrientation;
  10164. NullCheck(L_15);
  10165. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = L_15->___upperBoneForwardAxis;
  10166. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  10167. L_17 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_16, NULL);
  10168. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_18 = ___1_limbOrientation;
  10169. NullCheck(L_18);
  10170. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___lowerBoneForwardAxis;
  10171. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  10172. L_20 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_19, NULL);
  10173. NullCheck(L_14);
  10174. IKMappingLimb_SetLimbOrientation_m8010F112030EB214691F13A3958732892CE56964(L_14, L_17, L_20, NULL);
  10175. return;
  10176. }
  10177. IL_005c:
  10178. {
  10179. int32_t L_21 = ___0_chain;
  10180. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_22;
  10181. L_22 = IKSolverFullBodyBiped_GetBendConstraint_mA7054F0B22CADA5B80BA53106F94E451B46566AC(__this, L_21, NULL);
  10182. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_23 = ___1_limbOrientation;
  10183. NullCheck(L_23);
  10184. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23->___upperBoneForwardAxis;
  10185. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_25 = ___1_limbOrientation;
  10186. NullCheck(L_25);
  10187. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = L_25->___lowerBoneForwardAxis;
  10188. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_27 = ___1_limbOrientation;
  10189. NullCheck(L_27);
  10190. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = L_27->___lastBoneLeftAxis;
  10191. NullCheck(L_22);
  10192. IKConstraintBend_SetLimbOrientation_mEB2CF4B6F7D0469CB9E0307E33B1CB1247364AFF(L_22, L_24, L_26, L_28, NULL);
  10193. int32_t L_29 = ___0_chain;
  10194. IKMappingLimb_t3C41BE59C4CA3254879C23FE023AF7CFA577747B* L_30;
  10195. L_30 = IKSolverFullBodyBiped_GetLimbMapping_m4E45F924632CEFA45471E96EFA1E119FEE788C3B(__this, L_29, NULL);
  10196. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_31 = ___1_limbOrientation;
  10197. NullCheck(L_31);
  10198. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = L_31->___upperBoneForwardAxis;
  10199. LimbOrientation_t7327C5058775F9F6A7473875C78B42EBC6F86F53* L_33 = ___1_limbOrientation;
  10200. NullCheck(L_33);
  10201. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = L_33->___lowerBoneForwardAxis;
  10202. NullCheck(L_30);
  10203. IKMappingLimb_SetLimbOrientation_m8010F112030EB214691F13A3958732892CE56964(L_30, L_32, L_34, NULL);
  10204. return;
  10205. }
  10206. }
  10207. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* IKSolverFullBodyBiped_GetLeftClavicle_m8ED24196BA43CA4EA13F889DC2E1C44F5194580D (BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* ___0_references, const RuntimeMethod* method)
  10208. {
  10209. static bool s_Il2CppMethodInitialized;
  10210. if (!s_Il2CppMethodInitialized)
  10211. {
  10212. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  10213. s_Il2CppMethodInitialized = true;
  10214. }
  10215. {
  10216. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_0 = ___0_references;
  10217. NullCheck(L_0);
  10218. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = L_0->___leftUpperArm;
  10219. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  10220. bool L_2;
  10221. L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  10222. if (!L_2)
  10223. {
  10224. goto IL_0010;
  10225. }
  10226. }
  10227. {
  10228. return (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
  10229. }
  10230. IL_0010:
  10231. {
  10232. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_3 = ___0_references;
  10233. NullCheck(L_3);
  10234. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_4 = L_3->___spine;
  10235. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_5 = ___0_references;
  10236. NullCheck(L_5);
  10237. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = L_5->___leftUpperArm;
  10238. NullCheck(L_6);
  10239. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7;
  10240. L_7 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_6, NULL);
  10241. bool L_8;
  10242. L_8 = IKSolverFullBodyBiped_Contains_m64F665C7F82B6E4874CFE387426B1B1396763611(L_4, L_7, NULL);
  10243. if (L_8)
  10244. {
  10245. goto IL_0034;
  10246. }
  10247. }
  10248. {
  10249. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_9 = ___0_references;
  10250. NullCheck(L_9);
  10251. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = L_9->___leftUpperArm;
  10252. NullCheck(L_10);
  10253. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11;
  10254. L_11 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_10, NULL);
  10255. return L_11;
  10256. }
  10257. IL_0034:
  10258. {
  10259. return (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
  10260. }
  10261. }
  10262. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* IKSolverFullBodyBiped_GetRightClavicle_m731F1A45830C21777C972DFDD4A17D35AB16C24B (BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* ___0_references, const RuntimeMethod* method)
  10263. {
  10264. static bool s_Il2CppMethodInitialized;
  10265. if (!s_Il2CppMethodInitialized)
  10266. {
  10267. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  10268. s_Il2CppMethodInitialized = true;
  10269. }
  10270. {
  10271. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_0 = ___0_references;
  10272. NullCheck(L_0);
  10273. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = L_0->___rightUpperArm;
  10274. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  10275. bool L_2;
  10276. L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  10277. if (!L_2)
  10278. {
  10279. goto IL_0010;
  10280. }
  10281. }
  10282. {
  10283. return (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
  10284. }
  10285. IL_0010:
  10286. {
  10287. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_3 = ___0_references;
  10288. NullCheck(L_3);
  10289. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_4 = L_3->___spine;
  10290. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_5 = ___0_references;
  10291. NullCheck(L_5);
  10292. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = L_5->___rightUpperArm;
  10293. NullCheck(L_6);
  10294. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7;
  10295. L_7 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_6, NULL);
  10296. bool L_8;
  10297. L_8 = IKSolverFullBodyBiped_Contains_m64F665C7F82B6E4874CFE387426B1B1396763611(L_4, L_7, NULL);
  10298. if (L_8)
  10299. {
  10300. goto IL_0034;
  10301. }
  10302. }
  10303. {
  10304. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* L_9 = ___0_references;
  10305. NullCheck(L_9);
  10306. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = L_9->___rightUpperArm;
  10307. NullCheck(L_10);
  10308. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11;
  10309. L_11 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_10, NULL);
  10310. return L_11;
  10311. }
  10312. IL_0034:
  10313. {
  10314. return (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
  10315. }
  10316. }
  10317. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverFullBodyBiped_Contains_m64F665C7F82B6E4874CFE387426B1B1396763611 (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_array, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_transform, const RuntimeMethod* method)
  10318. {
  10319. static bool s_Il2CppMethodInitialized;
  10320. if (!s_Il2CppMethodInitialized)
  10321. {
  10322. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  10323. s_Il2CppMethodInitialized = true;
  10324. }
  10325. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* V_0 = NULL;
  10326. int32_t V_1 = 0;
  10327. {
  10328. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_0 = ___0_array;
  10329. V_0 = L_0;
  10330. V_1 = 0;
  10331. goto IL_0017;
  10332. }
  10333. IL_0006:
  10334. {
  10335. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_1 = V_0;
  10336. int32_t L_2 = V_1;
  10337. NullCheck(L_1);
  10338. int32_t L_3 = L_2;
  10339. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  10340. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ___1_transform;
  10341. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  10342. bool L_6;
  10343. L_6 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_4, L_5, NULL);
  10344. if (!L_6)
  10345. {
  10346. goto IL_0013;
  10347. }
  10348. }
  10349. {
  10350. return (bool)1;
  10351. }
  10352. IL_0013:
  10353. {
  10354. int32_t L_7 = V_1;
  10355. V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  10356. }
  10357. IL_0017:
  10358. {
  10359. int32_t L_8 = V_1;
  10360. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_9 = V_0;
  10361. NullCheck(L_9);
  10362. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  10363. {
  10364. goto IL_0006;
  10365. }
  10366. }
  10367. {
  10368. return (bool)0;
  10369. }
  10370. }
  10371. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_ReadPose_mA76F9A30F4036B1E026BA47AB339157A115227D8 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  10372. {
  10373. float V_0 = 0.0f;
  10374. int32_t V_1 = 0;
  10375. {
  10376. V_1 = 0;
  10377. goto IL_0015;
  10378. }
  10379. IL_0004:
  10380. {
  10381. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  10382. int32_t L_1 = V_1;
  10383. NullCheck(L_0);
  10384. int32_t L_2 = L_1;
  10385. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  10386. NullCheck(L_3);
  10387. IKEffector_SetToTarget_m235E356A2D13C38ABE39804B5C73F7FF7856E05D(L_3, NULL);
  10388. int32_t L_4 = V_1;
  10389. V_1 = ((int32_t)il2cpp_codegen_add(L_4, 1));
  10390. }
  10391. IL_0015:
  10392. {
  10393. int32_t L_5 = V_1;
  10394. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_6 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  10395. NullCheck(L_6);
  10396. if ((((int32_t)L_5) < ((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
  10397. {
  10398. goto IL_0004;
  10399. }
  10400. }
  10401. {
  10402. IKSolverFullBodyBiped_PullBody_mB819B96085A2E600DC587901F08977C75FFFD81B(__this, NULL);
  10403. float L_7 = __this->___spineStiffness;
  10404. float L_8;
  10405. L_8 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_subtract((1.0f), L_7)), (0.0f), (1.0f), NULL);
  10406. V_0 = L_8;
  10407. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_9 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  10408. NullCheck(L_9);
  10409. int32_t L_10 = 0;
  10410. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_11 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  10411. NullCheck(L_11);
  10412. ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA* L_12 = L_11->___childConstraints;
  10413. NullCheck(L_12);
  10414. int32_t L_13 = 0;
  10415. ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* L_14 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  10416. float L_15 = V_0;
  10417. NullCheck(L_14);
  10418. L_14->___pushElasticity = L_15;
  10419. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_16 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  10420. NullCheck(L_16);
  10421. int32_t L_17 = 0;
  10422. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_18 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  10423. NullCheck(L_18);
  10424. ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA* L_19 = L_18->___childConstraints;
  10425. NullCheck(L_19);
  10426. int32_t L_20 = 1;
  10427. ChildConstraint_t612A2A1D08070A740BD19A1D7EE4B87FDE6FADE0* L_21 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  10428. float L_22 = V_0;
  10429. NullCheck(L_21);
  10430. L_21->___pushElasticity = L_22;
  10431. IKSolverFullBody_ReadPose_m8F16EA6B52EFA865FA4DEE82587341931F87AF6E(__this, NULL);
  10432. return;
  10433. }
  10434. }
  10435. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_PullBody_mB819B96085A2E600DC587901F08977C75FFFD81B (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  10436. {
  10437. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  10438. memset((&V_0), 0, sizeof(V_0));
  10439. {
  10440. int32_t L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___iterations;
  10441. if ((((int32_t)L_0) >= ((int32_t)1)))
  10442. {
  10443. goto IL_000a;
  10444. }
  10445. }
  10446. {
  10447. return;
  10448. }
  10449. IL_000a:
  10450. {
  10451. float L_1 = __this->___pullBodyVertical;
  10452. if ((!(((float)L_1) == ((float)(0.0f)))))
  10453. {
  10454. goto IL_0024;
  10455. }
  10456. }
  10457. {
  10458. float L_2 = __this->___pullBodyHorizontal;
  10459. if ((((float)L_2) == ((float)(0.0f))))
  10460. {
  10461. goto IL_0080;
  10462. }
  10463. }
  10464. IL_0024:
  10465. {
  10466. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  10467. L_3 = IKSolverFullBodyBiped_GetBodyOffset_mBE7BF80C4D3E6121F676FE69147F6314F56432DE(__this, NULL);
  10468. V_0 = L_3;
  10469. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = V_0;
  10470. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  10471. NullCheck(L_5);
  10472. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  10473. L_6 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_5, NULL);
  10474. float L_7 = __this->___pullBodyVertical;
  10475. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  10476. L_8 = V3Tools_ExtractVertical_m47BDFC19A306C2C7BB23EC498633102F1ED6C372(L_4, L_6, L_7, NULL);
  10477. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = V_0;
  10478. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  10479. NullCheck(L_10);
  10480. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  10481. L_11 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_10, NULL);
  10482. float L_12 = __this->___pullBodyHorizontal;
  10483. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  10484. L_13 = V3Tools_ExtractHorizontal_m91B6CF4A493350C8537393356A03968D54B4A75C(L_9, L_11, L_12, NULL);
  10485. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  10486. L_14 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_8, L_13, NULL);
  10487. IKSolverFullBodyBiped_set_pullBodyOffset_mCA94F8D64F715A7A62446AACD9022597E7698D5D_inline(__this, L_14, NULL);
  10488. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_15;
  10489. L_15 = IKSolverFullBodyBiped_get_bodyEffector_m97B613AF8F3394E6C145169FC2C20E95AE62034E(__this, NULL);
  10490. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_16 = L_15;
  10491. NullCheck(L_16);
  10492. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = L_16->___positionOffset;
  10493. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  10494. L_18 = IKSolverFullBodyBiped_get_pullBodyOffset_mE72A3FEDFCD35C32634971B2B168A043BEF82482_inline(__this, NULL);
  10495. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  10496. L_19 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_17, L_18, NULL);
  10497. NullCheck(L_16);
  10498. L_16->___positionOffset = L_19;
  10499. }
  10500. IL_0080:
  10501. {
  10502. return;
  10503. }
  10504. }
  10505. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFullBodyBiped_GetBodyOffset_mBE7BF80C4D3E6121F676FE69147F6314F56432DE (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  10506. {
  10507. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  10508. memset((&V_0), 0, sizeof(V_0));
  10509. {
  10510. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  10511. L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  10512. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_1;
  10513. L_1 = IKSolverFullBodyBiped_get_leftHandEffector_m3BF5472D80EA409075C62F714D01855F729876F6(__this, NULL);
  10514. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_2;
  10515. L_2 = IKSolverFullBodyBiped_get_leftArmChain_mAB6B0622FF236D65F6049006D1A1D48E004C81A0(__this, NULL);
  10516. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  10517. L_3 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  10518. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  10519. L_4 = IKSolverFullBodyBiped_GetHandBodyPull_m09F48E26B87ACACA14B406D4D22BB1CBF7D5D0E8(__this, L_1, L_2, L_3, NULL);
  10520. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_5;
  10521. L_5 = IKSolverFullBodyBiped_get_leftHandEffector_m3BF5472D80EA409075C62F714D01855F729876F6(__this, NULL);
  10522. NullCheck(L_5);
  10523. float L_6 = L_5->___positionWeight;
  10524. float L_7;
  10525. L_7 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_6, (0.0f), (1.0f), NULL);
  10526. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  10527. L_8 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_4, L_7, NULL);
  10528. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  10529. L_9 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_0, L_8, NULL);
  10530. V_0 = L_9;
  10531. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
  10532. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_11;
  10533. L_11 = IKSolverFullBodyBiped_get_rightHandEffector_mCBB21A3FE2F1B14EC9A05C0AA23A392C408C004E(__this, NULL);
  10534. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_12;
  10535. L_12 = IKSolverFullBodyBiped_get_rightArmChain_mA670FF593133563EA13B7EB272B8155BAB667BC7(__this, NULL);
  10536. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
  10537. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  10538. L_14 = IKSolverFullBodyBiped_GetHandBodyPull_m09F48E26B87ACACA14B406D4D22BB1CBF7D5D0E8(__this, L_11, L_12, L_13, NULL);
  10539. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_15;
  10540. L_15 = IKSolverFullBodyBiped_get_rightHandEffector_mCBB21A3FE2F1B14EC9A05C0AA23A392C408C004E(__this, NULL);
  10541. NullCheck(L_15);
  10542. float L_16 = L_15->___positionWeight;
  10543. float L_17;
  10544. L_17 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_16, (0.0f), (1.0f), NULL);
  10545. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  10546. L_18 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_14, L_17, NULL);
  10547. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  10548. L_19 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_10, L_18, NULL);
  10549. return L_19;
  10550. }
  10551. }
  10552. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFullBodyBiped_GetHandBodyPull_m09F48E26B87ACACA14B406D4D22BB1CBF7D5D0E8 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* ___0_effector, FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* ___1_arm, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_offset, const RuntimeMethod* method)
  10553. {
  10554. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  10555. memset((&V_0), 0, sizeof(V_0));
  10556. float V_1 = 0.0f;
  10557. float V_2 = 0.0f;
  10558. float V_3 = 0.0f;
  10559. {
  10560. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_0 = ___0_effector;
  10561. NullCheck(L_0);
  10562. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = L_0->___position;
  10563. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_2 = ___1_arm;
  10564. NullCheck(L_2);
  10565. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_3 = L_2->___nodes;
  10566. NullCheck(L_3);
  10567. int32_t L_4 = 0;
  10568. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  10569. NullCheck(L_5);
  10570. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_5)->___transform;
  10571. NullCheck(L_6);
  10572. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  10573. L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
  10574. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___2_offset;
  10575. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  10576. L_9 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_7, L_8, NULL);
  10577. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  10578. L_10 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_1, L_9, NULL);
  10579. V_0 = L_10;
  10580. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_11 = ___1_arm;
  10581. NullCheck(L_11);
  10582. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_12 = L_11->___nodes;
  10583. NullCheck(L_12);
  10584. int32_t L_13 = 0;
  10585. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_14 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  10586. NullCheck(L_14);
  10587. float L_15 = L_14->___length;
  10588. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_16 = ___1_arm;
  10589. NullCheck(L_16);
  10590. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* L_17 = L_16->___nodes;
  10591. NullCheck(L_17);
  10592. int32_t L_18 = 1;
  10593. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_19 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  10594. NullCheck(L_19);
  10595. float L_20 = L_19->___length;
  10596. V_1 = ((float)il2cpp_codegen_add(L_15, L_20));
  10597. float L_21;
  10598. L_21 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_0), NULL);
  10599. V_2 = L_21;
  10600. float L_22 = V_2;
  10601. float L_23 = V_1;
  10602. if ((!(((float)L_22) < ((float)L_23))))
  10603. {
  10604. goto IL_0052;
  10605. }
  10606. }
  10607. {
  10608. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  10609. L_24 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  10610. return L_24;
  10611. }
  10612. IL_0052:
  10613. {
  10614. float L_25 = V_2;
  10615. float L_26 = V_1;
  10616. V_3 = ((float)il2cpp_codegen_subtract(L_25, L_26));
  10617. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = V_0;
  10618. float L_28 = V_2;
  10619. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
  10620. L_29 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_27, L_28, NULL);
  10621. float L_30 = V_3;
  10622. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  10623. L_31 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_29, L_30, NULL);
  10624. return L_31;
  10625. }
  10626. }
  10627. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_ApplyBendConstraints_mCE7F05C964B3427088C41B339E30477F4FCE7D60 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  10628. {
  10629. int32_t V_0 = 0;
  10630. {
  10631. int32_t L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___iterations;
  10632. if ((((int32_t)L_0) <= ((int32_t)0)))
  10633. {
  10634. goto IL_0082;
  10635. }
  10636. }
  10637. {
  10638. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_1 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  10639. NullCheck(L_1);
  10640. int32_t L_2 = 1;
  10641. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  10642. NullCheck(L_3);
  10643. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_4 = L_3->___bendConstraint;
  10644. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_5;
  10645. L_5 = IKSolverFullBodyBiped_get_leftHandEffector_m3BF5472D80EA409075C62F714D01855F729876F6(__this, NULL);
  10646. NullCheck(L_5);
  10647. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = L_5->___planeRotationOffset;
  10648. NullCheck(L_4);
  10649. L_4->___rotationOffset = L_6;
  10650. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_7 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  10651. NullCheck(L_7);
  10652. int32_t L_8 = 2;
  10653. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  10654. NullCheck(L_9);
  10655. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_10 = L_9->___bendConstraint;
  10656. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_11;
  10657. L_11 = IKSolverFullBodyBiped_get_rightHandEffector_mCBB21A3FE2F1B14EC9A05C0AA23A392C408C004E(__this, NULL);
  10658. NullCheck(L_11);
  10659. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = L_11->___planeRotationOffset;
  10660. NullCheck(L_10);
  10661. L_10->___rotationOffset = L_12;
  10662. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_13 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  10663. NullCheck(L_13);
  10664. int32_t L_14 = 3;
  10665. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_15 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  10666. NullCheck(L_15);
  10667. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_16 = L_15->___bendConstraint;
  10668. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_17;
  10669. L_17 = IKSolverFullBodyBiped_get_leftFootEffector_m6AEF596EBEBE905767C197DB60B93B764F434BC2(__this, NULL);
  10670. NullCheck(L_17);
  10671. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18 = L_17->___planeRotationOffset;
  10672. NullCheck(L_16);
  10673. L_16->___rotationOffset = L_18;
  10674. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* L_19 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___chain;
  10675. NullCheck(L_19);
  10676. int32_t L_20 = 4;
  10677. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_21 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  10678. NullCheck(L_21);
  10679. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_22 = L_21->___bendConstraint;
  10680. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_23;
  10681. L_23 = IKSolverFullBodyBiped_get_rightFootEffector_m2FCD557479D15DB80715000CD4349EAB5CD81002(__this, NULL);
  10682. NullCheck(L_23);
  10683. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = L_23->___planeRotationOffset;
  10684. NullCheck(L_22);
  10685. L_22->___rotationOffset = L_24;
  10686. goto IL_010d;
  10687. }
  10688. IL_0082:
  10689. {
  10690. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_25 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  10691. NullCheck(L_25);
  10692. int32_t L_26 = 0;
  10693. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_27 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  10694. NullCheck(L_27);
  10695. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = L_27->___positionOffset;
  10696. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_29 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  10697. NullCheck(L_29);
  10698. int32_t L_30 = 0;
  10699. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_31 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  10700. NullCheck(L_31);
  10701. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = L_31->___position;
  10702. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_33 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  10703. NullCheck(L_33);
  10704. int32_t L_34 = 0;
  10705. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_35 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  10706. NullCheck(L_35);
  10707. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = L_35->___bone;
  10708. NullCheck(L_36);
  10709. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  10710. L_37 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_36, NULL);
  10711. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_38 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  10712. NullCheck(L_38);
  10713. int32_t L_39 = 0;
  10714. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_40 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
  10715. NullCheck(L_40);
  10716. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = L_40->___positionOffset;
  10717. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
  10718. L_42 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_37, L_41, NULL);
  10719. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
  10720. L_43 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_32, L_42, NULL);
  10721. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_44 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  10722. NullCheck(L_44);
  10723. int32_t L_45 = 0;
  10724. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_46 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
  10725. NullCheck(L_46);
  10726. float L_47 = L_46->___positionWeight;
  10727. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
  10728. L_48 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_28, L_43, L_47, NULL);
  10729. __this->___offset = L_48;
  10730. V_0 = 0;
  10731. goto IL_0109;
  10732. }
  10733. IL_00e1:
  10734. {
  10735. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* L_49 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___effectors;
  10736. int32_t L_50 = V_0;
  10737. NullCheck(L_49);
  10738. int32_t L_51 = L_50;
  10739. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
  10740. NullCheck(L_52);
  10741. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_53;
  10742. L_53 = IKEffector_GetNode_mED3486B48E46C1F178608B3154032FBAED248D8E(L_52, __this, NULL);
  10743. Node_tC4020128B203BFA29C957212F91116F3F7203FAE* L_54 = L_53;
  10744. NullCheck(L_54);
  10745. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_54)->___solverPosition;
  10746. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = __this->___offset;
  10747. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  10748. L_57 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_55, L_56, NULL);
  10749. NullCheck(L_54);
  10750. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_54)->___solverPosition = L_57;
  10751. int32_t L_58 = V_0;
  10752. V_0 = ((int32_t)il2cpp_codegen_add(L_58, 1));
  10753. }
  10754. IL_0109:
  10755. {
  10756. int32_t L_59 = V_0;
  10757. if ((((int32_t)L_59) < ((int32_t)5)))
  10758. {
  10759. goto IL_00e1;
  10760. }
  10761. }
  10762. IL_010d:
  10763. {
  10764. IKSolverFullBody_ApplyBendConstraints_m8E8D733425C991B3FB94148595CB07CF07DC4F12(__this, NULL);
  10765. return;
  10766. }
  10767. }
  10768. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_WritePose_mBF866F81D14CE4FD848D40B492AD266E61A88E49 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  10769. {
  10770. {
  10771. int32_t L_0 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___iterations;
  10772. if (L_0)
  10773. {
  10774. goto IL_002b;
  10775. }
  10776. }
  10777. {
  10778. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* L_1 = ((IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8*)__this)->___spineMapping;
  10779. NullCheck(L_1);
  10780. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_2 = L_1->___spineBones;
  10781. NullCheck(L_2);
  10782. int32_t L_3 = 0;
  10783. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  10784. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = L_4;
  10785. NullCheck(L_5);
  10786. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  10787. L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
  10788. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___offset;
  10789. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  10790. L_8 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_6, L_7, NULL);
  10791. NullCheck(L_5);
  10792. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_5, L_8, NULL);
  10793. }
  10794. IL_002b:
  10795. {
  10796. IKSolverFullBody_WritePose_mFC086B9EE2A3AE3468D24BFECDFDF07644862365(__this, NULL);
  10797. return;
  10798. }
  10799. }
  10800. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped__ctor_mC43F9D73BFBCF280A17381A227A20A6FFA196CFF (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  10801. {
  10802. {
  10803. __this->___spineStiffness = (0.5f);
  10804. __this->___pullBodyVertical = (0.5f);
  10805. IKSolverFullBody__ctor_mD8D847B0FE05B2CF6B8C0A8A0464389DDE18721E(__this, NULL);
  10806. return;
  10807. }
  10808. }
  10809. #ifdef __clang__
  10810. #pragma clang diagnostic pop
  10811. #endif
  10812. #ifdef __clang__
  10813. #pragma clang diagnostic push
  10814. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  10815. #pragma clang diagnostic ignored "-Wunused-variable"
  10816. #endif
  10817. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverHeuristic_SetChain_m2846BCFD4ED17D9E18A1C25CD53C9BFFDEC83FB3 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_hierarchy, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_root, const RuntimeMethod* method)
  10818. {
  10819. static bool s_Il2CppMethodInitialized;
  10820. if (!s_Il2CppMethodInitialized)
  10821. {
  10822. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239_il2cpp_TypeInfo_var);
  10823. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6_il2cpp_TypeInfo_var);
  10824. s_Il2CppMethodInitialized = true;
  10825. }
  10826. int32_t V_0 = 0;
  10827. {
  10828. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = __this->___bones;
  10829. if (!L_0)
  10830. {
  10831. goto IL_0015;
  10832. }
  10833. }
  10834. {
  10835. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = __this->___bones;
  10836. NullCheck(L_1);
  10837. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_2 = ___0_hierarchy;
  10838. NullCheck(L_2);
  10839. if ((((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))) == ((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))))
  10840. {
  10841. goto IL_0023;
  10842. }
  10843. }
  10844. IL_0015:
  10845. {
  10846. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_3 = ___0_hierarchy;
  10847. NullCheck(L_3);
  10848. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = (BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239*)(BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239*)SZArrayNew(BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)));
  10849. __this->___bones = L_4;
  10850. Il2CppCodeGenWriteBarrier((void**)(&__this->___bones), (void*)L_4);
  10851. }
  10852. IL_0023:
  10853. {
  10854. V_0 = 0;
  10855. goto IL_0052;
  10856. }
  10857. IL_0027:
  10858. {
  10859. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_5 = __this->___bones;
  10860. int32_t L_6 = V_0;
  10861. NullCheck(L_5);
  10862. int32_t L_7 = L_6;
  10863. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  10864. if (L_8)
  10865. {
  10866. goto IL_003e;
  10867. }
  10868. }
  10869. {
  10870. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_9 = __this->___bones;
  10871. int32_t L_10 = V_0;
  10872. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_11 = (Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)il2cpp_codegen_object_new(Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6_il2cpp_TypeInfo_var);
  10873. Bone__ctor_m3A52FF10CE476DA9437CA1427B4670068EB079EF(L_11, NULL);
  10874. NullCheck(L_9);
  10875. ArrayElementTypeCheck (L_9, L_11);
  10876. (L_9)->SetAt(static_cast<il2cpp_array_size_t>(L_10), (Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)L_11);
  10877. }
  10878. IL_003e:
  10879. {
  10880. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_12 = __this->___bones;
  10881. int32_t L_13 = V_0;
  10882. NullCheck(L_12);
  10883. int32_t L_14 = L_13;
  10884. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  10885. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_16 = ___0_hierarchy;
  10886. int32_t L_17 = V_0;
  10887. NullCheck(L_16);
  10888. int32_t L_18 = L_17;
  10889. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  10890. NullCheck(L_15);
  10891. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___transform = L_19;
  10892. Il2CppCodeGenWriteBarrier((void**)(&((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___transform), (void*)L_19);
  10893. int32_t L_20 = V_0;
  10894. V_0 = ((int32_t)il2cpp_codegen_add(L_20, 1));
  10895. }
  10896. IL_0052:
  10897. {
  10898. int32_t L_21 = V_0;
  10899. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_22 = ___0_hierarchy;
  10900. NullCheck(L_22);
  10901. if ((((int32_t)L_21) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
  10902. {
  10903. goto IL_0027;
  10904. }
  10905. }
  10906. {
  10907. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23 = ___1_root;
  10908. IKSolver_Initiate_m3788998F391336578711BBECB4121F595DA4AA0B(__this, L_23, NULL);
  10909. bool L_24;
  10910. L_24 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  10911. return L_24;
  10912. }
  10913. }
  10914. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverHeuristic_AddBone_m2465A5E5B8E83FE092A87405CC02664E42CDFCEC (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_bone, const RuntimeMethod* method)
  10915. {
  10916. static bool s_Il2CppMethodInitialized;
  10917. if (!s_Il2CppMethodInitialized)
  10918. {
  10919. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var);
  10920. s_Il2CppMethodInitialized = true;
  10921. }
  10922. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* V_0 = NULL;
  10923. int32_t V_1 = 0;
  10924. {
  10925. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = __this->___bones;
  10926. NullCheck(L_0);
  10927. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_1 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add(((int32_t)(((RuntimeArray*)L_0)->max_length)), 1)));
  10928. V_0 = L_1;
  10929. V_1 = 0;
  10930. goto IL_0028;
  10931. }
  10932. IL_0014:
  10933. {
  10934. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_2 = V_0;
  10935. int32_t L_3 = V_1;
  10936. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = __this->___bones;
  10937. int32_t L_5 = V_1;
  10938. NullCheck(L_4);
  10939. int32_t L_6 = L_5;
  10940. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  10941. NullCheck(L_7);
  10942. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_7)->___transform;
  10943. NullCheck(L_2);
  10944. ArrayElementTypeCheck (L_2, L_8);
  10945. (L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_8);
  10946. int32_t L_9 = V_1;
  10947. V_1 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  10948. }
  10949. IL_0028:
  10950. {
  10951. int32_t L_10 = V_1;
  10952. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_11 = __this->___bones;
  10953. NullCheck(L_11);
  10954. if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
  10955. {
  10956. goto IL_0014;
  10957. }
  10958. }
  10959. {
  10960. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_12 = V_0;
  10961. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_13 = V_0;
  10962. NullCheck(L_13);
  10963. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = ___0_bone;
  10964. NullCheck(L_12);
  10965. ArrayElementTypeCheck (L_12, L_14);
  10966. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_13)->max_length)), 1))), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_14);
  10967. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_15 = V_0;
  10968. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  10969. bool L_17;
  10970. L_17 = IKSolverHeuristic_SetChain_m2846BCFD4ED17D9E18A1C25CD53C9BFFDEC83FB3(__this, L_15, L_16, NULL);
  10971. return;
  10972. }
  10973. }
  10974. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverHeuristic_StoreDefaultLocalState_m34DFFEB48948927687B682DE2F38965CCBAE9BD8 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  10975. {
  10976. int32_t V_0 = 0;
  10977. {
  10978. V_0 = 0;
  10979. goto IL_0015;
  10980. }
  10981. IL_0004:
  10982. {
  10983. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = __this->___bones;
  10984. int32_t L_1 = V_0;
  10985. NullCheck(L_0);
  10986. int32_t L_2 = L_1;
  10987. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  10988. NullCheck(L_3);
  10989. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_3, NULL);
  10990. int32_t L_4 = V_0;
  10991. V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
  10992. }
  10993. IL_0015:
  10994. {
  10995. int32_t L_5 = V_0;
  10996. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_6 = __this->___bones;
  10997. NullCheck(L_6);
  10998. if ((((int32_t)L_5) < ((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
  10999. {
  11000. goto IL_0004;
  11001. }
  11002. }
  11003. {
  11004. return;
  11005. }
  11006. }
  11007. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverHeuristic_FixTransforms_mE84653C2C74C9D88EA260D4D0700E8706C31E621 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11008. {
  11009. int32_t V_0 = 0;
  11010. {
  11011. bool L_0;
  11012. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  11013. if (L_0)
  11014. {
  11015. goto IL_0009;
  11016. }
  11017. }
  11018. {
  11019. return;
  11020. }
  11021. IL_0009:
  11022. {
  11023. float L_1 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  11024. if ((!(((float)L_1) <= ((float)(0.0f)))))
  11025. {
  11026. goto IL_0017;
  11027. }
  11028. }
  11029. {
  11030. return;
  11031. }
  11032. IL_0017:
  11033. {
  11034. V_0 = 0;
  11035. goto IL_002c;
  11036. }
  11037. IL_001b:
  11038. {
  11039. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_2 = __this->___bones;
  11040. int32_t L_3 = V_0;
  11041. NullCheck(L_2);
  11042. int32_t L_4 = L_3;
  11043. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  11044. NullCheck(L_5);
  11045. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_5, NULL);
  11046. int32_t L_6 = V_0;
  11047. V_0 = ((int32_t)il2cpp_codegen_add(L_6, 1));
  11048. }
  11049. IL_002c:
  11050. {
  11051. int32_t L_7 = V_0;
  11052. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_8 = __this->___bones;
  11053. NullCheck(L_8);
  11054. if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
  11055. {
  11056. goto IL_001b;
  11057. }
  11058. }
  11059. {
  11060. return;
  11061. }
  11062. }
  11063. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverHeuristic_IsValid_mA6DA0060355F03DA945C5105A23AF1084FF32267 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, String_t** ___0_message, const RuntimeMethod* method)
  11064. {
  11065. static bool s_Il2CppMethodInitialized;
  11066. if (!s_Il2CppMethodInitialized)
  11067. {
  11068. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  11069. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral31569C152A5B07A473F44E6AECC28B6F4C39835B);
  11070. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3F0BE26595761121B3D10CBBE611BE4D51F716BC);
  11071. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral42B97A882DC077C8297A5EEEAC8BACDFF3656039);
  11072. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4A2E82E54F791F6334549A1813061B44BBAACD02);
  11073. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9C6EC8C583F8432493C4445D64D100F0559AF402);
  11074. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD85E8DE019F0C897259765EC93102FB1C51C8C38);
  11075. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEB5F0291A601D60C9681CBBBADFE9932230DDA53);
  11076. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralED33CEC2CB7E35D44AA8526B5613B262C8F1FD56);
  11077. s_Il2CppMethodInitialized = true;
  11078. }
  11079. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_0 = NULL;
  11080. int32_t V_1 = 0;
  11081. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* V_2 = NULL;
  11082. int32_t V_3 = 0;
  11083. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  11084. memset((&V_4), 0, sizeof(V_4));
  11085. {
  11086. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = __this->___bones;
  11087. NullCheck(L_0);
  11088. if ((((RuntimeArray*)L_0)->max_length))
  11089. {
  11090. goto IL_0012;
  11091. }
  11092. }
  11093. {
  11094. String_t** L_1 = ___0_message;
  11095. *((RuntimeObject**)L_1) = (RuntimeObject*)_stringLiteralD85E8DE019F0C897259765EC93102FB1C51C8C38;
  11096. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_1, (void*)(RuntimeObject*)_stringLiteralD85E8DE019F0C897259765EC93102FB1C51C8C38);
  11097. return (bool)0;
  11098. }
  11099. IL_0012:
  11100. {
  11101. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_2 = __this->___bones;
  11102. NullCheck(L_2);
  11103. int32_t L_3;
  11104. L_3 = VirtualFuncInvoker0< int32_t >::Invoke(12, __this);
  11105. if ((((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length))) >= ((int32_t)L_3)))
  11106. {
  11107. goto IL_0043;
  11108. }
  11109. }
  11110. {
  11111. String_t** L_4 = ___0_message;
  11112. int32_t L_5;
  11113. L_5 = VirtualFuncInvoker0< int32_t >::Invoke(12, __this);
  11114. V_1 = L_5;
  11115. String_t* L_6;
  11116. L_6 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_1), NULL);
  11117. String_t* L_7;
  11118. L_7 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteral3F0BE26595761121B3D10CBBE611BE4D51F716BC, L_6, _stringLiteralED33CEC2CB7E35D44AA8526B5613B262C8F1FD56, NULL);
  11119. *((RuntimeObject**)L_4) = (RuntimeObject*)L_7;
  11120. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_4, (void*)(RuntimeObject*)L_7);
  11121. return (bool)0;
  11122. }
  11123. IL_0043:
  11124. {
  11125. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_8 = __this->___bones;
  11126. V_2 = L_8;
  11127. V_1 = 0;
  11128. goto IL_006b;
  11129. }
  11130. IL_004e:
  11131. {
  11132. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_9 = V_2;
  11133. int32_t L_10 = V_1;
  11134. NullCheck(L_9);
  11135. int32_t L_11 = L_10;
  11136. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  11137. NullCheck(L_12);
  11138. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_12)->___transform;
  11139. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  11140. bool L_14;
  11141. L_14 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_13, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  11142. if (!L_14)
  11143. {
  11144. goto IL_0067;
  11145. }
  11146. }
  11147. {
  11148. String_t** L_15 = ___0_message;
  11149. *((RuntimeObject**)L_15) = (RuntimeObject*)_stringLiteralEB5F0291A601D60C9681CBBBADFE9932230DDA53;
  11150. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_15, (void*)(RuntimeObject*)_stringLiteralEB5F0291A601D60C9681CBBBADFE9932230DDA53);
  11151. return (bool)0;
  11152. }
  11153. IL_0067:
  11154. {
  11155. int32_t L_16 = V_1;
  11156. V_1 = ((int32_t)il2cpp_codegen_add(L_16, 1));
  11157. }
  11158. IL_006b:
  11159. {
  11160. int32_t L_17 = V_1;
  11161. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_18 = V_2;
  11162. NullCheck(L_18);
  11163. if ((((int32_t)L_17) < ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))))
  11164. {
  11165. goto IL_004e;
  11166. }
  11167. }
  11168. {
  11169. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_19 = __this->___bones;
  11170. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_20;
  11171. L_20 = IKSolver_ContainsDuplicateBone_mC5AD6C60A94BA5C0CB7284835BB6586A707B731F(L_19, NULL);
  11172. V_0 = L_20;
  11173. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21 = V_0;
  11174. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  11175. bool L_22;
  11176. L_22 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_21, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  11177. if (!L_22)
  11178. {
  11179. goto IL_009a;
  11180. }
  11181. }
  11182. {
  11183. String_t** L_23 = ___0_message;
  11184. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = V_0;
  11185. NullCheck(L_24);
  11186. String_t* L_25;
  11187. L_25 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_24, NULL);
  11188. String_t* L_26;
  11189. L_26 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_25, _stringLiteral9C6EC8C583F8432493C4445D64D100F0559AF402, NULL);
  11190. *((RuntimeObject**)L_23) = (RuntimeObject*)L_26;
  11191. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_23, (void*)(RuntimeObject*)L_26);
  11192. return (bool)0;
  11193. }
  11194. IL_009a:
  11195. {
  11196. bool L_27;
  11197. L_27 = VirtualFuncInvoker0< bool >::Invoke(14, __this);
  11198. if (L_27)
  11199. {
  11200. goto IL_00b8;
  11201. }
  11202. }
  11203. {
  11204. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_28 = __this->___bones;
  11205. bool L_29;
  11206. L_29 = IKSolver_HierarchyIsValid_m83E9D596BC072569416DD5B13E2FC17600C7C3E5(L_28, NULL);
  11207. if (L_29)
  11208. {
  11209. goto IL_00b8;
  11210. }
  11211. }
  11212. {
  11213. String_t** L_30 = ___0_message;
  11214. *((RuntimeObject**)L_30) = (RuntimeObject*)_stringLiteral31569C152A5B07A473F44E6AECC28B6F4C39835B;
  11215. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_30, (void*)(RuntimeObject*)_stringLiteral31569C152A5B07A473F44E6AECC28B6F4C39835B);
  11216. return (bool)0;
  11217. }
  11218. IL_00b8:
  11219. {
  11220. bool L_31;
  11221. L_31 = VirtualFuncInvoker0< bool >::Invoke(13, __this);
  11222. if (L_31)
  11223. {
  11224. goto IL_012a;
  11225. }
  11226. }
  11227. {
  11228. V_3 = 0;
  11229. goto IL_011d;
  11230. }
  11231. IL_00c4:
  11232. {
  11233. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_32 = __this->___bones;
  11234. int32_t L_33 = V_3;
  11235. NullCheck(L_32);
  11236. int32_t L_34 = L_33;
  11237. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  11238. NullCheck(L_35);
  11239. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_35)->___transform;
  11240. NullCheck(L_36);
  11241. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  11242. L_37 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_36, NULL);
  11243. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_38 = __this->___bones;
  11244. int32_t L_39 = V_3;
  11245. NullCheck(L_38);
  11246. int32_t L_40 = ((int32_t)il2cpp_codegen_add(L_39, 1));
  11247. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
  11248. NullCheck(L_41);
  11249. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_42 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_41)->___transform;
  11250. NullCheck(L_42);
  11251. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
  11252. L_43 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_42, NULL);
  11253. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
  11254. L_44 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_37, L_43, NULL);
  11255. V_4 = L_44;
  11256. float L_45;
  11257. L_45 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_4), NULL);
  11258. if ((!(((float)L_45) == ((float)(0.0f)))))
  11259. {
  11260. goto IL_0119;
  11261. }
  11262. }
  11263. {
  11264. String_t** L_46 = ___0_message;
  11265. String_t* L_47;
  11266. L_47 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_3), NULL);
  11267. String_t* L_48;
  11268. L_48 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteral4A2E82E54F791F6334549A1813061B44BBAACD02, L_47, _stringLiteral42B97A882DC077C8297A5EEEAC8BACDFF3656039, NULL);
  11269. *((RuntimeObject**)L_46) = (RuntimeObject*)L_48;
  11270. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_46, (void*)(RuntimeObject*)L_48);
  11271. return (bool)0;
  11272. }
  11273. IL_0119:
  11274. {
  11275. int32_t L_49 = V_3;
  11276. V_3 = ((int32_t)il2cpp_codegen_add(L_49, 1));
  11277. }
  11278. IL_011d:
  11279. {
  11280. int32_t L_50 = V_3;
  11281. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_51 = __this->___bones;
  11282. NullCheck(L_51);
  11283. if ((((int32_t)L_50) < ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_51)->max_length)), 1)))))
  11284. {
  11285. goto IL_00c4;
  11286. }
  11287. }
  11288. IL_012a:
  11289. {
  11290. return (bool)1;
  11291. }
  11292. }
  11293. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* IKSolverHeuristic_GetPoints_m7F6AB618117595480D071238EF60D20F10FDD0F6 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11294. {
  11295. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* V_0 = NULL;
  11296. {
  11297. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = __this->___bones;
  11298. V_0 = (PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)L_0;
  11299. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_1 = V_0;
  11300. return L_1;
  11301. }
  11302. }
  11303. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* IKSolverHeuristic_GetPoint_m47C3CFC8846EC4F91D4B607A10B54E90AF3217C5 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  11304. {
  11305. static bool s_Il2CppMethodInitialized;
  11306. if (!s_Il2CppMethodInitialized)
  11307. {
  11308. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  11309. s_Il2CppMethodInitialized = true;
  11310. }
  11311. int32_t V_0 = 0;
  11312. {
  11313. V_0 = 0;
  11314. goto IL_0026;
  11315. }
  11316. IL_0004:
  11317. {
  11318. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = __this->___bones;
  11319. int32_t L_1 = V_0;
  11320. NullCheck(L_0);
  11321. int32_t L_2 = L_1;
  11322. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  11323. NullCheck(L_3);
  11324. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_3)->___transform;
  11325. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ___0_transform;
  11326. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  11327. bool L_6;
  11328. L_6 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_4, L_5, NULL);
  11329. if (!L_6)
  11330. {
  11331. goto IL_0022;
  11332. }
  11333. }
  11334. {
  11335. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_7 = __this->___bones;
  11336. int32_t L_8 = V_0;
  11337. NullCheck(L_7);
  11338. int32_t L_9 = L_8;
  11339. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  11340. return L_10;
  11341. }
  11342. IL_0022:
  11343. {
  11344. int32_t L_11 = V_0;
  11345. V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
  11346. }
  11347. IL_0026:
  11348. {
  11349. int32_t L_12 = V_0;
  11350. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_13 = __this->___bones;
  11351. NullCheck(L_13);
  11352. if ((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))
  11353. {
  11354. goto IL_0004;
  11355. }
  11356. }
  11357. {
  11358. return (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)NULL;
  11359. }
  11360. }
  11361. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t IKSolverHeuristic_get_minBones_mDA5D4B5B6077F967742100F9EE252421809FAA69 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11362. {
  11363. {
  11364. return 2;
  11365. }
  11366. }
  11367. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverHeuristic_get_boneLengthCanBeZero_m804CCB09AB72CD8FCC95EF2085B674AF406372F9 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11368. {
  11369. {
  11370. return (bool)1;
  11371. }
  11372. }
  11373. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverHeuristic_get_allowCommonParent_mDFE257D3985E2383B989D95B23D4B9D51C950912 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11374. {
  11375. {
  11376. return (bool)0;
  11377. }
  11378. }
  11379. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverHeuristic_OnInitiate_m227C9D098277BB7C16D3294413C264BE30B933E9 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11380. {
  11381. {
  11382. return;
  11383. }
  11384. }
  11385. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverHeuristic_OnUpdate_m20040E15807D3AD481F3051C904ED04C10AB752B (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11386. {
  11387. {
  11388. return;
  11389. }
  11390. }
  11391. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverHeuristic_InitiateBones_m72560B417621E3DD92F48687FD6FA96CBDEEC8BF (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11392. {
  11393. static bool s_Il2CppMethodInitialized;
  11394. if (!s_Il2CppMethodInitialized)
  11395. {
  11396. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  11397. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RotationLimitHinge_t0614C9B8EB6263E2B5765EAEE2EB2D3A0FC4368C_il2cpp_TypeInfo_var);
  11398. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCF299D9922A3B9F415D93400254E355CD6C527FF);
  11399. s_Il2CppMethodInitialized = true;
  11400. }
  11401. int32_t V_0 = 0;
  11402. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  11403. memset((&V_1), 0, sizeof(V_1));
  11404. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  11405. memset((&V_2), 0, sizeof(V_2));
  11406. {
  11407. __this->___chainLength = (0.0f);
  11408. V_0 = 0;
  11409. goto IL_0191;
  11410. }
  11411. IL_0012:
  11412. {
  11413. int32_t L_0 = V_0;
  11414. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = __this->___bones;
  11415. NullCheck(L_1);
  11416. if ((((int32_t)L_0) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_1)->max_length)), 1)))))
  11417. {
  11418. goto IL_0132;
  11419. }
  11420. }
  11421. {
  11422. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_2 = __this->___bones;
  11423. int32_t L_3 = V_0;
  11424. NullCheck(L_2);
  11425. int32_t L_4 = L_3;
  11426. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  11427. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_6 = __this->___bones;
  11428. int32_t L_7 = V_0;
  11429. NullCheck(L_6);
  11430. int32_t L_8 = L_7;
  11431. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  11432. NullCheck(L_9);
  11433. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_9)->___transform;
  11434. NullCheck(L_10);
  11435. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  11436. L_11 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_10, NULL);
  11437. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_12 = __this->___bones;
  11438. int32_t L_13 = V_0;
  11439. NullCheck(L_12);
  11440. int32_t L_14 = ((int32_t)il2cpp_codegen_add(L_13, 1));
  11441. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  11442. NullCheck(L_15);
  11443. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___transform;
  11444. NullCheck(L_16);
  11445. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  11446. L_17 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_16, NULL);
  11447. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  11448. L_18 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_11, L_17, NULL);
  11449. V_2 = L_18;
  11450. float L_19;
  11451. L_19 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_2), NULL);
  11452. NullCheck(L_5);
  11453. L_5->___length = L_19;
  11454. float L_20 = __this->___chainLength;
  11455. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_21 = __this->___bones;
  11456. int32_t L_22 = V_0;
  11457. NullCheck(L_21);
  11458. int32_t L_23 = L_22;
  11459. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  11460. NullCheck(L_24);
  11461. float L_25 = L_24->___length;
  11462. __this->___chainLength = ((float)il2cpp_codegen_add(L_20, L_25));
  11463. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_26 = __this->___bones;
  11464. int32_t L_27 = V_0;
  11465. NullCheck(L_26);
  11466. int32_t L_28 = ((int32_t)il2cpp_codegen_add(L_27, 1));
  11467. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
  11468. NullCheck(L_29);
  11469. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_30 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_29)->___transform;
  11470. NullCheck(L_30);
  11471. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  11472. L_31 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_30, NULL);
  11473. V_1 = L_31;
  11474. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_32 = __this->___bones;
  11475. int32_t L_33 = V_0;
  11476. NullCheck(L_32);
  11477. int32_t L_34 = L_33;
  11478. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  11479. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_36 = __this->___bones;
  11480. int32_t L_37 = V_0;
  11481. NullCheck(L_36);
  11482. int32_t L_38 = L_37;
  11483. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_39 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
  11484. NullCheck(L_39);
  11485. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_40 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_39)->___transform;
  11486. NullCheck(L_40);
  11487. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41;
  11488. L_41 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_40, NULL);
  11489. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42;
  11490. L_42 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_41, NULL);
  11491. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = V_1;
  11492. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_44 = __this->___bones;
  11493. int32_t L_45 = V_0;
  11494. NullCheck(L_44);
  11495. int32_t L_46 = L_45;
  11496. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_47 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
  11497. NullCheck(L_47);
  11498. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_48 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_47)->___transform;
  11499. NullCheck(L_48);
  11500. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
  11501. L_49 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_48, NULL);
  11502. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
  11503. L_50 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_43, L_49, NULL);
  11504. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
  11505. L_51 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_42, L_50, NULL);
  11506. NullCheck(L_35);
  11507. L_35->___axis = L_51;
  11508. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_52 = __this->___bones;
  11509. int32_t L_53 = V_0;
  11510. NullCheck(L_52);
  11511. int32_t L_54 = L_53;
  11512. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
  11513. NullCheck(L_55);
  11514. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_56;
  11515. L_56 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_55, NULL);
  11516. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  11517. bool L_57;
  11518. L_57 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_56, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  11519. if (!L_57)
  11520. {
  11521. goto IL_018d;
  11522. }
  11523. }
  11524. {
  11525. bool L_58 = __this->___XY;
  11526. if (!L_58)
  11527. {
  11528. goto IL_011e;
  11529. }
  11530. }
  11531. {
  11532. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_59 = __this->___bones;
  11533. int32_t L_60 = V_0;
  11534. NullCheck(L_59);
  11535. int32_t L_61 = L_60;
  11536. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_62 = (L_59)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
  11537. NullCheck(L_62);
  11538. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_63;
  11539. L_63 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_62, NULL);
  11540. if (((RotationLimitHinge_t0614C9B8EB6263E2B5765EAEE2EB2D3A0FC4368C*)IsInstClass((RuntimeObject*)L_63, RotationLimitHinge_t0614C9B8EB6263E2B5765EAEE2EB2D3A0FC4368C_il2cpp_TypeInfo_var)))
  11541. {
  11542. goto IL_011e;
  11543. }
  11544. }
  11545. {
  11546. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_64 = __this->___bones;
  11547. int32_t L_65 = V_0;
  11548. NullCheck(L_64);
  11549. int32_t L_66 = L_65;
  11550. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_67 = (L_64)->GetAt(static_cast<il2cpp_array_size_t>(L_66));
  11551. NullCheck(L_67);
  11552. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_68 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_67)->___transform;
  11553. Warning_Log_m3B3DC501CEF603D988C5D1BEF3F753D4241876C1(_stringLiteralCF299D9922A3B9F415D93400254E355CD6C527FF, L_68, (bool)0, NULL);
  11554. }
  11555. IL_011e:
  11556. {
  11557. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_69 = __this->___bones;
  11558. int32_t L_70 = V_0;
  11559. NullCheck(L_69);
  11560. int32_t L_71 = L_70;
  11561. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_72 = (L_69)->GetAt(static_cast<il2cpp_array_size_t>(L_71));
  11562. NullCheck(L_72);
  11563. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_73;
  11564. L_73 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_72, NULL);
  11565. NullCheck(L_73);
  11566. RotationLimit_Disable_m286460CEE4E06F3F42AF8E99320C42BAFB70321C(L_73, NULL);
  11567. goto IL_018d;
  11568. }
  11569. IL_0132:
  11570. {
  11571. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_74 = __this->___bones;
  11572. int32_t L_75 = V_0;
  11573. NullCheck(L_74);
  11574. int32_t L_76 = L_75;
  11575. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_77 = (L_74)->GetAt(static_cast<il2cpp_array_size_t>(L_76));
  11576. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_78 = __this->___bones;
  11577. int32_t L_79 = V_0;
  11578. NullCheck(L_78);
  11579. int32_t L_80 = L_79;
  11580. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_81 = (L_78)->GetAt(static_cast<il2cpp_array_size_t>(L_80));
  11581. NullCheck(L_81);
  11582. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_82 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_81)->___transform;
  11583. NullCheck(L_82);
  11584. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_83;
  11585. L_83 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_82, NULL);
  11586. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_84;
  11587. L_84 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_83, NULL);
  11588. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_85 = __this->___bones;
  11589. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_86 = __this->___bones;
  11590. NullCheck(L_86);
  11591. NullCheck(L_85);
  11592. int32_t L_87 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_86)->max_length)), 1));
  11593. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_88 = (L_85)->GetAt(static_cast<il2cpp_array_size_t>(L_87));
  11594. NullCheck(L_88);
  11595. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_89 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_88)->___transform;
  11596. NullCheck(L_89);
  11597. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
  11598. L_90 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_89, NULL);
  11599. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_91 = __this->___bones;
  11600. NullCheck(L_91);
  11601. int32_t L_92 = 0;
  11602. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_93 = (L_91)->GetAt(static_cast<il2cpp_array_size_t>(L_92));
  11603. NullCheck(L_93);
  11604. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_94 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_93)->___transform;
  11605. NullCheck(L_94);
  11606. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95;
  11607. L_95 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_94, NULL);
  11608. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96;
  11609. L_96 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_90, L_95, NULL);
  11610. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97;
  11611. L_97 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_84, L_96, NULL);
  11612. NullCheck(L_77);
  11613. L_77->___axis = L_97;
  11614. }
  11615. IL_018d:
  11616. {
  11617. int32_t L_98 = V_0;
  11618. V_0 = ((int32_t)il2cpp_codegen_add(L_98, 1));
  11619. }
  11620. IL_0191:
  11621. {
  11622. int32_t L_99 = V_0;
  11623. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_100 = __this->___bones;
  11624. NullCheck(L_100);
  11625. if ((((int32_t)L_99) < ((int32_t)((int32_t)(((RuntimeArray*)L_100)->max_length)))))
  11626. {
  11627. goto IL_0012;
  11628. }
  11629. }
  11630. {
  11631. return;
  11632. }
  11633. }
  11634. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverHeuristic_get_localDirection_m3C6B1C2C2BEE8D6CC2803E298A338B566496F954 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11635. {
  11636. {
  11637. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = __this->___bones;
  11638. NullCheck(L_0);
  11639. int32_t L_1 = 0;
  11640. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  11641. NullCheck(L_2);
  11642. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___transform;
  11643. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_4 = __this->___bones;
  11644. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_5 = __this->___bones;
  11645. NullCheck(L_5);
  11646. NullCheck(L_4);
  11647. int32_t L_6 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_5)->max_length)), 1));
  11648. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  11649. NullCheck(L_7);
  11650. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_7)->___transform;
  11651. NullCheck(L_8);
  11652. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  11653. L_9 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_8, NULL);
  11654. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_10 = __this->___bones;
  11655. NullCheck(L_10);
  11656. int32_t L_11 = 0;
  11657. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  11658. NullCheck(L_12);
  11659. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_12)->___transform;
  11660. NullCheck(L_13);
  11661. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  11662. L_14 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_13, NULL);
  11663. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  11664. L_15 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_9, L_14, NULL);
  11665. NullCheck(L_3);
  11666. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  11667. L_16 = Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575(L_3, L_15, NULL);
  11668. return L_16;
  11669. }
  11670. }
  11671. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float IKSolverHeuristic_get_positionOffset_mEA60C0D8E914455404C0F122E1FCE873C0360FFD (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11672. {
  11673. {
  11674. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  11675. L_0 = VirtualFuncInvoker0< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(15, __this);
  11676. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = __this->___lastLocalDirection;
  11677. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  11678. L_2 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_0, L_1, NULL);
  11679. float L_3;
  11680. L_3 = Vector3_SqrMagnitude_m5ED73273031577902F1BED4CA9C5A0E786A680D1_inline(L_2, NULL);
  11681. return L_3;
  11682. }
  11683. }
  11684. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverHeuristic_GetSingularityOffset_mD1CB009105B01A07A06CAF5BDE215F23506F6F74 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11685. {
  11686. static bool s_Il2CppMethodInitialized;
  11687. if (!s_Il2CppMethodInitialized)
  11688. {
  11689. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  11690. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RotationLimitHinge_t0614C9B8EB6263E2B5765EAEE2EB2D3A0FC4368C_il2cpp_TypeInfo_var);
  11691. s_Il2CppMethodInitialized = true;
  11692. }
  11693. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  11694. memset((&V_0), 0, sizeof(V_0));
  11695. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  11696. memset((&V_1), 0, sizeof(V_1));
  11697. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  11698. memset((&V_2), 0, sizeof(V_2));
  11699. {
  11700. bool L_0;
  11701. L_0 = IKSolverHeuristic_SingularityDetected_m169EA7B04674143F241C17CC0F8BAB025859C56C(__this, NULL);
  11702. if (L_0)
  11703. {
  11704. goto IL_000e;
  11705. }
  11706. }
  11707. {
  11708. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  11709. L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  11710. return L_1;
  11711. }
  11712. IL_000e:
  11713. {
  11714. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  11715. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_3 = __this->___bones;
  11716. NullCheck(L_3);
  11717. int32_t L_4 = 0;
  11718. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  11719. NullCheck(L_5);
  11720. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_5)->___transform;
  11721. NullCheck(L_6);
  11722. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  11723. L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
  11724. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  11725. L_8 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_7, NULL);
  11726. V_2 = L_8;
  11727. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  11728. L_9 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_2), NULL);
  11729. V_0 = L_9;
  11730. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
  11731. float L_11 = L_10.___y;
  11732. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = V_0;
  11733. float L_13 = L_12.___z;
  11734. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_0;
  11735. float L_15 = L_14.___x;
  11736. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_1), L_11, L_13, L_15, NULL);
  11737. bool L_16 = __this->___useRotationLimits;
  11738. if (!L_16)
  11739. {
  11740. goto IL_00cc;
  11741. }
  11742. }
  11743. {
  11744. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_17 = __this->___bones;
  11745. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_18 = __this->___bones;
  11746. NullCheck(L_18);
  11747. NullCheck(L_17);
  11748. int32_t L_19 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_18)->max_length)), 2));
  11749. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  11750. NullCheck(L_20);
  11751. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_21;
  11752. L_21 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_20, NULL);
  11753. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  11754. bool L_22;
  11755. L_22 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_21, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  11756. if (!L_22)
  11757. {
  11758. goto IL_00cc;
  11759. }
  11760. }
  11761. {
  11762. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_23 = __this->___bones;
  11763. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_24 = __this->___bones;
  11764. NullCheck(L_24);
  11765. NullCheck(L_23);
  11766. int32_t L_25 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_24)->max_length)), 2));
  11767. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  11768. NullCheck(L_26);
  11769. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_27;
  11770. L_27 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_26, NULL);
  11771. if (!((RotationLimitHinge_t0614C9B8EB6263E2B5765EAEE2EB2D3A0FC4368C*)IsInstClass((RuntimeObject*)L_27, RotationLimitHinge_t0614C9B8EB6263E2B5765EAEE2EB2D3A0FC4368C_il2cpp_TypeInfo_var)))
  11772. {
  11773. goto IL_00cc;
  11774. }
  11775. }
  11776. {
  11777. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_28 = __this->___bones;
  11778. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_29 = __this->___bones;
  11779. NullCheck(L_29);
  11780. NullCheck(L_28);
  11781. int32_t L_30 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_29)->max_length)), 2));
  11782. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  11783. NullCheck(L_31);
  11784. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_31)->___transform;
  11785. NullCheck(L_32);
  11786. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33;
  11787. L_33 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_32, NULL);
  11788. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_34 = __this->___bones;
  11789. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_35 = __this->___bones;
  11790. NullCheck(L_35);
  11791. NullCheck(L_34);
  11792. int32_t L_36 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_35)->max_length)), 2));
  11793. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
  11794. NullCheck(L_37);
  11795. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_38;
  11796. L_38 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_37, NULL);
  11797. NullCheck(L_38);
  11798. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = L_38->___axis;
  11799. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
  11800. L_40 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_33, L_39, NULL);
  11801. V_1 = L_40;
  11802. }
  11803. IL_00cc:
  11804. {
  11805. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = V_0;
  11806. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_1;
  11807. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
  11808. L_43 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_41, L_42, NULL);
  11809. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_44 = __this->___bones;
  11810. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_45 = __this->___bones;
  11811. NullCheck(L_45);
  11812. NullCheck(L_44);
  11813. int32_t L_46 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_45)->max_length)), 2));
  11814. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_47 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
  11815. NullCheck(L_47);
  11816. float L_48 = L_47->___length;
  11817. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
  11818. L_49 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_43, L_48, NULL);
  11819. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
  11820. L_50 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_49, (0.5f), NULL);
  11821. return L_50;
  11822. }
  11823. }
  11824. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverHeuristic_SingularityDetected_m169EA7B04674143F241C17CC0F8BAB025859C56C (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11825. {
  11826. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  11827. memset((&V_0), 0, sizeof(V_0));
  11828. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  11829. memset((&V_1), 0, sizeof(V_1));
  11830. float V_2 = 0.0f;
  11831. float V_3 = 0.0f;
  11832. {
  11833. bool L_0;
  11834. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  11835. if (L_0)
  11836. {
  11837. goto IL_000a;
  11838. }
  11839. }
  11840. {
  11841. return (bool)0;
  11842. }
  11843. IL_000a:
  11844. {
  11845. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_1 = __this->___bones;
  11846. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_2 = __this->___bones;
  11847. NullCheck(L_2);
  11848. NullCheck(L_1);
  11849. int32_t L_3 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_2)->max_length)), 1));
  11850. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  11851. NullCheck(L_4);
  11852. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___transform;
  11853. NullCheck(L_5);
  11854. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  11855. L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
  11856. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_7 = __this->___bones;
  11857. NullCheck(L_7);
  11858. int32_t L_8 = 0;
  11859. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  11860. NullCheck(L_9);
  11861. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_9)->___transform;
  11862. NullCheck(L_10);
  11863. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  11864. L_11 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_10, NULL);
  11865. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  11866. L_12 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_6, L_11, NULL);
  11867. V_0 = L_12;
  11868. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  11869. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_14 = __this->___bones;
  11870. NullCheck(L_14);
  11871. int32_t L_15 = 0;
  11872. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  11873. NullCheck(L_16);
  11874. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_16)->___transform;
  11875. NullCheck(L_17);
  11876. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  11877. L_18 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_17, NULL);
  11878. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  11879. L_19 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_13, L_18, NULL);
  11880. V_1 = L_19;
  11881. float L_20;
  11882. L_20 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_0), NULL);
  11883. V_2 = L_20;
  11884. float L_21;
  11885. L_21 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_1), NULL);
  11886. V_3 = L_21;
  11887. float L_22 = V_2;
  11888. float L_23 = V_3;
  11889. if ((!(((float)L_22) < ((float)L_23))))
  11890. {
  11891. goto IL_0071;
  11892. }
  11893. }
  11894. {
  11895. return (bool)0;
  11896. }
  11897. IL_0071:
  11898. {
  11899. float L_24 = V_2;
  11900. float L_25 = __this->___chainLength;
  11901. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_26 = __this->___bones;
  11902. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_27 = __this->___bones;
  11903. NullCheck(L_27);
  11904. NullCheck(L_26);
  11905. int32_t L_28 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_27)->max_length)), 2));
  11906. Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
  11907. NullCheck(L_29);
  11908. float L_30 = L_29->___length;
  11909. if ((!(((float)L_24) < ((float)((float)il2cpp_codegen_subtract(L_25, ((float)il2cpp_codegen_multiply(L_30, (0.100000001f)))))))))
  11910. {
  11911. goto IL_0099;
  11912. }
  11913. }
  11914. {
  11915. return (bool)0;
  11916. }
  11917. IL_0099:
  11918. {
  11919. float L_31 = V_2;
  11920. if ((!(((float)L_31) == ((float)(0.0f)))))
  11921. {
  11922. goto IL_00a3;
  11923. }
  11924. }
  11925. {
  11926. return (bool)0;
  11927. }
  11928. IL_00a3:
  11929. {
  11930. float L_32 = V_3;
  11931. if ((!(((float)L_32) == ((float)(0.0f)))))
  11932. {
  11933. goto IL_00ad;
  11934. }
  11935. }
  11936. {
  11937. return (bool)0;
  11938. }
  11939. IL_00ad:
  11940. {
  11941. float L_33 = V_3;
  11942. float L_34 = V_2;
  11943. if ((!(((float)L_33) > ((float)L_34))))
  11944. {
  11945. goto IL_00b3;
  11946. }
  11947. }
  11948. {
  11949. return (bool)0;
  11950. }
  11951. IL_00b3:
  11952. {
  11953. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_0;
  11954. float L_36 = V_2;
  11955. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  11956. L_37 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_35, L_36, NULL);
  11957. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_1;
  11958. float L_39 = V_3;
  11959. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
  11960. L_40 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_38, L_39, NULL);
  11961. float L_41;
  11962. L_41 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_37, L_40, NULL);
  11963. if ((!(((float)L_41) < ((float)(0.999000013f)))))
  11964. {
  11965. goto IL_00cf;
  11966. }
  11967. }
  11968. {
  11969. return (bool)0;
  11970. }
  11971. IL_00cf:
  11972. {
  11973. return (bool)1;
  11974. }
  11975. }
  11976. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverHeuristic__ctor_mA6507737B85B0103335026BB482227CBC68486E0 (IKSolverHeuristic_t8A872B0321AA20EDCADB402D71086B35D1209AE3* __this, const RuntimeMethod* method)
  11977. {
  11978. static bool s_Il2CppMethodInitialized;
  11979. if (!s_Il2CppMethodInitialized)
  11980. {
  11981. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239_il2cpp_TypeInfo_var);
  11982. s_Il2CppMethodInitialized = true;
  11983. }
  11984. {
  11985. __this->___maxIterations = 4;
  11986. __this->___useRotationLimits = (bool)1;
  11987. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_0 = (BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239*)(BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239*)SZArrayNew(BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239_il2cpp_TypeInfo_var, (uint32_t)0);
  11988. __this->___bones = L_0;
  11989. Il2CppCodeGenWriteBarrier((void**)(&__this->___bones), (void*)L_0);
  11990. IKSolver__ctor_mF80BFDB950365AD0B8E8ACB9A26E78C8DDC9B3DC(__this, NULL);
  11991. return;
  11992. }
  11993. }
  11994. #ifdef __clang__
  11995. #pragma clang diagnostic pop
  11996. #endif
  11997. #ifdef __clang__
  11998. #pragma clang diagnostic push
  11999. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  12000. #pragma clang diagnostic ignored "-Wunused-variable"
  12001. #endif
  12002. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLeg_IsValid_m440BCCB9A71AEF9912AFFD7A51ACFC809A01174B (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, String_t** ___0_message, const RuntimeMethod* method)
  12003. {
  12004. static bool s_Il2CppMethodInitialized;
  12005. if (!s_Il2CppMethodInitialized)
  12006. {
  12007. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12008. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var);
  12009. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var);
  12010. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral419360761D491F1469DA5FEA27B1ED2851763785);
  12011. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE29C69EE31BFF1E7D1F1C447AADF14C3236B83A5);
  12012. s_Il2CppMethodInitialized = true;
  12013. }
  12014. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_0 = NULL;
  12015. ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A* V_1 = NULL;
  12016. {
  12017. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_0 = __this->___pelvis;
  12018. NullCheck(L_0);
  12019. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = L_0->___transform;
  12020. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12021. bool L_2;
  12022. L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12023. if (L_2)
  12024. {
  12025. goto IL_005f;
  12026. }
  12027. }
  12028. {
  12029. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_3 = __this->___thigh;
  12030. NullCheck(L_3);
  12031. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = L_3->___transform;
  12032. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12033. bool L_5;
  12034. L_5 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_4, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12035. if (L_5)
  12036. {
  12037. goto IL_005f;
  12038. }
  12039. }
  12040. {
  12041. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_6 = __this->___calf;
  12042. NullCheck(L_6);
  12043. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = L_6->___transform;
  12044. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12045. bool L_8;
  12046. L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12047. if (L_8)
  12048. {
  12049. goto IL_005f;
  12050. }
  12051. }
  12052. {
  12053. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_9 = __this->___foot;
  12054. NullCheck(L_9);
  12055. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = L_9->___transform;
  12056. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12057. bool L_11;
  12058. L_11 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12059. if (L_11)
  12060. {
  12061. goto IL_005f;
  12062. }
  12063. }
  12064. {
  12065. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_12 = __this->___toe;
  12066. NullCheck(L_12);
  12067. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = L_12->___transform;
  12068. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12069. bool L_14;
  12070. L_14 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_13, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12071. if (!L_14)
  12072. {
  12073. goto IL_0068;
  12074. }
  12075. }
  12076. IL_005f:
  12077. {
  12078. String_t** L_15 = ___0_message;
  12079. *((RuntimeObject**)L_15) = (RuntimeObject*)_stringLiteralE29C69EE31BFF1E7D1F1C447AADF14C3236B83A5;
  12080. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_15, (void*)(RuntimeObject*)_stringLiteralE29C69EE31BFF1E7D1F1C447AADF14C3236B83A5);
  12081. return (bool)0;
  12082. }
  12083. IL_0068:
  12084. {
  12085. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_16 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)5);
  12086. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_17 = L_16;
  12087. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_18 = __this->___pelvis;
  12088. NullCheck(L_18);
  12089. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = L_18->___transform;
  12090. NullCheck(L_17);
  12091. ArrayElementTypeCheck (L_17, L_19);
  12092. (L_17)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_19);
  12093. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_20 = L_17;
  12094. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_21 = __this->___thigh;
  12095. NullCheck(L_21);
  12096. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = L_21->___transform;
  12097. NullCheck(L_20);
  12098. ArrayElementTypeCheck (L_20, L_22);
  12099. (L_20)->SetAt(static_cast<il2cpp_array_size_t>(1), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_22);
  12100. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_23 = L_20;
  12101. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_24 = __this->___calf;
  12102. NullCheck(L_24);
  12103. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25 = L_24->___transform;
  12104. NullCheck(L_23);
  12105. ArrayElementTypeCheck (L_23, L_25);
  12106. (L_23)->SetAt(static_cast<il2cpp_array_size_t>(2), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_25);
  12107. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_26 = L_23;
  12108. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_27 = __this->___foot;
  12109. NullCheck(L_27);
  12110. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28 = L_27->___transform;
  12111. NullCheck(L_26);
  12112. ArrayElementTypeCheck (L_26, L_28);
  12113. (L_26)->SetAt(static_cast<il2cpp_array_size_t>(3), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_28);
  12114. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_29 = L_26;
  12115. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_30 = __this->___toe;
  12116. NullCheck(L_30);
  12117. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_31 = L_30->___transform;
  12118. NullCheck(L_29);
  12119. ArrayElementTypeCheck (L_29, L_31);
  12120. (L_29)->SetAt(static_cast<il2cpp_array_size_t>(4), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_31);
  12121. V_1 = (ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A*)L_29;
  12122. ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A* L_32 = V_1;
  12123. Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_33;
  12124. L_33 = Hierarchy_ContainsDuplicate_m8D557E254AE9C2E97100726E4F15FD40155043DF(L_32, NULL);
  12125. V_0 = ((Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)CastclassClass((RuntimeObject*)L_33, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var));
  12126. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_34 = V_0;
  12127. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12128. bool L_35;
  12129. L_35 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_34, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12130. if (!L_35)
  12131. {
  12132. goto IL_00de;
  12133. }
  12134. }
  12135. {
  12136. String_t** L_36 = ___0_message;
  12137. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37 = V_0;
  12138. NullCheck(L_37);
  12139. String_t* L_38;
  12140. L_38 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_37, NULL);
  12141. String_t* L_39;
  12142. L_39 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_38, _stringLiteral419360761D491F1469DA5FEA27B1ED2851763785, NULL);
  12143. *((RuntimeObject**)L_36) = (RuntimeObject*)L_39;
  12144. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_36, (void*)(RuntimeObject*)L_39);
  12145. return (bool)0;
  12146. }
  12147. IL_00de:
  12148. {
  12149. return (bool)1;
  12150. }
  12151. }
  12152. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLeg_SetChain_m8B97D63E22418A0B64B7DE16289C3D146F7CBD82 (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_pelvis, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_thigh, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___2_calf, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___3_foot, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___4_toe, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___5_root, const RuntimeMethod* method)
  12153. {
  12154. {
  12155. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_0 = __this->___pelvis;
  12156. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ___0_pelvis;
  12157. NullCheck(L_0);
  12158. L_0->___transform = L_1;
  12159. Il2CppCodeGenWriteBarrier((void**)(&L_0->___transform), (void*)L_1);
  12160. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_2 = __this->___thigh;
  12161. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ___1_thigh;
  12162. NullCheck(L_2);
  12163. L_2->___transform = L_3;
  12164. Il2CppCodeGenWriteBarrier((void**)(&L_2->___transform), (void*)L_3);
  12165. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_4 = __this->___calf;
  12166. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ___2_calf;
  12167. NullCheck(L_4);
  12168. L_4->___transform = L_5;
  12169. Il2CppCodeGenWriteBarrier((void**)(&L_4->___transform), (void*)L_5);
  12170. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_6 = __this->___foot;
  12171. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ___3_foot;
  12172. NullCheck(L_6);
  12173. L_6->___transform = L_7;
  12174. Il2CppCodeGenWriteBarrier((void**)(&L_6->___transform), (void*)L_7);
  12175. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_8 = __this->___toe;
  12176. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ___4_toe;
  12177. NullCheck(L_8);
  12178. L_8->___transform = L_9;
  12179. Il2CppCodeGenWriteBarrier((void**)(&L_8->___transform), (void*)L_9);
  12180. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = ___5_root;
  12181. IKSolver_Initiate_m3788998F391336578711BBECB4121F595DA4AA0B(__this, L_10, NULL);
  12182. bool L_11;
  12183. L_11 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  12184. return L_11;
  12185. }
  12186. }
  12187. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* IKSolverLeg_GetPoints_m9CB947251E5587649BBABE024118B070D953E21A (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method)
  12188. {
  12189. static bool s_Il2CppMethodInitialized;
  12190. if (!s_Il2CppMethodInitialized)
  12191. {
  12192. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var);
  12193. s_Il2CppMethodInitialized = true;
  12194. }
  12195. {
  12196. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_0 = (PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)SZArrayNew(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var, (uint32_t)5);
  12197. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_1 = L_0;
  12198. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_2 = __this->___pelvis;
  12199. NullCheck(L_1);
  12200. ArrayElementTypeCheck (L_1, L_2);
  12201. (L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2);
  12202. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_3 = L_1;
  12203. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_4 = __this->___thigh;
  12204. NullCheck(L_3);
  12205. ArrayElementTypeCheck (L_3, L_4);
  12206. (L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4);
  12207. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_5 = L_3;
  12208. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_6 = __this->___calf;
  12209. NullCheck(L_5);
  12210. ArrayElementTypeCheck (L_5, L_6);
  12211. (L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6);
  12212. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_7 = L_5;
  12213. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_8 = __this->___foot;
  12214. NullCheck(L_7);
  12215. ArrayElementTypeCheck (L_7, L_8);
  12216. (L_7)->SetAt(static_cast<il2cpp_array_size_t>(3), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_8);
  12217. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_9 = L_7;
  12218. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_10 = __this->___toe;
  12219. NullCheck(L_9);
  12220. ArrayElementTypeCheck (L_9, L_10);
  12221. (L_9)->SetAt(static_cast<il2cpp_array_size_t>(4), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_10);
  12222. return L_9;
  12223. }
  12224. }
  12225. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* IKSolverLeg_GetPoint_mB7B040A3881BAB6742009CB7C9BA420DB2337704 (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  12226. {
  12227. static bool s_Il2CppMethodInitialized;
  12228. if (!s_Il2CppMethodInitialized)
  12229. {
  12230. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12231. s_Il2CppMethodInitialized = true;
  12232. }
  12233. {
  12234. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_0 = __this->___pelvis;
  12235. NullCheck(L_0);
  12236. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = L_0->___transform;
  12237. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ___0_transform;
  12238. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12239. bool L_3;
  12240. L_3 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, L_2, NULL);
  12241. if (!L_3)
  12242. {
  12243. goto IL_001a;
  12244. }
  12245. }
  12246. {
  12247. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_4 = __this->___pelvis;
  12248. return L_4;
  12249. }
  12250. IL_001a:
  12251. {
  12252. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_5 = __this->___thigh;
  12253. NullCheck(L_5);
  12254. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = L_5->___transform;
  12255. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ___0_transform;
  12256. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12257. bool L_8;
  12258. L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_6, L_7, NULL);
  12259. if (!L_8)
  12260. {
  12261. goto IL_0034;
  12262. }
  12263. }
  12264. {
  12265. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_9 = __this->___thigh;
  12266. return L_9;
  12267. }
  12268. IL_0034:
  12269. {
  12270. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_10 = __this->___calf;
  12271. NullCheck(L_10);
  12272. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = L_10->___transform;
  12273. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = ___0_transform;
  12274. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12275. bool L_13;
  12276. L_13 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_11, L_12, NULL);
  12277. if (!L_13)
  12278. {
  12279. goto IL_004e;
  12280. }
  12281. }
  12282. {
  12283. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_14 = __this->___calf;
  12284. return L_14;
  12285. }
  12286. IL_004e:
  12287. {
  12288. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_15 = __this->___foot;
  12289. NullCheck(L_15);
  12290. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = L_15->___transform;
  12291. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = ___0_transform;
  12292. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12293. bool L_18;
  12294. L_18 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_16, L_17, NULL);
  12295. if (!L_18)
  12296. {
  12297. goto IL_0068;
  12298. }
  12299. }
  12300. {
  12301. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_19 = __this->___foot;
  12302. return L_19;
  12303. }
  12304. IL_0068:
  12305. {
  12306. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_20 = __this->___toe;
  12307. NullCheck(L_20);
  12308. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21 = L_20->___transform;
  12309. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = ___0_transform;
  12310. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12311. bool L_23;
  12312. L_23 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_21, L_22, NULL);
  12313. if (!L_23)
  12314. {
  12315. goto IL_0082;
  12316. }
  12317. }
  12318. {
  12319. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_24 = __this->___toe;
  12320. return L_24;
  12321. }
  12322. IL_0082:
  12323. {
  12324. return (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)NULL;
  12325. }
  12326. }
  12327. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_StoreDefaultLocalState_m6022C871D19CEA254146399EAA4A9C9060F57DB0 (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method)
  12328. {
  12329. {
  12330. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_0 = __this->___thigh;
  12331. NullCheck(L_0);
  12332. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_0, NULL);
  12333. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_1 = __this->___calf;
  12334. NullCheck(L_1);
  12335. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_1, NULL);
  12336. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_2 = __this->___foot;
  12337. NullCheck(L_2);
  12338. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_2, NULL);
  12339. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_3 = __this->___toe;
  12340. NullCheck(L_3);
  12341. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_3, NULL);
  12342. return;
  12343. }
  12344. }
  12345. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_FixTransforms_mC5334A16D39AF32A9D19B5888B7763D17B83C6B7 (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method)
  12346. {
  12347. {
  12348. bool L_0;
  12349. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  12350. if (L_0)
  12351. {
  12352. goto IL_0009;
  12353. }
  12354. }
  12355. {
  12356. return;
  12357. }
  12358. IL_0009:
  12359. {
  12360. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_1 = __this->___thigh;
  12361. NullCheck(L_1);
  12362. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_1, NULL);
  12363. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_2 = __this->___calf;
  12364. NullCheck(L_2);
  12365. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_2, NULL);
  12366. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_3 = __this->___foot;
  12367. NullCheck(L_3);
  12368. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_3, NULL);
  12369. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_4 = __this->___toe;
  12370. NullCheck(L_4);
  12371. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_4, NULL);
  12372. return;
  12373. }
  12374. }
  12375. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_OnInitiate_m0F29D9CC4DE034702B6DB9E436B334A326DAE952 (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method)
  12376. {
  12377. {
  12378. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_0 = __this->___toe;
  12379. NullCheck(L_0);
  12380. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = L_0->___transform;
  12381. NullCheck(L_1);
  12382. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  12383. L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
  12384. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_2;
  12385. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_3 = __this->___toe;
  12386. NullCheck(L_3);
  12387. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = L_3->___transform;
  12388. NullCheck(L_4);
  12389. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  12390. L_5 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_4, NULL);
  12391. __this->___IKRotation = L_5;
  12392. IKSolverLeg_Read_m14CA1A64EF0F9313538828150274682729D16FCE(__this, NULL);
  12393. return;
  12394. }
  12395. }
  12396. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_OnUpdate_m6AFE2D09DB67EEF6B78F9C836FB7C03BE82B5D8D (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method)
  12397. {
  12398. {
  12399. IKSolverLeg_Read_m14CA1A64EF0F9313538828150274682729D16FCE(__this, NULL);
  12400. IKSolverLeg_Solve_m623AA7600B3E262753350199B4ED28E7A6CFF80F(__this, NULL);
  12401. IKSolverLeg_Write_m295BC369D77FF6C20A5EF2A3BA6D0F8FCDDA97F5(__this, NULL);
  12402. return;
  12403. }
  12404. }
  12405. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_Solve_m623AA7600B3E262753350199B4ED28E7A6CFF80F (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method)
  12406. {
  12407. {
  12408. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_0 = __this->___leg;
  12409. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_1 = L_0;
  12410. NullCheck(L_1);
  12411. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = L_1->___heelPositionOffset;
  12412. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___heelOffset;
  12413. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  12414. L_4 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_2, L_3, NULL);
  12415. NullCheck(L_1);
  12416. L_1->___heelPositionOffset = L_4;
  12417. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_5 = __this->___leg;
  12418. NullCheck(L_5);
  12419. VirtualActionInvoker0::Invoke(5, L_5);
  12420. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_6 = __this->___leg;
  12421. NullCheck(L_6);
  12422. VirtualActionInvoker1< float >::Invoke(7, L_6, (1.0f));
  12423. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_7 = __this->___leg;
  12424. NullCheck(L_7);
  12425. Leg_Solve_mD08F2AE15FBA4ACAF5ACE013A2BD3524CC468654(L_7, (bool)1, NULL);
  12426. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_8 = __this->___leg;
  12427. NullCheck(L_8);
  12428. VirtualActionInvoker0::Invoke(8, L_8);
  12429. return;
  12430. }
  12431. }
  12432. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_Read_m14CA1A64EF0F9313538828150274682729D16FCE (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method)
  12433. {
  12434. {
  12435. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_0 = __this->___leg;
  12436. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  12437. NullCheck(L_0);
  12438. L_0->___IKPosition = L_1;
  12439. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_2 = __this->___leg;
  12440. float L_3 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  12441. NullCheck(L_2);
  12442. L_2->___positionWeight = L_3;
  12443. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_4 = __this->___leg;
  12444. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = __this->___IKRotation;
  12445. NullCheck(L_4);
  12446. L_4->___IKRotation = L_5;
  12447. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_6 = __this->___leg;
  12448. float L_7 = __this->___IKRotationWeight;
  12449. NullCheck(L_6);
  12450. L_6->___rotationWeight = L_7;
  12451. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_8 = __this->___positions;
  12452. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  12453. NullCheck(L_9);
  12454. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  12455. L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
  12456. NullCheck(L_8);
  12457. (L_8)->SetAt(static_cast<il2cpp_array_size_t>(0), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_10);
  12458. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_11 = __this->___positions;
  12459. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_12 = __this->___pelvis;
  12460. NullCheck(L_12);
  12461. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = L_12->___transform;
  12462. NullCheck(L_13);
  12463. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  12464. L_14 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_13, NULL);
  12465. NullCheck(L_11);
  12466. (L_11)->SetAt(static_cast<il2cpp_array_size_t>(1), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_14);
  12467. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_15 = __this->___positions;
  12468. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_16 = __this->___thigh;
  12469. NullCheck(L_16);
  12470. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = L_16->___transform;
  12471. NullCheck(L_17);
  12472. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  12473. L_18 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_17, NULL);
  12474. NullCheck(L_15);
  12475. (L_15)->SetAt(static_cast<il2cpp_array_size_t>(2), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_18);
  12476. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_19 = __this->___positions;
  12477. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_20 = __this->___calf;
  12478. NullCheck(L_20);
  12479. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21 = L_20->___transform;
  12480. NullCheck(L_21);
  12481. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  12482. L_22 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_21, NULL);
  12483. NullCheck(L_19);
  12484. (L_19)->SetAt(static_cast<il2cpp_array_size_t>(3), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_22);
  12485. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_23 = __this->___positions;
  12486. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_24 = __this->___foot;
  12487. NullCheck(L_24);
  12488. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25 = L_24->___transform;
  12489. NullCheck(L_25);
  12490. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  12491. L_26 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_25, NULL);
  12492. NullCheck(L_23);
  12493. (L_23)->SetAt(static_cast<il2cpp_array_size_t>(4), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_26);
  12494. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_27 = __this->___positions;
  12495. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_28 = __this->___toe;
  12496. NullCheck(L_28);
  12497. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = L_28->___transform;
  12498. NullCheck(L_29);
  12499. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  12500. L_30 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_29, NULL);
  12501. NullCheck(L_27);
  12502. (L_27)->SetAt(static_cast<il2cpp_array_size_t>(5), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_30);
  12503. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_31 = __this->___rotations;
  12504. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  12505. NullCheck(L_32);
  12506. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33;
  12507. L_33 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_32, NULL);
  12508. NullCheck(L_31);
  12509. (L_31)->SetAt(static_cast<il2cpp_array_size_t>(0), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_33);
  12510. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_34 = __this->___rotations;
  12511. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_35 = __this->___pelvis;
  12512. NullCheck(L_35);
  12513. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = L_35->___transform;
  12514. NullCheck(L_36);
  12515. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_37;
  12516. L_37 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_36, NULL);
  12517. NullCheck(L_34);
  12518. (L_34)->SetAt(static_cast<il2cpp_array_size_t>(1), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_37);
  12519. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_38 = __this->___rotations;
  12520. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_39 = __this->___thigh;
  12521. NullCheck(L_39);
  12522. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_40 = L_39->___transform;
  12523. NullCheck(L_40);
  12524. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41;
  12525. L_41 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_40, NULL);
  12526. NullCheck(L_38);
  12527. (L_38)->SetAt(static_cast<il2cpp_array_size_t>(2), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_41);
  12528. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_42 = __this->___rotations;
  12529. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_43 = __this->___calf;
  12530. NullCheck(L_43);
  12531. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_44 = L_43->___transform;
  12532. NullCheck(L_44);
  12533. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_45;
  12534. L_45 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_44, NULL);
  12535. NullCheck(L_42);
  12536. (L_42)->SetAt(static_cast<il2cpp_array_size_t>(3), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_45);
  12537. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_46 = __this->___rotations;
  12538. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_47 = __this->___foot;
  12539. NullCheck(L_47);
  12540. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_48 = L_47->___transform;
  12541. NullCheck(L_48);
  12542. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_49;
  12543. L_49 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_48, NULL);
  12544. NullCheck(L_46);
  12545. (L_46)->SetAt(static_cast<il2cpp_array_size_t>(4), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_49);
  12546. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_50 = __this->___rotations;
  12547. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_51 = __this->___toe;
  12548. NullCheck(L_51);
  12549. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_52 = L_51->___transform;
  12550. NullCheck(L_52);
  12551. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_53;
  12552. L_53 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_52, NULL);
  12553. NullCheck(L_50);
  12554. (L_50)->SetAt(static_cast<il2cpp_array_size_t>(5), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_53);
  12555. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_54 = __this->___leg;
  12556. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_55 = __this->___positions;
  12557. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_56 = __this->___rotations;
  12558. NullCheck(L_54);
  12559. BodyPart_Read_m0D270E046A2E5561B4267ADB7F76E10BE725F0CD(L_54, L_55, L_56, (bool)0, (bool)0, (bool)0, (bool)1, (bool)1, 1, 2, NULL);
  12560. return;
  12561. }
  12562. }
  12563. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg_Write_m295BC369D77FF6C20A5EF2A3BA6D0F8FCDDA97F5 (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method)
  12564. {
  12565. {
  12566. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_0 = __this->___leg;
  12567. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_1 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)(&__this->___positions);
  12568. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_2 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)(&__this->___rotations);
  12569. NullCheck(L_0);
  12570. VirtualActionInvoker2< Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** >::Invoke(6, L_0, L_1, L_2);
  12571. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_3 = __this->___thigh;
  12572. NullCheck(L_3);
  12573. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = L_3->___transform;
  12574. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_5 = __this->___rotations;
  12575. NullCheck(L_5);
  12576. int32_t L_6 = 2;
  12577. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  12578. NullCheck(L_4);
  12579. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_4, L_7, NULL);
  12580. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_8 = __this->___calf;
  12581. NullCheck(L_8);
  12582. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = L_8->___transform;
  12583. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_10 = __this->___rotations;
  12584. NullCheck(L_10);
  12585. int32_t L_11 = 3;
  12586. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  12587. NullCheck(L_9);
  12588. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_9, L_12, NULL);
  12589. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_13 = __this->___foot;
  12590. NullCheck(L_13);
  12591. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = L_13->___transform;
  12592. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_15 = __this->___rotations;
  12593. NullCheck(L_15);
  12594. int32_t L_16 = 4;
  12595. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  12596. NullCheck(L_14);
  12597. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_14, L_17, NULL);
  12598. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_18 = __this->___toe;
  12599. NullCheck(L_18);
  12600. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = L_18->___transform;
  12601. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_20 = __this->___rotations;
  12602. NullCheck(L_20);
  12603. int32_t L_21 = 5;
  12604. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
  12605. NullCheck(L_19);
  12606. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_19, L_22, NULL);
  12607. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_23 = __this->___calf;
  12608. NullCheck(L_23);
  12609. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = L_23->___transform;
  12610. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_25 = __this->___positions;
  12611. NullCheck(L_25);
  12612. int32_t L_26 = 3;
  12613. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  12614. NullCheck(L_24);
  12615. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_24, L_27, NULL);
  12616. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_28 = __this->___foot;
  12617. NullCheck(L_28);
  12618. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = L_28->___transform;
  12619. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_30 = __this->___positions;
  12620. NullCheck(L_30);
  12621. int32_t L_31 = 4;
  12622. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
  12623. NullCheck(L_29);
  12624. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_29, L_32, NULL);
  12625. return;
  12626. }
  12627. }
  12628. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLeg__ctor_m03ECEC20659207A0530357FAA7B4E4B0F84B88B8 (IKSolverLeg_t6C2B6A76A032E6E84F9BBB5111CD7F96E695B417* __this, const RuntimeMethod* method)
  12629. {
  12630. static bool s_Il2CppMethodInitialized;
  12631. if (!s_Il2CppMethodInitialized)
  12632. {
  12633. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2_il2cpp_TypeInfo_var);
  12634. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_il2cpp_TypeInfo_var);
  12635. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var);
  12636. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
  12637. s_Il2CppMethodInitialized = true;
  12638. }
  12639. {
  12640. __this->___IKRotationWeight = (1.0f);
  12641. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0;
  12642. L_0 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  12643. __this->___IKRotation = L_0;
  12644. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_1 = (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)il2cpp_codegen_object_new(Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_il2cpp_TypeInfo_var);
  12645. Point__ctor_m239882619C92DC9AFA7C444B440576DD8279870B(L_1, NULL);
  12646. __this->___pelvis = L_1;
  12647. Il2CppCodeGenWriteBarrier((void**)(&__this->___pelvis), (void*)L_1);
  12648. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_2 = (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)il2cpp_codegen_object_new(Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_il2cpp_TypeInfo_var);
  12649. Point__ctor_m239882619C92DC9AFA7C444B440576DD8279870B(L_2, NULL);
  12650. __this->___thigh = L_2;
  12651. Il2CppCodeGenWriteBarrier((void**)(&__this->___thigh), (void*)L_2);
  12652. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_3 = (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)il2cpp_codegen_object_new(Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_il2cpp_TypeInfo_var);
  12653. Point__ctor_m239882619C92DC9AFA7C444B440576DD8279870B(L_3, NULL);
  12654. __this->___calf = L_3;
  12655. Il2CppCodeGenWriteBarrier((void**)(&__this->___calf), (void*)L_3);
  12656. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_4 = (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)il2cpp_codegen_object_new(Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_il2cpp_TypeInfo_var);
  12657. Point__ctor_m239882619C92DC9AFA7C444B440576DD8279870B(L_4, NULL);
  12658. __this->___foot = L_4;
  12659. Il2CppCodeGenWriteBarrier((void**)(&__this->___foot), (void*)L_4);
  12660. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* L_5 = (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)il2cpp_codegen_object_new(Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19_il2cpp_TypeInfo_var);
  12661. Point__ctor_m239882619C92DC9AFA7C444B440576DD8279870B(L_5, NULL);
  12662. __this->___toe = L_5;
  12663. Il2CppCodeGenWriteBarrier((void**)(&__this->___toe), (void*)L_5);
  12664. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_6 = (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2*)il2cpp_codegen_object_new(Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2_il2cpp_TypeInfo_var);
  12665. Leg__ctor_m0B26577A63E03CE1C883B91D3271048AC80A6464(L_6, NULL);
  12666. __this->___leg = L_6;
  12667. Il2CppCodeGenWriteBarrier((void**)(&__this->___leg), (void*)L_6);
  12668. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_7 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)6);
  12669. __this->___positions = L_7;
  12670. Il2CppCodeGenWriteBarrier((void**)(&__this->___positions), (void*)L_7);
  12671. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_8 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)SZArrayNew(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var, (uint32_t)6);
  12672. __this->___rotations = L_8;
  12673. Il2CppCodeGenWriteBarrier((void**)(&__this->___rotations), (void*)L_8);
  12674. IKSolver__ctor_mF80BFDB950365AD0B8E8ACB9A26E78C8DDC9B3DC(__this, NULL);
  12675. return;
  12676. }
  12677. }
  12678. #ifdef __clang__
  12679. #pragma clang diagnostic pop
  12680. #endif
  12681. #ifdef __clang__
  12682. #pragma clang diagnostic push
  12683. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  12684. #pragma clang diagnostic ignored "-Wunused-variable"
  12685. #endif
  12686. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb_MaintainRotation_m5BC728114C1FDCFF47253D804FC188B7CEF0AE2A (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method)
  12687. {
  12688. {
  12689. bool L_0;
  12690. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  12691. if (L_0)
  12692. {
  12693. goto IL_0009;
  12694. }
  12695. }
  12696. {
  12697. return;
  12698. }
  12699. IL_0009:
  12700. {
  12701. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_1 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone3;
  12702. NullCheck(L_1);
  12703. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_1)->___transform;
  12704. NullCheck(L_2);
  12705. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
  12706. L_3 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_2, NULL);
  12707. __this->___maintainRotation = L_3;
  12708. __this->___maintainRotationFor1Frame = (bool)1;
  12709. return;
  12710. }
  12711. }
  12712. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb_MaintainBend_m3FB93A6A248637C68EF504F9AE7565BD7D926C0B (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method)
  12713. {
  12714. {
  12715. bool L_0;
  12716. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  12717. if (L_0)
  12718. {
  12719. goto IL_0009;
  12720. }
  12721. }
  12722. {
  12723. return;
  12724. }
  12725. IL_0009:
  12726. {
  12727. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_1 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  12728. NullCheck(L_1);
  12729. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  12730. L_2 = TrigonometricBone_GetBendNormalFromCurrentRotation_mC6228E20EE9B222D620EA8410762778D2EDF4AE4(L_1, NULL);
  12731. __this->___animationNormal = L_2;
  12732. __this->___maintainBendFor1Frame = (bool)1;
  12733. return;
  12734. }
  12735. }
  12736. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb_OnInitiateVirtual_mD6440308831F992BF16D61C27C338FD578E38208 (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method)
  12737. {
  12738. static bool s_Il2CppMethodInitialized;
  12739. if (!s_Il2CppMethodInitialized)
  12740. {
  12741. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12742. s_Il2CppMethodInitialized = true;
  12743. }
  12744. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  12745. memset((&V_0), 0, sizeof(V_0));
  12746. {
  12747. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  12748. NullCheck(L_0);
  12749. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
  12750. L_1 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_0, NULL);
  12751. __this->___defaultRootRotation = L_1;
  12752. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_2 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  12753. NullCheck(L_2);
  12754. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___transform;
  12755. NullCheck(L_3);
  12756. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
  12757. L_4 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_3, NULL);
  12758. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12759. bool L_5;
  12760. L_5 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_4, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12761. if (!L_5)
  12762. {
  12763. goto IL_0054;
  12764. }
  12765. }
  12766. {
  12767. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = __this->___defaultRootRotation;
  12768. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
  12769. L_7 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_6, NULL);
  12770. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_8 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  12771. NullCheck(L_8);
  12772. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_8)->___transform;
  12773. NullCheck(L_9);
  12774. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10;
  12775. L_10 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_9, NULL);
  12776. NullCheck(L_10);
  12777. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  12778. L_11 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_10, NULL);
  12779. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
  12780. L_12 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_7, L_11, NULL);
  12781. __this->___parentDefaultRotation = L_12;
  12782. }
  12783. IL_0054:
  12784. {
  12785. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_13 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone3;
  12786. NullCheck(L_13);
  12787. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_14;
  12788. L_14 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_13, NULL);
  12789. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12790. bool L_15;
  12791. L_15 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_14, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12792. if (!L_15)
  12793. {
  12794. goto IL_0077;
  12795. }
  12796. }
  12797. {
  12798. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_16 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone3;
  12799. NullCheck(L_16);
  12800. RotationLimit_t9E840D1514B7F4E0A3EA17B828A61ABD09EA5185* L_17;
  12801. L_17 = Bone_get_rotationLimit_m1BB2A5979E05813353481A2B2018BB2DE7A74C0D(L_16, NULL);
  12802. NullCheck(L_17);
  12803. RotationLimit_Disable_m286460CEE4E06F3F42AF8E99320C42BAFB70321C(L_17, NULL);
  12804. }
  12805. IL_0077:
  12806. {
  12807. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_18 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone3;
  12808. NullCheck(L_18);
  12809. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_18)->___transform;
  12810. NullCheck(L_19);
  12811. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
  12812. L_20 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_19, NULL);
  12813. __this->___bone3DefaultRotation = L_20;
  12814. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_21 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone2;
  12815. NullCheck(L_21);
  12816. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_21)->___transform;
  12817. NullCheck(L_22);
  12818. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  12819. L_23 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_22, NULL);
  12820. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_24 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  12821. NullCheck(L_24);
  12822. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_24)->___transform;
  12823. NullCheck(L_25);
  12824. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  12825. L_26 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_25, NULL);
  12826. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  12827. L_27 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_23, L_26, NULL);
  12828. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_28 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone3;
  12829. NullCheck(L_28);
  12830. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_28)->___transform;
  12831. NullCheck(L_29);
  12832. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  12833. L_30 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_29, NULL);
  12834. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_31 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone2;
  12835. NullCheck(L_31);
  12836. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_31)->___transform;
  12837. NullCheck(L_32);
  12838. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
  12839. L_33 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_32, NULL);
  12840. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  12841. L_34 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_30, L_33, NULL);
  12842. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  12843. L_35 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_27, L_34, NULL);
  12844. V_0 = L_35;
  12845. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_0;
  12846. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  12847. L_37 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  12848. bool L_38;
  12849. L_38 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_36, L_37, NULL);
  12850. if (!L_38)
  12851. {
  12852. goto IL_00f1;
  12853. }
  12854. }
  12855. {
  12856. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_0;
  12857. ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal = L_39;
  12858. }
  12859. IL_00f1:
  12860. {
  12861. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  12862. __this->___animationNormal = L_40;
  12863. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1** L_41 = (AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1**)(&__this->___axisDirectionsLeft);
  12864. IKSolverLimb_StoreAxisDirections_m7C1545C8C1C492ED22ABBC32B4A799605FEFF8EC(__this, L_41, NULL);
  12865. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1** L_42 = (AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1**)(&__this->___axisDirectionsRight);
  12866. IKSolverLimb_StoreAxisDirections_m7C1545C8C1C492ED22ABBC32B4A799605FEFF8EC(__this, L_42, NULL);
  12867. return;
  12868. }
  12869. }
  12870. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb_OnUpdateVirtual_m747E167B1165DB19260A01FB484EC4F0972FAF38 (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method)
  12871. {
  12872. IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* G_B5_0 = NULL;
  12873. IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* G_B4_0 = NULL;
  12874. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B6_0;
  12875. memset((&G_B6_0), 0, sizeof(G_B6_0));
  12876. IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* G_B6_1 = NULL;
  12877. {
  12878. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  12879. if ((!(((float)L_0) > ((float)(0.0f)))))
  12880. {
  12881. goto IL_005b;
  12882. }
  12883. }
  12884. {
  12885. float L_1 = __this->___bendModifierWeight;
  12886. float L_2;
  12887. L_2 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_1, (0.0f), (1.0f), NULL);
  12888. __this->___bendModifierWeight = L_2;
  12889. float L_3 = __this->___maintainRotationWeight;
  12890. float L_4;
  12891. L_4 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_3, (0.0f), (1.0f), NULL);
  12892. __this->___maintainRotationWeight = L_4;
  12893. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  12894. __this->____bendNormal = L_5;
  12895. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  12896. L_6 = IKSolverLimb_GetModifiedBendNormal_m5CF161D75E084E4619F5100479563E582713D010(__this, NULL);
  12897. ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal = L_6;
  12898. }
  12899. IL_005b:
  12900. {
  12901. float L_7 = __this->___maintainRotationWeight;
  12902. float L_8 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  12903. if ((!(((float)((float)il2cpp_codegen_multiply(L_7, L_8))) > ((float)(0.0f)))))
  12904. {
  12905. goto IL_009c;
  12906. }
  12907. }
  12908. {
  12909. bool L_9 = __this->___maintainRotationFor1Frame;
  12910. if (L_9)
  12911. {
  12912. G_B5_0 = __this;
  12913. goto IL_008a;
  12914. }
  12915. G_B4_0 = __this;
  12916. }
  12917. {
  12918. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_10 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone3;
  12919. NullCheck(L_10);
  12920. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_10)->___transform;
  12921. NullCheck(L_11);
  12922. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
  12923. L_12 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_11, NULL);
  12924. G_B6_0 = L_12;
  12925. G_B6_1 = G_B4_0;
  12926. goto IL_0090;
  12927. }
  12928. IL_008a:
  12929. {
  12930. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13 = __this->___maintainRotation;
  12931. G_B6_0 = L_13;
  12932. G_B6_1 = G_B5_0;
  12933. }
  12934. IL_0090:
  12935. {
  12936. NullCheck(G_B6_1);
  12937. G_B6_1->___bone3RotationBeforeSolve = G_B6_0;
  12938. __this->___maintainRotationFor1Frame = (bool)0;
  12939. }
  12940. IL_009c:
  12941. {
  12942. return;
  12943. }
  12944. }
  12945. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb_OnPostSolveVirtual_m77195D40C8CE4F7DA65041EC4E37DDBFE9AAF9C8 (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method)
  12946. {
  12947. {
  12948. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  12949. if ((!(((float)L_0) > ((float)(0.0f)))))
  12950. {
  12951. goto IL_0019;
  12952. }
  12953. }
  12954. {
  12955. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = __this->____bendNormal;
  12956. ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal = L_1;
  12957. }
  12958. IL_0019:
  12959. {
  12960. float L_2 = __this->___maintainRotationWeight;
  12961. float L_3 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  12962. if ((!(((float)((float)il2cpp_codegen_multiply(L_2, L_3))) > ((float)(0.0f)))))
  12963. {
  12964. goto IL_0065;
  12965. }
  12966. }
  12967. {
  12968. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_4 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone3;
  12969. NullCheck(L_4);
  12970. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___transform;
  12971. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_6 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone3;
  12972. NullCheck(L_6);
  12973. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6)->___transform;
  12974. NullCheck(L_7);
  12975. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
  12976. L_8 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_7, NULL);
  12977. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = __this->___bone3RotationBeforeSolve;
  12978. float L_10 = __this->___maintainRotationWeight;
  12979. float L_11 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  12980. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
  12981. L_12 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_8, L_9, ((float)il2cpp_codegen_multiply(L_10, L_11)), NULL);
  12982. NullCheck(L_5);
  12983. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_5, L_12, NULL);
  12984. }
  12985. IL_0065:
  12986. {
  12987. return;
  12988. }
  12989. }
  12990. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb__ctor_m87157F3E53331E45436D0D89AB6CED02149F8AB5 (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method)
  12991. {
  12992. static bool s_Il2CppMethodInitialized;
  12993. if (!s_Il2CppMethodInitialized)
  12994. {
  12995. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1_il2cpp_TypeInfo_var);
  12996. s_Il2CppMethodInitialized = true;
  12997. }
  12998. {
  12999. __this->___bendModifierWeight = (1.0f);
  13000. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_0 = (AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1*)(AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1*)SZArrayNew(AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1_il2cpp_TypeInfo_var, (uint32_t)4);
  13001. __this->___axisDirectionsLeft = L_0;
  13002. Il2CppCodeGenWriteBarrier((void**)(&__this->___axisDirectionsLeft), (void*)L_0);
  13003. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_1 = (AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1*)(AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1*)SZArrayNew(AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1_il2cpp_TypeInfo_var, (uint32_t)4);
  13004. __this->___axisDirectionsRight = L_1;
  13005. Il2CppCodeGenWriteBarrier((void**)(&__this->___axisDirectionsRight), (void*)L_1);
  13006. IKSolverTrigonometric__ctor_mE83F64AEC3DCBEC0316F59036574A00AD9894616(__this, NULL);
  13007. return;
  13008. }
  13009. }
  13010. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb__ctor_mEC03DE59E749CA33F2F796289FC92BC866C570C9 (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, int32_t ___0_goal, const RuntimeMethod* method)
  13011. {
  13012. static bool s_Il2CppMethodInitialized;
  13013. if (!s_Il2CppMethodInitialized)
  13014. {
  13015. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1_il2cpp_TypeInfo_var);
  13016. s_Il2CppMethodInitialized = true;
  13017. }
  13018. {
  13019. __this->___bendModifierWeight = (1.0f);
  13020. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_0 = (AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1*)(AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1*)SZArrayNew(AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1_il2cpp_TypeInfo_var, (uint32_t)4);
  13021. __this->___axisDirectionsLeft = L_0;
  13022. Il2CppCodeGenWriteBarrier((void**)(&__this->___axisDirectionsLeft), (void*)L_0);
  13023. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_1 = (AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1*)(AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1*)SZArrayNew(AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1_il2cpp_TypeInfo_var, (uint32_t)4);
  13024. __this->___axisDirectionsRight = L_1;
  13025. Il2CppCodeGenWriteBarrier((void**)(&__this->___axisDirectionsRight), (void*)L_1);
  13026. IKSolverTrigonometric__ctor_mE83F64AEC3DCBEC0316F59036574A00AD9894616(__this, NULL);
  13027. int32_t L_2 = ___0_goal;
  13028. __this->___goal = L_2;
  13029. return;
  13030. }
  13031. }
  13032. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method)
  13033. {
  13034. {
  13035. int32_t L_0 = __this->___goal;
  13036. if ((!(((uint32_t)L_0) == ((uint32_t)2))))
  13037. {
  13038. goto IL_0010;
  13039. }
  13040. }
  13041. {
  13042. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_1 = __this->___axisDirectionsLeft;
  13043. return L_1;
  13044. }
  13045. IL_0010:
  13046. {
  13047. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_2 = __this->___axisDirectionsRight;
  13048. return L_2;
  13049. }
  13050. }
  13051. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLimb_StoreAxisDirections_m7C1545C8C1C492ED22ABBC32B4A799605FEFF8EC (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1** ___0_axisDirections, const RuntimeMethod* method)
  13052. {
  13053. {
  13054. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1** L_0 = ___0_axisDirections;
  13055. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_1 = *((AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1**)L_0);
  13056. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  13057. L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  13058. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  13059. memset((&L_3), 0, sizeof(L_3));
  13060. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_3), (-1.0f), (0.0f), (0.0f), NULL);
  13061. AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4 L_4;
  13062. memset((&L_4), 0, sizeof(L_4));
  13063. AxisDirection__ctor_m71A0315B1402B0AE838AFE634D4C3FCF992F6D45((&L_4), L_2, L_3, NULL);
  13064. NullCheck(L_1);
  13065. (L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4)L_4);
  13066. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1** L_5 = ___0_axisDirections;
  13067. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_6 = *((AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1**)L_5);
  13068. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  13069. memset((&L_7), 0, sizeof(L_7));
  13070. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_7), (0.5f), (0.0f), (-0.200000003f), NULL);
  13071. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  13072. memset((&L_8), 0, sizeof(L_8));
  13073. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_8), (-0.5f), (-1.0f), (1.0f), NULL);
  13074. AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4 L_9;
  13075. memset((&L_9), 0, sizeof(L_9));
  13076. AxisDirection__ctor_m71A0315B1402B0AE838AFE634D4C3FCF992F6D45((&L_9), L_7, L_8, NULL);
  13077. NullCheck(L_6);
  13078. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4)L_9);
  13079. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1** L_10 = ___0_axisDirections;
  13080. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_11 = *((AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1**)L_10);
  13081. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  13082. memset((&L_12), 0, sizeof(L_12));
  13083. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), (-0.5f), (-1.0f), (-0.200000003f), NULL);
  13084. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  13085. memset((&L_13), 0, sizeof(L_13));
  13086. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_13), (0.0f), (0.5f), (-1.0f), NULL);
  13087. AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4 L_14;
  13088. memset((&L_14), 0, sizeof(L_14));
  13089. AxisDirection__ctor_m71A0315B1402B0AE838AFE634D4C3FCF992F6D45((&L_14), L_12, L_13, NULL);
  13090. NullCheck(L_11);
  13091. (L_11)->SetAt(static_cast<il2cpp_array_size_t>(2), (AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4)L_14);
  13092. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1** L_15 = ___0_axisDirections;
  13093. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_16 = *((AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1**)L_15);
  13094. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  13095. memset((&L_17), 0, sizeof(L_17));
  13096. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_17), (-0.5f), (-0.5f), (1.0f), NULL);
  13097. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  13098. memset((&L_18), 0, sizeof(L_18));
  13099. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_18), (-1.0f), (-1.0f), (-1.0f), NULL);
  13100. AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4 L_19;
  13101. memset((&L_19), 0, sizeof(L_19));
  13102. AxisDirection__ctor_m71A0315B1402B0AE838AFE634D4C3FCF992F6D45((&L_19), L_17, L_18, NULL);
  13103. NullCheck(L_16);
  13104. (L_16)->SetAt(static_cast<il2cpp_array_size_t>(3), (AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4)L_19);
  13105. return;
  13106. }
  13107. }
  13108. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverLimb_GetModifiedBendNormal_m5CF161D75E084E4619F5100479563E582713D010 (IKSolverLimb_t7688EB2D5F30D2DF70186620D76C33451FC20C08* __this, const RuntimeMethod* method)
  13109. {
  13110. static bool s_Il2CppMethodInitialized;
  13111. if (!s_Il2CppMethodInitialized)
  13112. {
  13113. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13114. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var);
  13115. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral176048BD1594E9AE8C0D082376E907B73C34B332);
  13116. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1FC8E7E09C5555C95F47ABCCD3E69CEBD22A6FB2);
  13117. s_Il2CppMethodInitialized = true;
  13118. }
  13119. float V_0 = 0.0f;
  13120. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  13121. memset((&V_1), 0, sizeof(V_1));
  13122. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
  13123. memset((&V_2), 0, sizeof(V_2));
  13124. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  13125. memset((&V_3), 0, sizeof(V_3));
  13126. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  13127. memset((&V_4), 0, sizeof(V_4));
  13128. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
  13129. memset((&V_5), 0, sizeof(V_5));
  13130. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  13131. memset((&V_6), 0, sizeof(V_6));
  13132. int32_t V_7 = 0;
  13133. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
  13134. memset((&V_8), 0, sizeof(V_8));
  13135. int32_t V_9 = 0;
  13136. int32_t V_10 = 0;
  13137. {
  13138. float L_0 = __this->___bendModifierWeight;
  13139. V_0 = L_0;
  13140. float L_1 = V_0;
  13141. if ((!(((float)L_1) <= ((float)(0.0f)))))
  13142. {
  13143. goto IL_0016;
  13144. }
  13145. }
  13146. {
  13147. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13148. return L_2;
  13149. }
  13150. IL_0016:
  13151. {
  13152. int32_t L_3 = __this->___bendModifier;
  13153. V_7 = L_3;
  13154. int32_t L_4 = V_7;
  13155. switch (L_4)
  13156. {
  13157. case 0:
  13158. {
  13159. goto IL_003e;
  13160. }
  13161. case 1:
  13162. {
  13163. goto IL_00d3;
  13164. }
  13165. case 2:
  13166. {
  13167. goto IL_0066;
  13168. }
  13169. case 3:
  13170. {
  13171. goto IL_0102;
  13172. }
  13173. case 4:
  13174. {
  13175. goto IL_02f2;
  13176. }
  13177. }
  13178. }
  13179. {
  13180. goto IL_038a;
  13181. }
  13182. IL_003e:
  13183. {
  13184. bool L_5 = __this->___maintainBendFor1Frame;
  13185. if (L_5)
  13186. {
  13187. goto IL_004c;
  13188. }
  13189. }
  13190. {
  13191. IKSolverLimb_MaintainBend_m3FB93A6A248637C68EF504F9AE7565BD7D926C0B(__this, NULL);
  13192. }
  13193. IL_004c:
  13194. {
  13195. __this->___maintainBendFor1Frame = (bool)0;
  13196. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13197. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___animationNormal;
  13198. float L_8 = V_0;
  13199. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  13200. L_9 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_6, L_7, L_8, NULL);
  13201. return L_9;
  13202. }
  13203. IL_0066:
  13204. {
  13205. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_10 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  13206. NullCheck(L_10);
  13207. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_10)->___transform;
  13208. NullCheck(L_11);
  13209. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12;
  13210. L_12 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_11, NULL);
  13211. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13212. bool L_13;
  13213. L_13 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_12, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13214. if (!L_13)
  13215. {
  13216. goto IL_0085;
  13217. }
  13218. }
  13219. {
  13220. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13221. return L_14;
  13222. }
  13223. IL_0085:
  13224. {
  13225. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_15 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  13226. NullCheck(L_15);
  13227. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___transform;
  13228. NullCheck(L_16);
  13229. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17;
  13230. L_17 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_16, NULL);
  13231. NullCheck(L_17);
  13232. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
  13233. L_18 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_17, NULL);
  13234. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = __this->___parentDefaultRotation;
  13235. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
  13236. L_20 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_19, NULL);
  13237. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21;
  13238. L_21 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_18, L_20, NULL);
  13239. V_1 = L_21;
  13240. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
  13241. L_22 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  13242. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = V_1;
  13243. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = __this->___defaultRootRotation;
  13244. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25;
  13245. L_25 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_24, NULL);
  13246. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26;
  13247. L_26 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_23, L_25, NULL);
  13248. float L_27 = V_0;
  13249. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28;
  13250. L_28 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_22, L_26, L_27, NULL);
  13251. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13252. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  13253. L_30 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_28, L_29, NULL);
  13254. return L_30;
  13255. }
  13256. IL_00d3:
  13257. {
  13258. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___IKRotation;
  13259. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = __this->___bone3DefaultRotation;
  13260. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33;
  13261. L_33 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_32, NULL);
  13262. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34;
  13263. L_34 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_31, L_33, NULL);
  13264. V_2 = L_34;
  13265. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35;
  13266. L_35 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  13267. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36 = V_2;
  13268. float L_37 = V_0;
  13269. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
  13270. L_38 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_35, L_36, L_37, NULL);
  13271. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13272. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
  13273. L_40 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_38, L_39, NULL);
  13274. return L_40;
  13275. }
  13276. IL_0102:
  13277. {
  13278. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_41 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  13279. NullCheck(L_41);
  13280. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_42 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_41)->___transform;
  13281. NullCheck(L_42);
  13282. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_43;
  13283. L_43 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_42, NULL);
  13284. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13285. bool L_44;
  13286. L_44 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_43, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13287. if (!L_44)
  13288. {
  13289. goto IL_0121;
  13290. }
  13291. }
  13292. {
  13293. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13294. return L_45;
  13295. }
  13296. IL_0121:
  13297. {
  13298. int32_t L_46 = __this->___goal;
  13299. if (!L_46)
  13300. {
  13301. goto IL_0132;
  13302. }
  13303. }
  13304. {
  13305. int32_t L_47 = __this->___goal;
  13306. if ((!(((uint32_t)L_47) == ((uint32_t)1))))
  13307. {
  13308. goto IL_014b;
  13309. }
  13310. }
  13311. IL_0132:
  13312. {
  13313. bool L_48 = ((Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_StaticFields*)il2cpp_codegen_static_fields_for(Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var))->___logged;
  13314. if (L_48)
  13315. {
  13316. goto IL_0144;
  13317. }
  13318. }
  13319. {
  13320. IKSolver_LogWarning_m66446B7D574CE93C2316D03D5850B7C4A4B7A6FB(__this, _stringLiteral176048BD1594E9AE8C0D082376E907B73C34B332, NULL);
  13321. }
  13322. IL_0144:
  13323. {
  13324. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13325. return L_49;
  13326. }
  13327. IL_014b:
  13328. {
  13329. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  13330. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_51 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  13331. NullCheck(L_51);
  13332. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_52 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_51)->___transform;
  13333. NullCheck(L_52);
  13334. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
  13335. L_53 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_52, NULL);
  13336. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
  13337. L_54 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_50, L_53, NULL);
  13338. V_8 = L_54;
  13339. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
  13340. L_55 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_8), NULL);
  13341. V_3 = L_55;
  13342. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_56 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  13343. NullCheck(L_56);
  13344. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_57 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_56)->___transform;
  13345. NullCheck(L_57);
  13346. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_58;
  13347. L_58 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_57, NULL);
  13348. NullCheck(L_58);
  13349. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59;
  13350. L_59 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_58, NULL);
  13351. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60 = __this->___parentDefaultRotation;
  13352. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_61;
  13353. L_61 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_60, NULL);
  13354. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62;
  13355. L_62 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_59, L_61, NULL);
  13356. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_63;
  13357. L_63 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_62, NULL);
  13358. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = V_3;
  13359. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
  13360. L_65 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_63, L_64, NULL);
  13361. V_3 = L_65;
  13362. int32_t L_66 = __this->___goal;
  13363. if ((!(((uint32_t)L_66) == ((uint32_t)2))))
  13364. {
  13365. goto IL_01b8;
  13366. }
  13367. }
  13368. {
  13369. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_3;
  13370. float L_68 = L_67.___x;
  13371. (&V_3)->___x = ((-L_68));
  13372. }
  13373. IL_01b8:
  13374. {
  13375. V_9 = 1;
  13376. goto IL_0226;
  13377. }
  13378. IL_01bd:
  13379. {
  13380. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_69;
  13381. L_69 = IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B(__this, NULL);
  13382. int32_t L_70 = V_9;
  13383. NullCheck(L_69);
  13384. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_71;
  13385. L_71 = IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B(__this, NULL);
  13386. int32_t L_72 = V_9;
  13387. NullCheck(L_71);
  13388. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73 = ((L_71)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_72)))->___direction;
  13389. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74 = V_3;
  13390. float L_75;
  13391. L_75 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_73, L_74, NULL);
  13392. float L_76;
  13393. L_76 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_75, (0.0f), (1.0f), NULL);
  13394. ((L_69)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_70)))->___dot = L_76;
  13395. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_77;
  13396. L_77 = IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B(__this, NULL);
  13397. int32_t L_78 = V_9;
  13398. NullCheck(L_77);
  13399. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_79;
  13400. L_79 = IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B(__this, NULL);
  13401. int32_t L_80 = V_9;
  13402. NullCheck(L_79);
  13403. float L_81 = ((L_79)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_80)))->___dot;
  13404. float L_82;
  13405. L_82 = Interp_Float_m218DE9CAA3AAC9F0186C85992D42704BEBCDF902(L_81, 2, NULL);
  13406. ((L_77)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_78)))->___dot = L_82;
  13407. int32_t L_83 = V_9;
  13408. V_9 = ((int32_t)il2cpp_codegen_add(L_83, 1));
  13409. }
  13410. IL_0226:
  13411. {
  13412. int32_t L_84 = V_9;
  13413. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_85;
  13414. L_85 = IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B(__this, NULL);
  13415. NullCheck(L_85);
  13416. if ((((int32_t)L_84) < ((int32_t)((int32_t)(((RuntimeArray*)L_85)->max_length)))))
  13417. {
  13418. goto IL_01bd;
  13419. }
  13420. }
  13421. {
  13422. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_86;
  13423. L_86 = IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B(__this, NULL);
  13424. NullCheck(L_86);
  13425. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = ((L_86)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___axis;
  13426. V_4 = L_87;
  13427. V_10 = 1;
  13428. goto IL_027d;
  13429. }
  13430. IL_024a:
  13431. {
  13432. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = V_4;
  13433. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_89;
  13434. L_89 = IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B(__this, NULL);
  13435. int32_t L_90 = V_10;
  13436. NullCheck(L_89);
  13437. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = ((L_89)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_90)))->___axis;
  13438. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_92;
  13439. L_92 = IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B(__this, NULL);
  13440. int32_t L_93 = V_10;
  13441. NullCheck(L_92);
  13442. float L_94 = ((L_92)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_93)))->___dot;
  13443. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95;
  13444. L_95 = Vector3_Slerp_m6CA14E5B6F6217802BAA0ADD2C9D086C741BA09C(L_88, L_91, L_94, NULL);
  13445. V_4 = L_95;
  13446. int32_t L_96 = V_10;
  13447. V_10 = ((int32_t)il2cpp_codegen_add(L_96, 1));
  13448. }
  13449. IL_027d:
  13450. {
  13451. int32_t L_97 = V_10;
  13452. AxisDirectionU5BU5D_t1E89D3551E331DB2C2ADCF91171B59E4F0B7A6D1* L_98;
  13453. L_98 = IKSolverLimb_get_axisDirections_m1D6CFDDD1754AB0D2E8C74CD8CE92049E585246B(__this, NULL);
  13454. NullCheck(L_98);
  13455. if ((((int32_t)L_97) < ((int32_t)((int32_t)(((RuntimeArray*)L_98)->max_length)))))
  13456. {
  13457. goto IL_024a;
  13458. }
  13459. }
  13460. {
  13461. int32_t L_99 = __this->___goal;
  13462. if ((!(((uint32_t)L_99) == ((uint32_t)2))))
  13463. {
  13464. goto IL_02aa;
  13465. }
  13466. }
  13467. {
  13468. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100 = V_4;
  13469. float L_101 = L_100.___x;
  13470. (&V_4)->___x = ((-L_101));
  13471. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102 = V_4;
  13472. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103;
  13473. L_103 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_102, NULL);
  13474. V_4 = L_103;
  13475. }
  13476. IL_02aa:
  13477. {
  13478. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_104 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  13479. NullCheck(L_104);
  13480. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_105 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_104)->___transform;
  13481. NullCheck(L_105);
  13482. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_106;
  13483. L_106 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_105, NULL);
  13484. NullCheck(L_106);
  13485. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_107;
  13486. L_107 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_106, NULL);
  13487. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_108 = __this->___parentDefaultRotation;
  13488. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_109;
  13489. L_109 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_108, NULL);
  13490. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_110;
  13491. L_110 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_107, L_109, NULL);
  13492. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111 = V_4;
  13493. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112;
  13494. L_112 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_110, L_111, NULL);
  13495. V_5 = L_112;
  13496. float L_113 = V_0;
  13497. if ((!(((float)L_113) >= ((float)(1.0f)))))
  13498. {
  13499. goto IL_02e3;
  13500. }
  13501. }
  13502. {
  13503. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114 = V_5;
  13504. return L_114;
  13505. }
  13506. IL_02e3:
  13507. {
  13508. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13509. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116 = V_5;
  13510. float L_117 = V_0;
  13511. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118;
  13512. L_118 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_115, L_116, L_117, NULL);
  13513. return L_118;
  13514. }
  13515. IL_02f2:
  13516. {
  13517. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_119 = __this->___bendGoal;
  13518. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13519. bool L_120;
  13520. L_120 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_119, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13521. if (!L_120)
  13522. {
  13523. goto IL_0319;
  13524. }
  13525. }
  13526. {
  13527. bool L_121 = ((Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_StaticFields*)il2cpp_codegen_static_fields_for(Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var))->___logged;
  13528. if (L_121)
  13529. {
  13530. goto IL_0312;
  13531. }
  13532. }
  13533. {
  13534. IKSolver_LogWarning_m66446B7D574CE93C2316D03D5850B7C4A4B7A6FB(__this, _stringLiteral1FC8E7E09C5555C95F47ABCCD3E69CEBD22A6FB2, NULL);
  13535. }
  13536. IL_0312:
  13537. {
  13538. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_122 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13539. return L_122;
  13540. }
  13541. IL_0319:
  13542. {
  13543. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_123 = __this->___bendGoal;
  13544. NullCheck(L_123);
  13545. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124;
  13546. L_124 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_123, NULL);
  13547. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_125 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  13548. NullCheck(L_125);
  13549. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_126 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_125)->___transform;
  13550. NullCheck(L_126);
  13551. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127;
  13552. L_127 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_126, NULL);
  13553. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_128;
  13554. L_128 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_124, L_127, NULL);
  13555. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_129 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  13556. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_130 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bone1;
  13557. NullCheck(L_130);
  13558. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_131 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_130)->___transform;
  13559. NullCheck(L_131);
  13560. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132;
  13561. L_132 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_131, NULL);
  13562. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_133;
  13563. L_133 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_129, L_132, NULL);
  13564. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_134;
  13565. L_134 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_128, L_133, NULL);
  13566. V_6 = L_134;
  13567. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_135 = V_6;
  13568. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_136;
  13569. L_136 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  13570. bool L_137;
  13571. L_137 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_135, L_136, NULL);
  13572. if (!L_137)
  13573. {
  13574. goto IL_0370;
  13575. }
  13576. }
  13577. {
  13578. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_138 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13579. return L_138;
  13580. }
  13581. IL_0370:
  13582. {
  13583. float L_139 = V_0;
  13584. if ((!(((float)L_139) >= ((float)(1.0f)))))
  13585. {
  13586. goto IL_037b;
  13587. }
  13588. }
  13589. {
  13590. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_140 = V_6;
  13591. return L_140;
  13592. }
  13593. IL_037b:
  13594. {
  13595. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_141 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13596. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_142 = V_6;
  13597. float L_143 = V_0;
  13598. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_144;
  13599. L_144 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_141, L_142, L_143, NULL);
  13600. return L_144;
  13601. }
  13602. IL_038a:
  13603. {
  13604. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145 = ((IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE*)__this)->___bendNormal;
  13605. return L_145;
  13606. }
  13607. }
  13608. #ifdef __clang__
  13609. #pragma clang diagnostic pop
  13610. #endif
  13611. #ifdef __clang__
  13612. #pragma clang diagnostic push
  13613. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  13614. #pragma clang diagnostic ignored "-Wunused-variable"
  13615. #endif
  13616. #ifdef __clang__
  13617. #pragma clang diagnostic pop
  13618. #endif
  13619. #ifdef __clang__
  13620. #pragma clang diagnostic push
  13621. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  13622. #pragma clang diagnostic ignored "-Wunused-variable"
  13623. #endif
  13624. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AxisDirection__ctor_m71A0315B1402B0AE838AFE634D4C3FCF992F6D45 (AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_axis, const RuntimeMethod* method)
  13625. {
  13626. {
  13627. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  13628. L_0 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&___0_direction), NULL);
  13629. __this->___direction = L_0;
  13630. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  13631. L_1 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&___1_axis), NULL);
  13632. __this->___axis = L_1;
  13633. __this->___dot = (0.0f);
  13634. return;
  13635. }
  13636. }
  13637. IL2CPP_EXTERN_C void AxisDirection__ctor_m71A0315B1402B0AE838AFE634D4C3FCF992F6D45_AdjustorThunk (RuntimeObject* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_axis, const RuntimeMethod* method)
  13638. {
  13639. AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4* _thisAdjusted;
  13640. int32_t _offset = 1;
  13641. _thisAdjusted = reinterpret_cast<AxisDirection_t83830957BD5CA4EC61F72C8BB155617A1E14B2F4*>(__this + _offset);
  13642. AxisDirection__ctor_m71A0315B1402B0AE838AFE634D4C3FCF992F6D45(_thisAdjusted, ___0_direction, ___1_axis, method);
  13643. }
  13644. #ifdef __clang__
  13645. #pragma clang diagnostic pop
  13646. #endif
  13647. #ifdef __clang__
  13648. #pragma clang diagnostic push
  13649. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  13650. #pragma clang diagnostic ignored "-Wunused-variable"
  13651. #endif
  13652. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SetLookAtWeight_m60F1BA79A85CC5C9D94019EAE822FE58C850A948 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, float ___0_weight, const RuntimeMethod* method)
  13653. {
  13654. {
  13655. float L_0 = ___0_weight;
  13656. float L_1;
  13657. L_1 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_0, (0.0f), (1.0f), NULL);
  13658. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_1;
  13659. return;
  13660. }
  13661. }
  13662. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SetLookAtWeight_mBF7B41D6E28487EE47EC62C7F1F8813772965454 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, float ___0_weight, float ___1_bodyWeight, const RuntimeMethod* method)
  13663. {
  13664. {
  13665. float L_0 = ___0_weight;
  13666. float L_1;
  13667. L_1 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_0, (0.0f), (1.0f), NULL);
  13668. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_1;
  13669. float L_2 = ___1_bodyWeight;
  13670. float L_3;
  13671. L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_2, (0.0f), (1.0f), NULL);
  13672. __this->___bodyWeight = L_3;
  13673. return;
  13674. }
  13675. }
  13676. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SetLookAtWeight_m0821B21C6A9EAFC802D2914FB1C18E00E5838D99 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, float ___0_weight, float ___1_bodyWeight, float ___2_headWeight, const RuntimeMethod* method)
  13677. {
  13678. {
  13679. float L_0 = ___0_weight;
  13680. float L_1;
  13681. L_1 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_0, (0.0f), (1.0f), NULL);
  13682. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_1;
  13683. float L_2 = ___1_bodyWeight;
  13684. float L_3;
  13685. L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_2, (0.0f), (1.0f), NULL);
  13686. __this->___bodyWeight = L_3;
  13687. float L_4 = ___2_headWeight;
  13688. float L_5;
  13689. L_5 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_4, (0.0f), (1.0f), NULL);
  13690. __this->___headWeight = L_5;
  13691. return;
  13692. }
  13693. }
  13694. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SetLookAtWeight_m791123187454B4ABE14AE872BD0F8C898482AEEA (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, float ___0_weight, float ___1_bodyWeight, float ___2_headWeight, float ___3_eyesWeight, const RuntimeMethod* method)
  13695. {
  13696. {
  13697. float L_0 = ___0_weight;
  13698. float L_1;
  13699. L_1 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_0, (0.0f), (1.0f), NULL);
  13700. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_1;
  13701. float L_2 = ___1_bodyWeight;
  13702. float L_3;
  13703. L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_2, (0.0f), (1.0f), NULL);
  13704. __this->___bodyWeight = L_3;
  13705. float L_4 = ___2_headWeight;
  13706. float L_5;
  13707. L_5 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_4, (0.0f), (1.0f), NULL);
  13708. __this->___headWeight = L_5;
  13709. float L_6 = ___3_eyesWeight;
  13710. float L_7;
  13711. L_7 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_6, (0.0f), (1.0f), NULL);
  13712. __this->___eyesWeight = L_7;
  13713. return;
  13714. }
  13715. }
  13716. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SetLookAtWeight_mAD80C3E87A79AE195EF40A9889E9CF637090D6FD (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, float ___0_weight, float ___1_bodyWeight, float ___2_headWeight, float ___3_eyesWeight, float ___4_clampWeight, const RuntimeMethod* method)
  13717. {
  13718. {
  13719. float L_0 = ___0_weight;
  13720. float L_1;
  13721. L_1 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_0, (0.0f), (1.0f), NULL);
  13722. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_1;
  13723. float L_2 = ___1_bodyWeight;
  13724. float L_3;
  13725. L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_2, (0.0f), (1.0f), NULL);
  13726. __this->___bodyWeight = L_3;
  13727. float L_4 = ___2_headWeight;
  13728. float L_5;
  13729. L_5 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_4, (0.0f), (1.0f), NULL);
  13730. __this->___headWeight = L_5;
  13731. float L_6 = ___3_eyesWeight;
  13732. float L_7;
  13733. L_7 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_6, (0.0f), (1.0f), NULL);
  13734. __this->___eyesWeight = L_7;
  13735. float L_8 = ___4_clampWeight;
  13736. float L_9;
  13737. L_9 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_8, (0.0f), (1.0f), NULL);
  13738. __this->___clampWeight = L_9;
  13739. float L_10 = __this->___clampWeight;
  13740. __this->___clampWeightHead = L_10;
  13741. float L_11 = __this->___clampWeight;
  13742. __this->___clampWeightEyes = L_11;
  13743. return;
  13744. }
  13745. }
  13746. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SetLookAtWeight_mE7A348E5D349458630056F57679CF3117975094E (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, float ___0_weight, float ___1_bodyWeight, float ___2_headWeight, float ___3_eyesWeight, float ___4_clampWeight, float ___5_clampWeightHead, float ___6_clampWeightEyes, const RuntimeMethod* method)
  13747. {
  13748. {
  13749. float L_0 = ___0_weight;
  13750. float L_1;
  13751. L_1 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_0, (0.0f), (1.0f), NULL);
  13752. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_1;
  13753. float L_2 = ___1_bodyWeight;
  13754. float L_3;
  13755. L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_2, (0.0f), (1.0f), NULL);
  13756. __this->___bodyWeight = L_3;
  13757. float L_4 = ___2_headWeight;
  13758. float L_5;
  13759. L_5 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_4, (0.0f), (1.0f), NULL);
  13760. __this->___headWeight = L_5;
  13761. float L_6 = ___3_eyesWeight;
  13762. float L_7;
  13763. L_7 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_6, (0.0f), (1.0f), NULL);
  13764. __this->___eyesWeight = L_7;
  13765. float L_8 = ___4_clampWeight;
  13766. float L_9;
  13767. L_9 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_8, (0.0f), (1.0f), NULL);
  13768. __this->___clampWeight = L_9;
  13769. float L_10 = ___5_clampWeightHead;
  13770. float L_11;
  13771. L_11 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_10, (0.0f), (1.0f), NULL);
  13772. __this->___clampWeightHead = L_11;
  13773. float L_12 = ___6_clampWeightEyes;
  13774. float L_13;
  13775. L_13 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_12, (0.0f), (1.0f), NULL);
  13776. __this->___clampWeightEyes = L_13;
  13777. return;
  13778. }
  13779. }
  13780. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_StoreDefaultLocalState_mB47028E3B6E6F6F9C685A9DE985345A0695ACEE9 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  13781. {
  13782. static bool s_Il2CppMethodInitialized;
  13783. if (!s_Il2CppMethodInitialized)
  13784. {
  13785. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13786. s_Il2CppMethodInitialized = true;
  13787. }
  13788. int32_t V_0 = 0;
  13789. int32_t V_1 = 0;
  13790. {
  13791. V_0 = 0;
  13792. goto IL_0015;
  13793. }
  13794. IL_0004:
  13795. {
  13796. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_0 = __this->___spine;
  13797. int32_t L_1 = V_0;
  13798. NullCheck(L_0);
  13799. int32_t L_2 = L_1;
  13800. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  13801. NullCheck(L_3);
  13802. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_3, NULL);
  13803. int32_t L_4 = V_0;
  13804. V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
  13805. }
  13806. IL_0015:
  13807. {
  13808. int32_t L_5 = V_0;
  13809. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_6 = __this->___spine;
  13810. NullCheck(L_6);
  13811. if ((((int32_t)L_5) < ((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
  13812. {
  13813. goto IL_0004;
  13814. }
  13815. }
  13816. {
  13817. V_1 = 0;
  13818. goto IL_0035;
  13819. }
  13820. IL_0024:
  13821. {
  13822. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_7 = __this->___eyes;
  13823. int32_t L_8 = V_1;
  13824. NullCheck(L_7);
  13825. int32_t L_9 = L_8;
  13826. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  13827. NullCheck(L_10);
  13828. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_10, NULL);
  13829. int32_t L_11 = V_1;
  13830. V_1 = ((int32_t)il2cpp_codegen_add(L_11, 1));
  13831. }
  13832. IL_0035:
  13833. {
  13834. int32_t L_12 = V_1;
  13835. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_13 = __this->___eyes;
  13836. NullCheck(L_13);
  13837. if ((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))
  13838. {
  13839. goto IL_0024;
  13840. }
  13841. }
  13842. {
  13843. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_14 = __this->___head;
  13844. if (!L_14)
  13845. {
  13846. goto IL_0066;
  13847. }
  13848. }
  13849. {
  13850. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_15 = __this->___head;
  13851. NullCheck(L_15);
  13852. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___transform;
  13853. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13854. bool L_17;
  13855. L_17 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_16, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13856. if (!L_17)
  13857. {
  13858. goto IL_0066;
  13859. }
  13860. }
  13861. {
  13862. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_18 = __this->___head;
  13863. NullCheck(L_18);
  13864. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_18, NULL);
  13865. }
  13866. IL_0066:
  13867. {
  13868. return;
  13869. }
  13870. }
  13871. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SetDirty_mFA43E8EB2FE788B9061382F7D90BFA6F835A95BD (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  13872. {
  13873. {
  13874. __this->___isDirty = (bool)1;
  13875. return;
  13876. }
  13877. }
  13878. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_FixTransforms_m97C77FC58E87C34BB1396972C154D4875A3B6667 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  13879. {
  13880. static bool s_Il2CppMethodInitialized;
  13881. if (!s_Il2CppMethodInitialized)
  13882. {
  13883. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13884. s_Il2CppMethodInitialized = true;
  13885. }
  13886. int32_t V_0 = 0;
  13887. int32_t V_1 = 0;
  13888. {
  13889. bool L_0;
  13890. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  13891. if (L_0)
  13892. {
  13893. goto IL_0009;
  13894. }
  13895. }
  13896. {
  13897. return;
  13898. }
  13899. IL_0009:
  13900. {
  13901. float L_1 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  13902. if ((!(((float)L_1) <= ((float)(0.0f)))))
  13903. {
  13904. goto IL_001f;
  13905. }
  13906. }
  13907. {
  13908. bool L_2 = __this->___isDirty;
  13909. if (L_2)
  13910. {
  13911. goto IL_001f;
  13912. }
  13913. }
  13914. {
  13915. return;
  13916. }
  13917. IL_001f:
  13918. {
  13919. V_0 = 0;
  13920. goto IL_0034;
  13921. }
  13922. IL_0023:
  13923. {
  13924. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_3 = __this->___spine;
  13925. int32_t L_4 = V_0;
  13926. NullCheck(L_3);
  13927. int32_t L_5 = L_4;
  13928. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  13929. NullCheck(L_6);
  13930. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_6, NULL);
  13931. int32_t L_7 = V_0;
  13932. V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  13933. }
  13934. IL_0034:
  13935. {
  13936. int32_t L_8 = V_0;
  13937. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_9 = __this->___spine;
  13938. NullCheck(L_9);
  13939. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  13940. {
  13941. goto IL_0023;
  13942. }
  13943. }
  13944. {
  13945. V_1 = 0;
  13946. goto IL_0054;
  13947. }
  13948. IL_0043:
  13949. {
  13950. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_10 = __this->___eyes;
  13951. int32_t L_11 = V_1;
  13952. NullCheck(L_10);
  13953. int32_t L_12 = L_11;
  13954. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  13955. NullCheck(L_13);
  13956. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_13, NULL);
  13957. int32_t L_14 = V_1;
  13958. V_1 = ((int32_t)il2cpp_codegen_add(L_14, 1));
  13959. }
  13960. IL_0054:
  13961. {
  13962. int32_t L_15 = V_1;
  13963. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_16 = __this->___eyes;
  13964. NullCheck(L_16);
  13965. if ((((int32_t)L_15) < ((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))))
  13966. {
  13967. goto IL_0043;
  13968. }
  13969. }
  13970. {
  13971. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_17 = __this->___head;
  13972. if (!L_17)
  13973. {
  13974. goto IL_0085;
  13975. }
  13976. }
  13977. {
  13978. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_18 = __this->___head;
  13979. NullCheck(L_18);
  13980. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_18)->___transform;
  13981. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13982. bool L_20;
  13983. L_20 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_19, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13984. if (!L_20)
  13985. {
  13986. goto IL_0085;
  13987. }
  13988. }
  13989. {
  13990. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_21 = __this->___head;
  13991. NullCheck(L_21);
  13992. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_21, NULL);
  13993. }
  13994. IL_0085:
  13995. {
  13996. __this->___isDirty = (bool)0;
  13997. return;
  13998. }
  13999. }
  14000. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_IsValid_m7038AB7740597DF32446A93D8A31C19CE6AC30DC (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, String_t** ___0_message, const RuntimeMethod* method)
  14001. {
  14002. static bool s_Il2CppMethodInitialized;
  14003. if (!s_Il2CppMethodInitialized)
  14004. {
  14005. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14006. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23F908C80A7E55240B5A280AFCFF136A94F1FA07);
  14007. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2E968396BBBC971E896E669FE9C1583917058F65);
  14008. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral61991A00023F54B2FF4772518E7DF9F6B5083415);
  14009. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral958ED085E6F8E8DC150DE721E49745D99E5DC525);
  14010. s_Il2CppMethodInitialized = true;
  14011. }
  14012. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_0 = NULL;
  14013. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_1 = NULL;
  14014. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* V_2 = NULL;
  14015. {
  14016. bool L_0;
  14017. L_0 = IKSolverLookAt_get_spineIsValid_mAC99B4675FC152679E1572D4AEA5DA2E0AEE924D(__this, NULL);
  14018. if (L_0)
  14019. {
  14020. goto IL_0011;
  14021. }
  14022. }
  14023. {
  14024. String_t** L_1 = ___0_message;
  14025. *((RuntimeObject**)L_1) = (RuntimeObject*)_stringLiteral2E968396BBBC971E896E669FE9C1583917058F65;
  14026. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_1, (void*)(RuntimeObject*)_stringLiteral2E968396BBBC971E896E669FE9C1583917058F65);
  14027. return (bool)0;
  14028. }
  14029. IL_0011:
  14030. {
  14031. bool L_2;
  14032. L_2 = IKSolverLookAt_get_headIsValid_m4A294AD6FA4B6AFE655CAE6E981C00A70456B1C6(__this, NULL);
  14033. if (L_2)
  14034. {
  14035. goto IL_0022;
  14036. }
  14037. }
  14038. {
  14039. String_t** L_3 = ___0_message;
  14040. *((RuntimeObject**)L_3) = (RuntimeObject*)_stringLiteral958ED085E6F8E8DC150DE721E49745D99E5DC525;
  14041. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_3, (void*)(RuntimeObject*)_stringLiteral958ED085E6F8E8DC150DE721E49745D99E5DC525);
  14042. return (bool)0;
  14043. }
  14044. IL_0022:
  14045. {
  14046. bool L_4;
  14047. L_4 = IKSolverLookAt_get_eyesIsValid_m1245D18449981503AC460C83DA78FF203EEFD721(__this, NULL);
  14048. if (L_4)
  14049. {
  14050. goto IL_0033;
  14051. }
  14052. }
  14053. {
  14054. String_t** L_5 = ___0_message;
  14055. *((RuntimeObject**)L_5) = (RuntimeObject*)_stringLiteral23F908C80A7E55240B5A280AFCFF136A94F1FA07;
  14056. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_5, (void*)(RuntimeObject*)_stringLiteral23F908C80A7E55240B5A280AFCFF136A94F1FA07);
  14057. return (bool)0;
  14058. }
  14059. IL_0033:
  14060. {
  14061. bool L_6;
  14062. L_6 = IKSolverLookAt_get_spineIsEmpty_m5964197CEF14482717743ABF057B3F98579B951E(__this, NULL);
  14063. if (!L_6)
  14064. {
  14065. goto IL_0054;
  14066. }
  14067. }
  14068. {
  14069. bool L_7;
  14070. L_7 = IKSolverLookAt_get_headIsEmpty_m58229F7D551F2604FD44ED2DA7CB20F2DCAC3292(__this, NULL);
  14071. if (!L_7)
  14072. {
  14073. goto IL_0054;
  14074. }
  14075. }
  14076. {
  14077. bool L_8;
  14078. L_8 = IKSolverLookAt_get_eyesIsEmpty_m908DEDD44E1BF38A6DFF8ADE0169EEAB3EF92ED7(__this, NULL);
  14079. if (!L_8)
  14080. {
  14081. goto IL_0054;
  14082. }
  14083. }
  14084. {
  14085. String_t** L_9 = ___0_message;
  14086. *((RuntimeObject**)L_9) = (RuntimeObject*)_stringLiteral23F908C80A7E55240B5A280AFCFF136A94F1FA07;
  14087. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_9, (void*)(RuntimeObject*)_stringLiteral23F908C80A7E55240B5A280AFCFF136A94F1FA07);
  14088. return (bool)0;
  14089. }
  14090. IL_0054:
  14091. {
  14092. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_10 = __this->___spine;
  14093. V_2 = (BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239*)L_10;
  14094. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_11 = V_2;
  14095. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12;
  14096. L_12 = IKSolver_ContainsDuplicateBone_mC5AD6C60A94BA5C0CB7284835BB6586A707B731F(L_11, NULL);
  14097. V_0 = L_12;
  14098. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = V_0;
  14099. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14100. bool L_14;
  14101. L_14 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_13, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14102. if (!L_14)
  14103. {
  14104. goto IL_007f;
  14105. }
  14106. }
  14107. {
  14108. String_t** L_15 = ___0_message;
  14109. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = V_0;
  14110. NullCheck(L_16);
  14111. String_t* L_17;
  14112. L_17 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_16, NULL);
  14113. String_t* L_18;
  14114. L_18 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_17, _stringLiteral61991A00023F54B2FF4772518E7DF9F6B5083415, NULL);
  14115. *((RuntimeObject**)L_15) = (RuntimeObject*)L_18;
  14116. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_15, (void*)(RuntimeObject*)L_18);
  14117. return (bool)0;
  14118. }
  14119. IL_007f:
  14120. {
  14121. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_19 = __this->___eyes;
  14122. V_2 = (BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239*)L_19;
  14123. BoneU5BU5D_t29F5ADC4C73C86A9D1359D6A384C3390A8975239* L_20 = V_2;
  14124. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21;
  14125. L_21 = IKSolver_ContainsDuplicateBone_mC5AD6C60A94BA5C0CB7284835BB6586A707B731F(L_20, NULL);
  14126. V_1 = L_21;
  14127. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = V_1;
  14128. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14129. bool L_23;
  14130. L_23 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_22, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14131. if (!L_23)
  14132. {
  14133. goto IL_00aa;
  14134. }
  14135. }
  14136. {
  14137. String_t** L_24 = ___0_message;
  14138. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25 = V_1;
  14139. NullCheck(L_25);
  14140. String_t* L_26;
  14141. L_26 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_25, NULL);
  14142. String_t* L_27;
  14143. L_27 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_26, _stringLiteral61991A00023F54B2FF4772518E7DF9F6B5083415, NULL);
  14144. *((RuntimeObject**)L_24) = (RuntimeObject*)L_27;
  14145. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_24, (void*)(RuntimeObject*)L_27);
  14146. return (bool)0;
  14147. }
  14148. IL_00aa:
  14149. {
  14150. return (bool)1;
  14151. }
  14152. }
  14153. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* IKSolverLookAt_GetPoints_m39C96903D7AFF047C77C1477E7BF1CCAC08A87ED (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  14154. {
  14155. static bool s_Il2CppMethodInitialized;
  14156. if (!s_Il2CppMethodInitialized)
  14157. {
  14158. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14159. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var);
  14160. s_Il2CppMethodInitialized = true;
  14161. }
  14162. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* V_0 = NULL;
  14163. int32_t V_1 = 0;
  14164. int32_t V_2 = 0;
  14165. int32_t V_3 = 0;
  14166. int32_t G_B2_0 = 0;
  14167. int32_t G_B1_0 = 0;
  14168. int32_t G_B3_0 = 0;
  14169. int32_t G_B3_1 = 0;
  14170. {
  14171. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_0 = __this->___spine;
  14172. NullCheck(L_0);
  14173. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_1 = __this->___eyes;
  14174. NullCheck(L_1);
  14175. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_2 = __this->___head;
  14176. NullCheck(L_2);
  14177. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___transform;
  14178. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14179. bool L_4;
  14180. L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14181. if (L_4)
  14182. {
  14183. G_B2_0 = ((int32_t)il2cpp_codegen_add(((int32_t)(((RuntimeArray*)L_0)->max_length)), ((int32_t)(((RuntimeArray*)L_1)->max_length))));
  14184. goto IL_0027;
  14185. }
  14186. G_B1_0 = ((int32_t)il2cpp_codegen_add(((int32_t)(((RuntimeArray*)L_0)->max_length)), ((int32_t)(((RuntimeArray*)L_1)->max_length))));
  14187. }
  14188. {
  14189. G_B3_0 = 0;
  14190. G_B3_1 = G_B1_0;
  14191. goto IL_0028;
  14192. }
  14193. IL_0027:
  14194. {
  14195. G_B3_0 = 1;
  14196. G_B3_1 = G_B2_0;
  14197. }
  14198. IL_0028:
  14199. {
  14200. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_5 = (PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)SZArrayNew(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add(G_B3_1, G_B3_0)));
  14201. V_0 = L_5;
  14202. V_2 = 0;
  14203. goto IL_0042;
  14204. }
  14205. IL_0033:
  14206. {
  14207. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_6 = V_0;
  14208. int32_t L_7 = V_2;
  14209. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_8 = __this->___spine;
  14210. int32_t L_9 = V_2;
  14211. NullCheck(L_8);
  14212. int32_t L_10 = L_9;
  14213. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  14214. NullCheck(L_6);
  14215. ArrayElementTypeCheck (L_6, L_11);
  14216. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_11);
  14217. int32_t L_12 = V_2;
  14218. V_2 = ((int32_t)il2cpp_codegen_add(L_12, 1));
  14219. }
  14220. IL_0042:
  14221. {
  14222. int32_t L_13 = V_2;
  14223. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_14 = __this->___spine;
  14224. NullCheck(L_14);
  14225. if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))
  14226. {
  14227. goto IL_0033;
  14228. }
  14229. }
  14230. {
  14231. V_1 = 0;
  14232. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_15 = __this->___spine;
  14233. NullCheck(L_15);
  14234. V_3 = ((int32_t)(((RuntimeArray*)L_15)->max_length));
  14235. goto IL_006d;
  14236. }
  14237. IL_005a:
  14238. {
  14239. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_16 = V_0;
  14240. int32_t L_17 = V_3;
  14241. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_18 = __this->___eyes;
  14242. int32_t L_19 = V_1;
  14243. NullCheck(L_18);
  14244. int32_t L_20 = L_19;
  14245. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  14246. NullCheck(L_16);
  14247. ArrayElementTypeCheck (L_16, L_21);
  14248. (L_16)->SetAt(static_cast<il2cpp_array_size_t>(L_17), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_21);
  14249. int32_t L_22 = V_1;
  14250. V_1 = ((int32_t)il2cpp_codegen_add(L_22, 1));
  14251. int32_t L_23 = V_3;
  14252. V_3 = ((int32_t)il2cpp_codegen_add(L_23, 1));
  14253. }
  14254. IL_006d:
  14255. {
  14256. int32_t L_24 = V_3;
  14257. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_25 = __this->___spine;
  14258. NullCheck(L_25);
  14259. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_26 = __this->___eyes;
  14260. NullCheck(L_26);
  14261. if ((((int32_t)L_24) < ((int32_t)((int32_t)il2cpp_codegen_add(((int32_t)(((RuntimeArray*)L_25)->max_length)), ((int32_t)(((RuntimeArray*)L_26)->max_length)))))))
  14262. {
  14263. goto IL_005a;
  14264. }
  14265. }
  14266. {
  14267. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_27 = __this->___head;
  14268. NullCheck(L_27);
  14269. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_27)->___transform;
  14270. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14271. bool L_29;
  14272. L_29 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_28, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14273. if (!L_29)
  14274. {
  14275. goto IL_00a1;
  14276. }
  14277. }
  14278. {
  14279. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_30 = V_0;
  14280. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_31 = V_0;
  14281. NullCheck(L_31);
  14282. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_32 = __this->___head;
  14283. NullCheck(L_30);
  14284. ArrayElementTypeCheck (L_30, L_32);
  14285. (L_30)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_31)->max_length)), 1))), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_32);
  14286. }
  14287. IL_00a1:
  14288. {
  14289. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_33 = V_0;
  14290. return L_33;
  14291. }
  14292. }
  14293. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* IKSolverLookAt_GetPoint_m027403E8A7DB5D83A3A25F0628B420D248494478 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  14294. {
  14295. static bool s_Il2CppMethodInitialized;
  14296. if (!s_Il2CppMethodInitialized)
  14297. {
  14298. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14299. s_Il2CppMethodInitialized = true;
  14300. }
  14301. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* V_0 = NULL;
  14302. int32_t V_1 = 0;
  14303. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* V_2 = NULL;
  14304. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* V_3 = NULL;
  14305. {
  14306. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_0 = __this->___spine;
  14307. V_0 = L_0;
  14308. V_1 = 0;
  14309. goto IL_0023;
  14310. }
  14311. IL_000b:
  14312. {
  14313. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_1 = V_0;
  14314. int32_t L_2 = V_1;
  14315. NullCheck(L_1);
  14316. int32_t L_3 = L_2;
  14317. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  14318. V_2 = L_4;
  14319. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_5 = V_2;
  14320. NullCheck(L_5);
  14321. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_5)->___transform;
  14322. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ___0_transform;
  14323. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14324. bool L_8;
  14325. L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_6, L_7, NULL);
  14326. if (!L_8)
  14327. {
  14328. goto IL_001f;
  14329. }
  14330. }
  14331. {
  14332. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_9 = V_2;
  14333. return L_9;
  14334. }
  14335. IL_001f:
  14336. {
  14337. int32_t L_10 = V_1;
  14338. V_1 = ((int32_t)il2cpp_codegen_add(L_10, 1));
  14339. }
  14340. IL_0023:
  14341. {
  14342. int32_t L_11 = V_1;
  14343. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_12 = V_0;
  14344. NullCheck(L_12);
  14345. if ((((int32_t)L_11) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))
  14346. {
  14347. goto IL_000b;
  14348. }
  14349. }
  14350. {
  14351. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_13 = __this->___eyes;
  14352. V_0 = L_13;
  14353. V_1 = 0;
  14354. goto IL_004c;
  14355. }
  14356. IL_0034:
  14357. {
  14358. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_14 = V_0;
  14359. int32_t L_15 = V_1;
  14360. NullCheck(L_14);
  14361. int32_t L_16 = L_15;
  14362. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  14363. V_3 = L_17;
  14364. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_18 = V_3;
  14365. NullCheck(L_18);
  14366. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_18)->___transform;
  14367. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_20 = ___0_transform;
  14368. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14369. bool L_21;
  14370. L_21 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_19, L_20, NULL);
  14371. if (!L_21)
  14372. {
  14373. goto IL_0048;
  14374. }
  14375. }
  14376. {
  14377. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_22 = V_3;
  14378. return L_22;
  14379. }
  14380. IL_0048:
  14381. {
  14382. int32_t L_23 = V_1;
  14383. V_1 = ((int32_t)il2cpp_codegen_add(L_23, 1));
  14384. }
  14385. IL_004c:
  14386. {
  14387. int32_t L_24 = V_1;
  14388. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_25 = V_0;
  14389. NullCheck(L_25);
  14390. if ((((int32_t)L_24) < ((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length)))))
  14391. {
  14392. goto IL_0034;
  14393. }
  14394. }
  14395. {
  14396. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_26 = __this->___head;
  14397. NullCheck(L_26);
  14398. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_26)->___transform;
  14399. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28 = ___0_transform;
  14400. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14401. bool L_29;
  14402. L_29 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_27, L_28, NULL);
  14403. if (!L_29)
  14404. {
  14405. goto IL_006c;
  14406. }
  14407. }
  14408. {
  14409. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_30 = __this->___head;
  14410. return L_30;
  14411. }
  14412. IL_006c:
  14413. {
  14414. return (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)NULL;
  14415. }
  14416. }
  14417. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_SetChain_m85C0AD1B110B053A577FA1CA29A2556A2F3D304C (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_spine, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_head, TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___2_eyes, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___3_root, const RuntimeMethod* method)
  14418. {
  14419. static bool s_Il2CppMethodInitialized;
  14420. if (!s_Il2CppMethodInitialized)
  14421. {
  14422. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1_il2cpp_TypeInfo_var);
  14423. s_Il2CppMethodInitialized = true;
  14424. }
  14425. {
  14426. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_0 = ___0_spine;
  14427. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** L_1 = (LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128**)(&__this->___spine);
  14428. IKSolverLookAt_SetBones_mA78E9CC27149380A4FD7BB9BE07BE9E25877F323(__this, L_0, L_1, NULL);
  14429. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ___1_head;
  14430. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_3 = (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1*)il2cpp_codegen_object_new(LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1_il2cpp_TypeInfo_var);
  14431. LookAtBone__ctor_m21AA81862C38AD99FB90A9595C89D46BAF58D022(L_3, L_2, NULL);
  14432. __this->___head = L_3;
  14433. Il2CppCodeGenWriteBarrier((void**)(&__this->___head), (void*)L_3);
  14434. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_4 = ___2_eyes;
  14435. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** L_5 = (LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128**)(&__this->___eyes);
  14436. IKSolverLookAt_SetBones_mA78E9CC27149380A4FD7BB9BE07BE9E25877F323(__this, L_4, L_5, NULL);
  14437. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ___3_root;
  14438. IKSolver_Initiate_m3788998F391336578711BBECB4121F595DA4AA0B(__this, L_6, NULL);
  14439. bool L_7;
  14440. L_7 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  14441. return L_7;
  14442. }
  14443. }
  14444. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_OnInitiate_mDD97D5A7D2D5DAB67AA2943CD9B11F70F35863B1 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  14445. {
  14446. static bool s_Il2CppMethodInitialized;
  14447. if (!s_Il2CppMethodInitialized)
  14448. {
  14449. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  14450. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14451. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
  14452. s_Il2CppMethodInitialized = true;
  14453. }
  14454. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* V_0 = NULL;
  14455. int32_t V_1 = 0;
  14456. {
  14457. bool L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___firstInitiation;
  14458. if (L_0)
  14459. {
  14460. goto IL_0012;
  14461. }
  14462. }
  14463. {
  14464. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  14465. bool L_1;
  14466. L_1 = Application_get_isPlaying_m25B0ABDFEF54F5370CD3F263A813540843D00F34(NULL);
  14467. if (L_1)
  14468. {
  14469. goto IL_00f0;
  14470. }
  14471. }
  14472. IL_0012:
  14473. {
  14474. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_2 = __this->___spine;
  14475. NullCheck(L_2);
  14476. if (!(((RuntimeArray*)L_2)->max_length))
  14477. {
  14478. goto IL_005b;
  14479. }
  14480. }
  14481. {
  14482. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_3 = __this->___spine;
  14483. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_4 = __this->___spine;
  14484. NullCheck(L_4);
  14485. NullCheck(L_3);
  14486. int32_t L_5 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_4)->max_length)), 1));
  14487. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  14488. NullCheck(L_6);
  14489. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6)->___transform;
  14490. NullCheck(L_7);
  14491. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  14492. L_8 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_7, NULL);
  14493. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  14494. NullCheck(L_9);
  14495. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  14496. L_10 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_9, NULL);
  14497. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  14498. L_11 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_10, (3.0f), NULL);
  14499. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  14500. L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_8, L_11, NULL);
  14501. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_12;
  14502. goto IL_00f0;
  14503. }
  14504. IL_005b:
  14505. {
  14506. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_13 = __this->___head;
  14507. NullCheck(L_13);
  14508. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_13)->___transform;
  14509. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14510. bool L_15;
  14511. L_15 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_14, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14512. if (!L_15)
  14513. {
  14514. goto IL_00a0;
  14515. }
  14516. }
  14517. {
  14518. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_16 = __this->___head;
  14519. NullCheck(L_16);
  14520. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_16)->___transform;
  14521. NullCheck(L_17);
  14522. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  14523. L_18 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_17, NULL);
  14524. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  14525. NullCheck(L_19);
  14526. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  14527. L_20 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_19, NULL);
  14528. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  14529. L_21 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_20, (3.0f), NULL);
  14530. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  14531. L_22 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_18, L_21, NULL);
  14532. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_22;
  14533. goto IL_00f0;
  14534. }
  14535. IL_00a0:
  14536. {
  14537. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_23 = __this->___eyes;
  14538. NullCheck(L_23);
  14539. if (!(((RuntimeArray*)L_23)->max_length))
  14540. {
  14541. goto IL_00f0;
  14542. }
  14543. }
  14544. {
  14545. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_24 = __this->___eyes;
  14546. NullCheck(L_24);
  14547. int32_t L_25 = 0;
  14548. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_26 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  14549. NullCheck(L_26);
  14550. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_26)->___transform;
  14551. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14552. bool L_28;
  14553. L_28 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_27, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14554. if (!L_28)
  14555. {
  14556. goto IL_00f0;
  14557. }
  14558. }
  14559. {
  14560. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_29 = __this->___eyes;
  14561. NullCheck(L_29);
  14562. int32_t L_30 = 0;
  14563. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_31 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  14564. NullCheck(L_31);
  14565. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_31)->___transform;
  14566. NullCheck(L_32);
  14567. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
  14568. L_33 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_32, NULL);
  14569. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_34 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  14570. NullCheck(L_34);
  14571. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  14572. L_35 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_34, NULL);
  14573. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  14574. L_36 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_35, (3.0f), NULL);
  14575. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  14576. L_37 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_33, L_36, NULL);
  14577. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_37;
  14578. }
  14579. IL_00f0:
  14580. {
  14581. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_38 = __this->___spine;
  14582. V_0 = L_38;
  14583. V_1 = 0;
  14584. goto IL_010d;
  14585. }
  14586. IL_00fb:
  14587. {
  14588. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_39 = V_0;
  14589. int32_t L_40 = V_1;
  14590. NullCheck(L_39);
  14591. int32_t L_41 = L_40;
  14592. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
  14593. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_43 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  14594. NullCheck(L_42);
  14595. LookAtBone_Initiate_m65D1326C546047D4D9BF584D121831C7CA7ADC7A(L_42, L_43, NULL);
  14596. int32_t L_44 = V_1;
  14597. V_1 = ((int32_t)il2cpp_codegen_add(L_44, 1));
  14598. }
  14599. IL_010d:
  14600. {
  14601. int32_t L_45 = V_1;
  14602. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_46 = V_0;
  14603. NullCheck(L_46);
  14604. if ((((int32_t)L_45) < ((int32_t)((int32_t)(((RuntimeArray*)L_46)->max_length)))))
  14605. {
  14606. goto IL_00fb;
  14607. }
  14608. }
  14609. {
  14610. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_47 = __this->___head;
  14611. if (!L_47)
  14612. {
  14613. goto IL_012c;
  14614. }
  14615. }
  14616. {
  14617. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_48 = __this->___head;
  14618. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_49 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  14619. NullCheck(L_48);
  14620. LookAtBone_Initiate_m65D1326C546047D4D9BF584D121831C7CA7ADC7A(L_48, L_49, NULL);
  14621. }
  14622. IL_012c:
  14623. {
  14624. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_50 = __this->___eyes;
  14625. V_0 = L_50;
  14626. V_1 = 0;
  14627. goto IL_0149;
  14628. }
  14629. IL_0137:
  14630. {
  14631. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_51 = V_0;
  14632. int32_t L_52 = V_1;
  14633. NullCheck(L_51);
  14634. int32_t L_53 = L_52;
  14635. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_54 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
  14636. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_55 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  14637. NullCheck(L_54);
  14638. LookAtBone_Initiate_m65D1326C546047D4D9BF584D121831C7CA7ADC7A(L_54, L_55, NULL);
  14639. int32_t L_56 = V_1;
  14640. V_1 = ((int32_t)il2cpp_codegen_add(L_56, 1));
  14641. }
  14642. IL_0149:
  14643. {
  14644. int32_t L_57 = V_1;
  14645. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_58 = V_0;
  14646. NullCheck(L_58);
  14647. if ((((int32_t)L_57) < ((int32_t)((int32_t)(((RuntimeArray*)L_58)->max_length)))))
  14648. {
  14649. goto IL_0137;
  14650. }
  14651. }
  14652. {
  14653. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_59 = __this->___spineForwards;
  14654. if (!L_59)
  14655. {
  14656. goto IL_0169;
  14657. }
  14658. }
  14659. {
  14660. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_60 = __this->___spineForwards;
  14661. NullCheck(L_60);
  14662. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_61 = __this->___spine;
  14663. NullCheck(L_61);
  14664. if ((((int32_t)((int32_t)(((RuntimeArray*)L_60)->max_length))) == ((int32_t)((int32_t)(((RuntimeArray*)L_61)->max_length)))))
  14665. {
  14666. goto IL_017c;
  14667. }
  14668. }
  14669. IL_0169:
  14670. {
  14671. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_62 = __this->___spine;
  14672. NullCheck(L_62);
  14673. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_63 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_62)->max_length)));
  14674. __this->___spineForwards = L_63;
  14675. Il2CppCodeGenWriteBarrier((void**)(&__this->___spineForwards), (void*)L_63);
  14676. }
  14677. IL_017c:
  14678. {
  14679. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_64 = __this->___headForwards;
  14680. if (L_64)
  14681. {
  14682. goto IL_0190;
  14683. }
  14684. }
  14685. {
  14686. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_65 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)1);
  14687. __this->___headForwards = L_65;
  14688. Il2CppCodeGenWriteBarrier((void**)(&__this->___headForwards), (void*)L_65);
  14689. }
  14690. IL_0190:
  14691. {
  14692. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_66 = __this->___eyeForward;
  14693. if (L_66)
  14694. {
  14695. goto IL_01a4;
  14696. }
  14697. }
  14698. {
  14699. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_67 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)1);
  14700. __this->___eyeForward = L_67;
  14701. Il2CppCodeGenWriteBarrier((void**)(&__this->___eyeForward), (void*)L_67);
  14702. }
  14703. IL_01a4:
  14704. {
  14705. return;
  14706. }
  14707. }
  14708. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_OnUpdate_mD75593D3B3236255F5199867484D28786EEE9781 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  14709. {
  14710. static bool s_Il2CppMethodInitialized;
  14711. if (!s_Il2CppMethodInitialized)
  14712. {
  14713. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14714. s_Il2CppMethodInitialized = true;
  14715. }
  14716. {
  14717. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  14718. if ((!(((float)L_0) <= ((float)(0.0f)))))
  14719. {
  14720. goto IL_000e;
  14721. }
  14722. }
  14723. {
  14724. return;
  14725. }
  14726. IL_000e:
  14727. {
  14728. float L_1 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  14729. float L_2;
  14730. L_2 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_1, (0.0f), (1.0f), NULL);
  14731. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_2;
  14732. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___target;
  14733. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14734. bool L_4;
  14735. L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14736. if (!L_4)
  14737. {
  14738. goto IL_0048;
  14739. }
  14740. }
  14741. {
  14742. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___target;
  14743. NullCheck(L_5);
  14744. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  14745. L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
  14746. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_6;
  14747. }
  14748. IL_0048:
  14749. {
  14750. IKSolverLookAt_SolveSpine_m0B8B3308B91533128678D9086A8628108632ACA4(__this, NULL);
  14751. IKSolverLookAt_SolveHead_mB571547D8D5DE1F593714DC1F1EA6EB62AC99E2D(__this, NULL);
  14752. IKSolverLookAt_SolveEyes_m2D64CAC03C7AB3931118502D8C3B2CF54DA6590E(__this, NULL);
  14753. return;
  14754. }
  14755. }
  14756. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_spineIsValid_mAC99B4675FC152679E1572D4AEA5DA2E0AEE924D (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  14757. {
  14758. static bool s_Il2CppMethodInitialized;
  14759. if (!s_Il2CppMethodInitialized)
  14760. {
  14761. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14762. s_Il2CppMethodInitialized = true;
  14763. }
  14764. int32_t V_0 = 0;
  14765. {
  14766. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_0 = __this->___spine;
  14767. if (L_0)
  14768. {
  14769. goto IL_000a;
  14770. }
  14771. }
  14772. {
  14773. return (bool)0;
  14774. }
  14775. IL_000a:
  14776. {
  14777. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_1 = __this->___spine;
  14778. NullCheck(L_1);
  14779. if ((((RuntimeArray*)L_1)->max_length))
  14780. {
  14781. goto IL_0015;
  14782. }
  14783. }
  14784. {
  14785. return (bool)1;
  14786. }
  14787. IL_0015:
  14788. {
  14789. V_0 = 0;
  14790. goto IL_003e;
  14791. }
  14792. IL_0019:
  14793. {
  14794. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_2 = __this->___spine;
  14795. int32_t L_3 = V_0;
  14796. NullCheck(L_2);
  14797. int32_t L_4 = L_3;
  14798. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  14799. if (!L_5)
  14800. {
  14801. goto IL_0038;
  14802. }
  14803. }
  14804. {
  14805. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_6 = __this->___spine;
  14806. int32_t L_7 = V_0;
  14807. NullCheck(L_6);
  14808. int32_t L_8 = L_7;
  14809. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  14810. NullCheck(L_9);
  14811. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_9)->___transform;
  14812. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14813. bool L_11;
  14814. L_11 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14815. if (!L_11)
  14816. {
  14817. goto IL_003a;
  14818. }
  14819. }
  14820. IL_0038:
  14821. {
  14822. return (bool)0;
  14823. }
  14824. IL_003a:
  14825. {
  14826. int32_t L_12 = V_0;
  14827. V_0 = ((int32_t)il2cpp_codegen_add(L_12, 1));
  14828. }
  14829. IL_003e:
  14830. {
  14831. int32_t L_13 = V_0;
  14832. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_14 = __this->___spine;
  14833. NullCheck(L_14);
  14834. if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))
  14835. {
  14836. goto IL_0019;
  14837. }
  14838. }
  14839. {
  14840. return (bool)1;
  14841. }
  14842. }
  14843. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_spineIsEmpty_m5964197CEF14482717743ABF057B3F98579B951E (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  14844. {
  14845. {
  14846. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_0 = __this->___spine;
  14847. NullCheck(L_0);
  14848. return (bool)((((int32_t)(((RuntimeArray*)L_0)->max_length)) == ((int32_t)0))? 1 : 0);
  14849. }
  14850. }
  14851. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SolveSpine_m0B8B3308B91533128678D9086A8628108632ACA4 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  14852. {
  14853. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  14854. memset((&V_0), 0, sizeof(V_0));
  14855. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  14856. memset((&V_1), 0, sizeof(V_1));
  14857. int32_t V_2 = 0;
  14858. {
  14859. float L_0 = __this->___bodyWeight;
  14860. if ((!(((float)L_0) <= ((float)(0.0f)))))
  14861. {
  14862. goto IL_000e;
  14863. }
  14864. }
  14865. {
  14866. return;
  14867. }
  14868. IL_000e:
  14869. {
  14870. bool L_1;
  14871. L_1 = IKSolverLookAt_get_spineIsEmpty_m5964197CEF14482717743ABF057B3F98579B951E(__this, NULL);
  14872. if (!L_1)
  14873. {
  14874. goto IL_0017;
  14875. }
  14876. }
  14877. {
  14878. return;
  14879. }
  14880. IL_0017:
  14881. {
  14882. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  14883. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___spineTargetOffset;
  14884. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  14885. L_4 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_2, L_3, NULL);
  14886. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_5 = __this->___spine;
  14887. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_6 = __this->___spine;
  14888. NullCheck(L_6);
  14889. NullCheck(L_5);
  14890. int32_t L_7 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_6)->max_length)), 1));
  14891. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  14892. NullCheck(L_8);
  14893. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_8)->___transform;
  14894. NullCheck(L_9);
  14895. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  14896. L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
  14897. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  14898. L_11 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_4, L_10, NULL);
  14899. V_1 = L_11;
  14900. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  14901. L_12 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_1), NULL);
  14902. V_0 = L_12;
  14903. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_13 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)(&__this->___spineForwards);
  14904. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_14 = __this->___spine;
  14905. NullCheck(L_14);
  14906. int32_t L_15 = 0;
  14907. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  14908. NullCheck(L_16);
  14909. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  14910. L_17 = LookAtBone_get_forward_mBADF314297904630D793582886F60759A64FDA5D(L_16, NULL);
  14911. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_0;
  14912. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_19 = __this->___spine;
  14913. NullCheck(L_19);
  14914. float L_20 = __this->___clampWeight;
  14915. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_21;
  14916. L_21 = IKSolverLookAt_GetForwards_m92503D8D158D6407DEA534044F02ADDD643116B8(__this, L_13, L_17, L_18, ((int32_t)(((RuntimeArray*)L_19)->max_length)), L_20, NULL);
  14917. V_2 = 0;
  14918. goto IL_00a8;
  14919. }
  14920. IL_007e:
  14921. {
  14922. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_22 = __this->___spine;
  14923. int32_t L_23 = V_2;
  14924. NullCheck(L_22);
  14925. int32_t L_24 = L_23;
  14926. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  14927. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_26 = __this->___spineForwards;
  14928. int32_t L_27 = V_2;
  14929. NullCheck(L_26);
  14930. int32_t L_28 = L_27;
  14931. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
  14932. float L_30 = __this->___bodyWeight;
  14933. float L_31 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  14934. NullCheck(L_25);
  14935. LookAtBone_LookAt_mE9EEC0C2EA7478755A936E4302EDFFD6D403E94A(L_25, L_29, ((float)il2cpp_codegen_multiply(L_30, L_31)), NULL);
  14936. int32_t L_32 = V_2;
  14937. V_2 = ((int32_t)il2cpp_codegen_add(L_32, 1));
  14938. }
  14939. IL_00a8:
  14940. {
  14941. int32_t L_33 = V_2;
  14942. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_34 = __this->___spine;
  14943. NullCheck(L_34);
  14944. if ((((int32_t)L_33) < ((int32_t)((int32_t)(((RuntimeArray*)L_34)->max_length)))))
  14945. {
  14946. goto IL_007e;
  14947. }
  14948. }
  14949. {
  14950. return;
  14951. }
  14952. }
  14953. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_headIsValid_m4A294AD6FA4B6AFE655CAE6E981C00A70456B1C6 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  14954. {
  14955. {
  14956. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_0 = __this->___head;
  14957. if (L_0)
  14958. {
  14959. goto IL_000a;
  14960. }
  14961. }
  14962. {
  14963. return (bool)0;
  14964. }
  14965. IL_000a:
  14966. {
  14967. return (bool)1;
  14968. }
  14969. }
  14970. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_headIsEmpty_m58229F7D551F2604FD44ED2DA7CB20F2DCAC3292 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  14971. {
  14972. static bool s_Il2CppMethodInitialized;
  14973. if (!s_Il2CppMethodInitialized)
  14974. {
  14975. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14976. s_Il2CppMethodInitialized = true;
  14977. }
  14978. {
  14979. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_0 = __this->___head;
  14980. NullCheck(L_0);
  14981. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_0)->___transform;
  14982. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14983. bool L_2;
  14984. L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14985. return L_2;
  14986. }
  14987. }
  14988. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SolveHead_mB571547D8D5DE1F593714DC1F1EA6EB62AC99E2D (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  14989. {
  14990. static bool s_Il2CppMethodInitialized;
  14991. if (!s_Il2CppMethodInitialized)
  14992. {
  14993. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14994. s_Il2CppMethodInitialized = true;
  14995. }
  14996. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  14997. memset((&V_0), 0, sizeof(V_0));
  14998. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  14999. memset((&V_1), 0, sizeof(V_1));
  15000. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  15001. memset((&V_2), 0, sizeof(V_2));
  15002. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B8_0;
  15003. memset((&G_B8_0), 0, sizeof(G_B8_0));
  15004. {
  15005. float L_0 = __this->___headWeight;
  15006. if ((!(((float)L_0) <= ((float)(0.0f)))))
  15007. {
  15008. goto IL_000e;
  15009. }
  15010. }
  15011. {
  15012. return;
  15013. }
  15014. IL_000e:
  15015. {
  15016. bool L_1;
  15017. L_1 = IKSolverLookAt_get_headIsEmpty_m58229F7D551F2604FD44ED2DA7CB20F2DCAC3292(__this, NULL);
  15018. if (!L_1)
  15019. {
  15020. goto IL_0017;
  15021. }
  15022. }
  15023. {
  15024. return;
  15025. }
  15026. IL_0017:
  15027. {
  15028. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_2 = __this->___spine;
  15029. NullCheck(L_2);
  15030. if (!(((RuntimeArray*)L_2)->max_length))
  15031. {
  15032. goto IL_003e;
  15033. }
  15034. }
  15035. {
  15036. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_3 = __this->___spine;
  15037. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_4 = __this->___spine;
  15038. NullCheck(L_4);
  15039. NullCheck(L_3);
  15040. int32_t L_5 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_4)->max_length)), 1));
  15041. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  15042. NullCheck(L_6);
  15043. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6)->___transform;
  15044. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15045. bool L_8;
  15046. L_8 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15047. if (L_8)
  15048. {
  15049. goto IL_004b;
  15050. }
  15051. }
  15052. IL_003e:
  15053. {
  15054. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_9 = __this->___head;
  15055. NullCheck(L_9);
  15056. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  15057. L_10 = LookAtBone_get_forward_mBADF314297904630D793582886F60759A64FDA5D(L_9, NULL);
  15058. G_B8_0 = L_10;
  15059. goto IL_0061;
  15060. }
  15061. IL_004b:
  15062. {
  15063. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_11 = __this->___spine;
  15064. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_12 = __this->___spine;
  15065. NullCheck(L_12);
  15066. NullCheck(L_11);
  15067. int32_t L_13 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_12)->max_length)), 1));
  15068. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  15069. NullCheck(L_14);
  15070. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  15071. L_15 = LookAtBone_get_forward_mBADF314297904630D793582886F60759A64FDA5D(L_14, NULL);
  15072. G_B8_0 = L_15;
  15073. }
  15074. IL_0061:
  15075. {
  15076. V_0 = G_B8_0;
  15077. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_0;
  15078. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  15079. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_18 = __this->___head;
  15080. NullCheck(L_18);
  15081. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_18)->___transform;
  15082. NullCheck(L_19);
  15083. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  15084. L_20 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_19, NULL);
  15085. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  15086. L_21 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_17, L_20, NULL);
  15087. V_2 = L_21;
  15088. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  15089. L_22 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_2), NULL);
  15090. float L_23 = __this->___headWeight;
  15091. float L_24 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  15092. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  15093. L_25 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_16, L_22, ((float)il2cpp_codegen_multiply(L_23, L_24)), NULL);
  15094. V_2 = L_25;
  15095. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  15096. L_26 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_2), NULL);
  15097. V_1 = L_26;
  15098. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_27 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)(&__this->___headForwards);
  15099. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_0;
  15100. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_1;
  15101. float L_30 = __this->___clampWeightHead;
  15102. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_31;
  15103. L_31 = IKSolverLookAt_GetForwards_m92503D8D158D6407DEA534044F02ADDD643116B8(__this, L_27, L_28, L_29, 1, L_30, NULL);
  15104. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_32 = __this->___head;
  15105. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_33 = __this->___headForwards;
  15106. NullCheck(L_33);
  15107. int32_t L_34 = 0;
  15108. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  15109. float L_36 = __this->___headWeight;
  15110. float L_37 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  15111. NullCheck(L_32);
  15112. LookAtBone_LookAt_mE9EEC0C2EA7478755A936E4302EDFFD6D403E94A(L_32, L_35, ((float)il2cpp_codegen_multiply(L_36, L_37)), NULL);
  15113. return;
  15114. }
  15115. }
  15116. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_eyesIsValid_m1245D18449981503AC460C83DA78FF203EEFD721 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  15117. {
  15118. static bool s_Il2CppMethodInitialized;
  15119. if (!s_Il2CppMethodInitialized)
  15120. {
  15121. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15122. s_Il2CppMethodInitialized = true;
  15123. }
  15124. int32_t V_0 = 0;
  15125. {
  15126. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_0 = __this->___eyes;
  15127. if (L_0)
  15128. {
  15129. goto IL_000a;
  15130. }
  15131. }
  15132. {
  15133. return (bool)0;
  15134. }
  15135. IL_000a:
  15136. {
  15137. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_1 = __this->___eyes;
  15138. NullCheck(L_1);
  15139. if ((((RuntimeArray*)L_1)->max_length))
  15140. {
  15141. goto IL_0015;
  15142. }
  15143. }
  15144. {
  15145. return (bool)1;
  15146. }
  15147. IL_0015:
  15148. {
  15149. V_0 = 0;
  15150. goto IL_003e;
  15151. }
  15152. IL_0019:
  15153. {
  15154. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_2 = __this->___eyes;
  15155. int32_t L_3 = V_0;
  15156. NullCheck(L_2);
  15157. int32_t L_4 = L_3;
  15158. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  15159. if (!L_5)
  15160. {
  15161. goto IL_0038;
  15162. }
  15163. }
  15164. {
  15165. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_6 = __this->___eyes;
  15166. int32_t L_7 = V_0;
  15167. NullCheck(L_6);
  15168. int32_t L_8 = L_7;
  15169. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  15170. NullCheck(L_9);
  15171. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_9)->___transform;
  15172. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15173. bool L_11;
  15174. L_11 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15175. if (!L_11)
  15176. {
  15177. goto IL_003a;
  15178. }
  15179. }
  15180. IL_0038:
  15181. {
  15182. return (bool)0;
  15183. }
  15184. IL_003a:
  15185. {
  15186. int32_t L_12 = V_0;
  15187. V_0 = ((int32_t)il2cpp_codegen_add(L_12, 1));
  15188. }
  15189. IL_003e:
  15190. {
  15191. int32_t L_13 = V_0;
  15192. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_14 = __this->___eyes;
  15193. NullCheck(L_14);
  15194. if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))
  15195. {
  15196. goto IL_0019;
  15197. }
  15198. }
  15199. {
  15200. return (bool)1;
  15201. }
  15202. }
  15203. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverLookAt_get_eyesIsEmpty_m908DEDD44E1BF38A6DFF8ADE0169EEAB3EF92ED7 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  15204. {
  15205. {
  15206. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_0 = __this->___eyes;
  15207. NullCheck(L_0);
  15208. return (bool)((((int32_t)(((RuntimeArray*)L_0)->max_length)) == ((int32_t)0))? 1 : 0);
  15209. }
  15210. }
  15211. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SolveEyes_m2D64CAC03C7AB3931118502D8C3B2CF54DA6590E (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  15212. {
  15213. static bool s_Il2CppMethodInitialized;
  15214. if (!s_Il2CppMethodInitialized)
  15215. {
  15216. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15217. s_Il2CppMethodInitialized = true;
  15218. }
  15219. int32_t V_0 = 0;
  15220. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  15221. memset((&V_1), 0, sizeof(V_1));
  15222. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  15223. memset((&V_2), 0, sizeof(V_2));
  15224. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  15225. memset((&V_3), 0, sizeof(V_3));
  15226. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  15227. memset((&V_4), 0, sizeof(V_4));
  15228. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B10_0;
  15229. memset((&G_B10_0), 0, sizeof(G_B10_0));
  15230. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B15_0;
  15231. memset((&G_B15_0), 0, sizeof(G_B15_0));
  15232. {
  15233. float L_0 = __this->___eyesWeight;
  15234. if ((!(((float)L_0) <= ((float)(0.0f)))))
  15235. {
  15236. goto IL_000e;
  15237. }
  15238. }
  15239. {
  15240. return;
  15241. }
  15242. IL_000e:
  15243. {
  15244. bool L_1;
  15245. L_1 = IKSolverLookAt_get_eyesIsEmpty_m908DEDD44E1BF38A6DFF8ADE0169EEAB3EF92ED7(__this, NULL);
  15246. if (!L_1)
  15247. {
  15248. goto IL_0017;
  15249. }
  15250. }
  15251. {
  15252. return;
  15253. }
  15254. IL_0017:
  15255. {
  15256. V_0 = 0;
  15257. goto IL_0161;
  15258. }
  15259. IL_001e:
  15260. {
  15261. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_2 = __this->___head;
  15262. NullCheck(L_2);
  15263. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___transform;
  15264. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15265. bool L_4;
  15266. L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15267. if (L_4)
  15268. {
  15269. goto IL_0064;
  15270. }
  15271. }
  15272. {
  15273. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_5 = __this->___spine;
  15274. NullCheck(L_5);
  15275. if ((((RuntimeArray*)L_5)->max_length))
  15276. {
  15277. goto IL_0047;
  15278. }
  15279. }
  15280. {
  15281. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  15282. NullCheck(L_6);
  15283. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
  15284. L_7 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_6, NULL);
  15285. G_B10_0 = L_7;
  15286. goto IL_0074;
  15287. }
  15288. IL_0047:
  15289. {
  15290. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_8 = __this->___spine;
  15291. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_9 = __this->___spine;
  15292. NullCheck(L_9);
  15293. NullCheck(L_8);
  15294. int32_t L_10 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_9)->max_length)), 1));
  15295. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  15296. NullCheck(L_11);
  15297. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_11)->___transform;
  15298. NullCheck(L_12);
  15299. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
  15300. L_13 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_12, NULL);
  15301. G_B10_0 = L_13;
  15302. goto IL_0074;
  15303. }
  15304. IL_0064:
  15305. {
  15306. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_14 = __this->___head;
  15307. NullCheck(L_14);
  15308. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_14)->___transform;
  15309. NullCheck(L_15);
  15310. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
  15311. L_16 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_15, NULL);
  15312. G_B10_0 = L_16;
  15313. }
  15314. IL_0074:
  15315. {
  15316. V_1 = G_B10_0;
  15317. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_17 = __this->___head;
  15318. NullCheck(L_17);
  15319. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_17)->___transform;
  15320. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15321. bool L_19;
  15322. L_19 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_18, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15323. if (L_19)
  15324. {
  15325. goto IL_00b6;
  15326. }
  15327. }
  15328. {
  15329. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_20 = __this->___spine;
  15330. NullCheck(L_20);
  15331. if ((((RuntimeArray*)L_20)->max_length))
  15332. {
  15333. goto IL_009e;
  15334. }
  15335. }
  15336. {
  15337. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  15338. NullCheck(L_21);
  15339. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  15340. L_22 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_21, NULL);
  15341. G_B15_0 = L_22;
  15342. goto IL_00c1;
  15343. }
  15344. IL_009e:
  15345. {
  15346. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_23 = __this->___spine;
  15347. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_24 = __this->___spine;
  15348. NullCheck(L_24);
  15349. NullCheck(L_23);
  15350. int32_t L_25 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_24)->max_length)), 1));
  15351. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  15352. NullCheck(L_26);
  15353. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = ((Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)L_26)->___axis;
  15354. G_B15_0 = L_27;
  15355. goto IL_00c1;
  15356. }
  15357. IL_00b6:
  15358. {
  15359. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_28 = __this->___head;
  15360. NullCheck(L_28);
  15361. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = ((Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)L_28)->___axis;
  15362. G_B15_0 = L_29;
  15363. }
  15364. IL_00c1:
  15365. {
  15366. V_2 = G_B15_0;
  15367. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_30 = __this->___eyes;
  15368. int32_t L_31 = V_0;
  15369. NullCheck(L_30);
  15370. int32_t L_32 = L_31;
  15371. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_33 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
  15372. NullCheck(L_33);
  15373. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = L_33->___baseForwardOffsetEuler;
  15374. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  15375. L_35 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  15376. bool L_36;
  15377. L_36 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_34, L_35, NULL);
  15378. if (!L_36)
  15379. {
  15380. goto IL_00f4;
  15381. }
  15382. }
  15383. {
  15384. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_37 = V_1;
  15385. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_38 = __this->___eyes;
  15386. int32_t L_39 = V_0;
  15387. NullCheck(L_38);
  15388. int32_t L_40 = L_39;
  15389. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
  15390. NullCheck(L_41);
  15391. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = L_41->___baseForwardOffsetEuler;
  15392. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_43;
  15393. L_43 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_42, NULL);
  15394. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44;
  15395. L_44 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_37, L_43, NULL);
  15396. V_1 = L_44;
  15397. }
  15398. IL_00f4:
  15399. {
  15400. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_45 = V_1;
  15401. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = V_2;
  15402. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
  15403. L_47 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_45, L_46, NULL);
  15404. V_3 = L_47;
  15405. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_48 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)(&__this->___eyeForward);
  15406. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_3;
  15407. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  15408. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_51 = __this->___eyes;
  15409. int32_t L_52 = V_0;
  15410. NullCheck(L_51);
  15411. int32_t L_53 = L_52;
  15412. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_54 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
  15413. NullCheck(L_54);
  15414. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_55 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_54)->___transform;
  15415. NullCheck(L_55);
  15416. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
  15417. L_56 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_55, NULL);
  15418. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  15419. L_57 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_50, L_56, NULL);
  15420. V_4 = L_57;
  15421. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
  15422. L_58 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_4), NULL);
  15423. float L_59 = __this->___clampWeightEyes;
  15424. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_60;
  15425. L_60 = IKSolverLookAt_GetForwards_m92503D8D158D6407DEA534044F02ADDD643116B8(__this, L_48, L_49, L_58, 1, L_59, NULL);
  15426. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_61 = __this->___eyes;
  15427. int32_t L_62 = V_0;
  15428. NullCheck(L_61);
  15429. int32_t L_63 = L_62;
  15430. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_64 = (L_61)->GetAt(static_cast<il2cpp_array_size_t>(L_63));
  15431. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_65 = __this->___eyeForward;
  15432. NullCheck(L_65);
  15433. int32_t L_66 = 0;
  15434. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_66));
  15435. float L_68 = __this->___eyesWeight;
  15436. float L_69 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  15437. NullCheck(L_64);
  15438. LookAtBone_LookAt_mE9EEC0C2EA7478755A936E4302EDFFD6D403E94A(L_64, L_67, ((float)il2cpp_codegen_multiply(L_68, L_69)), NULL);
  15439. int32_t L_70 = V_0;
  15440. V_0 = ((int32_t)il2cpp_codegen_add(L_70, 1));
  15441. }
  15442. IL_0161:
  15443. {
  15444. int32_t L_71 = V_0;
  15445. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_72 = __this->___eyes;
  15446. NullCheck(L_72);
  15447. if ((((int32_t)L_71) < ((int32_t)((int32_t)(((RuntimeArray*)L_72)->max_length)))))
  15448. {
  15449. goto IL_001e;
  15450. }
  15451. }
  15452. {
  15453. return;
  15454. }
  15455. }
  15456. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* IKSolverLookAt_GetForwards_m92503D8D158D6407DEA534044F02ADDD643116B8 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** ___0_forwards, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_baseForward, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_targetForward, int32_t ___3_bones, float ___4_clamp, const RuntimeMethod* method)
  15457. {
  15458. float V_0 = 0.0f;
  15459. float V_1 = 0.0f;
  15460. float V_2 = 0.0f;
  15461. float V_3 = 0.0f;
  15462. int32_t V_4 = 0;
  15463. int32_t V_5 = 0;
  15464. float V_6 = 0.0f;
  15465. int32_t V_7 = 0;
  15466. float G_B9_0 = 0.0f;
  15467. float G_B12_0 = 0.0f;
  15468. {
  15469. float L_0 = ___4_clamp;
  15470. if ((((float)L_0) >= ((float)(1.0f))))
  15471. {
  15472. goto IL_0016;
  15473. }
  15474. }
  15475. {
  15476. float L_1 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  15477. if ((!(((float)L_1) <= ((float)(0.0f)))))
  15478. {
  15479. goto IL_0036;
  15480. }
  15481. }
  15482. IL_0016:
  15483. {
  15484. V_4 = 0;
  15485. goto IL_002b;
  15486. }
  15487. IL_001b:
  15488. {
  15489. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_2 = ___0_forwards;
  15490. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_3 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_2);
  15491. int32_t L_4 = V_4;
  15492. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___1_baseForward;
  15493. NullCheck(L_3);
  15494. (L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_4), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_5);
  15495. int32_t L_6 = V_4;
  15496. V_4 = ((int32_t)il2cpp_codegen_add(L_6, 1));
  15497. }
  15498. IL_002b:
  15499. {
  15500. int32_t L_7 = V_4;
  15501. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_8 = ___0_forwards;
  15502. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_9 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_8);
  15503. NullCheck(L_9);
  15504. if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  15505. {
  15506. goto IL_001b;
  15507. }
  15508. }
  15509. {
  15510. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_10 = ___0_forwards;
  15511. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_11 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_10);
  15512. return L_11;
  15513. }
  15514. IL_0036:
  15515. {
  15516. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___1_baseForward;
  15517. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___2_targetForward;
  15518. float L_14;
  15519. L_14 = Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline(L_12, L_13, NULL);
  15520. V_0 = L_14;
  15521. float L_15 = V_0;
  15522. V_1 = ((float)il2cpp_codegen_subtract((1.0f), ((float)(L_15/(180.0f)))));
  15523. float L_16 = ___4_clamp;
  15524. if ((((float)L_16) > ((float)(0.0f))))
  15525. {
  15526. goto IL_005c;
  15527. }
  15528. }
  15529. {
  15530. G_B9_0 = (1.0f);
  15531. goto IL_007d;
  15532. }
  15533. IL_005c:
  15534. {
  15535. float L_17 = ___4_clamp;
  15536. float L_18 = V_1;
  15537. float L_19 = V_1;
  15538. float L_20;
  15539. L_20 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_subtract((1.0f), ((float)(((float)il2cpp_codegen_subtract(L_17, L_18))/((float)il2cpp_codegen_subtract((1.0f), L_19)))))), (0.0f), (1.0f), NULL);
  15540. G_B9_0 = L_20;
  15541. }
  15542. IL_007d:
  15543. {
  15544. V_2 = G_B9_0;
  15545. float L_21 = ___4_clamp;
  15546. if ((((float)L_21) > ((float)(0.0f))))
  15547. {
  15548. goto IL_008e;
  15549. }
  15550. }
  15551. {
  15552. G_B12_0 = (1.0f);
  15553. goto IL_00a1;
  15554. }
  15555. IL_008e:
  15556. {
  15557. float L_22 = V_1;
  15558. float L_23 = ___4_clamp;
  15559. float L_24;
  15560. L_24 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)(L_22/L_23)), (0.0f), (1.0f), NULL);
  15561. G_B12_0 = L_24;
  15562. }
  15563. IL_00a1:
  15564. {
  15565. V_3 = G_B12_0;
  15566. V_5 = 0;
  15567. goto IL_00c0;
  15568. }
  15569. IL_00a7:
  15570. {
  15571. float L_25 = V_3;
  15572. float L_26;
  15573. L_26 = sinf(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_25, (3.14159274f))), (0.5f))));
  15574. V_3 = L_26;
  15575. int32_t L_27 = V_5;
  15576. V_5 = ((int32_t)il2cpp_codegen_add(L_27, 1));
  15577. }
  15578. IL_00c0:
  15579. {
  15580. int32_t L_28 = V_5;
  15581. int32_t L_29 = __this->___clampSmoothing;
  15582. if ((((int32_t)L_28) < ((int32_t)L_29)))
  15583. {
  15584. goto IL_00a7;
  15585. }
  15586. }
  15587. {
  15588. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_30 = ___0_forwards;
  15589. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_31 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_30);
  15590. NullCheck(L_31);
  15591. if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_31)->max_length))) == ((uint32_t)1))))
  15592. {
  15593. goto IL_00e5;
  15594. }
  15595. }
  15596. {
  15597. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_32 = ___0_forwards;
  15598. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_33 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_32);
  15599. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = ___1_baseForward;
  15600. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = ___2_targetForward;
  15601. float L_36 = V_3;
  15602. float L_37 = V_2;
  15603. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
  15604. L_38 = Vector3_Slerp_m6CA14E5B6F6217802BAA0ADD2C9D086C741BA09C(L_34, L_35, ((float)il2cpp_codegen_multiply(L_36, L_37)), NULL);
  15605. NullCheck(L_33);
  15606. (L_33)->SetAt(static_cast<il2cpp_array_size_t>(0), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_38);
  15607. goto IL_012c;
  15608. }
  15609. IL_00e5:
  15610. {
  15611. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_39 = ___0_forwards;
  15612. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_40 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_39);
  15613. NullCheck(L_40);
  15614. V_6 = ((float)((1.0f)/((float)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_40)->max_length)), 1)))));
  15615. V_7 = 0;
  15616. goto IL_0124;
  15617. }
  15618. IL_00f9:
  15619. {
  15620. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_41 = ___0_forwards;
  15621. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_42 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_41);
  15622. int32_t L_43 = V_7;
  15623. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = ___1_baseForward;
  15624. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = ___2_targetForward;
  15625. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_46 = __this->___spineWeightCurve;
  15626. float L_47 = V_6;
  15627. int32_t L_48 = V_7;
  15628. NullCheck(L_46);
  15629. float L_49;
  15630. L_49 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_46, ((float)il2cpp_codegen_multiply(L_47, ((float)L_48))), NULL);
  15631. float L_50 = V_3;
  15632. float L_51 = V_2;
  15633. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
  15634. L_52 = Vector3_Slerp_m6CA14E5B6F6217802BAA0ADD2C9D086C741BA09C(L_44, L_45, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_49, L_50)), L_51)), NULL);
  15635. NullCheck(L_42);
  15636. (L_42)->SetAt(static_cast<il2cpp_array_size_t>(L_43), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_52);
  15637. int32_t L_53 = V_7;
  15638. V_7 = ((int32_t)il2cpp_codegen_add(L_53, 1));
  15639. }
  15640. IL_0124:
  15641. {
  15642. int32_t L_54 = V_7;
  15643. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_55 = ___0_forwards;
  15644. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_56 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_55);
  15645. NullCheck(L_56);
  15646. if ((((int32_t)L_54) < ((int32_t)((int32_t)(((RuntimeArray*)L_56)->max_length)))))
  15647. {
  15648. goto IL_00f9;
  15649. }
  15650. }
  15651. IL_012c:
  15652. {
  15653. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_57 = ___0_forwards;
  15654. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_58 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_57);
  15655. return L_58;
  15656. }
  15657. }
  15658. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt_SetBones_mA78E9CC27149380A4FD7BB9BE07BE9E25877F323 (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_array, LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** ___1_bones, const RuntimeMethod* method)
  15659. {
  15660. static bool s_Il2CppMethodInitialized;
  15661. if (!s_Il2CppMethodInitialized)
  15662. {
  15663. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128_il2cpp_TypeInfo_var);
  15664. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1_il2cpp_TypeInfo_var);
  15665. s_Il2CppMethodInitialized = true;
  15666. }
  15667. int32_t V_0 = 0;
  15668. {
  15669. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_0 = ___0_array;
  15670. if (L_0)
  15671. {
  15672. goto IL_000c;
  15673. }
  15674. }
  15675. {
  15676. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** L_1 = ___1_bones;
  15677. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_2 = (LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128*)(LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128*)SZArrayNew(LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128_il2cpp_TypeInfo_var, (uint32_t)0);
  15678. *((RuntimeObject**)L_1) = (RuntimeObject*)L_2;
  15679. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_1, (void*)(RuntimeObject*)L_2);
  15680. return;
  15681. }
  15682. IL_000c:
  15683. {
  15684. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** L_3 = ___1_bones;
  15685. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_4 = *((LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128**)L_3);
  15686. NullCheck(L_4);
  15687. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_5 = ___0_array;
  15688. NullCheck(L_5);
  15689. if ((((int32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))) == ((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length)))))
  15690. {
  15691. goto IL_001f;
  15692. }
  15693. }
  15694. {
  15695. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** L_6 = ___1_bones;
  15696. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_7 = ___0_array;
  15697. NullCheck(L_7);
  15698. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_8 = (LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128*)(LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128*)SZArrayNew(LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)));
  15699. *((RuntimeObject**)L_6) = (RuntimeObject*)L_8;
  15700. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_6, (void*)(RuntimeObject*)L_8);
  15701. }
  15702. IL_001f:
  15703. {
  15704. V_0 = 0;
  15705. goto IL_0047;
  15706. }
  15707. IL_0023:
  15708. {
  15709. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** L_9 = ___1_bones;
  15710. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_10 = *((LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128**)L_9);
  15711. int32_t L_11 = V_0;
  15712. NullCheck(L_10);
  15713. int32_t L_12 = L_11;
  15714. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  15715. if (L_13)
  15716. {
  15717. goto IL_0037;
  15718. }
  15719. }
  15720. {
  15721. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** L_14 = ___1_bones;
  15722. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_15 = *((LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128**)L_14);
  15723. int32_t L_16 = V_0;
  15724. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_17 = ___0_array;
  15725. int32_t L_18 = V_0;
  15726. NullCheck(L_17);
  15727. int32_t L_19 = L_18;
  15728. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  15729. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_21 = (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1*)il2cpp_codegen_object_new(LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1_il2cpp_TypeInfo_var);
  15730. LookAtBone__ctor_m21AA81862C38AD99FB90A9595C89D46BAF58D022(L_21, L_20, NULL);
  15731. NullCheck(L_15);
  15732. ArrayElementTypeCheck (L_15, L_21);
  15733. (L_15)->SetAt(static_cast<il2cpp_array_size_t>(L_16), (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1*)L_21);
  15734. goto IL_0043;
  15735. }
  15736. IL_0037:
  15737. {
  15738. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128** L_22 = ___1_bones;
  15739. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_23 = *((LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128**)L_22);
  15740. int32_t L_24 = V_0;
  15741. NullCheck(L_23);
  15742. int32_t L_25 = L_24;
  15743. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  15744. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_27 = ___0_array;
  15745. int32_t L_28 = V_0;
  15746. NullCheck(L_27);
  15747. int32_t L_29 = L_28;
  15748. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  15749. NullCheck(L_26);
  15750. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_26)->___transform = L_30;
  15751. Il2CppCodeGenWriteBarrier((void**)(&((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_26)->___transform), (void*)L_30);
  15752. }
  15753. IL_0043:
  15754. {
  15755. int32_t L_31 = V_0;
  15756. V_0 = ((int32_t)il2cpp_codegen_add(L_31, 1));
  15757. }
  15758. IL_0047:
  15759. {
  15760. int32_t L_32 = V_0;
  15761. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_33 = ___0_array;
  15762. NullCheck(L_33);
  15763. if ((((int32_t)L_32) < ((int32_t)((int32_t)(((RuntimeArray*)L_33)->max_length)))))
  15764. {
  15765. goto IL_0023;
  15766. }
  15767. }
  15768. {
  15769. return;
  15770. }
  15771. }
  15772. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverLookAt__ctor_mE7F8D3D8A7BF5FDD0F80C0A985D4B42E04F702DB (IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* __this, const RuntimeMethod* method)
  15773. {
  15774. static bool s_Il2CppMethodInitialized;
  15775. if (!s_Il2CppMethodInitialized)
  15776. {
  15777. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
  15778. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var);
  15779. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128_il2cpp_TypeInfo_var);
  15780. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1_il2cpp_TypeInfo_var);
  15781. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
  15782. s_Il2CppMethodInitialized = true;
  15783. }
  15784. {
  15785. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_0 = (LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128*)(LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128*)SZArrayNew(LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128_il2cpp_TypeInfo_var, (uint32_t)0);
  15786. __this->___spine = L_0;
  15787. Il2CppCodeGenWriteBarrier((void**)(&__this->___spine), (void*)L_0);
  15788. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* L_1 = (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1*)il2cpp_codegen_object_new(LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1_il2cpp_TypeInfo_var);
  15789. LookAtBone__ctor_mB765C747E8169C438757EF682E7EBD97DA14F8F1(L_1, NULL);
  15790. __this->___head = L_1;
  15791. Il2CppCodeGenWriteBarrier((void**)(&__this->___head), (void*)L_1);
  15792. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* L_2 = (LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128*)(LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128*)SZArrayNew(LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128_il2cpp_TypeInfo_var, (uint32_t)0);
  15793. __this->___eyes = L_2;
  15794. Il2CppCodeGenWriteBarrier((void**)(&__this->___eyes), (void*)L_2);
  15795. __this->___bodyWeight = (0.5f);
  15796. __this->___headWeight = (0.5f);
  15797. __this->___eyesWeight = (1.0f);
  15798. __this->___clampWeight = (0.5f);
  15799. __this->___clampWeightHead = (0.5f);
  15800. __this->___clampWeightEyes = (0.5f);
  15801. __this->___clampSmoothing = 2;
  15802. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_3 = (KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)SZArrayNew(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var, (uint32_t)2);
  15803. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_4 = L_3;
  15804. Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_5;
  15805. memset((&L_5), 0, sizeof(L_5));
  15806. Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_5), (0.0f), (0.300000012f), NULL);
  15807. NullCheck(L_4);
  15808. (L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_5);
  15809. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_6 = L_4;
  15810. Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_7;
  15811. memset((&L_7), 0, sizeof(L_7));
  15812. Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_7), (1.0f), (1.0f), NULL);
  15813. NullCheck(L_6);
  15814. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_7);
  15815. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_8 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354*)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
  15816. AnimationCurve__ctor_mEABC98C03805713354D61E50D9340766BD5B717E(L_8, L_6, NULL);
  15817. __this->___spineWeightCurve = L_8;
  15818. Il2CppCodeGenWriteBarrier((void**)(&__this->___spineWeightCurve), (void*)L_8);
  15819. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_9 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)0);
  15820. __this->___spineForwards = L_9;
  15821. Il2CppCodeGenWriteBarrier((void**)(&__this->___spineForwards), (void*)L_9);
  15822. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_10 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)1);
  15823. __this->___headForwards = L_10;
  15824. Il2CppCodeGenWriteBarrier((void**)(&__this->___headForwards), (void*)L_10);
  15825. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_11 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)1);
  15826. __this->___eyeForward = L_11;
  15827. Il2CppCodeGenWriteBarrier((void**)(&__this->___eyeForward), (void*)L_11);
  15828. IKSolver__ctor_mF80BFDB950365AD0B8E8ACB9A26E78C8DDC9B3DC(__this, NULL);
  15829. return;
  15830. }
  15831. }
  15832. #ifdef __clang__
  15833. #pragma clang diagnostic pop
  15834. #endif
  15835. #ifdef __clang__
  15836. #pragma clang diagnostic push
  15837. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  15838. #pragma clang diagnostic ignored "-Wunused-variable"
  15839. #endif
  15840. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LookAtBone__ctor_mB765C747E8169C438757EF682E7EBD97DA14F8F1 (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, const RuntimeMethod* method)
  15841. {
  15842. {
  15843. Bone__ctor_m3A52FF10CE476DA9437CA1427B4670068EB079EF(__this, NULL);
  15844. return;
  15845. }
  15846. }
  15847. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LookAtBone__ctor_m21AA81862C38AD99FB90A9595C89D46BAF58D022 (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  15848. {
  15849. {
  15850. Bone__ctor_m3A52FF10CE476DA9437CA1427B4670068EB079EF(__this, NULL);
  15851. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ___0_transform;
  15852. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform = L_0;
  15853. Il2CppCodeGenWriteBarrier((void**)(&((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform), (void*)L_0);
  15854. return;
  15855. }
  15856. }
  15857. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LookAtBone_Initiate_m65D1326C546047D4D9BF584D121831C7CA7ADC7A (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_root, const RuntimeMethod* method)
  15858. {
  15859. static bool s_Il2CppMethodInitialized;
  15860. if (!s_Il2CppMethodInitialized)
  15861. {
  15862. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15863. s_Il2CppMethodInitialized = true;
  15864. }
  15865. {
  15866. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform;
  15867. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15868. bool L_1;
  15869. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15870. if (!L_1)
  15871. {
  15872. goto IL_000f;
  15873. }
  15874. }
  15875. {
  15876. return;
  15877. }
  15878. IL_000f:
  15879. {
  15880. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform;
  15881. NullCheck(L_2);
  15882. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
  15883. L_3 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_2, NULL);
  15884. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  15885. L_4 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_3, NULL);
  15886. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ___0_root;
  15887. NullCheck(L_5);
  15888. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  15889. L_6 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_5, NULL);
  15890. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  15891. L_7 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_4, L_6, NULL);
  15892. ((Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)__this)->___axis = L_7;
  15893. return;
  15894. }
  15895. }
  15896. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LookAtBone_LookAt_mE9EEC0C2EA7478755A936E4302EDFFD6D403E94A (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, float ___1_weight, const RuntimeMethod* method)
  15897. {
  15898. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  15899. memset((&V_0), 0, sizeof(V_0));
  15900. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  15901. memset((&V_1), 0, sizeof(V_1));
  15902. {
  15903. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  15904. L_0 = LookAtBone_get_forward_mBADF314297904630D793582886F60759A64FDA5D(__this, NULL);
  15905. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_direction;
  15906. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  15907. L_2 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_0, L_1, NULL);
  15908. V_0 = L_2;
  15909. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform;
  15910. NullCheck(L_3);
  15911. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  15912. L_4 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_3, NULL);
  15913. V_1 = L_4;
  15914. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform;
  15915. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = V_1;
  15916. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = V_0;
  15917. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = V_1;
  15918. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
  15919. L_9 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_7, L_8, NULL);
  15920. float L_10 = ___1_weight;
  15921. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  15922. L_11 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_6, L_9, L_10, NULL);
  15923. NullCheck(L_5);
  15924. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_5, L_11, NULL);
  15925. return;
  15926. }
  15927. }
  15928. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 LookAtBone_get_forward_mBADF314297904630D793582886F60759A64FDA5D (LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* __this, const RuntimeMethod* method)
  15929. {
  15930. {
  15931. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform;
  15932. NullCheck(L_0);
  15933. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
  15934. L_1 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_0, NULL);
  15935. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ((Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)__this)->___axis;
  15936. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  15937. L_3 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_1, L_2, NULL);
  15938. return L_3;
  15939. }
  15940. }
  15941. #ifdef __clang__
  15942. #pragma clang diagnostic pop
  15943. #endif
  15944. #ifdef __clang__
  15945. #pragma clang diagnostic push
  15946. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  15947. #pragma clang diagnostic ignored "-Wunused-variable"
  15948. #endif
  15949. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_SetBendGoalPosition_mE1B94E79054E0D73511311DB46956BC639B6D28E (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_goalPosition, float ___1_weight, const RuntimeMethod* method)
  15950. {
  15951. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  15952. memset((&V_0), 0, sizeof(V_0));
  15953. {
  15954. bool L_0;
  15955. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  15956. if (L_0)
  15957. {
  15958. goto IL_0009;
  15959. }
  15960. }
  15961. {
  15962. return;
  15963. }
  15964. IL_0009:
  15965. {
  15966. float L_1 = ___1_weight;
  15967. if ((!(((float)L_1) <= ((float)(0.0f)))))
  15968. {
  15969. goto IL_0012;
  15970. }
  15971. }
  15972. {
  15973. return;
  15974. }
  15975. IL_0012:
  15976. {
  15977. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_goalPosition;
  15978. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_3 = __this->___bone1;
  15979. NullCheck(L_3);
  15980. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_3)->___transform;
  15981. NullCheck(L_4);
  15982. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  15983. L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
  15984. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  15985. L_6 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_5, NULL);
  15986. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  15987. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_8 = __this->___bone1;
  15988. NullCheck(L_8);
  15989. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_8)->___transform;
  15990. NullCheck(L_9);
  15991. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  15992. L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
  15993. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  15994. L_11 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_7, L_10, NULL);
  15995. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  15996. L_12 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_6, L_11, NULL);
  15997. V_0 = L_12;
  15998. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
  15999. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  16000. L_14 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  16001. bool L_15;
  16002. L_15 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_13, L_14, NULL);
  16003. if (!L_15)
  16004. {
  16005. goto IL_0079;
  16006. }
  16007. }
  16008. {
  16009. float L_16 = ___1_weight;
  16010. if ((!(((float)L_16) >= ((float)(1.0f)))))
  16011. {
  16012. goto IL_0066;
  16013. }
  16014. }
  16015. {
  16016. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_0;
  16017. __this->___bendNormal = L_17;
  16018. return;
  16019. }
  16020. IL_0066:
  16021. {
  16022. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = __this->___bendNormal;
  16023. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_0;
  16024. float L_20 = ___1_weight;
  16025. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  16026. L_21 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_18, L_19, L_20, NULL);
  16027. __this->___bendNormal = L_21;
  16028. }
  16029. IL_0079:
  16030. {
  16031. return;
  16032. }
  16033. }
  16034. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_SetBendPlaneToCurrent_mEAC5A0EE470E97DB2906B7C0A38C1C84DAF2C597 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16035. {
  16036. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  16037. memset((&V_0), 0, sizeof(V_0));
  16038. {
  16039. bool L_0;
  16040. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  16041. if (L_0)
  16042. {
  16043. goto IL_0009;
  16044. }
  16045. }
  16046. {
  16047. return;
  16048. }
  16049. IL_0009:
  16050. {
  16051. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_1 = __this->___bone2;
  16052. NullCheck(L_1);
  16053. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_1)->___transform;
  16054. NullCheck(L_2);
  16055. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  16056. L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
  16057. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_4 = __this->___bone1;
  16058. NullCheck(L_4);
  16059. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___transform;
  16060. NullCheck(L_5);
  16061. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  16062. L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
  16063. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  16064. L_7 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_3, L_6, NULL);
  16065. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_8 = __this->___bone3;
  16066. NullCheck(L_8);
  16067. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_8)->___transform;
  16068. NullCheck(L_9);
  16069. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  16070. L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
  16071. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_11 = __this->___bone2;
  16072. NullCheck(L_11);
  16073. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_11)->___transform;
  16074. NullCheck(L_12);
  16075. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  16076. L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
  16077. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  16078. L_14 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_10, L_13, NULL);
  16079. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  16080. L_15 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_7, L_14, NULL);
  16081. V_0 = L_15;
  16082. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_0;
  16083. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  16084. L_17 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  16085. bool L_18;
  16086. L_18 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_16, L_17, NULL);
  16087. if (!L_18)
  16088. {
  16089. goto IL_006d;
  16090. }
  16091. }
  16092. {
  16093. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_0;
  16094. __this->___bendNormal = L_19;
  16095. }
  16096. IL_006d:
  16097. {
  16098. return;
  16099. }
  16100. }
  16101. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_SetIKRotation_mF830ED62F3ECFB4EF563F6332FE35D491F3B3FC3 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, const RuntimeMethod* method)
  16102. {
  16103. {
  16104. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_rotation;
  16105. __this->___IKRotation = L_0;
  16106. return;
  16107. }
  16108. }
  16109. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_SetIKRotationWeight_mB64EECA4222388115C783C16BCD3794B8F375756 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, float ___0_weight, const RuntimeMethod* method)
  16110. {
  16111. {
  16112. float L_0 = ___0_weight;
  16113. float L_1;
  16114. L_1 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_0, (0.0f), (1.0f), NULL);
  16115. __this->___IKRotationWeight = L_1;
  16116. return;
  16117. }
  16118. }
  16119. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 IKSolverTrigonometric_GetIKRotation_mE0125E112E807D966238E37CA23E1F29F1BF22CF (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16120. {
  16121. {
  16122. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___IKRotation;
  16123. return L_0;
  16124. }
  16125. }
  16126. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float IKSolverTrigonometric_GetIKRotationWeight_m600C2D68972A82CF452ED20CAF35F390BAFC6738 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16127. {
  16128. {
  16129. float L_0 = __this->___IKRotationWeight;
  16130. return L_0;
  16131. }
  16132. }
  16133. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* IKSolverTrigonometric_GetPoints_m3C8686EE9FDD9E6A5DDDA70F889C7C8A0BE6DB4E (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16134. {
  16135. static bool s_Il2CppMethodInitialized;
  16136. if (!s_Il2CppMethodInitialized)
  16137. {
  16138. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var);
  16139. s_Il2CppMethodInitialized = true;
  16140. }
  16141. {
  16142. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_0 = (PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)SZArrayNew(PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20_il2cpp_TypeInfo_var, (uint32_t)3);
  16143. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_1 = L_0;
  16144. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_2 = __this->___bone1;
  16145. NullCheck(L_1);
  16146. ArrayElementTypeCheck (L_1, L_2);
  16147. (L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2);
  16148. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_3 = L_1;
  16149. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_4 = __this->___bone2;
  16150. NullCheck(L_3);
  16151. ArrayElementTypeCheck (L_3, L_4);
  16152. (L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4);
  16153. PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* L_5 = L_3;
  16154. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_6 = __this->___bone3;
  16155. NullCheck(L_5);
  16156. ArrayElementTypeCheck (L_5, L_6);
  16157. (L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6);
  16158. return L_5;
  16159. }
  16160. }
  16161. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* IKSolverTrigonometric_GetPoint_m7F7FB8910545F4A93C166C5731D41A491AB7687C (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  16162. {
  16163. static bool s_Il2CppMethodInitialized;
  16164. if (!s_Il2CppMethodInitialized)
  16165. {
  16166. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16167. s_Il2CppMethodInitialized = true;
  16168. }
  16169. {
  16170. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_0 = __this->___bone1;
  16171. NullCheck(L_0);
  16172. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_0)->___transform;
  16173. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ___0_transform;
  16174. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16175. bool L_3;
  16176. L_3 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, L_2, NULL);
  16177. if (!L_3)
  16178. {
  16179. goto IL_001a;
  16180. }
  16181. }
  16182. {
  16183. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_4 = __this->___bone1;
  16184. return L_4;
  16185. }
  16186. IL_001a:
  16187. {
  16188. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_5 = __this->___bone2;
  16189. NullCheck(L_5);
  16190. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_5)->___transform;
  16191. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ___0_transform;
  16192. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16193. bool L_8;
  16194. L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_6, L_7, NULL);
  16195. if (!L_8)
  16196. {
  16197. goto IL_0034;
  16198. }
  16199. }
  16200. {
  16201. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_9 = __this->___bone2;
  16202. return L_9;
  16203. }
  16204. IL_0034:
  16205. {
  16206. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_10 = __this->___bone3;
  16207. NullCheck(L_10);
  16208. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_10)->___transform;
  16209. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = ___0_transform;
  16210. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16211. bool L_13;
  16212. L_13 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_11, L_12, NULL);
  16213. if (!L_13)
  16214. {
  16215. goto IL_004e;
  16216. }
  16217. }
  16218. {
  16219. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_14 = __this->___bone3;
  16220. return L_14;
  16221. }
  16222. IL_004e:
  16223. {
  16224. return (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)NULL;
  16225. }
  16226. }
  16227. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_StoreDefaultLocalState_m119B637FE31D3BE3F19554A1EE429B2209D2E951 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16228. {
  16229. {
  16230. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_0 = __this->___bone1;
  16231. NullCheck(L_0);
  16232. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_0, NULL);
  16233. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_1 = __this->___bone2;
  16234. NullCheck(L_1);
  16235. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_1, NULL);
  16236. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_2 = __this->___bone3;
  16237. NullCheck(L_2);
  16238. Point_StoreDefaultLocalState_mBA050429FCE7421CC6E2BD7359379E870CA13F59(L_2, NULL);
  16239. return;
  16240. }
  16241. }
  16242. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_FixTransforms_m504F0996761D4719A0409DF542A7037E8E1A56B8 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16243. {
  16244. {
  16245. bool L_0;
  16246. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  16247. if (L_0)
  16248. {
  16249. goto IL_0009;
  16250. }
  16251. }
  16252. {
  16253. return;
  16254. }
  16255. IL_0009:
  16256. {
  16257. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_1 = __this->___bone1;
  16258. NullCheck(L_1);
  16259. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_1, NULL);
  16260. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_2 = __this->___bone2;
  16261. NullCheck(L_2);
  16262. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_2, NULL);
  16263. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_3 = __this->___bone3;
  16264. NullCheck(L_3);
  16265. Point_FixTransform_m2C32B901362ED6748CCD206931E1DD272F88D89A(L_3, NULL);
  16266. return;
  16267. }
  16268. }
  16269. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverTrigonometric_IsValid_mA9D3EF855A93B03348790A9C5B3809E0A6F40CAD (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, String_t** ___0_message, const RuntimeMethod* method)
  16270. {
  16271. static bool s_Il2CppMethodInitialized;
  16272. if (!s_Il2CppMethodInitialized)
  16273. {
  16274. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16275. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var);
  16276. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var);
  16277. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9C6EC8C583F8432493C4445D64D100F0559AF402);
  16278. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA9AE18500C1AD6EE1C2A4EFB31AF545D94C38BB8);
  16279. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD6CC67719F37EE5351F5C50F7653D2E62F587E55);
  16280. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF2E3C69A492BD31933F52C410CA87FD2B043CFCC);
  16281. s_Il2CppMethodInitialized = true;
  16282. }
  16283. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_0 = NULL;
  16284. ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A* V_1 = NULL;
  16285. {
  16286. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_0 = __this->___bone1;
  16287. NullCheck(L_0);
  16288. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_0)->___transform;
  16289. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16290. bool L_2;
  16291. L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16292. if (L_2)
  16293. {
  16294. goto IL_0039;
  16295. }
  16296. }
  16297. {
  16298. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_3 = __this->___bone2;
  16299. NullCheck(L_3);
  16300. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_3)->___transform;
  16301. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16302. bool L_5;
  16303. L_5 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_4, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16304. if (L_5)
  16305. {
  16306. goto IL_0039;
  16307. }
  16308. }
  16309. {
  16310. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_6 = __this->___bone3;
  16311. NullCheck(L_6);
  16312. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6)->___transform;
  16313. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16314. bool L_8;
  16315. L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16316. if (!L_8)
  16317. {
  16318. goto IL_0042;
  16319. }
  16320. }
  16321. IL_0039:
  16322. {
  16323. String_t** L_9 = ___0_message;
  16324. *((RuntimeObject**)L_9) = (RuntimeObject*)_stringLiteralF2E3C69A492BD31933F52C410CA87FD2B043CFCC;
  16325. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_9, (void*)(RuntimeObject*)_stringLiteralF2E3C69A492BD31933F52C410CA87FD2B043CFCC);
  16326. return (bool)0;
  16327. }
  16328. IL_0042:
  16329. {
  16330. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_10 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)3);
  16331. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_11 = L_10;
  16332. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_12 = __this->___bone1;
  16333. NullCheck(L_12);
  16334. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_12)->___transform;
  16335. NullCheck(L_11);
  16336. ArrayElementTypeCheck (L_11, L_13);
  16337. (L_11)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_13);
  16338. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_14 = L_11;
  16339. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_15 = __this->___bone2;
  16340. NullCheck(L_15);
  16341. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_15)->___transform;
  16342. NullCheck(L_14);
  16343. ArrayElementTypeCheck (L_14, L_16);
  16344. (L_14)->SetAt(static_cast<il2cpp_array_size_t>(1), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_16);
  16345. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_17 = L_14;
  16346. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_18 = __this->___bone3;
  16347. NullCheck(L_18);
  16348. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_18)->___transform;
  16349. NullCheck(L_17);
  16350. ArrayElementTypeCheck (L_17, L_19);
  16351. (L_17)->SetAt(static_cast<il2cpp_array_size_t>(2), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_19);
  16352. V_1 = (ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A*)L_17;
  16353. ObjectU5BU5D_tD4BF1BEC72A31DF6611C0B8FA3112AF128FC3F8A* L_20 = V_1;
  16354. Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_21;
  16355. L_21 = Hierarchy_ContainsDuplicate_m8D557E254AE9C2E97100726E4F15FD40155043DF(L_20, NULL);
  16356. V_0 = ((Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)CastclassClass((RuntimeObject*)L_21, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_il2cpp_TypeInfo_var));
  16357. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = V_0;
  16358. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16359. bool L_23;
  16360. L_23 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_22, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16361. if (!L_23)
  16362. {
  16363. goto IL_009c;
  16364. }
  16365. }
  16366. {
  16367. String_t** L_24 = ___0_message;
  16368. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25 = V_0;
  16369. NullCheck(L_25);
  16370. String_t* L_26;
  16371. L_26 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_25, NULL);
  16372. String_t* L_27;
  16373. L_27 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_26, _stringLiteral9C6EC8C583F8432493C4445D64D100F0559AF402, NULL);
  16374. *((RuntimeObject**)L_24) = (RuntimeObject*)L_27;
  16375. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_24, (void*)(RuntimeObject*)L_27);
  16376. return (bool)0;
  16377. }
  16378. IL_009c:
  16379. {
  16380. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_28 = __this->___bone1;
  16381. NullCheck(L_28);
  16382. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_28)->___transform;
  16383. NullCheck(L_29);
  16384. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  16385. L_30 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_29, NULL);
  16386. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_31 = __this->___bone2;
  16387. NullCheck(L_31);
  16388. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_31)->___transform;
  16389. NullCheck(L_32);
  16390. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
  16391. L_33 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_32, NULL);
  16392. bool L_34;
  16393. L_34 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_30, L_33, NULL);
  16394. if (!L_34)
  16395. {
  16396. goto IL_00cc;
  16397. }
  16398. }
  16399. {
  16400. String_t** L_35 = ___0_message;
  16401. *((RuntimeObject**)L_35) = (RuntimeObject*)_stringLiteralA9AE18500C1AD6EE1C2A4EFB31AF545D94C38BB8;
  16402. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_35, (void*)(RuntimeObject*)_stringLiteralA9AE18500C1AD6EE1C2A4EFB31AF545D94C38BB8);
  16403. return (bool)0;
  16404. }
  16405. IL_00cc:
  16406. {
  16407. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_36 = __this->___bone2;
  16408. NullCheck(L_36);
  16409. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_36)->___transform;
  16410. NullCheck(L_37);
  16411. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
  16412. L_38 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_37, NULL);
  16413. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_39 = __this->___bone3;
  16414. NullCheck(L_39);
  16415. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_40 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_39)->___transform;
  16416. NullCheck(L_40);
  16417. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
  16418. L_41 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_40, NULL);
  16419. bool L_42;
  16420. L_42 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_38, L_41, NULL);
  16421. if (!L_42)
  16422. {
  16423. goto IL_00fc;
  16424. }
  16425. }
  16426. {
  16427. String_t** L_43 = ___0_message;
  16428. *((RuntimeObject**)L_43) = (RuntimeObject*)_stringLiteralD6CC67719F37EE5351F5C50F7653D2E62F587E55;
  16429. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_43, (void*)(RuntimeObject*)_stringLiteralD6CC67719F37EE5351F5C50F7653D2E62F587E55);
  16430. return (bool)0;
  16431. }
  16432. IL_00fc:
  16433. {
  16434. return (bool)1;
  16435. }
  16436. }
  16437. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverTrigonometric_SetChain_mBDE52C02E063BB52ADD2B615E81D86CDC7BAFD7E (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_bone1, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_bone2, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___2_bone3, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___3_root, const RuntimeMethod* method)
  16438. {
  16439. {
  16440. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_0 = __this->___bone1;
  16441. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ___0_bone1;
  16442. NullCheck(L_0);
  16443. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_0)->___transform = L_1;
  16444. Il2CppCodeGenWriteBarrier((void**)(&((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_0)->___transform), (void*)L_1);
  16445. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_2 = __this->___bone2;
  16446. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ___1_bone2;
  16447. NullCheck(L_2);
  16448. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___transform = L_3;
  16449. Il2CppCodeGenWriteBarrier((void**)(&((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_2)->___transform), (void*)L_3);
  16450. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_4 = __this->___bone3;
  16451. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ___2_bone3;
  16452. NullCheck(L_4);
  16453. ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___transform = L_5;
  16454. Il2CppCodeGenWriteBarrier((void**)(&((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___transform), (void*)L_5);
  16455. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ___3_root;
  16456. IKSolver_Initiate_m3788998F391336578711BBECB4121F595DA4AA0B(__this, L_6, NULL);
  16457. bool L_7;
  16458. L_7 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  16459. return L_7;
  16460. }
  16461. }
  16462. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_Solve_m82818FF7E98C276BF226EE1188D67789A2B4F5D0 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_bone1, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_bone2, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___2_bone3, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_targetPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___4_bendNormal, float ___5_weight, const RuntimeMethod* method)
  16463. {
  16464. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  16465. memset((&V_0), 0, sizeof(V_0));
  16466. float V_1 = 0.0f;
  16467. float V_2 = 0.0f;
  16468. float V_3 = 0.0f;
  16469. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  16470. memset((&V_4), 0, sizeof(V_4));
  16471. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
  16472. memset((&V_5), 0, sizeof(V_5));
  16473. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_6;
  16474. memset((&V_6), 0, sizeof(V_6));
  16475. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_7;
  16476. memset((&V_7), 0, sizeof(V_7));
  16477. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
  16478. memset((&V_8), 0, sizeof(V_8));
  16479. {
  16480. float L_0 = ___5_weight;
  16481. if ((!(((float)L_0) <= ((float)(0.0f)))))
  16482. {
  16483. goto IL_000a;
  16484. }
  16485. }
  16486. {
  16487. return;
  16488. }
  16489. IL_000a:
  16490. {
  16491. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ___2_bone3;
  16492. NullCheck(L_1);
  16493. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  16494. L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
  16495. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___3_targetPosition;
  16496. float L_4 = ___5_weight;
  16497. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  16498. L_5 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_2, L_3, L_4, NULL);
  16499. ___3_targetPosition = L_5;
  16500. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___3_targetPosition;
  16501. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ___0_bone1;
  16502. NullCheck(L_7);
  16503. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  16504. L_8 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_7, NULL);
  16505. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  16506. L_9 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_6, L_8, NULL);
  16507. V_0 = L_9;
  16508. float L_10;
  16509. L_10 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_0), NULL);
  16510. V_1 = L_10;
  16511. float L_11 = V_1;
  16512. if ((!(((float)L_11) == ((float)(0.0f)))))
  16513. {
  16514. goto IL_0038;
  16515. }
  16516. }
  16517. {
  16518. return;
  16519. }
  16520. IL_0038:
  16521. {
  16522. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = ___1_bone2;
  16523. NullCheck(L_12);
  16524. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  16525. L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
  16526. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = ___0_bone1;
  16527. NullCheck(L_14);
  16528. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  16529. L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
  16530. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  16531. L_16 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_13, L_15, NULL);
  16532. V_8 = L_16;
  16533. float L_17;
  16534. L_17 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_8), NULL);
  16535. V_2 = L_17;
  16536. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = ___2_bone3;
  16537. NullCheck(L_18);
  16538. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  16539. L_19 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_18, NULL);
  16540. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_20 = ___1_bone2;
  16541. NullCheck(L_20);
  16542. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  16543. L_21 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_20, NULL);
  16544. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  16545. L_22 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_19, L_21, NULL);
  16546. V_8 = L_22;
  16547. float L_23;
  16548. L_23 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_8), NULL);
  16549. V_3 = L_23;
  16550. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
  16551. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = ___4_bendNormal;
  16552. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  16553. L_26 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_24, L_25, NULL);
  16554. V_4 = L_26;
  16555. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = V_0;
  16556. float L_28 = V_1;
  16557. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_4;
  16558. float L_30 = V_2;
  16559. float L_31 = V_3;
  16560. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
  16561. L_32 = IKSolverTrigonometric_GetDirectionToBendPoint_m71840FAB5D51A3BF6D5466FC165E8F01793F2ACD(L_27, L_28, L_29, L_30, L_31, NULL);
  16562. V_5 = L_32;
  16563. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33 = ___1_bone2;
  16564. NullCheck(L_33);
  16565. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  16566. L_34 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_33, NULL);
  16567. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_35 = ___0_bone1;
  16568. NullCheck(L_35);
  16569. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  16570. L_36 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_35, NULL);
  16571. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  16572. L_37 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_34, L_36, NULL);
  16573. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_5;
  16574. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39;
  16575. L_39 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_37, L_38, NULL);
  16576. V_6 = L_39;
  16577. float L_40 = ___5_weight;
  16578. if ((!(((float)L_40) < ((float)(1.0f)))))
  16579. {
  16580. goto IL_00b8;
  16581. }
  16582. }
  16583. {
  16584. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41;
  16585. L_41 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  16586. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42 = V_6;
  16587. float L_43 = ___5_weight;
  16588. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44;
  16589. L_44 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_41, L_42, L_43, NULL);
  16590. V_6 = L_44;
  16591. }
  16592. IL_00b8:
  16593. {
  16594. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_45 = ___0_bone1;
  16595. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_46 = V_6;
  16596. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_47 = ___0_bone1;
  16597. NullCheck(L_47);
  16598. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_48;
  16599. L_48 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_47, NULL);
  16600. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_49;
  16601. L_49 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_46, L_48, NULL);
  16602. NullCheck(L_45);
  16603. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_45, L_49, NULL);
  16604. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_50 = ___2_bone3;
  16605. NullCheck(L_50);
  16606. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
  16607. L_51 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_50, NULL);
  16608. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_52 = ___1_bone2;
  16609. NullCheck(L_52);
  16610. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
  16611. L_53 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_52, NULL);
  16612. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
  16613. L_54 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_51, L_53, NULL);
  16614. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = ___3_targetPosition;
  16615. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_56 = ___1_bone2;
  16616. NullCheck(L_56);
  16617. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  16618. L_57 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_56, NULL);
  16619. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
  16620. L_58 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_55, L_57, NULL);
  16621. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59;
  16622. L_59 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_54, L_58, NULL);
  16623. V_7 = L_59;
  16624. float L_60 = ___5_weight;
  16625. if ((!(((float)L_60) < ((float)(1.0f)))))
  16626. {
  16627. goto IL_0108;
  16628. }
  16629. }
  16630. {
  16631. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_61;
  16632. L_61 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  16633. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62 = V_7;
  16634. float L_63 = ___5_weight;
  16635. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_64;
  16636. L_64 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_61, L_62, L_63, NULL);
  16637. V_7 = L_64;
  16638. }
  16639. IL_0108:
  16640. {
  16641. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_65 = ___1_bone2;
  16642. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66 = V_7;
  16643. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_67 = ___1_bone2;
  16644. NullCheck(L_67);
  16645. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_68;
  16646. L_68 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_67, NULL);
  16647. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69;
  16648. L_69 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_66, L_68, NULL);
  16649. NullCheck(L_65);
  16650. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_65, L_69, NULL);
  16651. return;
  16652. }
  16653. }
  16654. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverTrigonometric_GetDirectionToBendPoint_m71840FAB5D51A3BF6D5466FC165E8F01793F2ACD (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, float ___1_directionMag, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_bendDirection, float ___3_sqrMag1, float ___4_sqrMag2, const RuntimeMethod* method)
  16655. {
  16656. static bool s_Il2CppMethodInitialized;
  16657. if (!s_Il2CppMethodInitialized)
  16658. {
  16659. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  16660. s_Il2CppMethodInitialized = true;
  16661. }
  16662. float V_0 = 0.0f;
  16663. float V_1 = 0.0f;
  16664. {
  16665. float L_0 = ___1_directionMag;
  16666. float L_1 = ___1_directionMag;
  16667. float L_2 = ___3_sqrMag1;
  16668. float L_3 = ___4_sqrMag2;
  16669. float L_4 = ___1_directionMag;
  16670. V_0 = ((float)(((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_subtract(L_2, L_3))))/(2.0f)))/L_4));
  16671. float L_5 = ___3_sqrMag1;
  16672. float L_6 = V_0;
  16673. float L_7 = V_0;
  16674. float L_8;
  16675. L_8 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_subtract(L_5, ((float)il2cpp_codegen_multiply(L_6, L_7)))), (0.0f), (std::numeric_limits<float>::infinity()), NULL);
  16676. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  16677. double L_9;
  16678. L_9 = sqrt(((double)L_8));
  16679. V_1 = ((float)L_9);
  16680. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_direction;
  16681. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  16682. L_11 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  16683. bool L_12;
  16684. L_12 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_10, L_11, NULL);
  16685. if (!L_12)
  16686. {
  16687. goto IL_0040;
  16688. }
  16689. }
  16690. {
  16691. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  16692. L_13 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  16693. return L_13;
  16694. }
  16695. IL_0040:
  16696. {
  16697. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___0_direction;
  16698. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = ___2_bendDirection;
  16699. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
  16700. L_16 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_14, L_15, NULL);
  16701. float L_17 = V_1;
  16702. float L_18 = V_0;
  16703. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  16704. memset((&L_19), 0, sizeof(L_19));
  16705. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_19), (0.0f), L_17, L_18, NULL);
  16706. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  16707. L_20 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_16, L_19, NULL);
  16708. return L_20;
  16709. }
  16710. }
  16711. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_OnInitiate_m38BA0C5236A2FF1261651D4C14A6928A7121F5BD (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16712. {
  16713. {
  16714. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___bendNormal;
  16715. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  16716. L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  16717. bool L_2;
  16718. L_2 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_0, L_1, NULL);
  16719. if (!L_2)
  16720. {
  16721. goto IL_001d;
  16722. }
  16723. }
  16724. {
  16725. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  16726. L_3 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  16727. __this->___bendNormal = L_3;
  16728. }
  16729. IL_001d:
  16730. {
  16731. VirtualActionInvoker0::Invoke(12, __this);
  16732. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_4 = __this->___bone3;
  16733. NullCheck(L_4);
  16734. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_4)->___transform;
  16735. NullCheck(L_5);
  16736. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  16737. L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
  16738. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_6;
  16739. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_7 = __this->___bone3;
  16740. NullCheck(L_7);
  16741. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_7)->___transform;
  16742. NullCheck(L_8);
  16743. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
  16744. L_9 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_8, NULL);
  16745. __this->___IKRotation = L_9;
  16746. IKSolverTrigonometric_InitiateBones_m96A48AF5D6AA22C3213B6DC5BF13B2CCDAD32853(__this, NULL);
  16747. bool L_10;
  16748. L_10 = IKSolverTrigonometric_IsDirectHierarchy_m31566C1619A597911C8B7C92472110A08038675C(__this, NULL);
  16749. __this->___directHierarchy = L_10;
  16750. return;
  16751. }
  16752. }
  16753. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverTrigonometric_IsDirectHierarchy_m31566C1619A597911C8B7C92472110A08038675C (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16754. {
  16755. static bool s_Il2CppMethodInitialized;
  16756. if (!s_Il2CppMethodInitialized)
  16757. {
  16758. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16759. s_Il2CppMethodInitialized = true;
  16760. }
  16761. {
  16762. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_0 = __this->___bone3;
  16763. NullCheck(L_0);
  16764. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_0)->___transform;
  16765. NullCheck(L_1);
  16766. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
  16767. L_2 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_1, NULL);
  16768. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_3 = __this->___bone2;
  16769. NullCheck(L_3);
  16770. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_3)->___transform;
  16771. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16772. bool L_5;
  16773. L_5 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_2, L_4, NULL);
  16774. if (!L_5)
  16775. {
  16776. goto IL_0024;
  16777. }
  16778. }
  16779. {
  16780. return (bool)0;
  16781. }
  16782. IL_0024:
  16783. {
  16784. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_6 = __this->___bone2;
  16785. NullCheck(L_6);
  16786. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6)->___transform;
  16787. NullCheck(L_7);
  16788. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8;
  16789. L_8 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_7, NULL);
  16790. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_9 = __this->___bone1;
  16791. NullCheck(L_9);
  16792. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_9)->___transform;
  16793. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16794. bool L_11;
  16795. L_11 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_8, L_10, NULL);
  16796. if (!L_11)
  16797. {
  16798. goto IL_0048;
  16799. }
  16800. }
  16801. {
  16802. return (bool)0;
  16803. }
  16804. IL_0048:
  16805. {
  16806. return (bool)1;
  16807. }
  16808. }
  16809. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_InitiateBones_m96A48AF5D6AA22C3213B6DC5BF13B2CCDAD32853 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16810. {
  16811. {
  16812. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_0 = __this->___bone1;
  16813. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_1 = __this->___bone2;
  16814. NullCheck(L_1);
  16815. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_1)->___transform;
  16816. NullCheck(L_2);
  16817. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  16818. L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
  16819. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___bendNormal;
  16820. NullCheck(L_0);
  16821. TrigonometricBone_Initiate_m256090C19B80B9611A364114DA50A0A9C9B17B5A(L_0, L_3, L_4, NULL);
  16822. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_5 = __this->___bone2;
  16823. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_6 = __this->___bone3;
  16824. NullCheck(L_6);
  16825. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_6)->___transform;
  16826. NullCheck(L_7);
  16827. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  16828. L_8 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_7, NULL);
  16829. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = __this->___bendNormal;
  16830. NullCheck(L_5);
  16831. TrigonometricBone_Initiate_m256090C19B80B9611A364114DA50A0A9C9B17B5A(L_5, L_8, L_9, NULL);
  16832. IKSolverTrigonometric_SetBendPlaneToCurrent_mEAC5A0EE470E97DB2906B7C0A38C1C84DAF2C597(__this, NULL);
  16833. return;
  16834. }
  16835. }
  16836. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_OnUpdate_m095860E3A6BF48722663BE55A6DB0406D5CFEB51 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  16837. {
  16838. static bool s_Il2CppMethodInitialized;
  16839. if (!s_Il2CppMethodInitialized)
  16840. {
  16841. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16842. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var);
  16843. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7ECBAEE2FECD5B71D96F3F87A85F788A2B8C74B4);
  16844. s_Il2CppMethodInitialized = true;
  16845. }
  16846. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  16847. memset((&V_0), 0, sizeof(V_0));
  16848. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  16849. memset((&V_1), 0, sizeof(V_1));
  16850. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  16851. memset((&V_2), 0, sizeof(V_2));
  16852. {
  16853. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  16854. float L_1;
  16855. L_1 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_0, (0.0f), (1.0f), NULL);
  16856. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight = L_1;
  16857. float L_2 = __this->___IKRotationWeight;
  16858. float L_3;
  16859. L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_2, (0.0f), (1.0f), NULL);
  16860. __this->___IKRotationWeight = L_3;
  16861. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___target;
  16862. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16863. bool L_5;
  16864. L_5 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_4, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16865. if (!L_5)
  16866. {
  16867. goto IL_0066;
  16868. }
  16869. }
  16870. {
  16871. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = __this->___target;
  16872. NullCheck(L_6);
  16873. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  16874. L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
  16875. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition = L_7;
  16876. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = __this->___target;
  16877. NullCheck(L_8);
  16878. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
  16879. L_9 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_8, NULL);
  16880. __this->___IKRotation = L_9;
  16881. }
  16882. IL_0066:
  16883. {
  16884. VirtualActionInvoker0::Invoke(13, __this);
  16885. float L_10 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  16886. if ((!(((float)L_10) > ((float)(0.0f)))))
  16887. {
  16888. goto IL_026d;
  16889. }
  16890. }
  16891. {
  16892. bool L_11 = __this->___directHierarchy;
  16893. if (L_11)
  16894. {
  16895. goto IL_00c6;
  16896. }
  16897. }
  16898. {
  16899. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_12 = __this->___bone1;
  16900. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_13 = __this->___bone2;
  16901. NullCheck(L_13);
  16902. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_13)->___transform;
  16903. NullCheck(L_14);
  16904. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  16905. L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
  16906. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = __this->___bendNormal;
  16907. NullCheck(L_12);
  16908. TrigonometricBone_Initiate_m256090C19B80B9611A364114DA50A0A9C9B17B5A(L_12, L_15, L_16, NULL);
  16909. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_17 = __this->___bone2;
  16910. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_18 = __this->___bone3;
  16911. NullCheck(L_18);
  16912. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_18)->___transform;
  16913. NullCheck(L_19);
  16914. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  16915. L_20 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_19, NULL);
  16916. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = __this->___bendNormal;
  16917. NullCheck(L_17);
  16918. TrigonometricBone_Initiate_m256090C19B80B9611A364114DA50A0A9C9B17B5A(L_17, L_20, L_21, NULL);
  16919. }
  16920. IL_00c6:
  16921. {
  16922. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_22 = __this->___bone1;
  16923. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_23 = __this->___bone2;
  16924. NullCheck(L_23);
  16925. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_23)->___transform;
  16926. NullCheck(L_24);
  16927. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  16928. L_25 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_24, NULL);
  16929. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_26 = __this->___bone1;
  16930. NullCheck(L_26);
  16931. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_26)->___transform;
  16932. NullCheck(L_27);
  16933. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
  16934. L_28 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_27, NULL);
  16935. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
  16936. L_29 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_25, L_28, NULL);
  16937. V_2 = L_29;
  16938. float L_30;
  16939. L_30 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_2), NULL);
  16940. NullCheck(L_22);
  16941. ((Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)L_22)->___sqrMag = L_30;
  16942. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_31 = __this->___bone2;
  16943. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_32 = __this->___bone3;
  16944. NullCheck(L_32);
  16945. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_32)->___transform;
  16946. NullCheck(L_33);
  16947. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  16948. L_34 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_33, NULL);
  16949. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_35 = __this->___bone2;
  16950. NullCheck(L_35);
  16951. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_35)->___transform;
  16952. NullCheck(L_36);
  16953. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  16954. L_37 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_36, NULL);
  16955. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
  16956. L_38 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_34, L_37, NULL);
  16957. V_2 = L_38;
  16958. float L_39;
  16959. L_39 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_2), NULL);
  16960. NullCheck(L_31);
  16961. ((Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)L_31)->___sqrMag = L_39;
  16962. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = __this->___bendNormal;
  16963. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
  16964. L_41 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  16965. bool L_42;
  16966. L_42 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_40, L_41, NULL);
  16967. if (!L_42)
  16968. {
  16969. goto IL_015a;
  16970. }
  16971. }
  16972. {
  16973. bool L_43 = ((Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_StaticFields*)il2cpp_codegen_static_fields_for(Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var))->___logged;
  16974. if (L_43)
  16975. {
  16976. goto IL_015a;
  16977. }
  16978. }
  16979. {
  16980. IKSolver_LogWarning_m66446B7D574CE93C2316D03D5850B7C4A4B7A6FB(__this, _stringLiteral7ECBAEE2FECD5B71D96F3F87A85F788A2B8C74B4, NULL);
  16981. }
  16982. IL_015a:
  16983. {
  16984. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_44 = __this->___bone3;
  16985. NullCheck(L_44);
  16986. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_45 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_44)->___transform;
  16987. NullCheck(L_45);
  16988. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
  16989. L_46 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_45, NULL);
  16990. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPosition;
  16991. float L_48 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  16992. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
  16993. L_49 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_46, L_47, L_48, NULL);
  16994. __this->___weightIKPosition = L_49;
  16995. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_50 = __this->___bone1;
  16996. NullCheck(L_50);
  16997. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
  16998. L_51 = TrigonometricBone_GetBendNormalFromCurrentRotation_mC6228E20EE9B222D620EA8410762778D2EDF4AE4(L_50, NULL);
  16999. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = __this->___bendNormal;
  17000. float L_53 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  17001. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
  17002. L_54 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_51, L_52, L_53, NULL);
  17003. V_0 = L_54;
  17004. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_55 = __this->___bone2;
  17005. NullCheck(L_55);
  17006. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_56 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_55)->___transform;
  17007. NullCheck(L_56);
  17008. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  17009. L_57 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_56, NULL);
  17010. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_58 = __this->___bone1;
  17011. NullCheck(L_58);
  17012. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_59 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_58)->___transform;
  17013. NullCheck(L_59);
  17014. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
  17015. L_60 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_59, NULL);
  17016. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
  17017. L_61 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_57, L_60, NULL);
  17018. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = __this->___weightIKPosition;
  17019. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = V_0;
  17020. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
  17021. L_64 = IKSolverTrigonometric_GetBendDirection_mDBEEEFA23C4045C38067D0004B058E1BF4D3DCAE(__this, L_62, L_63, NULL);
  17022. float L_65 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  17023. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
  17024. L_66 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_61, L_64, L_65, NULL);
  17025. V_1 = L_66;
  17026. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_1;
  17027. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
  17028. L_68 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  17029. bool L_69;
  17030. L_69 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_67, L_68, NULL);
  17031. if (!L_69)
  17032. {
  17033. goto IL_020f;
  17034. }
  17035. }
  17036. {
  17037. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_70 = __this->___bone2;
  17038. NullCheck(L_70);
  17039. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_71 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_70)->___transform;
  17040. NullCheck(L_71);
  17041. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
  17042. L_72 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_71, NULL);
  17043. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_73 = __this->___bone1;
  17044. NullCheck(L_73);
  17045. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_74 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_73)->___transform;
  17046. NullCheck(L_74);
  17047. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
  17048. L_75 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_74, NULL);
  17049. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
  17050. L_76 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_72, L_75, NULL);
  17051. V_1 = L_76;
  17052. }
  17053. IL_020f:
  17054. {
  17055. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_77 = __this->___bone1;
  17056. NullCheck(L_77);
  17057. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_78 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_77)->___transform;
  17058. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_79 = __this->___bone1;
  17059. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = V_1;
  17060. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81 = V_0;
  17061. NullCheck(L_79);
  17062. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_82;
  17063. L_82 = TrigonometricBone_GetRotation_mF72E793049CF59C0835AB6B1055677596018EA5F(L_79, L_80, L_81, NULL);
  17064. NullCheck(L_78);
  17065. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_78, L_82, NULL);
  17066. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_83 = __this->___bone2;
  17067. NullCheck(L_83);
  17068. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_84 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_83)->___transform;
  17069. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_85 = __this->___bone2;
  17070. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86 = __this->___weightIKPosition;
  17071. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_87 = __this->___bone2;
  17072. NullCheck(L_87);
  17073. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_88 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_87)->___transform;
  17074. NullCheck(L_88);
  17075. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
  17076. L_89 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_88, NULL);
  17077. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
  17078. L_90 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_86, L_89, NULL);
  17079. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_91 = __this->___bone2;
  17080. NullCheck(L_91);
  17081. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
  17082. L_92 = TrigonometricBone_GetBendNormalFromCurrentRotation_mC6228E20EE9B222D620EA8410762778D2EDF4AE4(L_91, NULL);
  17083. NullCheck(L_85);
  17084. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_93;
  17085. L_93 = TrigonometricBone_GetRotation_mF72E793049CF59C0835AB6B1055677596018EA5F(L_85, L_90, L_92, NULL);
  17086. NullCheck(L_84);
  17087. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_84, L_93, NULL);
  17088. }
  17089. IL_026d:
  17090. {
  17091. float L_94 = __this->___IKRotationWeight;
  17092. if ((!(((float)L_94) > ((float)(0.0f)))))
  17093. {
  17094. goto IL_02ab;
  17095. }
  17096. }
  17097. {
  17098. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_95 = __this->___bone3;
  17099. NullCheck(L_95);
  17100. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_96 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_95)->___transform;
  17101. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_97 = __this->___bone3;
  17102. NullCheck(L_97);
  17103. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_98 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_97)->___transform;
  17104. NullCheck(L_98);
  17105. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_99;
  17106. L_99 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_98, NULL);
  17107. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_100 = __this->___IKRotation;
  17108. float L_101 = __this->___IKRotationWeight;
  17109. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_102;
  17110. L_102 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_99, L_100, L_101, NULL);
  17111. NullCheck(L_96);
  17112. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_96, L_102, NULL);
  17113. }
  17114. IL_02ab:
  17115. {
  17116. VirtualActionInvoker0::Invoke(14, __this);
  17117. return;
  17118. }
  17119. }
  17120. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_OnInitiateVirtual_m6C0ACE037B76B86A6AE84DB266BB6446C717BB3E (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  17121. {
  17122. {
  17123. return;
  17124. }
  17125. }
  17126. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_OnUpdateVirtual_mDBF7FB9177CBFBF0A28C76C39C70C1720266B0A0 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  17127. {
  17128. {
  17129. return;
  17130. }
  17131. }
  17132. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_OnPostSolveVirtual_m8CBA441280DE0FE754AD57A2863F52BA5D3AF97C (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  17133. {
  17134. {
  17135. return;
  17136. }
  17137. }
  17138. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverTrigonometric_GetBendDirection_mDBEEEFA23C4045C38067D0004B058E1BF4D3DCAE (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_IKPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_bendNormal, const RuntimeMethod* method)
  17139. {
  17140. static bool s_Il2CppMethodInitialized;
  17141. if (!s_Il2CppMethodInitialized)
  17142. {
  17143. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  17144. s_Il2CppMethodInitialized = true;
  17145. }
  17146. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17147. memset((&V_0), 0, sizeof(V_0));
  17148. float V_1 = 0.0f;
  17149. float V_2 = 0.0f;
  17150. float V_3 = 0.0f;
  17151. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  17152. memset((&V_4), 0, sizeof(V_4));
  17153. {
  17154. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_IKPosition;
  17155. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_1 = __this->___bone1;
  17156. NullCheck(L_1);
  17157. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)L_1)->___transform;
  17158. NullCheck(L_2);
  17159. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  17160. L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
  17161. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  17162. L_4 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_0, L_3, NULL);
  17163. V_0 = L_4;
  17164. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = V_0;
  17165. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  17166. L_6 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  17167. bool L_7;
  17168. L_7 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_5, L_6, NULL);
  17169. if (!L_7)
  17170. {
  17171. goto IL_002a;
  17172. }
  17173. }
  17174. {
  17175. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  17176. L_8 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  17177. return L_8;
  17178. }
  17179. IL_002a:
  17180. {
  17181. float L_9;
  17182. L_9 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_0), NULL);
  17183. float L_10 = L_9;
  17184. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  17185. double L_11;
  17186. L_11 = sqrt(((double)L_10));
  17187. V_1 = ((float)L_11);
  17188. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_12 = __this->___bone1;
  17189. NullCheck(L_12);
  17190. float L_13 = ((Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)L_12)->___sqrMag;
  17191. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_14 = __this->___bone2;
  17192. NullCheck(L_14);
  17193. float L_15 = ((Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)L_14)->___sqrMag;
  17194. float L_16 = V_1;
  17195. V_2 = ((float)(((float)(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_10, L_13)), L_15))/(2.0f)))/L_16));
  17196. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_17 = __this->___bone1;
  17197. NullCheck(L_17);
  17198. float L_18 = ((Bone_t4919609BA704B58863DE225EF1304AAAC4D675A6*)L_17)->___sqrMag;
  17199. float L_19 = V_2;
  17200. float L_20 = V_2;
  17201. float L_21;
  17202. L_21 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_subtract(L_18, ((float)il2cpp_codegen_multiply(L_19, L_20)))), (0.0f), (std::numeric_limits<float>::infinity()), NULL);
  17203. double L_22;
  17204. L_22 = sqrt(((double)L_21));
  17205. V_3 = ((float)L_22);
  17206. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = V_0;
  17207. float L_24 = V_1;
  17208. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  17209. L_25 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_23, L_24, NULL);
  17210. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = ___1_bendNormal;
  17211. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  17212. L_27 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_25, L_26, NULL);
  17213. V_4 = L_27;
  17214. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_0;
  17215. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_4;
  17216. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
  17217. L_30 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_28, L_29, NULL);
  17218. float L_31 = V_3;
  17219. float L_32 = V_2;
  17220. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
  17221. memset((&L_33), 0, sizeof(L_33));
  17222. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_33), (0.0f), L_31, L_32, NULL);
  17223. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  17224. L_34 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_30, L_33, NULL);
  17225. return L_34;
  17226. }
  17227. }
  17228. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric__ctor_mE83F64AEC3DCBEC0316F59036574A00AD9894616 (IKSolverTrigonometric_t3417253B53BDDBD845222E3E0158167A133F2DFE* __this, const RuntimeMethod* method)
  17229. {
  17230. static bool s_Il2CppMethodInitialized;
  17231. if (!s_Il2CppMethodInitialized)
  17232. {
  17233. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C_il2cpp_TypeInfo_var);
  17234. s_Il2CppMethodInitialized = true;
  17235. }
  17236. {
  17237. __this->___IKRotationWeight = (1.0f);
  17238. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0;
  17239. L_0 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  17240. __this->___IKRotation = L_0;
  17241. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  17242. L_1 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  17243. __this->___bendNormal = L_1;
  17244. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_2 = (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C*)il2cpp_codegen_object_new(TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C_il2cpp_TypeInfo_var);
  17245. TrigonometricBone__ctor_m1524861EFA327C398224766BC039DEBB7D6E90A2(L_2, NULL);
  17246. __this->___bone1 = L_2;
  17247. Il2CppCodeGenWriteBarrier((void**)(&__this->___bone1), (void*)L_2);
  17248. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_3 = (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C*)il2cpp_codegen_object_new(TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C_il2cpp_TypeInfo_var);
  17249. TrigonometricBone__ctor_m1524861EFA327C398224766BC039DEBB7D6E90A2(L_3, NULL);
  17250. __this->___bone2 = L_3;
  17251. Il2CppCodeGenWriteBarrier((void**)(&__this->___bone2), (void*)L_3);
  17252. TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* L_4 = (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C*)il2cpp_codegen_object_new(TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C_il2cpp_TypeInfo_var);
  17253. TrigonometricBone__ctor_m1524861EFA327C398224766BC039DEBB7D6E90A2(L_4, NULL);
  17254. __this->___bone3 = L_4;
  17255. Il2CppCodeGenWriteBarrier((void**)(&__this->___bone3), (void*)L_4);
  17256. __this->___directHierarchy = (bool)1;
  17257. IKSolver__ctor_mF80BFDB950365AD0B8E8ACB9A26E78C8DDC9B3DC(__this, NULL);
  17258. return;
  17259. }
  17260. }
  17261. #ifdef __clang__
  17262. #pragma clang diagnostic pop
  17263. #endif
  17264. #ifdef __clang__
  17265. #pragma clang diagnostic push
  17266. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  17267. #pragma clang diagnostic ignored "-Wunused-variable"
  17268. #endif
  17269. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrigonometricBone_Initiate_m256090C19B80B9611A364114DA50A0A9C9B17B5A (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_childPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_bendNormal, const RuntimeMethod* method)
  17270. {
  17271. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  17272. memset((&V_0), 0, sizeof(V_0));
  17273. {
  17274. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_childPosition;
  17275. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform;
  17276. NullCheck(L_1);
  17277. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  17278. L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
  17279. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  17280. L_3 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_0, L_2, NULL);
  17281. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___1_bendNormal;
  17282. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  17283. L_5 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_3, L_4, NULL);
  17284. V_0 = L_5;
  17285. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform;
  17286. NullCheck(L_6);
  17287. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
  17288. L_7 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_6, NULL);
  17289. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = V_0;
  17290. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
  17291. L_9 = QuaTools_RotationToLocalSpace_m1159D06966D66C93705A46511CE556BDBA561178(L_7, L_8, NULL);
  17292. __this->___targetToLocalSpace = L_9;
  17293. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform;
  17294. NullCheck(L_10);
  17295. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  17296. L_11 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_10, NULL);
  17297. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
  17298. L_12 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_11, NULL);
  17299. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___1_bendNormal;
  17300. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  17301. L_14 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_12, L_13, NULL);
  17302. __this->___defaultLocalBendNormal = L_14;
  17303. return;
  17304. }
  17305. }
  17306. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 TrigonometricBone_GetRotation_mF72E793049CF59C0835AB6B1055677596018EA5F (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_bendNormal, const RuntimeMethod* method)
  17307. {
  17308. {
  17309. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_direction;
  17310. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_bendNormal;
  17311. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  17312. L_2 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_0, L_1, NULL);
  17313. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = __this->___targetToLocalSpace;
  17314. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  17315. L_4 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_2, L_3, NULL);
  17316. return L_4;
  17317. }
  17318. }
  17319. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TrigonometricBone_GetBendNormalFromCurrentRotation_mC6228E20EE9B222D620EA8410762778D2EDF4AE4 (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* __this, const RuntimeMethod* method)
  17320. {
  17321. {
  17322. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ((Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)__this)->___transform;
  17323. NullCheck(L_0);
  17324. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
  17325. L_1 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_0, NULL);
  17326. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___defaultLocalBendNormal;
  17327. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  17328. L_3 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_1, L_2, NULL);
  17329. return L_3;
  17330. }
  17331. }
  17332. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrigonometricBone__ctor_m1524861EFA327C398224766BC039DEBB7D6E90A2 (TrigonometricBone_tDA5BB834017C09C8AD46610A315D67C1BF744B9C* __this, const RuntimeMethod* method)
  17333. {
  17334. {
  17335. Bone__ctor_m3A52FF10CE476DA9437CA1427B4670068EB079EF(__this, NULL);
  17336. return;
  17337. }
  17338. }
  17339. #ifdef __clang__
  17340. #pragma clang diagnostic pop
  17341. #endif
  17342. #ifdef __clang__
  17343. #pragma clang diagnostic push
  17344. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  17345. #pragma clang diagnostic ignored "-Wunused-variable"
  17346. #endif
  17347. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_SetToReferences_m92460984AC721C13EBAF8BA41EEE0987B97EDC5C (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, References_t0121F43F3544E7A8D35268152FCACCE8522923C6* ___0_references, const RuntimeMethod* method)
  17348. {
  17349. static bool s_Il2CppMethodInitialized;
  17350. if (!s_Il2CppMethodInitialized)
  17351. {
  17352. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  17353. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17354. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var);
  17355. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
  17356. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1D6F03F3BCF180B1867F699B93505C9E6D66DD3F);
  17357. s_Il2CppMethodInitialized = true;
  17358. }
  17359. IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* G_B4_0 = NULL;
  17360. IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* G_B3_0 = NULL;
  17361. int32_t G_B5_0 = 0;
  17362. IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* G_B5_1 = NULL;
  17363. IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* G_B7_0 = NULL;
  17364. IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* G_B6_0 = NULL;
  17365. int32_t G_B8_0 = 0;
  17366. IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* G_B8_1 = NULL;
  17367. {
  17368. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_0 = ___0_references;
  17369. NullCheck(L_0);
  17370. bool L_1;
  17371. L_1 = References_get_isFilled_mB4AECD9FD7E86B1F5F91EC123C275A9448862082(L_0, NULL);
  17372. if (L_1)
  17373. {
  17374. goto IL_0013;
  17375. }
  17376. }
  17377. {
  17378. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  17379. Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral1D6F03F3BCF180B1867F699B93505C9E6D66DD3F, NULL);
  17380. return;
  17381. }
  17382. IL_0013:
  17383. {
  17384. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_2 = ___0_references;
  17385. NullCheck(L_2);
  17386. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_3;
  17387. L_3 = References_GetTransforms_mB1B23F1922A06432C754C54FCF01331130E64716(L_2, NULL);
  17388. __this->___solverTransforms = L_3;
  17389. Il2CppCodeGenWriteBarrier((void**)(&__this->___solverTransforms), (void*)L_3);
  17390. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_4 = __this->___solverTransforms;
  17391. NullCheck(L_4);
  17392. int32_t L_5 = 3;
  17393. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  17394. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17395. bool L_7;
  17396. L_7 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_6, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17397. __this->___hasChest = L_7;
  17398. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_8 = __this->___solverTransforms;
  17399. NullCheck(L_8);
  17400. int32_t L_9 = 4;
  17401. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  17402. bool L_11;
  17403. L_11 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17404. __this->___hasNeck = L_11;
  17405. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_12 = __this->___solverTransforms;
  17406. NullCheck(L_12);
  17407. int32_t L_13 = 6;
  17408. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  17409. bool L_15;
  17410. L_15 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_14, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17411. if (!L_15)
  17412. {
  17413. G_B4_0 = __this;
  17414. goto IL_0069;
  17415. }
  17416. G_B3_0 = __this;
  17417. }
  17418. {
  17419. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_16 = __this->___solverTransforms;
  17420. NullCheck(L_16);
  17421. int32_t L_17 = ((int32_t)10);
  17422. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  17423. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17424. bool L_19;
  17425. L_19 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_18, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17426. G_B5_0 = ((int32_t)(L_19));
  17427. G_B5_1 = G_B3_0;
  17428. goto IL_006a;
  17429. }
  17430. IL_0069:
  17431. {
  17432. G_B5_0 = 0;
  17433. G_B5_1 = G_B4_0;
  17434. }
  17435. IL_006a:
  17436. {
  17437. NullCheck(G_B5_1);
  17438. G_B5_1->___hasShoulders = (bool)G_B5_0;
  17439. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_20 = __this->___solverTransforms;
  17440. NullCheck(L_20);
  17441. int32_t L_21 = ((int32_t)17);
  17442. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
  17443. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17444. bool L_23;
  17445. L_23 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_22, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17446. if (!L_23)
  17447. {
  17448. G_B7_0 = __this;
  17449. goto IL_0092;
  17450. }
  17451. G_B6_0 = __this;
  17452. }
  17453. {
  17454. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_24 = __this->___solverTransforms;
  17455. NullCheck(L_24);
  17456. int32_t L_25 = ((int32_t)21);
  17457. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  17458. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17459. bool L_27;
  17460. L_27 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_26, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17461. G_B8_0 = ((int32_t)(L_27));
  17462. G_B8_1 = G_B6_0;
  17463. goto IL_0093;
  17464. }
  17465. IL_0092:
  17466. {
  17467. G_B8_0 = 0;
  17468. G_B8_1 = G_B7_0;
  17469. }
  17470. IL_0093:
  17471. {
  17472. NullCheck(G_B8_1);
  17473. G_B8_1->___hasToes = (bool)G_B8_0;
  17474. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_28 = __this->___solverTransforms;
  17475. NullCheck(L_28);
  17476. int32_t L_29 = ((int32_t)14);
  17477. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_30 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  17478. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17479. bool L_31;
  17480. L_31 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_30, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17481. __this->___hasLegs = L_31;
  17482. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_32 = __this->___solverTransforms;
  17483. NullCheck(L_32);
  17484. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_33 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)));
  17485. __this->___readPositions = L_33;
  17486. Il2CppCodeGenWriteBarrier((void**)(&__this->___readPositions), (void*)L_33);
  17487. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_34 = __this->___solverTransforms;
  17488. NullCheck(L_34);
  17489. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_35 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)SZArrayNew(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_34)->max_length)));
  17490. __this->___readRotations = L_35;
  17491. Il2CppCodeGenWriteBarrier((void**)(&__this->___readRotations), (void*)L_35);
  17492. IKSolverVR_DefaultAnimationCurves_m546EBAC9ABCFE53268DA1DF663920B37DA2C9C29(__this, NULL);
  17493. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_36 = ___0_references;
  17494. IKSolverVR_GuessHandOrientations_mCBF4C4B0A474BB93524751D8051995019FE03CB4(__this, L_36, (bool)1, NULL);
  17495. return;
  17496. }
  17497. }
  17498. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_GuessHandOrientations_mCBF4C4B0A474BB93524751D8051995019FE03CB4 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, References_t0121F43F3544E7A8D35268152FCACCE8522923C6* ___0_references, bool ___1_onlyIfZero, const RuntimeMethod* method)
  17499. {
  17500. static bool s_Il2CppMethodInitialized;
  17501. if (!s_Il2CppMethodInitialized)
  17502. {
  17503. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  17504. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCC13510D8AF402FBAF000507B4CE95A8C9297767);
  17505. s_Il2CppMethodInitialized = true;
  17506. }
  17507. {
  17508. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_0 = ___0_references;
  17509. NullCheck(L_0);
  17510. bool L_1;
  17511. L_1 = References_get_isFilled_mB4AECD9FD7E86B1F5F91EC123C275A9448862082(L_0, NULL);
  17512. if (L_1)
  17513. {
  17514. goto IL_0019;
  17515. }
  17516. }
  17517. {
  17518. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_2 = ___0_references;
  17519. NullCheck(L_2);
  17520. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = L_2->___root;
  17521. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  17522. Debug_LogWarning_m23033D7E2F0F298BE465B7F3A63CDF40A4EB70EB(_stringLiteralCC13510D8AF402FBAF000507B4CE95A8C9297767, L_3, NULL);
  17523. return;
  17524. }
  17525. IL_0019:
  17526. {
  17527. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_4 = __this->___leftArm;
  17528. NullCheck(L_4);
  17529. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = L_4->___wristToPalmAxis;
  17530. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  17531. L_6 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  17532. bool L_7;
  17533. L_7 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_5, L_6, NULL);
  17534. if (L_7)
  17535. {
  17536. goto IL_0033;
  17537. }
  17538. }
  17539. {
  17540. bool L_8 = ___1_onlyIfZero;
  17541. if (L_8)
  17542. {
  17543. goto IL_004f;
  17544. }
  17545. }
  17546. IL_0033:
  17547. {
  17548. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_9 = __this->___leftArm;
  17549. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_10 = ___0_references;
  17550. NullCheck(L_10);
  17551. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = L_10->___leftHand;
  17552. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_12 = ___0_references;
  17553. NullCheck(L_12);
  17554. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = L_12->___leftForearm;
  17555. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  17556. L_14 = VRIKCalibrator_GuessWristToPalmAxis_m0AE1B709E4BC17D1FF6377F1B854D0DF6D281FA3(L_11, L_13, NULL);
  17557. NullCheck(L_9);
  17558. L_9->___wristToPalmAxis = L_14;
  17559. }
  17560. IL_004f:
  17561. {
  17562. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_15 = __this->___leftArm;
  17563. NullCheck(L_15);
  17564. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = L_15->___palmToThumbAxis;
  17565. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  17566. L_17 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  17567. bool L_18;
  17568. L_18 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_16, L_17, NULL);
  17569. if (L_18)
  17570. {
  17571. goto IL_0069;
  17572. }
  17573. }
  17574. {
  17575. bool L_19 = ___1_onlyIfZero;
  17576. if (L_19)
  17577. {
  17578. goto IL_0085;
  17579. }
  17580. }
  17581. IL_0069:
  17582. {
  17583. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_20 = __this->___leftArm;
  17584. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_21 = ___0_references;
  17585. NullCheck(L_21);
  17586. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = L_21->___leftHand;
  17587. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_23 = ___0_references;
  17588. NullCheck(L_23);
  17589. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = L_23->___leftForearm;
  17590. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  17591. L_25 = VRIKCalibrator_GuessPalmToThumbAxis_m0828887A63875E75077B1CEE7B19F0914C7477DA(L_22, L_24, NULL);
  17592. NullCheck(L_20);
  17593. L_20->___palmToThumbAxis = L_25;
  17594. }
  17595. IL_0085:
  17596. {
  17597. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_26 = __this->___rightArm;
  17598. NullCheck(L_26);
  17599. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = L_26->___wristToPalmAxis;
  17600. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
  17601. L_28 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  17602. bool L_29;
  17603. L_29 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_27, L_28, NULL);
  17604. if (L_29)
  17605. {
  17606. goto IL_009f;
  17607. }
  17608. }
  17609. {
  17610. bool L_30 = ___1_onlyIfZero;
  17611. if (L_30)
  17612. {
  17613. goto IL_00bb;
  17614. }
  17615. }
  17616. IL_009f:
  17617. {
  17618. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_31 = __this->___rightArm;
  17619. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_32 = ___0_references;
  17620. NullCheck(L_32);
  17621. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33 = L_32->___rightHand;
  17622. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_34 = ___0_references;
  17623. NullCheck(L_34);
  17624. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_35 = L_34->___rightForearm;
  17625. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  17626. L_36 = VRIKCalibrator_GuessWristToPalmAxis_m0AE1B709E4BC17D1FF6377F1B854D0DF6D281FA3(L_33, L_35, NULL);
  17627. NullCheck(L_31);
  17628. L_31->___wristToPalmAxis = L_36;
  17629. }
  17630. IL_00bb:
  17631. {
  17632. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_37 = __this->___rightArm;
  17633. NullCheck(L_37);
  17634. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = L_37->___palmToThumbAxis;
  17635. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
  17636. L_39 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  17637. bool L_40;
  17638. L_40 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_38, L_39, NULL);
  17639. if (L_40)
  17640. {
  17641. goto IL_00d5;
  17642. }
  17643. }
  17644. {
  17645. bool L_41 = ___1_onlyIfZero;
  17646. if (L_41)
  17647. {
  17648. goto IL_00f1;
  17649. }
  17650. }
  17651. IL_00d5:
  17652. {
  17653. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_42 = __this->___rightArm;
  17654. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_43 = ___0_references;
  17655. NullCheck(L_43);
  17656. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_44 = L_43->___rightHand;
  17657. References_t0121F43F3544E7A8D35268152FCACCE8522923C6* L_45 = ___0_references;
  17658. NullCheck(L_45);
  17659. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_46 = L_45->___rightForearm;
  17660. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
  17661. L_47 = VRIKCalibrator_GuessPalmToThumbAxis_m0828887A63875E75077B1CEE7B19F0914C7477DA(L_44, L_46, NULL);
  17662. NullCheck(L_42);
  17663. L_42->___palmToThumbAxis = L_47;
  17664. }
  17665. IL_00f1:
  17666. {
  17667. return;
  17668. }
  17669. }
  17670. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_DefaultAnimationCurves_m546EBAC9ABCFE53268DA1DF663920B37DA2C9C29 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  17671. {
  17672. static bool s_Il2CppMethodInitialized;
  17673. if (!s_Il2CppMethodInitialized)
  17674. {
  17675. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
  17676. s_Il2CppMethodInitialized = true;
  17677. }
  17678. {
  17679. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_0 = __this->___locomotion;
  17680. NullCheck(L_0);
  17681. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_1 = L_0->___stepHeight;
  17682. if (L_1)
  17683. {
  17684. goto IL_001d;
  17685. }
  17686. }
  17687. {
  17688. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_2 = __this->___locomotion;
  17689. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_3 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354*)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
  17690. AnimationCurve__ctor_m0D976567166F92383307DC8EB8D7082CD34E226F(L_3, NULL);
  17691. NullCheck(L_2);
  17692. L_2->___stepHeight = L_3;
  17693. Il2CppCodeGenWriteBarrier((void**)(&L_2->___stepHeight), (void*)L_3);
  17694. }
  17695. IL_001d:
  17696. {
  17697. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_4 = __this->___locomotion;
  17698. NullCheck(L_4);
  17699. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_5 = L_4->___heelHeight;
  17700. if (L_5)
  17701. {
  17702. goto IL_003a;
  17703. }
  17704. }
  17705. {
  17706. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_6 = __this->___locomotion;
  17707. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_7 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354*)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
  17708. AnimationCurve__ctor_m0D976567166F92383307DC8EB8D7082CD34E226F(L_7, NULL);
  17709. NullCheck(L_6);
  17710. L_6->___heelHeight = L_7;
  17711. Il2CppCodeGenWriteBarrier((void**)(&L_6->___heelHeight), (void*)L_7);
  17712. }
  17713. IL_003a:
  17714. {
  17715. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_8 = __this->___locomotion;
  17716. NullCheck(L_8);
  17717. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_9 = L_8->___stepHeight;
  17718. NullCheck(L_9);
  17719. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_10;
  17720. L_10 = AnimationCurve_get_keys_m34452C69464AB459C04BFFEA4F541F06B419AC4E(L_9, NULL);
  17721. NullCheck(L_10);
  17722. if ((((RuntimeArray*)L_10)->max_length))
  17723. {
  17724. goto IL_0067;
  17725. }
  17726. }
  17727. {
  17728. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_11 = __this->___locomotion;
  17729. NullCheck(L_11);
  17730. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_12 = L_11->___stepHeight;
  17731. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_13;
  17732. L_13 = IKSolverVR_GetSineKeyframes_mC269016DF971058CD72330AE34027F91279BADE7((0.0299999993f), NULL);
  17733. NullCheck(L_12);
  17734. AnimationCurve_set_keys_mBE1284B44CDBB1D8381177A3D581A6E71467F95C(L_12, L_13, NULL);
  17735. }
  17736. IL_0067:
  17737. {
  17738. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_14 = __this->___locomotion;
  17739. NullCheck(L_14);
  17740. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_15 = L_14->___heelHeight;
  17741. NullCheck(L_15);
  17742. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_16;
  17743. L_16 = AnimationCurve_get_keys_m34452C69464AB459C04BFFEA4F541F06B419AC4E(L_15, NULL);
  17744. NullCheck(L_16);
  17745. if ((((RuntimeArray*)L_16)->max_length))
  17746. {
  17747. goto IL_0094;
  17748. }
  17749. }
  17750. {
  17751. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_17 = __this->___locomotion;
  17752. NullCheck(L_17);
  17753. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_18 = L_17->___heelHeight;
  17754. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_19;
  17755. L_19 = IKSolverVR_GetSineKeyframes_mC269016DF971058CD72330AE34027F91279BADE7((0.0299999993f), NULL);
  17756. NullCheck(L_18);
  17757. AnimationCurve_set_keys_mBE1284B44CDBB1D8381177A3D581A6E71467F95C(L_18, L_19, NULL);
  17758. }
  17759. IL_0094:
  17760. {
  17761. return;
  17762. }
  17763. }
  17764. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_AddPositionOffset_m24FBDB83F0B714A23C1688F511AADE08B116E02E (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, int32_t ___0_positionOffset, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_value, const RuntimeMethod* method)
  17765. {
  17766. {
  17767. int32_t L_0 = ___0_positionOffset;
  17768. switch (L_0)
  17769. {
  17770. case 0:
  17771. {
  17772. goto IL_002b;
  17773. }
  17774. case 1:
  17775. {
  17776. goto IL_0043;
  17777. }
  17778. case 2:
  17779. {
  17780. goto IL_005b;
  17781. }
  17782. case 3:
  17783. {
  17784. goto IL_0073;
  17785. }
  17786. case 4:
  17787. {
  17788. goto IL_008b;
  17789. }
  17790. case 5:
  17791. {
  17792. goto IL_00a3;
  17793. }
  17794. case 6:
  17795. {
  17796. goto IL_00bb;
  17797. }
  17798. case 7:
  17799. {
  17800. goto IL_00d3;
  17801. }
  17802. case 8:
  17803. {
  17804. goto IL_00eb;
  17805. }
  17806. }
  17807. }
  17808. {
  17809. return;
  17810. }
  17811. IL_002b:
  17812. {
  17813. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_1 = __this->___spine;
  17814. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_2 = L_1;
  17815. NullCheck(L_2);
  17816. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = L_2->___pelvisPositionOffset;
  17817. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___1_value;
  17818. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  17819. L_5 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_3, L_4, NULL);
  17820. NullCheck(L_2);
  17821. L_2->___pelvisPositionOffset = L_5;
  17822. return;
  17823. }
  17824. IL_0043:
  17825. {
  17826. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_6 = __this->___spine;
  17827. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_7 = L_6;
  17828. NullCheck(L_7);
  17829. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = L_7->___chestPositionOffset;
  17830. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___1_value;
  17831. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  17832. L_10 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_8, L_9, NULL);
  17833. NullCheck(L_7);
  17834. L_7->___chestPositionOffset = L_10;
  17835. return;
  17836. }
  17837. IL_005b:
  17838. {
  17839. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_11 = __this->___spine;
  17840. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_12 = L_11;
  17841. NullCheck(L_12);
  17842. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = L_12->___headPositionOffset;
  17843. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___1_value;
  17844. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  17845. L_15 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_13, L_14, NULL);
  17846. NullCheck(L_12);
  17847. L_12->___headPositionOffset = L_15;
  17848. return;
  17849. }
  17850. IL_0073:
  17851. {
  17852. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_16 = __this->___leftArm;
  17853. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_17 = L_16;
  17854. NullCheck(L_17);
  17855. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = L_17->___handPositionOffset;
  17856. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = ___1_value;
  17857. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  17858. L_20 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_18, L_19, NULL);
  17859. NullCheck(L_17);
  17860. L_17->___handPositionOffset = L_20;
  17861. return;
  17862. }
  17863. IL_008b:
  17864. {
  17865. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_21 = __this->___rightArm;
  17866. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_22 = L_21;
  17867. NullCheck(L_22);
  17868. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = L_22->___handPositionOffset;
  17869. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = ___1_value;
  17870. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  17871. L_25 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_23, L_24, NULL);
  17872. NullCheck(L_22);
  17873. L_22->___handPositionOffset = L_25;
  17874. return;
  17875. }
  17876. IL_00a3:
  17877. {
  17878. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_26 = __this->___leftLeg;
  17879. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_27 = L_26;
  17880. NullCheck(L_27);
  17881. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = L_27->___footPositionOffset;
  17882. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = ___1_value;
  17883. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  17884. L_30 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_28, L_29, NULL);
  17885. NullCheck(L_27);
  17886. L_27->___footPositionOffset = L_30;
  17887. return;
  17888. }
  17889. IL_00bb:
  17890. {
  17891. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_31 = __this->___rightLeg;
  17892. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_32 = L_31;
  17893. NullCheck(L_32);
  17894. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = L_32->___footPositionOffset;
  17895. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = ___1_value;
  17896. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  17897. L_35 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_33, L_34, NULL);
  17898. NullCheck(L_32);
  17899. L_32->___footPositionOffset = L_35;
  17900. return;
  17901. }
  17902. IL_00d3:
  17903. {
  17904. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_36 = __this->___leftLeg;
  17905. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_37 = L_36;
  17906. NullCheck(L_37);
  17907. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = L_37->___heelPositionOffset;
  17908. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = ___1_value;
  17909. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
  17910. L_40 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_38, L_39, NULL);
  17911. NullCheck(L_37);
  17912. L_37->___heelPositionOffset = L_40;
  17913. return;
  17914. }
  17915. IL_00eb:
  17916. {
  17917. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_41 = __this->___rightLeg;
  17918. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_42 = L_41;
  17919. NullCheck(L_42);
  17920. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = L_42->___heelPositionOffset;
  17921. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = ___1_value;
  17922. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
  17923. L_45 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_43, L_44, NULL);
  17924. NullCheck(L_42);
  17925. L_42->___heelPositionOffset = L_45;
  17926. return;
  17927. }
  17928. }
  17929. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_AddRotationOffset_mC7F7EB15B8F71A949B5428F50C512653EE7665D7 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, int32_t ___0_rotationOffset, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_value, const RuntimeMethod* method)
  17930. {
  17931. {
  17932. int32_t L_0 = ___0_rotationOffset;
  17933. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_value;
  17934. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  17935. L_2 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_1, NULL);
  17936. IKSolverVR_AddRotationOffset_m056188497CD85FADD698407413DE08D630791A1F(__this, L_0, L_2, NULL);
  17937. return;
  17938. }
  17939. }
  17940. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_AddRotationOffset_m056188497CD85FADD698407413DE08D630791A1F (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, int32_t ___0_rotationOffset, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_value, const RuntimeMethod* method)
  17941. {
  17942. {
  17943. int32_t L_0 = ___0_rotationOffset;
  17944. switch (L_0)
  17945. {
  17946. case 0:
  17947. {
  17948. goto IL_0013;
  17949. }
  17950. case 1:
  17951. {
  17952. goto IL_0030;
  17953. }
  17954. case 2:
  17955. {
  17956. goto IL_004d;
  17957. }
  17958. }
  17959. }
  17960. {
  17961. return;
  17962. }
  17963. IL_0013:
  17964. {
  17965. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_1 = __this->___spine;
  17966. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___1_value;
  17967. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_3 = __this->___spine;
  17968. NullCheck(L_3);
  17969. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = L_3->___pelvisRotationOffset;
  17970. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  17971. L_5 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_2, L_4, NULL);
  17972. NullCheck(L_1);
  17973. L_1->___pelvisRotationOffset = L_5;
  17974. return;
  17975. }
  17976. IL_0030:
  17977. {
  17978. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_6 = __this->___spine;
  17979. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = ___1_value;
  17980. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_8 = __this->___spine;
  17981. NullCheck(L_8);
  17982. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8->___chestRotationOffset;
  17983. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
  17984. L_10 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_7, L_9, NULL);
  17985. NullCheck(L_6);
  17986. L_6->___chestRotationOffset = L_10;
  17987. return;
  17988. }
  17989. IL_004d:
  17990. {
  17991. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_11 = __this->___spine;
  17992. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___1_value;
  17993. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_13 = __this->___spine;
  17994. NullCheck(L_13);
  17995. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = L_13->___headRotationOffset;
  17996. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
  17997. L_15 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_12, L_14, NULL);
  17998. NullCheck(L_11);
  17999. L_11->___headRotationOffset = L_15;
  18000. return;
  18001. }
  18002. }
  18003. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_AddPlatformMotion_mD28282873713B4852CEC223C4451B86598737809 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_deltaPosition, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_deltaRotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_platformPivot, const RuntimeMethod* method)
  18004. {
  18005. {
  18006. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_0 = __this->___locomotion;
  18007. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_deltaPosition;
  18008. NullCheck(L_0);
  18009. Locomotion_AddDeltaPosition_m61BF65BAFCD63E4A0BC27181EDC8B70239AB533E(L_0, L_1, NULL);
  18010. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___raycastOriginPelvis;
  18011. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_deltaPosition;
  18012. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  18013. L_4 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_2, L_3, NULL);
  18014. __this->___raycastOriginPelvis = L_4;
  18015. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_5 = __this->___locomotion;
  18016. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_deltaRotation;
  18017. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___2_platformPivot;
  18018. NullCheck(L_5);
  18019. Locomotion_AddDeltaRotation_mFCC2028B2307513C5E4C38A411DC8F04A880E509(L_5, L_6, L_7, NULL);
  18020. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_8 = __this->___spine;
  18021. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = ___1_deltaRotation;
  18022. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_10 = __this->___spine;
  18023. NullCheck(L_10);
  18024. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = L_10->___faceDirection;
  18025. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  18026. L_12 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_9, L_11, NULL);
  18027. NullCheck(L_8);
  18028. L_8->___faceDirection = L_12;
  18029. return;
  18030. }
  18031. }
  18032. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_Reset_mD714F78A137A5F7A8CA77023FD6331BCB77143FA (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  18033. {
  18034. {
  18035. bool L_0;
  18036. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  18037. if (L_0)
  18038. {
  18039. goto IL_0009;
  18040. }
  18041. }
  18042. {
  18043. return;
  18044. }
  18045. IL_0009:
  18046. {
  18047. IKSolverVR_UpdateSolverTransforms_m901FC622D9EA101AC3E0C458F3E2984F3259DF28(__this, NULL);
  18048. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = __this->___readPositions;
  18049. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_2 = __this->___readRotations;
  18050. bool L_3 = __this->___hasChest;
  18051. bool L_4 = __this->___hasNeck;
  18052. bool L_5 = __this->___hasShoulders;
  18053. bool L_6 = __this->___hasToes;
  18054. bool L_7 = __this->___hasLegs;
  18055. IKSolverVR_Read_mD51260A061FB80FDCD583D972C535EDB42EAFF38(__this, L_1, L_2, L_3, L_4, L_5, L_6, L_7, NULL);
  18056. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_8 = __this->___spine;
  18057. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_9;
  18058. L_9 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  18059. NullCheck(L_9);
  18060. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = L_9->___readRotation;
  18061. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  18062. L_11 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  18063. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  18064. L_12 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_10, L_11, NULL);
  18065. NullCheck(L_8);
  18066. L_8->___faceDirection = L_12;
  18067. bool L_13 = __this->___hasLegs;
  18068. if (!L_13)
  18069. {
  18070. goto IL_0094;
  18071. }
  18072. }
  18073. {
  18074. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_14 = __this->___locomotion;
  18075. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_15 = __this->___readPositions;
  18076. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_16 = __this->___readRotations;
  18077. NullCheck(L_14);
  18078. Locomotion_Reset_m2C11E57AA2659815868C1B4DD657395D7D64F02B(L_14, L_15, L_16, NULL);
  18079. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_17 = __this->___spine;
  18080. NullCheck(L_17);
  18081. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_18;
  18082. L_18 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_17, NULL);
  18083. NullCheck(L_18);
  18084. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___readPosition;
  18085. __this->___raycastOriginPelvis = L_19;
  18086. }
  18087. IL_0094:
  18088. {
  18089. return;
  18090. }
  18091. }
  18092. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_StoreDefaultLocalState_m43C347C34F084B23F70F8D5B60BDBB260EFC04EA (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  18093. {
  18094. static bool s_Il2CppMethodInitialized;
  18095. if (!s_Il2CppMethodInitialized)
  18096. {
  18097. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  18098. s_Il2CppMethodInitialized = true;
  18099. }
  18100. int32_t V_0 = 0;
  18101. {
  18102. V_0 = 1;
  18103. goto IL_004e;
  18104. }
  18105. IL_0004:
  18106. {
  18107. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_0 = __this->___solverTransforms;
  18108. int32_t L_1 = V_0;
  18109. NullCheck(L_0);
  18110. int32_t L_2 = L_1;
  18111. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  18112. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  18113. bool L_4;
  18114. L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  18115. if (!L_4)
  18116. {
  18117. goto IL_004a;
  18118. }
  18119. }
  18120. {
  18121. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_5 = __this->___defaultLocalPositions;
  18122. int32_t L_6 = V_0;
  18123. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_7 = __this->___solverTransforms;
  18124. int32_t L_8 = V_0;
  18125. NullCheck(L_7);
  18126. int32_t L_9 = L_8;
  18127. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  18128. NullCheck(L_10);
  18129. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  18130. L_11 = Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95(L_10, NULL);
  18131. NullCheck(L_5);
  18132. (L_5)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_6, 1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_11);
  18133. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_12 = __this->___defaultLocalRotations;
  18134. int32_t L_13 = V_0;
  18135. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_14 = __this->___solverTransforms;
  18136. int32_t L_15 = V_0;
  18137. NullCheck(L_14);
  18138. int32_t L_16 = L_15;
  18139. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  18140. NullCheck(L_17);
  18141. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
  18142. L_18 = Transform_get_localRotation_mD53D37611A5DAE93EC6C7BBCAC337408C5CACA77(L_17, NULL);
  18143. NullCheck(L_12);
  18144. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_13, 1))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_18);
  18145. }
  18146. IL_004a:
  18147. {
  18148. int32_t L_19 = V_0;
  18149. V_0 = ((int32_t)il2cpp_codegen_add(L_19, 1));
  18150. }
  18151. IL_004e:
  18152. {
  18153. int32_t L_20 = V_0;
  18154. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_21 = __this->___solverTransforms;
  18155. NullCheck(L_21);
  18156. if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length)))))
  18157. {
  18158. goto IL_0004;
  18159. }
  18160. }
  18161. {
  18162. return;
  18163. }
  18164. }
  18165. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_FixTransforms_mFAF9F4B01DF757EFEC3AF6A0877D080AB34E2BD8 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  18166. {
  18167. static bool s_Il2CppMethodInitialized;
  18168. if (!s_Il2CppMethodInitialized)
  18169. {
  18170. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  18171. s_Il2CppMethodInitialized = true;
  18172. }
  18173. int32_t V_0 = 0;
  18174. bool V_1 = false;
  18175. bool V_2 = false;
  18176. int32_t G_B10_0 = 0;
  18177. int32_t G_B7_0 = 0;
  18178. int32_t G_B8_0 = 0;
  18179. int32_t G_B9_0 = 0;
  18180. int32_t G_B11_0 = 0;
  18181. int32_t G_B11_1 = 0;
  18182. int32_t G_B13_0 = 0;
  18183. int32_t G_B12_0 = 0;
  18184. int32_t G_B16_0 = 0;
  18185. int32_t G_B15_0 = 0;
  18186. int32_t G_B14_0 = 0;
  18187. int32_t G_B17_0 = 0;
  18188. int32_t G_B17_1 = 0;
  18189. {
  18190. bool L_0;
  18191. L_0 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  18192. if (L_0)
  18193. {
  18194. goto IL_0009;
  18195. }
  18196. }
  18197. {
  18198. return;
  18199. }
  18200. IL_0009:
  18201. {
  18202. int32_t L_1 = __this->___LOD;
  18203. if ((((int32_t)L_1) < ((int32_t)2)))
  18204. {
  18205. goto IL_0013;
  18206. }
  18207. }
  18208. {
  18209. return;
  18210. }
  18211. IL_0013:
  18212. {
  18213. V_0 = 1;
  18214. goto IL_00a3;
  18215. }
  18216. IL_001a:
  18217. {
  18218. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_2 = __this->___solverTransforms;
  18219. int32_t L_3 = V_0;
  18220. NullCheck(L_2);
  18221. int32_t L_4 = L_3;
  18222. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  18223. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  18224. bool L_6;
  18225. L_6 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  18226. if (!L_6)
  18227. {
  18228. goto IL_009f;
  18229. }
  18230. }
  18231. {
  18232. int32_t L_7 = V_0;
  18233. int32_t L_8 = V_0;
  18234. if ((((int32_t)L_8) == ((int32_t)8)))
  18235. {
  18236. G_B10_0 = ((((int32_t)L_7) == ((int32_t)1))? 1 : 0);
  18237. goto IL_0043;
  18238. }
  18239. G_B7_0 = ((((int32_t)L_7) == ((int32_t)1))? 1 : 0);
  18240. }
  18241. {
  18242. int32_t L_9 = V_0;
  18243. if ((((int32_t)L_9) == ((int32_t)((int32_t)9))))
  18244. {
  18245. G_B10_0 = G_B7_0;
  18246. goto IL_0043;
  18247. }
  18248. G_B8_0 = G_B7_0;
  18249. }
  18250. {
  18251. int32_t L_10 = V_0;
  18252. if ((((int32_t)L_10) == ((int32_t)((int32_t)12))))
  18253. {
  18254. G_B10_0 = G_B8_0;
  18255. goto IL_0043;
  18256. }
  18257. G_B9_0 = G_B8_0;
  18258. }
  18259. {
  18260. int32_t L_11 = V_0;
  18261. G_B11_0 = ((((int32_t)L_11) == ((int32_t)((int32_t)13)))? 1 : 0);
  18262. G_B11_1 = G_B9_0;
  18263. goto IL_0044;
  18264. }
  18265. IL_0043:
  18266. {
  18267. G_B11_0 = 1;
  18268. G_B11_1 = G_B10_0;
  18269. }
  18270. IL_0044:
  18271. {
  18272. V_1 = (bool)G_B11_0;
  18273. int32_t L_12 = V_0;
  18274. if ((((int32_t)L_12) < ((int32_t)((int32_t)15))))
  18275. {
  18276. G_B13_0 = G_B11_1;
  18277. goto IL_004f;
  18278. }
  18279. G_B12_0 = G_B11_1;
  18280. }
  18281. {
  18282. int32_t L_13 = V_0;
  18283. if ((((int32_t)L_13) <= ((int32_t)((int32_t)17))))
  18284. {
  18285. G_B16_0 = G_B12_0;
  18286. goto IL_0061;
  18287. }
  18288. G_B13_0 = G_B12_0;
  18289. }
  18290. IL_004f:
  18291. {
  18292. int32_t L_14 = V_0;
  18293. if ((((int32_t)L_14) < ((int32_t)((int32_t)19))))
  18294. {
  18295. G_B15_0 = G_B13_0;
  18296. goto IL_005e;
  18297. }
  18298. G_B14_0 = G_B13_0;
  18299. }
  18300. {
  18301. int32_t L_15 = V_0;
  18302. G_B17_0 = ((((int32_t)((((int32_t)L_15) > ((int32_t)((int32_t)21)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
  18303. G_B17_1 = G_B14_0;
  18304. goto IL_0062;
  18305. }
  18306. IL_005e:
  18307. {
  18308. G_B17_0 = 0;
  18309. G_B17_1 = G_B15_0;
  18310. goto IL_0062;
  18311. }
  18312. IL_0061:
  18313. {
  18314. G_B17_0 = 1;
  18315. G_B17_1 = G_B16_0;
  18316. }
  18317. IL_0062:
  18318. {
  18319. V_2 = (bool)G_B17_0;
  18320. bool L_16 = V_1;
  18321. bool L_17 = V_2;
  18322. if (!((int32_t)(((int32_t)(G_B17_1|(int32_t)L_16))|(int32_t)L_17)))
  18323. {
  18324. goto IL_0084;
  18325. }
  18326. }
  18327. {
  18328. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_18 = __this->___solverTransforms;
  18329. int32_t L_19 = V_0;
  18330. NullCheck(L_18);
  18331. int32_t L_20 = L_19;
  18332. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  18333. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_22 = __this->___defaultLocalPositions;
  18334. int32_t L_23 = V_0;
  18335. NullCheck(L_22);
  18336. int32_t L_24 = ((int32_t)il2cpp_codegen_subtract(L_23, 1));
  18337. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  18338. NullCheck(L_21);
  18339. Transform_set_localPosition_mDE1C997F7D79C0885210B7732B4BA50EE7D73134(L_21, L_25, NULL);
  18340. }
  18341. IL_0084:
  18342. {
  18343. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_26 = __this->___solverTransforms;
  18344. int32_t L_27 = V_0;
  18345. NullCheck(L_26);
  18346. int32_t L_28 = L_27;
  18347. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
  18348. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_30 = __this->___defaultLocalRotations;
  18349. int32_t L_31 = V_0;
  18350. NullCheck(L_30);
  18351. int32_t L_32 = ((int32_t)il2cpp_codegen_subtract(L_31, 1));
  18352. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
  18353. NullCheck(L_29);
  18354. Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_29, L_33, NULL);
  18355. }
  18356. IL_009f:
  18357. {
  18358. int32_t L_34 = V_0;
  18359. V_0 = ((int32_t)il2cpp_codegen_add(L_34, 1));
  18360. }
  18361. IL_00a3:
  18362. {
  18363. int32_t L_35 = V_0;
  18364. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_36 = __this->___solverTransforms;
  18365. NullCheck(L_36);
  18366. if ((((int32_t)L_35) < ((int32_t)((int32_t)(((RuntimeArray*)L_36)->max_length)))))
  18367. {
  18368. goto IL_001a;
  18369. }
  18370. }
  18371. {
  18372. return;
  18373. }
  18374. }
  18375. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20* IKSolverVR_GetPoints_m2EDCAF3AA341C588496607BFFE1C45177FC76F95 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  18376. {
  18377. static bool s_Il2CppMethodInitialized;
  18378. if (!s_Il2CppMethodInitialized)
  18379. {
  18380. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  18381. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2FB530555C09803F87A6ADA1B3318A5F49AA8F9A);
  18382. s_Il2CppMethodInitialized = true;
  18383. }
  18384. {
  18385. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  18386. Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral2FB530555C09803F87A6ADA1B3318A5F49AA8F9A, NULL);
  18387. return (PointU5BU5D_t7DA72CA8B110440300CE9A3D0AD29AE3C962CB20*)NULL;
  18388. }
  18389. }
  18390. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* IKSolverVR_GetPoint_m39C1CB8AE3C801C817AAC96861CF4DFFF82FF680 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transform, const RuntimeMethod* method)
  18391. {
  18392. static bool s_Il2CppMethodInitialized;
  18393. if (!s_Il2CppMethodInitialized)
  18394. {
  18395. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  18396. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral447FB46AD325219F6D11D543414418B0FBD6A379);
  18397. s_Il2CppMethodInitialized = true;
  18398. }
  18399. {
  18400. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  18401. Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral447FB46AD325219F6D11D543414418B0FBD6A379, NULL);
  18402. return (Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19*)NULL;
  18403. }
  18404. }
  18405. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IKSolverVR_IsValid_mEF74526883C09FE78BE7BF56B7E5C97C49388008 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, String_t** ___0_message, const RuntimeMethod* method)
  18406. {
  18407. static bool s_Il2CppMethodInitialized;
  18408. if (!s_Il2CppMethodInitialized)
  18409. {
  18410. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral220475E96F0CD1E4FAA7516B9BD96935B7FFE3D0);
  18411. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral73FDD757E65793997C4CEECC490C50A599361CC4);
  18412. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7A7D3380A770DD5B4FD8C50AE3E7D2126A849EB6);
  18413. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC0A4FC1B518AF87B48F9CC61731D5E63437752E2);
  18414. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC485B4DA36F64DA3532446AC14AB6206B8DAA536);
  18415. s_Il2CppMethodInitialized = true;
  18416. }
  18417. {
  18418. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_0 = __this->___solverTransforms;
  18419. if (!L_0)
  18420. {
  18421. goto IL_0011;
  18422. }
  18423. }
  18424. {
  18425. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_1 = __this->___solverTransforms;
  18426. NullCheck(L_1);
  18427. if ((((RuntimeArray*)L_1)->max_length))
  18428. {
  18429. goto IL_001a;
  18430. }
  18431. }
  18432. IL_0011:
  18433. {
  18434. String_t** L_2 = ___0_message;
  18435. *((RuntimeObject**)L_2) = (RuntimeObject*)_stringLiteral220475E96F0CD1E4FAA7516B9BD96935B7FFE3D0;
  18436. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_2, (void*)(RuntimeObject*)_stringLiteral220475E96F0CD1E4FAA7516B9BD96935B7FFE3D0);
  18437. return (bool)0;
  18438. }
  18439. IL_001a:
  18440. {
  18441. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_3 = __this->___leftArm;
  18442. NullCheck(L_3);
  18443. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = L_3->___wristToPalmAxis;
  18444. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  18445. L_5 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  18446. bool L_6;
  18447. L_6 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_4, L_5, NULL);
  18448. if (!L_6)
  18449. {
  18450. goto IL_003a;
  18451. }
  18452. }
  18453. {
  18454. String_t** L_7 = ___0_message;
  18455. *((RuntimeObject**)L_7) = (RuntimeObject*)_stringLiteral7A7D3380A770DD5B4FD8C50AE3E7D2126A849EB6;
  18456. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_7, (void*)(RuntimeObject*)_stringLiteral7A7D3380A770DD5B4FD8C50AE3E7D2126A849EB6);
  18457. return (bool)0;
  18458. }
  18459. IL_003a:
  18460. {
  18461. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_8 = __this->___rightArm;
  18462. NullCheck(L_8);
  18463. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = L_8->___wristToPalmAxis;
  18464. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  18465. L_10 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  18466. bool L_11;
  18467. L_11 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_9, L_10, NULL);
  18468. if (!L_11)
  18469. {
  18470. goto IL_005a;
  18471. }
  18472. }
  18473. {
  18474. String_t** L_12 = ___0_message;
  18475. *((RuntimeObject**)L_12) = (RuntimeObject*)_stringLiteral73FDD757E65793997C4CEECC490C50A599361CC4;
  18476. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_12, (void*)(RuntimeObject*)_stringLiteral73FDD757E65793997C4CEECC490C50A599361CC4);
  18477. return (bool)0;
  18478. }
  18479. IL_005a:
  18480. {
  18481. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_13 = __this->___leftArm;
  18482. NullCheck(L_13);
  18483. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___palmToThumbAxis;
  18484. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  18485. L_15 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  18486. bool L_16;
  18487. L_16 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_14, L_15, NULL);
  18488. if (!L_16)
  18489. {
  18490. goto IL_007a;
  18491. }
  18492. }
  18493. {
  18494. String_t** L_17 = ___0_message;
  18495. *((RuntimeObject**)L_17) = (RuntimeObject*)_stringLiteralC485B4DA36F64DA3532446AC14AB6206B8DAA536;
  18496. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_17, (void*)(RuntimeObject*)_stringLiteralC485B4DA36F64DA3532446AC14AB6206B8DAA536);
  18497. return (bool)0;
  18498. }
  18499. IL_007a:
  18500. {
  18501. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_18 = __this->___rightArm;
  18502. NullCheck(L_18);
  18503. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___palmToThumbAxis;
  18504. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  18505. L_20 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  18506. bool L_21;
  18507. L_21 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_19, L_20, NULL);
  18508. if (!L_21)
  18509. {
  18510. goto IL_009a;
  18511. }
  18512. }
  18513. {
  18514. String_t** L_22 = ___0_message;
  18515. *((RuntimeObject**)L_22) = (RuntimeObject*)_stringLiteralC0A4FC1B518AF87B48F9CC61731D5E63437752E2;
  18516. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_22, (void*)(RuntimeObject*)_stringLiteralC0A4FC1B518AF87B48F9CC61731D5E63437752E2);
  18517. return (bool)0;
  18518. }
  18519. IL_009a:
  18520. {
  18521. return (bool)1;
  18522. }
  18523. }
  18524. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverVR_GetNormal_m0E052CAEB5429529F7095B1EBB91527FF3E5809A (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___0_transforms, const RuntimeMethod* method)
  18525. {
  18526. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  18527. memset((&V_0), 0, sizeof(V_0));
  18528. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  18529. memset((&V_1), 0, sizeof(V_1));
  18530. int32_t V_2 = 0;
  18531. int32_t V_3 = 0;
  18532. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  18533. memset((&V_4), 0, sizeof(V_4));
  18534. {
  18535. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  18536. L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  18537. V_0 = L_0;
  18538. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  18539. L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  18540. V_1 = L_1;
  18541. V_2 = 0;
  18542. goto IL_0023;
  18543. }
  18544. IL_0010:
  18545. {
  18546. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_1;
  18547. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_3 = ___0_transforms;
  18548. int32_t L_4 = V_2;
  18549. NullCheck(L_3);
  18550. int32_t L_5 = L_4;
  18551. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  18552. NullCheck(L_6);
  18553. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  18554. L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
  18555. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  18556. L_8 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_2, L_7, NULL);
  18557. V_1 = L_8;
  18558. int32_t L_9 = V_2;
  18559. V_2 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  18560. }
  18561. IL_0023:
  18562. {
  18563. int32_t L_10 = V_2;
  18564. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_11 = ___0_transforms;
  18565. NullCheck(L_11);
  18566. if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
  18567. {
  18568. goto IL_0010;
  18569. }
  18570. }
  18571. {
  18572. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = V_1;
  18573. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_13 = ___0_transforms;
  18574. NullCheck(L_13);
  18575. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  18576. L_14 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_12, ((float)((int32_t)(((RuntimeArray*)L_13)->max_length))), NULL);
  18577. V_1 = L_14;
  18578. V_3 = 0;
  18579. goto IL_006f;
  18580. }
  18581. IL_0038:
  18582. {
  18583. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_0;
  18584. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_16 = ___0_transforms;
  18585. int32_t L_17 = V_3;
  18586. NullCheck(L_16);
  18587. int32_t L_18 = L_17;
  18588. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  18589. NullCheck(L_19);
  18590. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  18591. L_20 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_19, NULL);
  18592. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = V_1;
  18593. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  18594. L_22 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_20, L_21, NULL);
  18595. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_23 = ___0_transforms;
  18596. int32_t L_24 = V_3;
  18597. NullCheck(L_23);
  18598. int32_t L_25 = ((int32_t)il2cpp_codegen_add(L_24, 1));
  18599. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  18600. NullCheck(L_26);
  18601. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  18602. L_27 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_26, NULL);
  18603. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_1;
  18604. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
  18605. L_29 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_27, L_28, NULL);
  18606. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  18607. L_30 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_22, L_29, NULL);
  18608. V_4 = L_30;
  18609. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  18610. L_31 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_4), NULL);
  18611. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
  18612. L_32 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_31, NULL);
  18613. V_0 = L_32;
  18614. int32_t L_33 = V_3;
  18615. V_3 = ((int32_t)il2cpp_codegen_add(L_33, 1));
  18616. }
  18617. IL_006f:
  18618. {
  18619. int32_t L_34 = V_3;
  18620. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_35 = ___0_transforms;
  18621. NullCheck(L_35);
  18622. if ((((int32_t)L_34) < ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_35)->max_length)), 1)))))
  18623. {
  18624. goto IL_0038;
  18625. }
  18626. }
  18627. {
  18628. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_0;
  18629. return L_36;
  18630. }
  18631. }
  18632. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* IKSolverVR_GetSineKeyframes_mC269016DF971058CD72330AE34027F91279BADE7 (float ___0_mag, const RuntimeMethod* method)
  18633. {
  18634. static bool s_Il2CppMethodInitialized;
  18635. if (!s_Il2CppMethodInitialized)
  18636. {
  18637. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var);
  18638. s_Il2CppMethodInitialized = true;
  18639. }
  18640. {
  18641. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_0 = (KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)SZArrayNew(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var, (uint32_t)3);
  18642. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_1 = L_0;
  18643. NullCheck(L_1);
  18644. Keyframe_set_time_m98F165193486C0DF1611B562016595B18052A2D6(((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))), (0.0f), NULL);
  18645. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_2 = L_1;
  18646. NullCheck(L_2);
  18647. Keyframe_set_value_m396D6040A4AB72ED5B9797E8C92DD806FA6F5431(((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))), (0.0f), NULL);
  18648. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_3 = L_2;
  18649. NullCheck(L_3);
  18650. Keyframe_set_time_m98F165193486C0DF1611B562016595B18052A2D6(((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(1))), (0.5f), NULL);
  18651. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_4 = L_3;
  18652. NullCheck(L_4);
  18653. float L_5 = ___0_mag;
  18654. Keyframe_set_value_m396D6040A4AB72ED5B9797E8C92DD806FA6F5431(((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(1))), L_5, NULL);
  18655. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_6 = L_4;
  18656. NullCheck(L_6);
  18657. Keyframe_set_time_m98F165193486C0DF1611B562016595B18052A2D6(((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(2))), (1.0f), NULL);
  18658. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_7 = L_6;
  18659. NullCheck(L_7);
  18660. Keyframe_set_value_m396D6040A4AB72ED5B9797E8C92DD806FA6F5431(((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(2))), (0.0f), NULL);
  18661. return L_7;
  18662. }
  18663. }
  18664. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_UpdateSolverTransforms_m901FC622D9EA101AC3E0C458F3E2984F3259DF28 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  18665. {
  18666. static bool s_Il2CppMethodInitialized;
  18667. if (!s_Il2CppMethodInitialized)
  18668. {
  18669. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  18670. s_Il2CppMethodInitialized = true;
  18671. }
  18672. int32_t V_0 = 0;
  18673. {
  18674. V_0 = 0;
  18675. goto IL_004a;
  18676. }
  18677. IL_0004:
  18678. {
  18679. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_0 = __this->___solverTransforms;
  18680. int32_t L_1 = V_0;
  18681. NullCheck(L_0);
  18682. int32_t L_2 = L_1;
  18683. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  18684. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  18685. bool L_4;
  18686. L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  18687. if (!L_4)
  18688. {
  18689. goto IL_0046;
  18690. }
  18691. }
  18692. {
  18693. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_5 = __this->___readPositions;
  18694. int32_t L_6 = V_0;
  18695. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_7 = __this->___solverTransforms;
  18696. int32_t L_8 = V_0;
  18697. NullCheck(L_7);
  18698. int32_t L_9 = L_8;
  18699. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  18700. NullCheck(L_10);
  18701. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  18702. L_11 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_10, NULL);
  18703. NullCheck(L_5);
  18704. (L_5)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_11);
  18705. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_12 = __this->___readRotations;
  18706. int32_t L_13 = V_0;
  18707. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_14 = __this->___solverTransforms;
  18708. int32_t L_15 = V_0;
  18709. NullCheck(L_14);
  18710. int32_t L_16 = L_15;
  18711. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  18712. NullCheck(L_17);
  18713. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
  18714. L_18 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_17, NULL);
  18715. NullCheck(L_12);
  18716. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(L_13), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_18);
  18717. }
  18718. IL_0046:
  18719. {
  18720. int32_t L_19 = V_0;
  18721. V_0 = ((int32_t)il2cpp_codegen_add(L_19, 1));
  18722. }
  18723. IL_004a:
  18724. {
  18725. int32_t L_20 = V_0;
  18726. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_21 = __this->___solverTransforms;
  18727. NullCheck(L_21);
  18728. if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length)))))
  18729. {
  18730. goto IL_0004;
  18731. }
  18732. }
  18733. {
  18734. return;
  18735. }
  18736. }
  18737. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_OnInitiate_m9793229EBCAF3BEB0B54CDAF24CA2061FD910EBB (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  18738. {
  18739. {
  18740. IKSolverVR_UpdateSolverTransforms_m901FC622D9EA101AC3E0C458F3E2984F3259DF28(__this, NULL);
  18741. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = __this->___readPositions;
  18742. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_1 = __this->___readRotations;
  18743. bool L_2 = __this->___hasChest;
  18744. bool L_3 = __this->___hasNeck;
  18745. bool L_4 = __this->___hasShoulders;
  18746. bool L_5 = __this->___hasToes;
  18747. bool L_6 = __this->___hasLegs;
  18748. IKSolverVR_Read_mD51260A061FB80FDCD583D972C535EDB42EAFF38(__this, L_0, L_1, L_2, L_3, L_4, L_5, L_6, NULL);
  18749. return;
  18750. }
  18751. }
  18752. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_OnUpdate_mBE5592BB2A9268FF6C5209B4F6C20929B3A8A7B2 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  18753. {
  18754. bool V_0 = false;
  18755. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  18756. memset((&V_1), 0, sizeof(V_1));
  18757. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  18758. memset((&V_2), 0, sizeof(V_2));
  18759. {
  18760. float L_0 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  18761. if ((!(((float)L_0) > ((float)(0.0f)))))
  18762. {
  18763. goto IL_0260;
  18764. }
  18765. }
  18766. {
  18767. int32_t L_1 = __this->___LOD;
  18768. if ((((int32_t)L_1) >= ((int32_t)2)))
  18769. {
  18770. goto IL_01ae;
  18771. }
  18772. }
  18773. {
  18774. V_0 = (bool)0;
  18775. int32_t L_2 = __this->___lastLOD;
  18776. int32_t L_3 = __this->___LOD;
  18777. if ((((int32_t)L_2) == ((int32_t)L_3)))
  18778. {
  18779. goto IL_015e;
  18780. }
  18781. }
  18782. {
  18783. int32_t L_4 = __this->___lastLOD;
  18784. if ((!(((uint32_t)L_4) == ((uint32_t)2))))
  18785. {
  18786. goto IL_015e;
  18787. }
  18788. }
  18789. {
  18790. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_5 = __this->___spine;
  18791. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_6;
  18792. L_6 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  18793. NullCheck(L_6);
  18794. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = L_6->___readRotation;
  18795. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  18796. L_8 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  18797. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  18798. L_9 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_7, L_8, NULL);
  18799. NullCheck(L_5);
  18800. L_5->___faceDirection = L_9;
  18801. bool L_10 = __this->___hasLegs;
  18802. if (!L_10)
  18803. {
  18804. goto IL_015e;
  18805. }
  18806. }
  18807. {
  18808. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_11 = __this->___locomotion;
  18809. NullCheck(L_11);
  18810. float L_12 = L_11->___weight;
  18811. if ((!(((float)L_12) > ((float)(0.0f)))))
  18812. {
  18813. goto IL_0148;
  18814. }
  18815. }
  18816. {
  18817. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  18818. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_14 = __this->___spine;
  18819. NullCheck(L_14);
  18820. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = L_14->___headTarget;
  18821. NullCheck(L_15);
  18822. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  18823. L_16 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_15, NULL);
  18824. float L_17 = L_16.___x;
  18825. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  18826. NullCheck(L_18);
  18827. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  18828. L_19 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_18, NULL);
  18829. float L_20 = L_19.___y;
  18830. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_21 = __this->___spine;
  18831. NullCheck(L_21);
  18832. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = L_21->___headTarget;
  18833. NullCheck(L_22);
  18834. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  18835. L_23 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_22, NULL);
  18836. float L_24 = L_23.___z;
  18837. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  18838. memset((&L_25), 0, sizeof(L_25));
  18839. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_25), L_17, L_20, L_24, NULL);
  18840. NullCheck(L_13);
  18841. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_13, L_25, NULL);
  18842. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_26 = __this->___spine;
  18843. NullCheck(L_26);
  18844. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = L_26->___faceDirection;
  18845. V_1 = L_27;
  18846. (&V_1)->___y = (0.0f);
  18847. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  18848. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_1;
  18849. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_30 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  18850. NullCheck(L_30);
  18851. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  18852. L_31 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_30, NULL);
  18853. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32;
  18854. L_32 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_29, L_31, NULL);
  18855. NullCheck(L_28);
  18856. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_28, L_32, NULL);
  18857. IKSolverVR_UpdateSolverTransforms_m901FC622D9EA101AC3E0C458F3E2984F3259DF28(__this, NULL);
  18858. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_33 = __this->___readPositions;
  18859. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_34 = __this->___readRotations;
  18860. bool L_35 = __this->___hasChest;
  18861. bool L_36 = __this->___hasNeck;
  18862. bool L_37 = __this->___hasShoulders;
  18863. bool L_38 = __this->___hasToes;
  18864. bool L_39 = __this->___hasLegs;
  18865. IKSolverVR_Read_mD51260A061FB80FDCD583D972C535EDB42EAFF38(__this, L_33, L_34, L_35, L_36, L_37, L_38, L_39, NULL);
  18866. V_0 = (bool)1;
  18867. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_40 = __this->___locomotion;
  18868. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_41 = __this->___readPositions;
  18869. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_42 = __this->___readRotations;
  18870. NullCheck(L_40);
  18871. Locomotion_Reset_m2C11E57AA2659815868C1B4DD657395D7D64F02B(L_40, L_41, L_42, NULL);
  18872. }
  18873. IL_0148:
  18874. {
  18875. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_43 = __this->___spine;
  18876. NullCheck(L_43);
  18877. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_44;
  18878. L_44 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_43, NULL);
  18879. NullCheck(L_44);
  18880. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = L_44->___readPosition;
  18881. __this->___raycastOriginPelvis = L_45;
  18882. }
  18883. IL_015e:
  18884. {
  18885. bool L_46 = V_0;
  18886. if (L_46)
  18887. {
  18888. goto IL_0197;
  18889. }
  18890. }
  18891. {
  18892. IKSolverVR_UpdateSolverTransforms_m901FC622D9EA101AC3E0C458F3E2984F3259DF28(__this, NULL);
  18893. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_47 = __this->___readPositions;
  18894. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_48 = __this->___readRotations;
  18895. bool L_49 = __this->___hasChest;
  18896. bool L_50 = __this->___hasNeck;
  18897. bool L_51 = __this->___hasShoulders;
  18898. bool L_52 = __this->___hasToes;
  18899. bool L_53 = __this->___hasLegs;
  18900. IKSolverVR_Read_mD51260A061FB80FDCD583D972C535EDB42EAFF38(__this, L_47, L_48, L_49, L_50, L_51, L_52, L_53, NULL);
  18901. }
  18902. IL_0197:
  18903. {
  18904. IKSolverVR_Solve_m88E180654128DF65ABC3C22450260BB0198FA91D(__this, NULL);
  18905. IKSolverVR_Write_m51B13B7DDE7568ABDD5BBF081D48ED8BB482ED94(__this, NULL);
  18906. IKSolverVR_WriteTransforms_m03106C9EDFE2CB7E63C14922C4F789B00DFEB86A(__this, NULL);
  18907. goto IL_0260;
  18908. }
  18909. IL_01ae:
  18910. {
  18911. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_54 = __this->___locomotion;
  18912. NullCheck(L_54);
  18913. float L_55 = L_54->___weight;
  18914. if ((!(((float)L_55) > ((float)(0.0f)))))
  18915. {
  18916. goto IL_0260;
  18917. }
  18918. }
  18919. {
  18920. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_56 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  18921. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_57 = __this->___spine;
  18922. NullCheck(L_57);
  18923. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_58 = L_57->___headTarget;
  18924. NullCheck(L_58);
  18925. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
  18926. L_59 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_58, NULL);
  18927. float L_60 = L_59.___x;
  18928. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_61 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  18929. NullCheck(L_61);
  18930. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
  18931. L_62 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_61, NULL);
  18932. float L_63 = L_62.___y;
  18933. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_64 = __this->___spine;
  18934. NullCheck(L_64);
  18935. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_65 = L_64->___headTarget;
  18936. NullCheck(L_65);
  18937. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
  18938. L_66 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_65, NULL);
  18939. float L_67 = L_66.___z;
  18940. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
  18941. memset((&L_68), 0, sizeof(L_68));
  18942. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_68), L_60, L_63, L_67, NULL);
  18943. NullCheck(L_56);
  18944. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_56, L_68, NULL);
  18945. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_69 = __this->___spine;
  18946. NullCheck(L_69);
  18947. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_70 = L_69->___headTarget;
  18948. NullCheck(L_70);
  18949. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_71;
  18950. L_71 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_70, NULL);
  18951. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_72 = __this->___spine;
  18952. NullCheck(L_72);
  18953. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_73;
  18954. L_73 = Spine_get_anchorRelativeToHead_mC024F027EC9B56BDC1454C414C6F343B0A1924FE_inline(L_72, NULL);
  18955. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_74;
  18956. L_74 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_71, L_73, NULL);
  18957. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
  18958. L_75 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  18959. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
  18960. L_76 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_74, L_75, NULL);
  18961. V_2 = L_76;
  18962. (&V_2)->___y = (0.0f);
  18963. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_77 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  18964. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = V_2;
  18965. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_79 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  18966. NullCheck(L_79);
  18967. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
  18968. L_80 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_79, NULL);
  18969. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_81;
  18970. L_81 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_78, L_80, NULL);
  18971. NullCheck(L_77);
  18972. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_77, L_81, NULL);
  18973. }
  18974. IL_0260:
  18975. {
  18976. int32_t L_82 = __this->___LOD;
  18977. __this->___lastLOD = L_82;
  18978. return;
  18979. }
  18980. }
  18981. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_WriteTransforms_m03106C9EDFE2CB7E63C14922C4F789B00DFEB86A (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  18982. {
  18983. static bool s_Il2CppMethodInitialized;
  18984. if (!s_Il2CppMethodInitialized)
  18985. {
  18986. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  18987. s_Il2CppMethodInitialized = true;
  18988. }
  18989. int32_t V_0 = 0;
  18990. bool V_1 = false;
  18991. bool V_2 = false;
  18992. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  18993. memset((&V_3), 0, sizeof(V_3));
  18994. int32_t G_B6_0 = 0;
  18995. int32_t G_B3_0 = 0;
  18996. int32_t G_B4_0 = 0;
  18997. int32_t G_B5_0 = 0;
  18998. int32_t G_B7_0 = 0;
  18999. int32_t G_B7_1 = 0;
  19000. int32_t G_B9_0 = 0;
  19001. int32_t G_B8_0 = 0;
  19002. int32_t G_B12_0 = 0;
  19003. int32_t G_B11_0 = 0;
  19004. int32_t G_B10_0 = 0;
  19005. int32_t G_B13_0 = 0;
  19006. int32_t G_B13_1 = 0;
  19007. int32_t G_B15_0 = 0;
  19008. int32_t G_B14_0 = 0;
  19009. {
  19010. V_0 = 0;
  19011. goto IL_015b;
  19012. }
  19013. IL_0007:
  19014. {
  19015. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_0 = __this->___solverTransforms;
  19016. int32_t L_1 = V_0;
  19017. NullCheck(L_0);
  19018. int32_t L_2 = L_1;
  19019. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  19020. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  19021. bool L_4;
  19022. L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  19023. if (!L_4)
  19024. {
  19025. goto IL_0157;
  19026. }
  19027. }
  19028. {
  19029. int32_t L_5 = V_0;
  19030. int32_t L_6 = V_0;
  19031. if ((((int32_t)L_6) == ((int32_t)8)))
  19032. {
  19033. G_B6_0 = ((((int32_t)L_5) < ((int32_t)2))? 1 : 0);
  19034. goto IL_0033;
  19035. }
  19036. G_B3_0 = ((((int32_t)L_5) < ((int32_t)2))? 1 : 0);
  19037. }
  19038. {
  19039. int32_t L_7 = V_0;
  19040. if ((((int32_t)L_7) == ((int32_t)((int32_t)9))))
  19041. {
  19042. G_B6_0 = G_B3_0;
  19043. goto IL_0033;
  19044. }
  19045. G_B4_0 = G_B3_0;
  19046. }
  19047. {
  19048. int32_t L_8 = V_0;
  19049. if ((((int32_t)L_8) == ((int32_t)((int32_t)12))))
  19050. {
  19051. G_B6_0 = G_B4_0;
  19052. goto IL_0033;
  19053. }
  19054. G_B5_0 = G_B4_0;
  19055. }
  19056. {
  19057. int32_t L_9 = V_0;
  19058. G_B7_0 = ((((int32_t)L_9) == ((int32_t)((int32_t)13)))? 1 : 0);
  19059. G_B7_1 = G_B5_0;
  19060. goto IL_0034;
  19061. }
  19062. IL_0033:
  19063. {
  19064. G_B7_0 = 1;
  19065. G_B7_1 = G_B6_0;
  19066. }
  19067. IL_0034:
  19068. {
  19069. V_1 = (bool)G_B7_0;
  19070. int32_t L_10 = V_0;
  19071. if ((((int32_t)L_10) < ((int32_t)((int32_t)15))))
  19072. {
  19073. G_B9_0 = G_B7_1;
  19074. goto IL_003f;
  19075. }
  19076. G_B8_0 = G_B7_1;
  19077. }
  19078. {
  19079. int32_t L_11 = V_0;
  19080. if ((((int32_t)L_11) <= ((int32_t)((int32_t)17))))
  19081. {
  19082. G_B12_0 = G_B8_0;
  19083. goto IL_0051;
  19084. }
  19085. G_B9_0 = G_B8_0;
  19086. }
  19087. IL_003f:
  19088. {
  19089. int32_t L_12 = V_0;
  19090. if ((((int32_t)L_12) < ((int32_t)((int32_t)19))))
  19091. {
  19092. G_B11_0 = G_B9_0;
  19093. goto IL_004e;
  19094. }
  19095. G_B10_0 = G_B9_0;
  19096. }
  19097. {
  19098. int32_t L_13 = V_0;
  19099. G_B13_0 = ((((int32_t)((((int32_t)L_13) > ((int32_t)((int32_t)21)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
  19100. G_B13_1 = G_B10_0;
  19101. goto IL_0052;
  19102. }
  19103. IL_004e:
  19104. {
  19105. G_B13_0 = 0;
  19106. G_B13_1 = G_B11_0;
  19107. goto IL_0052;
  19108. }
  19109. IL_0051:
  19110. {
  19111. G_B13_0 = 1;
  19112. G_B13_1 = G_B12_0;
  19113. }
  19114. IL_0052:
  19115. {
  19116. V_2 = (bool)G_B13_0;
  19117. int32_t L_14 = __this->___LOD;
  19118. if ((((int32_t)L_14) <= ((int32_t)0)))
  19119. {
  19120. G_B15_0 = G_B13_1;
  19121. goto IL_0060;
  19122. }
  19123. G_B14_0 = G_B13_1;
  19124. }
  19125. {
  19126. V_1 = (bool)0;
  19127. V_2 = (bool)0;
  19128. G_B15_0 = G_B14_0;
  19129. }
  19130. IL_0060:
  19131. {
  19132. if (!G_B15_0)
  19133. {
  19134. goto IL_008e;
  19135. }
  19136. }
  19137. {
  19138. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_15 = __this->___solverTransforms;
  19139. int32_t L_16 = V_0;
  19140. NullCheck(L_15);
  19141. int32_t L_17 = L_16;
  19142. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  19143. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_19 = __this->___solverTransforms;
  19144. int32_t L_20 = V_0;
  19145. NullCheck(L_19);
  19146. int32_t L_21 = L_20;
  19147. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
  19148. NullCheck(L_22);
  19149. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  19150. L_23 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_22, NULL);
  19151. int32_t L_24 = V_0;
  19152. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  19153. L_25 = IKSolverVR_GetPosition_m41D78D6D9E6E94DDEF1CF697A0BC27284B2E3D1B(__this, L_24, NULL);
  19154. float L_26 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  19155. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  19156. L_27 = V3Tools_Lerp_mD7F7DC69008BC285AA91CB1B09570FE5FA3325B4(L_23, L_25, L_26, NULL);
  19157. NullCheck(L_18);
  19158. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_18, L_27, NULL);
  19159. }
  19160. IL_008e:
  19161. {
  19162. bool L_28 = V_1;
  19163. bool L_29 = V_2;
  19164. if (!((int32_t)((int32_t)L_28|(int32_t)L_29)))
  19165. {
  19166. goto IL_012b;
  19167. }
  19168. }
  19169. {
  19170. float L_30 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  19171. if ((!(((float)L_30) < ((float)(1.0f)))))
  19172. {
  19173. goto IL_00ff;
  19174. }
  19175. }
  19176. {
  19177. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_31 = __this->___solverTransforms;
  19178. int32_t L_32 = V_0;
  19179. NullCheck(L_31);
  19180. int32_t L_33 = L_32;
  19181. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
  19182. NullCheck(L_34);
  19183. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  19184. L_35 = Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95(L_34, NULL);
  19185. V_3 = L_35;
  19186. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_36 = __this->___solverTransforms;
  19187. int32_t L_37 = V_0;
  19188. NullCheck(L_36);
  19189. int32_t L_38 = L_37;
  19190. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_39 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
  19191. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_40 = __this->___solverTransforms;
  19192. int32_t L_41 = V_0;
  19193. NullCheck(L_40);
  19194. int32_t L_42 = L_41;
  19195. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_43 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
  19196. NullCheck(L_43);
  19197. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
  19198. L_44 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_43, NULL);
  19199. int32_t L_45 = V_0;
  19200. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
  19201. L_46 = IKSolverVR_GetPosition_m41D78D6D9E6E94DDEF1CF697A0BC27284B2E3D1B(__this, L_45, NULL);
  19202. float L_47 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  19203. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
  19204. L_48 = V3Tools_Lerp_mD7F7DC69008BC285AA91CB1B09570FE5FA3325B4(L_44, L_46, L_47, NULL);
  19205. NullCheck(L_39);
  19206. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_39, L_48, NULL);
  19207. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_49 = __this->___solverTransforms;
  19208. int32_t L_50 = V_0;
  19209. NullCheck(L_49);
  19210. int32_t L_51 = L_50;
  19211. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
  19212. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_53 = __this->___solverTransforms;
  19213. int32_t L_54 = V_0;
  19214. NullCheck(L_53);
  19215. int32_t L_55 = L_54;
  19216. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_56 = (L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
  19217. NullCheck(L_56);
  19218. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  19219. L_57 = Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95(L_56, NULL);
  19220. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = V_3;
  19221. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
  19222. L_59 = Vector3_Project_m85DF3CB297EC5E1A17BD6266FF65E86AB7372C9B_inline(L_57, L_58, NULL);
  19223. NullCheck(L_52);
  19224. Transform_set_localPosition_mDE1C997F7D79C0885210B7732B4BA50EE7D73134(L_52, L_59, NULL);
  19225. goto IL_012b;
  19226. }
  19227. IL_00ff:
  19228. {
  19229. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_60 = __this->___solverTransforms;
  19230. int32_t L_61 = V_0;
  19231. NullCheck(L_60);
  19232. int32_t L_62 = L_61;
  19233. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_63 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
  19234. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_64 = __this->___solverTransforms;
  19235. int32_t L_65 = V_0;
  19236. NullCheck(L_64);
  19237. int32_t L_66 = L_65;
  19238. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_67 = (L_64)->GetAt(static_cast<il2cpp_array_size_t>(L_66));
  19239. NullCheck(L_67);
  19240. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
  19241. L_68 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_67, NULL);
  19242. int32_t L_69 = V_0;
  19243. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70;
  19244. L_70 = IKSolverVR_GetPosition_m41D78D6D9E6E94DDEF1CF697A0BC27284B2E3D1B(__this, L_69, NULL);
  19245. float L_71 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  19246. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
  19247. L_72 = V3Tools_Lerp_mD7F7DC69008BC285AA91CB1B09570FE5FA3325B4(L_68, L_70, L_71, NULL);
  19248. NullCheck(L_63);
  19249. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_63, L_72, NULL);
  19250. }
  19251. IL_012b:
  19252. {
  19253. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_73 = __this->___solverTransforms;
  19254. int32_t L_74 = V_0;
  19255. NullCheck(L_73);
  19256. int32_t L_75 = L_74;
  19257. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_76 = (L_73)->GetAt(static_cast<il2cpp_array_size_t>(L_75));
  19258. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_77 = __this->___solverTransforms;
  19259. int32_t L_78 = V_0;
  19260. NullCheck(L_77);
  19261. int32_t L_79 = L_78;
  19262. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_80 = (L_77)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
  19263. NullCheck(L_80);
  19264. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_81;
  19265. L_81 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_80, NULL);
  19266. int32_t L_82 = V_0;
  19267. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_83;
  19268. L_83 = IKSolverVR_GetRotation_m8F9D85BC162869F77DA700A431E3CEC50FF6A271(__this, L_82, NULL);
  19269. float L_84 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  19270. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_85;
  19271. L_85 = QuaTools_Lerp_mA4973D1315D60B0E95A01B5581EF5119592351EE(L_81, L_83, L_84, NULL);
  19272. NullCheck(L_76);
  19273. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_76, L_85, NULL);
  19274. }
  19275. IL_0157:
  19276. {
  19277. int32_t L_86 = V_0;
  19278. V_0 = ((int32_t)il2cpp_codegen_add(L_86, 1));
  19279. }
  19280. IL_015b:
  19281. {
  19282. int32_t L_87 = V_0;
  19283. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_88 = __this->___solverTransforms;
  19284. NullCheck(L_88);
  19285. if ((((int32_t)L_87) < ((int32_t)((int32_t)(((RuntimeArray*)L_88)->max_length)))))
  19286. {
  19287. goto IL_0007;
  19288. }
  19289. }
  19290. {
  19291. return;
  19292. }
  19293. }
  19294. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_Read_mD51260A061FB80FDCD583D972C535EDB42EAFF38 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_positions, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___1_rotations, bool ___2_hasChest, bool ___3_hasNeck, bool ___4_hasShoulders, bool ___5_hasToes, bool ___6_hasLegs, const RuntimeMethod* method)
  19295. {
  19296. static bool s_Il2CppMethodInitialized;
  19297. if (!s_Il2CppMethodInitialized)
  19298. {
  19299. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492_il2cpp_TypeInfo_var);
  19300. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3_il2cpp_TypeInfo_var);
  19301. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  19302. s_Il2CppMethodInitialized = true;
  19303. }
  19304. int32_t V_0 = 0;
  19305. bool G_B5_0 = false;
  19306. bool G_B5_1 = false;
  19307. bool G_B5_2 = false;
  19308. bool G_B5_3 = false;
  19309. bool G_B5_4 = false;
  19310. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* G_B5_5 = NULL;
  19311. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* G_B5_6 = NULL;
  19312. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* G_B5_7 = NULL;
  19313. bool G_B4_0 = false;
  19314. bool G_B4_1 = false;
  19315. bool G_B4_2 = false;
  19316. bool G_B4_3 = false;
  19317. bool G_B4_4 = false;
  19318. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* G_B4_5 = NULL;
  19319. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* G_B4_6 = NULL;
  19320. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* G_B4_7 = NULL;
  19321. int32_t G_B6_0 = 0;
  19322. bool G_B6_1 = false;
  19323. bool G_B6_2 = false;
  19324. bool G_B6_3 = false;
  19325. bool G_B6_4 = false;
  19326. bool G_B6_5 = false;
  19327. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* G_B6_6 = NULL;
  19328. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* G_B6_7 = NULL;
  19329. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* G_B6_8 = NULL;
  19330. bool G_B8_0 = false;
  19331. bool G_B8_1 = false;
  19332. bool G_B8_2 = false;
  19333. bool G_B8_3 = false;
  19334. bool G_B8_4 = false;
  19335. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* G_B8_5 = NULL;
  19336. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* G_B8_6 = NULL;
  19337. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* G_B8_7 = NULL;
  19338. bool G_B7_0 = false;
  19339. bool G_B7_1 = false;
  19340. bool G_B7_2 = false;
  19341. bool G_B7_3 = false;
  19342. bool G_B7_4 = false;
  19343. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* G_B7_5 = NULL;
  19344. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* G_B7_6 = NULL;
  19345. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* G_B7_7 = NULL;
  19346. int32_t G_B9_0 = 0;
  19347. bool G_B9_1 = false;
  19348. bool G_B9_2 = false;
  19349. bool G_B9_3 = false;
  19350. bool G_B9_4 = false;
  19351. bool G_B9_5 = false;
  19352. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* G_B9_6 = NULL;
  19353. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* G_B9_7 = NULL;
  19354. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* G_B9_8 = NULL;
  19355. {
  19356. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0;
  19357. L_0 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  19358. if (L_0)
  19359. {
  19360. goto IL_0023;
  19361. }
  19362. }
  19363. {
  19364. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = ___0_positions;
  19365. NullCheck(L_1);
  19366. int32_t L_2 = 0;
  19367. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  19368. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_4 = ___1_rotations;
  19369. NullCheck(L_4);
  19370. int32_t L_5 = 0;
  19371. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  19372. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_7 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  19373. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_7, L_3, L_6, NULL);
  19374. IKSolverVR_set_rootBone_m19D2FDB8BABAC9F3D1B59BEA3B39DA5C2B4B32F6_inline(__this, L_7, NULL);
  19375. goto IL_003c;
  19376. }
  19377. IL_0023:
  19378. {
  19379. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8;
  19380. L_8 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  19381. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_9 = ___0_positions;
  19382. NullCheck(L_9);
  19383. int32_t L_10 = 0;
  19384. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  19385. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_12 = ___1_rotations;
  19386. NullCheck(L_12);
  19387. int32_t L_13 = 0;
  19388. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  19389. NullCheck(L_8);
  19390. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_8, L_11, L_14, NULL);
  19391. }
  19392. IL_003c:
  19393. {
  19394. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_15 = __this->___spine;
  19395. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_16 = ___0_positions;
  19396. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_17 = ___1_rotations;
  19397. bool L_18 = ___2_hasChest;
  19398. bool L_19 = ___3_hasNeck;
  19399. bool L_20 = ___4_hasShoulders;
  19400. bool L_21 = ___5_hasToes;
  19401. bool L_22 = ___6_hasLegs;
  19402. NullCheck(L_15);
  19403. BodyPart_Read_m0D270E046A2E5561B4267ADB7F76E10BE725F0CD(L_15, L_16, L_17, L_18, L_19, L_20, L_21, L_22, 0, 1, NULL);
  19404. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_23 = __this->___leftArm;
  19405. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_24 = ___0_positions;
  19406. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_25 = ___1_rotations;
  19407. bool L_26 = ___2_hasChest;
  19408. bool L_27 = ___3_hasNeck;
  19409. bool L_28 = ___4_hasShoulders;
  19410. bool L_29 = ___5_hasToes;
  19411. bool L_30 = ___6_hasLegs;
  19412. bool L_31 = ___2_hasChest;
  19413. if (L_31)
  19414. {
  19415. G_B5_0 = L_30;
  19416. G_B5_1 = L_29;
  19417. G_B5_2 = L_28;
  19418. G_B5_3 = L_27;
  19419. G_B5_4 = L_26;
  19420. G_B5_5 = L_25;
  19421. G_B5_6 = L_24;
  19422. G_B5_7 = L_23;
  19423. goto IL_006b;
  19424. }
  19425. G_B4_0 = L_30;
  19426. G_B4_1 = L_29;
  19427. G_B4_2 = L_28;
  19428. G_B4_3 = L_27;
  19429. G_B4_4 = L_26;
  19430. G_B4_5 = L_25;
  19431. G_B4_6 = L_24;
  19432. G_B4_7 = L_23;
  19433. }
  19434. {
  19435. G_B6_0 = 2;
  19436. G_B6_1 = G_B4_0;
  19437. G_B6_2 = G_B4_1;
  19438. G_B6_3 = G_B4_2;
  19439. G_B6_4 = G_B4_3;
  19440. G_B6_5 = G_B4_4;
  19441. G_B6_6 = G_B4_5;
  19442. G_B6_7 = G_B4_6;
  19443. G_B6_8 = G_B4_7;
  19444. goto IL_006c;
  19445. }
  19446. IL_006b:
  19447. {
  19448. G_B6_0 = 3;
  19449. G_B6_1 = G_B5_0;
  19450. G_B6_2 = G_B5_1;
  19451. G_B6_3 = G_B5_2;
  19452. G_B6_4 = G_B5_3;
  19453. G_B6_5 = G_B5_4;
  19454. G_B6_6 = G_B5_5;
  19455. G_B6_7 = G_B5_6;
  19456. G_B6_8 = G_B5_7;
  19457. }
  19458. IL_006c:
  19459. {
  19460. NullCheck(G_B6_8);
  19461. BodyPart_Read_m0D270E046A2E5561B4267ADB7F76E10BE725F0CD(G_B6_8, G_B6_7, G_B6_6, G_B6_5, G_B6_4, G_B6_3, G_B6_2, G_B6_1, G_B6_0, 6, NULL);
  19462. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_32 = __this->___rightArm;
  19463. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_33 = ___0_positions;
  19464. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_34 = ___1_rotations;
  19465. bool L_35 = ___2_hasChest;
  19466. bool L_36 = ___3_hasNeck;
  19467. bool L_37 = ___4_hasShoulders;
  19468. bool L_38 = ___5_hasToes;
  19469. bool L_39 = ___6_hasLegs;
  19470. bool L_40 = ___2_hasChest;
  19471. if (L_40)
  19472. {
  19473. G_B8_0 = L_39;
  19474. G_B8_1 = L_38;
  19475. G_B8_2 = L_37;
  19476. G_B8_3 = L_36;
  19477. G_B8_4 = L_35;
  19478. G_B8_5 = L_34;
  19479. G_B8_6 = L_33;
  19480. G_B8_7 = L_32;
  19481. goto IL_0089;
  19482. }
  19483. G_B7_0 = L_39;
  19484. G_B7_1 = L_38;
  19485. G_B7_2 = L_37;
  19486. G_B7_3 = L_36;
  19487. G_B7_4 = L_35;
  19488. G_B7_5 = L_34;
  19489. G_B7_6 = L_33;
  19490. G_B7_7 = L_32;
  19491. }
  19492. {
  19493. G_B9_0 = 2;
  19494. G_B9_1 = G_B7_0;
  19495. G_B9_2 = G_B7_1;
  19496. G_B9_3 = G_B7_2;
  19497. G_B9_4 = G_B7_3;
  19498. G_B9_5 = G_B7_4;
  19499. G_B9_6 = G_B7_5;
  19500. G_B9_7 = G_B7_6;
  19501. G_B9_8 = G_B7_7;
  19502. goto IL_008a;
  19503. }
  19504. IL_0089:
  19505. {
  19506. G_B9_0 = 3;
  19507. G_B9_1 = G_B8_0;
  19508. G_B9_2 = G_B8_1;
  19509. G_B9_3 = G_B8_2;
  19510. G_B9_4 = G_B8_3;
  19511. G_B9_5 = G_B8_4;
  19512. G_B9_6 = G_B8_5;
  19513. G_B9_7 = G_B8_6;
  19514. G_B9_8 = G_B8_7;
  19515. }
  19516. IL_008a:
  19517. {
  19518. NullCheck(G_B9_8);
  19519. BodyPart_Read_m0D270E046A2E5561B4267ADB7F76E10BE725F0CD(G_B9_8, G_B9_7, G_B9_6, G_B9_5, G_B9_4, G_B9_3, G_B9_2, G_B9_1, G_B9_0, ((int32_t)10), NULL);
  19520. bool L_41 = ___6_hasLegs;
  19521. if (!L_41)
  19522. {
  19523. goto IL_00c7;
  19524. }
  19525. }
  19526. {
  19527. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_42 = __this->___leftLeg;
  19528. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_43 = ___0_positions;
  19529. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_44 = ___1_rotations;
  19530. bool L_45 = ___2_hasChest;
  19531. bool L_46 = ___3_hasNeck;
  19532. bool L_47 = ___4_hasShoulders;
  19533. bool L_48 = ___5_hasToes;
  19534. bool L_49 = ___6_hasLegs;
  19535. NullCheck(L_42);
  19536. BodyPart_Read_m0D270E046A2E5561B4267ADB7F76E10BE725F0CD(L_42, L_43, L_44, L_45, L_46, L_47, L_48, L_49, 1, ((int32_t)14), NULL);
  19537. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_50 = __this->___rightLeg;
  19538. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_51 = ___0_positions;
  19539. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_52 = ___1_rotations;
  19540. bool L_53 = ___2_hasChest;
  19541. bool L_54 = ___3_hasNeck;
  19542. bool L_55 = ___4_hasShoulders;
  19543. bool L_56 = ___5_hasToes;
  19544. bool L_57 = ___6_hasLegs;
  19545. NullCheck(L_50);
  19546. BodyPart_Read_m0D270E046A2E5561B4267ADB7F76E10BE725F0CD(L_50, L_51, L_52, L_53, L_54, L_55, L_56, L_57, 1, ((int32_t)18), NULL);
  19547. }
  19548. IL_00c7:
  19549. {
  19550. V_0 = 0;
  19551. goto IL_00f5;
  19552. }
  19553. IL_00cb:
  19554. {
  19555. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_58 = __this->___solvedPositions;
  19556. int32_t L_59 = V_0;
  19557. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_60 = ___0_positions;
  19558. int32_t L_61 = V_0;
  19559. NullCheck(L_60);
  19560. int32_t L_62 = L_61;
  19561. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
  19562. NullCheck(L_58);
  19563. (L_58)->SetAt(static_cast<il2cpp_array_size_t>(L_59), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_63);
  19564. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_64 = __this->___solvedRotations;
  19565. int32_t L_65 = V_0;
  19566. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_66 = ___1_rotations;
  19567. int32_t L_67 = V_0;
  19568. NullCheck(L_66);
  19569. int32_t L_68 = L_67;
  19570. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69 = (L_66)->GetAt(static_cast<il2cpp_array_size_t>(L_68));
  19571. NullCheck(L_64);
  19572. (L_64)->SetAt(static_cast<il2cpp_array_size_t>(L_65), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_69);
  19573. int32_t L_70 = V_0;
  19574. V_0 = ((int32_t)il2cpp_codegen_add(L_70, 1));
  19575. }
  19576. IL_00f5:
  19577. {
  19578. int32_t L_71 = V_0;
  19579. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_72 = ___1_rotations;
  19580. NullCheck(L_72);
  19581. if ((((int32_t)L_71) < ((int32_t)((int32_t)(((RuntimeArray*)L_72)->max_length)))))
  19582. {
  19583. goto IL_00cb;
  19584. }
  19585. }
  19586. {
  19587. bool L_73;
  19588. L_73 = IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline(__this, NULL);
  19589. if (L_73)
  19590. {
  19591. goto IL_0196;
  19592. }
  19593. }
  19594. {
  19595. bool L_74 = ___6_hasLegs;
  19596. if (!L_74)
  19597. {
  19598. goto IL_0128;
  19599. }
  19600. }
  19601. {
  19602. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_75 = (LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3*)(LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3*)SZArrayNew(LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3_il2cpp_TypeInfo_var, (uint32_t)2);
  19603. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_76 = L_75;
  19604. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_77 = __this->___leftLeg;
  19605. NullCheck(L_76);
  19606. ArrayElementTypeCheck (L_76, L_77);
  19607. (L_76)->SetAt(static_cast<il2cpp_array_size_t>(0), (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2*)L_77);
  19608. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_78 = L_76;
  19609. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_79 = __this->___rightLeg;
  19610. NullCheck(L_78);
  19611. ArrayElementTypeCheck (L_78, L_79);
  19612. (L_78)->SetAt(static_cast<il2cpp_array_size_t>(1), (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2*)L_79);
  19613. __this->___legs = L_78;
  19614. Il2CppCodeGenWriteBarrier((void**)(&__this->___legs), (void*)L_78);
  19615. }
  19616. IL_0128:
  19617. {
  19618. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_80 = (ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492*)(ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492*)SZArrayNew(ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492_il2cpp_TypeInfo_var, (uint32_t)2);
  19619. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_81 = L_80;
  19620. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_82 = __this->___leftArm;
  19621. NullCheck(L_81);
  19622. ArrayElementTypeCheck (L_81, L_82);
  19623. (L_81)->SetAt(static_cast<il2cpp_array_size_t>(0), (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B*)L_82);
  19624. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_83 = L_81;
  19625. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_84 = __this->___rightArm;
  19626. NullCheck(L_83);
  19627. ArrayElementTypeCheck (L_83, L_84);
  19628. (L_83)->SetAt(static_cast<il2cpp_array_size_t>(1), (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B*)L_84);
  19629. __this->___arms = L_83;
  19630. Il2CppCodeGenWriteBarrier((void**)(&__this->___arms), (void*)L_83);
  19631. bool L_85 = ___6_hasLegs;
  19632. if (!L_85)
  19633. {
  19634. goto IL_015f;
  19635. }
  19636. }
  19637. {
  19638. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_86 = __this->___locomotion;
  19639. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_87 = ___0_positions;
  19640. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_88 = ___1_rotations;
  19641. bool L_89 = ___5_hasToes;
  19642. float L_90 = __this->___scale;
  19643. NullCheck(L_86);
  19644. Locomotion_Initiate_m8F0B4D2C1682F50C12305D1BE36D06E543D45D33(L_86, L_87, L_88, L_89, L_90, NULL);
  19645. }
  19646. IL_015f:
  19647. {
  19648. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_91 = __this->___spine;
  19649. NullCheck(L_91);
  19650. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_92;
  19651. L_92 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_91, NULL);
  19652. NullCheck(L_92);
  19653. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93 = L_92->___readPosition;
  19654. __this->___raycastOriginPelvis = L_93;
  19655. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_94 = __this->___spine;
  19656. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_95 = __this->___readRotations;
  19657. NullCheck(L_95);
  19658. int32_t L_96 = 0;
  19659. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_97 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_96));
  19660. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98;
  19661. L_98 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  19662. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99;
  19663. L_99 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_97, L_98, NULL);
  19664. NullCheck(L_94);
  19665. L_94->___faceDirection = L_99;
  19666. }
  19667. IL_0196:
  19668. {
  19669. return;
  19670. }
  19671. }
  19672. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_Solve_m88E180654128DF65ABC3C22450260BB0198FA91D (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  19673. {
  19674. static bool s_Il2CppMethodInitialized;
  19675. if (!s_Il2CppMethodInitialized)
  19676. {
  19677. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  19678. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral597185D35650707DDD4124DA2E54B237CBC611CF);
  19679. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC752E6E3AAADED764AEE2F05918FF367F65852EE);
  19680. s_Il2CppMethodInitialized = true;
  19681. }
  19682. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* V_0 = NULL;
  19683. int32_t V_1 = 0;
  19684. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* V_2 = NULL;
  19685. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  19686. memset((&V_3), 0, sizeof(V_3));
  19687. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  19688. memset((&V_4), 0, sizeof(V_4));
  19689. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_5;
  19690. memset((&V_5), 0, sizeof(V_5));
  19691. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_6;
  19692. memset((&V_6), 0, sizeof(V_6));
  19693. float V_7 = 0.0f;
  19694. float V_8 = 0.0f;
  19695. float V_9 = 0.0f;
  19696. float V_10 = 0.0f;
  19697. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_11;
  19698. memset((&V_11), 0, sizeof(V_11));
  19699. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_12;
  19700. memset((&V_12), 0, sizeof(V_12));
  19701. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_13;
  19702. memset((&V_13), 0, sizeof(V_13));
  19703. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_14;
  19704. memset((&V_14), 0, sizeof(V_14));
  19705. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_15;
  19706. memset((&V_15), 0, sizeof(V_15));
  19707. float V_16 = 0.0f;
  19708. int32_t V_17 = 0;
  19709. int32_t V_18 = 0;
  19710. int32_t V_19 = 0;
  19711. float V_20 = 0.0f;
  19712. int32_t V_21 = 0;
  19713. float V_22 = 0.0f;
  19714. {
  19715. float L_0 = __this->___scale;
  19716. if ((!(((float)L_0) <= ((float)(0.0f)))))
  19717. {
  19718. goto IL_0018;
  19719. }
  19720. }
  19721. {
  19722. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  19723. Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralC752E6E3AAADED764AEE2F05918FF367F65852EE, NULL);
  19724. return;
  19725. }
  19726. IL_0018:
  19727. {
  19728. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_1 = __this->___spine;
  19729. int32_t L_2 = __this->___LOD;
  19730. NullCheck(L_1);
  19731. BodyPart_SetLOD_m144EB600CBEB9A89F7894F86460818581A40A350_inline(L_1, L_2, NULL);
  19732. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_3 = __this->___arms;
  19733. V_0 = L_3;
  19734. V_1 = 0;
  19735. goto IL_0046;
  19736. }
  19737. IL_0034:
  19738. {
  19739. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_4 = V_0;
  19740. int32_t L_5 = V_1;
  19741. NullCheck(L_4);
  19742. int32_t L_6 = L_5;
  19743. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  19744. int32_t L_8 = __this->___LOD;
  19745. NullCheck(L_7);
  19746. BodyPart_SetLOD_m144EB600CBEB9A89F7894F86460818581A40A350_inline(L_7, L_8, NULL);
  19747. int32_t L_9 = V_1;
  19748. V_1 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  19749. }
  19750. IL_0046:
  19751. {
  19752. int32_t L_10 = V_1;
  19753. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_11 = V_0;
  19754. NullCheck(L_11);
  19755. if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
  19756. {
  19757. goto IL_0034;
  19758. }
  19759. }
  19760. {
  19761. bool L_12 = __this->___hasLegs;
  19762. if (!L_12)
  19763. {
  19764. goto IL_0077;
  19765. }
  19766. }
  19767. {
  19768. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_13 = __this->___legs;
  19769. V_2 = L_13;
  19770. V_1 = 0;
  19771. goto IL_0071;
  19772. }
  19773. IL_005f:
  19774. {
  19775. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_14 = V_2;
  19776. int32_t L_15 = V_1;
  19777. NullCheck(L_14);
  19778. int32_t L_16 = L_15;
  19779. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  19780. int32_t L_18 = __this->___LOD;
  19781. NullCheck(L_17);
  19782. BodyPart_SetLOD_m144EB600CBEB9A89F7894F86460818581A40A350_inline(L_17, L_18, NULL);
  19783. int32_t L_19 = V_1;
  19784. V_1 = ((int32_t)il2cpp_codegen_add(L_19, 1));
  19785. }
  19786. IL_0071:
  19787. {
  19788. int32_t L_20 = V_1;
  19789. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_21 = V_2;
  19790. NullCheck(L_21);
  19791. if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length)))))
  19792. {
  19793. goto IL_005f;
  19794. }
  19795. }
  19796. IL_0077:
  19797. {
  19798. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_22 = __this->___spine;
  19799. NullCheck(L_22);
  19800. VirtualActionInvoker0::Invoke(5, L_22);
  19801. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_23 = __this->___arms;
  19802. V_0 = L_23;
  19803. V_1 = 0;
  19804. goto IL_0099;
  19805. }
  19806. IL_008d:
  19807. {
  19808. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_24 = V_0;
  19809. int32_t L_25 = V_1;
  19810. NullCheck(L_24);
  19811. int32_t L_26 = L_25;
  19812. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  19813. NullCheck(L_27);
  19814. VirtualActionInvoker0::Invoke(5, L_27);
  19815. int32_t L_28 = V_1;
  19816. V_1 = ((int32_t)il2cpp_codegen_add(L_28, 1));
  19817. }
  19818. IL_0099:
  19819. {
  19820. int32_t L_29 = V_1;
  19821. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_30 = V_0;
  19822. NullCheck(L_30);
  19823. if ((((int32_t)L_29) < ((int32_t)((int32_t)(((RuntimeArray*)L_30)->max_length)))))
  19824. {
  19825. goto IL_008d;
  19826. }
  19827. }
  19828. {
  19829. bool L_31 = __this->___hasLegs;
  19830. if (!L_31)
  19831. {
  19832. goto IL_00c4;
  19833. }
  19834. }
  19835. {
  19836. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_32 = __this->___legs;
  19837. V_2 = L_32;
  19838. V_1 = 0;
  19839. goto IL_00be;
  19840. }
  19841. IL_00b2:
  19842. {
  19843. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_33 = V_2;
  19844. int32_t L_34 = V_1;
  19845. NullCheck(L_33);
  19846. int32_t L_35 = L_34;
  19847. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
  19848. NullCheck(L_36);
  19849. VirtualActionInvoker0::Invoke(5, L_36);
  19850. int32_t L_37 = V_1;
  19851. V_1 = ((int32_t)il2cpp_codegen_add(L_37, 1));
  19852. }
  19853. IL_00be:
  19854. {
  19855. int32_t L_38 = V_1;
  19856. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_39 = V_2;
  19857. NullCheck(L_39);
  19858. if ((((int32_t)L_38) < ((int32_t)((int32_t)(((RuntimeArray*)L_39)->max_length)))))
  19859. {
  19860. goto IL_00b2;
  19861. }
  19862. }
  19863. IL_00c4:
  19864. {
  19865. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_40 = __this->___arms;
  19866. V_0 = L_40;
  19867. V_1 = 0;
  19868. goto IL_00e1;
  19869. }
  19870. IL_00cf:
  19871. {
  19872. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_41 = V_0;
  19873. int32_t L_42 = V_1;
  19874. NullCheck(L_41);
  19875. int32_t L_43 = L_42;
  19876. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
  19877. float L_45 = __this->___scale;
  19878. NullCheck(L_44);
  19879. VirtualActionInvoker1< float >::Invoke(7, L_44, L_45);
  19880. int32_t L_46 = V_1;
  19881. V_1 = ((int32_t)il2cpp_codegen_add(L_46, 1));
  19882. }
  19883. IL_00e1:
  19884. {
  19885. int32_t L_47 = V_1;
  19886. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_48 = V_0;
  19887. NullCheck(L_48);
  19888. if ((((int32_t)L_47) < ((int32_t)((int32_t)(((RuntimeArray*)L_48)->max_length)))))
  19889. {
  19890. goto IL_00cf;
  19891. }
  19892. }
  19893. {
  19894. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_49 = __this->___spine;
  19895. float L_50 = __this->___scale;
  19896. NullCheck(L_49);
  19897. VirtualActionInvoker1< float >::Invoke(7, L_49, L_50);
  19898. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_51 = __this->___spine;
  19899. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_52;
  19900. L_52 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  19901. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_53 = __this->___legs;
  19902. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_54 = __this->___arms;
  19903. float L_55 = __this->___scale;
  19904. NullCheck(L_51);
  19905. Spine_Solve_m0BC1EEB53096BEC88731ADD5E5481FD1FEA92A78(L_51, L_52, L_53, L_54, L_55, NULL);
  19906. bool L_56 = __this->___hasLegs;
  19907. if (!L_56)
  19908. {
  19909. goto IL_014e;
  19910. }
  19911. }
  19912. {
  19913. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_57 = __this->___spine;
  19914. NullCheck(L_57);
  19915. float L_58 = L_57->___pelvisPositionWeight;
  19916. if ((!(((float)L_58) > ((float)(0.0f)))))
  19917. {
  19918. goto IL_014e;
  19919. }
  19920. }
  19921. {
  19922. bool L_59 = __this->___plantFeet;
  19923. if (!L_59)
  19924. {
  19925. goto IL_014e;
  19926. }
  19927. }
  19928. {
  19929. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_60 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  19930. Warning_Log_m3B3DC501CEF603D988C5D1BEF3F753D4241876C1(_stringLiteral597185D35650707DDD4124DA2E54B237CBC611CF, L_60, (bool)0, NULL);
  19931. }
  19932. IL_014e:
  19933. {
  19934. bool L_61 = __this->___hasLegs;
  19935. if (!L_61)
  19936. {
  19937. goto IL_05c5;
  19938. }
  19939. }
  19940. {
  19941. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_62 = __this->___locomotion;
  19942. NullCheck(L_62);
  19943. float L_63 = L_62->___weight;
  19944. if ((!(((float)L_63) > ((float)(0.0f)))))
  19945. {
  19946. goto IL_05c5;
  19947. }
  19948. }
  19949. {
  19950. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
  19951. L_64 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  19952. V_3 = L_64;
  19953. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
  19954. L_65 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  19955. V_4 = L_65;
  19956. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66;
  19957. L_66 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  19958. V_5 = L_66;
  19959. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_67;
  19960. L_67 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  19961. V_6 = L_67;
  19962. V_7 = (0.0f);
  19963. V_8 = (0.0f);
  19964. V_9 = (0.0f);
  19965. V_10 = (0.0f);
  19966. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_68 = __this->___locomotion;
  19967. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_69;
  19968. L_69 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  19969. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_70 = __this->___spine;
  19970. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_71 = __this->___leftLeg;
  19971. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_72 = __this->___rightLeg;
  19972. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_73 = __this->___leftArm;
  19973. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_74 = __this->___rightArm;
  19974. int32_t L_75 = __this->___supportLegIndex;
  19975. float L_76 = __this->___scale;
  19976. NullCheck(L_68);
  19977. Locomotion_Solve_m718D05DCCB9F2FC8B46737B3965EC3CF17A1638C(L_68, L_69, L_70, L_71, L_72, L_73, L_74, L_75, (&V_3), (&V_4), (&V_5), (&V_6), (&V_7), (&V_8), (&V_9), (&V_10), L_76, NULL);
  19978. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = V_3;
  19979. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_78 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  19980. NullCheck(L_78);
  19981. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
  19982. L_79 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_78, NULL);
  19983. float L_80 = V_7;
  19984. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
  19985. L_81 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_79, L_80, NULL);
  19986. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
  19987. L_82 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_77, L_81, NULL);
  19988. V_3 = L_82;
  19989. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83 = V_4;
  19990. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_84 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  19991. NullCheck(L_84);
  19992. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
  19993. L_85 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_84, NULL);
  19994. float L_86 = V_8;
  19995. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
  19996. L_87 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_85, L_86, NULL);
  19997. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
  19998. L_88 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_83, L_87, NULL);
  19999. V_4 = L_88;
  20000. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_89 = __this->___leftLeg;
  20001. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_90 = L_89;
  20002. NullCheck(L_90);
  20003. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = L_90->___footPositionOffset;
  20004. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92 = V_3;
  20005. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_93 = __this->___leftLeg;
  20006. NullCheck(L_93);
  20007. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_94;
  20008. L_94 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(L_93, NULL);
  20009. NullCheck(L_94);
  20010. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95 = L_94->___solverPosition;
  20011. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96;
  20012. L_96 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_92, L_95, NULL);
  20013. float L_97 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  20014. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98;
  20015. L_98 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_96, L_97, NULL);
  20016. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_99 = __this->___leftLeg;
  20017. NullCheck(L_99);
  20018. float L_100 = L_99->___positionWeight;
  20019. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
  20020. L_101 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_98, ((float)il2cpp_codegen_subtract((1.0f), L_100)), NULL);
  20021. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_102 = __this->___locomotion;
  20022. NullCheck(L_102);
  20023. float L_103 = L_102->___weight;
  20024. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104;
  20025. L_104 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_101, L_103, NULL);
  20026. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105;
  20027. L_105 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_91, L_104, NULL);
  20028. NullCheck(L_90);
  20029. L_90->___footPositionOffset = L_105;
  20030. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_106 = __this->___rightLeg;
  20031. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_107 = L_106;
  20032. NullCheck(L_107);
  20033. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108 = L_107->___footPositionOffset;
  20034. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_109 = V_4;
  20035. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_110 = __this->___rightLeg;
  20036. NullCheck(L_110);
  20037. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_111;
  20038. L_111 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(L_110, NULL);
  20039. NullCheck(L_111);
  20040. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112 = L_111->___solverPosition;
  20041. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_113;
  20042. L_113 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_109, L_112, NULL);
  20043. float L_114 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  20044. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115;
  20045. L_115 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_113, L_114, NULL);
  20046. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_116 = __this->___rightLeg;
  20047. NullCheck(L_116);
  20048. float L_117 = L_116->___positionWeight;
  20049. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118;
  20050. L_118 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_115, ((float)il2cpp_codegen_subtract((1.0f), L_117)), NULL);
  20051. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_119 = __this->___locomotion;
  20052. NullCheck(L_119);
  20053. float L_120 = L_119->___weight;
  20054. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121;
  20055. L_121 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_118, L_120, NULL);
  20056. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_122;
  20057. L_122 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_108, L_121, NULL);
  20058. NullCheck(L_107);
  20059. L_107->___footPositionOffset = L_122;
  20060. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_123 = __this->___leftLeg;
  20061. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_124 = L_123;
  20062. NullCheck(L_124);
  20063. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125 = L_124->___heelPositionOffset;
  20064. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_126 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  20065. NullCheck(L_126);
  20066. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127;
  20067. L_127 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_126, NULL);
  20068. float L_128 = V_9;
  20069. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_129;
  20070. L_129 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_127, L_128, NULL);
  20071. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_130 = __this->___locomotion;
  20072. NullCheck(L_130);
  20073. float L_131 = L_130->___weight;
  20074. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132;
  20075. L_132 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_129, L_131, NULL);
  20076. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_133;
  20077. L_133 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_125, L_132, NULL);
  20078. NullCheck(L_124);
  20079. L_124->___heelPositionOffset = L_133;
  20080. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_134 = __this->___rightLeg;
  20081. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_135 = L_134;
  20082. NullCheck(L_135);
  20083. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_136 = L_135->___heelPositionOffset;
  20084. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_137 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  20085. NullCheck(L_137);
  20086. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_138;
  20087. L_138 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_137, NULL);
  20088. float L_139 = V_10;
  20089. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_140;
  20090. L_140 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_138, L_139, NULL);
  20091. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_141 = __this->___locomotion;
  20092. NullCheck(L_141);
  20093. float L_142 = L_141->___weight;
  20094. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_143;
  20095. L_143 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_140, L_142, NULL);
  20096. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_144;
  20097. L_144 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_136, L_143, NULL);
  20098. NullCheck(L_135);
  20099. L_135->___heelPositionOffset = L_144;
  20100. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_145 = __this->___leftLeg;
  20101. NullCheck(L_145);
  20102. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_146;
  20103. L_146 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(L_145, NULL);
  20104. NullCheck(L_146);
  20105. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_147 = L_146->___solverRotation;
  20106. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_148 = V_5;
  20107. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_149;
  20108. L_149 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_147, L_148, NULL);
  20109. V_11 = L_149;
  20110. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_150 = __this->___rightLeg;
  20111. NullCheck(L_150);
  20112. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_151;
  20113. L_151 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(L_150, NULL);
  20114. NullCheck(L_151);
  20115. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_152 = L_151->___solverRotation;
  20116. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_153 = V_6;
  20117. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_154;
  20118. L_154 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_152, L_153, NULL);
  20119. V_12 = L_154;
  20120. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_155;
  20121. L_155 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  20122. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_156 = V_11;
  20123. float L_157 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  20124. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_158 = __this->___leftLeg;
  20125. NullCheck(L_158);
  20126. float L_159 = L_158->___rotationWeight;
  20127. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_160 = __this->___locomotion;
  20128. NullCheck(L_160);
  20129. float L_161 = L_160->___weight;
  20130. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_162;
  20131. L_162 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_155, L_156, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_157, ((float)il2cpp_codegen_subtract((1.0f), L_159)))), L_161)), NULL);
  20132. V_11 = L_162;
  20133. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_163;
  20134. L_163 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  20135. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_164 = V_12;
  20136. float L_165 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___IKPositionWeight;
  20137. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_166 = __this->___rightLeg;
  20138. NullCheck(L_166);
  20139. float L_167 = L_166->___rotationWeight;
  20140. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_168 = __this->___locomotion;
  20141. NullCheck(L_168);
  20142. float L_169 = L_168->___weight;
  20143. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_170;
  20144. L_170 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_163, L_164, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_165, ((float)il2cpp_codegen_subtract((1.0f), L_167)))), L_169)), NULL);
  20145. V_12 = L_170;
  20146. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_171 = __this->___leftLeg;
  20147. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_172 = V_11;
  20148. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_173 = __this->___leftLeg;
  20149. NullCheck(L_173);
  20150. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_174 = L_173->___footRotationOffset;
  20151. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_175;
  20152. L_175 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_172, L_174, NULL);
  20153. NullCheck(L_171);
  20154. L_171->___footRotationOffset = L_175;
  20155. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_176 = __this->___rightLeg;
  20156. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_177 = V_12;
  20157. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_178 = __this->___rightLeg;
  20158. NullCheck(L_178);
  20159. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_179 = L_178->___footRotationOffset;
  20160. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_180;
  20161. L_180 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_177, L_179, NULL);
  20162. NullCheck(L_176);
  20163. L_176->___footRotationOffset = L_180;
  20164. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_181 = __this->___leftLeg;
  20165. NullCheck(L_181);
  20166. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_182;
  20167. L_182 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(L_181, NULL);
  20168. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_183 = __this->___leftLeg;
  20169. NullCheck(L_183);
  20170. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_184 = L_183->___footPositionOffset;
  20171. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_185;
  20172. L_185 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_182, L_184, NULL);
  20173. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_186 = __this->___rightLeg;
  20174. NullCheck(L_186);
  20175. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_187;
  20176. L_187 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(L_186, NULL);
  20177. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_188 = __this->___rightLeg;
  20178. NullCheck(L_188);
  20179. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_189 = L_188->___footPositionOffset;
  20180. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_190;
  20181. L_190 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_187, L_189, NULL);
  20182. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_191;
  20183. L_191 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_185, L_190, (0.5f), NULL);
  20184. V_13 = L_191;
  20185. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_192 = V_13;
  20186. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_193;
  20187. L_193 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  20188. NullCheck(L_193);
  20189. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_194 = L_193->___solverPosition;
  20190. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_195 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  20191. NullCheck(L_195);
  20192. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_196;
  20193. L_196 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_195, NULL);
  20194. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_197;
  20195. L_197 = V3Tools_PointToPlane_m37055F32224A4792C3FF89C730FC2C7BE73DA608(L_192, L_194, L_196, NULL);
  20196. V_13 = L_197;
  20197. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_198;
  20198. L_198 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  20199. NullCheck(L_198);
  20200. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_199 = L_198->___solverPosition;
  20201. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_200 = __this->___rootVelocity;
  20202. float L_201;
  20203. L_201 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  20204. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_202;
  20205. L_202 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_200, L_201, NULL);
  20206. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_203;
  20207. L_203 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_202, (2.0f), NULL);
  20208. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_204 = __this->___locomotion;
  20209. NullCheck(L_204);
  20210. float L_205 = L_204->___weight;
  20211. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_206;
  20212. L_206 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_203, L_205, NULL);
  20213. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_207;
  20214. L_207 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_199, L_206, NULL);
  20215. V_14 = L_207;
  20216. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_208 = V_14;
  20217. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_209 = V_13;
  20218. float L_210;
  20219. L_210 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  20220. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_211 = __this->___locomotion;
  20221. NullCheck(L_211);
  20222. float L_212 = L_211->___rootSpeed;
  20223. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_213 = __this->___locomotion;
  20224. NullCheck(L_213);
  20225. float L_214 = L_213->___weight;
  20226. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_215;
  20227. L_215 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_208, L_209, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_210, L_212)), L_214)), NULL);
  20228. V_14 = L_215;
  20229. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_216;
  20230. L_216 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  20231. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_217 = V_14;
  20232. NullCheck(L_216);
  20233. L_216->___solverPosition = L_217;
  20234. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_218 = __this->___rootVelocity;
  20235. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_219 = V_13;
  20236. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_220;
  20237. L_220 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  20238. NullCheck(L_220);
  20239. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_221 = L_220->___solverPosition;
  20240. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_222;
  20241. L_222 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_219, L_221, NULL);
  20242. float L_223;
  20243. L_223 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  20244. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_224;
  20245. L_224 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_222, L_223, NULL);
  20246. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_225;
  20247. L_225 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_224, (10.0f), NULL);
  20248. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_226;
  20249. L_226 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_218, L_225, NULL);
  20250. __this->___rootVelocity = L_226;
  20251. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_227 = __this->___rootVelocity;
  20252. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_228 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  20253. NullCheck(L_228);
  20254. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_229;
  20255. L_229 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_228, NULL);
  20256. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_230;
  20257. L_230 = V3Tools_ExtractVertical_m47BDFC19A306C2C7BB23EC498633102F1ED6C372(L_227, L_229, (1.0f), NULL);
  20258. V_15 = L_230;
  20259. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_231 = __this->___rootVelocity;
  20260. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_232 = V_15;
  20261. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_233;
  20262. L_233 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_231, L_232, NULL);
  20263. __this->___rootVelocity = L_233;
  20264. float L_234 = V_7;
  20265. float L_235 = V_8;
  20266. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_236 = __this->___locomotion;
  20267. NullCheck(L_236);
  20268. float L_237 = L_236->___maxBodyYOffset;
  20269. float L_238 = __this->___scale;
  20270. float L_239;
  20271. L_239 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(((float)il2cpp_codegen_add(L_234, L_235)), ((float)il2cpp_codegen_multiply(L_237, L_238)), NULL);
  20272. V_16 = L_239;
  20273. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_240 = __this->___bodyOffset;
  20274. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_241 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)__this)->___root;
  20275. NullCheck(L_241);
  20276. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_242;
  20277. L_242 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_241, NULL);
  20278. float L_243 = V_16;
  20279. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_244;
  20280. L_244 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_242, L_243, NULL);
  20281. float L_245;
  20282. L_245 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  20283. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_246;
  20284. L_246 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_240, L_244, ((float)il2cpp_codegen_multiply(L_245, (3.0f))), NULL);
  20285. __this->___bodyOffset = L_246;
  20286. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_247;
  20287. L_247 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  20288. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_248 = __this->___bodyOffset;
  20289. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_249 = __this->___locomotion;
  20290. NullCheck(L_249);
  20291. float L_250 = L_249->___weight;
  20292. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_251;
  20293. L_251 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_247, L_248, L_250, NULL);
  20294. __this->___bodyOffset = L_251;
  20295. }
  20296. IL_05c5:
  20297. {
  20298. bool L_252 = __this->___hasLegs;
  20299. if (!L_252)
  20300. {
  20301. goto IL_0717;
  20302. }
  20303. }
  20304. {
  20305. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_253 = __this->___legs;
  20306. V_2 = L_253;
  20307. V_1 = 0;
  20308. goto IL_05ed;
  20309. }
  20310. IL_05db:
  20311. {
  20312. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_254 = V_2;
  20313. int32_t L_255 = V_1;
  20314. NullCheck(L_254);
  20315. int32_t L_256 = L_255;
  20316. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_257 = (L_254)->GetAt(static_cast<il2cpp_array_size_t>(L_256));
  20317. float L_258 = __this->___scale;
  20318. NullCheck(L_257);
  20319. VirtualActionInvoker1< float >::Invoke(7, L_257, L_258);
  20320. int32_t L_259 = V_1;
  20321. V_1 = ((int32_t)il2cpp_codegen_add(L_259, 1));
  20322. }
  20323. IL_05ed:
  20324. {
  20325. int32_t L_260 = V_1;
  20326. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_261 = V_2;
  20327. NullCheck(L_261);
  20328. if ((((int32_t)L_260) < ((int32_t)((int32_t)(((RuntimeArray*)L_261)->max_length)))))
  20329. {
  20330. goto IL_05db;
  20331. }
  20332. }
  20333. {
  20334. bool L_262 = __this->___plantFeet;
  20335. if (!L_262)
  20336. {
  20337. goto IL_0604;
  20338. }
  20339. }
  20340. {
  20341. int32_t L_263 = __this->___LOD;
  20342. if ((((int32_t)L_263) <= ((int32_t)0)))
  20343. {
  20344. goto IL_0682;
  20345. }
  20346. }
  20347. IL_0604:
  20348. {
  20349. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_264 = __this->___spine;
  20350. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_265 = __this->___legs;
  20351. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_266 = __this->___bodyOffset;
  20352. NullCheck(L_264);
  20353. Spine_InverseTranslateToHead_mCBC45D232C0831636371802B8AB702837AF4362E(L_264, L_265, (bool)0, (bool)0, L_266, (1.0f), NULL);
  20354. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_267 = __this->___legs;
  20355. V_2 = L_267;
  20356. V_1 = 0;
  20357. goto IL_0659;
  20358. }
  20359. IL_062d:
  20360. {
  20361. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_268 = V_2;
  20362. int32_t L_269 = V_1;
  20363. NullCheck(L_268);
  20364. int32_t L_270 = L_269;
  20365. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_271 = (L_268)->GetAt(static_cast<il2cpp_array_size_t>(L_270));
  20366. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_272 = __this->___spine;
  20367. NullCheck(L_272);
  20368. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_273;
  20369. L_273 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_272, NULL);
  20370. NullCheck(L_273);
  20371. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_274 = L_273->___solverPosition;
  20372. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_275 = __this->___spine;
  20373. NullCheck(L_275);
  20374. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_276;
  20375. L_276 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_275, NULL);
  20376. NullCheck(L_276);
  20377. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_277 = L_276->___solverRotation;
  20378. NullCheck(L_271);
  20379. BodyPart_TranslateRoot_m75F9BA842BC2235D17AD7E5221E143559AA28CC0(L_271, L_274, L_277, NULL);
  20380. int32_t L_278 = V_1;
  20381. V_1 = ((int32_t)il2cpp_codegen_add(L_278, 1));
  20382. }
  20383. IL_0659:
  20384. {
  20385. int32_t L_279 = V_1;
  20386. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_280 = V_2;
  20387. NullCheck(L_280);
  20388. if ((((int32_t)L_279) < ((int32_t)((int32_t)(((RuntimeArray*)L_280)->max_length)))))
  20389. {
  20390. goto IL_062d;
  20391. }
  20392. }
  20393. {
  20394. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_281 = __this->___legs;
  20395. V_2 = L_281;
  20396. V_1 = 0;
  20397. goto IL_0677;
  20398. }
  20399. IL_066a:
  20400. {
  20401. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_282 = V_2;
  20402. int32_t L_283 = V_1;
  20403. NullCheck(L_282);
  20404. int32_t L_284 = L_283;
  20405. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_285 = (L_282)->GetAt(static_cast<il2cpp_array_size_t>(L_284));
  20406. NullCheck(L_285);
  20407. Leg_Solve_mD08F2AE15FBA4ACAF5ACE013A2BD3524CC468654(L_285, (bool)1, NULL);
  20408. int32_t L_286 = V_1;
  20409. V_1 = ((int32_t)il2cpp_codegen_add(L_286, 1));
  20410. }
  20411. IL_0677:
  20412. {
  20413. int32_t L_287 = V_1;
  20414. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_288 = V_2;
  20415. NullCheck(L_288);
  20416. if ((((int32_t)L_287) < ((int32_t)((int32_t)(((RuntimeArray*)L_288)->max_length)))))
  20417. {
  20418. goto IL_066a;
  20419. }
  20420. }
  20421. {
  20422. goto IL_0735;
  20423. }
  20424. IL_0682:
  20425. {
  20426. V_17 = 0;
  20427. goto IL_070d;
  20428. }
  20429. IL_068a:
  20430. {
  20431. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_289 = __this->___spine;
  20432. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_290 = __this->___legs;
  20433. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_291 = __this->___bodyOffset;
  20434. NullCheck(L_289);
  20435. Spine_InverseTranslateToHead_mCBC45D232C0831636371802B8AB702837AF4362E(L_289, L_290, (bool)1, (bool)1, L_291, (1.0f), NULL);
  20436. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_292 = __this->___legs;
  20437. V_2 = L_292;
  20438. V_1 = 0;
  20439. goto IL_06df;
  20440. }
  20441. IL_06b3:
  20442. {
  20443. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_293 = V_2;
  20444. int32_t L_294 = V_1;
  20445. NullCheck(L_293);
  20446. int32_t L_295 = L_294;
  20447. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_296 = (L_293)->GetAt(static_cast<il2cpp_array_size_t>(L_295));
  20448. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_297 = __this->___spine;
  20449. NullCheck(L_297);
  20450. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_298;
  20451. L_298 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_297, NULL);
  20452. NullCheck(L_298);
  20453. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_299 = L_298->___solverPosition;
  20454. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_300 = __this->___spine;
  20455. NullCheck(L_300);
  20456. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_301;
  20457. L_301 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_300, NULL);
  20458. NullCheck(L_301);
  20459. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_302 = L_301->___solverRotation;
  20460. NullCheck(L_296);
  20461. BodyPart_TranslateRoot_m75F9BA842BC2235D17AD7E5221E143559AA28CC0(L_296, L_299, L_302, NULL);
  20462. int32_t L_303 = V_1;
  20463. V_1 = ((int32_t)il2cpp_codegen_add(L_303, 1));
  20464. }
  20465. IL_06df:
  20466. {
  20467. int32_t L_304 = V_1;
  20468. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_305 = V_2;
  20469. NullCheck(L_305);
  20470. if ((((int32_t)L_304) < ((int32_t)((int32_t)(((RuntimeArray*)L_305)->max_length)))))
  20471. {
  20472. goto IL_06b3;
  20473. }
  20474. }
  20475. {
  20476. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_306 = __this->___legs;
  20477. V_2 = L_306;
  20478. V_1 = 0;
  20479. goto IL_0701;
  20480. }
  20481. IL_06f0:
  20482. {
  20483. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_307 = V_2;
  20484. int32_t L_308 = V_1;
  20485. NullCheck(L_307);
  20486. int32_t L_309 = L_308;
  20487. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_310 = (L_307)->GetAt(static_cast<il2cpp_array_size_t>(L_309));
  20488. int32_t L_311 = V_17;
  20489. NullCheck(L_310);
  20490. Leg_Solve_mD08F2AE15FBA4ACAF5ACE013A2BD3524CC468654(L_310, (bool)((((int32_t)L_311) == ((int32_t)0))? 1 : 0), NULL);
  20491. int32_t L_312 = V_1;
  20492. V_1 = ((int32_t)il2cpp_codegen_add(L_312, 1));
  20493. }
  20494. IL_0701:
  20495. {
  20496. int32_t L_313 = V_1;
  20497. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_314 = V_2;
  20498. NullCheck(L_314);
  20499. if ((((int32_t)L_313) < ((int32_t)((int32_t)(((RuntimeArray*)L_314)->max_length)))))
  20500. {
  20501. goto IL_06f0;
  20502. }
  20503. }
  20504. {
  20505. int32_t L_315 = V_17;
  20506. V_17 = ((int32_t)il2cpp_codegen_add(L_315, 1));
  20507. }
  20508. IL_070d:
  20509. {
  20510. int32_t L_316 = V_17;
  20511. if ((((int32_t)L_316) < ((int32_t)2)))
  20512. {
  20513. goto IL_068a;
  20514. }
  20515. }
  20516. {
  20517. goto IL_0735;
  20518. }
  20519. IL_0717:
  20520. {
  20521. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_317 = __this->___spine;
  20522. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_318 = __this->___legs;
  20523. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_319 = __this->___bodyOffset;
  20524. NullCheck(L_317);
  20525. Spine_InverseTranslateToHead_mCBC45D232C0831636371802B8AB702837AF4362E(L_317, L_318, (bool)0, (bool)0, L_319, (1.0f), NULL);
  20526. }
  20527. IL_0735:
  20528. {
  20529. V_18 = 0;
  20530. goto IL_076e;
  20531. }
  20532. IL_073a:
  20533. {
  20534. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_320 = __this->___arms;
  20535. int32_t L_321 = V_18;
  20536. NullCheck(L_320);
  20537. int32_t L_322 = L_321;
  20538. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_323 = (L_320)->GetAt(static_cast<il2cpp_array_size_t>(L_322));
  20539. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_324 = __this->___spine;
  20540. NullCheck(L_324);
  20541. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_325;
  20542. L_325 = Spine_get_chest_m86C7BF0990FD4DD6DD65A6993C08EA0A53B75908(L_324, NULL);
  20543. NullCheck(L_325);
  20544. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_326 = L_325->___solverPosition;
  20545. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_327 = __this->___spine;
  20546. NullCheck(L_327);
  20547. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_328;
  20548. L_328 = Spine_get_chest_m86C7BF0990FD4DD6DD65A6993C08EA0A53B75908(L_327, NULL);
  20549. NullCheck(L_328);
  20550. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_329 = L_328->___solverRotation;
  20551. NullCheck(L_323);
  20552. BodyPart_TranslateRoot_m75F9BA842BC2235D17AD7E5221E143559AA28CC0(L_323, L_326, L_329, NULL);
  20553. int32_t L_330 = V_18;
  20554. V_18 = ((int32_t)il2cpp_codegen_add(L_330, 1));
  20555. }
  20556. IL_076e:
  20557. {
  20558. int32_t L_331 = V_18;
  20559. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_332 = __this->___arms;
  20560. NullCheck(L_332);
  20561. if ((((int32_t)L_331) < ((int32_t)((int32_t)(((RuntimeArray*)L_332)->max_length)))))
  20562. {
  20563. goto IL_073a;
  20564. }
  20565. }
  20566. {
  20567. V_19 = 0;
  20568. goto IL_0798;
  20569. }
  20570. IL_077f:
  20571. {
  20572. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_333 = __this->___arms;
  20573. int32_t L_334 = V_19;
  20574. NullCheck(L_333);
  20575. int32_t L_335 = L_334;
  20576. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_336 = (L_333)->GetAt(static_cast<il2cpp_array_size_t>(L_335));
  20577. int32_t L_337 = V_19;
  20578. NullCheck(L_336);
  20579. Arm_Solve_m9844BB2C63CB043D62378B325AD2A429E5B66400(L_336, (bool)((((int32_t)L_337) == ((int32_t)0))? 1 : 0), NULL);
  20580. int32_t L_338 = V_19;
  20581. V_19 = ((int32_t)il2cpp_codegen_add(L_338, 1));
  20582. }
  20583. IL_0798:
  20584. {
  20585. int32_t L_339 = V_19;
  20586. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_340 = __this->___arms;
  20587. NullCheck(L_340);
  20588. if ((((int32_t)L_339) < ((int32_t)((int32_t)(((RuntimeArray*)L_340)->max_length)))))
  20589. {
  20590. goto IL_077f;
  20591. }
  20592. }
  20593. {
  20594. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_341 = __this->___spine;
  20595. NullCheck(L_341);
  20596. VirtualActionInvoker0::Invoke(8, L_341);
  20597. bool L_342 = __this->___hasLegs;
  20598. if (!L_342)
  20599. {
  20600. goto IL_07d4;
  20601. }
  20602. }
  20603. {
  20604. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_343 = __this->___legs;
  20605. V_2 = L_343;
  20606. V_1 = 0;
  20607. goto IL_07ce;
  20608. }
  20609. IL_07c2:
  20610. {
  20611. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_344 = V_2;
  20612. int32_t L_345 = V_1;
  20613. NullCheck(L_344);
  20614. int32_t L_346 = L_345;
  20615. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_347 = (L_344)->GetAt(static_cast<il2cpp_array_size_t>(L_346));
  20616. NullCheck(L_347);
  20617. VirtualActionInvoker0::Invoke(8, L_347);
  20618. int32_t L_348 = V_1;
  20619. V_1 = ((int32_t)il2cpp_codegen_add(L_348, 1));
  20620. }
  20621. IL_07ce:
  20622. {
  20623. int32_t L_349 = V_1;
  20624. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_350 = V_2;
  20625. NullCheck(L_350);
  20626. if ((((int32_t)L_349) < ((int32_t)((int32_t)(((RuntimeArray*)L_350)->max_length)))))
  20627. {
  20628. goto IL_07c2;
  20629. }
  20630. }
  20631. IL_07d4:
  20632. {
  20633. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_351 = __this->___arms;
  20634. V_0 = L_351;
  20635. V_1 = 0;
  20636. goto IL_07eb;
  20637. }
  20638. IL_07df:
  20639. {
  20640. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_352 = V_0;
  20641. int32_t L_353 = V_1;
  20642. NullCheck(L_352);
  20643. int32_t L_354 = L_353;
  20644. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_355 = (L_352)->GetAt(static_cast<il2cpp_array_size_t>(L_354));
  20645. NullCheck(L_355);
  20646. VirtualActionInvoker0::Invoke(8, L_355);
  20647. int32_t L_356 = V_1;
  20648. V_1 = ((int32_t)il2cpp_codegen_add(L_356, 1));
  20649. }
  20650. IL_07eb:
  20651. {
  20652. int32_t L_357 = V_1;
  20653. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_358 = V_0;
  20654. NullCheck(L_358);
  20655. if ((((int32_t)L_357) < ((int32_t)((int32_t)(((RuntimeArray*)L_358)->max_length)))))
  20656. {
  20657. goto IL_07df;
  20658. }
  20659. }
  20660. {
  20661. bool L_359 = __this->___hasLegs;
  20662. if (!L_359)
  20663. {
  20664. goto IL_0836;
  20665. }
  20666. }
  20667. {
  20668. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_360 = __this->___spine;
  20669. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_361 = L_360;
  20670. NullCheck(L_361);
  20671. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_362 = L_361->___pelvisPositionOffset;
  20672. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_363;
  20673. L_363 = IKSolverVR_GetPelvisOffset_m489C1D0B60BE713C4907F7AC5D565EB2F7A21A03(__this, NULL);
  20674. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_364;
  20675. L_364 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_362, L_363, NULL);
  20676. NullCheck(L_361);
  20677. L_361->___pelvisPositionOffset = L_364;
  20678. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_365 = __this->___spine;
  20679. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_366 = L_365;
  20680. NullCheck(L_366);
  20681. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_367 = L_366->___chestPositionOffset;
  20682. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_368 = __this->___spine;
  20683. NullCheck(L_368);
  20684. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_369 = L_368->___pelvisPositionOffset;
  20685. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_370;
  20686. L_370 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_367, L_369, NULL);
  20687. NullCheck(L_366);
  20688. L_366->___chestPositionOffset = L_370;
  20689. }
  20690. IL_0836:
  20691. {
  20692. IKSolverVR_Write_m51B13B7DDE7568ABDD5BBF081D48ED8BB482ED94(__this, NULL);
  20693. bool L_371 = __this->___hasLegs;
  20694. if (!L_371)
  20695. {
  20696. goto IL_08af;
  20697. }
  20698. }
  20699. {
  20700. __this->___supportLegIndex = (-1);
  20701. V_20 = (std::numeric_limits<float>::infinity());
  20702. V_21 = 0;
  20703. goto IL_08a3;
  20704. }
  20705. IL_0857:
  20706. {
  20707. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_372 = __this->___legs;
  20708. int32_t L_373 = V_21;
  20709. NullCheck(L_372);
  20710. int32_t L_374 = L_373;
  20711. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_375 = (L_372)->GetAt(static_cast<il2cpp_array_size_t>(L_374));
  20712. NullCheck(L_375);
  20713. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_376;
  20714. L_376 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(L_375, NULL);
  20715. NullCheck(L_376);
  20716. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_377 = L_376->___solverPosition;
  20717. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_378 = __this->___legs;
  20718. int32_t L_379 = V_21;
  20719. NullCheck(L_378);
  20720. int32_t L_380 = L_379;
  20721. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_381 = (L_378)->GetAt(static_cast<il2cpp_array_size_t>(L_380));
  20722. NullCheck(L_381);
  20723. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_382 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)L_381)->___bones;
  20724. NullCheck(L_382);
  20725. int32_t L_383 = 0;
  20726. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_384 = (L_382)->GetAt(static_cast<il2cpp_array_size_t>(L_383));
  20727. NullCheck(L_384);
  20728. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_385 = L_384->___solverPosition;
  20729. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_386;
  20730. L_386 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_377, L_385, NULL);
  20731. float L_387;
  20732. L_387 = Vector3_SqrMagnitude_m5ED73273031577902F1BED4CA9C5A0E786A680D1_inline(L_386, NULL);
  20733. V_22 = L_387;
  20734. float L_388 = V_22;
  20735. float L_389 = V_20;
  20736. if ((!(((float)L_388) < ((float)L_389))))
  20737. {
  20738. goto IL_089d;
  20739. }
  20740. }
  20741. {
  20742. int32_t L_390 = V_21;
  20743. __this->___supportLegIndex = L_390;
  20744. float L_391 = V_22;
  20745. V_20 = L_391;
  20746. }
  20747. IL_089d:
  20748. {
  20749. int32_t L_392 = V_21;
  20750. V_21 = ((int32_t)il2cpp_codegen_add(L_392, 1));
  20751. }
  20752. IL_08a3:
  20753. {
  20754. int32_t L_393 = V_21;
  20755. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_394 = __this->___legs;
  20756. NullCheck(L_394);
  20757. if ((((int32_t)L_393) < ((int32_t)((int32_t)(((RuntimeArray*)L_394)->max_length)))))
  20758. {
  20759. goto IL_0857;
  20760. }
  20761. }
  20762. IL_08af:
  20763. {
  20764. return;
  20765. }
  20766. }
  20767. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverVR_GetPosition_m41D78D6D9E6E94DDEF1CF697A0BC27284B2E3D1B (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, int32_t ___0_index, const RuntimeMethod* method)
  20768. {
  20769. {
  20770. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = __this->___solvedPositions;
  20771. int32_t L_1 = ___0_index;
  20772. NullCheck(L_0);
  20773. int32_t L_2 = L_1;
  20774. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  20775. return L_3;
  20776. }
  20777. }
  20778. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 IKSolverVR_GetRotation_m8F9D85BC162869F77DA700A431E3CEC50FF6A271 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, int32_t ___0_index, const RuntimeMethod* method)
  20779. {
  20780. {
  20781. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_0 = __this->___solvedRotations;
  20782. int32_t L_1 = ___0_index;
  20783. NullCheck(L_0);
  20784. int32_t L_2 = L_1;
  20785. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  20786. return L_3;
  20787. }
  20788. }
  20789. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  20790. {
  20791. {
  20792. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0 = __this->___U3CrootBoneU3Ek__BackingField;
  20793. return L_0;
  20794. }
  20795. }
  20796. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_set_rootBone_m19D2FDB8BABAC9F3D1B59BEA3B39DA5C2B4B32F6 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_value, const RuntimeMethod* method)
  20797. {
  20798. {
  20799. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0 = ___0_value;
  20800. __this->___U3CrootBoneU3Ek__BackingField = L_0;
  20801. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CrootBoneU3Ek__BackingField), (void*)L_0);
  20802. return;
  20803. }
  20804. }
  20805. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR_Write_m51B13B7DDE7568ABDD5BBF081D48ED8BB482ED94 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  20806. {
  20807. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* V_0 = NULL;
  20808. int32_t V_1 = 0;
  20809. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* V_2 = NULL;
  20810. {
  20811. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = __this->___solvedPositions;
  20812. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_1;
  20813. L_1 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  20814. NullCheck(L_1);
  20815. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = L_1->___solverPosition;
  20816. NullCheck(L_0);
  20817. (L_0)->SetAt(static_cast<il2cpp_array_size_t>(0), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_2);
  20818. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_3 = __this->___solvedRotations;
  20819. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_4;
  20820. L_4 = IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline(__this, NULL);
  20821. NullCheck(L_4);
  20822. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = L_4->___solverRotation;
  20823. NullCheck(L_3);
  20824. (L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_5);
  20825. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_6 = __this->___spine;
  20826. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_7 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)(&__this->___solvedPositions);
  20827. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_8 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)(&__this->___solvedRotations);
  20828. NullCheck(L_6);
  20829. VirtualActionInvoker2< Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** >::Invoke(6, L_6, L_7, L_8);
  20830. bool L_9 = __this->___hasLegs;
  20831. if (!L_9)
  20832. {
  20833. goto IL_0076;
  20834. }
  20835. }
  20836. {
  20837. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_10 = __this->___legs;
  20838. V_0 = L_10;
  20839. V_1 = 0;
  20840. goto IL_0070;
  20841. }
  20842. IL_0058:
  20843. {
  20844. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_11 = V_0;
  20845. int32_t L_12 = V_1;
  20846. NullCheck(L_11);
  20847. int32_t L_13 = L_12;
  20848. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  20849. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_15 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)(&__this->___solvedPositions);
  20850. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_16 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)(&__this->___solvedRotations);
  20851. NullCheck(L_14);
  20852. VirtualActionInvoker2< Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** >::Invoke(6, L_14, L_15, L_16);
  20853. int32_t L_17 = V_1;
  20854. V_1 = ((int32_t)il2cpp_codegen_add(L_17, 1));
  20855. }
  20856. IL_0070:
  20857. {
  20858. int32_t L_18 = V_1;
  20859. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_19 = V_0;
  20860. NullCheck(L_19);
  20861. if ((((int32_t)L_18) < ((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length)))))
  20862. {
  20863. goto IL_0058;
  20864. }
  20865. }
  20866. IL_0076:
  20867. {
  20868. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_20 = __this->___arms;
  20869. V_2 = L_20;
  20870. V_1 = 0;
  20871. goto IL_0099;
  20872. }
  20873. IL_0081:
  20874. {
  20875. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_21 = V_2;
  20876. int32_t L_22 = V_1;
  20877. NullCheck(L_21);
  20878. int32_t L_23 = L_22;
  20879. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  20880. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_25 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)(&__this->___solvedPositions);
  20881. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_26 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)(&__this->___solvedRotations);
  20882. NullCheck(L_24);
  20883. VirtualActionInvoker2< Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** >::Invoke(6, L_24, L_25, L_26);
  20884. int32_t L_27 = V_1;
  20885. V_1 = ((int32_t)il2cpp_codegen_add(L_27, 1));
  20886. }
  20887. IL_0099:
  20888. {
  20889. int32_t L_28 = V_1;
  20890. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_29 = V_2;
  20891. NullCheck(L_29);
  20892. if ((((int32_t)L_28) < ((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length)))))
  20893. {
  20894. goto IL_0081;
  20895. }
  20896. }
  20897. {
  20898. return;
  20899. }
  20900. }
  20901. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverVR_GetPelvisOffset_m489C1D0B60BE713C4907F7AC5D565EB2F7A21A03 (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  20902. {
  20903. static bool s_Il2CppMethodInitialized;
  20904. if (!s_Il2CppMethodInitialized)
  20905. {
  20906. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  20907. s_Il2CppMethodInitialized = true;
  20908. }
  20909. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  20910. memset((&V_0), 0, sizeof(V_0));
  20911. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  20912. memset((&V_1), 0, sizeof(V_1));
  20913. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  20914. memset((&V_2), 0, sizeof(V_2));
  20915. RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_3;
  20916. memset((&V_3), 0, sizeof(V_3));
  20917. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  20918. memset((&V_4), 0, sizeof(V_4));
  20919. {
  20920. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_0 = __this->___locomotion;
  20921. NullCheck(L_0);
  20922. float L_1 = L_0->___weight;
  20923. if ((!(((float)L_1) <= ((float)(0.0f)))))
  20924. {
  20925. goto IL_0018;
  20926. }
  20927. }
  20928. {
  20929. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  20930. L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  20931. return L_2;
  20932. }
  20933. IL_0018:
  20934. {
  20935. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_3 = __this->___locomotion;
  20936. NullCheck(L_3);
  20937. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_4 = L_3->___blockingLayers;
  20938. int32_t L_5;
  20939. L_5 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_4, NULL);
  20940. if ((!(((uint32_t)L_5) == ((uint32_t)(-1)))))
  20941. {
  20942. goto IL_0031;
  20943. }
  20944. }
  20945. {
  20946. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  20947. L_6 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  20948. return L_6;
  20949. }
  20950. IL_0031:
  20951. {
  20952. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___raycastOriginPelvis;
  20953. V_0 = L_7;
  20954. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_8 = __this->___spine;
  20955. NullCheck(L_8);
  20956. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_9;
  20957. L_9 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_8, NULL);
  20958. NullCheck(L_9);
  20959. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_10 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_9->___solverPosition);
  20960. float L_11 = L_10->___y;
  20961. (&V_0)->___y = L_11;
  20962. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_12 = __this->___spine;
  20963. NullCheck(L_12);
  20964. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_13;
  20965. L_13 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_12, NULL);
  20966. NullCheck(L_13);
  20967. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___readPosition;
  20968. V_1 = L_14;
  20969. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_15 = __this->___spine;
  20970. NullCheck(L_15);
  20971. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_16;
  20972. L_16 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_15, NULL);
  20973. NullCheck(L_16);
  20974. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_17 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_16->___solverPosition);
  20975. float L_18 = L_17->___y;
  20976. (&V_1)->___y = L_18;
  20977. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_1;
  20978. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_0;
  20979. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  20980. L_21 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_19, L_20, NULL);
  20981. V_2 = L_21;
  20982. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_22 = __this->___locomotion;
  20983. NullCheck(L_22);
  20984. float L_23 = L_22->___raycastRadius;
  20985. if ((!(((float)L_23) <= ((float)(0.0f)))))
  20986. {
  20987. goto IL_00cd;
  20988. }
  20989. }
  20990. {
  20991. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
  20992. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_2;
  20993. float L_26;
  20994. L_26 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_2), NULL);
  20995. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_27 = __this->___locomotion;
  20996. NullCheck(L_27);
  20997. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_28 = L_27->___blockingLayers;
  20998. int32_t L_29;
  20999. L_29 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_28, NULL);
  21000. il2cpp_codegen_runtime_class_init_inline(Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  21001. bool L_30;
  21002. L_30 = Physics_Raycast_m56120FFEF0D4F0A44CCA505B5C946E6FB8742F12(L_24, L_25, (&V_3), ((float)il2cpp_codegen_multiply(L_26, (1.10000002f))), L_29, NULL);
  21003. if (!L_30)
  21004. {
  21005. goto IL_0124;
  21006. }
  21007. }
  21008. {
  21009. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  21010. L_31 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39((&V_3), NULL);
  21011. V_1 = L_31;
  21012. goto IL_0124;
  21013. }
  21014. IL_00cd:
  21015. {
  21016. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = V_0;
  21017. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_33 = __this->___locomotion;
  21018. NullCheck(L_33);
  21019. float L_34 = L_33->___raycastRadius;
  21020. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_2;
  21021. float L_36;
  21022. L_36 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_2), NULL);
  21023. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_37 = __this->___locomotion;
  21024. NullCheck(L_37);
  21025. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_38 = L_37->___blockingLayers;
  21026. int32_t L_39;
  21027. L_39 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_38, NULL);
  21028. il2cpp_codegen_runtime_class_init_inline(Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  21029. bool L_40;
  21030. L_40 = Physics_SphereCast_m2A41FD7023EC5B89B69E0A8948325BEF46D9597C(L_32, ((float)il2cpp_codegen_multiply(L_34, (1.10000002f))), L_35, (&V_3), L_36, L_39, NULL);
  21031. if (!L_40)
  21032. {
  21033. goto IL_0124;
  21034. }
  21035. }
  21036. {
  21037. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = V_0;
  21038. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
  21039. L_42 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_2), NULL);
  21040. float L_43;
  21041. L_43 = RaycastHit_get_distance_m035194B0E9BB6229259CFC43B095A9C8E5011C78((&V_3), NULL);
  21042. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
  21043. L_44 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_42, L_43, NULL);
  21044. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
  21045. L_45 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_44, (1.10000002f), NULL);
  21046. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
  21047. L_46 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_41, L_45, NULL);
  21048. V_1 = L_46;
  21049. }
  21050. IL_0124:
  21051. {
  21052. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_47 = __this->___spine;
  21053. NullCheck(L_47);
  21054. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_48;
  21055. L_48 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_47, NULL);
  21056. NullCheck(L_48);
  21057. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = L_48->___solverPosition;
  21058. V_4 = L_49;
  21059. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = V_4;
  21060. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = V_1;
  21061. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
  21062. L_52 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_50, L_51, NULL);
  21063. V_2 = L_52;
  21064. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_53 = __this->___locomotion;
  21065. NullCheck(L_53);
  21066. float L_54 = L_53->___raycastRadius;
  21067. if ((!(((float)L_54) <= ((float)(0.0f)))))
  21068. {
  21069. goto IL_017e;
  21070. }
  21071. }
  21072. {
  21073. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = V_1;
  21074. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_2;
  21075. float L_57;
  21076. L_57 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_2), NULL);
  21077. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_58 = __this->___locomotion;
  21078. NullCheck(L_58);
  21079. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_59 = L_58->___blockingLayers;
  21080. int32_t L_60;
  21081. L_60 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_59, NULL);
  21082. il2cpp_codegen_runtime_class_init_inline(Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  21083. bool L_61;
  21084. L_61 = Physics_Raycast_m56120FFEF0D4F0A44CCA505B5C946E6FB8742F12(L_55, L_56, (&V_3), L_57, L_60, NULL);
  21085. if (!L_61)
  21086. {
  21087. goto IL_01c6;
  21088. }
  21089. }
  21090. {
  21091. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
  21092. L_62 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39((&V_3), NULL);
  21093. V_4 = L_62;
  21094. goto IL_01c6;
  21095. }
  21096. IL_017e:
  21097. {
  21098. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = V_1;
  21099. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_64 = __this->___locomotion;
  21100. NullCheck(L_64);
  21101. float L_65 = L_64->___raycastRadius;
  21102. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = V_2;
  21103. float L_67;
  21104. L_67 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_2), NULL);
  21105. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_68 = __this->___locomotion;
  21106. NullCheck(L_68);
  21107. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_69 = L_68->___blockingLayers;
  21108. int32_t L_70;
  21109. L_70 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_69, NULL);
  21110. il2cpp_codegen_runtime_class_init_inline(Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  21111. bool L_71;
  21112. L_71 = Physics_SphereCast_m2A41FD7023EC5B89B69E0A8948325BEF46D9597C(L_63, L_65, L_66, (&V_3), L_67, L_70, NULL);
  21113. if (!L_71)
  21114. {
  21115. goto IL_01c6;
  21116. }
  21117. }
  21118. {
  21119. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = V_1;
  21120. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
  21121. L_73 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_2), NULL);
  21122. float L_74;
  21123. L_74 = RaycastHit_get_distance_m035194B0E9BB6229259CFC43B095A9C8E5011C78((&V_3), NULL);
  21124. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
  21125. L_75 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_73, L_74, NULL);
  21126. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
  21127. L_76 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_72, L_75, NULL);
  21128. V_4 = L_76;
  21129. }
  21130. IL_01c6:
  21131. {
  21132. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = __this->___lastOffset;
  21133. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78;
  21134. L_78 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  21135. float L_79;
  21136. L_79 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  21137. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
  21138. L_80 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_77, L_78, ((float)il2cpp_codegen_multiply(L_79, (3.0f))), NULL);
  21139. __this->___lastOffset = L_80;
  21140. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81 = V_4;
  21141. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82 = __this->___lastOffset;
  21142. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
  21143. L_83 = Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline(L_82, (0.75f), NULL);
  21144. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
  21145. L_84 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_81, L_83, NULL);
  21146. V_4 = L_84;
  21147. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_85 = __this->___spine;
  21148. NullCheck(L_85);
  21149. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_86;
  21150. L_86 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_85, NULL);
  21151. NullCheck(L_86);
  21152. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_87 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_86->___solverPosition);
  21153. float L_88 = L_87->___y;
  21154. (&V_4)->___y = L_88;
  21155. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89 = __this->___lastOffset;
  21156. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90 = V_4;
  21157. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_91 = __this->___spine;
  21158. NullCheck(L_91);
  21159. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_92;
  21160. L_92 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_91, NULL);
  21161. NullCheck(L_92);
  21162. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93 = L_92->___solverPosition;
  21163. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
  21164. L_94 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_90, L_93, NULL);
  21165. float L_95;
  21166. L_95 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  21167. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96;
  21168. L_96 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_89, L_94, ((float)il2cpp_codegen_multiply(L_95, (15.0f))), NULL);
  21169. __this->___lastOffset = L_96;
  21170. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97 = __this->___lastOffset;
  21171. return L_97;
  21172. }
  21173. }
  21174. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverVR__ctor_mA97153EACBA01B8C18F442C7C49B05A57A960CED (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  21175. {
  21176. static bool s_Il2CppMethodInitialized;
  21177. if (!s_Il2CppMethodInitialized)
  21178. {
  21179. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492_il2cpp_TypeInfo_var);
  21180. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B_il2cpp_TypeInfo_var);
  21181. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3_il2cpp_TypeInfo_var);
  21182. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2_il2cpp_TypeInfo_var);
  21183. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD_il2cpp_TypeInfo_var);
  21184. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var);
  21185. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA_il2cpp_TypeInfo_var);
  21186. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var);
  21187. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
  21188. s_Il2CppMethodInitialized = true;
  21189. }
  21190. {
  21191. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_0 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)0);
  21192. __this->___solverTransforms = L_0;
  21193. Il2CppCodeGenWriteBarrier((void**)(&__this->___solverTransforms), (void*)L_0);
  21194. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)0);
  21195. __this->___readPositions = L_1;
  21196. Il2CppCodeGenWriteBarrier((void**)(&__this->___readPositions), (void*)L_1);
  21197. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_2 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)SZArrayNew(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var, (uint32_t)0);
  21198. __this->___readRotations = L_2;
  21199. Il2CppCodeGenWriteBarrier((void**)(&__this->___readRotations), (void*)L_2);
  21200. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_3 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)22));
  21201. __this->___solvedPositions = L_3;
  21202. Il2CppCodeGenWriteBarrier((void**)(&__this->___solvedPositions), (void*)L_3);
  21203. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_4 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)SZArrayNew(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var, (uint32_t)((int32_t)22));
  21204. __this->___solvedRotations = L_4;
  21205. Il2CppCodeGenWriteBarrier((void**)(&__this->___solvedRotations), (void*)L_4);
  21206. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_5 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)SZArrayNew(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var, (uint32_t)((int32_t)21));
  21207. __this->___defaultLocalRotations = L_5;
  21208. Il2CppCodeGenWriteBarrier((void**)(&__this->___defaultLocalRotations), (void*)L_5);
  21209. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_6 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)21));
  21210. __this->___defaultLocalPositions = L_6;
  21211. Il2CppCodeGenWriteBarrier((void**)(&__this->___defaultLocalPositions), (void*)L_6);
  21212. __this->___scale = (1.0f);
  21213. __this->___plantFeet = (bool)1;
  21214. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_7 = (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA*)il2cpp_codegen_object_new(Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA_il2cpp_TypeInfo_var);
  21215. Spine__ctor_mA10197BE4F824FC0EEE30230E5E89B4AEC941FFA(L_7, NULL);
  21216. __this->___spine = L_7;
  21217. Il2CppCodeGenWriteBarrier((void**)(&__this->___spine), (void*)L_7);
  21218. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_8 = (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B*)il2cpp_codegen_object_new(Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B_il2cpp_TypeInfo_var);
  21219. Arm__ctor_m211CA994178D560511C187FBEE2568898AA8F7D1(L_8, NULL);
  21220. __this->___leftArm = L_8;
  21221. Il2CppCodeGenWriteBarrier((void**)(&__this->___leftArm), (void*)L_8);
  21222. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_9 = (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B*)il2cpp_codegen_object_new(Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B_il2cpp_TypeInfo_var);
  21223. Arm__ctor_m211CA994178D560511C187FBEE2568898AA8F7D1(L_9, NULL);
  21224. __this->___rightArm = L_9;
  21225. Il2CppCodeGenWriteBarrier((void**)(&__this->___rightArm), (void*)L_9);
  21226. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_10 = (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2*)il2cpp_codegen_object_new(Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2_il2cpp_TypeInfo_var);
  21227. Leg__ctor_m0B26577A63E03CE1C883B91D3271048AC80A6464(L_10, NULL);
  21228. __this->___leftLeg = L_10;
  21229. Il2CppCodeGenWriteBarrier((void**)(&__this->___leftLeg), (void*)L_10);
  21230. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_11 = (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2*)il2cpp_codegen_object_new(Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2_il2cpp_TypeInfo_var);
  21231. Leg__ctor_m0B26577A63E03CE1C883B91D3271048AC80A6464(L_11, NULL);
  21232. __this->___rightLeg = L_11;
  21233. Il2CppCodeGenWriteBarrier((void**)(&__this->___rightLeg), (void*)L_11);
  21234. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* L_12 = (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD*)il2cpp_codegen_object_new(Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD_il2cpp_TypeInfo_var);
  21235. Locomotion__ctor_m04CEFEE863563DBD99B58F2A436E6B32997CF828(L_12, NULL);
  21236. __this->___locomotion = L_12;
  21237. Il2CppCodeGenWriteBarrier((void**)(&__this->___locomotion), (void*)L_12);
  21238. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_13 = (LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3*)(LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3*)SZArrayNew(LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3_il2cpp_TypeInfo_var, (uint32_t)2);
  21239. __this->___legs = L_13;
  21240. Il2CppCodeGenWriteBarrier((void**)(&__this->___legs), (void*)L_13);
  21241. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_14 = (ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492*)(ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492*)SZArrayNew(ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492_il2cpp_TypeInfo_var, (uint32_t)2);
  21242. __this->___arms = L_14;
  21243. Il2CppCodeGenWriteBarrier((void**)(&__this->___arms), (void*)L_14);
  21244. IKSolver__ctor_mF80BFDB950365AD0B8E8ACB9A26E78C8DDC9B3DC(__this, NULL);
  21245. return;
  21246. }
  21247. }
  21248. #ifdef __clang__
  21249. #pragma clang diagnostic pop
  21250. #endif
  21251. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method)
  21252. {
  21253. bool V_0 = false;
  21254. bool V_1 = false;
  21255. float V_2 = 0.0f;
  21256. {
  21257. float L_0 = ___0_value;
  21258. float L_1 = ___1_min;
  21259. V_0 = (bool)((((float)L_0) < ((float)L_1))? 1 : 0);
  21260. bool L_2 = V_0;
  21261. if (!L_2)
  21262. {
  21263. goto IL_000e;
  21264. }
  21265. }
  21266. {
  21267. float L_3 = ___1_min;
  21268. ___0_value = L_3;
  21269. goto IL_0019;
  21270. }
  21271. IL_000e:
  21272. {
  21273. float L_4 = ___0_value;
  21274. float L_5 = ___2_max;
  21275. V_1 = (bool)((((float)L_4) > ((float)L_5))? 1 : 0);
  21276. bool L_6 = V_1;
  21277. if (!L_6)
  21278. {
  21279. goto IL_0019;
  21280. }
  21281. }
  21282. {
  21283. float L_7 = ___2_max;
  21284. ___0_value = L_7;
  21285. }
  21286. IL_0019:
  21287. {
  21288. float L_8 = ___0_value;
  21289. V_2 = L_8;
  21290. goto IL_001d;
  21291. }
  21292. IL_001d:
  21293. {
  21294. float L_9 = V_2;
  21295. return L_9;
  21296. }
  21297. }
  21298. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method)
  21299. {
  21300. static bool s_Il2CppMethodInitialized;
  21301. if (!s_Il2CppMethodInitialized)
  21302. {
  21303. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  21304. s_Il2CppMethodInitialized = true;
  21305. }
  21306. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21307. memset((&V_0), 0, sizeof(V_0));
  21308. {
  21309. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___zeroVector;
  21310. V_0 = L_0;
  21311. goto IL_0009;
  21312. }
  21313. IL_0009:
  21314. {
  21315. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  21316. return L_1;
  21317. }
  21318. }
  21319. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
  21320. {
  21321. float V_0 = 0.0f;
  21322. float V_1 = 0.0f;
  21323. float V_2 = 0.0f;
  21324. float V_3 = 0.0f;
  21325. bool V_4 = false;
  21326. {
  21327. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
  21328. float L_1 = L_0.___x;
  21329. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
  21330. float L_3 = L_2.___x;
  21331. V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
  21332. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
  21333. float L_5 = L_4.___y;
  21334. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
  21335. float L_7 = L_6.___y;
  21336. V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
  21337. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
  21338. float L_9 = L_8.___z;
  21339. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
  21340. float L_11 = L_10.___z;
  21341. V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
  21342. float L_12 = V_0;
  21343. float L_13 = V_0;
  21344. float L_14 = V_1;
  21345. float L_15 = V_1;
  21346. float L_16 = V_2;
  21347. float L_17 = V_2;
  21348. 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))));
  21349. float L_18 = V_3;
  21350. V_4 = (bool)((((float)L_18) < ((float)(9.99999944E-11f)))? 1 : 0);
  21351. goto IL_0043;
  21352. }
  21353. IL_0043:
  21354. {
  21355. bool L_19 = V_4;
  21356. return L_19;
  21357. }
  21358. }
  21359. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void IterationDelegate_Invoke_m2BB5120815C0CC3CE91AFEC5044B2B5DB252C09B_inline (IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* __this, int32_t ___0_i, const RuntimeMethod* method)
  21360. {
  21361. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, const RuntimeMethod*);
  21362. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_i, reinterpret_cast<RuntimeMethod*>(__this->___method));
  21363. }
  21364. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
  21365. {
  21366. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21367. memset((&V_0), 0, sizeof(V_0));
  21368. {
  21369. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  21370. float L_1 = L_0.___x;
  21371. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
  21372. float L_3 = L_2.___x;
  21373. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
  21374. float L_5 = L_4.___y;
  21375. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
  21376. float L_7 = L_6.___y;
  21377. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
  21378. float L_9 = L_8.___z;
  21379. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
  21380. float L_11 = L_10.___z;
  21381. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  21382. memset((&L_12), 0, sizeof(L_12));
  21383. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), ((float)il2cpp_codegen_add(L_9, L_11)), NULL);
  21384. V_0 = L_12;
  21385. goto IL_0030;
  21386. }
  21387. IL_0030:
  21388. {
  21389. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
  21390. return L_13;
  21391. }
  21392. }
  21393. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
  21394. {
  21395. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21396. memset((&V_0), 0, sizeof(V_0));
  21397. {
  21398. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  21399. float L_1 = L_0.___x;
  21400. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
  21401. float L_3 = L_2.___x;
  21402. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
  21403. float L_5 = L_4.___y;
  21404. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
  21405. float L_7 = L_6.___y;
  21406. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
  21407. float L_9 = L_8.___z;
  21408. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
  21409. float L_11 = L_10.___z;
  21410. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  21411. memset((&L_12), 0, sizeof(L_12));
  21412. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)), ((float)il2cpp_codegen_subtract(L_9, L_11)), NULL);
  21413. V_0 = L_12;
  21414. goto IL_0030;
  21415. }
  21416. IL_0030:
  21417. {
  21418. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
  21419. return L_13;
  21420. }
  21421. }
  21422. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_DeltaAngle_mCBA858CE5C1BEEBE375812325A50E434FF66D6D4_inline (float ___0_current, float ___1_target, const RuntimeMethod* method)
  21423. {
  21424. float V_0 = 0.0f;
  21425. bool V_1 = false;
  21426. float V_2 = 0.0f;
  21427. {
  21428. float L_0 = ___1_target;
  21429. float L_1 = ___0_current;
  21430. float L_2;
  21431. L_2 = Mathf_Repeat_m6F1560A163481BB311D685294E1B463C3E4EB3BA_inline(((float)il2cpp_codegen_subtract(L_0, L_1)), (360.0f), NULL);
  21432. V_0 = L_2;
  21433. float L_3 = V_0;
  21434. V_1 = (bool)((((float)L_3) > ((float)(180.0f)))? 1 : 0);
  21435. bool L_4 = V_1;
  21436. if (!L_4)
  21437. {
  21438. goto IL_0023;
  21439. }
  21440. }
  21441. {
  21442. float L_5 = V_0;
  21443. V_0 = ((float)il2cpp_codegen_subtract(L_5, (360.0f)));
  21444. }
  21445. IL_0023:
  21446. {
  21447. float L_6 = V_0;
  21448. V_2 = L_6;
  21449. goto IL_0027;
  21450. }
  21451. IL_0027:
  21452. {
  21453. float L_7 = V_2;
  21454. return L_7;
  21455. }
  21456. }
  21457. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline (const RuntimeMethod* method)
  21458. {
  21459. static bool s_Il2CppMethodInitialized;
  21460. if (!s_Il2CppMethodInitialized)
  21461. {
  21462. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  21463. s_Il2CppMethodInitialized = true;
  21464. }
  21465. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21466. memset((&V_0), 0, sizeof(V_0));
  21467. {
  21468. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___backVector;
  21469. V_0 = L_0;
  21470. goto IL_0009;
  21471. }
  21472. IL_0009:
  21473. {
  21474. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  21475. return L_1;
  21476. }
  21477. }
  21478. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_lhs, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rhs, const RuntimeMethod* method)
  21479. {
  21480. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  21481. memset((&V_0), 0, sizeof(V_0));
  21482. {
  21483. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_lhs;
  21484. float L_1 = L_0.___w;
  21485. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___1_rhs;
  21486. float L_3 = L_2.___x;
  21487. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ___0_lhs;
  21488. float L_5 = L_4.___x;
  21489. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_rhs;
  21490. float L_7 = L_6.___w;
  21491. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ___0_lhs;
  21492. float L_9 = L_8.___y;
  21493. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ___1_rhs;
  21494. float L_11 = L_10.___z;
  21495. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___0_lhs;
  21496. float L_13 = L_12.___z;
  21497. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = ___1_rhs;
  21498. float L_15 = L_14.___y;
  21499. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = ___0_lhs;
  21500. float L_17 = L_16.___w;
  21501. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18 = ___1_rhs;
  21502. float L_19 = L_18.___y;
  21503. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20 = ___0_lhs;
  21504. float L_21 = L_20.___y;
  21505. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = ___1_rhs;
  21506. float L_23 = L_22.___w;
  21507. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = ___0_lhs;
  21508. float L_25 = L_24.___z;
  21509. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26 = ___1_rhs;
  21510. float L_27 = L_26.___x;
  21511. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28 = ___0_lhs;
  21512. float L_29 = L_28.___x;
  21513. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30 = ___1_rhs;
  21514. float L_31 = L_30.___z;
  21515. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = ___0_lhs;
  21516. float L_33 = L_32.___w;
  21517. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34 = ___1_rhs;
  21518. float L_35 = L_34.___z;
  21519. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36 = ___0_lhs;
  21520. float L_37 = L_36.___z;
  21521. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38 = ___1_rhs;
  21522. float L_39 = L_38.___w;
  21523. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_40 = ___0_lhs;
  21524. float L_41 = L_40.___x;
  21525. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42 = ___1_rhs;
  21526. float L_43 = L_42.___y;
  21527. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44 = ___0_lhs;
  21528. float L_45 = L_44.___y;
  21529. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_46 = ___1_rhs;
  21530. float L_47 = L_46.___x;
  21531. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_48 = ___0_lhs;
  21532. float L_49 = L_48.___w;
  21533. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50 = ___1_rhs;
  21534. float L_51 = L_50.___w;
  21535. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52 = ___0_lhs;
  21536. float L_53 = L_52.___x;
  21537. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54 = ___1_rhs;
  21538. float L_55 = L_54.___x;
  21539. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56 = ___0_lhs;
  21540. float L_57 = L_56.___y;
  21541. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58 = ___1_rhs;
  21542. float L_59 = L_58.___y;
  21543. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60 = ___0_lhs;
  21544. float L_61 = L_60.___z;
  21545. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62 = ___1_rhs;
  21546. float L_63 = L_62.___z;
  21547. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_64;
  21548. memset((&L_64), 0, sizeof(L_64));
  21549. Quaternion__ctor_m868FD60AA65DD5A8AC0C5DEB0608381A8D85FCD8_inline((&L_64), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11)))), ((float)il2cpp_codegen_multiply(L_13, L_15)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_17, L_19)), ((float)il2cpp_codegen_multiply(L_21, L_23)))), ((float)il2cpp_codegen_multiply(L_25, L_27)))), ((float)il2cpp_codegen_multiply(L_29, L_31)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_33, L_35)), ((float)il2cpp_codegen_multiply(L_37, L_39)))), ((float)il2cpp_codegen_multiply(L_41, L_43)))), ((float)il2cpp_codegen_multiply(L_45, L_47)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_49, L_51)), ((float)il2cpp_codegen_multiply(L_53, L_55)))), ((float)il2cpp_codegen_multiply(L_57, L_59)))), ((float)il2cpp_codegen_multiply(L_61, L_63)))), NULL);
  21550. V_0 = L_64;
  21551. goto IL_00e5;
  21552. }
  21553. IL_00e5:
  21554. {
  21555. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65 = V_0;
  21556. return L_65;
  21557. }
  21558. }
  21559. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool IKSolver_get_initiated_m287C6AC21DB9E0CBF8F3E5BEBD9DF1B4C4DBBAAD_inline (IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* __this, const RuntimeMethod* method)
  21560. {
  21561. {
  21562. bool L_0 = __this->___U3CinitiatedU3Ek__BackingField;
  21563. return L_0;
  21564. }
  21565. }
  21566. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
  21567. {
  21568. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21569. memset((&V_0), 0, sizeof(V_0));
  21570. {
  21571. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
  21572. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  21573. L_1 = Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline(L_0, NULL);
  21574. V_0 = L_1;
  21575. goto IL_000f;
  21576. }
  21577. IL_000f:
  21578. {
  21579. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
  21580. return L_2;
  21581. }
  21582. }
  21583. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
  21584. {
  21585. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21586. memset((&V_0), 0, sizeof(V_0));
  21587. {
  21588. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  21589. float L_1 = L_0.___x;
  21590. float L_2 = ___1_d;
  21591. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
  21592. float L_4 = L_3.___y;
  21593. float L_5 = ___1_d;
  21594. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
  21595. float L_7 = L_6.___z;
  21596. float L_8 = ___1_d;
  21597. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  21598. memset((&L_9), 0, sizeof(L_9));
  21599. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), NULL);
  21600. V_0 = L_9;
  21601. goto IL_0021;
  21602. }
  21603. IL_0021:
  21604. {
  21605. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
  21606. return L_10;
  21607. }
  21608. }
  21609. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
  21610. {
  21611. static bool s_Il2CppMethodInitialized;
  21612. if (!s_Il2CppMethodInitialized)
  21613. {
  21614. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  21615. s_Il2CppMethodInitialized = true;
  21616. }
  21617. float V_0 = 0.0f;
  21618. {
  21619. float L_0 = __this->___x;
  21620. float L_1 = __this->___x;
  21621. float L_2 = __this->___y;
  21622. float L_3 = __this->___y;
  21623. float L_4 = __this->___z;
  21624. float L_5 = __this->___z;
  21625. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  21626. double L_6;
  21627. L_6 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))))));
  21628. V_0 = ((float)L_6);
  21629. goto IL_0034;
  21630. }
  21631. IL_0034:
  21632. {
  21633. float L_7 = V_0;
  21634. return L_7;
  21635. }
  21636. }
  21637. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method)
  21638. {
  21639. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21640. memset((&V_0), 0, sizeof(V_0));
  21641. {
  21642. float L_0 = ___2_t;
  21643. float L_1;
  21644. L_1 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_0, NULL);
  21645. ___2_t = L_1;
  21646. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
  21647. float L_3 = L_2.___x;
  21648. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___1_b;
  21649. float L_5 = L_4.___x;
  21650. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
  21651. float L_7 = L_6.___x;
  21652. float L_8 = ___2_t;
  21653. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_a;
  21654. float L_10 = L_9.___y;
  21655. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___1_b;
  21656. float L_12 = L_11.___y;
  21657. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_a;
  21658. float L_14 = L_13.___y;
  21659. float L_15 = ___2_t;
  21660. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_a;
  21661. float L_17 = L_16.___z;
  21662. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_b;
  21663. float L_19 = L_18.___z;
  21664. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_a;
  21665. float L_21 = L_20.___z;
  21666. float L_22 = ___2_t;
  21667. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  21668. memset((&L_23), 0, sizeof(L_23));
  21669. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_23), ((float)il2cpp_codegen_add(L_3, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_5, L_7)), L_8)))), ((float)il2cpp_codegen_add(L_10, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_12, L_14)), L_15)))), ((float)il2cpp_codegen_add(L_17, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_19, L_21)), L_22)))), NULL);
  21670. V_0 = L_23;
  21671. goto IL_0053;
  21672. }
  21673. IL_0053:
  21674. {
  21675. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
  21676. return L_24;
  21677. }
  21678. }
  21679. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method)
  21680. {
  21681. static bool s_Il2CppMethodInitialized;
  21682. if (!s_Il2CppMethodInitialized)
  21683. {
  21684. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var);
  21685. s_Il2CppMethodInitialized = true;
  21686. }
  21687. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  21688. memset((&V_0), 0, sizeof(V_0));
  21689. {
  21690. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ((Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields*)il2cpp_codegen_static_fields_for(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var))->___identityQuaternion;
  21691. V_0 = L_0;
  21692. goto IL_0009;
  21693. }
  21694. IL_0009:
  21695. {
  21696. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = V_0;
  21697. return L_1;
  21698. }
  21699. }
  21700. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method)
  21701. {
  21702. static bool s_Il2CppMethodInitialized;
  21703. if (!s_Il2CppMethodInitialized)
  21704. {
  21705. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  21706. s_Il2CppMethodInitialized = true;
  21707. }
  21708. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21709. memset((&V_0), 0, sizeof(V_0));
  21710. {
  21711. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___forwardVector;
  21712. V_0 = L_0;
  21713. goto IL_0009;
  21714. }
  21715. IL_0009:
  21716. {
  21717. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  21718. return L_1;
  21719. }
  21720. }
  21721. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method)
  21722. {
  21723. static bool s_Il2CppMethodInitialized;
  21724. if (!s_Il2CppMethodInitialized)
  21725. {
  21726. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  21727. s_Il2CppMethodInitialized = true;
  21728. }
  21729. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21730. memset((&V_0), 0, sizeof(V_0));
  21731. {
  21732. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___upVector;
  21733. V_0 = L_0;
  21734. goto IL_0009;
  21735. }
  21736. IL_0009:
  21737. {
  21738. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  21739. return L_1;
  21740. }
  21741. }
  21742. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void UpdateDelegate_Invoke_m095B3934DAEC5FA9ECE0A12334D557DAB064FE78_inline (UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* __this, const RuntimeMethod* method)
  21743. {
  21744. typedef void (*FunctionPointerType) (RuntimeObject*, const RuntimeMethod*);
  21745. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, reinterpret_cast<RuntimeMethod*>(__this->___method));
  21746. }
  21747. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool IKConstraintBend_get_initiated_m8816A51D8F352EDB5ECC78B0D32D2EA3DA673D7D_inline (IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* __this, const RuntimeMethod* method)
  21748. {
  21749. {
  21750. bool L_0 = __this->___U3CinitiatedU3Ek__BackingField;
  21751. return L_0;
  21752. }
  21753. }
  21754. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool IKEffector_get_isEndEffector_m54200CE28232E1CED2790F2FC02DB411885F1F1B_inline (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, const RuntimeMethod* method)
  21755. {
  21756. {
  21757. bool L_0 = __this->___U3CisEndEffectorU3Ek__BackingField;
  21758. return L_0;
  21759. }
  21760. }
  21761. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Project_m85DF3CB297EC5E1A17BD6266FF65E86AB7372C9B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_onNormal, const RuntimeMethod* method)
  21762. {
  21763. static bool s_Il2CppMethodInitialized;
  21764. if (!s_Il2CppMethodInitialized)
  21765. {
  21766. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var);
  21767. s_Il2CppMethodInitialized = true;
  21768. }
  21769. float V_0 = 0.0f;
  21770. bool V_1 = false;
  21771. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  21772. memset((&V_2), 0, sizeof(V_2));
  21773. float V_3 = 0.0f;
  21774. {
  21775. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_onNormal;
  21776. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_onNormal;
  21777. float L_2;
  21778. L_2 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_0, L_1, NULL);
  21779. V_0 = L_2;
  21780. float L_3 = V_0;
  21781. float L_4 = ((Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields*)il2cpp_codegen_static_fields_for(Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var))->___Epsilon;
  21782. V_1 = (bool)((((float)L_3) < ((float)L_4))? 1 : 0);
  21783. bool L_5 = V_1;
  21784. if (!L_5)
  21785. {
  21786. goto IL_001d;
  21787. }
  21788. }
  21789. {
  21790. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  21791. L_6 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  21792. V_2 = L_6;
  21793. goto IL_004c;
  21794. }
  21795. IL_001d:
  21796. {
  21797. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___0_vector;
  21798. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___1_onNormal;
  21799. float L_9;
  21800. L_9 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_7, L_8, NULL);
  21801. V_3 = L_9;
  21802. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_onNormal;
  21803. float L_11 = L_10.___x;
  21804. float L_12 = V_3;
  21805. float L_13 = V_0;
  21806. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___1_onNormal;
  21807. float L_15 = L_14.___y;
  21808. float L_16 = V_3;
  21809. float L_17 = V_0;
  21810. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_onNormal;
  21811. float L_19 = L_18.___z;
  21812. float L_20 = V_3;
  21813. float L_21 = V_0;
  21814. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  21815. memset((&L_22), 0, sizeof(L_22));
  21816. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_22), ((float)(((float)il2cpp_codegen_multiply(L_11, L_12))/L_13)), ((float)(((float)il2cpp_codegen_multiply(L_15, L_16))/L_17)), ((float)(((float)il2cpp_codegen_multiply(L_19, L_20))/L_21)), NULL);
  21817. V_2 = L_22;
  21818. goto IL_004c;
  21819. }
  21820. IL_004c:
  21821. {
  21822. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = V_2;
  21823. return L_23;
  21824. }
  21825. }
  21826. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
  21827. {
  21828. float V_0 = 0.0f;
  21829. {
  21830. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
  21831. float L_1 = L_0.___x;
  21832. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
  21833. float L_3 = L_2.___x;
  21834. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
  21835. float L_5 = L_4.___y;
  21836. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
  21837. float L_7 = L_6.___y;
  21838. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
  21839. float L_9 = L_8.___z;
  21840. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
  21841. float L_11 = L_10.___z;
  21842. V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))));
  21843. goto IL_002d;
  21844. }
  21845. IL_002d:
  21846. {
  21847. float L_12 = V_0;
  21848. return L_12;
  21849. }
  21850. }
  21851. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method)
  21852. {
  21853. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21854. memset((&V_0), 0, sizeof(V_0));
  21855. {
  21856. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  21857. float L_1 = L_0.___x;
  21858. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
  21859. float L_3 = L_2.___y;
  21860. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
  21861. float L_5 = L_4.___z;
  21862. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  21863. memset((&L_6), 0, sizeof(L_6));
  21864. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), ((-L_1)), ((-L_3)), ((-L_5)), NULL);
  21865. V_0 = L_6;
  21866. goto IL_001e;
  21867. }
  21868. IL_001e:
  21869. {
  21870. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
  21871. return L_7;
  21872. }
  21873. }
  21874. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void IKSolverFullBodyBiped_set_pullBodyOffset_mCA94F8D64F715A7A62446AACD9022597E7698D5D_inline (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  21875. {
  21876. {
  21877. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  21878. __this->___U3CpullBodyOffsetU3Ek__BackingField = L_0;
  21879. return;
  21880. }
  21881. }
  21882. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 IKSolverFullBodyBiped_get_pullBodyOffset_mE72A3FEDFCD35C32634971B2B168A043BEF82482_inline (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, const RuntimeMethod* method)
  21883. {
  21884. {
  21885. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CpullBodyOffsetU3Ek__BackingField;
  21886. return L_0;
  21887. }
  21888. }
  21889. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
  21890. {
  21891. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21892. memset((&V_0), 0, sizeof(V_0));
  21893. {
  21894. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  21895. float L_1 = L_0.___x;
  21896. float L_2 = ___1_d;
  21897. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
  21898. float L_4 = L_3.___y;
  21899. float L_5 = ___1_d;
  21900. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
  21901. float L_7 = L_6.___z;
  21902. float L_8 = ___1_d;
  21903. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  21904. memset((&L_9), 0, sizeof(L_9));
  21905. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)(L_1/L_2)), ((float)(L_4/L_5)), ((float)(L_7/L_8)), NULL);
  21906. V_0 = L_9;
  21907. goto IL_0021;
  21908. }
  21909. IL_0021:
  21910. {
  21911. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
  21912. return L_10;
  21913. }
  21914. }
  21915. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_SqrMagnitude_m5ED73273031577902F1BED4CA9C5A0E786A680D1_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method)
  21916. {
  21917. float V_0 = 0.0f;
  21918. {
  21919. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_vector;
  21920. float L_1 = L_0.___x;
  21921. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_vector;
  21922. float L_3 = L_2.___x;
  21923. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_vector;
  21924. float L_5 = L_4.___y;
  21925. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_vector;
  21926. float L_7 = L_6.___y;
  21927. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_vector;
  21928. float L_9 = L_8.___z;
  21929. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
  21930. float L_11 = L_10.___z;
  21931. V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))));
  21932. goto IL_002d;
  21933. }
  21934. IL_002d:
  21935. {
  21936. float L_12 = V_0;
  21937. return L_12;
  21938. }
  21939. }
  21940. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
  21941. {
  21942. {
  21943. float L_0 = ___0_x;
  21944. __this->___x = L_0;
  21945. float L_1 = ___1_y;
  21946. __this->___y = L_1;
  21947. float L_2 = ___2_z;
  21948. __this->___z = L_2;
  21949. return;
  21950. }
  21951. }
  21952. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
  21953. {
  21954. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  21955. memset((&V_0), 0, sizeof(V_0));
  21956. {
  21957. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
  21958. float L_1 = L_0.___y;
  21959. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
  21960. float L_3 = L_2.___z;
  21961. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
  21962. float L_5 = L_4.___z;
  21963. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
  21964. float L_7 = L_6.___y;
  21965. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
  21966. float L_9 = L_8.___z;
  21967. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
  21968. float L_11 = L_10.___x;
  21969. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___0_lhs;
  21970. float L_13 = L_12.___x;
  21971. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___1_rhs;
  21972. float L_15 = L_14.___z;
  21973. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_lhs;
  21974. float L_17 = L_16.___x;
  21975. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_rhs;
  21976. float L_19 = L_18.___y;
  21977. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_lhs;
  21978. float L_21 = L_20.___y;
  21979. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___1_rhs;
  21980. float L_23 = L_22.___x;
  21981. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  21982. memset((&L_24), 0, sizeof(L_24));
  21983. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_24), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_9, L_11)), ((float)il2cpp_codegen_multiply(L_13, L_15)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_17, L_19)), ((float)il2cpp_codegen_multiply(L_21, L_23)))), NULL);
  21984. V_0 = L_24;
  21985. goto IL_005a;
  21986. }
  21987. IL_005a:
  21988. {
  21989. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_0;
  21990. return L_25;
  21991. }
  21992. }
  21993. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
  21994. {
  21995. bool V_0 = false;
  21996. {
  21997. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
  21998. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_rhs;
  21999. bool L_2;
  22000. L_2 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_0, L_1, NULL);
  22001. V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
  22002. goto IL_000e;
  22003. }
  22004. IL_000e:
  22005. {
  22006. bool L_3 = V_0;
  22007. return L_3;
  22008. }
  22009. }
  22010. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method)
  22011. {
  22012. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  22013. memset((&V_0), 0, sizeof(V_0));
  22014. {
  22015. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_euler;
  22016. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  22017. L_1 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_0, (0.0174532924f), NULL);
  22018. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  22019. L_2 = Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E(L_1, NULL);
  22020. V_0 = L_2;
  22021. goto IL_0014;
  22022. }
  22023. IL_0014:
  22024. {
  22025. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = V_0;
  22026. return L_3;
  22027. }
  22028. }
  22029. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, const RuntimeMethod* method)
  22030. {
  22031. static bool s_Il2CppMethodInitialized;
  22032. if (!s_Il2CppMethodInitialized)
  22033. {
  22034. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  22035. s_Il2CppMethodInitialized = true;
  22036. }
  22037. float V_0 = 0.0f;
  22038. float V_1 = 0.0f;
  22039. bool V_2 = false;
  22040. float V_3 = 0.0f;
  22041. {
  22042. float L_0;
  22043. L_0 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___0_from), NULL);
  22044. float L_1;
  22045. L_1 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___1_to), NULL);
  22046. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  22047. double L_2;
  22048. L_2 = sqrt(((double)((float)il2cpp_codegen_multiply(L_0, L_1))));
  22049. V_0 = ((float)L_2);
  22050. float L_3 = V_0;
  22051. V_2 = (bool)((((float)L_3) < ((float)(1.0E-15f)))? 1 : 0);
  22052. bool L_4 = V_2;
  22053. if (!L_4)
  22054. {
  22055. goto IL_002c;
  22056. }
  22057. }
  22058. {
  22059. V_3 = (0.0f);
  22060. goto IL_0056;
  22061. }
  22062. IL_002c:
  22063. {
  22064. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___0_from;
  22065. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_to;
  22066. float L_7;
  22067. L_7 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_5, L_6, NULL);
  22068. float L_8 = V_0;
  22069. float L_9;
  22070. L_9 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)(L_7/L_8)), (-1.0f), (1.0f), NULL);
  22071. V_1 = L_9;
  22072. float L_10 = V_1;
  22073. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  22074. double L_11;
  22075. L_11 = acos(((double)L_10));
  22076. V_3 = ((float)il2cpp_codegen_multiply(((float)L_11), (57.2957802f)));
  22077. goto IL_0056;
  22078. }
  22079. IL_0056:
  22080. {
  22081. float L_12 = V_3;
  22082. return L_12;
  22083. }
  22084. }
  22085. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
  22086. {
  22087. float V_0 = 0.0f;
  22088. {
  22089. float L_0 = __this->___x;
  22090. float L_1 = __this->___x;
  22091. float L_2 = __this->___y;
  22092. float L_3 = __this->___y;
  22093. float L_4 = __this->___z;
  22094. float L_5 = __this->___z;
  22095. V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))));
  22096. goto IL_002d;
  22097. }
  22098. IL_002d:
  22099. {
  22100. float L_6 = V_0;
  22101. return L_6;
  22102. }
  22103. }
  22104. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline (const RuntimeMethod* method)
  22105. {
  22106. static bool s_Il2CppMethodInitialized;
  22107. if (!s_Il2CppMethodInitialized)
  22108. {
  22109. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  22110. s_Il2CppMethodInitialized = true;
  22111. }
  22112. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  22113. memset((&V_0), 0, sizeof(V_0));
  22114. {
  22115. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___rightVector;
  22116. V_0 = L_0;
  22117. goto IL_0009;
  22118. }
  22119. IL_0009:
  22120. {
  22121. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  22122. return L_1;
  22123. }
  22124. }
  22125. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* IKSolverVR_get_rootBone_mF204665CB8EBED9F608AEB8F5AD742BFA8930432_inline (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, const RuntimeMethod* method)
  22126. {
  22127. {
  22128. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0 = __this->___U3CrootBoneU3Ek__BackingField;
  22129. return L_0;
  22130. }
  22131. }
  22132. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Spine_get_anchorRelativeToHead_mC024F027EC9B56BDC1454C414C6F343B0A1924FE_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  22133. {
  22134. {
  22135. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___U3CanchorRelativeToHeadU3Ek__BackingField;
  22136. return L_0;
  22137. }
  22138. }
  22139. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void IKSolverVR_set_rootBone_m19D2FDB8BABAC9F3D1B59BEA3B39DA5C2B4B32F6_inline (IKSolverVR_t82B327A5E81454331E369242C6E83E6B0E1DDAAC* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_value, const RuntimeMethod* method)
  22140. {
  22141. {
  22142. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0 = ___0_value;
  22143. __this->___U3CrootBoneU3Ek__BackingField = L_0;
  22144. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CrootBoneU3Ek__BackingField), (void*)L_0);
  22145. return;
  22146. }
  22147. }
  22148. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void BodyPart_SetLOD_m144EB600CBEB9A89F7894F86460818581A40A350_inline (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, int32_t ___0_LOD, const RuntimeMethod* method)
  22149. {
  22150. {
  22151. int32_t L_0 = ___0_LOD;
  22152. __this->___LOD = L_0;
  22153. return;
  22154. }
  22155. }
  22156. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  22157. {
  22158. {
  22159. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CpositionU3Ek__BackingField;
  22160. return L_0;
  22161. }
  22162. }
  22163. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
  22164. {
  22165. float V_0 = 0.0f;
  22166. float G_B3_0 = 0.0f;
  22167. {
  22168. float L_0 = ___0_a;
  22169. float L_1 = ___1_b;
  22170. if ((((float)L_0) < ((float)L_1)))
  22171. {
  22172. goto IL_0008;
  22173. }
  22174. }
  22175. {
  22176. float L_2 = ___1_b;
  22177. G_B3_0 = L_2;
  22178. goto IL_0009;
  22179. }
  22180. IL_0008:
  22181. {
  22182. float L_3 = ___0_a;
  22183. G_B3_0 = L_3;
  22184. }
  22185. IL_0009:
  22186. {
  22187. V_0 = G_B3_0;
  22188. goto IL_000c;
  22189. }
  22190. IL_000c:
  22191. {
  22192. float L_4 = V_0;
  22193. return L_4;
  22194. }
  22195. }
  22196. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, float ___1_maxLength, const RuntimeMethod* method)
  22197. {
  22198. static bool s_Il2CppMethodInitialized;
  22199. if (!s_Il2CppMethodInitialized)
  22200. {
  22201. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  22202. s_Il2CppMethodInitialized = true;
  22203. }
  22204. float V_0 = 0.0f;
  22205. bool V_1 = false;
  22206. float V_2 = 0.0f;
  22207. float V_3 = 0.0f;
  22208. float V_4 = 0.0f;
  22209. float V_5 = 0.0f;
  22210. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  22211. memset((&V_6), 0, sizeof(V_6));
  22212. {
  22213. float L_0;
  22214. L_0 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___0_vector), NULL);
  22215. V_0 = L_0;
  22216. float L_1 = V_0;
  22217. float L_2 = ___1_maxLength;
  22218. float L_3 = ___1_maxLength;
  22219. V_1 = (bool)((((float)L_1) > ((float)((float)il2cpp_codegen_multiply(L_2, L_3))))? 1 : 0);
  22220. bool L_4 = V_1;
  22221. if (!L_4)
  22222. {
  22223. goto IL_004e;
  22224. }
  22225. }
  22226. {
  22227. float L_5 = V_0;
  22228. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  22229. double L_6;
  22230. L_6 = sqrt(((double)L_5));
  22231. V_2 = ((float)L_6);
  22232. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___0_vector;
  22233. float L_8 = L_7.___x;
  22234. float L_9 = V_2;
  22235. V_3 = ((float)(L_8/L_9));
  22236. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
  22237. float L_11 = L_10.___y;
  22238. float L_12 = V_2;
  22239. V_4 = ((float)(L_11/L_12));
  22240. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_vector;
  22241. float L_14 = L_13.___z;
  22242. float L_15 = V_2;
  22243. V_5 = ((float)(L_14/L_15));
  22244. float L_16 = V_3;
  22245. float L_17 = ___1_maxLength;
  22246. float L_18 = V_4;
  22247. float L_19 = ___1_maxLength;
  22248. float L_20 = V_5;
  22249. float L_21 = ___1_maxLength;
  22250. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  22251. memset((&L_22), 0, sizeof(L_22));
  22252. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_22), ((float)il2cpp_codegen_multiply(L_16, L_17)), ((float)il2cpp_codegen_multiply(L_18, L_19)), ((float)il2cpp_codegen_multiply(L_20, L_21)), NULL);
  22253. V_6 = L_22;
  22254. goto IL_0053;
  22255. }
  22256. IL_004e:
  22257. {
  22258. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = ___0_vector;
  22259. V_6 = L_23;
  22260. goto IL_0053;
  22261. }
  22262. IL_0053:
  22263. {
  22264. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_6;
  22265. return L_24;
  22266. }
  22267. }
  22268. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Repeat_m6F1560A163481BB311D685294E1B463C3E4EB3BA_inline (float ___0_t, float ___1_length, const RuntimeMethod* method)
  22269. {
  22270. float V_0 = 0.0f;
  22271. {
  22272. float L_0 = ___0_t;
  22273. float L_1 = ___0_t;
  22274. float L_2 = ___1_length;
  22275. float L_3;
  22276. L_3 = floorf(((float)(L_1/L_2)));
  22277. float L_4 = ___1_length;
  22278. float L_5 = ___1_length;
  22279. float L_6;
  22280. L_6 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_subtract(L_0, ((float)il2cpp_codegen_multiply(L_3, L_4)))), (0.0f), L_5, NULL);
  22281. V_0 = L_6;
  22282. goto IL_001b;
  22283. }
  22284. IL_001b:
  22285. {
  22286. float L_7 = V_0;
  22287. return L_7;
  22288. }
  22289. }
  22290. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Quaternion__ctor_m868FD60AA65DD5A8AC0C5DEB0608381A8D85FCD8_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, float ___0_x, float ___1_y, float ___2_z, float ___3_w, const RuntimeMethod* method)
  22291. {
  22292. {
  22293. float L_0 = ___0_x;
  22294. __this->___x = L_0;
  22295. float L_1 = ___1_y;
  22296. __this->___y = L_1;
  22297. float L_2 = ___2_z;
  22298. __this->___z = L_2;
  22299. float L_3 = ___3_w;
  22300. __this->___w = L_3;
  22301. return;
  22302. }
  22303. }
  22304. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  22305. {
  22306. float V_0 = 0.0f;
  22307. bool V_1 = false;
  22308. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  22309. memset((&V_2), 0, sizeof(V_2));
  22310. {
  22311. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  22312. float L_1;
  22313. L_1 = Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline(L_0, NULL);
  22314. V_0 = L_1;
  22315. float L_2 = V_0;
  22316. V_1 = (bool)((((float)L_2) > ((float)(9.99999975E-06f)))? 1 : 0);
  22317. bool L_3 = V_1;
  22318. if (!L_3)
  22319. {
  22320. goto IL_001e;
  22321. }
  22322. }
  22323. {
  22324. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_value;
  22325. float L_5 = V_0;
  22326. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  22327. L_6 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_4, L_5, NULL);
  22328. V_2 = L_6;
  22329. goto IL_0026;
  22330. }
  22331. IL_001e:
  22332. {
  22333. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  22334. L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  22335. V_2 = L_7;
  22336. goto IL_0026;
  22337. }
  22338. IL_0026:
  22339. {
  22340. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
  22341. return L_8;
  22342. }
  22343. }
  22344. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method)
  22345. {
  22346. bool V_0 = false;
  22347. float V_1 = 0.0f;
  22348. bool V_2 = false;
  22349. {
  22350. float L_0 = ___0_value;
  22351. V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
  22352. bool L_1 = V_0;
  22353. if (!L_1)
  22354. {
  22355. goto IL_0015;
  22356. }
  22357. }
  22358. {
  22359. V_1 = (0.0f);
  22360. goto IL_002d;
  22361. }
  22362. IL_0015:
  22363. {
  22364. float L_2 = ___0_value;
  22365. V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
  22366. bool L_3 = V_2;
  22367. if (!L_3)
  22368. {
  22369. goto IL_0029;
  22370. }
  22371. }
  22372. {
  22373. V_1 = (1.0f);
  22374. goto IL_002d;
  22375. }
  22376. IL_0029:
  22377. {
  22378. float L_4 = ___0_value;
  22379. V_1 = L_4;
  22380. goto IL_002d;
  22381. }
  22382. IL_002d:
  22383. {
  22384. float L_5 = V_1;
  22385. return L_5;
  22386. }
  22387. }
  22388. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method)
  22389. {
  22390. static bool s_Il2CppMethodInitialized;
  22391. if (!s_Il2CppMethodInitialized)
  22392. {
  22393. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  22394. s_Il2CppMethodInitialized = true;
  22395. }
  22396. float V_0 = 0.0f;
  22397. {
  22398. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_vector;
  22399. float L_1 = L_0.___x;
  22400. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_vector;
  22401. float L_3 = L_2.___x;
  22402. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_vector;
  22403. float L_5 = L_4.___y;
  22404. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_vector;
  22405. float L_7 = L_6.___y;
  22406. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_vector;
  22407. float L_9 = L_8.___z;
  22408. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
  22409. float L_11 = L_10.___z;
  22410. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  22411. double L_12;
  22412. L_12 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))))));
  22413. V_0 = ((float)L_12);
  22414. goto IL_0034;
  22415. }
  22416. IL_0034:
  22417. {
  22418. float L_13 = V_0;
  22419. return L_13;
  22420. }
  22421. }