SDK__13.cpp 884 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662
  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, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9>
  18. struct VirtualActionInvoker9
  19. {
  20. typedef void (*Action)(void*, T1, T2, T3, T4, T5, T6, T7, T8, T9, const RuntimeMethod*);
  21. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9)
  22. {
  23. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  24. ((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, p6, p7, p8, p9, invokeData.method);
  25. }
  26. };
  27. template <typename R>
  28. struct VirtualFuncInvoker0
  29. {
  30. typedef R (*Func)(void*, const RuntimeMethod*);
  31. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  32. {
  33. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  34. return ((Func)invokeData.methodPtr)(obj, invokeData.method);
  35. }
  36. };
  37. struct List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A;
  38. struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73;
  39. struct List_1_t65E115C4AD1A0F3165763C5D1325BF04486D7291;
  40. struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4;
  41. struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  42. struct ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787;
  43. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  44. struct FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595;
  45. struct IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953;
  46. struct IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA;
  47. struct IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C;
  48. struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
  49. struct InteractionEffectorU5BU5D_tA4CF7F6F33DA6A8A9D4B1AA496FB7198D9197162;
  50. struct InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF;
  51. struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3;
  52. struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
  53. struct QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7;
  54. struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
  55. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
  56. struct TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24;
  57. struct TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273;
  58. struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
  59. struct ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA;
  60. struct NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3;
  61. struct LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128;
  62. struct ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492;
  63. struct FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44;
  64. struct LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3;
  65. struct VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C;
  66. struct AnimatorEventU5BU5D_t1FA2A56692AF4C3492D4AA6C84CE258A6F82DE97;
  67. struct InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11;
  68. struct MessageU5BU5D_tC1A67B7E2BB1297B0B03BAD324E75469DAB1DAF7;
  69. struct MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1;
  70. struct WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE;
  71. struct MultiplierU5BU5D_tEA966F909C9C0F3CE0681B8E20A92EC32BF131DD;
  72. struct Animation_t6593B06C39E3B139808B19F2C719C860F3F61040;
  73. struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354;
  74. struct AnimationState_tC704F25A20169025B6CFDC2F00DC84152B5B73CE;
  75. struct Animator_t8A52E42AE54F76681838FE9E632683EF3952E883;
  76. struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C;
  77. struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA;
  78. struct BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB;
  79. struct CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B;
  80. struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76;
  81. struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
  82. struct Delegate_t;
  83. struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
  84. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2;
  85. struct FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11;
  86. struct FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822;
  87. struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
  88. struct IAsyncResult_t7B9B5A0ECB35DCEC31B8A8122C37D687369253B5;
  89. struct IK_t8EA47A619130A4B7014BE679297372F51431EB42;
  90. struct IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8;
  91. struct IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF;
  92. struct IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949;
  93. struct IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04;
  94. struct IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06;
  95. struct IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E;
  96. struct InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276;
  97. struct InteractionLookAt_tF71D4B0AB678508623156D5DADAAA4D9F1762573;
  98. struct InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60;
  99. struct InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F;
  100. struct InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1;
  101. struct InvokableCallList_t309E1C8C7CE885A0D2F98C84CEA77A8935688382;
  102. struct LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5;
  103. struct MethodInfo_t;
  104. struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
  105. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
  106. struct PersistentCallGroup_tB826EDF15DC80F71BCBCD8E410FD959A04C33F25;
  107. struct Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B;
  108. struct Rigidbody_t268697F5A994213ED97393309870968BC1C7393C;
  109. struct String_t;
  110. struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
  111. struct TwistRelaxer_t2AA9B2771CB87578D3C70798C7DCD618E08CE292;
  112. struct TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225;
  113. struct UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977;
  114. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  115. struct IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1;
  116. struct Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19;
  117. struct UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0;
  118. struct LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1;
  119. struct Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B;
  120. struct BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6;
  121. struct Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4;
  122. struct Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2;
  123. struct Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD;
  124. struct Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA;
  125. struct VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD;
  126. struct AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F;
  127. struct InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033;
  128. struct Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46;
  129. struct Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D;
  130. struct WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218;
  131. struct InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156;
  132. struct InteractionEventDelegate_tC38EB2E99F478D06EBD5526282E9129A63A09885;
  133. IL2CPP_EXTERN_C RuntimeClass* AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var;
  134. IL2CPP_EXTERN_C RuntimeClass* Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var;
  135. IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
  136. IL2CPP_EXTERN_C RuntimeClass* FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44_il2cpp_TypeInfo_var;
  137. IL2CPP_EXTERN_C RuntimeClass* Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4_il2cpp_TypeInfo_var;
  138. IL2CPP_EXTERN_C RuntimeClass* FullBodyBipedEffector_t89AA7BE1B2DB2F94BDED174C7B70C14D7DC21C44_il2cpp_TypeInfo_var;
  139. IL2CPP_EXTERN_C RuntimeClass* InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF_il2cpp_TypeInfo_var;
  140. IL2CPP_EXTERN_C RuntimeClass* List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A_il2cpp_TypeInfo_var;
  141. IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
  142. IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
  143. IL2CPP_EXTERN_C RuntimeClass* Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var;
  144. IL2CPP_EXTERN_C RuntimeClass* QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var;
  145. IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
  146. IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var;
  147. IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
  148. IL2CPP_EXTERN_C RuntimeClass* TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var;
  149. IL2CPP_EXTERN_C RuntimeClass* TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273_il2cpp_TypeInfo_var;
  150. IL2CPP_EXTERN_C RuntimeClass* Type_t8A1F2D25CB62D1A9F2AA71F2C98CD2F24FF2F5B1_il2cpp_TypeInfo_var;
  151. IL2CPP_EXTERN_C RuntimeClass* UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977_il2cpp_TypeInfo_var;
  152. IL2CPP_EXTERN_C RuntimeClass* UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0_il2cpp_TypeInfo_var;
  153. IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
  154. IL2CPP_EXTERN_C RuntimeClass* VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C_il2cpp_TypeInfo_var;
  155. IL2CPP_EXTERN_C RuntimeClass* VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var;
  156. IL2CPP_EXTERN_C RuntimeClass* Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var;
  157. IL2CPP_EXTERN_C String_t* _stringLiteral0636E85E2C43415BBAF121117BAF608488B41B3B;
  158. IL2CPP_EXTERN_C String_t* _stringLiteral06D0BFD03781EC995A8CB3F459FE016D0C12B539;
  159. IL2CPP_EXTERN_C String_t* _stringLiteral089A426735CDC99BB6EE9644116046DC54902C4C;
  160. IL2CPP_EXTERN_C String_t* _stringLiteral0D2841642048EFFB6C52D60922CB8628B4A264A1;
  161. IL2CPP_EXTERN_C String_t* _stringLiteral210856882A5B211EEDEE9B07303F9DD2D2C97583;
  162. IL2CPP_EXTERN_C String_t* _stringLiteral23DEF2FD63E4B21B429E7593737E51F4E43AC973;
  163. IL2CPP_EXTERN_C String_t* _stringLiteral2525B3D511A32A96B0F6088ECA350CD3336EA8A3;
  164. IL2CPP_EXTERN_C String_t* _stringLiteral2F2E672541A8463114978325109EC8A97511DDE4;
  165. IL2CPP_EXTERN_C String_t* _stringLiteral3B321842B9922AAE6397D5AA795CFAF7A3618C44;
  166. IL2CPP_EXTERN_C String_t* _stringLiteral586256B99AB2668E95211B1F30640A187A7FF10B;
  167. IL2CPP_EXTERN_C String_t* _stringLiteral5983AF29D2118CADB94F300A9B3689A72F5C3F5B;
  168. IL2CPP_EXTERN_C String_t* _stringLiteral90E0422CE1939BD650BD8C7AD2043D42EE804579;
  169. IL2CPP_EXTERN_C String_t* _stringLiteral96FDE905E53E5FBAC1EDCD7E0FE3470DC3F61EA2;
  170. IL2CPP_EXTERN_C String_t* _stringLiteralA056737CDC6B12149C18466DFF2EC414F7C1D132;
  171. IL2CPP_EXTERN_C String_t* _stringLiteralA478B3036FAAE41D8BD362E78A1130CDA6A0627E;
  172. IL2CPP_EXTERN_C String_t* _stringLiteralA811FCE8D94ED1B7004F6CC217F4AB7C935C4A80;
  173. IL2CPP_EXTERN_C String_t* _stringLiteralAD814A7C038293E24C37789F42D9F165B08522FE;
  174. IL2CPP_EXTERN_C String_t* _stringLiteralB9980C9D3A1CB55F66F8EC7E184E6E79DEB11568;
  175. IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
  176. IL2CPP_EXTERN_C String_t* _stringLiteralF227C0888BBCF4D79C762D671D927C24C976B315;
  177. IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m820398EDBF1D3766C3166A0C323A127662A29A14_RuntimeMethod_var;
  178. IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_mAE3E3F1DEB01D739D34ED2A0268879F0113C58BB_RuntimeMethod_var;
  179. IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisPoser_t47125CF78A54ADD8AE14EE76F555016F3312111B_mD0F5B2A744FC65275A9F552885A2ECFA8D20E8EE_RuntimeMethod_var;
  180. IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var;
  181. IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB_RuntimeMethod_var;
  182. IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponentsInChildren_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_m97622F38C34A0E72D7567EA01601A825100673E5_RuntimeMethod_var;
  183. IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponentsInChildren_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m75FFF26FD3F8B797CFE939FBA50E014C15E6BE28_RuntimeMethod_var;
  184. IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m5AAB6DCB6C30EB5769B4E8DB8170E50319F0A9ED_RuntimeMethod_var;
  185. IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mAD42099EBC7E640561281C5FEDF47997858D9073_RuntimeMethod_var;
  186. IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m87539832B82A3453971F3BCC702C7346E8D3F953_RuntimeMethod_var;
  187. IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m4573A12BFDA535926500C04E88A94540C95C395D_RuntimeMethod_var;
  188. IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m876910864A81E4E2ACB93266B50ADFBE8262C179_RuntimeMethod_var;
  189. IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_mFEA98FA49B98EC8B769FB82DED7622F672AD1ADB_RuntimeMethod_var;
  190. IL2CPP_EXTERN_C const RuntimeMethod* TwistRelaxer_OnPostUpdate_m37CC9E57BDFE0410E8D27B25484192B09C6BAC3D_RuntimeMethod_var;
  191. struct Delegate_t_marshaled_com;
  192. struct Delegate_t_marshaled_pinvoke;
  193. struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4;
  194. struct ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787;
  195. struct InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF;
  196. struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3;
  197. struct QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7;
  198. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
  199. struct TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24;
  200. struct TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273;
  201. struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
  202. struct ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492;
  203. struct FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44;
  204. struct LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3;
  205. struct VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C;
  206. struct AnimatorEventU5BU5D_t1FA2A56692AF4C3492D4AA6C84CE258A6F82DE97;
  207. struct InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11;
  208. struct MessageU5BU5D_tC1A67B7E2BB1297B0B03BAD324E75469DAB1DAF7;
  209. struct MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1;
  210. struct WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE;
  211. IL2CPP_EXTERN_C_BEGIN
  212. IL2CPP_EXTERN_C_END
  213. #ifdef __clang__
  214. #pragma clang diagnostic push
  215. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  216. #pragma clang diagnostic ignored "-Wunused-variable"
  217. #endif
  218. struct List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A : public RuntimeObject
  219. {
  220. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* ____items;
  221. int32_t ____size;
  222. int32_t ____version;
  223. RuntimeObject* ____syncRoot;
  224. };
  225. struct InteractionLookAt_tF71D4B0AB678508623156D5DADAAA4D9F1762573 : public RuntimeObject
  226. {
  227. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* ___ik;
  228. float ___lerpSpeed;
  229. float ___weightSpeed;
  230. bool ___isPaused;
  231. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___lookAtTarget;
  232. float ___stopLookTime;
  233. float ___weight;
  234. bool ___firstFBBIKSolve;
  235. };
  236. struct String_t : public RuntimeObject
  237. {
  238. int32_t ____stringLength;
  239. Il2CppChar ____firstChar;
  240. };
  241. struct UnityEventBase_t4968A4C72559F35C0923E4BD9C042C3A842E1DB8 : public RuntimeObject
  242. {
  243. InvokableCallList_t309E1C8C7CE885A0D2F98C84CEA77A8935688382* ___m_Calls;
  244. PersistentCallGroup_tB826EDF15DC80F71BCBCD8E410FD959A04C33F25* ___m_PersistentCalls;
  245. bool ___m_CallsDirty;
  246. };
  247. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  248. {
  249. };
  250. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  251. {
  252. };
  253. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  254. {
  255. };
  256. struct Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D : public RuntimeObject
  257. {
  258. };
  259. struct AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F : public RuntimeObject
  260. {
  261. Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator;
  262. Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* ___animation;
  263. String_t* ___animationState;
  264. float ___crossfadeTime;
  265. int32_t ___layer;
  266. bool ___resetNormalizedTime;
  267. };
  268. struct InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033 : public RuntimeObject
  269. {
  270. float ___time;
  271. bool ___pause;
  272. bool ___pickUp;
  273. AnimatorEventU5BU5D_t1FA2A56692AF4C3492D4AA6C84CE258A6F82DE97* ___animations;
  274. MessageU5BU5D_tC1A67B7E2BB1297B0B03BAD324E75469DAB1DAF7* ___messages;
  275. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* ___unityEvent;
  276. };
  277. struct Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46 : public RuntimeObject
  278. {
  279. String_t* ___function;
  280. GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___recipient;
  281. };
  282. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  283. {
  284. bool ___m_value;
  285. };
  286. struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
  287. {
  288. float ___r;
  289. float ___g;
  290. float ___b;
  291. float ___a;
  292. };
  293. struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
  294. {
  295. double ___m_value;
  296. };
  297. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  298. {
  299. };
  300. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  301. {
  302. };
  303. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  304. {
  305. };
  306. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  307. {
  308. int32_t ___m_value;
  309. };
  310. struct IntPtr_t
  311. {
  312. void* ___m_value;
  313. };
  314. struct Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0
  315. {
  316. float ___m_Time;
  317. float ___m_Value;
  318. float ___m_InTangent;
  319. float ___m_OutTangent;
  320. int32_t ___m_WeightedMode;
  321. float ___m_InWeight;
  322. float ___m_OutWeight;
  323. };
  324. struct LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB
  325. {
  326. int32_t ___m_Mask;
  327. };
  328. struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
  329. {
  330. float ___x;
  331. float ___y;
  332. float ___z;
  333. float ___w;
  334. };
  335. struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
  336. {
  337. float ___m_value;
  338. };
  339. struct UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977 : public UnityEventBase_t4968A4C72559F35C0923E4BD9C042C3A842E1DB8
  340. {
  341. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___m_InvokeArray;
  342. };
  343. struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
  344. {
  345. float ___x;
  346. float ___y;
  347. };
  348. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
  349. {
  350. float ___x;
  351. float ___y;
  352. float ___z;
  353. };
  354. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  355. {
  356. union
  357. {
  358. struct
  359. {
  360. };
  361. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  362. };
  363. };
  364. struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 : public RuntimeObject
  365. {
  366. intptr_t ___m_Ptr;
  367. };
  368. struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke
  369. {
  370. intptr_t ___m_Ptr;
  371. };
  372. struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com
  373. {
  374. intptr_t ___m_Ptr;
  375. };
  376. struct Delegate_t : public RuntimeObject
  377. {
  378. intptr_t ___method_ptr;
  379. intptr_t ___invoke_impl;
  380. RuntimeObject* ___m_target;
  381. intptr_t ___method;
  382. intptr_t ___delegate_trampoline;
  383. intptr_t ___extra_arg;
  384. intptr_t ___method_code;
  385. intptr_t ___interp_method;
  386. intptr_t ___interp_invoke_impl;
  387. MethodInfo_t* ___method_info;
  388. MethodInfo_t* ___original_method_info;
  389. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  390. bool ___method_is_virtual;
  391. };
  392. struct Delegate_t_marshaled_pinvoke
  393. {
  394. intptr_t ___method_ptr;
  395. intptr_t ___invoke_impl;
  396. Il2CppIUnknown* ___m_target;
  397. intptr_t ___method;
  398. intptr_t ___delegate_trampoline;
  399. intptr_t ___extra_arg;
  400. intptr_t ___method_code;
  401. intptr_t ___interp_method;
  402. intptr_t ___interp_invoke_impl;
  403. MethodInfo_t* ___method_info;
  404. MethodInfo_t* ___original_method_info;
  405. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  406. int32_t ___method_is_virtual;
  407. };
  408. struct Delegate_t_marshaled_com
  409. {
  410. intptr_t ___method_ptr;
  411. intptr_t ___invoke_impl;
  412. Il2CppIUnknown* ___m_target;
  413. intptr_t ___method;
  414. intptr_t ___delegate_trampoline;
  415. intptr_t ___extra_arg;
  416. intptr_t ___method_code;
  417. intptr_t ___interp_method;
  418. intptr_t ___interp_invoke_impl;
  419. MethodInfo_t* ___method_info;
  420. MethodInfo_t* ___original_method_info;
  421. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  422. int32_t ___method_is_virtual;
  423. };
  424. struct FullBodyBipedEffector_t89AA7BE1B2DB2F94BDED174C7B70C14D7DC21C44
  425. {
  426. int32_t ___value__;
  427. };
  428. struct IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8 : public RuntimeObject
  429. {
  430. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone1;
  431. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone2;
  432. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone3;
  433. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal;
  434. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___direction;
  435. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotationOffset;
  436. float ___weight;
  437. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultLocalDirection;
  438. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultChildDirection;
  439. float ___clampF;
  440. int32_t ___chainIndex1;
  441. int32_t ___nodeIndex1;
  442. int32_t ___chainIndex2;
  443. int32_t ___nodeIndex2;
  444. int32_t ___chainIndex3;
  445. int32_t ___nodeIndex3;
  446. bool ___U3CinitiatedU3Ek__BackingField;
  447. bool ___limbOrientationsSet;
  448. };
  449. struct IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF : public RuntimeObject
  450. {
  451. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone;
  452. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  453. float ___positionWeight;
  454. float ___rotationWeight;
  455. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position;
  456. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation;
  457. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positionOffset;
  458. bool ___U3CisEndEffectorU3Ek__BackingField;
  459. bool ___effectChildNodes;
  460. float ___maintainRelativePositionWeight;
  461. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___childBones;
  462. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___planeBone1;
  463. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___planeBone2;
  464. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___planeBone3;
  465. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___planeRotationOffset;
  466. float ___posW;
  467. float ___rotW;
  468. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___localPositions;
  469. bool ___usePlaneNodes;
  470. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___animatedPlaneRotation;
  471. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___animatedPosition;
  472. bool ___firstUpdate;
  473. int32_t ___chainIndex;
  474. int32_t ___nodeIndex;
  475. int32_t ___plane1ChainIndex;
  476. int32_t ___plane1NodeIndex;
  477. int32_t ___plane2ChainIndex;
  478. int32_t ___plane2NodeIndex;
  479. int32_t ___plane3ChainIndex;
  480. int32_t ___plane3NodeIndex;
  481. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___childChainIndexes;
  482. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___childNodeIndexes;
  483. };
  484. struct IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04 : public RuntimeObject
  485. {
  486. bool ___executedInEditor;
  487. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPosition;
  488. float ___IKPositionWeight;
  489. bool ___U3CinitiatedU3Ek__BackingField;
  490. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreInitiate;
  491. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPostInitiate;
  492. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreUpdate;
  493. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPostUpdate;
  494. bool ___firstInitiation;
  495. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___root;
  496. };
  497. struct InterpolationMode_t50019C7D2F25C8938B5710A6D76276517CC448DB
  498. {
  499. int32_t ___value__;
  500. };
  501. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  502. {
  503. intptr_t ___m_CachedPtr;
  504. };
  505. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  506. {
  507. intptr_t ___m_CachedPtr;
  508. };
  509. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  510. {
  511. intptr_t ___m_CachedPtr;
  512. };
  513. struct RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5
  514. {
  515. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Point;
  516. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Normal;
  517. uint32_t ___m_FaceID;
  518. float ___m_Distance;
  519. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_UV;
  520. int32_t ___m_Collider;
  521. };
  522. struct SendMessageOptions_t8C6881C01B06BF874EE578D27D8CF237EC2BFD54
  523. {
  524. int32_t ___value__;
  525. };
  526. struct TrackedReference_tF35FF4FB6E89ACD81C24469FAF0CA6FFF29262A2 : public RuntimeObject
  527. {
  528. intptr_t ___m_Ptr;
  529. };
  530. struct TrackedReference_tF35FF4FB6E89ACD81C24469FAF0CA6FFF29262A2_marshaled_pinvoke
  531. {
  532. intptr_t ___m_Ptr;
  533. };
  534. struct TrackedReference_tF35FF4FB6E89ACD81C24469FAF0CA6FFF29262A2_marshaled_com
  535. {
  536. intptr_t ___m_Ptr;
  537. };
  538. struct TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225 : public RuntimeObject
  539. {
  540. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___transform;
  541. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___parent;
  542. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___children;
  543. float ___weight;
  544. float ___parentChildCrossfade;
  545. float ___twistAngleOffset;
  546. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___twistAxis;
  547. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axis;
  548. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axisRelativeToParentDefault;
  549. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axisRelativeToChildDefault;
  550. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___childRotations;
  551. bool ___inititated;
  552. };
  553. struct Smoothing_tC475D60F553A65513E486DCB68774E37747BC054
  554. {
  555. int32_t ___value__;
  556. };
  557. struct BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6 : public RuntimeObject
  558. {
  559. float ___U3CsqrMagU3Ek__BackingField;
  560. float ___U3CmagU3Ek__BackingField;
  561. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___bones;
  562. bool ___initiated;
  563. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rootPosition;
  564. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rootRotation;
  565. int32_t ___index;
  566. int32_t ___LOD;
  567. };
  568. struct Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4 : public RuntimeObject
  569. {
  570. float ___stepSpeed;
  571. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___characterSpaceOffset;
  572. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position;
  573. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation;
  574. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___stepToRootRot;
  575. bool ___isSupportLeg;
  576. bool ___relaxFlag;
  577. float ___U3CstepProgressU3Ek__BackingField;
  578. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___stepFrom;
  579. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___stepTo;
  580. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___stepFromRot;
  581. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___stepToRot;
  582. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___footRelativeToRoot;
  583. float ___supportLegW;
  584. float ___supportLegWV;
  585. };
  586. struct PositionOffset_tB66BD5A735EC5804BC1C7397A17F93EAD7CF817F
  587. {
  588. int32_t ___value__;
  589. };
  590. struct RotationOffset_tC3AC7B4E8B86B15E364EFC5A1751F1A226802FC1
  591. {
  592. int32_t ___value__;
  593. };
  594. struct VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD : public RuntimeObject
  595. {
  596. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___readPosition;
  597. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___readRotation;
  598. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___solverPosition;
  599. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___solverRotation;
  600. float ___length;
  601. float ___sqrMag;
  602. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axis;
  603. };
  604. struct RotationMode_t2FD65C5A2F5127D0E13226A78A621F5406A8C6C0
  605. {
  606. int32_t ___value__;
  607. };
  608. struct ShoulderRotationMode_t212FE4C4B408FAA40D6A0801CEFF1B45064ADD4A
  609. {
  610. int32_t ___value__;
  611. };
  612. struct Type_t8A1F2D25CB62D1A9F2AA71F2C98CD2F24FF2F5B1
  613. {
  614. int32_t ___value__;
  615. };
  616. struct AnimationState_tC704F25A20169025B6CFDC2F00DC84152B5B73CE : public TrackedReference_tF35FF4FB6E89ACD81C24469FAF0CA6FFF29262A2
  617. {
  618. };
  619. struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  620. {
  621. };
  622. struct FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11 : public RuntimeObject
  623. {
  624. float ___pin;
  625. float ___pull;
  626. float ___push;
  627. float ___pushParent;
  628. float ___reach;
  629. int32_t ___reachSmoothing;
  630. int32_t ___pushSmoothing;
  631. NodeU5BU5D_tE168B364377A277C290EBC79B3F2FC00B34F74A3* ___nodes;
  632. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___children;
  633. ChildConstraintU5BU5D_t772C4780D60A731492A6B463CE2B25229C30F5BA* ___childConstraints;
  634. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* ___bendConstraint;
  635. float ___rootLength;
  636. bool ___initiated;
  637. float ___length;
  638. float ___distance;
  639. Point_tDB3C21A8452BA2E9CE6B7F14522CFCD938429A19* ___p;
  640. float ___reachForce;
  641. float ___pullParentSum;
  642. SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___crossFades;
  643. float ___sqrMag1;
  644. float ___sqrMag2;
  645. float ___sqrMagDif;
  646. };
  647. struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  648. {
  649. };
  650. struct IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8 : public IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04
  651. {
  652. int32_t ___iterations;
  653. FBIKChainU5BU5D_t00144D13A05B924BAD1684321600390E98C11595* ___chain;
  654. IKEffectorU5BU5D_tDC04938AB044201BBA884211DB981CFCEDA05953* ___effectors;
  655. IKMappingSpine_tB3A252956DE33331D6383D7FA66D945F091A8949* ___spineMapping;
  656. IKMappingBoneU5BU5D_tEEF554C9D9AA301CAADB812914995F28C8F509FA* ___boneMappings;
  657. IKMappingLimbU5BU5D_t3C4CE3A84516D5C4CF7A95EAF478C7CA7120F45C* ___limbMappings;
  658. bool ___FABRIKPass;
  659. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreRead;
  660. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreSolve;
  661. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* ___OnPreIteration;
  662. IterationDelegate_t7F7A26F896C8AA10120A18B4068ABF0F0DA70AC1* ___OnPostIteration;
  663. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPreBend;
  664. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnPostSolve;
  665. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnStoreDefaultLocalState;
  666. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* ___OnFixTransforms;
  667. };
  668. struct IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E : public IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04
  669. {
  670. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  671. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* ___spine;
  672. LookAtBone_tDC7F21DD66466AA6F534866E9AD2D16F21DB83F1* ___head;
  673. LookAtBoneU5BU5D_tCD73809AEF7107AB7891097A243CCD27F1102128* ___eyes;
  674. float ___bodyWeight;
  675. float ___headWeight;
  676. float ___eyesWeight;
  677. float ___clampWeight;
  678. float ___clampWeightHead;
  679. float ___clampWeightEyes;
  680. int32_t ___clampSmoothing;
  681. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___spineWeightCurve;
  682. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___spineTargetOffset;
  683. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___spineForwards;
  684. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___headForwards;
  685. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___eyeForward;
  686. bool ___isDirty;
  687. };
  688. struct InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276 : public RuntimeObject
  689. {
  690. int32_t ___U3CeffectorTypeU3Ek__BackingField;
  691. bool ___U3CisPausedU3Ek__BackingField;
  692. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* ___U3CinteractionObjectU3Ek__BackingField;
  693. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* ___poser;
  694. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* ___effector;
  695. float ___timer;
  696. float ___length;
  697. float ___weight;
  698. float ___fadeInSpeed;
  699. float ___defaultPositionWeight;
  700. float ___defaultRotationWeight;
  701. float ___defaultPull;
  702. float ___defaultReach;
  703. float ___defaultPush;
  704. float ___defaultPushParent;
  705. float ___defaultBendGoalWeight;
  706. float ___resetTimer;
  707. bool ___positionWeightUsed;
  708. bool ___rotationWeightUsed;
  709. bool ___pullUsed;
  710. bool ___reachUsed;
  711. bool ___pushUsed;
  712. bool ___pushParentUsed;
  713. bool ___bendGoalWeightUsed;
  714. bool ___pickedUp;
  715. bool ___defaults;
  716. bool ___pickUpOnPostFBBIK;
  717. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pickUpPosition;
  718. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pausePositionRelative;
  719. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pickUpRotation;
  720. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pauseRotationRelative;
  721. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* ___interactionTarget;
  722. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  723. List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* ___triggered;
  724. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* ___interactionSystem;
  725. bool ___started;
  726. };
  727. struct MulticastDelegate_t : public Delegate_t
  728. {
  729. DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates;
  730. };
  731. struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
  732. {
  733. Delegate_t_marshaled_pinvoke** ___delegates;
  734. };
  735. struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
  736. {
  737. Delegate_t_marshaled_com** ___delegates;
  738. };
  739. struct Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B : public BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6
  740. {
  741. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  742. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal;
  743. float ___positionWeight;
  744. float ___rotationWeight;
  745. int32_t ___shoulderRotationMode;
  746. float ___shoulderRotationWeight;
  747. float ___shoulderTwistWeight;
  748. float ___bendGoalWeight;
  749. float ___swivelOffset;
  750. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___wristToPalmAxis;
  751. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___palmToThumbAxis;
  752. float ___armLengthMlp;
  753. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___stretchCurve;
  754. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPosition;
  755. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotation;
  756. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendDirection;
  757. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___handPositionOffset;
  758. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CpositionU3Ek__BackingField;
  759. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CrotationU3Ek__BackingField;
  760. bool ___hasShoulder;
  761. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestForwardAxis;
  762. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestUpAxis;
  763. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestRotation;
  764. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestForward;
  765. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestUp;
  766. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___forearmRelToUpperArm;
  767. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upperArmBendAxis;
  768. };
  769. struct Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2 : public BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6
  770. {
  771. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target;
  772. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal;
  773. float ___positionWeight;
  774. float ___rotationWeight;
  775. float ___bendGoalWeight;
  776. float ___swivelOffset;
  777. float ___bendToTargetWeight;
  778. float ___legLengthMlp;
  779. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___stretchCurve;
  780. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPosition;
  781. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotation;
  782. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___footPositionOffset;
  783. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___heelPositionOffset;
  784. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___footRotationOffset;
  785. float ___currentMag;
  786. bool ___useAnimatedBendNormal;
  787. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CpositionU3Ek__BackingField;
  788. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CrotationU3Ek__BackingField;
  789. bool ___U3ChasToesU3Ek__BackingField;
  790. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CthighRelativeToPelvisU3Ek__BackingField;
  791. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___footPosition;
  792. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___footRotation;
  793. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendNormal;
  794. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___calfRelToThigh;
  795. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___thighRelToFoot;
  796. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendNormalRelToPelvis;
  797. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendNormalRelToTarget;
  798. };
  799. struct Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD : public RuntimeObject
  800. {
  801. float ___weight;
  802. float ___footDistance;
  803. float ___stepThreshold;
  804. float ___angleThreshold;
  805. float ___comAngleMlp;
  806. float ___maxVelocity;
  807. float ___velocityFactor;
  808. float ___maxLegStretch;
  809. float ___rootSpeed;
  810. float ___stepSpeed;
  811. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___stepHeight;
  812. float ___maxBodyYOffset;
  813. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___heelHeight;
  814. float ___relaxLegTwistMinAngle;
  815. float ___relaxLegTwistSpeed;
  816. int32_t ___stepInterpolation;
  817. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset;
  818. bool ___blockingEnabled;
  819. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___blockingLayers;
  820. float ___raycastRadius;
  821. float ___raycastHeight;
  822. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* ___onLeftFootstep;
  823. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* ___onRightFootstep;
  824. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CcenterOfMassU3Ek__BackingField;
  825. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* ___footsteps;
  826. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastComPosition;
  827. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___comVelocity;
  828. int32_t ___leftFootIndex;
  829. int32_t ___rightFootIndex;
  830. };
  831. struct Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA : public BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6
  832. {
  833. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___headTarget;
  834. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pelvisTarget;
  835. float ___positionWeight;
  836. float ___rotationWeight;
  837. float ___pelvisPositionWeight;
  838. float ___pelvisRotationWeight;
  839. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___chestGoal;
  840. float ___chestGoalWeight;
  841. float ___minHeadHeight;
  842. float ___bodyPosStiffness;
  843. float ___bodyRotStiffness;
  844. float ___neckStiffness;
  845. float ___rotateChestByHands;
  846. float ___chestClampWeight;
  847. float ___headClampWeight;
  848. float ___moveBodyBackWhenCrouching;
  849. float ___maintainPelvisPosition;
  850. float ___maxRootAngle;
  851. float ___rootHeadingOffset;
  852. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPositionHead;
  853. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotationHead;
  854. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPositionPelvis;
  855. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotationPelvis;
  856. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___goalPositionChest;
  857. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pelvisPositionOffset;
  858. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestPositionOffset;
  859. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headPositionOffset;
  860. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisRotationOffset;
  861. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestRotationOffset;
  862. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___headRotationOffset;
  863. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___faceDirection;
  864. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___locomotionHeadPositionOffset;
  865. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headPosition;
  866. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CanchorRotationU3Ek__BackingField;
  867. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CanchorRelativeToHeadU3Ek__BackingField;
  868. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___headRotation;
  869. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisRotation;
  870. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___anchorRelativeToPelvis;
  871. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisRelativeRotation;
  872. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestRelativeRotation;
  873. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headDeltaPosition;
  874. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisDeltaRotation;
  875. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestTargetRotation;
  876. int32_t ___pelvisIndex;
  877. int32_t ___spineIndex;
  878. int32_t ___chestIndex;
  879. int32_t ___neckIndex;
  880. int32_t ___headIndex;
  881. float ___length;
  882. bool ___hasChest;
  883. bool ___hasNeck;
  884. bool ___hasLegs;
  885. float ___headHeight;
  886. float ___sizeMlp;
  887. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestForward;
  888. };
  889. struct Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D : public RuntimeObject
  890. {
  891. int32_t ___curve;
  892. float ___multiplier;
  893. int32_t ___result;
  894. };
  895. struct WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218 : public RuntimeObject
  896. {
  897. int32_t ___type;
  898. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___curve;
  899. };
  900. struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  901. {
  902. };
  903. struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  904. {
  905. };
  906. struct IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06 : public IKSolverFullBody_tC6E3CDB4E29844E77E14C458F914618719D9F8E8
  907. {
  908. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rootNode;
  909. float ___spineStiffness;
  910. float ___pullBodyVertical;
  911. float ___pullBodyHorizontal;
  912. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CpullBodyOffsetU3Ek__BackingField;
  913. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset;
  914. };
  915. struct Rigidbody_t268697F5A994213ED97393309870968BC1C7393C : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  916. {
  917. };
  918. struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  919. {
  920. };
  921. struct UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0 : public MulticastDelegate_t
  922. {
  923. };
  924. struct InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156 : public MulticastDelegate_t
  925. {
  926. };
  927. struct InteractionEventDelegate_tC38EB2E99F478D06EBD5526282E9129A63A09885 : public MulticastDelegate_t
  928. {
  929. };
  930. struct Animation_t6593B06C39E3B139808B19F2C719C860F3F61040 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
  931. {
  932. };
  933. struct Animator_t8A52E42AE54F76681838FE9E632683EF3952E883 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
  934. {
  935. };
  936. struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
  937. {
  938. CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B* ___m_CancellationTokenSource;
  939. };
  940. struct InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
  941. {
  942. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___otherLookAtTarget;
  943. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___otherTargetsRoot;
  944. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___positionOffsetSpace;
  945. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* ___weightCurves;
  946. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* ___multipliers;
  947. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* ___events;
  948. float ___U3ClengthU3Ek__BackingField;
  949. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* ___U3ClastUsedInteractionSystemU3Ek__BackingField;
  950. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* ___targets;
  951. };
  952. struct InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
  953. {
  954. String_t* ___targetTag;
  955. float ___fadeInTime;
  956. float ___speed;
  957. float ___resetToDefaultsSpeed;
  958. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___characterCollider;
  959. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___FPSCamera;
  960. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___camRaycastLayers;
  961. float ___camRaycastDistance;
  962. List_1_t65E115C4AD1A0F3165763C5D1325BF04486D7291* ___U3CtriggersInRangeU3Ek__BackingField;
  963. List_1_t65E115C4AD1A0F3165763C5D1325BF04486D7291* ___inContact;
  964. List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___bestRangeIndexes;
  965. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* ___OnInteractionStart;
  966. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* ___OnInteractionPause;
  967. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* ___OnInteractionPickUp;
  968. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* ___OnInteractionResume;
  969. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* ___OnInteractionStop;
  970. InteractionEventDelegate_tC38EB2E99F478D06EBD5526282E9129A63A09885* ___OnInteractionEvent;
  971. RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___raycastHit;
  972. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* ___fullBody;
  973. InteractionLookAt_tF71D4B0AB678508623156D5DADAAA4D9F1762573* ___lookAt;
  974. InteractionEffectorU5BU5D_tA4CF7F6F33DA6A8A9D4B1AA496FB7198D9197162* ___interactionEffectors;
  975. bool ___U3CinitiatedU3Ek__BackingField;
  976. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___lastCollider;
  977. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___c;
  978. };
  979. struct InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
  980. {
  981. int32_t ___effectorType;
  982. MultiplierU5BU5D_tEA966F909C9C0F3CE0681B8E20A92EC32BF131DD* ___multipliers;
  983. float ___interactionSpeedMlp;
  984. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pivot;
  985. int32_t ___rotationMode;
  986. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___twistAxis;
  987. float ___twistWeight;
  988. float ___swingWeight;
  989. float ___threeDOFWeight;
  990. bool ___rotateOnce;
  991. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultLocalRotation;
  992. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___lastPivot;
  993. };
  994. struct SolverManager_tC19A5D89A8BD538817A551177E739AF1652D66F2 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
  995. {
  996. bool ___fixTransforms;
  997. Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator;
  998. Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* ___legacy;
  999. bool ___updateFrame;
  1000. bool ___componentInitiated;
  1001. bool ___skipSolverUpdate;
  1002. };
  1003. struct TwistRelaxer_t2AA9B2771CB87578D3C70798C7DCD618E08CE292 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
  1004. {
  1005. IK_t8EA47A619130A4B7014BE679297372F51431EB42* ___ik;
  1006. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* ___twistSolvers;
  1007. };
  1008. struct IK_t8EA47A619130A4B7014BE679297372F51431EB42 : public SolverManager_tC19A5D89A8BD538817A551177E739AF1652D66F2
  1009. {
  1010. };
  1011. struct Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B : public SolverManager_tC19A5D89A8BD538817A551177E739AF1652D66F2
  1012. {
  1013. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___poseRoot;
  1014. float ___weight;
  1015. float ___localRotationWeight;
  1016. float ___localPositionWeight;
  1017. bool ___initiated;
  1018. };
  1019. struct FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822 : public IK_t8EA47A619130A4B7014BE679297372F51431EB42
  1020. {
  1021. BipedReferences_t7E128C325DDAC55C99CA7F636F2F2E08375EA7BB* ___references;
  1022. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* ___solver;
  1023. };
  1024. struct LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5 : public IK_t8EA47A619130A4B7014BE679297372F51431EB42
  1025. {
  1026. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* ___solver;
  1027. };
  1028. struct List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A_StaticFields
  1029. {
  1030. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* ___s_emptyArray;
  1031. };
  1032. struct String_t_StaticFields
  1033. {
  1034. String_t* ___Empty;
  1035. };
  1036. struct Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_StaticFields
  1037. {
  1038. bool ___logged;
  1039. };
  1040. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  1041. {
  1042. String_t* ___TrueString;
  1043. String_t* ___FalseString;
  1044. };
  1045. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_StaticFields
  1046. {
  1047. CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___enumSeperatorCharArray;
  1048. };
  1049. struct IntPtr_t_StaticFields
  1050. {
  1051. intptr_t ___Zero;
  1052. };
  1053. struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
  1054. {
  1055. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion;
  1056. };
  1057. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
  1058. {
  1059. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector;
  1060. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector;
  1061. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector;
  1062. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector;
  1063. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector;
  1064. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector;
  1065. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector;
  1066. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector;
  1067. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector;
  1068. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector;
  1069. };
  1070. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
  1071. {
  1072. int32_t ___OffsetOfInstanceIDInCPlusPlusObject;
  1073. };
  1074. #ifdef __clang__
  1075. #pragma clang diagnostic pop
  1076. #endif
  1077. struct VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C : public RuntimeArray
  1078. {
  1079. ALIGN_FIELD (8) VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* m_Items[1];
  1080. inline VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* GetAt(il2cpp_array_size_t index) const
  1081. {
  1082. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1083. return m_Items[index];
  1084. }
  1085. inline VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD** GetAddressAt(il2cpp_array_size_t index)
  1086. {
  1087. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1088. return m_Items + index;
  1089. }
  1090. inline void SetAt(il2cpp_array_size_t index, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* value)
  1091. {
  1092. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1093. m_Items[index] = value;
  1094. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1095. }
  1096. inline VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* GetAtUnchecked(il2cpp_array_size_t index) const
  1097. {
  1098. return m_Items[index];
  1099. }
  1100. inline VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1101. {
  1102. return m_Items + index;
  1103. }
  1104. inline void SetAtUnchecked(il2cpp_array_size_t index, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* value)
  1105. {
  1106. m_Items[index] = value;
  1107. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1108. }
  1109. };
  1110. struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C : public RuntimeArray
  1111. {
  1112. ALIGN_FIELD (8) Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 m_Items[1];
  1113. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAt(il2cpp_array_size_t index) const
  1114. {
  1115. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1116. return m_Items[index];
  1117. }
  1118. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAt(il2cpp_array_size_t index)
  1119. {
  1120. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1121. return m_Items + index;
  1122. }
  1123. inline void SetAt(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
  1124. {
  1125. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1126. m_Items[index] = value;
  1127. }
  1128. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAtUnchecked(il2cpp_array_size_t index) const
  1129. {
  1130. return m_Items[index];
  1131. }
  1132. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1133. {
  1134. return m_Items + index;
  1135. }
  1136. inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
  1137. {
  1138. m_Items[index] = value;
  1139. }
  1140. };
  1141. struct QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7 : public RuntimeArray
  1142. {
  1143. ALIGN_FIELD (8) Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 m_Items[1];
  1144. inline Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 GetAt(il2cpp_array_size_t index) const
  1145. {
  1146. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1147. return m_Items[index];
  1148. }
  1149. inline Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* GetAddressAt(il2cpp_array_size_t index)
  1150. {
  1151. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1152. return m_Items + index;
  1153. }
  1154. inline void SetAt(il2cpp_array_size_t index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 value)
  1155. {
  1156. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1157. m_Items[index] = value;
  1158. }
  1159. inline Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 GetAtUnchecked(il2cpp_array_size_t index) const
  1160. {
  1161. return m_Items[index];
  1162. }
  1163. inline Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1164. {
  1165. return m_Items + index;
  1166. }
  1167. inline void SetAtUnchecked(il2cpp_array_size_t index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 value)
  1168. {
  1169. m_Items[index] = value;
  1170. }
  1171. };
  1172. struct FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44 : public RuntimeArray
  1173. {
  1174. ALIGN_FIELD (8) Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* m_Items[1];
  1175. inline Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* GetAt(il2cpp_array_size_t index) const
  1176. {
  1177. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1178. return m_Items[index];
  1179. }
  1180. inline Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4** GetAddressAt(il2cpp_array_size_t index)
  1181. {
  1182. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1183. return m_Items + index;
  1184. }
  1185. inline void SetAt(il2cpp_array_size_t index, Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* value)
  1186. {
  1187. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1188. m_Items[index] = value;
  1189. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1190. }
  1191. inline Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* GetAtUnchecked(il2cpp_array_size_t index) const
  1192. {
  1193. return m_Items[index];
  1194. }
  1195. inline Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1196. {
  1197. return m_Items + index;
  1198. }
  1199. inline void SetAtUnchecked(il2cpp_array_size_t index, Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* value)
  1200. {
  1201. m_Items[index] = value;
  1202. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1203. }
  1204. };
  1205. struct ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492 : public RuntimeArray
  1206. {
  1207. ALIGN_FIELD (8) Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* m_Items[1];
  1208. inline Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* GetAt(il2cpp_array_size_t index) const
  1209. {
  1210. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1211. return m_Items[index];
  1212. }
  1213. inline Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B** GetAddressAt(il2cpp_array_size_t index)
  1214. {
  1215. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1216. return m_Items + index;
  1217. }
  1218. inline void SetAt(il2cpp_array_size_t index, Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* value)
  1219. {
  1220. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1221. m_Items[index] = value;
  1222. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1223. }
  1224. inline Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* GetAtUnchecked(il2cpp_array_size_t index) const
  1225. {
  1226. return m_Items[index];
  1227. }
  1228. inline Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1229. {
  1230. return m_Items + index;
  1231. }
  1232. inline void SetAtUnchecked(il2cpp_array_size_t index, Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* value)
  1233. {
  1234. m_Items[index] = value;
  1235. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1236. }
  1237. };
  1238. struct LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3 : public RuntimeArray
  1239. {
  1240. ALIGN_FIELD (8) Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* m_Items[1];
  1241. inline Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* GetAt(il2cpp_array_size_t index) const
  1242. {
  1243. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1244. return m_Items[index];
  1245. }
  1246. inline Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2** GetAddressAt(il2cpp_array_size_t index)
  1247. {
  1248. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1249. return m_Items + index;
  1250. }
  1251. inline void SetAt(il2cpp_array_size_t index, Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* value)
  1252. {
  1253. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1254. m_Items[index] = value;
  1255. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1256. }
  1257. inline Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* GetAtUnchecked(il2cpp_array_size_t index) const
  1258. {
  1259. return m_Items[index];
  1260. }
  1261. inline Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1262. {
  1263. return m_Items + index;
  1264. }
  1265. inline void SetAtUnchecked(il2cpp_array_size_t index, Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* value)
  1266. {
  1267. m_Items[index] = value;
  1268. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1269. }
  1270. };
  1271. struct TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273 : public RuntimeArray
  1272. {
  1273. ALIGN_FIELD (8) TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* m_Items[1];
  1274. inline TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* GetAt(il2cpp_array_size_t index) const
  1275. {
  1276. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1277. return m_Items[index];
  1278. }
  1279. inline TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225** GetAddressAt(il2cpp_array_size_t index)
  1280. {
  1281. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1282. return m_Items + index;
  1283. }
  1284. inline void SetAt(il2cpp_array_size_t index, TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* value)
  1285. {
  1286. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1287. m_Items[index] = value;
  1288. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1289. }
  1290. inline TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* GetAtUnchecked(il2cpp_array_size_t index) const
  1291. {
  1292. return m_Items[index];
  1293. }
  1294. inline TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1295. {
  1296. return m_Items + index;
  1297. }
  1298. inline void SetAtUnchecked(il2cpp_array_size_t index, TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* value)
  1299. {
  1300. m_Items[index] = value;
  1301. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1302. }
  1303. };
  1304. struct TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24 : public RuntimeArray
  1305. {
  1306. ALIGN_FIELD (8) Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* m_Items[1];
  1307. inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* GetAt(il2cpp_array_size_t index) const
  1308. {
  1309. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1310. return m_Items[index];
  1311. }
  1312. inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1** GetAddressAt(il2cpp_array_size_t index)
  1313. {
  1314. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1315. return m_Items + index;
  1316. }
  1317. inline void SetAt(il2cpp_array_size_t index, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* value)
  1318. {
  1319. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1320. m_Items[index] = value;
  1321. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1322. }
  1323. inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* GetAtUnchecked(il2cpp_array_size_t index) const
  1324. {
  1325. return m_Items[index];
  1326. }
  1327. inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1328. {
  1329. return m_Items + index;
  1330. }
  1331. inline void SetAtUnchecked(il2cpp_array_size_t index, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* value)
  1332. {
  1333. m_Items[index] = value;
  1334. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1335. }
  1336. };
  1337. struct InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11 : public RuntimeArray
  1338. {
  1339. ALIGN_FIELD (8) InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* m_Items[1];
  1340. inline InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* GetAt(il2cpp_array_size_t index) const
  1341. {
  1342. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1343. return m_Items[index];
  1344. }
  1345. inline InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033** GetAddressAt(il2cpp_array_size_t index)
  1346. {
  1347. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1348. return m_Items + index;
  1349. }
  1350. inline void SetAt(il2cpp_array_size_t index, InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* value)
  1351. {
  1352. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1353. m_Items[index] = value;
  1354. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1355. }
  1356. inline InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* GetAtUnchecked(il2cpp_array_size_t index) const
  1357. {
  1358. return m_Items[index];
  1359. }
  1360. inline InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1361. {
  1362. return m_Items + index;
  1363. }
  1364. inline void SetAtUnchecked(il2cpp_array_size_t index, InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* value)
  1365. {
  1366. m_Items[index] = value;
  1367. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1368. }
  1369. };
  1370. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
  1371. {
  1372. ALIGN_FIELD (8) String_t* m_Items[1];
  1373. inline String_t* GetAt(il2cpp_array_size_t index) const
  1374. {
  1375. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1376. return m_Items[index];
  1377. }
  1378. inline String_t** GetAddressAt(il2cpp_array_size_t index)
  1379. {
  1380. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1381. return m_Items + index;
  1382. }
  1383. inline void SetAt(il2cpp_array_size_t index, String_t* value)
  1384. {
  1385. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1386. m_Items[index] = value;
  1387. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1388. }
  1389. inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
  1390. {
  1391. return m_Items[index];
  1392. }
  1393. inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1394. {
  1395. return m_Items + index;
  1396. }
  1397. inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
  1398. {
  1399. m_Items[index] = value;
  1400. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1401. }
  1402. };
  1403. struct ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787 : public RuntimeArray
  1404. {
  1405. ALIGN_FIELD (8) Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* m_Items[1];
  1406. inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* GetAt(il2cpp_array_size_t index) const
  1407. {
  1408. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1409. return m_Items[index];
  1410. }
  1411. inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76** GetAddressAt(il2cpp_array_size_t index)
  1412. {
  1413. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1414. return m_Items + index;
  1415. }
  1416. inline void SetAt(il2cpp_array_size_t index, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* value)
  1417. {
  1418. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1419. m_Items[index] = value;
  1420. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1421. }
  1422. inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* GetAtUnchecked(il2cpp_array_size_t index) const
  1423. {
  1424. return m_Items[index];
  1425. }
  1426. inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1427. {
  1428. return m_Items + index;
  1429. }
  1430. inline void SetAtUnchecked(il2cpp_array_size_t index, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* value)
  1431. {
  1432. m_Items[index] = value;
  1433. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1434. }
  1435. };
  1436. struct WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE : public RuntimeArray
  1437. {
  1438. ALIGN_FIELD (8) WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* m_Items[1];
  1439. inline WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* GetAt(il2cpp_array_size_t index) const
  1440. {
  1441. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1442. return m_Items[index];
  1443. }
  1444. inline WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218** GetAddressAt(il2cpp_array_size_t index)
  1445. {
  1446. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1447. return m_Items + index;
  1448. }
  1449. inline void SetAt(il2cpp_array_size_t index, WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* value)
  1450. {
  1451. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1452. m_Items[index] = value;
  1453. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1454. }
  1455. inline WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* GetAtUnchecked(il2cpp_array_size_t index) const
  1456. {
  1457. return m_Items[index];
  1458. }
  1459. inline WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1460. {
  1461. return m_Items + index;
  1462. }
  1463. inline void SetAtUnchecked(il2cpp_array_size_t index, WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* value)
  1464. {
  1465. m_Items[index] = value;
  1466. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1467. }
  1468. };
  1469. struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3 : public RuntimeArray
  1470. {
  1471. ALIGN_FIELD (8) Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 m_Items[1];
  1472. inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 GetAt(il2cpp_array_size_t index) const
  1473. {
  1474. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1475. return m_Items[index];
  1476. }
  1477. inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* GetAddressAt(il2cpp_array_size_t index)
  1478. {
  1479. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1480. return m_Items + index;
  1481. }
  1482. inline void SetAt(il2cpp_array_size_t index, Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 value)
  1483. {
  1484. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1485. m_Items[index] = value;
  1486. }
  1487. inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 GetAtUnchecked(il2cpp_array_size_t index) const
  1488. {
  1489. return m_Items[index];
  1490. }
  1491. inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1492. {
  1493. return m_Items + index;
  1494. }
  1495. inline void SetAtUnchecked(il2cpp_array_size_t index, Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 value)
  1496. {
  1497. m_Items[index] = value;
  1498. }
  1499. };
  1500. struct InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF : public RuntimeArray
  1501. {
  1502. ALIGN_FIELD (8) InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* m_Items[1];
  1503. inline InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* GetAt(il2cpp_array_size_t index) const
  1504. {
  1505. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1506. return m_Items[index];
  1507. }
  1508. inline InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1** GetAddressAt(il2cpp_array_size_t index)
  1509. {
  1510. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1511. return m_Items + index;
  1512. }
  1513. inline void SetAt(il2cpp_array_size_t index, InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* value)
  1514. {
  1515. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1516. m_Items[index] = value;
  1517. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1518. }
  1519. inline InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* GetAtUnchecked(il2cpp_array_size_t index) const
  1520. {
  1521. return m_Items[index];
  1522. }
  1523. inline InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1524. {
  1525. return m_Items + index;
  1526. }
  1527. inline void SetAtUnchecked(il2cpp_array_size_t index, InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* value)
  1528. {
  1529. m_Items[index] = value;
  1530. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1531. }
  1532. };
  1533. struct MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1 : public RuntimeArray
  1534. {
  1535. ALIGN_FIELD (8) Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* m_Items[1];
  1536. inline Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* GetAt(il2cpp_array_size_t index) const
  1537. {
  1538. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1539. return m_Items[index];
  1540. }
  1541. inline Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D** GetAddressAt(il2cpp_array_size_t index)
  1542. {
  1543. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1544. return m_Items + index;
  1545. }
  1546. inline void SetAt(il2cpp_array_size_t index, Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* value)
  1547. {
  1548. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1549. m_Items[index] = value;
  1550. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1551. }
  1552. inline Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* GetAtUnchecked(il2cpp_array_size_t index) const
  1553. {
  1554. return m_Items[index];
  1555. }
  1556. inline Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1557. {
  1558. return m_Items + index;
  1559. }
  1560. inline void SetAtUnchecked(il2cpp_array_size_t index, Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* value)
  1561. {
  1562. m_Items[index] = value;
  1563. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1564. }
  1565. };
  1566. struct AnimatorEventU5BU5D_t1FA2A56692AF4C3492D4AA6C84CE258A6F82DE97 : public RuntimeArray
  1567. {
  1568. ALIGN_FIELD (8) AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* m_Items[1];
  1569. inline AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* GetAt(il2cpp_array_size_t index) const
  1570. {
  1571. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1572. return m_Items[index];
  1573. }
  1574. inline AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F** GetAddressAt(il2cpp_array_size_t index)
  1575. {
  1576. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1577. return m_Items + index;
  1578. }
  1579. inline void SetAt(il2cpp_array_size_t index, AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* value)
  1580. {
  1581. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1582. m_Items[index] = value;
  1583. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1584. }
  1585. inline AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* GetAtUnchecked(il2cpp_array_size_t index) const
  1586. {
  1587. return m_Items[index];
  1588. }
  1589. inline AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1590. {
  1591. return m_Items + index;
  1592. }
  1593. inline void SetAtUnchecked(il2cpp_array_size_t index, AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* value)
  1594. {
  1595. m_Items[index] = value;
  1596. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1597. }
  1598. };
  1599. struct MessageU5BU5D_tC1A67B7E2BB1297B0B03BAD324E75469DAB1DAF7 : public RuntimeArray
  1600. {
  1601. ALIGN_FIELD (8) Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46* m_Items[1];
  1602. inline Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46* GetAt(il2cpp_array_size_t index) const
  1603. {
  1604. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1605. return m_Items[index];
  1606. }
  1607. inline Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46** GetAddressAt(il2cpp_array_size_t index)
  1608. {
  1609. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1610. return m_Items + index;
  1611. }
  1612. inline void SetAt(il2cpp_array_size_t index, Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46* value)
  1613. {
  1614. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1615. m_Items[index] = value;
  1616. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1617. }
  1618. inline Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46* GetAtUnchecked(il2cpp_array_size_t index) const
  1619. {
  1620. return m_Items[index];
  1621. }
  1622. inline Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1623. {
  1624. return m_Items + index;
  1625. }
  1626. inline void SetAtUnchecked(il2cpp_array_size_t index, Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46* value)
  1627. {
  1628. m_Items[index] = value;
  1629. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1630. }
  1631. };
  1632. struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4 : public RuntimeArray
  1633. {
  1634. ALIGN_FIELD (8) bool m_Items[1];
  1635. inline bool GetAt(il2cpp_array_size_t index) const
  1636. {
  1637. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1638. return m_Items[index];
  1639. }
  1640. inline bool* GetAddressAt(il2cpp_array_size_t index)
  1641. {
  1642. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1643. return m_Items + index;
  1644. }
  1645. inline void SetAt(il2cpp_array_size_t index, bool value)
  1646. {
  1647. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1648. m_Items[index] = value;
  1649. }
  1650. inline bool GetAtUnchecked(il2cpp_array_size_t index) const
  1651. {
  1652. return m_Items[index];
  1653. }
  1654. inline bool* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1655. {
  1656. return m_Items + index;
  1657. }
  1658. inline void SetAtUnchecked(il2cpp_array_size_t index, bool value)
  1659. {
  1660. m_Items[index] = value;
  1661. }
  1662. };
  1663. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* Component_GetComponentsInChildren_TisRuntimeObject_m1F5B6FC0689B07D4FAAC0C605D9B2933A9B32543_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
  1664. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m87539832B82A3453971F3BCC702C7346E8D3F953_gshared (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, const RuntimeMethod* method) ;
  1665. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
  1666. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mAD42099EBC7E640561281C5FEDF47997858D9073_gshared_inline (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, const RuntimeMethod* method) ;
  1667. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m5AAB6DCB6C30EB5769B4E8DB8170E50319F0A9ED_gshared_inline (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, bool ___0_item, const RuntimeMethod* method) ;
  1668. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_get_Item_m876910864A81E4E2ACB93266B50ADFBE8262C179_gshared (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, int32_t ___0_index, const RuntimeMethod* method) ;
  1669. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_mFEA98FA49B98EC8B769FB82DED7622F672AD1ADB_gshared (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, int32_t ___0_index, bool ___1_value, const RuntimeMethod* method) ;
  1670. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4573A12BFDA535926500C04E88A94540C95C395D_gshared_inline (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, const RuntimeMethod* method) ;
  1671. IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void List_1_AddWithResize_mD783561518F916982595A58C9A148BA3AA8F9B10_gshared (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, bool ___0_item, const RuntimeMethod* method) ;
  1672. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Arm_set_rotation_m560FED3E2B58E216CEB6B0BA4059754EC2D5FB8D_inline (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
  1673. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method) ;
  1674. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method) ;
  1675. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_point, const RuntimeMethod* method) ;
  1676. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, const RuntimeMethod* method) ;
  1677. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method) ;
  1678. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 AxisTools_GetAxisVectorToDirection_mD5A0798E70BCBB64054691503E89DAF78BEC8D4A (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_r, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, const RuntimeMethod* method) ;
  1679. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
  1680. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method) ;
  1681. 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) ;
  1682. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
  1683. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method) ;
  1684. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
  1685. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
  1686. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method) ;
  1687. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
  1688. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  1689. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  1690. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method) ;
  1691. 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) ;
  1692. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Arm_set_position_m15E6952964F5E6F8C503D00C18022E442C7E712D_inline (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  1693. 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) ;
  1694. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method) ;
  1695. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
  1696. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method) ;
  1697. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method) ;
  1698. 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) ;
  1699. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method) ;
  1700. 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) ;
  1701. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
  1702. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
  1703. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, float ___0_time, const RuntimeMethod* method) ;
  1704. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_forward, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_upwards, const RuntimeMethod* method) ;
  1705. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80 (float ___0_angle, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_axis, const RuntimeMethod* method) ;
  1706. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Arm_DamperValue_mB8C3917E396C4626F3ECCE36A7696C5E0E6CBFF0 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, float ___0_value, float ___1_min, float ___2_max, float ___3_weight, const RuntimeMethod* method) ;
  1707. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_fromDirection, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_toDirection, const RuntimeMethod* method) ;
  1708. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline (const RuntimeMethod* method) ;
  1709. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline (const RuntimeMethod* method) ;
  1710. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float BodyPart_get_mag_mC59094481F8E1BABBB58CFA9B5491E0CEB42B0FB_inline (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, const RuntimeMethod* method) ;
  1711. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method) ;
  1712. 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) ;
  1713. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_RotateBy_mDC1844AFD70FD61AC3159E5F6701ADCE6A048CF8 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method) ;
  1714. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_Stretching_m407FE2CDEBF317712BC2F5C5C2DF237E968BF504 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method) ;
  1715. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Arm_GetBendNormal_mB5068D2444896F19D5802B4A56D7FBF36B51FB09 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_dir, const RuntimeMethod* method) ;
  1716. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_first, int32_t ___2_second, int32_t ___3_third, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___4_targetPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___5_bendNormal, float ___6_weight, const RuntimeMethod* method) ;
  1717. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method) ;
  1718. 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) ;
  1719. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_DeltaAngle_mCBA858CE5C1BEEBE375812325A50E434FF66D6D4_inline (float ___0_current, float ___1_target, const RuntimeMethod* method) ;
  1720. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_RotateTo_mEEACCFF82CB75BF8B9C08CD771A91C97C553D1B4 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_bone, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, float ___2_weight, const RuntimeMethod* method) ;
  1721. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Arm_get_rotation_m6A40C3166D9AA240930D675FCA778F08FE8A9E02_inline (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method) ;
  1722. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Interp_Float_m218DE9CAA3AAC9F0186C85992D42704BEBCDF902 (float ___0_t, int32_t ___1_mode, const RuntimeMethod* method) ;
  1723. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method) ;
  1724. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_down_mF62B2AE7C5AC31EAC9CB62797C7190C90A7A8599_inline (const RuntimeMethod* method) ;
  1725. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline (const RuntimeMethod* method) ;
  1726. 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) ;
  1727. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_start, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_end, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___2_color, const RuntimeMethod* method) ;
  1728. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve__ctor_m0D976567166F92383307DC8EB8D7082CD34E226F (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, const RuntimeMethod* method) ;
  1729. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart__ctor_m3C2D6F6CE136D84750B477603D5EB37E1B3A38E4 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, const RuntimeMethod* method) ;
  1730. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float VirtualBone_PreSolve_mBC9F15E52C251DF529BBA3ADDAD501FD4CC4ED17 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** ___0_bones, const RuntimeMethod* method) ;
  1731. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void BodyPart_set_mag_m1E62A4147D4BB6D6358877F9E345800A74E40667_inline (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, float ___0_value, const RuntimeMethod* method) ;
  1732. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void BodyPart_set_sqrMag_mE91CDBD2FA337A4E7888D119CCE7C29A2A7A72D4_inline (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, float ___0_value, const RuntimeMethod* method) ;
  1733. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_from, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_to, const RuntimeMethod* method) ;
  1734. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_point, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___3_rotation, const RuntimeMethod* method) ;
  1735. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_MovePosition_m552FFDE073EA19DFD9EE4220437AF98B3B5CEF51 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
  1736. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_MoveRotation_m55C068987E9D6BF5E3D6C7279E2D3F4941D93538 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, const RuntimeMethod* method) ;
  1737. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method) ;
  1738. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_Visualize_m0BE2B4D9F278AAFF0903079EA5F4AC8B8D884FD3 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_color, const RuntimeMethod* method) ;
  1739. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
  1740. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, const RuntimeMethod* method) ;
  1741. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_Reset_mF75166B2BD3CF605BE659224CDF52B4084493D29 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rootRotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_footPosition, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_footRotation, const RuntimeMethod* method) ;
  1742. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Footstep_set_stepProgress_mA9354065BB9A02E1C8C6E1824B25D52DEB7EBC19_inline (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, float ___0_value, const RuntimeMethod* method) ;
  1743. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
  1744. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method) ;
  1745. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865 (const RuntimeMethod* method) ;
  1746. 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) ;
  1747. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
  1748. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_RotateTowards_m50EF9D609C80CD423CDA856EA3481DE2004633A3_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_from, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_to, float ___2_maxDegreesDelta, const RuntimeMethod* method) ;
  1749. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_SmoothDamp_m3A255A356924421B4042AAD1623EF46F92A08C91_inline (float ___0_current, float ___1_target, float* ___2_currentVelocity, float ___3_smoothTime, const RuntimeMethod* method) ;
  1750. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Footstep_get_isStepping_m309B6A332A8A8939B5BF4AD79F0B40AE7AA13EDA (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, const RuntimeMethod* method) ;
  1751. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_MoveTowards_m69751B5EC50D8E7127D4BB2C8D908E38808AF45D_inline (float ___0_current, float ___1_target, float ___2_maxDelta, const RuntimeMethod* method) ;
  1752. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_Invoke_mFBF80D59B03C30C5FE6A06F897D954ACADE061D2 (UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* __this, const RuntimeMethod* method) ;
  1753. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Leg_set_hasToes_m0E8B62C139858894C6165A29F472670E8A4A1117_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, bool ___0_value, const RuntimeMethod* method) ;
  1754. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Leg_set_rotation_m56608E1FBA3B4397428CB0C923C16048732104FC_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
  1755. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1756. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1757. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Leg_set_position_m4CB61ADC3BB9CD60A7815342D00CC04469171A63_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  1758. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Leg_get_rotation_mF1455C895FB47CC46BD7676D98B531A8DCD40F8B_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1759. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_ApplyRotationOffset_m074325724170692157F4F4BF494BE54F9045DAF6 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_offset, float ___1_weight, const RuntimeMethod* method) ;
  1760. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1761. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_ApplyPositionOffset_m7C5963FD50203AFA5A8F204D8DDE89DDAF0AC051 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_offset, float ___1_weight, const RuntimeMethod* method) ;
  1762. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1763. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Leg_set_thighRelativeToPelvis_m2603AD0CD664954B29E4900145E5EFF00A86ED6B_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  1764. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1765. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_Stretching_mBD2548751475767B1FE72D68E60D4042511A32CC (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1766. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Leg_get_hasToes_m6FA0D47B1557EB3901C232B17716EA3019BCDA8A_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1767. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_FixTwistRotations_mB139554C145E725D6698367F95BF32F741851F50 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1768. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_toes_m4C7327EEC1E6DC58177005B9381D126FE9F62F8E (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1769. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline (float ___0_d, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, const RuntimeMethod* method) ;
  1770. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep__ctor_m944B868F25461680FA058295A1B567E42F500DD2 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rootRotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_footPosition, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_footRotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_characterSpaceOffset, const RuntimeMethod* method) ;
  1771. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method) ;
  1772. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Leg_get_thighRelativeToPelvis_m2FAD48A130408E578941FDB03EFB3974F05246B8_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method) ;
  1773. 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) ;
  1774. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE_inline (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  1775. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method) ;
  1776. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method) ;
  1777. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
  1778. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, float ___1_maxLength, const RuntimeMethod* method) ;
  1779. 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) ;
  1780. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, const RuntimeMethod* method) ;
  1781. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Locomotion_StepBlocked_mA4E6E9AF93F49717610DF9E4F21B9B05F2049D80 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_fromPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_toPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_rootPosition, const RuntimeMethod* method) ;
  1782. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_UpdateStepping_mE6F65896248B683960987B386E0BF2F7270C4244 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rootRotation, float ___2_speed, const RuntimeMethod* method) ;
  1783. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_UpdateStanding_m85877A97934324AFEAC76494DBF4AF4174E49368 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rootRotation, float ___1_minAngle, float ___2_speed, const RuntimeMethod* method) ;
  1784. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Locomotion_CanStep_m61F842768DCA934322E65030C72DAA3188A38F70 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method) ;
  1785. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
  1786. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Locomotion_GetLineSphereCollision_mA926BB6BAEAA5ADA9000D9C028AEF719837ED187 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lineStart, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_lineEnd, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_sphereCenter, float ___3_sphereRadius, const RuntimeMethod* method) ;
  1787. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Random_Range_m5236C99A7D8AE6AC9190592DC66016652A2D2494 (float ___0_minInclusive, float ___1_maxInclusive, const RuntimeMethod* method) ;
  1788. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_StepTo_mA261B0B57FA71393A4E8D7BA41406FB8C048EBEB (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rootRotation, float ___2_stepThreshold, const RuntimeMethod* method) ;
  1789. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_Update_m4B3C8D8AECC6C543EAEED0A1027308D2D932C7F7 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, int32_t ___0_interpolation, UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* ___1_onStep, const RuntimeMethod* method) ;
  1790. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D (LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___0_mask, const RuntimeMethod* method) ;
  1791. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
  1792. 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) ;
  1793. 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) ;
  1794. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent__ctor_m03D3E5121B9A6100351984D0CE3050B909CD3235 (UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* __this, const RuntimeMethod* method) ;
  1795. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Spine_set_anchorRelativeToHead_m81848111682758140D3E2C527C15E66A230A7CF1_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
  1796. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA (float ___0_val1, float ___1_val2, const RuntimeMethod* method) ;
  1797. 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) ;
  1798. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Spine_get_anchorRelativeToHead_mC024F027EC9B56BDC1454C414C6F343B0A1924FE_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method) ;
  1799. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Spine_set_anchorRotation_m9DCC53962872B70682223384786A3443ADAEE75F_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
  1800. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_AdjustChestByHands_mEA4F1D36F16F70832B84700C36A38ED04F4EE883 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* ___0_chestTargetRotation, ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* ___1_arms, const RuntimeMethod* method) ;
  1801. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Spine_get_anchorRotation_m678C1386D10833551B3D31B96C831BBDB2D92527_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method) ;
  1802. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_CalculateChestTargetRotation_mCB85A8F8B8DC94C138E33F5F5D1BD8FFA3EBED04 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_rootBone, ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* ___1_arms, const RuntimeMethod* method) ;
  1803. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_TranslatePelvis_m30BA0331B3B466B6FAA716E07AA5157F0477EA80 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* ___0_legs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_deltaPosition, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_deltaRotation, float ___3_scale, const RuntimeMethod* method) ;
  1804. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_FABRIKPass_m9C5385D2BBB8316623CBC536E6835AAD4F7E7F46 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_animatedPelvisPos, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rootUp, float ___2_weight, const RuntimeMethod* method) ;
  1805. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_Bend_mF2C7FF449A8B8092A387AF438771DA33CA34494A (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_firstIndex, int32_t ___2_lastIndex, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___3_targetRotation, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___4_rotationOffset, float ___5_clampWeight, bool ___6_uniformWeight, float ___7_w, const RuntimeMethod* method) ;
  1806. 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) ;
  1807. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_Bend_m22C51DAEB53EE1D0DD3B317B1CBA93D3D54549E6 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_firstIndex, int32_t ___2_lastIndex, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___3_targetRotation, float ___4_clampWeight, bool ___5_uniformWeight, float ___6_w, const RuntimeMethod* method) ;
  1808. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_SolvePelvis_mE688B9C4C9E94044B162BE1EE1FE967213925CFD (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method) ;
  1809. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_SolveFABRIK_mDCDEE1A3378C450DB6BCE74F1BCCC77058DFCE97 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_startPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_targetPosition, float ___3_weight, float ___4_minNormalizedTargetDistance, int32_t ___5_iterations, float ___6_length, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___7_startOffset, const RuntimeMethod* method) ;
  1810. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Spine_LimitPelvisPosition_m55F142BEE70485085F65709276215522A909F8F8 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* ___0_legs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_pelvisPosition, bool ___2_useCurrentLegMag, int32_t ___3_it, const RuntimeMethod* method) ;
  1811. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 QuaTools_ClampRotation_mDD82D18F741BD59F176AEF48C4830A1FC85E7917 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, float ___1_clampWeight, int32_t ___2_clampSmoothing, const RuntimeMethod* method) ;
  1812. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VirtualBone_GetDirectionToBendPoint_m52682461F59E2133ABE6FBC3CF801C14E3DE169B (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, float ___1_directionMag, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_bendDirection, float ___3_sqrMag1, float ___4_sqrMag2, const RuntimeMethod* method) ;
  1813. 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) ;
  1814. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
  1815. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VirtualBone_SolveFABRIKJoint_mF6261CB54A5C07391F8EFB75C049C697B980FC66 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_pos2, float ___2_length, const RuntimeMethod* method) ;
  1816. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_SwingRotation_m09CD33645E87E39DA6A478E51B6F06F1C2221EAE (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_swingTarget, float ___3_weight, const RuntimeMethod* method) ;
  1817. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_RotateBy_m6228F540113E22774DBA496606B2694D428D44B4 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_rotation, const RuntimeMethod* method) ;
  1818. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
  1819. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E (RuntimeObject* ___0_message, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_context, const RuntimeMethod* method) ;
  1820. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistSolver_Initiate_m41148DD6B4C6E717ECB424C30C03C957F6A47AA3 (TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* __this, const RuntimeMethod* method) ;
  1821. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UpdateDelegate__ctor_m820A1E7E68403D651A584E37E3DDD3CC37BCDB89 (UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
  1822. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00 (Delegate_t* ___0_a, Delegate_t* ___1_b, const RuntimeMethod* method) ;
  1823. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistSolver_Relax_m4C51AC13426515E8A049B3520CA48220E15867F4 (TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* __this, const RuntimeMethod* method) ;
  1824. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
  1825. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3 (Delegate_t* ___0_source, Delegate_t* ___1_value, const RuntimeMethod* method) ;
  1826. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
  1827. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  1828. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Transform_get_childCount_mE9C29C702AB662CC540CA053EDE48BDAFA35B4B0 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  1829. inline TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* Component_GetComponentsInChildren_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m75FFF26FD3F8B797CFE939FBA50E014C15E6BE28 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
  1830. {
  1831. return (( TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponentsInChildren_TisRuntimeObject_m1F5B6FC0689B07D4FAAC0C605D9B2933A9B32543_gshared)(__this, method);
  1832. }
  1833. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Transform_GetChild_mE686DF0C7AAC1F7AEF356967B1C04D8B8E240EAF (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, int32_t ___0_index, const RuntimeMethod* method) ;
  1834. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, const RuntimeMethod* method) ;
  1835. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
  1836. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method) ;
  1837. inline void List_1__ctor_m87539832B82A3453971F3BCC702C7346E8D3F953 (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, const RuntimeMethod* method)
  1838. {
  1839. (( void (*) (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A*, const RuntimeMethod*))List_1__ctor_m87539832B82A3453971F3BCC702C7346E8D3F953_gshared)(__this, method);
  1840. }
  1841. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionEffector_set_effectorType_mD3F1DDBC4A3BBB18CE2D36BF670A04492F9D6FFF_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, int32_t ___0_value, const RuntimeMethod* method) ;
  1842. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline (InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* __this, const RuntimeMethod* method) ;
  1843. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method) ;
  1844. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_effector, const RuntimeMethod* method) ;
  1845. inline Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* Component_GetComponent_TisPoser_t47125CF78A54ADD8AE14EE76F555016F3312111B_mD0F5B2A744FC65275A9F552885A2ECFA8D20E8EE (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
  1846. {
  1847. return (( Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
  1848. }
  1849. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_StoreDefaults_m853CF514E0408C78D2884E502CE4E816F2E5B6D0 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method) ;
  1850. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96 (IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* __this, int32_t ___0_effector, const RuntimeMethod* method) ;
  1851. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method) ;
  1852. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool InteractionEffector_get_isPaused_mA3F799B5F6A45C26B064DCB13E9E13D629E91678_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method) ;
  1853. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool IKEffector_get_isEndEffector_m54200CE28232E1CED2790F2FC02DB411885F1F1B_inline (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, const RuntimeMethod* method) ;
  1854. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionEffector_set_isPaused_mB60B2B33B9E5988B3F120E307B21EEE57269CF14_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, bool ___0_value, const RuntimeMethod* method) ;
  1855. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
  1856. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionDelegate_Invoke_m2F62DF75255BA759101735960F4F8E35242E7730_inline (InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* __this, int32_t ___0_effectorType, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* ___1_interactionObject, const RuntimeMethod* method) ;
  1857. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* InteractionObject_GetTarget_mBA79DC202AB19F4B66FE095937B44628F12B1CAC (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_effectorType, String_t* ___1_tag, const RuntimeMethod* method) ;
  1858. inline InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* Component_GetComponent_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_mAE3E3F1DEB01D739D34ED2A0268879F0113C58BB (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
  1859. {
  1860. return (( InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
  1861. }
  1862. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionEffector_set_interactionObject_mDF7E92D00FA1651B49870389CF922A5D7A2D9AE0_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* ___0_value, const RuntimeMethod* method) ;
  1863. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_OnStartInteraction_m26BF6F1A1E89266341B3E977AFD32E647FEFA312 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* ___0_interactionSystem, const RuntimeMethod* method) ;
  1864. inline void List_1_Clear_mAD42099EBC7E640561281C5FEDF47997858D9073_inline (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, const RuntimeMethod* method)
  1865. {
  1866. (( void (*) (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A*, const RuntimeMethod*))List_1_Clear_mAD42099EBC7E640561281C5FEDF47997858D9073_gshared_inline)(__this, method);
  1867. }
  1868. inline void List_1_Add_m5AAB6DCB6C30EB5769B4E8DB8170E50319F0A9ED_inline (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, bool ___0_item, const RuntimeMethod* method)
  1869. {
  1870. (( void (*) (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A*, bool, const RuntimeMethod*))List_1_Add_m5AAB6DCB6C30EB5769B4E8DB8170E50319F0A9ED_gshared_inline)(__this, ___0_item, method);
  1871. }
  1872. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionObject_CurveUsed_mE262291B022A65AABA78AC9A753CC41607D74D5F (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_type, const RuntimeMethod* method) ;
  1873. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float InteractionObject_get_length_m8461CFF9DF97B5D525916F1E7F7B2BDC9A845D51_inline (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method) ;
  1874. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionTarget_RotateTo_m24C4A1F162DCAA9209BAE216D3A3857A4A1999F9 (InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_bone, const RuntimeMethod* method) ;
  1875. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
  1876. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_Apply_m8D3476EDBF872A901E4BFC34D8E58AF85484BC1D (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* ___0_solver, int32_t ___1_effector, InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* ___2_target, float ___3_timer, float ___4_weight, const RuntimeMethod* method) ;
  1877. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_TriggerUntriggeredEvents_m9FFC35E69A8B796236E87E5CF71798D66BE0E761 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, bool ___0_checkTime, bool* ___1_pickUp, bool* ___2_pause, const RuntimeMethod* method) ;
  1878. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_PickUp_m9152FC9BCC9ACD0F986049558F6DD2422C2EC818 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_root, const RuntimeMethod* method) ;
  1879. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_Pause_m216BC7BB6285ECD1B3852928FD69C1A429F9BA27 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method) ;
  1880. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float InteractionObject_GetValue_m5EE8837220B24BD167CD73D81A047DCC8FA320B5 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_weightCurveType, InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* ___1_target, float ___2_timer, const RuntimeMethod* method) ;
  1881. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, const RuntimeMethod* method) ;
  1882. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Enum_ToString_m946B0B83C4470457D0FF555D862022C72BB55741 (RuntimeObject* __this, const RuntimeMethod* method) ;
  1883. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___0_values, const RuntimeMethod* method) ;
  1884. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Warning_Log_m3B3DC501CEF603D988C5D1BEF3F753D4241876C1 (String_t* ___0_message, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_context, bool ___2_logInEditMode, const RuntimeMethod* method) ;
  1885. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_Stop_m8FFF0FB2E804B9BD41D855BB827B948858327E30 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method) ;
  1886. inline bool List_1_get_Item_m876910864A81E4E2ACB93266B50ADFBE8262C179 (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, int32_t ___0_index, const RuntimeMethod* method)
  1887. {
  1888. return (( bool (*) (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A*, int32_t, const RuntimeMethod*))List_1_get_Item_m876910864A81E4E2ACB93266B50ADFBE8262C179_gshared)(__this, ___0_index, method);
  1889. }
  1890. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEvent_Activate_m5F852E1E676B658361066414A80FE35601610821 (InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_t, const RuntimeMethod* method) ;
  1891. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionEventDelegate_Invoke_m7032F1CC92BBC3B7F3BF5F619624B225C2106C54_inline (InteractionEventDelegate_tC38EB2E99F478D06EBD5526282E9129A63A09885* __this, int32_t ___0_effectorType, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* ___1_interactionObject, InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* ___2_interactionEvent, const RuntimeMethod* method) ;
  1892. inline void List_1_set_Item_mFEA98FA49B98EC8B769FB82DED7622F672AD1ADB (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, int32_t ___0_index, bool ___1_value, const RuntimeMethod* method)
  1893. {
  1894. (( void (*) (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A*, int32_t, bool, const RuntimeMethod*))List_1_set_Item_mFEA98FA49B98EC8B769FB82DED7622F672AD1ADB_gshared)(__this, ___0_index, ___1_value, method);
  1895. }
  1896. inline int32_t List_1_get_Count_m4573A12BFDA535926500C04E88A94540C95C395D_inline (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, const RuntimeMethod* method)
  1897. {
  1898. return (( int32_t (*) (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A*, const RuntimeMethod*))List_1_get_Count_m4573A12BFDA535926500C04E88A94540C95C395D_gshared_inline)(__this, method);
  1899. }
  1900. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* InteractionObject_get_targetsRoot_m7BBD350937B15A22F3E261BA28F35D36907DD33B (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method) ;
  1901. inline Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
  1902. {
  1903. return (( Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
  1904. }
  1905. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Rigidbody_get_isKinematic_mC20906CA5A89983DE06EAC6E3AFC5BC012F90CA1 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, const RuntimeMethod* method) ;
  1906. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_set_isKinematic_m6C3FD3EA358DADA3B191F2449CF1C4F8B22695ED (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, bool ___0_value, const RuntimeMethod* method) ;
  1907. inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* Component_GetComponent_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m820398EDBF1D3766C3166A0C323A127662A29A14 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
  1908. {
  1909. return (( Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
  1910. }
  1911. inline ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
  1912. {
  1913. return (( ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponentsInChildren_TisRuntimeObject_m1F5B6FC0689B07D4FAAC0C605D9B2933A9B32543_gshared)(__this, method);
  1914. }
  1915. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Collider_get_isTrigger_mFF457F6AA71D173F9A11BAF00C35E5AE12952F87 (Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* __this, const RuntimeMethod* method) ;
  1916. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Collider_get_enabled_mDBFB488088ADB14C8016A83EF445653AC5A4A12B (Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* __this, const RuntimeMethod* method) ;
  1917. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Physics_IgnoreCollision_mFBAAD9B91D488802086C1A1C96447CE4C869211D (Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___0_collider1, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___1_collider2, const RuntimeMethod* method) ;
  1918. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionTarget_ResetRotation_m21C4832797F054F71F40D4CA3961E479EDCC944E (InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* __this, const RuntimeMethod* method) ;
  1919. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
  1920. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  1921. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_value, const RuntimeMethod* method) ;
  1922. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* IKSolver_GetRoot_m7D24B02364E0D9A349363A7217C24205B3E84927_inline (IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* __this, const RuntimeMethod* method) ;
  1923. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
  1924. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Behaviour_get_enabled_mAAC9F15E9EBF552217A5AE2681589CC0BFA300C1 (Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA* __this, const RuntimeMethod* method) ;
  1925. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A (Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA* __this, bool ___0_value, const RuntimeMethod* method) ;
  1926. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B (const RuntimeMethod* method) ;
  1927. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolver_Update_mC60A50FE56E84DC4A5911E8719BE6115CB055859 (IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* __this, const RuntimeMethod* method) ;
  1928. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Application_OpenURL_mE748FA4D503715DEE12BCA4BDD8A5305AE41DB89 (String_t* ___0_url, const RuntimeMethod* method) ;
  1929. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AnimationCurve_get_length_m259A67BB0870D3A153F6FEDBB06CB0D24089CD81 (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, const RuntimeMethod* method) ;
  1930. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* AnimationCurve_get_keys_m34452C69464AB459C04BFFEA4F541F06B419AC4E (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, const RuntimeMethod* method) ;
  1931. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Keyframe_get_time_mB8886F64CBB373936C0C25C4C68397C05779F661 (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* __this, const RuntimeMethod* method) ;
  1932. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionObject_set_length_m9A11285A8915A06BD9EA7D789A7942FD948ED21C_inline (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, float ___0_value, const RuntimeMethod* method) ;
  1933. inline InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* Component_GetComponentsInChildren_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_m97622F38C34A0E72D7567EA01601A825100673E5 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
  1934. {
  1935. return (( InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponentsInChildren_TisRuntimeObject_m1F5B6FC0689B07D4FAAC0C605D9B2933A9B32543_gshared)(__this, method);
  1936. }
  1937. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Component_CompareTag_mE6F8897E84F12DF12D302FFC4D58204D51096FC5 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, String_t* ___0_tag, const RuntimeMethod* method) ;
  1938. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Component_get_tag_m7561A81116CAB82B8A459E934662BFC2039FB7EF (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
  1939. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1 (String_t* ___0_a, String_t* ___1_b, const RuntimeMethod* method) ;
  1940. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* InteractionObject_GetTarget_mE8EAB8A134D1042741FC2C0661EF41A4356B7A0A (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_effectorType, const RuntimeMethod* method) ;
  1941. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionObject_set_lastUsedInteractionSystem_m97E1A1386A44C5628D23020A0D4DC537CE1C0230_inline (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* ___0_value, const RuntimeMethod* method) ;
  1942. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float InteractionTarget_GetValue_m0A86C7674E21AFC11AEF51704FD40E5C2D0296DE (InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* __this, int32_t ___0_curveType, const RuntimeMethod* method) ;
  1943. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WeightCurve_GetValue_mD71B853C6E86EA3DFE5CC7F23F45229640019904 (WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* __this, float ___0_timer, const RuntimeMethod* method) ;
  1944. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_Apply_mDCA75484A3D539675171876FF26B9EF047573C1D (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* ___0_solver, int32_t ___1_effector, int32_t ___2_type, float ___3_value, float ___4_weight, const RuntimeMethod* method) ;
  1945. 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) ;
  1946. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t InteractionObject_GetWeightCurveIndex_m6487F462476AB38D3787270C8F378269FC431AB9 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_weightCurveType, const RuntimeMethod* method) ;
  1947. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Multiplier_GetValue_mB8EF3C9FDC4950E687ACE7F8C666841C484EFA37 (Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* __this, WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* ___0_weightCurve, float ___1_timer, const RuntimeMethod* method) ;
  1948. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_Initiate_m7267C95292B713404EC0C90528A340114812E1D0 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method) ;
  1949. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorEvent_Activate_m98483B97A02B419455FABB936AC2126A2E845DE4 (AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* __this, bool ___0_pickUp, const RuntimeMethod* method) ;
  1950. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Message_Send_m045D1EF6E2002CF88C091833B421067760241A50 (Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_t, const RuntimeMethod* method) ;
  1951. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject_SendMessage_m452B3418BE240EC79550C15E1F2EAE61488F06DF (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, String_t* ___0_methodName, RuntimeObject* ___1_value, int32_t ___2_options, const RuntimeMethod* method) ;
  1952. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_set_applyRootMotion_mA0953B6AEE43D4AF0837365E7BFF60FCC74B0F98 (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, bool ___0_value, const RuntimeMethod* method) ;
  1953. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorEvent_Activate_m95899D31B859C0C36D3AC5F6DF4E6A0F3BEAE604 (AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* __this, Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___0_animator, const RuntimeMethod* method) ;
  1954. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorEvent_Activate_m1E9D4B51C4AD9BE3575E6E8A2D5920D4A75462CF (AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* __this, Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* ___0_animation, const RuntimeMethod* method) ;
  1955. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_CrossFade_m2D91D6C458B15B186365EED0C13A178342789084 (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, String_t* ___0_stateName, float ___1_normalizedTransitionDuration, int32_t ___2_layer, float ___3_normalizedTimeOffset, const RuntimeMethod* method) ;
  1956. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_CrossFade_m2710B834A3D8C5C222B2CC6BF6D307B7A138055C (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, String_t* ___0_stateName, float ___1_normalizedTransitionDuration, int32_t ___2_layer, const RuntimeMethod* method) ;
  1957. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AnimationState_tC704F25A20169025B6CFDC2F00DC84152B5B73CE* Animation_get_Item_m60997A8CDE7F415FC55FBB0D6D3F28339C4B32E8 (Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* __this, String_t* ___0_name, const RuntimeMethod* method) ;
  1958. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationState_set_normalizedTime_m80C40785819379D8B3DD64D22E88338921ED5085 (AnimationState_tC704F25A20169025B6CFDC2F00DC84152B5B73CE* __this, float ___0_value, const RuntimeMethod* method) ;
  1959. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationState_set_layer_mBB3CD27A27F255CE979B30FDF56E5FD0DCF9262C (AnimationState_tC704F25A20169025B6CFDC2F00DC84152B5B73CE* __this, int32_t ___0_value, const RuntimeMethod* method) ;
  1960. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animation_CrossFade_m0DFC263F0CA45915C28C648B652A4903AE5DB9BA (Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* __this, String_t* ___0_animation, float ___1_fadeLength, const RuntimeMethod* method) ;
  1961. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
  1962. 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) ;
  1963. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Repeat_m6F1560A163481BB311D685294E1B463C3E4EB3BA_inline (float ___0_t, float ___1_length, const RuntimeMethod* method) ;
  1964. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method) ;
  1965. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method) ;
  1966. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Dot_mF9D3BE33940A47979DADA7E81650AEB356D5D12B_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method) ;
  1967. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Quaternion_IsEqualUsingDot_m9C672201C918C2D1E739F559DBE4406F95997CBD_inline (float ___0_dot, const RuntimeMethod* method) ;
  1968. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_SlerpUnclamped_mAE7F4DF2F239831CCAA1DFB52F313E5AED52D32D (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, float ___2_t, const RuntimeMethod* method) ;
  1969. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Mathf_SmoothDamp_mBE7ABB6B59D198BE8ABE42942452CC7B813A5248 (float ___0_current, float ___1_target, float* ___2_currentVelocity, float ___3_smoothTime, float ___4_maxSpeed, float ___5_deltaTime, const RuntimeMethod* method) ;
  1970. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline (float ___0_f, const RuntimeMethod* method) ;
  1971. inline void List_1_AddWithResize_mD783561518F916982595A58C9A148BA3AA8F9B10 (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, bool ___0_item, const RuntimeMethod* method)
  1972. {
  1973. (( void (*) (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A*, bool, const RuntimeMethod*))List_1_AddWithResize_mD783561518F916982595A58C9A148BA3AA8F9B10_gshared)(__this, ___0_item, method);
  1974. }
  1975. #ifdef __clang__
  1976. #pragma clang diagnostic push
  1977. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1978. #pragma clang diagnostic ignored "-Wunused-variable"
  1979. #endif
  1980. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  1981. {
  1982. {
  1983. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CpositionU3Ek__BackingField;
  1984. return L_0;
  1985. }
  1986. }
  1987. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_set_position_m15E6952964F5E6F8C503D00C18022E442C7E712D (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  1988. {
  1989. {
  1990. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  1991. __this->___U3CpositionU3Ek__BackingField = L_0;
  1992. return;
  1993. }
  1994. }
  1995. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Arm_get_rotation_m6A40C3166D9AA240930D675FCA778F08FE8A9E02 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  1996. {
  1997. {
  1998. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___U3CrotationU3Ek__BackingField;
  1999. return L_0;
  2000. }
  2001. }
  2002. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_set_rotation_m560FED3E2B58E216CEB6B0BA4059754EC2D5FB8D (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method)
  2003. {
  2004. {
  2005. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_value;
  2006. __this->___U3CrotationU3Ek__BackingField = L_0;
  2007. return;
  2008. }
  2009. }
  2010. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  2011. {
  2012. {
  2013. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2014. NullCheck(L_0);
  2015. int32_t L_1 = 0;
  2016. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  2017. return L_2;
  2018. }
  2019. }
  2020. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  2021. {
  2022. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* G_B2_0 = NULL;
  2023. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* G_B1_0 = NULL;
  2024. int32_t G_B3_0 = 0;
  2025. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* G_B3_1 = NULL;
  2026. {
  2027. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2028. bool L_1 = __this->___hasShoulder;
  2029. if (L_1)
  2030. {
  2031. G_B2_0 = L_0;
  2032. goto IL_0011;
  2033. }
  2034. G_B1_0 = L_0;
  2035. }
  2036. {
  2037. G_B3_0 = 0;
  2038. G_B3_1 = G_B1_0;
  2039. goto IL_0012;
  2040. }
  2041. IL_0011:
  2042. {
  2043. G_B3_0 = 1;
  2044. G_B3_1 = G_B2_0;
  2045. }
  2046. IL_0012:
  2047. {
  2048. NullCheck(G_B3_1);
  2049. int32_t L_2 = G_B3_0;
  2050. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (G_B3_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  2051. return L_3;
  2052. }
  2053. }
  2054. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  2055. {
  2056. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* G_B2_0 = NULL;
  2057. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* G_B1_0 = NULL;
  2058. int32_t G_B3_0 = 0;
  2059. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* G_B3_1 = NULL;
  2060. {
  2061. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2062. bool L_1 = __this->___hasShoulder;
  2063. if (L_1)
  2064. {
  2065. G_B2_0 = L_0;
  2066. goto IL_0011;
  2067. }
  2068. G_B1_0 = L_0;
  2069. }
  2070. {
  2071. G_B3_0 = 1;
  2072. G_B3_1 = G_B1_0;
  2073. goto IL_0012;
  2074. }
  2075. IL_0011:
  2076. {
  2077. G_B3_0 = 2;
  2078. G_B3_1 = G_B2_0;
  2079. }
  2080. IL_0012:
  2081. {
  2082. NullCheck(G_B3_1);
  2083. int32_t L_2 = G_B3_0;
  2084. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (G_B3_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  2085. return L_3;
  2086. }
  2087. }
  2088. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  2089. {
  2090. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* G_B2_0 = NULL;
  2091. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* G_B1_0 = NULL;
  2092. int32_t G_B3_0 = 0;
  2093. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* G_B3_1 = NULL;
  2094. {
  2095. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2096. bool L_1 = __this->___hasShoulder;
  2097. if (L_1)
  2098. {
  2099. G_B2_0 = L_0;
  2100. goto IL_0011;
  2101. }
  2102. G_B1_0 = L_0;
  2103. }
  2104. {
  2105. G_B3_0 = 2;
  2106. G_B3_1 = G_B1_0;
  2107. goto IL_0012;
  2108. }
  2109. IL_0011:
  2110. {
  2111. G_B3_0 = 3;
  2112. G_B3_1 = G_B2_0;
  2113. }
  2114. IL_0012:
  2115. {
  2116. NullCheck(G_B3_1);
  2117. int32_t L_2 = G_B3_0;
  2118. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (G_B3_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  2119. return L_3;
  2120. }
  2121. }
  2122. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_OnRead_mA75D50CB94EE1CD996196602FB2CF84FC3698FB0 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __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)
  2123. {
  2124. static bool s_Il2CppMethodInitialized;
  2125. if (!s_Il2CppMethodInitialized)
  2126. {
  2127. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  2128. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C_il2cpp_TypeInfo_var);
  2129. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  2130. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0D2841642048EFFB6C52D60922CB8628B4A264A1);
  2131. s_Il2CppMethodInitialized = true;
  2132. }
  2133. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  2134. memset((&V_0), 0, sizeof(V_0));
  2135. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  2136. memset((&V_1), 0, sizeof(V_1));
  2137. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  2138. memset((&V_2), 0, sizeof(V_2));
  2139. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
  2140. memset((&V_3), 0, sizeof(V_3));
  2141. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  2142. memset((&V_4), 0, sizeof(V_4));
  2143. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_5;
  2144. memset((&V_5), 0, sizeof(V_5));
  2145. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  2146. memset((&V_6), 0, sizeof(V_6));
  2147. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_7;
  2148. memset((&V_7), 0, sizeof(V_7));
  2149. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
  2150. memset((&V_8), 0, sizeof(V_8));
  2151. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
  2152. memset((&V_9), 0, sizeof(V_9));
  2153. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* G_B3_0 = NULL;
  2154. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* G_B2_0 = NULL;
  2155. int32_t G_B4_0 = 0;
  2156. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* G_B4_1 = NULL;
  2157. {
  2158. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = ___0_positions;
  2159. int32_t L_1 = ___8_index;
  2160. NullCheck(L_0);
  2161. int32_t L_2 = L_1;
  2162. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  2163. V_0 = L_3;
  2164. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_4 = ___1_rotations;
  2165. int32_t L_5 = ___8_index;
  2166. NullCheck(L_4);
  2167. int32_t L_6 = L_5;
  2168. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  2169. V_1 = L_7;
  2170. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_8 = ___0_positions;
  2171. int32_t L_9 = ___8_index;
  2172. NullCheck(L_8);
  2173. int32_t L_10 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  2174. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  2175. V_2 = L_11;
  2176. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_12 = ___1_rotations;
  2177. int32_t L_13 = ___8_index;
  2178. NullCheck(L_12);
  2179. int32_t L_14 = ((int32_t)il2cpp_codegen_add(L_13, 1));
  2180. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  2181. V_3 = L_15;
  2182. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_16 = ___0_positions;
  2183. int32_t L_17 = ___8_index;
  2184. NullCheck(L_16);
  2185. int32_t L_18 = ((int32_t)il2cpp_codegen_add(L_17, 2));
  2186. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  2187. V_4 = L_19;
  2188. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_20 = ___1_rotations;
  2189. int32_t L_21 = ___8_index;
  2190. NullCheck(L_20);
  2191. int32_t L_22 = ((int32_t)il2cpp_codegen_add(L_21, 2));
  2192. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  2193. V_5 = L_23;
  2194. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_24 = ___0_positions;
  2195. int32_t L_25 = ___8_index;
  2196. NullCheck(L_24);
  2197. int32_t L_26 = ((int32_t)il2cpp_codegen_add(L_25, 3));
  2198. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  2199. V_6 = L_27;
  2200. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_28 = ___1_rotations;
  2201. int32_t L_29 = ___8_index;
  2202. NullCheck(L_28);
  2203. int32_t L_30 = ((int32_t)il2cpp_codegen_add(L_29, 3));
  2204. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  2205. V_7 = L_31;
  2206. bool L_32 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___initiated;
  2207. if (L_32)
  2208. {
  2209. goto IL_01d0;
  2210. }
  2211. }
  2212. {
  2213. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_6;
  2214. __this->___IKPosition = L_33;
  2215. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34 = V_7;
  2216. __this->___IKRotation = L_34;
  2217. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35 = __this->___IKRotation;
  2218. Arm_set_rotation_m560FED3E2B58E216CEB6B0BA4059754EC2D5FB8D_inline(__this, L_35, NULL);
  2219. bool L_36 = ___4_hasShoulders;
  2220. __this->___hasShoulder = L_36;
  2221. bool L_37 = __this->___hasShoulder;
  2222. if (L_37)
  2223. {
  2224. G_B3_0 = __this;
  2225. goto IL_0093;
  2226. }
  2227. G_B2_0 = __this;
  2228. }
  2229. {
  2230. G_B4_0 = 3;
  2231. G_B4_1 = G_B2_0;
  2232. goto IL_0094;
  2233. }
  2234. IL_0093:
  2235. {
  2236. G_B4_0 = 4;
  2237. G_B4_1 = G_B3_0;
  2238. }
  2239. IL_0094:
  2240. {
  2241. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_38 = (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C*)(VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C*)SZArrayNew(VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C_il2cpp_TypeInfo_var, (uint32_t)G_B4_0);
  2242. NullCheck(G_B4_1);
  2243. ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)G_B4_1)->___bones = L_38;
  2244. Il2CppCodeGenWriteBarrier((void**)(&((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)G_B4_1)->___bones), (void*)L_38);
  2245. bool L_39 = __this->___hasShoulder;
  2246. if (!L_39)
  2247. {
  2248. goto IL_00e8;
  2249. }
  2250. }
  2251. {
  2252. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_40 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2253. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = V_0;
  2254. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42 = V_1;
  2255. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_43 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  2256. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_43, L_41, L_42, NULL);
  2257. NullCheck(L_40);
  2258. ArrayElementTypeCheck (L_40, L_43);
  2259. (L_40)->SetAt(static_cast<il2cpp_array_size_t>(0), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_43);
  2260. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_44 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2261. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_2;
  2262. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_46 = V_3;
  2263. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_47 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  2264. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_47, L_45, L_46, NULL);
  2265. NullCheck(L_44);
  2266. ArrayElementTypeCheck (L_44, L_47);
  2267. (L_44)->SetAt(static_cast<il2cpp_array_size_t>(1), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_47);
  2268. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_48 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2269. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_4;
  2270. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50 = V_5;
  2271. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_51 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  2272. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_51, L_49, L_50, NULL);
  2273. NullCheck(L_48);
  2274. ArrayElementTypeCheck (L_48, L_51);
  2275. (L_48)->SetAt(static_cast<il2cpp_array_size_t>(2), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_51);
  2276. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_52 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2277. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = V_6;
  2278. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54 = V_7;
  2279. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_55 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  2280. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_55, L_53, L_54, NULL);
  2281. NullCheck(L_52);
  2282. ArrayElementTypeCheck (L_52, L_55);
  2283. (L_52)->SetAt(static_cast<il2cpp_array_size_t>(3), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_55);
  2284. goto IL_0119;
  2285. }
  2286. IL_00e8:
  2287. {
  2288. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_56 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2289. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = V_2;
  2290. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58 = V_3;
  2291. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_59 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  2292. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_59, L_57, L_58, NULL);
  2293. NullCheck(L_56);
  2294. ArrayElementTypeCheck (L_56, L_59);
  2295. (L_56)->SetAt(static_cast<il2cpp_array_size_t>(0), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_59);
  2296. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_60 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2297. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = V_4;
  2298. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62 = V_5;
  2299. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_63 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  2300. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_63, L_61, L_62, NULL);
  2301. NullCheck(L_60);
  2302. ArrayElementTypeCheck (L_60, L_63);
  2303. (L_60)->SetAt(static_cast<il2cpp_array_size_t>(1), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_63);
  2304. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_64 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2305. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65 = V_6;
  2306. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66 = V_7;
  2307. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_67 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  2308. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_67, L_65, L_66, NULL);
  2309. NullCheck(L_64);
  2310. ArrayElementTypeCheck (L_64, L_67);
  2311. (L_64)->SetAt(static_cast<il2cpp_array_size_t>(2), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_67);
  2312. }
  2313. IL_0119:
  2314. {
  2315. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_68 = ___1_rotations;
  2316. NullCheck(L_68);
  2317. int32_t L_69 = 0;
  2318. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_70 = (L_68)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
  2319. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
  2320. L_71 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  2321. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
  2322. L_72 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_70, L_71, NULL);
  2323. V_8 = L_72;
  2324. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_73 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  2325. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_74;
  2326. L_74 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_73, NULL);
  2327. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75 = V_8;
  2328. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
  2329. L_76 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_74, L_75, NULL);
  2330. __this->___chestForwardAxis = L_76;
  2331. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_77 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  2332. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_78;
  2333. L_78 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_77, NULL);
  2334. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_79 = ___1_rotations;
  2335. NullCheck(L_79);
  2336. int32_t L_80 = 0;
  2337. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_81 = (L_79)->GetAt(static_cast<il2cpp_array_size_t>(L_80));
  2338. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
  2339. L_82 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  2340. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
  2341. L_83 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_81, L_82, NULL);
  2342. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
  2343. L_84 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_78, L_83, NULL);
  2344. __this->___chestUpAxis = L_84;
  2345. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_85 = V_3;
  2346. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86 = V_8;
  2347. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
  2348. L_87 = AxisTools_GetAxisVectorToDirection_mD5A0798E70BCBB64054691503E89DAF78BEC8D4A(L_85, L_86, NULL);
  2349. V_9 = L_87;
  2350. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_88 = V_3;
  2351. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89 = V_9;
  2352. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
  2353. L_90 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_88, L_89, NULL);
  2354. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = V_8;
  2355. float L_92;
  2356. L_92 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_90, L_91, NULL);
  2357. if ((!(((float)L_92) < ((float)(0.0f)))))
  2358. {
  2359. goto IL_0194;
  2360. }
  2361. }
  2362. {
  2363. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93 = V_9;
  2364. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
  2365. L_94 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_93, NULL);
  2366. V_9 = L_94;
  2367. }
  2368. IL_0194:
  2369. {
  2370. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_95 = V_3;
  2371. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_96;
  2372. L_96 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_95, NULL);
  2373. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97 = V_4;
  2374. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98 = V_2;
  2375. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99;
  2376. L_99 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_97, L_98, NULL);
  2377. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100;
  2378. L_100 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_96, L_99, NULL);
  2379. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101 = V_9;
  2380. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102;
  2381. L_102 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_100, L_101, NULL);
  2382. __this->___upperArmBendAxis = L_102;
  2383. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103 = __this->___upperArmBendAxis;
  2384. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104;
  2385. L_104 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  2386. bool L_105;
  2387. L_105 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_103, L_104, NULL);
  2388. if (!L_105)
  2389. {
  2390. goto IL_01d0;
  2391. }
  2392. }
  2393. {
  2394. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  2395. Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteral0D2841642048EFFB6C52D60922CB8628B4A264A1, NULL);
  2396. }
  2397. IL_01d0:
  2398. {
  2399. bool L_106 = __this->___hasShoulder;
  2400. if (!L_106)
  2401. {
  2402. goto IL_0219;
  2403. }
  2404. }
  2405. {
  2406. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_107 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2407. NullCheck(L_107);
  2408. int32_t L_108 = 0;
  2409. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_109 = (L_107)->GetAt(static_cast<il2cpp_array_size_t>(L_108));
  2410. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110 = V_0;
  2411. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_111 = V_1;
  2412. NullCheck(L_109);
  2413. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_109, L_110, L_111, NULL);
  2414. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_112 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2415. NullCheck(L_112);
  2416. int32_t L_113 = 1;
  2417. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_114 = (L_112)->GetAt(static_cast<il2cpp_array_size_t>(L_113));
  2418. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115 = V_2;
  2419. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_116 = V_3;
  2420. NullCheck(L_114);
  2421. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_114, L_115, L_116, NULL);
  2422. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_117 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2423. NullCheck(L_117);
  2424. int32_t L_118 = 2;
  2425. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_119 = (L_117)->GetAt(static_cast<il2cpp_array_size_t>(L_118));
  2426. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_120 = V_4;
  2427. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_121 = V_5;
  2428. NullCheck(L_119);
  2429. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_119, L_120, L_121, NULL);
  2430. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_122 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2431. NullCheck(L_122);
  2432. int32_t L_123 = 3;
  2433. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_124 = (L_122)->GetAt(static_cast<il2cpp_array_size_t>(L_123));
  2434. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125 = V_6;
  2435. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_126 = V_7;
  2436. NullCheck(L_124);
  2437. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_124, L_125, L_126, NULL);
  2438. return;
  2439. }
  2440. IL_0219:
  2441. {
  2442. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_127 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2443. NullCheck(L_127);
  2444. int32_t L_128 = 0;
  2445. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_129 = (L_127)->GetAt(static_cast<il2cpp_array_size_t>(L_128));
  2446. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_130 = V_2;
  2447. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_131 = V_3;
  2448. NullCheck(L_129);
  2449. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_129, L_130, L_131, NULL);
  2450. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_132 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2451. NullCheck(L_132);
  2452. int32_t L_133 = 1;
  2453. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_134 = (L_132)->GetAt(static_cast<il2cpp_array_size_t>(L_133));
  2454. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_135 = V_4;
  2455. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_136 = V_5;
  2456. NullCheck(L_134);
  2457. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_134, L_135, L_136, NULL);
  2458. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_137 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  2459. NullCheck(L_137);
  2460. int32_t L_138 = 2;
  2461. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_139 = (L_137)->GetAt(static_cast<il2cpp_array_size_t>(L_138));
  2462. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_140 = V_6;
  2463. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_141 = V_7;
  2464. NullCheck(L_139);
  2465. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_139, L_140, L_141, NULL);
  2466. return;
  2467. }
  2468. }
  2469. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_PreSolve_mC81DE57B7C64256FEA3E4ADBA13A634BC9AE498D (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  2470. {
  2471. static bool s_Il2CppMethodInitialized;
  2472. if (!s_Il2CppMethodInitialized)
  2473. {
  2474. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2475. s_Il2CppMethodInitialized = true;
  2476. }
  2477. {
  2478. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___target;
  2479. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2480. bool L_1;
  2481. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  2482. if (!L_1)
  2483. {
  2484. goto IL_0030;
  2485. }
  2486. }
  2487. {
  2488. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___target;
  2489. NullCheck(L_2);
  2490. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  2491. L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
  2492. __this->___IKPosition = L_3;
  2493. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___target;
  2494. NullCheck(L_4);
  2495. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  2496. L_5 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_4, NULL);
  2497. __this->___IKRotation = L_5;
  2498. }
  2499. IL_0030:
  2500. {
  2501. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_6;
  2502. L_6 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  2503. NullCheck(L_6);
  2504. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = L_6->___solverPosition;
  2505. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = __this->___IKPosition;
  2506. float L_9 = __this->___positionWeight;
  2507. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  2508. L_10 = V3Tools_Lerp_mD7F7DC69008BC285AA91CB1B09570FE5FA3325B4(L_7, L_8, L_9, NULL);
  2509. Arm_set_position_m15E6952964F5E6F8C503D00C18022E442C7E712D_inline(__this, L_10, NULL);
  2510. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_11;
  2511. L_11 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  2512. NullCheck(L_11);
  2513. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = L_11->___solverRotation;
  2514. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13 = __this->___IKRotation;
  2515. float L_14 = __this->___rotationWeight;
  2516. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
  2517. L_15 = QuaTools_Lerp_mA4973D1315D60B0E95A01B5581EF5119592351EE(L_12, L_13, L_14, NULL);
  2518. Arm_set_rotation_m560FED3E2B58E216CEB6B0BA4059754EC2D5FB8D_inline(__this, L_15, NULL);
  2519. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_16;
  2520. L_16 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  2521. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_17;
  2522. L_17 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  2523. NullCheck(L_17);
  2524. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_18 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&L_17->___axis);
  2525. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  2526. L_19 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline(L_18, NULL);
  2527. NullCheck(L_16);
  2528. L_16->___axis = L_19;
  2529. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_20;
  2530. L_20 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  2531. NullCheck(L_20);
  2532. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21 = L_20->___solverRotation;
  2533. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
  2534. L_22 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_21, NULL);
  2535. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_23;
  2536. L_23 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  2537. NullCheck(L_23);
  2538. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = L_23->___solverRotation;
  2539. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25;
  2540. L_25 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_22, L_24, NULL);
  2541. __this->___forearmRelToUpperArm = L_25;
  2542. return;
  2543. }
  2544. }
  2545. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_ApplyOffsets_mC253EAD950E6609EC5733DF45BD2D2C29D68D4D1 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, float ___0_scale, const RuntimeMethod* method)
  2546. {
  2547. {
  2548. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  2549. L_0 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  2550. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = __this->___handPositionOffset;
  2551. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  2552. L_2 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_0, L_1, NULL);
  2553. Arm_set_position_m15E6952964F5E6F8C503D00C18022E442C7E712D_inline(__this, L_2, NULL);
  2554. return;
  2555. }
  2556. }
  2557. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_Stretching_m407FE2CDEBF317712BC2F5C5C2DF237E968BF504 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  2558. {
  2559. float V_0 = 0.0f;
  2560. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  2561. memset((&V_1), 0, sizeof(V_1));
  2562. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  2563. memset((&V_2), 0, sizeof(V_2));
  2564. float V_3 = 0.0f;
  2565. float V_4 = 0.0f;
  2566. {
  2567. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0;
  2568. L_0 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  2569. NullCheck(L_0);
  2570. float L_1 = L_0->___length;
  2571. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_2;
  2572. L_2 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  2573. NullCheck(L_2);
  2574. float L_3 = L_2->___length;
  2575. V_0 = ((float)il2cpp_codegen_add(L_1, L_3));
  2576. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  2577. L_4 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  2578. V_1 = L_4;
  2579. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  2580. L_5 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  2581. V_2 = L_5;
  2582. float L_6 = __this->___armLengthMlp;
  2583. if ((((float)L_6) == ((float)(1.0f))))
  2584. {
  2585. goto IL_00cb;
  2586. }
  2587. }
  2588. {
  2589. float L_7 = V_0;
  2590. float L_8 = __this->___armLengthMlp;
  2591. V_0 = ((float)il2cpp_codegen_multiply(L_7, L_8));
  2592. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_9;
  2593. L_9 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  2594. NullCheck(L_9);
  2595. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___solverPosition;
  2596. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_11;
  2597. L_11 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  2598. NullCheck(L_11);
  2599. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = L_11->___solverPosition;
  2600. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  2601. L_13 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_10, L_12, NULL);
  2602. float L_14 = __this->___armLengthMlp;
  2603. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  2604. L_15 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_13, ((float)il2cpp_codegen_subtract(L_14, (1.0f))), NULL);
  2605. V_1 = L_15;
  2606. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_16;
  2607. L_16 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  2608. NullCheck(L_16);
  2609. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = L_16->___solverPosition;
  2610. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_18;
  2611. L_18 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  2612. NullCheck(L_18);
  2613. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___solverPosition;
  2614. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  2615. L_20 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_17, L_19, NULL);
  2616. float L_21 = __this->___armLengthMlp;
  2617. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  2618. L_22 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_20, ((float)il2cpp_codegen_subtract(L_21, (1.0f))), NULL);
  2619. V_2 = L_22;
  2620. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_23;
  2621. L_23 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  2622. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_24 = L_23;
  2623. NullCheck(L_24);
  2624. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = L_24->___solverPosition;
  2625. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_1;
  2626. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  2627. L_27 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_25, L_26, NULL);
  2628. NullCheck(L_24);
  2629. L_24->___solverPosition = L_27;
  2630. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_28;
  2631. L_28 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  2632. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_29 = L_28;
  2633. NullCheck(L_29);
  2634. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = L_29->___solverPosition;
  2635. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_1;
  2636. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = V_2;
  2637. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
  2638. L_33 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_31, L_32, NULL);
  2639. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  2640. L_34 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_30, L_33, NULL);
  2641. NullCheck(L_29);
  2642. L_29->___solverPosition = L_34;
  2643. }
  2644. IL_00cb:
  2645. {
  2646. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_35;
  2647. L_35 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  2648. NullCheck(L_35);
  2649. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = L_35->___solverPosition;
  2650. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  2651. L_37 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  2652. float L_38;
  2653. L_38 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_36, L_37, NULL);
  2654. float L_39 = V_0;
  2655. V_3 = ((float)(L_38/L_39));
  2656. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_40 = __this->___stretchCurve;
  2657. float L_41 = V_3;
  2658. NullCheck(L_40);
  2659. float L_42;
  2660. L_42 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_40, L_41, NULL);
  2661. V_4 = L_42;
  2662. float L_43 = V_4;
  2663. float L_44 = __this->___positionWeight;
  2664. V_4 = ((float)il2cpp_codegen_multiply(L_43, L_44));
  2665. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_45;
  2666. L_45 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  2667. NullCheck(L_45);
  2668. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = L_45->___solverPosition;
  2669. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_47;
  2670. L_47 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  2671. NullCheck(L_47);
  2672. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = L_47->___solverPosition;
  2673. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
  2674. L_49 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_46, L_48, NULL);
  2675. float L_50 = V_4;
  2676. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
  2677. L_51 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_49, L_50, NULL);
  2678. V_1 = L_51;
  2679. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_52;
  2680. L_52 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  2681. NullCheck(L_52);
  2682. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = L_52->___solverPosition;
  2683. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_54;
  2684. L_54 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  2685. NullCheck(L_54);
  2686. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = L_54->___solverPosition;
  2687. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
  2688. L_56 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_53, L_55, NULL);
  2689. float L_57 = V_4;
  2690. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
  2691. L_58 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_56, L_57, NULL);
  2692. V_2 = L_58;
  2693. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_59;
  2694. L_59 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  2695. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_60 = L_59;
  2696. NullCheck(L_60);
  2697. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = L_60->___solverPosition;
  2698. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = V_1;
  2699. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
  2700. L_63 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_61, L_62, NULL);
  2701. NullCheck(L_60);
  2702. L_60->___solverPosition = L_63;
  2703. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_64;
  2704. L_64 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  2705. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_65 = L_64;
  2706. NullCheck(L_65);
  2707. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = L_65->___solverPosition;
  2708. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_1;
  2709. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68 = V_2;
  2710. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69;
  2711. L_69 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_67, L_68, NULL);
  2712. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70;
  2713. L_70 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_66, L_69, NULL);
  2714. NullCheck(L_65);
  2715. L_65->___solverPosition = L_70;
  2716. return;
  2717. }
  2718. }
  2719. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_Solve_m9844BB2C63CB043D62378B325AD2A429E5B66400 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, bool ___0_isLeft, const RuntimeMethod* method)
  2720. {
  2721. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  2722. memset((&V_0), 0, sizeof(V_0));
  2723. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  2724. memset((&V_1), 0, sizeof(V_1));
  2725. float V_2 = 0.0f;
  2726. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
  2727. memset((&V_3), 0, sizeof(V_3));
  2728. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  2729. memset((&V_4), 0, sizeof(V_4));
  2730. float V_5 = 0.0f;
  2731. float V_6 = 0.0f;
  2732. float V_7 = 0.0f;
  2733. float V_8 = 0.0f;
  2734. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
  2735. memset((&V_9), 0, sizeof(V_9));
  2736. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_10;
  2737. memset((&V_10), 0, sizeof(V_10));
  2738. float V_11 = 0.0f;
  2739. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_12;
  2740. memset((&V_12), 0, sizeof(V_12));
  2741. float V_13 = 0.0f;
  2742. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_14;
  2743. memset((&V_14), 0, sizeof(V_14));
  2744. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_15;
  2745. memset((&V_15), 0, sizeof(V_15));
  2746. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_16;
  2747. memset((&V_16), 0, sizeof(V_16));
  2748. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_17;
  2749. memset((&V_17), 0, sizeof(V_17));
  2750. float V_18 = 0.0f;
  2751. float V_19 = 0.0f;
  2752. int32_t V_20 = 0;
  2753. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_21;
  2754. memset((&V_21), 0, sizeof(V_21));
  2755. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_22;
  2756. memset((&V_22), 0, sizeof(V_22));
  2757. float V_23 = 0.0f;
  2758. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_24;
  2759. memset((&V_24), 0, sizeof(V_24));
  2760. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_25;
  2761. memset((&V_25), 0, sizeof(V_25));
  2762. float G_B9_0 = 0.0f;
  2763. float G_B12_0 = 0.0f;
  2764. float G_B15_0 = 0.0f;
  2765. float G_B18_0 = 0.0f;
  2766. float G_B21_0 = 0.0f;
  2767. float G_B24_0 = 0.0f;
  2768. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B26_0;
  2769. memset((&G_B26_0), 0, sizeof(G_B26_0));
  2770. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B26_1;
  2771. memset((&G_B26_1), 0, sizeof(G_B26_1));
  2772. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B26_2;
  2773. memset((&G_B26_2), 0, sizeof(G_B26_2));
  2774. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B25_0;
  2775. memset((&G_B25_0), 0, sizeof(G_B25_0));
  2776. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B25_1;
  2777. memset((&G_B25_1), 0, sizeof(G_B25_1));
  2778. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B25_2;
  2779. memset((&G_B25_2), 0, sizeof(G_B25_2));
  2780. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B27_0;
  2781. memset((&G_B27_0), 0, sizeof(G_B27_0));
  2782. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B27_1;
  2783. memset((&G_B27_1), 0, sizeof(G_B27_1));
  2784. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B27_2;
  2785. memset((&G_B27_2), 0, sizeof(G_B27_2));
  2786. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B27_3;
  2787. memset((&G_B27_3), 0, sizeof(G_B27_3));
  2788. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B31_0;
  2789. memset((&G_B31_0), 0, sizeof(G_B31_0));
  2790. float G_B31_1 = 0.0f;
  2791. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B31_2 = NULL;
  2792. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B30_0;
  2793. memset((&G_B30_0), 0, sizeof(G_B30_0));
  2794. float G_B30_1 = 0.0f;
  2795. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B30_2 = NULL;
  2796. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B32_0;
  2797. memset((&G_B32_0), 0, sizeof(G_B32_0));
  2798. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B32_1;
  2799. memset((&G_B32_1), 0, sizeof(G_B32_1));
  2800. float G_B32_2 = 0.0f;
  2801. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B32_3 = NULL;
  2802. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B34_0;
  2803. memset((&G_B34_0), 0, sizeof(G_B34_0));
  2804. float G_B34_1 = 0.0f;
  2805. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B34_2 = NULL;
  2806. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B33_0;
  2807. memset((&G_B33_0), 0, sizeof(G_B33_0));
  2808. float G_B33_1 = 0.0f;
  2809. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B33_2 = NULL;
  2810. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B35_0;
  2811. memset((&G_B35_0), 0, sizeof(G_B35_0));
  2812. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B35_1;
  2813. memset((&G_B35_1), 0, sizeof(G_B35_1));
  2814. float G_B35_2 = 0.0f;
  2815. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B35_3 = NULL;
  2816. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B40_0;
  2817. memset((&G_B40_0), 0, sizeof(G_B40_0));
  2818. float G_B40_1 = 0.0f;
  2819. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B40_2 = NULL;
  2820. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B39_0;
  2821. memset((&G_B39_0), 0, sizeof(G_B39_0));
  2822. float G_B39_1 = 0.0f;
  2823. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B39_2 = NULL;
  2824. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B41_0;
  2825. memset((&G_B41_0), 0, sizeof(G_B41_0));
  2826. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B41_1;
  2827. memset((&G_B41_1), 0, sizeof(G_B41_1));
  2828. float G_B41_2 = 0.0f;
  2829. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B41_3 = NULL;
  2830. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B43_0;
  2831. memset((&G_B43_0), 0, sizeof(G_B43_0));
  2832. float G_B43_1 = 0.0f;
  2833. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B43_2 = NULL;
  2834. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B42_0;
  2835. memset((&G_B42_0), 0, sizeof(G_B42_0));
  2836. float G_B42_1 = 0.0f;
  2837. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B42_2 = NULL;
  2838. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B44_0;
  2839. memset((&G_B44_0), 0, sizeof(G_B44_0));
  2840. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B44_1;
  2841. memset((&G_B44_1), 0, sizeof(G_B44_1));
  2842. float G_B44_2 = 0.0f;
  2843. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* G_B44_3 = NULL;
  2844. {
  2845. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  2846. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = __this->___chestForwardAxis;
  2847. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  2848. L_2 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_0, L_1, NULL);
  2849. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  2850. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___chestUpAxis;
  2851. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  2852. L_5 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_3, L_4, NULL);
  2853. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
  2854. L_6 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_2, L_5, NULL);
  2855. __this->___chestRotation = L_6;
  2856. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = __this->___chestRotation;
  2857. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  2858. L_8 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  2859. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  2860. L_9 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_7, L_8, NULL);
  2861. __this->___chestForward = L_9;
  2862. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = __this->___chestRotation;
  2863. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  2864. L_11 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  2865. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  2866. L_12 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_10, L_11, NULL);
  2867. __this->___chestUp = L_12;
  2868. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  2869. L_13 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  2870. V_0 = L_13;
  2871. bool L_14 = __this->___hasShoulder;
  2872. if (!L_14)
  2873. {
  2874. goto IL_0697;
  2875. }
  2876. }
  2877. {
  2878. float L_15 = __this->___shoulderRotationWeight;
  2879. if ((!(((float)L_15) > ((float)(0.0f)))))
  2880. {
  2881. goto IL_0697;
  2882. }
  2883. }
  2884. {
  2885. int32_t L_16 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___LOD;
  2886. if ((((int32_t)L_16) >= ((int32_t)1)))
  2887. {
  2888. goto IL_0697;
  2889. }
  2890. }
  2891. {
  2892. int32_t L_17 = __this->___shoulderRotationMode;
  2893. V_20 = L_17;
  2894. int32_t L_18 = V_20;
  2895. if (!L_18)
  2896. {
  2897. goto IL_009f;
  2898. }
  2899. }
  2900. {
  2901. int32_t L_19 = V_20;
  2902. if ((((int32_t)L_19) == ((int32_t)1)))
  2903. {
  2904. goto IL_0405;
  2905. }
  2906. }
  2907. {
  2908. goto IL_0703;
  2909. }
  2910. IL_009f:
  2911. {
  2912. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  2913. L_20 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  2914. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_21;
  2915. L_21 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  2916. NullCheck(L_21);
  2917. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = L_21->___solverPosition;
  2918. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  2919. L_23 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_20, L_22, NULL);
  2920. V_1 = L_23;
  2921. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  2922. L_24 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_1), NULL);
  2923. V_1 = L_24;
  2924. bool L_25 = ___0_isLeft;
  2925. if (L_25)
  2926. {
  2927. goto IL_00c8;
  2928. }
  2929. }
  2930. {
  2931. G_B9_0 = (-45.0f);
  2932. goto IL_00cd;
  2933. }
  2934. IL_00c8:
  2935. {
  2936. G_B9_0 = (45.0f);
  2937. }
  2938. IL_00cd:
  2939. {
  2940. V_2 = G_B9_0;
  2941. bool L_26 = ___0_isLeft;
  2942. if (L_26)
  2943. {
  2944. goto IL_00d8;
  2945. }
  2946. }
  2947. {
  2948. G_B12_0 = (90.0f);
  2949. goto IL_00dd;
  2950. }
  2951. IL_00d8:
  2952. {
  2953. G_B12_0 = (-90.0f);
  2954. }
  2955. IL_00dd:
  2956. {
  2957. float L_27 = V_2;
  2958. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = __this->___chestUp;
  2959. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29;
  2960. L_29 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(((float)il2cpp_codegen_add(G_B12_0, L_27)), L_28, NULL);
  2961. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30 = __this->___chestRotation;
  2962. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31;
  2963. L_31 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_29, L_30, NULL);
  2964. V_3 = L_31;
  2965. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = V_3;
  2966. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33;
  2967. L_33 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_32, NULL);
  2968. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = V_1;
  2969. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  2970. L_35 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_33, L_34, NULL);
  2971. V_4 = L_35;
  2972. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_4;
  2973. float L_37 = L_36.___x;
  2974. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_4;
  2975. float L_39 = L_38.___z;
  2976. float L_40;
  2977. L_40 = atan2f(L_37, L_39);
  2978. V_5 = ((float)il2cpp_codegen_multiply(L_40, (57.2957802f)));
  2979. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = V_4;
  2980. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
  2981. L_42 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  2982. float L_43;
  2983. L_43 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_41, L_42, NULL);
  2984. V_6 = L_43;
  2985. float L_44 = V_6;
  2986. float L_45;
  2987. L_45 = fabsf(L_44);
  2988. V_6 = ((float)il2cpp_codegen_subtract((1.0f), L_45));
  2989. float L_46 = V_5;
  2990. float L_47 = V_6;
  2991. V_5 = ((float)il2cpp_codegen_multiply(L_46, L_47));
  2992. float L_48 = V_5;
  2993. float L_49 = V_2;
  2994. V_5 = ((float)il2cpp_codegen_subtract(L_48, L_49));
  2995. bool L_50 = ___0_isLeft;
  2996. if (L_50)
  2997. {
  2998. goto IL_0153;
  2999. }
  3000. }
  3001. {
  3002. G_B15_0 = (-50.0f);
  3003. goto IL_0158;
  3004. }
  3005. IL_0153:
  3006. {
  3007. G_B15_0 = (-20.0f);
  3008. }
  3009. IL_0158:
  3010. {
  3011. V_7 = G_B15_0;
  3012. bool L_51 = ___0_isLeft;
  3013. if (L_51)
  3014. {
  3015. goto IL_0164;
  3016. }
  3017. }
  3018. {
  3019. G_B18_0 = (20.0f);
  3020. goto IL_0169;
  3021. }
  3022. IL_0164:
  3023. {
  3024. G_B18_0 = (50.0f);
  3025. }
  3026. IL_0169:
  3027. {
  3028. V_8 = G_B18_0;
  3029. float L_52 = V_5;
  3030. float L_53 = V_7;
  3031. float L_54 = V_2;
  3032. float L_55 = V_8;
  3033. float L_56 = V_2;
  3034. float L_57;
  3035. L_57 = Arm_DamperValue_mB8C3917E396C4626F3ECCE36A7696C5E0E6CBFF0(__this, L_52, ((float)il2cpp_codegen_subtract(L_53, L_54)), ((float)il2cpp_codegen_subtract(L_55, L_56)), (0.699999988f), NULL);
  3036. V_5 = L_57;
  3037. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_58;
  3038. L_58 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3039. NullCheck(L_58);
  3040. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59 = L_58->___solverRotation;
  3041. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_60;
  3042. L_60 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3043. NullCheck(L_60);
  3044. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = L_60->___axis;
  3045. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
  3046. L_62 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_59, L_61, NULL);
  3047. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_63 = V_3;
  3048. float L_64 = V_5;
  3049. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
  3050. L_65 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  3051. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66;
  3052. L_66 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_64, L_65, NULL);
  3053. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
  3054. L_67 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  3055. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
  3056. L_68 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_66, L_67, NULL);
  3057. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69;
  3058. L_69 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_63, L_68, NULL);
  3059. V_9 = L_69;
  3060. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = V_9;
  3061. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_71;
  3062. L_71 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_62, L_70, NULL);
  3063. V_10 = L_71;
  3064. bool L_72 = ___0_isLeft;
  3065. if (L_72)
  3066. {
  3067. goto IL_01ce;
  3068. }
  3069. }
  3070. {
  3071. G_B21_0 = (90.0f);
  3072. goto IL_01d3;
  3073. }
  3074. IL_01ce:
  3075. {
  3076. G_B21_0 = (-90.0f);
  3077. }
  3078. IL_01d3:
  3079. {
  3080. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73 = __this->___chestUp;
  3081. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_74;
  3082. L_74 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(G_B21_0, L_73, NULL);
  3083. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_75 = __this->___chestRotation;
  3084. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_76;
  3085. L_76 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_74, L_75, NULL);
  3086. V_3 = L_76;
  3087. bool L_77 = ___0_isLeft;
  3088. if (L_77)
  3089. {
  3090. goto IL_01f4;
  3091. }
  3092. }
  3093. {
  3094. G_B24_0 = (30.0f);
  3095. goto IL_01f9;
  3096. }
  3097. IL_01f4:
  3098. {
  3099. G_B24_0 = (-30.0f);
  3100. }
  3101. IL_01f9:
  3102. {
  3103. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = __this->___chestForward;
  3104. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_79;
  3105. L_79 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(G_B24_0, L_78, NULL);
  3106. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_80 = V_3;
  3107. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_81;
  3108. L_81 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_79, L_80, NULL);
  3109. V_3 = L_81;
  3110. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
  3111. L_82 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3112. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_83;
  3113. L_83 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3114. NullCheck(L_83);
  3115. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84 = L_83->___solverPosition;
  3116. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_85 = __this->___chestRotation;
  3117. bool L_86 = ___0_isLeft;
  3118. if (L_86)
  3119. {
  3120. G_B26_0 = L_85;
  3121. G_B26_1 = L_84;
  3122. G_B26_2 = L_82;
  3123. goto IL_022c;
  3124. }
  3125. G_B25_0 = L_85;
  3126. G_B25_1 = L_84;
  3127. G_B25_2 = L_82;
  3128. }
  3129. {
  3130. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
  3131. L_87 = Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline(NULL);
  3132. G_B27_0 = L_87;
  3133. G_B27_1 = G_B25_0;
  3134. G_B27_2 = G_B25_1;
  3135. G_B27_3 = G_B25_2;
  3136. goto IL_0231;
  3137. }
  3138. IL_022c:
  3139. {
  3140. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
  3141. L_88 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  3142. G_B27_0 = L_88;
  3143. G_B27_1 = G_B26_0;
  3144. G_B27_2 = G_B26_1;
  3145. G_B27_3 = G_B26_2;
  3146. }
  3147. IL_0231:
  3148. {
  3149. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
  3150. L_89 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(G_B27_1, G_B27_0, NULL);
  3151. float L_90;
  3152. L_90 = BodyPart_get_mag_mC59094481F8E1BABBB58CFA9B5491E0CEB42B0FB_inline(__this, NULL);
  3153. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91;
  3154. L_91 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_89, L_90, NULL);
  3155. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
  3156. L_92 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B27_2, L_91, NULL);
  3157. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
  3158. L_93 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(G_B27_3, L_92, NULL);
  3159. V_1 = L_93;
  3160. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_94 = V_3;
  3161. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_95;
  3162. L_95 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_94, NULL);
  3163. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96 = V_1;
  3164. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97;
  3165. L_97 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_95, L_96, NULL);
  3166. V_4 = L_97;
  3167. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98 = V_4;
  3168. float L_99 = L_98.___y;
  3169. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100 = V_4;
  3170. float L_101 = L_100.___z;
  3171. float L_102;
  3172. L_102 = atan2f(L_99, L_101);
  3173. V_11 = ((float)il2cpp_codegen_multiply(L_102, (57.2957802f)));
  3174. float L_103 = V_11;
  3175. V_11 = ((float)il2cpp_codegen_subtract(L_103, (-30.0f)));
  3176. float L_104 = V_11;
  3177. float L_105;
  3178. L_105 = Arm_DamperValue_mB8C3917E396C4626F3ECCE36A7696C5E0E6CBFF0(__this, L_104, (-15.0f), (75.0f), (1.0f), NULL);
  3179. V_11 = L_105;
  3180. float L_106 = V_11;
  3181. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_107 = V_3;
  3182. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108;
  3183. L_108 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  3184. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_109;
  3185. L_109 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_107, L_108, NULL);
  3186. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_110;
  3187. L_110 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(((-L_106)), L_109, NULL);
  3188. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_111 = V_10;
  3189. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_112;
  3190. L_112 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_110, L_111, NULL);
  3191. V_12 = L_112;
  3192. float L_113 = __this->___shoulderRotationWeight;
  3193. float L_114 = __this->___positionWeight;
  3194. if ((!(((float)((float)il2cpp_codegen_multiply(L_113, L_114))) < ((float)(1.0f)))))
  3195. {
  3196. goto IL_02e3;
  3197. }
  3198. }
  3199. {
  3200. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_115;
  3201. L_115 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  3202. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_116 = V_12;
  3203. float L_117 = __this->___shoulderRotationWeight;
  3204. float L_118 = __this->___positionWeight;
  3205. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_119;
  3206. L_119 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_115, L_116, ((float)il2cpp_codegen_multiply(L_117, L_118)), NULL);
  3207. V_12 = L_119;
  3208. }
  3209. IL_02e3:
  3210. {
  3211. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_120 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  3212. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_121 = V_12;
  3213. VirtualBone_RotateBy_mDC1844AFD70FD61AC3159E5F6701ADCE6A048CF8(L_120, L_121, NULL);
  3214. Arm_Stretching_m407FE2CDEBF317712BC2F5C5C2DF237E968BF504(__this, NULL);
  3215. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_122;
  3216. L_122 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3217. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_123;
  3218. L_123 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3219. NullCheck(L_123);
  3220. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124 = L_123->___solverPosition;
  3221. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125;
  3222. L_125 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_122, L_124, NULL);
  3223. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_126;
  3224. L_126 = Arm_GetBendNormal_mB5068D2444896F19D5802B4A56D7FBF36B51FB09(__this, L_125, NULL);
  3225. V_0 = L_126;
  3226. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_127 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  3227. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_128;
  3228. L_128 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3229. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_129 = V_0;
  3230. float L_130 = __this->___positionWeight;
  3231. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_127, 1, 2, 3, L_128, L_129, L_130, NULL);
  3232. float L_131 = V_11;
  3233. float L_132 = __this->___positionWeight;
  3234. float L_133 = __this->___shoulderRotationWeight;
  3235. float L_134 = __this->___shoulderTwistWeight;
  3236. float L_135;
  3237. L_135 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_131, L_132)), L_133)), L_134)), (2.0f))), (0.0f), (180.0f), NULL);
  3238. V_13 = L_135;
  3239. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_136;
  3240. L_136 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3241. float L_137 = V_13;
  3242. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_138;
  3243. L_138 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3244. NullCheck(L_138);
  3245. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_139 = L_138->___solverRotation;
  3246. bool L_140 = ___0_isLeft;
  3247. if (L_140)
  3248. {
  3249. G_B31_0 = L_139;
  3250. G_B31_1 = L_137;
  3251. G_B31_2 = L_136;
  3252. goto IL_0384;
  3253. }
  3254. G_B30_0 = L_139;
  3255. G_B30_1 = L_137;
  3256. G_B30_2 = L_136;
  3257. }
  3258. {
  3259. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_141;
  3260. L_141 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3261. NullCheck(L_141);
  3262. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_142 = L_141->___axis;
  3263. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_143;
  3264. L_143 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_142, NULL);
  3265. G_B32_0 = L_143;
  3266. G_B32_1 = G_B30_0;
  3267. G_B32_2 = G_B30_1;
  3268. G_B32_3 = G_B30_2;
  3269. goto IL_038f;
  3270. }
  3271. IL_0384:
  3272. {
  3273. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_144;
  3274. L_144 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3275. NullCheck(L_144);
  3276. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145 = L_144->___axis;
  3277. G_B32_0 = L_145;
  3278. G_B32_1 = G_B31_0;
  3279. G_B32_2 = G_B31_1;
  3280. G_B32_3 = G_B31_2;
  3281. }
  3282. IL_038f:
  3283. {
  3284. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146;
  3285. L_146 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(G_B32_1, G_B32_0, NULL);
  3286. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_147;
  3287. L_147 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(G_B32_2, L_146, NULL);
  3288. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_148;
  3289. L_148 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3290. NullCheck(L_148);
  3291. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_149 = L_148->___solverRotation;
  3292. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_150;
  3293. L_150 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_147, L_149, NULL);
  3294. NullCheck(G_B32_3);
  3295. G_B32_3->___solverRotation = L_150;
  3296. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_151;
  3297. L_151 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3298. float L_152 = V_13;
  3299. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_153;
  3300. L_153 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3301. NullCheck(L_153);
  3302. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_154 = L_153->___solverRotation;
  3303. bool L_155 = ___0_isLeft;
  3304. if (L_155)
  3305. {
  3306. G_B34_0 = L_154;
  3307. G_B34_1 = L_152;
  3308. G_B34_2 = L_151;
  3309. goto IL_03d6;
  3310. }
  3311. G_B33_0 = L_154;
  3312. G_B33_1 = L_152;
  3313. G_B33_2 = L_151;
  3314. }
  3315. {
  3316. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_156;
  3317. L_156 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3318. NullCheck(L_156);
  3319. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_157 = L_156->___axis;
  3320. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_158;
  3321. L_158 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_157, NULL);
  3322. G_B35_0 = L_158;
  3323. G_B35_1 = G_B33_0;
  3324. G_B35_2 = G_B33_1;
  3325. G_B35_3 = G_B33_2;
  3326. goto IL_03e1;
  3327. }
  3328. IL_03d6:
  3329. {
  3330. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_159;
  3331. L_159 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3332. NullCheck(L_159);
  3333. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_160 = L_159->___axis;
  3334. G_B35_0 = L_160;
  3335. G_B35_1 = G_B34_0;
  3336. G_B35_2 = G_B34_1;
  3337. G_B35_3 = G_B34_2;
  3338. }
  3339. IL_03e1:
  3340. {
  3341. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_161;
  3342. L_161 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(G_B35_1, G_B35_0, NULL);
  3343. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_162;
  3344. L_162 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(G_B35_2, L_161, NULL);
  3345. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_163;
  3346. L_163 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3347. NullCheck(L_163);
  3348. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_164 = L_163->___solverRotation;
  3349. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_165;
  3350. L_165 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_162, L_164, NULL);
  3351. NullCheck(G_B35_3);
  3352. G_B35_3->___solverRotation = L_165;
  3353. goto IL_0703;
  3354. }
  3355. IL_0405:
  3356. {
  3357. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_166;
  3358. L_166 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3359. NullCheck(L_166);
  3360. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_167 = L_166->___solverRotation;
  3361. V_14 = L_167;
  3362. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_168;
  3363. L_168 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3364. NullCheck(L_168);
  3365. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_169 = L_168->___solverPosition;
  3366. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_170;
  3367. L_170 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3368. NullCheck(L_170);
  3369. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_171 = L_170->___solverPosition;
  3370. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_172;
  3371. L_172 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_169, L_171, NULL);
  3372. V_21 = L_172;
  3373. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_173;
  3374. L_173 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_21), NULL);
  3375. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_174 = __this->___chestForward;
  3376. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_175;
  3377. L_175 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_173, L_174, NULL);
  3378. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_176;
  3379. L_176 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3380. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_177;
  3381. L_177 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3382. NullCheck(L_177);
  3383. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_178 = L_177->___solverPosition;
  3384. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_179;
  3385. L_179 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_176, L_178, NULL);
  3386. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_180;
  3387. L_180 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_175, L_179, NULL);
  3388. V_15 = L_180;
  3389. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_181;
  3390. L_181 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  3391. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_182 = V_15;
  3392. float L_183 = __this->___shoulderRotationWeight;
  3393. float L_184 = __this->___positionWeight;
  3394. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_185;
  3395. L_185 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_181, L_182, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((0.5f), L_183)), L_184)), NULL);
  3396. V_15 = L_185;
  3397. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_186 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  3398. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_187 = V_15;
  3399. VirtualBone_RotateBy_mDC1844AFD70FD61AC3159E5F6701ADCE6A048CF8(L_186, L_187, NULL);
  3400. Arm_Stretching_m407FE2CDEBF317712BC2F5C5C2DF237E968BF504(__this, NULL);
  3401. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_188 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  3402. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_189;
  3403. L_189 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3404. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_190;
  3405. L_190 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  3406. NullCheck(L_190);
  3407. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_191 = L_190->___solverPosition;
  3408. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_192;
  3409. L_192 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3410. NullCheck(L_192);
  3411. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_193 = L_192->___solverPosition;
  3412. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_194;
  3413. L_194 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_191, L_193, NULL);
  3414. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_195;
  3415. L_195 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  3416. NullCheck(L_195);
  3417. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_196 = L_195->___solverPosition;
  3418. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_197;
  3419. L_197 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3420. NullCheck(L_197);
  3421. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_198 = L_197->___solverPosition;
  3422. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_199;
  3423. L_199 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_196, L_198, NULL);
  3424. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_200;
  3425. L_200 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_194, L_199, NULL);
  3426. float L_201 = __this->___shoulderRotationWeight;
  3427. float L_202 = __this->___positionWeight;
  3428. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_188, 0, 2, 3, L_189, L_200, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((0.5f), L_201)), L_202)), NULL);
  3429. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_203;
  3430. L_203 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3431. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_204;
  3432. L_204 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3433. NullCheck(L_204);
  3434. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_205 = L_204->___solverPosition;
  3435. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_206;
  3436. L_206 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_203, L_205, NULL);
  3437. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_207;
  3438. L_207 = Arm_GetBendNormal_mB5068D2444896F19D5802B4A56D7FBF36B51FB09(__this, L_206, NULL);
  3439. V_0 = L_207;
  3440. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_208 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  3441. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_209;
  3442. L_209 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3443. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_210 = V_0;
  3444. float L_211 = __this->___positionWeight;
  3445. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_208, 1, 2, 3, L_209, L_210, L_211, NULL);
  3446. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_212 = __this->___chestUp;
  3447. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_213 = __this->___chestForward;
  3448. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_214;
  3449. L_214 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_212, L_213, NULL);
  3450. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_215;
  3451. L_215 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_214, NULL);
  3452. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_216 = L_215;
  3453. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_217 = V_14;
  3454. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_218;
  3455. L_218 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3456. NullCheck(L_218);
  3457. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_219 = L_218->___axis;
  3458. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_220;
  3459. L_220 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_217, L_219, NULL);
  3460. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_221;
  3461. L_221 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_216, L_220, NULL);
  3462. V_16 = L_221;
  3463. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_222;
  3464. L_222 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3465. NullCheck(L_222);
  3466. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_223 = L_222->___solverRotation;
  3467. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_224;
  3468. L_224 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3469. NullCheck(L_224);
  3470. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_225 = L_224->___axis;
  3471. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_226;
  3472. L_226 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_223, L_225, NULL);
  3473. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_227;
  3474. L_227 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_216, L_226, NULL);
  3475. V_17 = L_227;
  3476. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_228 = V_16;
  3477. float L_229 = L_228.___x;
  3478. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_230 = V_16;
  3479. float L_231 = L_230.___z;
  3480. float L_232;
  3481. L_232 = atan2f(L_229, L_231);
  3482. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_233 = V_17;
  3483. float L_234 = L_233.___x;
  3484. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_235 = V_17;
  3485. float L_236 = L_235.___z;
  3486. float L_237;
  3487. L_237 = atan2f(L_234, L_236);
  3488. V_18 = ((float)il2cpp_codegen_multiply(L_237, (57.2957802f)));
  3489. float L_238 = V_18;
  3490. float L_239;
  3491. L_239 = Mathf_DeltaAngle_mCBA858CE5C1BEEBE375812325A50E434FF66D6D4_inline(((float)il2cpp_codegen_multiply(L_232, (57.2957802f))), L_238, NULL);
  3492. V_19 = L_239;
  3493. bool L_240 = ___0_isLeft;
  3494. if (!L_240)
  3495. {
  3496. goto IL_05c3;
  3497. }
  3498. }
  3499. {
  3500. float L_241 = V_19;
  3501. V_19 = ((-L_241));
  3502. }
  3503. IL_05c3:
  3504. {
  3505. float L_242 = V_19;
  3506. float L_243 = __this->___shoulderRotationWeight;
  3507. float L_244 = __this->___shoulderTwistWeight;
  3508. float L_245 = __this->___positionWeight;
  3509. float L_246;
  3510. L_246 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_242, L_243)), L_244)), (2.0f))), L_245)), (0.0f), (180.0f), NULL);
  3511. V_19 = L_246;
  3512. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_247;
  3513. L_247 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3514. float L_248 = V_19;
  3515. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_249;
  3516. L_249 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3517. NullCheck(L_249);
  3518. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_250 = L_249->___solverRotation;
  3519. bool L_251 = ___0_isLeft;
  3520. if (L_251)
  3521. {
  3522. G_B40_0 = L_250;
  3523. G_B40_1 = L_248;
  3524. G_B40_2 = L_247;
  3525. goto IL_0619;
  3526. }
  3527. G_B39_0 = L_250;
  3528. G_B39_1 = L_248;
  3529. G_B39_2 = L_247;
  3530. }
  3531. {
  3532. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_252;
  3533. L_252 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3534. NullCheck(L_252);
  3535. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_253 = L_252->___axis;
  3536. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_254;
  3537. L_254 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_253, NULL);
  3538. G_B41_0 = L_254;
  3539. G_B41_1 = G_B39_0;
  3540. G_B41_2 = G_B39_1;
  3541. G_B41_3 = G_B39_2;
  3542. goto IL_0624;
  3543. }
  3544. IL_0619:
  3545. {
  3546. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_255;
  3547. L_255 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3548. NullCheck(L_255);
  3549. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_256 = L_255->___axis;
  3550. G_B41_0 = L_256;
  3551. G_B41_1 = G_B40_0;
  3552. G_B41_2 = G_B40_1;
  3553. G_B41_3 = G_B40_2;
  3554. }
  3555. IL_0624:
  3556. {
  3557. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_257;
  3558. L_257 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(G_B41_1, G_B41_0, NULL);
  3559. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_258;
  3560. L_258 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(G_B41_2, L_257, NULL);
  3561. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_259;
  3562. L_259 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3563. NullCheck(L_259);
  3564. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_260 = L_259->___solverRotation;
  3565. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_261;
  3566. L_261 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_258, L_260, NULL);
  3567. NullCheck(G_B41_3);
  3568. G_B41_3->___solverRotation = L_261;
  3569. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_262;
  3570. L_262 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3571. float L_263 = V_19;
  3572. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_264;
  3573. L_264 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3574. NullCheck(L_264);
  3575. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_265 = L_264->___solverRotation;
  3576. bool L_266 = ___0_isLeft;
  3577. if (L_266)
  3578. {
  3579. G_B43_0 = L_265;
  3580. G_B43_1 = L_263;
  3581. G_B43_2 = L_262;
  3582. goto IL_066b;
  3583. }
  3584. G_B42_0 = L_265;
  3585. G_B42_1 = L_263;
  3586. G_B42_2 = L_262;
  3587. }
  3588. {
  3589. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_267;
  3590. L_267 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3591. NullCheck(L_267);
  3592. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_268 = L_267->___axis;
  3593. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_269;
  3594. L_269 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_268, NULL);
  3595. G_B44_0 = L_269;
  3596. G_B44_1 = G_B42_0;
  3597. G_B44_2 = G_B42_1;
  3598. G_B44_3 = G_B42_2;
  3599. goto IL_0676;
  3600. }
  3601. IL_066b:
  3602. {
  3603. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_270;
  3604. L_270 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3605. NullCheck(L_270);
  3606. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_271 = L_270->___axis;
  3607. G_B44_0 = L_271;
  3608. G_B44_1 = G_B43_0;
  3609. G_B44_2 = G_B43_1;
  3610. G_B44_3 = G_B43_2;
  3611. }
  3612. IL_0676:
  3613. {
  3614. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_272;
  3615. L_272 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(G_B44_1, G_B44_0, NULL);
  3616. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_273;
  3617. L_273 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(G_B44_2, L_272, NULL);
  3618. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_274;
  3619. L_274 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3620. NullCheck(L_274);
  3621. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_275 = L_274->___solverRotation;
  3622. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_276;
  3623. L_276 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_273, L_275, NULL);
  3624. NullCheck(G_B44_3);
  3625. G_B44_3->___solverRotation = L_276;
  3626. goto IL_0703;
  3627. }
  3628. IL_0697:
  3629. {
  3630. int32_t L_277 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___LOD;
  3631. if ((((int32_t)L_277) >= ((int32_t)1)))
  3632. {
  3633. goto IL_06a6;
  3634. }
  3635. }
  3636. {
  3637. Arm_Stretching_m407FE2CDEBF317712BC2F5C5C2DF237E968BF504(__this, NULL);
  3638. }
  3639. IL_06a6:
  3640. {
  3641. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_278;
  3642. L_278 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3643. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_279;
  3644. L_279 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3645. NullCheck(L_279);
  3646. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_280 = L_279->___solverPosition;
  3647. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_281;
  3648. L_281 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_278, L_280, NULL);
  3649. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_282;
  3650. L_282 = Arm_GetBendNormal_mB5068D2444896F19D5802B4A56D7FBF36B51FB09(__this, L_281, NULL);
  3651. V_0 = L_282;
  3652. bool L_283 = __this->___hasShoulder;
  3653. if (!L_283)
  3654. {
  3655. goto IL_06e8;
  3656. }
  3657. }
  3658. {
  3659. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_284 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  3660. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_285;
  3661. L_285 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3662. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_286 = V_0;
  3663. float L_287 = __this->___positionWeight;
  3664. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_284, 1, 2, 3, L_285, L_286, L_287, NULL);
  3665. goto IL_0703;
  3666. }
  3667. IL_06e8:
  3668. {
  3669. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_288 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  3670. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_289;
  3671. L_289 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(__this, NULL);
  3672. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_290 = V_0;
  3673. float L_291 = __this->___positionWeight;
  3674. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_288, 0, 1, 2, L_289, L_290, L_291, NULL);
  3675. }
  3676. IL_0703:
  3677. {
  3678. int32_t L_292 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___LOD;
  3679. if ((((int32_t)L_292) >= ((int32_t)1)))
  3680. {
  3681. goto IL_0828;
  3682. }
  3683. }
  3684. {
  3685. float L_293 = __this->___positionWeight;
  3686. if ((!(((float)L_293) > ((float)(0.0f)))))
  3687. {
  3688. goto IL_0828;
  3689. }
  3690. }
  3691. {
  3692. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_294;
  3693. L_294 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3694. NullCheck(L_294);
  3695. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_295 = L_294->___solverRotation;
  3696. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_296 = __this->___upperArmBendAxis;
  3697. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_297;
  3698. L_297 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_295, L_296, NULL);
  3699. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_298;
  3700. L_298 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  3701. NullCheck(L_298);
  3702. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_299 = L_298->___solverPosition;
  3703. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_300;
  3704. L_300 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3705. NullCheck(L_300);
  3706. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_301 = L_300->___solverPosition;
  3707. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_302;
  3708. L_302 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_299, L_301, NULL);
  3709. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_303;
  3710. L_303 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_297, L_302, NULL);
  3711. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_304;
  3712. L_304 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_303, NULL);
  3713. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_305 = V_0;
  3714. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_306;
  3715. L_306 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_304, L_305, NULL);
  3716. V_22 = L_306;
  3717. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_307 = V_22;
  3718. float L_308 = L_307.___x;
  3719. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_309 = V_22;
  3720. float L_310 = L_309.___z;
  3721. float L_311;
  3722. L_311 = atan2f(L_308, L_310);
  3723. V_23 = ((float)il2cpp_codegen_multiply(L_311, (57.2957802f)));
  3724. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_312;
  3725. L_312 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3726. float L_313 = V_23;
  3727. float L_314 = __this->___positionWeight;
  3728. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_315;
  3729. L_315 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  3730. NullCheck(L_315);
  3731. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_316 = L_315->___solverPosition;
  3732. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_317;
  3733. L_317 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3734. NullCheck(L_317);
  3735. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_318 = L_317->___solverPosition;
  3736. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_319;
  3737. L_319 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_316, L_318, NULL);
  3738. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_320;
  3739. L_320 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(((float)il2cpp_codegen_multiply(L_313, L_314)), L_319, NULL);
  3740. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_321;
  3741. L_321 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3742. NullCheck(L_321);
  3743. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_322 = L_321->___solverRotation;
  3744. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_323;
  3745. L_323 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_320, L_322, NULL);
  3746. NullCheck(L_312);
  3747. L_312->___solverRotation = L_323;
  3748. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_324;
  3749. L_324 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3750. NullCheck(L_324);
  3751. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_325 = L_324->___solverRotation;
  3752. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_326 = __this->___forearmRelToUpperArm;
  3753. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_327;
  3754. L_327 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_325, L_326, NULL);
  3755. V_24 = L_327;
  3756. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_328 = V_24;
  3757. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_329;
  3758. L_329 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  3759. NullCheck(L_329);
  3760. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_330 = L_329->___axis;
  3761. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_331;
  3762. L_331 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_328, L_330, NULL);
  3763. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_332;
  3764. L_332 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  3765. NullCheck(L_332);
  3766. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_333 = L_332->___solverPosition;
  3767. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_334;
  3768. L_334 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  3769. NullCheck(L_334);
  3770. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_335 = L_334->___solverPosition;
  3771. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_336;
  3772. L_336 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_333, L_335, NULL);
  3773. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_337;
  3774. L_337 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_331, L_336, NULL);
  3775. V_25 = L_337;
  3776. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_338;
  3777. L_338 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  3778. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_339 = V_25;
  3779. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_340 = V_24;
  3780. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_341;
  3781. L_341 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_339, L_340, NULL);
  3782. float L_342 = __this->___positionWeight;
  3783. BodyPart_RotateTo_mEEACCFF82CB75BF8B9C08CD771A91C97C553D1B4(__this, L_338, L_341, L_342, NULL);
  3784. }
  3785. IL_0828:
  3786. {
  3787. float L_343 = __this->___rotationWeight;
  3788. if ((!(((float)L_343) >= ((float)(1.0f)))))
  3789. {
  3790. goto IL_0847;
  3791. }
  3792. }
  3793. {
  3794. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_344;
  3795. L_344 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  3796. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_345;
  3797. L_345 = Arm_get_rotation_m6A40C3166D9AA240930D675FCA778F08FE8A9E02_inline(__this, NULL);
  3798. NullCheck(L_344);
  3799. L_344->___solverRotation = L_345;
  3800. return;
  3801. }
  3802. IL_0847:
  3803. {
  3804. float L_346 = __this->___rotationWeight;
  3805. if ((!(((float)L_346) > ((float)(0.0f)))))
  3806. {
  3807. goto IL_087b;
  3808. }
  3809. }
  3810. {
  3811. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_347;
  3812. L_347 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  3813. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_348;
  3814. L_348 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  3815. NullCheck(L_348);
  3816. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_349 = L_348->___solverRotation;
  3817. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_350;
  3818. L_350 = Arm_get_rotation_m6A40C3166D9AA240930D675FCA778F08FE8A9E02_inline(__this, NULL);
  3819. float L_351 = __this->___rotationWeight;
  3820. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_352;
  3821. L_352 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_349, L_350, L_351, NULL);
  3822. NullCheck(L_347);
  3823. L_347->___solverRotation = L_352;
  3824. }
  3825. IL_087b:
  3826. {
  3827. return;
  3828. }
  3829. }
  3830. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_ResetOffsets_m5A84940DE1219F6694D80C8BC1F37E55B3361452 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  3831. {
  3832. {
  3833. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  3834. L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  3835. __this->___handPositionOffset = L_0;
  3836. return;
  3837. }
  3838. }
  3839. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_Write_m5D772060DB166E9E52B83936720D94B690324F26 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** ___0_solvedPositions, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** ___1_solvedRotations, const RuntimeMethod* method)
  3840. {
  3841. {
  3842. bool L_0 = __this->___hasShoulder;
  3843. if (!L_0)
  3844. {
  3845. goto IL_0038;
  3846. }
  3847. }
  3848. {
  3849. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_1 = ___0_solvedPositions;
  3850. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_2 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_1);
  3851. int32_t L_3 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  3852. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_4;
  3853. L_4 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3854. NullCheck(L_4);
  3855. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = L_4->___solverPosition;
  3856. NullCheck(L_2);
  3857. (L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_5);
  3858. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_6 = ___1_solvedRotations;
  3859. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_7 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_6);
  3860. int32_t L_8 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  3861. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_9;
  3862. L_9 = Arm_get_shoulder_m38010B9DE08E42FAE8F86593FFE2FF5AC4441337(__this, NULL);
  3863. NullCheck(L_9);
  3864. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = L_9->___solverRotation;
  3865. NullCheck(L_7);
  3866. (L_7)->SetAt(static_cast<il2cpp_array_size_t>(L_8), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_10);
  3867. }
  3868. IL_0038:
  3869. {
  3870. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_11 = ___0_solvedPositions;
  3871. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_12 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_11);
  3872. int32_t L_13 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  3873. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_14;
  3874. L_14 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3875. NullCheck(L_14);
  3876. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = L_14->___solverPosition;
  3877. NullCheck(L_12);
  3878. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_13, 1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_15);
  3879. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_16 = ___0_solvedPositions;
  3880. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_17 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_16);
  3881. int32_t L_18 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  3882. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_19;
  3883. L_19 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  3884. NullCheck(L_19);
  3885. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = L_19->___solverPosition;
  3886. NullCheck(L_17);
  3887. (L_17)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_18, 2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_20);
  3888. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_21 = ___0_solvedPositions;
  3889. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_22 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_21);
  3890. int32_t L_23 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  3891. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_24;
  3892. L_24 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  3893. NullCheck(L_24);
  3894. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = L_24->___solverPosition;
  3895. NullCheck(L_22);
  3896. (L_22)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_23, 3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_25);
  3897. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_26 = ___1_solvedRotations;
  3898. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_27 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_26);
  3899. int32_t L_28 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  3900. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_29;
  3901. L_29 = Arm_get_upperArm_m1F34A2D24ACE38D3A9C4A32EFB9CFED61B0732B4(__this, NULL);
  3902. NullCheck(L_29);
  3903. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30 = L_29->___solverRotation;
  3904. NullCheck(L_27);
  3905. (L_27)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_28, 1))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_30);
  3906. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_31 = ___1_solvedRotations;
  3907. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_32 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_31);
  3908. int32_t L_33 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  3909. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_34;
  3910. L_34 = Arm_get_forearm_m0EEA8F7231A968CD5EBD5FCB1275FD4E4C691480(__this, NULL);
  3911. NullCheck(L_34);
  3912. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35 = L_34->___solverRotation;
  3913. NullCheck(L_32);
  3914. (L_32)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_33, 2))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_35);
  3915. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_36 = ___1_solvedRotations;
  3916. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_37 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_36);
  3917. int32_t L_38 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  3918. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_39;
  3919. L_39 = Arm_get_hand_m165BABE25A6E618C07B6FDCE066B9F7F6C2EDFEA(__this, NULL);
  3920. NullCheck(L_39);
  3921. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_40 = L_39->___solverRotation;
  3922. NullCheck(L_37);
  3923. (L_37)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_38, 3))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_40);
  3924. return;
  3925. }
  3926. }
  3927. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Arm_DamperValue_mB8C3917E396C4626F3ECCE36A7696C5E0E6CBFF0 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, float ___0_value, float ___1_min, float ___2_max, float ___3_weight, const RuntimeMethod* method)
  3928. {
  3929. float V_0 = 0.0f;
  3930. float V_1 = 0.0f;
  3931. float V_2 = 0.0f;
  3932. float V_3 = 0.0f;
  3933. {
  3934. float L_0 = ___2_max;
  3935. float L_1 = ___1_min;
  3936. V_0 = ((float)il2cpp_codegen_subtract(L_0, L_1));
  3937. float L_2 = ___3_weight;
  3938. if ((!(((float)L_2) < ((float)(1.0f)))))
  3939. {
  3940. goto IL_0028;
  3941. }
  3942. }
  3943. {
  3944. float L_3 = ___2_max;
  3945. float L_4 = V_0;
  3946. V_2 = ((float)il2cpp_codegen_subtract(L_3, ((float)il2cpp_codegen_multiply(L_4, (0.5f)))));
  3947. float L_5 = ___0_value;
  3948. float L_6 = V_2;
  3949. V_3 = ((float)il2cpp_codegen_subtract(L_5, L_6));
  3950. float L_7 = V_3;
  3951. V_3 = ((float)il2cpp_codegen_multiply(L_7, (0.5f)));
  3952. float L_8 = V_2;
  3953. float L_9 = V_3;
  3954. ___0_value = ((float)il2cpp_codegen_add(L_8, L_9));
  3955. }
  3956. IL_0028:
  3957. {
  3958. float L_10 = ___0_value;
  3959. float L_11 = ___1_min;
  3960. ___0_value = ((float)il2cpp_codegen_subtract(L_10, L_11));
  3961. float L_12 = ___0_value;
  3962. float L_13 = V_0;
  3963. float L_14;
  3964. L_14 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)(L_12/L_13)), (0.0f), (1.0f), NULL);
  3965. float L_15;
  3966. L_15 = Interp_Float_m218DE9CAA3AAC9F0186C85992D42704BEBCDF902(L_14, 2, NULL);
  3967. V_1 = L_15;
  3968. float L_16 = ___1_min;
  3969. float L_17 = ___2_max;
  3970. float L_18 = V_1;
  3971. float L_19;
  3972. L_19 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_16, L_17, L_18, NULL);
  3973. return L_19;
  3974. }
  3975. }
  3976. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Arm_GetBendNormal_mB5068D2444896F19D5802B4A56D7FBF36B51FB09 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_dir, const RuntimeMethod* method)
  3977. {
  3978. static bool s_Il2CppMethodInitialized;
  3979. if (!s_Il2CppMethodInitialized)
  3980. {
  3981. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  3982. s_Il2CppMethodInitialized = true;
  3983. }
  3984. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  3985. memset((&V_0), 0, sizeof(V_0));
  3986. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  3987. memset((&V_1), 0, sizeof(V_1));
  3988. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  3989. memset((&V_2), 0, sizeof(V_2));
  3990. {
  3991. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___bendGoal;
  3992. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  3993. bool L_1;
  3994. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  3995. if (!L_1)
  3996. {
  3997. goto IL_0031;
  3998. }
  3999. }
  4000. {
  4001. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___bendGoal;
  4002. NullCheck(L_2);
  4003. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  4004. L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
  4005. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_4 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  4006. NullCheck(L_4);
  4007. int32_t L_5 = 1;
  4008. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  4009. NullCheck(L_6);
  4010. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = L_6->___solverPosition;
  4011. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  4012. L_8 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_3, L_7, NULL);
  4013. __this->___bendDirection = L_8;
  4014. }
  4015. IL_0031:
  4016. {
  4017. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_9 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  4018. NullCheck(L_9);
  4019. int32_t L_10 = 0;
  4020. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_11 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  4021. NullCheck(L_11);
  4022. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = L_11->___solverRotation;
  4023. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_13 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  4024. NullCheck(L_13);
  4025. int32_t L_14 = 0;
  4026. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_15 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  4027. NullCheck(L_15);
  4028. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = L_15->___axis;
  4029. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  4030. L_17 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_12, L_16, NULL);
  4031. V_0 = L_17;
  4032. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  4033. L_18 = Vector3_get_down_mF62B2AE7C5AC31EAC9CB62797C7190C90A7A8599_inline(NULL);
  4034. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = __this->___chestRotation;
  4035. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
  4036. L_20 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_19, NULL);
  4037. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  4038. L_21 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&___0_dir), NULL);
  4039. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  4040. L_22 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_20, L_21, NULL);
  4041. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  4042. L_23 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  4043. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  4044. L_24 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_22, L_23, NULL);
  4045. V_1 = L_24;
  4046. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_1;
  4047. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26;
  4048. L_26 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_18, L_25, NULL);
  4049. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  4050. L_27 = Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline(NULL);
  4051. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
  4052. L_28 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_26, L_27, NULL);
  4053. V_2 = L_28;
  4054. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29 = __this->___chestRotation;
  4055. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
  4056. L_30 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_29, NULL);
  4057. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_0;
  4058. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
  4059. L_32 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_30, L_31, NULL);
  4060. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33 = __this->___chestRotation;
  4061. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34;
  4062. L_34 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_33, NULL);
  4063. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = ___0_dir;
  4064. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  4065. L_36 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_34, L_35, NULL);
  4066. V_1 = L_36;
  4067. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_1;
  4068. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
  4069. L_38 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_32, L_37, NULL);
  4070. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_2;
  4071. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
  4072. L_40 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_38, L_39, NULL);
  4073. V_2 = L_40;
  4074. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41 = __this->___chestRotation;
  4075. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_2;
  4076. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
  4077. L_43 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_41, L_42, NULL);
  4078. V_2 = L_43;
  4079. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_2;
  4080. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_0;
  4081. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
  4082. L_46 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_44, L_45, NULL);
  4083. V_2 = L_46;
  4084. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = V_2;
  4085. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_48;
  4086. L_48 = Arm_get_rotation_m6A40C3166D9AA240930D675FCA778F08FE8A9E02_inline(__this, NULL);
  4087. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = __this->___wristToPalmAxis;
  4088. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
  4089. L_50 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_48, L_49, NULL);
  4090. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
  4091. L_51 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_47, L_50, NULL);
  4092. V_2 = L_51;
  4093. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = V_2;
  4094. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_53;
  4095. L_53 = Arm_get_rotation_m6A40C3166D9AA240930D675FCA778F08FE8A9E02_inline(__this, NULL);
  4096. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = __this->___palmToThumbAxis;
  4097. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
  4098. L_55 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_53, L_54, NULL);
  4099. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
  4100. L_56 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_55, (0.5f), NULL);
  4101. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  4102. L_57 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_52, L_56, NULL);
  4103. V_2 = L_57;
  4104. float L_58 = __this->___bendGoalWeight;
  4105. if ((!(((float)L_58) > ((float)(0.0f)))))
  4106. {
  4107. goto IL_0128;
  4108. }
  4109. }
  4110. {
  4111. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = V_2;
  4112. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = __this->___bendDirection;
  4113. float L_61 = __this->___bendGoalWeight;
  4114. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
  4115. L_62 = Vector3_Slerp_m6CA14E5B6F6217802BAA0ADD2C9D086C741BA09C(L_59, L_60, L_61, NULL);
  4116. V_2 = L_62;
  4117. }
  4118. IL_0128:
  4119. {
  4120. float L_63 = __this->___swivelOffset;
  4121. if ((((float)L_63) == ((float)(0.0f))))
  4122. {
  4123. goto IL_014d;
  4124. }
  4125. }
  4126. {
  4127. float L_64 = __this->___swivelOffset;
  4128. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65 = ___0_dir;
  4129. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
  4130. L_66 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_65, NULL);
  4131. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_67;
  4132. L_67 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_64, L_66, NULL);
  4133. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68 = V_2;
  4134. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69;
  4135. L_69 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_67, L_68, NULL);
  4136. V_2 = L_69;
  4137. }
  4138. IL_014d:
  4139. {
  4140. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = V_2;
  4141. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71 = ___0_dir;
  4142. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
  4143. L_72 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_70, L_71, NULL);
  4144. return L_72;
  4145. }
  4146. }
  4147. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm_Visualize_m16BE07DFFE054C9AF1D4725A23D0C2B34A5233D2 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_bone1, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___1_bone2, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___2_bone3, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___3_color, const RuntimeMethod* method)
  4148. {
  4149. static bool s_Il2CppMethodInitialized;
  4150. if (!s_Il2CppMethodInitialized)
  4151. {
  4152. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  4153. s_Il2CppMethodInitialized = true;
  4154. }
  4155. {
  4156. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0 = ___0_bone1;
  4157. NullCheck(L_0);
  4158. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = L_0->___solverPosition;
  4159. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_2 = ___1_bone2;
  4160. NullCheck(L_2);
  4161. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = L_2->___solverPosition;
  4162. Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_4 = ___3_color;
  4163. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  4164. Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_1, L_3, L_4, NULL);
  4165. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_5 = ___1_bone2;
  4166. NullCheck(L_5);
  4167. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = L_5->___solverPosition;
  4168. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_7 = ___2_bone3;
  4169. NullCheck(L_7);
  4170. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = L_7->___solverPosition;
  4171. Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_9 = ___3_color;
  4172. Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_6, L_8, L_9, NULL);
  4173. return;
  4174. }
  4175. }
  4176. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arm__ctor_m211CA994178D560511C187FBEE2568898AA8F7D1 (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  4177. {
  4178. static bool s_Il2CppMethodInitialized;
  4179. if (!s_Il2CppMethodInitialized)
  4180. {
  4181. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
  4182. s_Il2CppMethodInitialized = true;
  4183. }
  4184. {
  4185. __this->___positionWeight = (1.0f);
  4186. __this->___rotationWeight = (1.0f);
  4187. __this->___shoulderRotationWeight = (1.0f);
  4188. __this->___shoulderTwistWeight = (1.0f);
  4189. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  4190. L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  4191. __this->___wristToPalmAxis = L_0;
  4192. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  4193. L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  4194. __this->___palmToThumbAxis = L_1;
  4195. __this->___armLengthMlp = (1.0f);
  4196. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_2 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354*)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
  4197. AnimationCurve__ctor_m0D976567166F92383307DC8EB8D7082CD34E226F(L_2, NULL);
  4198. __this->___stretchCurve = L_2;
  4199. Il2CppCodeGenWriteBarrier((void**)(&__this->___stretchCurve), (void*)L_2);
  4200. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
  4201. L_3 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4202. __this->___IKRotation = L_3;
  4203. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  4204. L_4 = Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline(NULL);
  4205. __this->___bendDirection = L_4;
  4206. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  4207. L_5 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4208. __this->___chestRotation = L_5;
  4209. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
  4210. L_6 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4211. __this->___forearmRelToUpperArm = L_6;
  4212. BodyPart__ctor_m3C2D6F6CE136D84750B477603D5EB37E1B3A38E4(__this, NULL);
  4213. return;
  4214. }
  4215. }
  4216. #ifdef __clang__
  4217. #pragma clang diagnostic pop
  4218. #endif
  4219. #ifdef __clang__
  4220. #pragma clang diagnostic push
  4221. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4222. #pragma clang diagnostic ignored "-Wunused-variable"
  4223. #endif
  4224. #ifdef __clang__
  4225. #pragma clang diagnostic pop
  4226. #endif
  4227. #ifdef __clang__
  4228. #pragma clang diagnostic push
  4229. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4230. #pragma clang diagnostic ignored "-Wunused-variable"
  4231. #endif
  4232. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float BodyPart_get_sqrMag_mADF222264E7BCB9BF8C851D4156A519A97CC4D39 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, const RuntimeMethod* method)
  4233. {
  4234. {
  4235. float L_0 = __this->___U3CsqrMagU3Ek__BackingField;
  4236. return L_0;
  4237. }
  4238. }
  4239. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_set_sqrMag_mE91CDBD2FA337A4E7888D119CCE7C29A2A7A72D4 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, float ___0_value, const RuntimeMethod* method)
  4240. {
  4241. {
  4242. float L_0 = ___0_value;
  4243. __this->___U3CsqrMagU3Ek__BackingField = L_0;
  4244. return;
  4245. }
  4246. }
  4247. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float BodyPart_get_mag_mC59094481F8E1BABBB58CFA9B5491E0CEB42B0FB (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, const RuntimeMethod* method)
  4248. {
  4249. {
  4250. float L_0 = __this->___U3CmagU3Ek__BackingField;
  4251. return L_0;
  4252. }
  4253. }
  4254. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_set_mag_m1E62A4147D4BB6D6358877F9E345800A74E40667 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, float ___0_value, const RuntimeMethod* method)
  4255. {
  4256. {
  4257. float L_0 = ___0_value;
  4258. __this->___U3CmagU3Ek__BackingField = L_0;
  4259. return;
  4260. }
  4261. }
  4262. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_SetLOD_m144EB600CBEB9A89F7894F86460818581A40A350 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, int32_t ___0_LOD, const RuntimeMethod* method)
  4263. {
  4264. {
  4265. int32_t L_0 = ___0_LOD;
  4266. __this->___LOD = L_0;
  4267. return;
  4268. }
  4269. }
  4270. 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)
  4271. {
  4272. {
  4273. int32_t L_0 = ___8_index;
  4274. __this->___index = L_0;
  4275. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = ___0_positions;
  4276. int32_t L_2 = ___7_rootIndex;
  4277. NullCheck(L_1);
  4278. int32_t L_3 = L_2;
  4279. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  4280. __this->___rootPosition = L_4;
  4281. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_5 = ___1_rotations;
  4282. int32_t L_6 = ___7_rootIndex;
  4283. NullCheck(L_5);
  4284. int32_t L_7 = L_6;
  4285. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  4286. __this->___rootRotation = L_8;
  4287. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_9 = ___0_positions;
  4288. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_10 = ___1_rotations;
  4289. bool L_11 = ___2_hasChest;
  4290. bool L_12 = ___3_hasNeck;
  4291. bool L_13 = ___4_hasShoulders;
  4292. bool L_14 = ___5_hasToes;
  4293. bool L_15 = ___6_hasLegs;
  4294. int32_t L_16 = ___7_rootIndex;
  4295. int32_t L_17 = ___8_index;
  4296. VirtualActionInvoker9< Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*, bool, bool, bool, bool, bool, int32_t, int32_t >::Invoke(4, __this, L_9, L_10, L_11, L_12, L_13, L_14, L_15, L_16, L_17);
  4297. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_18 = (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)(&__this->___bones);
  4298. float L_19;
  4299. L_19 = VirtualBone_PreSolve_mBC9F15E52C251DF529BBA3ADDAD501FD4CC4ED17(L_18, NULL);
  4300. BodyPart_set_mag_m1E62A4147D4BB6D6358877F9E345800A74E40667_inline(__this, L_19, NULL);
  4301. float L_20;
  4302. L_20 = BodyPart_get_mag_mC59094481F8E1BABBB58CFA9B5491E0CEB42B0FB_inline(__this, NULL);
  4303. float L_21;
  4304. L_21 = BodyPart_get_mag_mC59094481F8E1BABBB58CFA9B5491E0CEB42B0FB_inline(__this, NULL);
  4305. BodyPart_set_sqrMag_mE91CDBD2FA337A4E7888D119CCE7C29A2A7A72D4_inline(__this, ((float)il2cpp_codegen_multiply(L_20, L_21)), NULL);
  4306. __this->___initiated = (bool)1;
  4307. return;
  4308. }
  4309. }
  4310. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_MovePosition_m552FFDE073EA19DFD9EE4220437AF98B3B5CEF51 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
  4311. {
  4312. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  4313. memset((&V_0), 0, sizeof(V_0));
  4314. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* V_1 = NULL;
  4315. int32_t V_2 = 0;
  4316. {
  4317. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
  4318. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = __this->___bones;
  4319. NullCheck(L_1);
  4320. int32_t L_2 = 0;
  4321. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  4322. NullCheck(L_3);
  4323. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = L_3->___solverPosition;
  4324. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  4325. L_5 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_0, L_4, NULL);
  4326. V_0 = L_5;
  4327. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_6 = __this->___bones;
  4328. V_1 = L_6;
  4329. V_2 = 0;
  4330. goto IL_0037;
  4331. }
  4332. IL_001f:
  4333. {
  4334. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_7 = V_1;
  4335. int32_t L_8 = V_2;
  4336. NullCheck(L_7);
  4337. int32_t L_9 = L_8;
  4338. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  4339. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_11 = L_10;
  4340. NullCheck(L_11);
  4341. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = L_11->___solverPosition;
  4342. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
  4343. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  4344. L_14 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_12, L_13, NULL);
  4345. NullCheck(L_11);
  4346. L_11->___solverPosition = L_14;
  4347. int32_t L_15 = V_2;
  4348. V_2 = ((int32_t)il2cpp_codegen_add(L_15, 1));
  4349. }
  4350. IL_0037:
  4351. {
  4352. int32_t L_16 = V_2;
  4353. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_17 = V_1;
  4354. NullCheck(L_17);
  4355. if ((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))
  4356. {
  4357. goto IL_001f;
  4358. }
  4359. }
  4360. {
  4361. return;
  4362. }
  4363. }
  4364. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_MoveRotation_m55C068987E9D6BF5E3D6C7279E2D3F4941D93538 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, const RuntimeMethod* method)
  4365. {
  4366. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  4367. memset((&V_0), 0, sizeof(V_0));
  4368. {
  4369. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = __this->___bones;
  4370. NullCheck(L_0);
  4371. int32_t L_1 = 0;
  4372. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  4373. NullCheck(L_2);
  4374. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = L_2->___solverRotation;
  4375. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ___0_rotation;
  4376. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  4377. L_5 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_3, L_4, NULL);
  4378. V_0 = L_5;
  4379. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_6 = __this->___bones;
  4380. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_7 = __this->___bones;
  4381. NullCheck(L_7);
  4382. int32_t L_8 = 0;
  4383. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  4384. NullCheck(L_9);
  4385. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___solverPosition;
  4386. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11 = V_0;
  4387. VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B(L_6, 0, L_10, L_11, NULL);
  4388. return;
  4389. }
  4390. }
  4391. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_Translate_m57C31EA28A5769C8B084E727E8170B56CAA7BB61 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method)
  4392. {
  4393. {
  4394. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
  4395. BodyPart_MovePosition_m552FFDE073EA19DFD9EE4220437AF98B3B5CEF51(__this, L_0, NULL);
  4396. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ___1_rotation;
  4397. BodyPart_MoveRotation_m55C068987E9D6BF5E3D6C7279E2D3F4941D93538(__this, L_1, NULL);
  4398. return;
  4399. }
  4400. }
  4401. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_TranslateRoot_m75F9BA842BC2235D17AD7E5221E143559AA28CC0 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_newRootPos, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_newRootRot, const RuntimeMethod* method)
  4402. {
  4403. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  4404. memset((&V_0), 0, sizeof(V_0));
  4405. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  4406. memset((&V_1), 0, sizeof(V_1));
  4407. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* V_2 = NULL;
  4408. int32_t V_3 = 0;
  4409. {
  4410. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_newRootPos;
  4411. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = __this->___rootPosition;
  4412. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  4413. L_2 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_0, L_1, NULL);
  4414. V_0 = L_2;
  4415. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_newRootPos;
  4416. __this->___rootPosition = L_3;
  4417. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_4 = __this->___bones;
  4418. V_2 = L_4;
  4419. V_3 = 0;
  4420. goto IL_0037;
  4421. }
  4422. IL_001f:
  4423. {
  4424. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_5 = V_2;
  4425. int32_t L_6 = V_3;
  4426. NullCheck(L_5);
  4427. int32_t L_7 = L_6;
  4428. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  4429. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_9 = L_8;
  4430. NullCheck(L_9);
  4431. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___solverPosition;
  4432. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = V_0;
  4433. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  4434. L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_10, L_11, NULL);
  4435. NullCheck(L_9);
  4436. L_9->___solverPosition = L_12;
  4437. int32_t L_13 = V_3;
  4438. V_3 = ((int32_t)il2cpp_codegen_add(L_13, 1));
  4439. }
  4440. IL_0037:
  4441. {
  4442. int32_t L_14 = V_3;
  4443. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_15 = V_2;
  4444. NullCheck(L_15);
  4445. if ((((int32_t)L_14) < ((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))))
  4446. {
  4447. goto IL_001f;
  4448. }
  4449. }
  4450. {
  4451. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = __this->___rootRotation;
  4452. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17 = ___1_newRootRot;
  4453. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
  4454. L_18 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_16, L_17, NULL);
  4455. V_1 = L_18;
  4456. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = ___1_newRootRot;
  4457. __this->___rootRotation = L_19;
  4458. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_20 = __this->___bones;
  4459. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = ___0_newRootPos;
  4460. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = V_1;
  4461. VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B(L_20, 0, L_21, L_22, NULL);
  4462. return;
  4463. }
  4464. }
  4465. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_RotateTo_mEEACCFF82CB75BF8B9C08CD771A91C97C553D1B4 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_bone, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, float ___2_weight, const RuntimeMethod* method)
  4466. {
  4467. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  4468. memset((&V_0), 0, sizeof(V_0));
  4469. int32_t V_1 = 0;
  4470. {
  4471. float L_0 = ___2_weight;
  4472. if ((!(((float)L_0) <= ((float)(0.0f)))))
  4473. {
  4474. goto IL_0009;
  4475. }
  4476. }
  4477. {
  4478. return;
  4479. }
  4480. IL_0009:
  4481. {
  4482. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_1 = ___0_bone;
  4483. NullCheck(L_1);
  4484. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = L_1->___solverRotation;
  4485. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = ___1_rotation;
  4486. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  4487. L_4 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_2, L_3, NULL);
  4488. V_0 = L_4;
  4489. float L_5 = ___2_weight;
  4490. if ((!(((float)L_5) < ((float)(1.0f)))))
  4491. {
  4492. goto IL_002b;
  4493. }
  4494. }
  4495. {
  4496. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
  4497. L_6 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4498. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = V_0;
  4499. float L_8 = ___2_weight;
  4500. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
  4501. L_9 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_6, L_7, L_8, NULL);
  4502. V_0 = L_9;
  4503. }
  4504. IL_002b:
  4505. {
  4506. V_1 = 0;
  4507. goto IL_0059;
  4508. }
  4509. IL_002f:
  4510. {
  4511. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_10 = __this->___bones;
  4512. int32_t L_11 = V_1;
  4513. NullCheck(L_10);
  4514. int32_t L_12 = L_11;
  4515. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  4516. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_14 = ___0_bone;
  4517. if ((!(((RuntimeObject*)(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_13) == ((RuntimeObject*)(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_14))))
  4518. {
  4519. goto IL_0055;
  4520. }
  4521. }
  4522. {
  4523. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_15 = __this->___bones;
  4524. int32_t L_16 = V_1;
  4525. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_17 = __this->___bones;
  4526. int32_t L_18 = V_1;
  4527. NullCheck(L_17);
  4528. int32_t L_19 = L_18;
  4529. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  4530. NullCheck(L_20);
  4531. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = L_20->___solverPosition;
  4532. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = V_0;
  4533. VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B(L_15, L_16, L_21, L_22, NULL);
  4534. return;
  4535. }
  4536. IL_0055:
  4537. {
  4538. int32_t L_23 = V_1;
  4539. V_1 = ((int32_t)il2cpp_codegen_add(L_23, 1));
  4540. }
  4541. IL_0059:
  4542. {
  4543. int32_t L_24 = V_1;
  4544. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_25 = __this->___bones;
  4545. NullCheck(L_25);
  4546. if ((((int32_t)L_24) < ((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length)))))
  4547. {
  4548. goto IL_002f;
  4549. }
  4550. }
  4551. {
  4552. return;
  4553. }
  4554. }
  4555. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_Visualize_m0BE2B4D9F278AAFF0903079EA5F4AC8B8D884FD3 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_color, const RuntimeMethod* method)
  4556. {
  4557. static bool s_Il2CppMethodInitialized;
  4558. if (!s_Il2CppMethodInitialized)
  4559. {
  4560. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  4561. s_Il2CppMethodInitialized = true;
  4562. }
  4563. int32_t V_0 = 0;
  4564. {
  4565. V_0 = 0;
  4566. goto IL_002a;
  4567. }
  4568. IL_0004:
  4569. {
  4570. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = __this->___bones;
  4571. int32_t L_1 = V_0;
  4572. NullCheck(L_0);
  4573. int32_t L_2 = L_1;
  4574. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  4575. NullCheck(L_3);
  4576. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = L_3->___solverPosition;
  4577. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_5 = __this->___bones;
  4578. int32_t L_6 = V_0;
  4579. NullCheck(L_5);
  4580. int32_t L_7 = ((int32_t)il2cpp_codegen_add(L_6, 1));
  4581. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  4582. NullCheck(L_8);
  4583. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = L_8->___solverPosition;
  4584. Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_10 = ___0_color;
  4585. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  4586. Debug_DrawLine_m873C7065638CFE611C48F429742690508044B75A(L_4, L_9, L_10, NULL);
  4587. int32_t L_11 = V_0;
  4588. V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
  4589. }
  4590. IL_002a:
  4591. {
  4592. int32_t L_12 = V_0;
  4593. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_13 = __this->___bones;
  4594. NullCheck(L_13);
  4595. if ((((int32_t)L_12) < ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_13)->max_length)), 1)))))
  4596. {
  4597. goto IL_0004;
  4598. }
  4599. }
  4600. {
  4601. return;
  4602. }
  4603. }
  4604. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart_Visualize_mC718F3A00B2DC34AC7A1352813651732F6CABF19 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, const RuntimeMethod* method)
  4605. {
  4606. {
  4607. Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
  4608. L_0 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
  4609. BodyPart_Visualize_m0BE2B4D9F278AAFF0903079EA5F4AC8B8D884FD3(__this, L_0, NULL);
  4610. return;
  4611. }
  4612. }
  4613. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BodyPart__ctor_m3C2D6F6CE136D84750B477603D5EB37E1B3A38E4 (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, const RuntimeMethod* method)
  4614. {
  4615. static bool s_Il2CppMethodInitialized;
  4616. if (!s_Il2CppMethodInitialized)
  4617. {
  4618. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C_il2cpp_TypeInfo_var);
  4619. s_Il2CppMethodInitialized = true;
  4620. }
  4621. {
  4622. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C*)(VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C*)SZArrayNew(VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C_il2cpp_TypeInfo_var, (uint32_t)0);
  4623. __this->___bones = L_0;
  4624. Il2CppCodeGenWriteBarrier((void**)(&__this->___bones), (void*)L_0);
  4625. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
  4626. L_1 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4627. __this->___rootRotation = L_1;
  4628. __this->___index = (-1);
  4629. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  4630. return;
  4631. }
  4632. }
  4633. #ifdef __clang__
  4634. #pragma clang diagnostic pop
  4635. #endif
  4636. #ifdef __clang__
  4637. #pragma clang diagnostic push
  4638. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4639. #pragma clang diagnostic ignored "-Wunused-variable"
  4640. #endif
  4641. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Footstep_get_isStepping_m309B6A332A8A8939B5BF4AD79F0B40AE7AA13EDA (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, const RuntimeMethod* method)
  4642. {
  4643. {
  4644. float L_0;
  4645. L_0 = Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline(__this, NULL);
  4646. return (bool)((((float)L_0) < ((float)(1.0f)))? 1 : 0);
  4647. }
  4648. }
  4649. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, const RuntimeMethod* method)
  4650. {
  4651. {
  4652. float L_0 = __this->___U3CstepProgressU3Ek__BackingField;
  4653. return L_0;
  4654. }
  4655. }
  4656. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_set_stepProgress_mA9354065BB9A02E1C8C6E1824B25D52DEB7EBC19 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, float ___0_value, const RuntimeMethod* method)
  4657. {
  4658. {
  4659. float L_0 = ___0_value;
  4660. __this->___U3CstepProgressU3Ek__BackingField = L_0;
  4661. return;
  4662. }
  4663. }
  4664. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep__ctor_m944B868F25461680FA058295A1B567E42F500DD2 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rootRotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_footPosition, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_footRotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_characterSpaceOffset, const RuntimeMethod* method)
  4665. {
  4666. {
  4667. __this->___stepSpeed = (3.0f);
  4668. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0;
  4669. L_0 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4670. __this->___rotation = L_0;
  4671. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
  4672. L_1 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4673. __this->___stepToRootRot = L_1;
  4674. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  4675. L_2 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4676. __this->___stepFromRot = L_2;
  4677. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
  4678. L_3 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4679. __this->___stepToRot = L_3;
  4680. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  4681. L_4 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  4682. __this->___footRelativeToRoot = L_4;
  4683. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  4684. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___3_characterSpaceOffset;
  4685. __this->___characterSpaceOffset = L_5;
  4686. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___0_rootRotation;
  4687. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___1_footPosition;
  4688. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ___2_footRotation;
  4689. Footstep_Reset_mF75166B2BD3CF605BE659224CDF52B4084493D29(__this, L_6, L_7, L_8, NULL);
  4690. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = ___0_rootRotation;
  4691. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
  4692. L_10 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_9, NULL);
  4693. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11 = __this->___rotation;
  4694. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
  4695. L_12 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_10, L_11, NULL);
  4696. __this->___footRelativeToRoot = L_12;
  4697. return;
  4698. }
  4699. }
  4700. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_Reset_mF75166B2BD3CF605BE659224CDF52B4084493D29 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rootRotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_footPosition, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_footRotation, const RuntimeMethod* method)
  4701. {
  4702. {
  4703. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_footPosition;
  4704. __this->___position = L_0;
  4705. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ___2_footRotation;
  4706. __this->___rotation = L_1;
  4707. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___position;
  4708. __this->___stepFrom = L_2;
  4709. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___position;
  4710. __this->___stepTo = L_3;
  4711. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = __this->___rotation;
  4712. __this->___stepFromRot = L_4;
  4713. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = __this->___rotation;
  4714. __this->___stepToRot = L_5;
  4715. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___0_rootRotation;
  4716. __this->___stepToRootRot = L_6;
  4717. Footstep_set_stepProgress_mA9354065BB9A02E1C8C6E1824B25D52DEB7EBC19_inline(__this, (1.0f), NULL);
  4718. return;
  4719. }
  4720. }
  4721. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_StepTo_mA261B0B57FA71393A4E8D7BA41406FB8C048EBEB (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rootRotation, float ___2_stepThreshold, const RuntimeMethod* method)
  4722. {
  4723. {
  4724. bool L_0 = __this->___relaxFlag;
  4725. if (!L_0)
  4726. {
  4727. goto IL_0016;
  4728. }
  4729. }
  4730. {
  4731. ___2_stepThreshold = (0.0f);
  4732. __this->___relaxFlag = (bool)0;
  4733. }
  4734. IL_0016:
  4735. {
  4736. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_p;
  4737. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___stepTo;
  4738. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  4739. L_3 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_1, L_2, NULL);
  4740. float L_4;
  4741. L_4 = Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline(L_3, NULL);
  4742. float L_5 = ___2_stepThreshold;
  4743. if ((!(((float)L_4) < ((float)L_5))))
  4744. {
  4745. goto IL_003e;
  4746. }
  4747. }
  4748. {
  4749. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_rootRotation;
  4750. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = __this->___stepToRootRot;
  4751. float L_8;
  4752. L_8 = Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline(L_6, L_7, NULL);
  4753. if ((!(((float)L_8) < ((float)(25.0f)))))
  4754. {
  4755. goto IL_003e;
  4756. }
  4757. }
  4758. {
  4759. return;
  4760. }
  4761. IL_003e:
  4762. {
  4763. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = __this->___position;
  4764. __this->___stepFrom = L_9;
  4765. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_p;
  4766. __this->___stepTo = L_10;
  4767. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11 = __this->___rotation;
  4768. __this->___stepFromRot = L_11;
  4769. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___1_rootRotation;
  4770. __this->___stepToRootRot = L_12;
  4771. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13 = ___1_rootRotation;
  4772. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = __this->___footRelativeToRoot;
  4773. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
  4774. L_15 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_13, L_14, NULL);
  4775. __this->___stepToRot = L_15;
  4776. Footstep_set_stepProgress_mA9354065BB9A02E1C8C6E1824B25D52DEB7EBC19_inline(__this, (0.0f), NULL);
  4777. return;
  4778. }
  4779. }
  4780. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_UpdateStepping_mE6F65896248B683960987B386E0BF2F7270C4244 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rootRotation, float ___2_speed, const RuntimeMethod* method)
  4781. {
  4782. {
  4783. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___stepTo;
  4784. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_p;
  4785. float L_2;
  4786. L_2 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  4787. float L_3 = ___2_speed;
  4788. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  4789. L_4 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_0, L_1, ((float)il2cpp_codegen_multiply(L_2, L_3)), NULL);
  4790. __this->___stepTo = L_4;
  4791. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = __this->___stepToRot;
  4792. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_rootRotation;
  4793. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = __this->___footRelativeToRoot;
  4794. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
  4795. L_8 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_6, L_7, NULL);
  4796. float L_9;
  4797. L_9 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  4798. float L_10 = ___2_speed;
  4799. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  4800. L_11 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_5, L_8, ((float)il2cpp_codegen_multiply(L_9, L_10)), NULL);
  4801. __this->___stepToRot = L_11;
  4802. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = __this->___stepToRot;
  4803. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13 = __this->___footRelativeToRoot;
  4804. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
  4805. L_14 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_13, NULL);
  4806. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
  4807. L_15 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_12, L_14, NULL);
  4808. __this->___stepToRootRot = L_15;
  4809. return;
  4810. }
  4811. }
  4812. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_UpdateStanding_m85877A97934324AFEAC76494DBF4AF4174E49368 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rootRotation, float ___1_minAngle, float ___2_speed, const RuntimeMethod* method)
  4813. {
  4814. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  4815. memset((&V_0), 0, sizeof(V_0));
  4816. float V_1 = 0.0f;
  4817. {
  4818. float L_0 = ___2_speed;
  4819. if ((((float)L_0) <= ((float)(0.0f))))
  4820. {
  4821. goto IL_0010;
  4822. }
  4823. }
  4824. {
  4825. float L_1 = ___1_minAngle;
  4826. if ((!(((float)L_1) >= ((float)(180.0f)))))
  4827. {
  4828. goto IL_0011;
  4829. }
  4830. }
  4831. IL_0010:
  4832. {
  4833. return;
  4834. }
  4835. IL_0011:
  4836. {
  4837. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___0_rootRotation;
  4838. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = __this->___footRelativeToRoot;
  4839. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  4840. L_4 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_2, L_3, NULL);
  4841. V_0 = L_4;
  4842. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = __this->___rotation;
  4843. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = V_0;
  4844. float L_7;
  4845. L_7 = Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline(L_5, L_6, NULL);
  4846. V_1 = L_7;
  4847. float L_8 = V_1;
  4848. float L_9 = ___1_minAngle;
  4849. if ((!(((float)L_8) > ((float)L_9))))
  4850. {
  4851. goto IL_005d;
  4852. }
  4853. }
  4854. {
  4855. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = __this->___rotation;
  4856. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11 = V_0;
  4857. float L_12;
  4858. L_12 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  4859. float L_13 = ___2_speed;
  4860. float L_14 = __this->___supportLegW;
  4861. float L_15 = V_1;
  4862. float L_16 = ___1_minAngle;
  4863. float L_17;
  4864. L_17 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_subtract((1.0f), L_14)))), ((float)il2cpp_codegen_subtract(L_15, L_16)), NULL);
  4865. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
  4866. L_18 = Quaternion_RotateTowards_m50EF9D609C80CD423CDA856EA3481DE2004633A3_inline(L_10, L_11, L_17, NULL);
  4867. __this->___rotation = L_18;
  4868. }
  4869. IL_005d:
  4870. {
  4871. return;
  4872. }
  4873. }
  4874. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Footstep_Update_m4B3C8D8AECC6C543EAEED0A1027308D2D932C7F7 (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, int32_t ___0_interpolation, UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* ___1_onStep, const RuntimeMethod* method)
  4875. {
  4876. float V_0 = 0.0f;
  4877. float V_1 = 0.0f;
  4878. float G_B3_0 = 0.0f;
  4879. {
  4880. bool L_0 = __this->___isSupportLeg;
  4881. if (L_0)
  4882. {
  4883. goto IL_000f;
  4884. }
  4885. }
  4886. {
  4887. G_B3_0 = (0.0f);
  4888. goto IL_0014;
  4889. }
  4890. IL_000f:
  4891. {
  4892. G_B3_0 = (1.0f);
  4893. }
  4894. IL_0014:
  4895. {
  4896. V_0 = G_B3_0;
  4897. float L_1 = __this->___supportLegW;
  4898. float L_2 = V_0;
  4899. float* L_3 = (float*)(&__this->___supportLegWV);
  4900. float L_4;
  4901. L_4 = Mathf_SmoothDamp_m3A255A356924421B4042AAD1623EF46F92A08C91_inline(L_1, L_2, L_3, (0.200000003f), NULL);
  4902. __this->___supportLegW = L_4;
  4903. bool L_5;
  4904. L_5 = Footstep_get_isStepping_m309B6A332A8A8939B5BF4AD79F0B40AE7AA13EDA(__this, NULL);
  4905. if (L_5)
  4906. {
  4907. goto IL_003b;
  4908. }
  4909. }
  4910. {
  4911. return;
  4912. }
  4913. IL_003b:
  4914. {
  4915. float L_6;
  4916. L_6 = Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline(__this, NULL);
  4917. float L_7;
  4918. L_7 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  4919. float L_8 = __this->___stepSpeed;
  4920. float L_9;
  4921. L_9 = Mathf_MoveTowards_m69751B5EC50D8E7127D4BB2C8D908E38808AF45D_inline(L_6, (1.0f), ((float)il2cpp_codegen_multiply(L_7, L_8)), NULL);
  4922. Footstep_set_stepProgress_mA9354065BB9A02E1C8C6E1824B25D52DEB7EBC19_inline(__this, L_9, NULL);
  4923. float L_10;
  4924. L_10 = Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline(__this, NULL);
  4925. if ((!(((float)L_10) >= ((float)(1.0f)))))
  4926. {
  4927. goto IL_0070;
  4928. }
  4929. }
  4930. {
  4931. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* L_11 = ___1_onStep;
  4932. NullCheck(L_11);
  4933. UnityEvent_Invoke_mFBF80D59B03C30C5FE6A06F897D954ACADE061D2(L_11, NULL);
  4934. }
  4935. IL_0070:
  4936. {
  4937. float L_12;
  4938. L_12 = Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline(__this, NULL);
  4939. int32_t L_13 = ___0_interpolation;
  4940. float L_14;
  4941. L_14 = Interp_Float_m218DE9CAA3AAC9F0186C85992D42704BEBCDF902(L_12, L_13, NULL);
  4942. V_1 = L_14;
  4943. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = __this->___stepFrom;
  4944. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = __this->___stepTo;
  4945. float L_17 = V_1;
  4946. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  4947. L_18 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_15, L_16, L_17, NULL);
  4948. __this->___position = L_18;
  4949. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = __this->___stepFromRot;
  4950. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20 = __this->___stepToRot;
  4951. float L_21 = V_1;
  4952. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
  4953. L_22 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_19, L_20, L_21, NULL);
  4954. __this->___rotation = L_22;
  4955. return;
  4956. }
  4957. }
  4958. #ifdef __clang__
  4959. #pragma clang diagnostic pop
  4960. #endif
  4961. #ifdef __clang__
  4962. #pragma clang diagnostic push
  4963. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4964. #pragma clang diagnostic ignored "-Wunused-variable"
  4965. #endif
  4966. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  4967. {
  4968. {
  4969. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CpositionU3Ek__BackingField;
  4970. return L_0;
  4971. }
  4972. }
  4973. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_set_position_m4CB61ADC3BB9CD60A7815342D00CC04469171A63 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  4974. {
  4975. {
  4976. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  4977. __this->___U3CpositionU3Ek__BackingField = L_0;
  4978. return;
  4979. }
  4980. }
  4981. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Leg_get_rotation_mF1455C895FB47CC46BD7676D98B531A8DCD40F8B (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  4982. {
  4983. {
  4984. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___U3CrotationU3Ek__BackingField;
  4985. return L_0;
  4986. }
  4987. }
  4988. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_set_rotation_m56608E1FBA3B4397428CB0C923C16048732104FC (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method)
  4989. {
  4990. {
  4991. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_value;
  4992. __this->___U3CrotationU3Ek__BackingField = L_0;
  4993. return;
  4994. }
  4995. }
  4996. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Leg_get_hasToes_m6FA0D47B1557EB3901C232B17716EA3019BCDA8A (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  4997. {
  4998. {
  4999. bool L_0 = __this->___U3ChasToesU3Ek__BackingField;
  5000. return L_0;
  5001. }
  5002. }
  5003. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_set_hasToes_m0E8B62C139858894C6165A29F472670E8A4A1117 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, bool ___0_value, const RuntimeMethod* method)
  5004. {
  5005. {
  5006. bool L_0 = ___0_value;
  5007. __this->___U3ChasToesU3Ek__BackingField = L_0;
  5008. return;
  5009. }
  5010. }
  5011. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  5012. {
  5013. {
  5014. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5015. NullCheck(L_0);
  5016. int32_t L_1 = 0;
  5017. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  5018. return L_2;
  5019. }
  5020. }
  5021. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  5022. {
  5023. {
  5024. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5025. NullCheck(L_0);
  5026. int32_t L_1 = 1;
  5027. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  5028. return L_2;
  5029. }
  5030. }
  5031. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  5032. {
  5033. {
  5034. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5035. NullCheck(L_0);
  5036. int32_t L_1 = 2;
  5037. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  5038. return L_2;
  5039. }
  5040. }
  5041. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_toes_m4C7327EEC1E6DC58177005B9381D126FE9F62F8E (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  5042. {
  5043. {
  5044. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5045. NullCheck(L_0);
  5046. int32_t L_1 = 3;
  5047. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  5048. return L_2;
  5049. }
  5050. }
  5051. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  5052. {
  5053. {
  5054. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5055. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5056. NullCheck(L_1);
  5057. NullCheck(L_0);
  5058. int32_t L_2 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_1)->max_length)), 1));
  5059. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  5060. return L_3;
  5061. }
  5062. }
  5063. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Leg_get_thighRelativeToPelvis_m2FAD48A130408E578941FDB03EFB3974F05246B8 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  5064. {
  5065. {
  5066. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CthighRelativeToPelvisU3Ek__BackingField;
  5067. return L_0;
  5068. }
  5069. }
  5070. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_set_thighRelativeToPelvis_m2603AD0CD664954B29E4900145E5EFF00A86ED6B (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  5071. {
  5072. {
  5073. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  5074. __this->___U3CthighRelativeToPelvisU3Ek__BackingField = L_0;
  5075. return;
  5076. }
  5077. }
  5078. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_OnRead_m349344A723BA126D7750DFE6AA840211D8A030B3 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __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)
  5079. {
  5080. static bool s_Il2CppMethodInitialized;
  5081. if (!s_Il2CppMethodInitialized)
  5082. {
  5083. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C_il2cpp_TypeInfo_var);
  5084. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  5085. s_Il2CppMethodInitialized = true;
  5086. }
  5087. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  5088. memset((&V_0), 0, sizeof(V_0));
  5089. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  5090. memset((&V_1), 0, sizeof(V_1));
  5091. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  5092. memset((&V_2), 0, sizeof(V_2));
  5093. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
  5094. memset((&V_3), 0, sizeof(V_3));
  5095. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  5096. memset((&V_4), 0, sizeof(V_4));
  5097. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_5;
  5098. memset((&V_5), 0, sizeof(V_5));
  5099. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  5100. memset((&V_6), 0, sizeof(V_6));
  5101. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_7;
  5102. memset((&V_7), 0, sizeof(V_7));
  5103. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* G_B3_0 = NULL;
  5104. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* G_B2_0 = NULL;
  5105. int32_t G_B4_0 = 0;
  5106. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* G_B4_1 = NULL;
  5107. {
  5108. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = ___0_positions;
  5109. int32_t L_1 = ___8_index;
  5110. NullCheck(L_0);
  5111. int32_t L_2 = L_1;
  5112. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  5113. V_0 = L_3;
  5114. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_4 = ___1_rotations;
  5115. int32_t L_5 = ___8_index;
  5116. NullCheck(L_4);
  5117. int32_t L_6 = L_5;
  5118. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  5119. V_1 = L_7;
  5120. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_8 = ___0_positions;
  5121. int32_t L_9 = ___8_index;
  5122. NullCheck(L_8);
  5123. int32_t L_10 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  5124. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  5125. V_2 = L_11;
  5126. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_12 = ___1_rotations;
  5127. int32_t L_13 = ___8_index;
  5128. NullCheck(L_12);
  5129. int32_t L_14 = ((int32_t)il2cpp_codegen_add(L_13, 1));
  5130. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  5131. V_3 = L_15;
  5132. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_16 = ___0_positions;
  5133. int32_t L_17 = ___8_index;
  5134. NullCheck(L_16);
  5135. int32_t L_18 = ((int32_t)il2cpp_codegen_add(L_17, 2));
  5136. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  5137. V_4 = L_19;
  5138. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_20 = ___1_rotations;
  5139. int32_t L_21 = ___8_index;
  5140. NullCheck(L_20);
  5141. int32_t L_22 = ((int32_t)il2cpp_codegen_add(L_21, 2));
  5142. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  5143. V_5 = L_23;
  5144. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_24 = ___0_positions;
  5145. int32_t L_25 = ___8_index;
  5146. NullCheck(L_24);
  5147. int32_t L_26 = ((int32_t)il2cpp_codegen_add(L_25, 3));
  5148. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  5149. V_6 = L_27;
  5150. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_28 = ___1_rotations;
  5151. int32_t L_29 = ___8_index;
  5152. NullCheck(L_28);
  5153. int32_t L_30 = ((int32_t)il2cpp_codegen_add(L_29, 3));
  5154. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  5155. V_7 = L_31;
  5156. bool L_32 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___initiated;
  5157. if (L_32)
  5158. {
  5159. goto IL_0171;
  5160. }
  5161. }
  5162. {
  5163. bool L_33 = ___5_hasToes;
  5164. Leg_set_hasToes_m0E8B62C139858894C6165A29F472670E8A4A1117_inline(__this, L_33, NULL);
  5165. bool L_34 = ___5_hasToes;
  5166. if (L_34)
  5167. {
  5168. G_B3_0 = __this;
  5169. goto IL_0073;
  5170. }
  5171. G_B2_0 = __this;
  5172. }
  5173. {
  5174. G_B4_0 = 3;
  5175. G_B4_1 = G_B2_0;
  5176. goto IL_0074;
  5177. }
  5178. IL_0073:
  5179. {
  5180. G_B4_0 = 4;
  5181. G_B4_1 = G_B3_0;
  5182. }
  5183. IL_0074:
  5184. {
  5185. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_35 = (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C*)(VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C*)SZArrayNew(VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C_il2cpp_TypeInfo_var, (uint32_t)G_B4_0);
  5186. NullCheck(G_B4_1);
  5187. ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)G_B4_1)->___bones = L_35;
  5188. Il2CppCodeGenWriteBarrier((void**)(&((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)G_B4_1)->___bones), (void*)L_35);
  5189. bool L_36 = ___5_hasToes;
  5190. if (!L_36)
  5191. {
  5192. goto IL_00d4;
  5193. }
  5194. }
  5195. {
  5196. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_37 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5197. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_0;
  5198. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39 = V_1;
  5199. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_40 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  5200. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_40, L_38, L_39, NULL);
  5201. NullCheck(L_37);
  5202. ArrayElementTypeCheck (L_37, L_40);
  5203. (L_37)->SetAt(static_cast<il2cpp_array_size_t>(0), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_40);
  5204. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_41 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5205. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_2;
  5206. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_43 = V_3;
  5207. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_44 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  5208. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_44, L_42, L_43, NULL);
  5209. NullCheck(L_41);
  5210. ArrayElementTypeCheck (L_41, L_44);
  5211. (L_41)->SetAt(static_cast<il2cpp_array_size_t>(1), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_44);
  5212. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_45 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5213. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = V_4;
  5214. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_47 = V_5;
  5215. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_48 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  5216. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_48, L_46, L_47, NULL);
  5217. NullCheck(L_45);
  5218. ArrayElementTypeCheck (L_45, L_48);
  5219. (L_45)->SetAt(static_cast<il2cpp_array_size_t>(2), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_48);
  5220. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_49 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5221. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = V_6;
  5222. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_51 = V_7;
  5223. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_52 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  5224. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_52, L_50, L_51, NULL);
  5225. NullCheck(L_49);
  5226. ArrayElementTypeCheck (L_49, L_52);
  5227. (L_49)->SetAt(static_cast<il2cpp_array_size_t>(3), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_52);
  5228. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = V_6;
  5229. __this->___IKPosition = L_53;
  5230. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54 = V_7;
  5231. __this->___IKRotation = L_54;
  5232. goto IL_0113;
  5233. }
  5234. IL_00d4:
  5235. {
  5236. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_55 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5237. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_0;
  5238. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_57 = V_1;
  5239. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_58 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  5240. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_58, L_56, L_57, NULL);
  5241. NullCheck(L_55);
  5242. ArrayElementTypeCheck (L_55, L_58);
  5243. (L_55)->SetAt(static_cast<il2cpp_array_size_t>(0), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_58);
  5244. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_59 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5245. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = V_2;
  5246. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_61 = V_3;
  5247. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_62 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  5248. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_62, L_60, L_61, NULL);
  5249. NullCheck(L_59);
  5250. ArrayElementTypeCheck (L_59, L_62);
  5251. (L_59)->SetAt(static_cast<il2cpp_array_size_t>(1), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_62);
  5252. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_63 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5253. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = V_4;
  5254. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65 = V_5;
  5255. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_66 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  5256. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_66, L_64, L_65, NULL);
  5257. NullCheck(L_63);
  5258. ArrayElementTypeCheck (L_63, L_66);
  5259. (L_63)->SetAt(static_cast<il2cpp_array_size_t>(2), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_66);
  5260. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_4;
  5261. __this->___IKPosition = L_67;
  5262. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_68 = V_5;
  5263. __this->___IKRotation = L_68;
  5264. }
  5265. IL_0113:
  5266. {
  5267. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69 = V_2;
  5268. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = V_0;
  5269. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
  5270. L_71 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_69, L_70, NULL);
  5271. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = V_4;
  5272. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73 = V_2;
  5273. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74;
  5274. L_74 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_72, L_73, NULL);
  5275. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
  5276. L_75 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_71, L_74, NULL);
  5277. __this->___bendNormal = L_75;
  5278. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_76 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  5279. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_77;
  5280. L_77 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_76, NULL);
  5281. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = __this->___bendNormal;
  5282. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
  5283. L_79 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_77, L_78, NULL);
  5284. __this->___bendNormalRelToPelvis = L_79;
  5285. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_80 = __this->___IKRotation;
  5286. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_81;
  5287. L_81 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_80, NULL);
  5288. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82 = __this->___bendNormal;
  5289. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
  5290. L_83 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_81, L_82, NULL);
  5291. __this->___bendNormalRelToTarget = L_83;
  5292. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_84 = __this->___IKRotation;
  5293. Leg_set_rotation_m56608E1FBA3B4397428CB0C923C16048732104FC_inline(__this, L_84, NULL);
  5294. }
  5295. IL_0171:
  5296. {
  5297. bool L_85 = ___5_hasToes;
  5298. if (!L_85)
  5299. {
  5300. goto IL_01b6;
  5301. }
  5302. }
  5303. {
  5304. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_86 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5305. NullCheck(L_86);
  5306. int32_t L_87 = 0;
  5307. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_88 = (L_86)->GetAt(static_cast<il2cpp_array_size_t>(L_87));
  5308. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89 = V_0;
  5309. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_90 = V_1;
  5310. NullCheck(L_88);
  5311. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_88, L_89, L_90, NULL);
  5312. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_91 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5313. NullCheck(L_91);
  5314. int32_t L_92 = 1;
  5315. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_93 = (L_91)->GetAt(static_cast<il2cpp_array_size_t>(L_92));
  5316. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94 = V_2;
  5317. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_95 = V_3;
  5318. NullCheck(L_93);
  5319. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_93, L_94, L_95, NULL);
  5320. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_96 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5321. NullCheck(L_96);
  5322. int32_t L_97 = 2;
  5323. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_98 = (L_96)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
  5324. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99 = V_4;
  5325. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_100 = V_5;
  5326. NullCheck(L_98);
  5327. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_98, L_99, L_100, NULL);
  5328. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_101 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5329. NullCheck(L_101);
  5330. int32_t L_102 = 3;
  5331. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_103 = (L_101)->GetAt(static_cast<il2cpp_array_size_t>(L_102));
  5332. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104 = V_6;
  5333. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_105 = V_7;
  5334. NullCheck(L_103);
  5335. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_103, L_104, L_105, NULL);
  5336. return;
  5337. }
  5338. IL_01b6:
  5339. {
  5340. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_106 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5341. NullCheck(L_106);
  5342. int32_t L_107 = 0;
  5343. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_108 = (L_106)->GetAt(static_cast<il2cpp_array_size_t>(L_107));
  5344. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_109 = V_0;
  5345. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_110 = V_1;
  5346. NullCheck(L_108);
  5347. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_108, L_109, L_110, NULL);
  5348. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_111 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5349. NullCheck(L_111);
  5350. int32_t L_112 = 1;
  5351. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_113 = (L_111)->GetAt(static_cast<il2cpp_array_size_t>(L_112));
  5352. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114 = V_2;
  5353. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_115 = V_3;
  5354. NullCheck(L_113);
  5355. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_113, L_114, L_115, NULL);
  5356. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_116 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5357. NullCheck(L_116);
  5358. int32_t L_117 = 2;
  5359. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_118 = (L_116)->GetAt(static_cast<il2cpp_array_size_t>(L_117));
  5360. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119 = V_4;
  5361. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_120 = V_5;
  5362. NullCheck(L_118);
  5363. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_118, L_119, L_120, NULL);
  5364. return;
  5365. }
  5366. }
  5367. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_PreSolve_mF258E9AE521D7EA699B4642F2C96165218DC2F37 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  5368. {
  5369. static bool s_Il2CppMethodInitialized;
  5370. if (!s_Il2CppMethodInitialized)
  5371. {
  5372. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  5373. s_Il2CppMethodInitialized = true;
  5374. }
  5375. {
  5376. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___target;
  5377. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  5378. bool L_1;
  5379. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  5380. if (!L_1)
  5381. {
  5382. goto IL_0030;
  5383. }
  5384. }
  5385. {
  5386. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___target;
  5387. NullCheck(L_2);
  5388. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  5389. L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
  5390. __this->___IKPosition = L_3;
  5391. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___target;
  5392. NullCheck(L_4);
  5393. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  5394. L_5 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_4, NULL);
  5395. __this->___IKRotation = L_5;
  5396. }
  5397. IL_0030:
  5398. {
  5399. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_6;
  5400. L_6 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  5401. NullCheck(L_6);
  5402. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = L_6->___solverPosition;
  5403. __this->___footPosition = L_7;
  5404. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8;
  5405. L_8 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  5406. NullCheck(L_8);
  5407. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8->___solverRotation;
  5408. __this->___footRotation = L_9;
  5409. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_10;
  5410. L_10 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(__this, NULL);
  5411. NullCheck(L_10);
  5412. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = L_10->___solverPosition;
  5413. Leg_set_position_m4CB61ADC3BB9CD60A7815342D00CC04469171A63_inline(__this, L_11, NULL);
  5414. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_12;
  5415. L_12 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(__this, NULL);
  5416. NullCheck(L_12);
  5417. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13 = L_12->___solverRotation;
  5418. Leg_set_rotation_m56608E1FBA3B4397428CB0C923C16048732104FC_inline(__this, L_13, NULL);
  5419. float L_14 = __this->___rotationWeight;
  5420. if ((!(((float)L_14) > ((float)(0.0f)))))
  5421. {
  5422. goto IL_009e;
  5423. }
  5424. }
  5425. {
  5426. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
  5427. L_15 = Leg_get_rotation_mF1455C895FB47CC46BD7676D98B531A8DCD40F8B_inline(__this, NULL);
  5428. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = __this->___IKRotation;
  5429. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17;
  5430. L_17 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_15, L_16, NULL);
  5431. float L_18 = __this->___rotationWeight;
  5432. Leg_ApplyRotationOffset_m074325724170692157F4F4BF494BE54F9045DAF6(__this, L_17, L_18, NULL);
  5433. }
  5434. IL_009e:
  5435. {
  5436. float L_19 = __this->___positionWeight;
  5437. if ((!(((float)L_19) > ((float)(0.0f)))))
  5438. {
  5439. goto IL_00c8;
  5440. }
  5441. }
  5442. {
  5443. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = __this->___IKPosition;
  5444. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  5445. L_21 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5446. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  5447. L_22 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_20, L_21, NULL);
  5448. float L_23 = __this->___positionWeight;
  5449. Leg_ApplyPositionOffset_m7C5963FD50203AFA5A8F204D8DDE89DDAF0AC051(__this, L_22, L_23, NULL);
  5450. }
  5451. IL_00c8:
  5452. {
  5453. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  5454. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25;
  5455. L_25 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_24, NULL);
  5456. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_26;
  5457. L_26 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5458. NullCheck(L_26);
  5459. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = L_26->___solverPosition;
  5460. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootPosition;
  5461. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
  5462. L_29 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_27, L_28, NULL);
  5463. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  5464. L_30 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_25, L_29, NULL);
  5465. Leg_set_thighRelativeToPelvis_m2603AD0CD664954B29E4900145E5EFF00A86ED6B_inline(__this, L_30, NULL);
  5466. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_31;
  5467. L_31 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5468. NullCheck(L_31);
  5469. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = L_31->___solverRotation;
  5470. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33;
  5471. L_33 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_32, NULL);
  5472. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_34;
  5473. L_34 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  5474. NullCheck(L_34);
  5475. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35 = L_34->___solverRotation;
  5476. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36;
  5477. L_36 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_33, L_35, NULL);
  5478. __this->___calfRelToThigh = L_36;
  5479. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_37;
  5480. L_37 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(__this, NULL);
  5481. NullCheck(L_37);
  5482. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38 = L_37->___solverRotation;
  5483. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39;
  5484. L_39 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_38, NULL);
  5485. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_40;
  5486. L_40 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5487. NullCheck(L_40);
  5488. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41 = L_40->___solverRotation;
  5489. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42;
  5490. L_42 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_39, L_41, NULL);
  5491. __this->___thighRelToFoot = L_42;
  5492. bool L_43 = __this->___useAnimatedBendNormal;
  5493. if (!L_43)
  5494. {
  5495. goto IL_018b;
  5496. }
  5497. }
  5498. {
  5499. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_44;
  5500. L_44 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  5501. NullCheck(L_44);
  5502. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = L_44->___solverPosition;
  5503. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_46;
  5504. L_46 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5505. NullCheck(L_46);
  5506. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = L_46->___solverPosition;
  5507. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
  5508. L_48 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_45, L_47, NULL);
  5509. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_49;
  5510. L_49 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  5511. NullCheck(L_49);
  5512. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = L_49->___solverPosition;
  5513. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_51;
  5514. L_51 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  5515. NullCheck(L_51);
  5516. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = L_51->___solverPosition;
  5517. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
  5518. L_53 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_50, L_52, NULL);
  5519. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
  5520. L_54 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_48, L_53, NULL);
  5521. __this->___bendNormal = L_54;
  5522. goto IL_020a;
  5523. }
  5524. IL_018b:
  5525. {
  5526. float L_55 = __this->___bendToTargetWeight;
  5527. if ((!(((float)L_55) <= ((float)(0.0f)))))
  5528. {
  5529. goto IL_01b1;
  5530. }
  5531. }
  5532. {
  5533. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  5534. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = __this->___bendNormalRelToPelvis;
  5535. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
  5536. L_58 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_56, L_57, NULL);
  5537. __this->___bendNormal = L_58;
  5538. goto IL_020a;
  5539. }
  5540. IL_01b1:
  5541. {
  5542. float L_59 = __this->___bendToTargetWeight;
  5543. if ((!(((float)L_59) >= ((float)(1.0f)))))
  5544. {
  5545. goto IL_01d7;
  5546. }
  5547. }
  5548. {
  5549. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60;
  5550. L_60 = Leg_get_rotation_mF1455C895FB47CC46BD7676D98B531A8DCD40F8B_inline(__this, NULL);
  5551. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = __this->___bendNormalRelToTarget;
  5552. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
  5553. L_62 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_60, L_61, NULL);
  5554. __this->___bendNormal = L_62;
  5555. goto IL_020a;
  5556. }
  5557. IL_01d7:
  5558. {
  5559. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_63 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  5560. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = __this->___bendNormalRelToPelvis;
  5561. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
  5562. L_65 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_63, L_64, NULL);
  5563. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66;
  5564. L_66 = Leg_get_rotation_mF1455C895FB47CC46BD7676D98B531A8DCD40F8B_inline(__this, NULL);
  5565. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = __this->___bendNormalRelToTarget;
  5566. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
  5567. L_68 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_66, L_67, NULL);
  5568. float L_69 = __this->___bendToTargetWeight;
  5569. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70;
  5570. L_70 = Vector3_Slerp_m6CA14E5B6F6217802BAA0ADD2C9D086C741BA09C(L_65, L_68, L_69, NULL);
  5571. __this->___bendNormal = L_70;
  5572. }
  5573. IL_020a:
  5574. {
  5575. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_71 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___bendNormal);
  5576. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
  5577. L_72 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline(L_71, NULL);
  5578. __this->___bendNormal = L_72;
  5579. return;
  5580. }
  5581. }
  5582. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_ApplyOffsets_m607E1083E95E094DE0DECC05DD707EE4943789AB (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, float ___0_scale, const RuntimeMethod* method)
  5583. {
  5584. static bool s_Il2CppMethodInitialized;
  5585. if (!s_Il2CppMethodInitialized)
  5586. {
  5587. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  5588. s_Il2CppMethodInitialized = true;
  5589. }
  5590. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  5591. memset((&V_0), 0, sizeof(V_0));
  5592. float V_1 = 0.0f;
  5593. float V_2 = 0.0f;
  5594. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  5595. memset((&V_3), 0, sizeof(V_3));
  5596. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  5597. memset((&V_4), 0, sizeof(V_4));
  5598. {
  5599. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___footPositionOffset;
  5600. Leg_ApplyPositionOffset_m7C5963FD50203AFA5A8F204D8DDE89DDAF0AC051(__this, L_0, (1.0f), NULL);
  5601. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = __this->___footRotationOffset;
  5602. Leg_ApplyRotationOffset_m074325724170692157F4F4BF494BE54F9045DAF6(__this, L_1, (1.0f), NULL);
  5603. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___footPosition;
  5604. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  5605. L_3 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5606. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  5607. L_4 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_3, NULL);
  5608. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = __this->___footPosition;
  5609. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = __this->___heelPositionOffset;
  5610. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  5611. L_7 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_5, L_6, NULL);
  5612. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  5613. L_8 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5614. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  5615. L_9 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_7, L_8, NULL);
  5616. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
  5617. L_10 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_4, L_9, NULL);
  5618. V_0 = L_10;
  5619. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  5620. L_11 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5621. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = V_0;
  5622. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = __this->___footPosition;
  5623. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  5624. L_14 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5625. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  5626. L_15 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_13, L_14, NULL);
  5627. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  5628. L_16 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_12, L_15, NULL);
  5629. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  5630. L_17 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_11, L_16, NULL);
  5631. __this->___footPosition = L_17;
  5632. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18 = V_0;
  5633. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = __this->___footRotation;
  5634. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
  5635. L_20 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_18, L_19, NULL);
  5636. __this->___footRotation = L_20;
  5637. V_1 = (0.0f);
  5638. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21 = __this->___bendGoal;
  5639. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  5640. bool L_22;
  5641. L_22 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_21, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  5642. if (!L_22)
  5643. {
  5644. goto IL_0141;
  5645. }
  5646. }
  5647. {
  5648. float L_23 = __this->___bendGoalWeight;
  5649. if ((!(((float)L_23) > ((float)(0.0f)))))
  5650. {
  5651. goto IL_0141;
  5652. }
  5653. }
  5654. {
  5655. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = __this->___bendGoal;
  5656. NullCheck(L_24);
  5657. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  5658. L_25 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_24, NULL);
  5659. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_26;
  5660. L_26 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5661. NullCheck(L_26);
  5662. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = L_26->___solverPosition;
  5663. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
  5664. L_28 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_25, L_27, NULL);
  5665. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
  5666. L_29 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5667. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_30;
  5668. L_30 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5669. NullCheck(L_30);
  5670. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = L_30->___solverPosition;
  5671. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
  5672. L_32 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_29, L_31, NULL);
  5673. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
  5674. L_33 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_28, L_32, NULL);
  5675. V_3 = L_33;
  5676. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = __this->___bendNormal;
  5677. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_35;
  5678. L_35 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5679. NullCheck(L_35);
  5680. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = L_35->___solverPosition;
  5681. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_37;
  5682. L_37 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  5683. NullCheck(L_37);
  5684. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = L_37->___solverPosition;
  5685. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
  5686. L_39 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_36, L_38, NULL);
  5687. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_40;
  5688. L_40 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_34, L_39, NULL);
  5689. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41;
  5690. L_41 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_40, NULL);
  5691. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_3;
  5692. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
  5693. L_43 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_41, L_42, NULL);
  5694. V_4 = L_43;
  5695. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_4;
  5696. float L_45 = L_44.___x;
  5697. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = V_4;
  5698. float L_47 = L_46.___z;
  5699. float L_48;
  5700. L_48 = atan2f(L_45, L_47);
  5701. float L_49 = __this->___bendGoalWeight;
  5702. V_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_48, (57.2957802f))), L_49));
  5703. }
  5704. IL_0141:
  5705. {
  5706. float L_50 = __this->___swivelOffset;
  5707. float L_51 = V_1;
  5708. V_2 = ((float)il2cpp_codegen_add(L_50, L_51));
  5709. float L_52 = V_2;
  5710. if ((((float)L_52) == ((float)(0.0f))))
  5711. {
  5712. goto IL_01c1;
  5713. }
  5714. }
  5715. {
  5716. float L_53 = V_2;
  5717. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_54;
  5718. L_54 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5719. NullCheck(L_54);
  5720. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = L_54->___solverPosition;
  5721. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_56;
  5722. L_56 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(__this, NULL);
  5723. NullCheck(L_56);
  5724. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = L_56->___solverPosition;
  5725. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
  5726. L_58 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_55, L_57, NULL);
  5727. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59;
  5728. L_59 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_53, L_58, NULL);
  5729. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = __this->___bendNormal;
  5730. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
  5731. L_61 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_59, L_60, NULL);
  5732. __this->___bendNormal = L_61;
  5733. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_62;
  5734. L_62 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5735. float L_63 = V_2;
  5736. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_64;
  5737. L_64 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5738. NullCheck(L_64);
  5739. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65 = L_64->___solverRotation;
  5740. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_66;
  5741. L_66 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5742. NullCheck(L_66);
  5743. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = L_66->___axis;
  5744. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
  5745. L_68 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_65, L_67, NULL);
  5746. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69;
  5747. L_69 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(((-L_63)), L_68, NULL);
  5748. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_70;
  5749. L_70 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5750. NullCheck(L_70);
  5751. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_71 = L_70->___solverRotation;
  5752. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_72;
  5753. L_72 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_69, L_71, NULL);
  5754. NullCheck(L_62);
  5755. L_62->___solverRotation = L_72;
  5756. }
  5757. IL_01c1:
  5758. {
  5759. return;
  5760. }
  5761. }
  5762. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_ApplyPositionOffset_m7C5963FD50203AFA5A8F204D8DDE89DDAF0AC051 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_offset, float ___1_weight, const RuntimeMethod* method)
  5763. {
  5764. {
  5765. float L_0 = ___1_weight;
  5766. if ((!(((float)L_0) <= ((float)(0.0f)))))
  5767. {
  5768. goto IL_0009;
  5769. }
  5770. }
  5771. {
  5772. return;
  5773. }
  5774. IL_0009:
  5775. {
  5776. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_offset;
  5777. float L_2 = ___1_weight;
  5778. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  5779. L_3 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_1, L_2, NULL);
  5780. ___0_offset = L_3;
  5781. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___footPosition;
  5782. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___0_offset;
  5783. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  5784. L_6 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_4, L_5, NULL);
  5785. __this->___footPosition = L_6;
  5786. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  5787. L_7 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5788. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_offset;
  5789. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  5790. L_9 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_7, L_8, NULL);
  5791. Leg_set_position_m4CB61ADC3BB9CD60A7815342D00CC04469171A63_inline(__this, L_9, NULL);
  5792. return;
  5793. }
  5794. }
  5795. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_ApplyRotationOffset_m074325724170692157F4F4BF494BE54F9045DAF6 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_offset, float ___1_weight, const RuntimeMethod* method)
  5796. {
  5797. {
  5798. float L_0 = ___1_weight;
  5799. if ((!(((float)L_0) <= ((float)(0.0f)))))
  5800. {
  5801. goto IL_0009;
  5802. }
  5803. }
  5804. {
  5805. return;
  5806. }
  5807. IL_0009:
  5808. {
  5809. float L_1 = ___1_weight;
  5810. if ((!(((float)L_1) < ((float)(1.0f)))))
  5811. {
  5812. goto IL_001f;
  5813. }
  5814. }
  5815. {
  5816. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  5817. L_2 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  5818. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = ___0_offset;
  5819. float L_4 = ___1_weight;
  5820. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  5821. L_5 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_2, L_3, L_4, NULL);
  5822. ___0_offset = L_5;
  5823. }
  5824. IL_001f:
  5825. {
  5826. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___0_offset;
  5827. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = __this->___footRotation;
  5828. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
  5829. L_8 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_6, L_7, NULL);
  5830. __this->___footRotation = L_8;
  5831. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = ___0_offset;
  5832. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
  5833. L_10 = Leg_get_rotation_mF1455C895FB47CC46BD7676D98B531A8DCD40F8B_inline(__this, NULL);
  5834. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  5835. L_11 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_9, L_10, NULL);
  5836. Leg_set_rotation_m56608E1FBA3B4397428CB0C923C16048732104FC_inline(__this, L_11, NULL);
  5837. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___0_offset;
  5838. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = __this->___bendNormal;
  5839. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  5840. L_14 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_12, L_13, NULL);
  5841. __this->___bendNormal = L_14;
  5842. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  5843. L_15 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5844. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = ___0_offset;
  5845. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = __this->___footPosition;
  5846. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  5847. L_18 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5848. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  5849. L_19 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_17, L_18, NULL);
  5850. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  5851. L_20 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_16, L_19, NULL);
  5852. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  5853. L_21 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_20, NULL);
  5854. __this->___footPosition = L_21;
  5855. return;
  5856. }
  5857. }
  5858. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_Solve_mD08F2AE15FBA4ACAF5ACE013A2BD3524CC468654 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, bool ___0_stretch, const RuntimeMethod* method)
  5859. {
  5860. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  5861. memset((&V_0), 0, sizeof(V_0));
  5862. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  5863. memset((&V_1), 0, sizeof(V_1));
  5864. {
  5865. bool L_0 = ___0_stretch;
  5866. if (!L_0)
  5867. {
  5868. goto IL_0012;
  5869. }
  5870. }
  5871. {
  5872. int32_t L_1 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___LOD;
  5873. if ((((int32_t)L_1) >= ((int32_t)1)))
  5874. {
  5875. goto IL_0012;
  5876. }
  5877. }
  5878. {
  5879. Leg_Stretching_mBD2548751475767B1FE72D68E60D4042511A32CC(__this, NULL);
  5880. }
  5881. IL_0012:
  5882. {
  5883. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_2 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5884. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___footPosition;
  5885. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___bendNormal;
  5886. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_2, 0, 1, 2, L_3, L_4, (1.0f), NULL);
  5887. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_5;
  5888. L_5 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  5889. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = __this->___footRotation;
  5890. BodyPart_RotateTo_mEEACCFF82CB75BF8B9C08CD771A91C97C553D1B4(__this, L_5, L_6, (1.0f), NULL);
  5891. bool L_7;
  5892. L_7 = Leg_get_hasToes_m6FA0D47B1557EB3901C232B17716EA3019BCDA8A_inline(__this, NULL);
  5893. if (L_7)
  5894. {
  5895. goto IL_0057;
  5896. }
  5897. }
  5898. {
  5899. Leg_FixTwistRotations_mB139554C145E725D6698367F95BF32F741851F50(__this, NULL);
  5900. return;
  5901. }
  5902. IL_0057:
  5903. {
  5904. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8;
  5905. L_8 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  5906. NullCheck(L_8);
  5907. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = L_8->___solverPosition;
  5908. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_10;
  5909. L_10 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5910. NullCheck(L_10);
  5911. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = L_10->___solverPosition;
  5912. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  5913. L_12 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_9, L_11, NULL);
  5914. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_13;
  5915. L_13 = Leg_get_toes_m4C7327EEC1E6DC58177005B9381D126FE9F62F8E(__this, NULL);
  5916. NullCheck(L_13);
  5917. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___solverPosition;
  5918. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_15;
  5919. L_15 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  5920. NullCheck(L_15);
  5921. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = L_15->___solverPosition;
  5922. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  5923. L_17 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_14, L_16, NULL);
  5924. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  5925. L_18 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_12, L_17, NULL);
  5926. V_1 = L_18;
  5927. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  5928. L_19 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_1), NULL);
  5929. V_0 = L_19;
  5930. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_20 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  5931. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  5932. L_21 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(__this, NULL);
  5933. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_0;
  5934. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_20, 0, 2, 3, L_21, L_22, (1.0f), NULL);
  5935. Leg_FixTwistRotations_mB139554C145E725D6698367F95BF32F741851F50(__this, NULL);
  5936. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_23;
  5937. L_23 = Leg_get_toes_m4C7327EEC1E6DC58177005B9381D126FE9F62F8E(__this, NULL);
  5938. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24;
  5939. L_24 = Leg_get_rotation_mF1455C895FB47CC46BD7676D98B531A8DCD40F8B_inline(__this, NULL);
  5940. NullCheck(L_23);
  5941. L_23->___solverRotation = L_24;
  5942. return;
  5943. }
  5944. }
  5945. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_FixTwistRotations_mB139554C145E725D6698367F95BF32F741851F50 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  5946. {
  5947. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  5948. memset((&V_0), 0, sizeof(V_0));
  5949. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  5950. memset((&V_1), 0, sizeof(V_1));
  5951. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
  5952. memset((&V_2), 0, sizeof(V_2));
  5953. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
  5954. memset((&V_3), 0, sizeof(V_3));
  5955. {
  5956. int32_t L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___LOD;
  5957. if ((((int32_t)L_0) >= ((int32_t)1)))
  5958. {
  5959. goto IL_0104;
  5960. }
  5961. }
  5962. {
  5963. float L_1 = __this->___bendToTargetWeight;
  5964. if ((!(((float)L_1) > ((float)(0.0f)))))
  5965. {
  5966. goto IL_00a9;
  5967. }
  5968. }
  5969. {
  5970. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  5971. L_2 = Leg_get_rotation_mF1455C895FB47CC46BD7676D98B531A8DCD40F8B_inline(__this, NULL);
  5972. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = __this->___thighRelToFoot;
  5973. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  5974. L_4 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_2, L_3, NULL);
  5975. V_2 = L_4;
  5976. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = V_2;
  5977. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_6;
  5978. L_6 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5979. NullCheck(L_6);
  5980. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = L_6->___axis;
  5981. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  5982. L_8 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_5, L_7, NULL);
  5983. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_9;
  5984. L_9 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  5985. NullCheck(L_9);
  5986. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___solverPosition;
  5987. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_11;
  5988. L_11 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  5989. NullCheck(L_11);
  5990. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = L_11->___solverPosition;
  5991. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  5992. L_13 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_10, L_12, NULL);
  5993. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
  5994. L_14 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_8, L_13, NULL);
  5995. V_3 = L_14;
  5996. float L_15 = __this->___bendToTargetWeight;
  5997. if ((!(((float)L_15) < ((float)(1.0f)))))
  5998. {
  5999. goto IL_0097;
  6000. }
  6001. }
  6002. {
  6003. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_16;
  6004. L_16 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6005. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_17;
  6006. L_17 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6007. NullCheck(L_17);
  6008. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18 = L_17->___solverRotation;
  6009. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = V_3;
  6010. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20 = V_2;
  6011. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21;
  6012. L_21 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_19, L_20, NULL);
  6013. float L_22 = __this->___bendToTargetWeight;
  6014. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23;
  6015. L_23 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_18, L_21, L_22, NULL);
  6016. NullCheck(L_16);
  6017. L_16->___solverRotation = L_23;
  6018. goto IL_00a9;
  6019. }
  6020. IL_0097:
  6021. {
  6022. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_24;
  6023. L_24 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6024. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25 = V_3;
  6025. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26 = V_2;
  6026. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
  6027. L_27 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_25, L_26, NULL);
  6028. NullCheck(L_24);
  6029. L_24->___solverRotation = L_27;
  6030. }
  6031. IL_00a9:
  6032. {
  6033. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_28;
  6034. L_28 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6035. NullCheck(L_28);
  6036. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29 = L_28->___solverRotation;
  6037. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30 = __this->___calfRelToThigh;
  6038. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31;
  6039. L_31 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_29, L_30, NULL);
  6040. V_0 = L_31;
  6041. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = V_0;
  6042. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_33;
  6043. L_33 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6044. NullCheck(L_33);
  6045. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = L_33->___axis;
  6046. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  6047. L_35 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_32, L_34, NULL);
  6048. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_36;
  6049. L_36 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  6050. NullCheck(L_36);
  6051. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = L_36->___solverPosition;
  6052. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_38;
  6053. L_38 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6054. NullCheck(L_38);
  6055. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = L_38->___solverPosition;
  6056. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
  6057. L_40 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_37, L_39, NULL);
  6058. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41;
  6059. L_41 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_35, L_40, NULL);
  6060. V_1 = L_41;
  6061. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_42;
  6062. L_42 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6063. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_43 = V_1;
  6064. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44 = V_0;
  6065. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_45;
  6066. L_45 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_43, L_44, NULL);
  6067. NullCheck(L_42);
  6068. L_42->___solverRotation = L_45;
  6069. }
  6070. IL_0104:
  6071. {
  6072. return;
  6073. }
  6074. }
  6075. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_Stretching_mBD2548751475767B1FE72D68E60D4042511A32CC (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  6076. {
  6077. float V_0 = 0.0f;
  6078. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  6079. memset((&V_1), 0, sizeof(V_1));
  6080. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  6081. memset((&V_2), 0, sizeof(V_2));
  6082. float V_3 = 0.0f;
  6083. float V_4 = 0.0f;
  6084. {
  6085. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0;
  6086. L_0 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6087. NullCheck(L_0);
  6088. float L_1 = L_0->___length;
  6089. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_2;
  6090. L_2 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6091. NullCheck(L_2);
  6092. float L_3 = L_2->___length;
  6093. V_0 = ((float)il2cpp_codegen_add(L_1, L_3));
  6094. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  6095. L_4 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  6096. V_1 = L_4;
  6097. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  6098. L_5 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  6099. V_2 = L_5;
  6100. float L_6 = __this->___legLengthMlp;
  6101. if ((((float)L_6) == ((float)(1.0f))))
  6102. {
  6103. goto IL_0106;
  6104. }
  6105. }
  6106. {
  6107. float L_7 = V_0;
  6108. float L_8 = __this->___legLengthMlp;
  6109. V_0 = ((float)il2cpp_codegen_multiply(L_7, L_8));
  6110. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_9;
  6111. L_9 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6112. NullCheck(L_9);
  6113. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___solverPosition;
  6114. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_11;
  6115. L_11 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6116. NullCheck(L_11);
  6117. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = L_11->___solverPosition;
  6118. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  6119. L_13 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_10, L_12, NULL);
  6120. float L_14 = __this->___legLengthMlp;
  6121. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  6122. L_15 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_13, ((float)il2cpp_codegen_subtract(L_14, (1.0f))), NULL);
  6123. float L_16 = __this->___positionWeight;
  6124. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  6125. L_17 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_15, L_16, NULL);
  6126. V_1 = L_17;
  6127. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_18;
  6128. L_18 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  6129. NullCheck(L_18);
  6130. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___solverPosition;
  6131. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_20;
  6132. L_20 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6133. NullCheck(L_20);
  6134. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = L_20->___solverPosition;
  6135. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  6136. L_22 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_19, L_21, NULL);
  6137. float L_23 = __this->___legLengthMlp;
  6138. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  6139. L_24 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_22, ((float)il2cpp_codegen_subtract(L_23, (1.0f))), NULL);
  6140. float L_25 = __this->___positionWeight;
  6141. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  6142. L_26 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_24, L_25, NULL);
  6143. V_2 = L_26;
  6144. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_27;
  6145. L_27 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6146. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_28 = L_27;
  6147. NullCheck(L_28);
  6148. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = L_28->___solverPosition;
  6149. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_1;
  6150. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  6151. L_31 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_29, L_30, NULL);
  6152. NullCheck(L_28);
  6153. L_28->___solverPosition = L_31;
  6154. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_32;
  6155. L_32 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  6156. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_33 = L_32;
  6157. NullCheck(L_33);
  6158. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = L_33->___solverPosition;
  6159. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_1;
  6160. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_2;
  6161. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  6162. L_37 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_35, L_36, NULL);
  6163. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
  6164. L_38 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_34, L_37, NULL);
  6165. NullCheck(L_33);
  6166. L_33->___solverPosition = L_38;
  6167. bool L_39;
  6168. L_39 = Leg_get_hasToes_m6FA0D47B1557EB3901C232B17716EA3019BCDA8A_inline(__this, NULL);
  6169. if (!L_39)
  6170. {
  6171. goto IL_0106;
  6172. }
  6173. }
  6174. {
  6175. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_40;
  6176. L_40 = Leg_get_toes_m4C7327EEC1E6DC58177005B9381D126FE9F62F8E(__this, NULL);
  6177. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_41 = L_40;
  6178. NullCheck(L_41);
  6179. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = L_41->___solverPosition;
  6180. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = V_1;
  6181. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_2;
  6182. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
  6183. L_45 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_43, L_44, NULL);
  6184. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
  6185. L_46 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_42, L_45, NULL);
  6186. NullCheck(L_41);
  6187. L_41->___solverPosition = L_46;
  6188. }
  6189. IL_0106:
  6190. {
  6191. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_47;
  6192. L_47 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6193. NullCheck(L_47);
  6194. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = L_47->___solverPosition;
  6195. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = __this->___footPosition;
  6196. float L_50;
  6197. L_50 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_48, L_49, NULL);
  6198. float L_51 = V_0;
  6199. V_3 = ((float)(L_50/L_51));
  6200. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_52 = __this->___stretchCurve;
  6201. float L_53 = V_3;
  6202. NullCheck(L_52);
  6203. float L_54;
  6204. L_54 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_52, L_53, NULL);
  6205. float L_55 = __this->___positionWeight;
  6206. V_4 = ((float)il2cpp_codegen_multiply(L_54, L_55));
  6207. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_56;
  6208. L_56 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6209. NullCheck(L_56);
  6210. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = L_56->___solverPosition;
  6211. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_58;
  6212. L_58 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6213. NullCheck(L_58);
  6214. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = L_58->___solverPosition;
  6215. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
  6216. L_60 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_57, L_59, NULL);
  6217. float L_61 = V_4;
  6218. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
  6219. L_62 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_60, L_61, NULL);
  6220. V_1 = L_62;
  6221. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_63;
  6222. L_63 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  6223. NullCheck(L_63);
  6224. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = L_63->___solverPosition;
  6225. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_65;
  6226. L_65 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6227. NullCheck(L_65);
  6228. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = L_65->___solverPosition;
  6229. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
  6230. L_67 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_64, L_66, NULL);
  6231. float L_68 = V_4;
  6232. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69;
  6233. L_69 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_67, L_68, NULL);
  6234. V_2 = L_69;
  6235. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_70;
  6236. L_70 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6237. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_71 = L_70;
  6238. NullCheck(L_71);
  6239. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = L_71->___solverPosition;
  6240. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73 = V_1;
  6241. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74;
  6242. L_74 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_72, L_73, NULL);
  6243. NullCheck(L_71);
  6244. L_71->___solverPosition = L_74;
  6245. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_75;
  6246. L_75 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  6247. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_76 = L_75;
  6248. NullCheck(L_76);
  6249. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = L_76->___solverPosition;
  6250. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = V_1;
  6251. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79 = V_2;
  6252. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
  6253. L_80 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_78, L_79, NULL);
  6254. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
  6255. L_81 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_77, L_80, NULL);
  6256. NullCheck(L_76);
  6257. L_76->___solverPosition = L_81;
  6258. bool L_82;
  6259. L_82 = Leg_get_hasToes_m6FA0D47B1557EB3901C232B17716EA3019BCDA8A_inline(__this, NULL);
  6260. if (!L_82)
  6261. {
  6262. goto IL_01d3;
  6263. }
  6264. }
  6265. {
  6266. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_83;
  6267. L_83 = Leg_get_toes_m4C7327EEC1E6DC58177005B9381D126FE9F62F8E(__this, NULL);
  6268. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_84 = L_83;
  6269. NullCheck(L_84);
  6270. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = L_84->___solverPosition;
  6271. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86 = V_1;
  6272. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = V_2;
  6273. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
  6274. L_88 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_86, L_87, NULL);
  6275. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
  6276. L_89 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_85, L_88, NULL);
  6277. NullCheck(L_84);
  6278. L_84->___solverPosition = L_89;
  6279. }
  6280. IL_01d3:
  6281. {
  6282. return;
  6283. }
  6284. }
  6285. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_Write_mFB4D4238F7B7B3EFD3ABA84F0B2B352140031C71 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** ___0_solvedPositions, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** ___1_solvedRotations, const RuntimeMethod* method)
  6286. {
  6287. {
  6288. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_0 = ___1_solvedRotations;
  6289. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_1 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_0);
  6290. int32_t L_2 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  6291. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3;
  6292. L_3 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6293. NullCheck(L_3);
  6294. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = L_3->___solverRotation;
  6295. NullCheck(L_1);
  6296. (L_1)->SetAt(static_cast<il2cpp_array_size_t>(L_2), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_4);
  6297. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_5 = ___1_solvedRotations;
  6298. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_6 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_5);
  6299. int32_t L_7 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  6300. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8;
  6301. L_8 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6302. NullCheck(L_8);
  6303. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8->___solverRotation;
  6304. NullCheck(L_6);
  6305. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_7, 1))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_9);
  6306. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_10 = ___1_solvedRotations;
  6307. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_11 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_10);
  6308. int32_t L_12 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  6309. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_13;
  6310. L_13 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  6311. NullCheck(L_13);
  6312. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = L_13->___solverRotation;
  6313. NullCheck(L_11);
  6314. (L_11)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_12, 2))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_14);
  6315. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_15 = ___0_solvedPositions;
  6316. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_16 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_15);
  6317. int32_t L_17 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  6318. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_18;
  6319. L_18 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(__this, NULL);
  6320. NullCheck(L_18);
  6321. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___solverPosition;
  6322. NullCheck(L_16);
  6323. (L_16)->SetAt(static_cast<il2cpp_array_size_t>(L_17), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_19);
  6324. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_20 = ___0_solvedPositions;
  6325. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_21 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_20);
  6326. int32_t L_22 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  6327. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_23;
  6328. L_23 = Leg_get_calf_m1D9224579D8C51C0F6BAD6C016F6DD2158F81744(__this, NULL);
  6329. NullCheck(L_23);
  6330. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23->___solverPosition;
  6331. NullCheck(L_21);
  6332. (L_21)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_22, 1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_24);
  6333. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_25 = ___0_solvedPositions;
  6334. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_26 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_25);
  6335. int32_t L_27 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  6336. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_28;
  6337. L_28 = Leg_get_foot_m934DFB68E2DC5B9984D7269C24802B90FC7A6D10(__this, NULL);
  6338. NullCheck(L_28);
  6339. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = L_28->___solverPosition;
  6340. NullCheck(L_26);
  6341. (L_26)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_27, 2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_29);
  6342. bool L_30;
  6343. L_30 = Leg_get_hasToes_m6FA0D47B1557EB3901C232B17716EA3019BCDA8A_inline(__this, NULL);
  6344. if (!L_30)
  6345. {
  6346. goto IL_00d4;
  6347. }
  6348. }
  6349. {
  6350. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_31 = ___1_solvedRotations;
  6351. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_32 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_31);
  6352. int32_t L_33 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  6353. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_34;
  6354. L_34 = Leg_get_toes_m4C7327EEC1E6DC58177005B9381D126FE9F62F8E(__this, NULL);
  6355. NullCheck(L_34);
  6356. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35 = L_34->___solverRotation;
  6357. NullCheck(L_32);
  6358. (L_32)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_33, 3))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_35);
  6359. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_36 = ___0_solvedPositions;
  6360. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_37 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_36);
  6361. int32_t L_38 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  6362. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_39;
  6363. L_39 = Leg_get_toes_m4C7327EEC1E6DC58177005B9381D126FE9F62F8E(__this, NULL);
  6364. NullCheck(L_39);
  6365. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = L_39->___solverPosition;
  6366. NullCheck(L_37);
  6367. (L_37)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_38, 3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_40);
  6368. }
  6369. IL_00d4:
  6370. {
  6371. return;
  6372. }
  6373. }
  6374. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg_ResetOffsets_m7523D99B7A81A7ED779029FAF24A13B76A7D9025 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  6375. {
  6376. {
  6377. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  6378. L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  6379. __this->___footPositionOffset = L_0;
  6380. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
  6381. L_1 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  6382. __this->___footRotationOffset = L_1;
  6383. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  6384. L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  6385. __this->___heelPositionOffset = L_2;
  6386. return;
  6387. }
  6388. }
  6389. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Leg__ctor_m0B26577A63E03CE1C883B91D3271048AC80A6464 (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  6390. {
  6391. static bool s_Il2CppMethodInitialized;
  6392. if (!s_Il2CppMethodInitialized)
  6393. {
  6394. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
  6395. s_Il2CppMethodInitialized = true;
  6396. }
  6397. {
  6398. __this->___bendToTargetWeight = (0.5f);
  6399. __this->___legLengthMlp = (1.0f);
  6400. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_0 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354*)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
  6401. AnimationCurve__ctor_m0D976567166F92383307DC8EB8D7082CD34E226F(L_0, NULL);
  6402. __this->___stretchCurve = L_0;
  6403. Il2CppCodeGenWriteBarrier((void**)(&__this->___stretchCurve), (void*)L_0);
  6404. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
  6405. L_1 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  6406. __this->___IKRotation = L_1;
  6407. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  6408. L_2 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  6409. __this->___footRotationOffset = L_2;
  6410. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
  6411. L_3 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  6412. __this->___footRotation = L_3;
  6413. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  6414. L_4 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  6415. __this->___calfRelToThigh = L_4;
  6416. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  6417. L_5 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  6418. __this->___thighRelToFoot = L_5;
  6419. BodyPart__ctor_m3C2D6F6CE136D84750B477603D5EB37E1B3A38E4(__this, NULL);
  6420. return;
  6421. }
  6422. }
  6423. #ifdef __clang__
  6424. #pragma clang diagnostic pop
  6425. #endif
  6426. #ifdef __clang__
  6427. #pragma clang diagnostic push
  6428. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  6429. #pragma clang diagnostic ignored "-Wunused-variable"
  6430. #endif
  6431. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method)
  6432. {
  6433. {
  6434. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CcenterOfMassU3Ek__BackingField;
  6435. return L_0;
  6436. }
  6437. }
  6438. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  6439. {
  6440. {
  6441. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  6442. __this->___U3CcenterOfMassU3Ek__BackingField = L_0;
  6443. return;
  6444. }
  6445. }
  6446. 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)
  6447. {
  6448. static bool s_Il2CppMethodInitialized;
  6449. if (!s_Il2CppMethodInitialized)
  6450. {
  6451. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44_il2cpp_TypeInfo_var);
  6452. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4_il2cpp_TypeInfo_var);
  6453. s_Il2CppMethodInitialized = true;
  6454. }
  6455. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* G_B2_0 = NULL;
  6456. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* G_B1_0 = NULL;
  6457. int32_t G_B3_0 = 0;
  6458. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* G_B3_1 = NULL;
  6459. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* G_B5_0 = NULL;
  6460. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* G_B4_0 = NULL;
  6461. int32_t G_B6_0 = 0;
  6462. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* G_B6_1 = NULL;
  6463. {
  6464. bool L_0 = ___2_hasToes;
  6465. if (L_0)
  6466. {
  6467. G_B2_0 = __this;
  6468. goto IL_0008;
  6469. }
  6470. G_B1_0 = __this;
  6471. }
  6472. {
  6473. G_B3_0 = ((int32_t)16);
  6474. G_B3_1 = G_B1_0;
  6475. goto IL_000a;
  6476. }
  6477. IL_0008:
  6478. {
  6479. G_B3_0 = ((int32_t)17);
  6480. G_B3_1 = G_B2_0;
  6481. }
  6482. IL_000a:
  6483. {
  6484. NullCheck(G_B3_1);
  6485. G_B3_1->___leftFootIndex = G_B3_0;
  6486. bool L_1 = ___2_hasToes;
  6487. if (L_1)
  6488. {
  6489. G_B5_0 = __this;
  6490. goto IL_0017;
  6491. }
  6492. G_B4_0 = __this;
  6493. }
  6494. {
  6495. G_B6_0 = ((int32_t)20);
  6496. G_B6_1 = G_B4_0;
  6497. goto IL_0019;
  6498. }
  6499. IL_0017:
  6500. {
  6501. G_B6_0 = ((int32_t)21);
  6502. G_B6_1 = G_B5_0;
  6503. }
  6504. IL_0019:
  6505. {
  6506. NullCheck(G_B6_1);
  6507. G_B6_1->___rightFootIndex = G_B6_0;
  6508. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_2 = (FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44*)(FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44*)SZArrayNew(FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44_il2cpp_TypeInfo_var, (uint32_t)2);
  6509. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_3 = L_2;
  6510. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_4 = ___1_rotations;
  6511. NullCheck(L_4);
  6512. int32_t L_5 = 0;
  6513. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  6514. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_7 = ___0_positions;
  6515. int32_t L_8 = __this->___leftFootIndex;
  6516. NullCheck(L_7);
  6517. int32_t L_9 = L_8;
  6518. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  6519. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_11 = ___1_rotations;
  6520. int32_t L_12 = __this->___leftFootIndex;
  6521. NullCheck(L_11);
  6522. int32_t L_13 = L_12;
  6523. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  6524. float L_15 = __this->___footDistance;
  6525. float L_16 = ___3_scale;
  6526. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  6527. L_17 = Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline(NULL);
  6528. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  6529. L_18 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(((float)il2cpp_codegen_multiply(L_15, L_16)), L_17, NULL);
  6530. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_19 = (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4*)il2cpp_codegen_object_new(Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4_il2cpp_TypeInfo_var);
  6531. Footstep__ctor_m944B868F25461680FA058295A1B567E42F500DD2(L_19, L_6, L_10, L_14, L_18, NULL);
  6532. NullCheck(L_3);
  6533. ArrayElementTypeCheck (L_3, L_19);
  6534. (L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4*)L_19);
  6535. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_20 = L_3;
  6536. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_21 = ___1_rotations;
  6537. NullCheck(L_21);
  6538. int32_t L_22 = 0;
  6539. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  6540. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_24 = ___0_positions;
  6541. int32_t L_25 = __this->___rightFootIndex;
  6542. NullCheck(L_24);
  6543. int32_t L_26 = L_25;
  6544. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  6545. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_28 = ___1_rotations;
  6546. int32_t L_29 = __this->___rightFootIndex;
  6547. NullCheck(L_28);
  6548. int32_t L_30 = L_29;
  6549. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  6550. float L_32 = __this->___footDistance;
  6551. float L_33 = ___3_scale;
  6552. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  6553. L_34 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  6554. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  6555. L_35 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(((float)il2cpp_codegen_multiply(L_32, L_33)), L_34, NULL);
  6556. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_36 = (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4*)il2cpp_codegen_object_new(Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4_il2cpp_TypeInfo_var);
  6557. Footstep__ctor_m944B868F25461680FA058295A1B567E42F500DD2(L_36, L_23, L_27, L_31, L_35, NULL);
  6558. NullCheck(L_20);
  6559. ArrayElementTypeCheck (L_20, L_36);
  6560. (L_20)->SetAt(static_cast<il2cpp_array_size_t>(1), (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4*)L_36);
  6561. __this->___footsteps = L_20;
  6562. Il2CppCodeGenWriteBarrier((void**)(&__this->___footsteps), (void*)L_20);
  6563. return;
  6564. }
  6565. }
  6566. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_Reset_m2C11E57AA2659815868C1B4DD657395D7D64F02B (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_positions, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___1_rotations, const RuntimeMethod* method)
  6567. {
  6568. {
  6569. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = ___0_positions;
  6570. NullCheck(L_0);
  6571. int32_t L_1 = 1;
  6572. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  6573. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_3 = ___0_positions;
  6574. NullCheck(L_3);
  6575. int32_t L_4 = 5;
  6576. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  6577. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  6578. L_6 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_2, L_5, (0.25f), NULL);
  6579. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_7 = ___1_rotations;
  6580. NullCheck(L_7);
  6581. int32_t L_8 = 0;
  6582. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  6583. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = __this->___offset;
  6584. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  6585. L_11 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_9, L_10, NULL);
  6586. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  6587. L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_6, L_11, NULL);
  6588. __this->___lastComPosition = L_12;
  6589. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  6590. L_13 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  6591. __this->___comVelocity = L_13;
  6592. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_14 = __this->___footsteps;
  6593. NullCheck(L_14);
  6594. int32_t L_15 = 0;
  6595. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  6596. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_17 = ___1_rotations;
  6597. NullCheck(L_17);
  6598. int32_t L_18 = 0;
  6599. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  6600. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_20 = ___0_positions;
  6601. int32_t L_21 = __this->___leftFootIndex;
  6602. NullCheck(L_20);
  6603. int32_t L_22 = L_21;
  6604. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  6605. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_24 = ___1_rotations;
  6606. int32_t L_25 = __this->___leftFootIndex;
  6607. NullCheck(L_24);
  6608. int32_t L_26 = L_25;
  6609. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  6610. NullCheck(L_16);
  6611. Footstep_Reset_mF75166B2BD3CF605BE659224CDF52B4084493D29(L_16, L_19, L_23, L_27, NULL);
  6612. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_28 = __this->___footsteps;
  6613. NullCheck(L_28);
  6614. int32_t L_29 = 1;
  6615. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_30 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  6616. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_31 = ___1_rotations;
  6617. NullCheck(L_31);
  6618. int32_t L_32 = 0;
  6619. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
  6620. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_34 = ___0_positions;
  6621. int32_t L_35 = __this->___rightFootIndex;
  6622. NullCheck(L_34);
  6623. int32_t L_36 = L_35;
  6624. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
  6625. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_38 = ___1_rotations;
  6626. int32_t L_39 = __this->___rightFootIndex;
  6627. NullCheck(L_38);
  6628. int32_t L_40 = L_39;
  6629. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
  6630. NullCheck(L_30);
  6631. Footstep_Reset_mF75166B2BD3CF605BE659224CDF52B4084493D29(L_30, L_33, L_37, L_41, NULL);
  6632. return;
  6633. }
  6634. }
  6635. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_Relax_mA82D2B8B23964EACA60A1AD0D31A38BFE8F32DB5 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method)
  6636. {
  6637. {
  6638. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_0 = __this->___footsteps;
  6639. NullCheck(L_0);
  6640. int32_t L_1 = 0;
  6641. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  6642. NullCheck(L_2);
  6643. L_2->___relaxFlag = (bool)1;
  6644. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_3 = __this->___footsteps;
  6645. NullCheck(L_3);
  6646. int32_t L_4 = 1;
  6647. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  6648. NullCheck(L_5);
  6649. L_5->___relaxFlag = (bool)1;
  6650. return;
  6651. }
  6652. }
  6653. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_AddDeltaRotation_mFCC2028B2307513C5E4C38A411DC8F04A880E509 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_delta, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_pivot, const RuntimeMethod* method)
  6654. {
  6655. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  6656. memset((&V_0), 0, sizeof(V_0));
  6657. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* V_1 = NULL;
  6658. int32_t V_2 = 0;
  6659. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* V_3 = NULL;
  6660. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  6661. memset((&V_4), 0, sizeof(V_4));
  6662. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
  6663. memset((&V_5), 0, sizeof(V_5));
  6664. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  6665. memset((&V_6), 0, sizeof(V_6));
  6666. {
  6667. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___lastComPosition;
  6668. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_pivot;
  6669. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  6670. L_2 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_0, L_1, NULL);
  6671. V_0 = L_2;
  6672. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___1_pivot;
  6673. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ___0_delta;
  6674. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = V_0;
  6675. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  6676. L_6 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_4, L_5, NULL);
  6677. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  6678. L_7 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_3, L_6, NULL);
  6679. __this->___lastComPosition = L_7;
  6680. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_8 = __this->___footsteps;
  6681. V_1 = L_8;
  6682. V_2 = 0;
  6683. goto IL_00e4;
  6684. }
  6685. IL_002e:
  6686. {
  6687. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_9 = V_1;
  6688. int32_t L_10 = V_2;
  6689. NullCheck(L_9);
  6690. int32_t L_11 = L_10;
  6691. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  6692. V_3 = L_12;
  6693. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_13 = V_3;
  6694. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = ___0_delta;
  6695. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_15 = V_3;
  6696. NullCheck(L_15);
  6697. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = L_15->___rotation;
  6698. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17;
  6699. L_17 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_14, L_16, NULL);
  6700. NullCheck(L_13);
  6701. L_13->___rotation = L_17;
  6702. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_18 = V_3;
  6703. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = ___0_delta;
  6704. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_20 = V_3;
  6705. NullCheck(L_20);
  6706. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21 = L_20->___stepFromRot;
  6707. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
  6708. L_22 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_19, L_21, NULL);
  6709. NullCheck(L_18);
  6710. L_18->___stepFromRot = L_22;
  6711. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_23 = V_3;
  6712. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = ___0_delta;
  6713. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_25 = V_3;
  6714. NullCheck(L_25);
  6715. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26 = L_25->___stepToRot;
  6716. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
  6717. L_27 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_24, L_26, NULL);
  6718. NullCheck(L_23);
  6719. L_23->___stepToRot = L_27;
  6720. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_28 = V_3;
  6721. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29 = ___0_delta;
  6722. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_30 = V_3;
  6723. NullCheck(L_30);
  6724. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = L_30->___stepToRootRot;
  6725. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32;
  6726. L_32 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_29, L_31, NULL);
  6727. NullCheck(L_28);
  6728. L_28->___stepToRootRot = L_32;
  6729. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_33 = V_3;
  6730. NullCheck(L_33);
  6731. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = L_33->___position;
  6732. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = ___1_pivot;
  6733. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  6734. L_36 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_34, L_35, NULL);
  6735. V_4 = L_36;
  6736. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_37 = V_3;
  6737. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = ___1_pivot;
  6738. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39 = ___0_delta;
  6739. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = V_4;
  6740. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
  6741. L_41 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_39, L_40, NULL);
  6742. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
  6743. L_42 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_38, L_41, NULL);
  6744. NullCheck(L_37);
  6745. L_37->___position = L_42;
  6746. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_43 = V_3;
  6747. NullCheck(L_43);
  6748. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = L_43->___stepFrom;
  6749. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = ___1_pivot;
  6750. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
  6751. L_46 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_44, L_45, NULL);
  6752. V_5 = L_46;
  6753. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_47 = V_3;
  6754. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = ___1_pivot;
  6755. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_49 = ___0_delta;
  6756. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = V_5;
  6757. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
  6758. L_51 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_49, L_50, NULL);
  6759. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
  6760. L_52 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_48, L_51, NULL);
  6761. NullCheck(L_47);
  6762. L_47->___stepFrom = L_52;
  6763. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_53 = V_3;
  6764. NullCheck(L_53);
  6765. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = L_53->___stepTo;
  6766. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = ___1_pivot;
  6767. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
  6768. L_56 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_54, L_55, NULL);
  6769. V_6 = L_56;
  6770. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_57 = V_3;
  6771. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = ___1_pivot;
  6772. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59 = ___0_delta;
  6773. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = V_6;
  6774. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
  6775. L_61 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_59, L_60, NULL);
  6776. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
  6777. L_62 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_58, L_61, NULL);
  6778. NullCheck(L_57);
  6779. L_57->___stepTo = L_62;
  6780. int32_t L_63 = V_2;
  6781. V_2 = ((int32_t)il2cpp_codegen_add(L_63, 1));
  6782. }
  6783. IL_00e4:
  6784. {
  6785. int32_t L_64 = V_2;
  6786. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_65 = V_1;
  6787. NullCheck(L_65);
  6788. if ((((int32_t)L_64) < ((int32_t)((int32_t)(((RuntimeArray*)L_65)->max_length)))))
  6789. {
  6790. goto IL_002e;
  6791. }
  6792. }
  6793. {
  6794. return;
  6795. }
  6796. }
  6797. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion_AddDeltaPosition_m61BF65BAFCD63E4A0BC27181EDC8B70239AB533E (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_delta, const RuntimeMethod* method)
  6798. {
  6799. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* V_0 = NULL;
  6800. int32_t V_1 = 0;
  6801. {
  6802. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___lastComPosition;
  6803. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_delta;
  6804. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  6805. L_2 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_0, L_1, NULL);
  6806. __this->___lastComPosition = L_2;
  6807. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_3 = __this->___footsteps;
  6808. V_0 = L_3;
  6809. V_1 = 0;
  6810. goto IL_0059;
  6811. }
  6812. IL_001d:
  6813. {
  6814. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_4 = V_0;
  6815. int32_t L_5 = V_1;
  6816. NullCheck(L_4);
  6817. int32_t L_6 = L_5;
  6818. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  6819. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_8 = L_7;
  6820. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_9 = L_8;
  6821. NullCheck(L_9);
  6822. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___position;
  6823. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___0_delta;
  6824. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  6825. L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_10, L_11, NULL);
  6826. NullCheck(L_9);
  6827. L_9->___position = L_12;
  6828. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_13 = L_8;
  6829. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_14 = L_13;
  6830. NullCheck(L_14);
  6831. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = L_14->___stepFrom;
  6832. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_delta;
  6833. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  6834. L_17 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_16, NULL);
  6835. NullCheck(L_14);
  6836. L_14->___stepFrom = L_17;
  6837. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_18 = L_13;
  6838. NullCheck(L_18);
  6839. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___stepTo;
  6840. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_delta;
  6841. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  6842. L_21 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_19, L_20, NULL);
  6843. NullCheck(L_18);
  6844. L_18->___stepTo = L_21;
  6845. int32_t L_22 = V_1;
  6846. V_1 = ((int32_t)il2cpp_codegen_add(L_22, 1));
  6847. }
  6848. IL_0059:
  6849. {
  6850. int32_t L_23 = V_1;
  6851. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_24 = V_0;
  6852. NullCheck(L_24);
  6853. if ((((int32_t)L_23) < ((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))))
  6854. {
  6855. goto IL_001d;
  6856. }
  6857. }
  6858. {
  6859. return;
  6860. }
  6861. }
  6862. 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)
  6863. {
  6864. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  6865. memset((&V_0), 0, sizeof(V_0));
  6866. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  6867. memset((&V_1), 0, sizeof(V_1));
  6868. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  6869. memset((&V_2), 0, sizeof(V_2));
  6870. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  6871. memset((&V_3), 0, sizeof(V_3));
  6872. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_4;
  6873. memset((&V_4), 0, sizeof(V_4));
  6874. float V_5 = 0.0f;
  6875. float V_6 = 0.0f;
  6876. float V_7 = 0.0f;
  6877. float V_8 = 0.0f;
  6878. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
  6879. memset((&V_9), 0, sizeof(V_9));
  6880. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
  6881. memset((&V_10), 0, sizeof(V_10));
  6882. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_11;
  6883. memset((&V_11), 0, sizeof(V_11));
  6884. float V_12 = 0.0f;
  6885. int32_t V_13 = 0;
  6886. int32_t V_14 = 0;
  6887. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_15;
  6888. memset((&V_15), 0, sizeof(V_15));
  6889. int32_t V_16 = 0;
  6890. float V_17 = 0.0f;
  6891. int32_t V_18 = 0;
  6892. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_19;
  6893. memset((&V_19), 0, sizeof(V_19));
  6894. float V_20 = 0.0f;
  6895. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_21;
  6896. memset((&V_21), 0, sizeof(V_21));
  6897. bool V_22 = false;
  6898. bool V_23 = false;
  6899. float V_24 = 0.0f;
  6900. int32_t V_25 = 0;
  6901. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_26;
  6902. memset((&V_26), 0, sizeof(V_26));
  6903. float V_27 = 0.0f;
  6904. float V_28 = 0.0f;
  6905. float V_29 = 0.0f;
  6906. float V_30 = 0.0f;
  6907. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_31;
  6908. memset((&V_31), 0, sizeof(V_31));
  6909. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* G_B6_0 = NULL;
  6910. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* G_B5_0 = NULL;
  6911. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B7_0;
  6912. memset((&G_B7_0), 0, sizeof(G_B7_0));
  6913. Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* G_B7_1 = NULL;
  6914. float G_B23_0 = 0.0f;
  6915. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B26_0;
  6916. memset((&G_B26_0), 0, sizeof(G_B26_0));
  6917. {
  6918. float L_0 = __this->___weight;
  6919. if ((!(((float)L_0) <= ((float)(0.0f)))))
  6920. {
  6921. goto IL_005e;
  6922. }
  6923. }
  6924. {
  6925. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_1 = ___7_leftFootPosition;
  6926. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  6927. L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  6928. *(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_1 = L_2;
  6929. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_3 = ___8_rightFootPosition;
  6930. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  6931. L_4 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  6932. *(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_3 = L_4;
  6933. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* L_5 = ___9_leftFootRotation;
  6934. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
  6935. L_6 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  6936. *(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)L_5 = L_6;
  6937. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* L_7 = ___10_rightFootRotation;
  6938. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
  6939. L_8 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  6940. *(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)L_7 = L_8;
  6941. float* L_9 = ___11_leftFootOffset;
  6942. *((float*)L_9) = (float)(0.0f);
  6943. float* L_10 = ___12_rightFootOffset;
  6944. *((float*)L_10) = (float)(0.0f);
  6945. float* L_11 = ___13_leftHeelOffset;
  6946. *((float*)L_11) = (float)(0.0f);
  6947. float* L_12 = ___14_rightHeelOffset;
  6948. *((float*)L_12) = (float)(0.0f);
  6949. return;
  6950. }
  6951. IL_005e:
  6952. {
  6953. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_13 = ___0_rootBone;
  6954. NullCheck(L_13);
  6955. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = L_13->___solverRotation;
  6956. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  6957. L_15 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  6958. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  6959. L_16 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_14, L_15, NULL);
  6960. V_0 = L_16;
  6961. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_17 = ___1_spine;
  6962. NullCheck(L_17);
  6963. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_18;
  6964. L_18 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_17, NULL);
  6965. NullCheck(L_18);
  6966. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___solverPosition;
  6967. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_20 = ___1_spine;
  6968. NullCheck(L_20);
  6969. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_21;
  6970. L_21 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_20, NULL);
  6971. NullCheck(L_21);
  6972. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = L_21->___solverRotation;
  6973. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_23 = ___2_leftLeg;
  6974. NullCheck(L_23);
  6975. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  6976. L_24 = Leg_get_thighRelativeToPelvis_m2FAD48A130408E578941FDB03EFB3974F05246B8_inline(L_23, NULL);
  6977. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  6978. L_25 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_22, L_24, NULL);
  6979. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  6980. L_26 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_19, L_25, NULL);
  6981. V_1 = L_26;
  6982. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_27 = ___1_spine;
  6983. NullCheck(L_27);
  6984. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_28;
  6985. L_28 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_27, NULL);
  6986. NullCheck(L_28);
  6987. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = L_28->___solverPosition;
  6988. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_30 = ___1_spine;
  6989. NullCheck(L_30);
  6990. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_31;
  6991. L_31 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_30, NULL);
  6992. NullCheck(L_31);
  6993. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = L_31->___solverRotation;
  6994. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_33 = ___3_rightLeg;
  6995. NullCheck(L_33);
  6996. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  6997. L_34 = Leg_get_thighRelativeToPelvis_m2FAD48A130408E578941FDB03EFB3974F05246B8_inline(L_33, NULL);
  6998. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  6999. L_35 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_32, L_34, NULL);
  7000. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  7001. L_36 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_29, L_35, NULL);
  7002. V_2 = L_36;
  7003. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_37 = __this->___footsteps;
  7004. NullCheck(L_37);
  7005. int32_t L_38 = 0;
  7006. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_39 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
  7007. float L_40 = __this->___footDistance;
  7008. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
  7009. L_41 = Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline(NULL);
  7010. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
  7011. L_42 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_40, L_41, NULL);
  7012. float L_43 = ___15_scale;
  7013. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
  7014. L_44 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_42, L_43, NULL);
  7015. NullCheck(L_39);
  7016. L_39->___characterSpaceOffset = L_44;
  7017. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_45 = __this->___footsteps;
  7018. NullCheck(L_45);
  7019. int32_t L_46 = 1;
  7020. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_47 = (L_45)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
  7021. float L_48 = __this->___footDistance;
  7022. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
  7023. L_49 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  7024. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
  7025. L_50 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_48, L_49, NULL);
  7026. float L_51 = ___15_scale;
  7027. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
  7028. L_52 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_50, L_51, NULL);
  7029. NullCheck(L_47);
  7030. L_47->___characterSpaceOffset = L_52;
  7031. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_53 = ___1_spine;
  7032. NullCheck(L_53);
  7033. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = L_53->___faceDirection;
  7034. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = L_54;
  7035. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_0;
  7036. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  7037. L_57 = V3Tools_ExtractVertical_m47BDFC19A306C2C7BB23EC498633102F1ED6C372(L_55, L_56, (1.0f), NULL);
  7038. V_3 = L_57;
  7039. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = V_3;
  7040. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
  7041. L_59 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_55, L_58, NULL);
  7042. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = V_0;
  7043. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_61;
  7044. L_61 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_59, L_60, NULL);
  7045. V_4 = L_61;
  7046. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_62 = ___1_spine;
  7047. NullCheck(L_62);
  7048. float L_63 = L_62->___rootHeadingOffset;
  7049. if ((((float)L_63) == ((float)(0.0f))))
  7050. {
  7051. goto IL_0149;
  7052. }
  7053. }
  7054. {
  7055. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_64 = ___1_spine;
  7056. NullCheck(L_64);
  7057. float L_65 = L_64->___rootHeadingOffset;
  7058. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = V_0;
  7059. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_67;
  7060. L_67 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_65, L_66, NULL);
  7061. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_68 = V_4;
  7062. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69;
  7063. L_69 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_67, L_68, NULL);
  7064. V_4 = L_69;
  7065. }
  7066. IL_0149:
  7067. {
  7068. V_5 = (1.0f);
  7069. V_6 = (1.0f);
  7070. V_7 = (0.200000003f);
  7071. float L_70 = V_5;
  7072. float L_71 = V_6;
  7073. float L_72 = V_7;
  7074. V_8 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_70, L_71)), ((float)il2cpp_codegen_multiply((2.0f), L_72))));
  7075. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
  7076. L_73 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  7077. Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE_inline(__this, L_73, NULL);
  7078. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74;
  7079. L_74 = Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline(__this, NULL);
  7080. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_75 = ___1_spine;
  7081. NullCheck(L_75);
  7082. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_76;
  7083. L_76 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_75, NULL);
  7084. NullCheck(L_76);
  7085. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = L_76->___solverPosition;
  7086. float L_78 = V_5;
  7087. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
  7088. L_79 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_77, L_78, NULL);
  7089. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
  7090. L_80 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_74, L_79, NULL);
  7091. Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE_inline(__this, L_80, NULL);
  7092. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
  7093. L_81 = Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline(__this, NULL);
  7094. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_82 = ___1_spine;
  7095. NullCheck(L_82);
  7096. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_83;
  7097. L_83 = Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C(L_82, NULL);
  7098. NullCheck(L_83);
  7099. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84 = L_83->___solverPosition;
  7100. float L_85 = V_6;
  7101. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
  7102. L_86 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_84, L_85, NULL);
  7103. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
  7104. L_87 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_81, L_86, NULL);
  7105. Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE_inline(__this, L_87, NULL);
  7106. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
  7107. L_88 = Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline(__this, NULL);
  7108. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_89 = ___4_leftArm;
  7109. NullCheck(L_89);
  7110. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
  7111. L_90 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(L_89, NULL);
  7112. float L_91 = V_7;
  7113. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
  7114. L_92 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_90, L_91, NULL);
  7115. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
  7116. L_93 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_88, L_92, NULL);
  7117. Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE_inline(__this, L_93, NULL);
  7118. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
  7119. L_94 = Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline(__this, NULL);
  7120. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_95 = ___5_rightArm;
  7121. NullCheck(L_95);
  7122. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96;
  7123. L_96 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(L_95, NULL);
  7124. float L_97 = V_7;
  7125. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98;
  7126. L_98 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_96, L_97, NULL);
  7127. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99;
  7128. L_99 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_94, L_98, NULL);
  7129. Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE_inline(__this, L_99, NULL);
  7130. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100;
  7131. L_100 = Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline(__this, NULL);
  7132. float L_101 = V_8;
  7133. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102;
  7134. L_102 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_100, L_101, NULL);
  7135. Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE_inline(__this, L_102, NULL);
  7136. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103;
  7137. L_103 = Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline(__this, NULL);
  7138. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_104 = ___0_rootBone;
  7139. NullCheck(L_104);
  7140. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_105 = L_104->___solverRotation;
  7141. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_106 = __this->___offset;
  7142. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_107;
  7143. L_107 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_105, L_106, NULL);
  7144. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108;
  7145. L_108 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_103, L_107, NULL);
  7146. Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE_inline(__this, L_108, NULL);
  7147. float L_109;
  7148. L_109 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  7149. if ((((float)L_109) > ((float)(0.0f))))
  7150. {
  7151. G_B6_0 = __this;
  7152. goto IL_0246;
  7153. }
  7154. G_B5_0 = __this;
  7155. }
  7156. {
  7157. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110;
  7158. L_110 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  7159. G_B7_0 = L_110;
  7160. G_B7_1 = G_B5_0;
  7161. goto IL_0261;
  7162. }
  7163. IL_0246:
  7164. {
  7165. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111;
  7166. L_111 = Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline(__this, NULL);
  7167. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112 = __this->___lastComPosition;
  7168. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_113;
  7169. L_113 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_111, L_112, NULL);
  7170. float L_114;
  7171. L_114 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  7172. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115;
  7173. L_115 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_113, L_114, NULL);
  7174. G_B7_0 = L_115;
  7175. G_B7_1 = G_B6_0;
  7176. }
  7177. IL_0261:
  7178. {
  7179. NullCheck(G_B7_1);
  7180. G_B7_1->___comVelocity = G_B7_0;
  7181. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116;
  7182. L_116 = Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline(__this, NULL);
  7183. __this->___lastComPosition = L_116;
  7184. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117 = __this->___comVelocity;
  7185. float L_118 = __this->___maxVelocity;
  7186. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119;
  7187. L_119 = Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline(L_117, L_118, NULL);
  7188. float L_120 = __this->___velocityFactor;
  7189. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121;
  7190. L_121 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_119, L_120, NULL);
  7191. float L_122 = ___15_scale;
  7192. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_123;
  7193. L_123 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_121, L_122, NULL);
  7194. __this->___comVelocity = L_123;
  7195. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124;
  7196. L_124 = Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline(__this, NULL);
  7197. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125 = __this->___comVelocity;
  7198. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_126;
  7199. L_126 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_124, L_125, NULL);
  7200. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* L_127 = ___1_spine;
  7201. NullCheck(L_127);
  7202. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_128;
  7203. L_128 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(L_127, NULL);
  7204. NullCheck(L_128);
  7205. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_129 = L_128->___solverPosition;
  7206. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_130 = ___0_rootBone;
  7207. NullCheck(L_130);
  7208. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_131 = L_130->___solverPosition;
  7209. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132 = V_0;
  7210. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_133;
  7211. L_133 = V3Tools_PointToPlane_m37055F32224A4792C3FF89C730FC2C7BE73DA608(L_129, L_131, L_132, NULL);
  7212. V_9 = L_133;
  7213. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_134 = L_126;
  7214. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_135 = ___0_rootBone;
  7215. NullCheck(L_135);
  7216. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_136 = L_135->___solverPosition;
  7217. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_137 = V_0;
  7218. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_138;
  7219. L_138 = V3Tools_PointToPlane_m37055F32224A4792C3FF89C730FC2C7BE73DA608(L_134, L_136, L_137, NULL);
  7220. V_10 = L_138;
  7221. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_139 = __this->___footsteps;
  7222. NullCheck(L_139);
  7223. int32_t L_140 = 0;
  7224. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_141 = (L_139)->GetAt(static_cast<il2cpp_array_size_t>(L_140));
  7225. NullCheck(L_141);
  7226. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_142 = L_141->___position;
  7227. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_143 = __this->___footsteps;
  7228. NullCheck(L_143);
  7229. int32_t L_144 = 1;
  7230. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_145 = (L_143)->GetAt(static_cast<il2cpp_array_size_t>(L_144));
  7231. NullCheck(L_145);
  7232. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146 = L_145->___position;
  7233. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_147;
  7234. L_147 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_142, L_146, (0.5f), NULL);
  7235. V_11 = L_147;
  7236. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_148 = V_11;
  7237. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_149;
  7238. L_149 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_134, L_148, NULL);
  7239. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_150 = ___0_rootBone;
  7240. NullCheck(L_150);
  7241. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_151 = L_150->___solverRotation;
  7242. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_152;
  7243. L_152 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  7244. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_153;
  7245. L_153 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_151, L_152, NULL);
  7246. float L_154;
  7247. L_154 = Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline(L_149, L_153, NULL);
  7248. float L_155 = __this->___comAngleMlp;
  7249. V_12 = ((float)il2cpp_codegen_multiply(L_154, L_155));
  7250. V_13 = 0;
  7251. goto IL_033e;
  7252. }
  7253. IL_0324:
  7254. {
  7255. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_156 = __this->___footsteps;
  7256. int32_t L_157 = V_13;
  7257. NullCheck(L_156);
  7258. int32_t L_158 = L_157;
  7259. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_159 = (L_156)->GetAt(static_cast<il2cpp_array_size_t>(L_158));
  7260. int32_t L_160 = ___6_supportLegIndex;
  7261. int32_t L_161 = V_13;
  7262. NullCheck(L_159);
  7263. L_159->___isSupportLeg = (bool)((((int32_t)L_160) == ((int32_t)L_161))? 1 : 0);
  7264. int32_t L_162 = V_13;
  7265. V_13 = ((int32_t)il2cpp_codegen_add(L_162, 1));
  7266. }
  7267. IL_033e:
  7268. {
  7269. int32_t L_163 = V_13;
  7270. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_164 = __this->___footsteps;
  7271. NullCheck(L_164);
  7272. if ((((int32_t)L_163) < ((int32_t)((int32_t)(((RuntimeArray*)L_164)->max_length)))))
  7273. {
  7274. goto IL_0324;
  7275. }
  7276. }
  7277. {
  7278. V_14 = 0;
  7279. goto IL_03dd;
  7280. }
  7281. IL_0352:
  7282. {
  7283. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_165 = __this->___footsteps;
  7284. int32_t L_166 = V_14;
  7285. NullCheck(L_165);
  7286. int32_t L_167 = L_166;
  7287. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_168 = (L_165)->GetAt(static_cast<il2cpp_array_size_t>(L_167));
  7288. NullCheck(L_168);
  7289. bool L_169;
  7290. L_169 = Footstep_get_isStepping_m309B6A332A8A8939B5BF4AD79F0B40AE7AA13EDA(L_168, NULL);
  7291. if (!L_169)
  7292. {
  7293. goto IL_03bb;
  7294. }
  7295. }
  7296. {
  7297. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_170 = V_10;
  7298. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_171 = ___0_rootBone;
  7299. NullCheck(L_171);
  7300. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_172 = L_171->___solverRotation;
  7301. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_173 = __this->___footsteps;
  7302. int32_t L_174 = V_14;
  7303. NullCheck(L_173);
  7304. int32_t L_175 = L_174;
  7305. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_176 = (L_173)->GetAt(static_cast<il2cpp_array_size_t>(L_175));
  7306. NullCheck(L_176);
  7307. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_177 = L_176->___characterSpaceOffset;
  7308. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_178;
  7309. L_178 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_172, L_177, NULL);
  7310. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_179;
  7311. L_179 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_170, L_178, NULL);
  7312. V_15 = L_179;
  7313. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_180 = __this->___footsteps;
  7314. int32_t L_181 = V_14;
  7315. NullCheck(L_180);
  7316. int32_t L_182 = L_181;
  7317. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_183 = (L_180)->GetAt(static_cast<il2cpp_array_size_t>(L_182));
  7318. NullCheck(L_183);
  7319. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_184 = L_183->___stepFrom;
  7320. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_185 = V_15;
  7321. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_186 = ___0_rootBone;
  7322. NullCheck(L_186);
  7323. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_187 = L_186->___solverPosition;
  7324. bool L_188;
  7325. L_188 = Locomotion_StepBlocked_mA4E6E9AF93F49717610DF9E4F21B9B05F2049D80(__this, L_184, L_185, L_187, NULL);
  7326. if (L_188)
  7327. {
  7328. goto IL_03d7;
  7329. }
  7330. }
  7331. {
  7332. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_189 = __this->___footsteps;
  7333. int32_t L_190 = V_14;
  7334. NullCheck(L_189);
  7335. int32_t L_191 = L_190;
  7336. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_192 = (L_189)->GetAt(static_cast<il2cpp_array_size_t>(L_191));
  7337. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_193 = V_15;
  7338. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_194 = V_4;
  7339. NullCheck(L_192);
  7340. Footstep_UpdateStepping_mE6F65896248B683960987B386E0BF2F7270C4244(L_192, L_193, L_194, (10.0f), NULL);
  7341. goto IL_03d7;
  7342. }
  7343. IL_03bb:
  7344. {
  7345. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_195 = __this->___footsteps;
  7346. int32_t L_196 = V_14;
  7347. NullCheck(L_195);
  7348. int32_t L_197 = L_196;
  7349. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_198 = (L_195)->GetAt(static_cast<il2cpp_array_size_t>(L_197));
  7350. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_199 = V_4;
  7351. float L_200 = __this->___relaxLegTwistMinAngle;
  7352. float L_201 = __this->___relaxLegTwistSpeed;
  7353. NullCheck(L_198);
  7354. Footstep_UpdateStanding_m85877A97934324AFEAC76494DBF4AF4174E49368(L_198, L_199, L_200, L_201, NULL);
  7355. }
  7356. IL_03d7:
  7357. {
  7358. int32_t L_202 = V_14;
  7359. V_14 = ((int32_t)il2cpp_codegen_add(L_202, 1));
  7360. }
  7361. IL_03dd:
  7362. {
  7363. int32_t L_203 = V_14;
  7364. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_204 = __this->___footsteps;
  7365. NullCheck(L_204);
  7366. if ((((int32_t)L_203) < ((int32_t)((int32_t)(((RuntimeArray*)L_204)->max_length)))))
  7367. {
  7368. goto IL_0352;
  7369. }
  7370. }
  7371. {
  7372. bool L_205;
  7373. L_205 = Locomotion_CanStep_m61F842768DCA934322E65030C72DAA3188A38F70(__this, NULL);
  7374. if (!L_205)
  7375. {
  7376. goto IL_06cb;
  7377. }
  7378. }
  7379. {
  7380. V_16 = (-1);
  7381. V_17 = (-std::numeric_limits<float>::infinity());
  7382. V_18 = 0;
  7383. goto IL_0655;
  7384. }
  7385. IL_0409:
  7386. {
  7387. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_206 = __this->___footsteps;
  7388. int32_t L_207 = V_18;
  7389. NullCheck(L_206);
  7390. int32_t L_208 = L_207;
  7391. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_209 = (L_206)->GetAt(static_cast<il2cpp_array_size_t>(L_208));
  7392. NullCheck(L_209);
  7393. bool L_210;
  7394. L_210 = Footstep_get_isStepping_m309B6A332A8A8939B5BF4AD79F0B40AE7AA13EDA(L_209, NULL);
  7395. if (L_210)
  7396. {
  7397. goto IL_064f;
  7398. }
  7399. }
  7400. {
  7401. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_211 = V_10;
  7402. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_212 = ___0_rootBone;
  7403. NullCheck(L_212);
  7404. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_213 = L_212->___solverRotation;
  7405. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_214 = __this->___footsteps;
  7406. int32_t L_215 = V_18;
  7407. NullCheck(L_214);
  7408. int32_t L_216 = L_215;
  7409. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_217 = (L_214)->GetAt(static_cast<il2cpp_array_size_t>(L_216));
  7410. NullCheck(L_217);
  7411. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_218 = L_217->___characterSpaceOffset;
  7412. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_219;
  7413. L_219 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_213, L_218, NULL);
  7414. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_220;
  7415. L_220 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_211, L_219, NULL);
  7416. V_19 = L_220;
  7417. int32_t L_221 = V_18;
  7418. if (!L_221)
  7419. {
  7420. goto IL_044b;
  7421. }
  7422. }
  7423. {
  7424. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_222 = ___3_rightLeg;
  7425. NullCheck(L_222);
  7426. float L_223;
  7427. L_223 = BodyPart_get_mag_mC59094481F8E1BABBB58CFA9B5491E0CEB42B0FB_inline(L_222, NULL);
  7428. G_B23_0 = L_223;
  7429. goto IL_0451;
  7430. }
  7431. IL_044b:
  7432. {
  7433. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_224 = ___2_leftLeg;
  7434. NullCheck(L_224);
  7435. float L_225;
  7436. L_225 = BodyPart_get_mag_mC59094481F8E1BABBB58CFA9B5491E0CEB42B0FB_inline(L_224, NULL);
  7437. G_B23_0 = L_225;
  7438. }
  7439. IL_0451:
  7440. {
  7441. V_20 = G_B23_0;
  7442. int32_t L_226 = V_18;
  7443. if (!L_226)
  7444. {
  7445. goto IL_045a;
  7446. }
  7447. }
  7448. {
  7449. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_227 = V_2;
  7450. G_B26_0 = L_227;
  7451. goto IL_045b;
  7452. }
  7453. IL_045a:
  7454. {
  7455. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_228 = V_1;
  7456. G_B26_0 = L_228;
  7457. }
  7458. IL_045b:
  7459. {
  7460. V_21 = G_B26_0;
  7461. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_229 = __this->___footsteps;
  7462. int32_t L_230 = V_18;
  7463. NullCheck(L_229);
  7464. int32_t L_231 = L_230;
  7465. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_232 = (L_229)->GetAt(static_cast<il2cpp_array_size_t>(L_231));
  7466. NullCheck(L_232);
  7467. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_233 = L_232->___position;
  7468. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_234 = V_21;
  7469. float L_235;
  7470. L_235 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_233, L_234, NULL);
  7471. V_22 = (bool)0;
  7472. float L_236 = V_20;
  7473. float L_237 = __this->___maxLegStretch;
  7474. if ((!(((float)L_235) >= ((float)((float)il2cpp_codegen_multiply(L_236, L_237))))))
  7475. {
  7476. goto IL_04a5;
  7477. }
  7478. }
  7479. {
  7480. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_238 = V_9;
  7481. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_239 = ___0_rootBone;
  7482. NullCheck(L_239);
  7483. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_240 = L_239->___solverRotation;
  7484. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_241 = __this->___footsteps;
  7485. int32_t L_242 = V_18;
  7486. NullCheck(L_241);
  7487. int32_t L_243 = L_242;
  7488. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_244 = (L_241)->GetAt(static_cast<il2cpp_array_size_t>(L_243));
  7489. NullCheck(L_244);
  7490. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_245 = L_244->___characterSpaceOffset;
  7491. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_246;
  7492. L_246 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_240, L_245, NULL);
  7493. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_247;
  7494. L_247 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_238, L_246, NULL);
  7495. V_19 = L_247;
  7496. V_22 = (bool)1;
  7497. }
  7498. IL_04a5:
  7499. {
  7500. V_23 = (bool)0;
  7501. V_25 = 0;
  7502. goto IL_0560;
  7503. }
  7504. IL_04b0:
  7505. {
  7506. int32_t L_248 = V_25;
  7507. int32_t L_249 = V_18;
  7508. if ((((int32_t)L_248) == ((int32_t)L_249)))
  7509. {
  7510. goto IL_055a;
  7511. }
  7512. }
  7513. {
  7514. bool L_250 = V_22;
  7515. if (L_250)
  7516. {
  7517. goto IL_055a;
  7518. }
  7519. }
  7520. {
  7521. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_251 = __this->___footsteps;
  7522. int32_t L_252 = V_18;
  7523. NullCheck(L_251);
  7524. int32_t L_253 = L_252;
  7525. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_254 = (L_251)->GetAt(static_cast<il2cpp_array_size_t>(L_253));
  7526. NullCheck(L_254);
  7527. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_255 = L_254->___position;
  7528. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_256 = __this->___footsteps;
  7529. int32_t L_257 = V_25;
  7530. NullCheck(L_256);
  7531. int32_t L_258 = L_257;
  7532. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_259 = (L_256)->GetAt(static_cast<il2cpp_array_size_t>(L_258));
  7533. NullCheck(L_259);
  7534. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_260 = L_259->___position;
  7535. float L_261;
  7536. L_261 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_255, L_260, NULL);
  7537. float L_262 = ___15_scale;
  7538. if ((!(((float)L_261) < ((float)((float)il2cpp_codegen_multiply((0.25f), L_262))))))
  7539. {
  7540. goto IL_0529;
  7541. }
  7542. }
  7543. {
  7544. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_263 = __this->___footsteps;
  7545. int32_t L_264 = V_18;
  7546. NullCheck(L_263);
  7547. int32_t L_265 = L_264;
  7548. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_266 = (L_263)->GetAt(static_cast<il2cpp_array_size_t>(L_265));
  7549. NullCheck(L_266);
  7550. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_267 = L_266->___position;
  7551. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_268 = V_19;
  7552. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_269;
  7553. L_269 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_267, L_268, NULL);
  7554. V_26 = L_269;
  7555. float L_270;
  7556. L_270 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_26), NULL);
  7557. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_271 = __this->___footsteps;
  7558. int32_t L_272 = V_25;
  7559. NullCheck(L_271);
  7560. int32_t L_273 = L_272;
  7561. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_274 = (L_271)->GetAt(static_cast<il2cpp_array_size_t>(L_273));
  7562. NullCheck(L_274);
  7563. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_275 = L_274->___position;
  7564. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_276 = V_19;
  7565. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_277;
  7566. L_277 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_275, L_276, NULL);
  7567. V_26 = L_277;
  7568. float L_278;
  7569. L_278 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_26), NULL);
  7570. if ((((float)L_270) < ((float)L_278)))
  7571. {
  7572. goto IL_0556;
  7573. }
  7574. }
  7575. IL_0529:
  7576. {
  7577. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_279 = __this->___footsteps;
  7578. int32_t L_280 = V_18;
  7579. NullCheck(L_279);
  7580. int32_t L_281 = L_280;
  7581. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_282 = (L_279)->GetAt(static_cast<il2cpp_array_size_t>(L_281));
  7582. NullCheck(L_282);
  7583. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_283 = L_282->___position;
  7584. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_284 = V_19;
  7585. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_285 = __this->___footsteps;
  7586. int32_t L_286 = V_25;
  7587. NullCheck(L_285);
  7588. int32_t L_287 = L_286;
  7589. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_288 = (L_285)->GetAt(static_cast<il2cpp_array_size_t>(L_287));
  7590. NullCheck(L_288);
  7591. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_289 = L_288->___position;
  7592. float L_290 = ___15_scale;
  7593. bool L_291;
  7594. L_291 = Locomotion_GetLineSphereCollision_mA926BB6BAEAA5ADA9000D9C028AEF719837ED187(L_283, L_284, L_289, ((float)il2cpp_codegen_multiply((0.25f), L_290)), NULL);
  7595. V_23 = L_291;
  7596. }
  7597. IL_0556:
  7598. {
  7599. bool L_292 = V_23;
  7600. if (L_292)
  7601. {
  7602. goto IL_056f;
  7603. }
  7604. }
  7605. IL_055a:
  7606. {
  7607. int32_t L_293 = V_25;
  7608. V_25 = ((int32_t)il2cpp_codegen_add(L_293, 1));
  7609. }
  7610. IL_0560:
  7611. {
  7612. int32_t L_294 = V_25;
  7613. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_295 = __this->___footsteps;
  7614. NullCheck(L_295);
  7615. if ((((int32_t)L_294) < ((int32_t)((int32_t)(((RuntimeArray*)L_295)->max_length)))))
  7616. {
  7617. goto IL_04b0;
  7618. }
  7619. }
  7620. IL_056f:
  7621. {
  7622. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_296 = V_4;
  7623. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_297 = __this->___footsteps;
  7624. int32_t L_298 = V_18;
  7625. NullCheck(L_297);
  7626. int32_t L_299 = L_298;
  7627. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_300 = (L_297)->GetAt(static_cast<il2cpp_array_size_t>(L_299));
  7628. NullCheck(L_300);
  7629. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_301 = L_300->___stepToRootRot;
  7630. float L_302;
  7631. L_302 = Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline(L_296, L_301, NULL);
  7632. V_24 = L_302;
  7633. bool L_303 = V_23;
  7634. if (!L_303)
  7635. {
  7636. goto IL_0597;
  7637. }
  7638. }
  7639. {
  7640. float L_304 = V_24;
  7641. float L_305 = __this->___angleThreshold;
  7642. if ((!(((float)L_304) > ((float)L_305))))
  7643. {
  7644. goto IL_064f;
  7645. }
  7646. }
  7647. IL_0597:
  7648. {
  7649. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_306 = __this->___footsteps;
  7650. int32_t L_307 = V_18;
  7651. NullCheck(L_306);
  7652. int32_t L_308 = L_307;
  7653. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_309 = (L_306)->GetAt(static_cast<il2cpp_array_size_t>(L_308));
  7654. NullCheck(L_309);
  7655. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_310 = L_309->___position;
  7656. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_311 = V_19;
  7657. float L_312;
  7658. L_312 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_310, L_311, NULL);
  7659. V_27 = L_312;
  7660. float L_313 = __this->___stepThreshold;
  7661. float L_314 = ___15_scale;
  7662. V_28 = ((float)il2cpp_codegen_multiply(L_313, L_314));
  7663. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_315 = __this->___footsteps;
  7664. int32_t L_316 = V_18;
  7665. NullCheck(L_315);
  7666. int32_t L_317 = L_316;
  7667. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_318 = (L_315)->GetAt(static_cast<il2cpp_array_size_t>(L_317));
  7668. NullCheck(L_318);
  7669. bool L_319 = L_318->___relaxFlag;
  7670. if (!L_319)
  7671. {
  7672. goto IL_05d0;
  7673. }
  7674. }
  7675. {
  7676. V_28 = (0.0f);
  7677. }
  7678. IL_05d0:
  7679. {
  7680. float L_320 = V_28;
  7681. float L_321 = V_28;
  7682. float L_322 = V_12;
  7683. float L_323;
  7684. L_323 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_320, ((float)il2cpp_codegen_multiply(L_321, (0.100000001f))), ((float)il2cpp_codegen_multiply(L_322, (0.0149999997f))), NULL);
  7685. V_29 = L_323;
  7686. bool L_324 = V_22;
  7687. if (!L_324)
  7688. {
  7689. goto IL_05f7;
  7690. }
  7691. }
  7692. {
  7693. float L_325 = V_29;
  7694. V_29 = ((float)il2cpp_codegen_multiply(L_325, (0.5f)));
  7695. }
  7696. IL_05f7:
  7697. {
  7698. int32_t L_326 = V_18;
  7699. if (L_326)
  7700. {
  7701. goto IL_0605;
  7702. }
  7703. }
  7704. {
  7705. float L_327 = V_29;
  7706. V_29 = ((float)il2cpp_codegen_multiply(L_327, (0.899999976f)));
  7707. }
  7708. IL_0605:
  7709. {
  7710. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_328 = __this->___footsteps;
  7711. int32_t L_329 = V_18;
  7712. NullCheck(L_328);
  7713. int32_t L_330 = L_329;
  7714. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_331 = (L_328)->GetAt(static_cast<il2cpp_array_size_t>(L_330));
  7715. NullCheck(L_331);
  7716. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_332 = L_331->___position;
  7717. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_333 = V_19;
  7718. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_334 = ___0_rootBone;
  7719. NullCheck(L_334);
  7720. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_335 = L_334->___solverPosition;
  7721. bool L_336;
  7722. L_336 = Locomotion_StepBlocked_mA4E6E9AF93F49717610DF9E4F21B9B05F2049D80(__this, L_332, L_333, L_335, NULL);
  7723. if (L_336)
  7724. {
  7725. goto IL_064f;
  7726. }
  7727. }
  7728. {
  7729. float L_337 = V_27;
  7730. float L_338 = V_29;
  7731. if ((((float)L_337) > ((float)L_338)))
  7732. {
  7733. goto IL_0633;
  7734. }
  7735. }
  7736. {
  7737. float L_339 = V_24;
  7738. float L_340 = __this->___angleThreshold;
  7739. if ((!(((float)L_339) > ((float)L_340))))
  7740. {
  7741. goto IL_064f;
  7742. }
  7743. }
  7744. IL_0633:
  7745. {
  7746. V_30 = (0.0f);
  7747. float L_341 = V_30;
  7748. float L_342 = V_27;
  7749. V_30 = ((float)il2cpp_codegen_subtract(L_341, L_342));
  7750. float L_343 = V_30;
  7751. float L_344 = V_17;
  7752. if ((!(((float)L_343) > ((float)L_344))))
  7753. {
  7754. goto IL_064f;
  7755. }
  7756. }
  7757. {
  7758. int32_t L_345 = V_18;
  7759. V_16 = L_345;
  7760. float L_346 = V_30;
  7761. V_17 = L_346;
  7762. }
  7763. IL_064f:
  7764. {
  7765. int32_t L_347 = V_18;
  7766. V_18 = ((int32_t)il2cpp_codegen_add(L_347, 1));
  7767. }
  7768. IL_0655:
  7769. {
  7770. int32_t L_348 = V_18;
  7771. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_349 = __this->___footsteps;
  7772. NullCheck(L_349);
  7773. if ((((int32_t)L_348) < ((int32_t)((int32_t)(((RuntimeArray*)L_349)->max_length)))))
  7774. {
  7775. goto IL_0409;
  7776. }
  7777. }
  7778. {
  7779. int32_t L_350 = V_16;
  7780. if ((((int32_t)L_350) == ((int32_t)(-1))))
  7781. {
  7782. goto IL_06cb;
  7783. }
  7784. }
  7785. {
  7786. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_351 = V_10;
  7787. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_352 = ___0_rootBone;
  7788. NullCheck(L_352);
  7789. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_353 = L_352->___solverRotation;
  7790. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_354 = __this->___footsteps;
  7791. int32_t L_355 = V_16;
  7792. NullCheck(L_354);
  7793. int32_t L_356 = L_355;
  7794. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_357 = (L_354)->GetAt(static_cast<il2cpp_array_size_t>(L_356));
  7795. NullCheck(L_357);
  7796. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_358 = L_357->___characterSpaceOffset;
  7797. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_359;
  7798. L_359 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_353, L_358, NULL);
  7799. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_360;
  7800. L_360 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_351, L_359, NULL);
  7801. V_31 = L_360;
  7802. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_361 = __this->___footsteps;
  7803. int32_t L_362 = V_16;
  7804. NullCheck(L_361);
  7805. int32_t L_363 = L_362;
  7806. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_364 = (L_361)->GetAt(static_cast<il2cpp_array_size_t>(L_363));
  7807. float L_365 = __this->___stepSpeed;
  7808. float L_366 = __this->___stepSpeed;
  7809. float L_367;
  7810. L_367 = Random_Range_m5236C99A7D8AE6AC9190592DC66016652A2D2494(L_365, ((float)il2cpp_codegen_multiply(L_366, (1.5f))), NULL);
  7811. NullCheck(L_364);
  7812. L_364->___stepSpeed = L_367;
  7813. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_368 = __this->___footsteps;
  7814. int32_t L_369 = V_16;
  7815. NullCheck(L_368);
  7816. int32_t L_370 = L_369;
  7817. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_371 = (L_368)->GetAt(static_cast<il2cpp_array_size_t>(L_370));
  7818. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_372 = V_31;
  7819. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_373 = V_4;
  7820. float L_374 = __this->___stepThreshold;
  7821. float L_375 = ___15_scale;
  7822. NullCheck(L_371);
  7823. Footstep_StepTo_mA261B0B57FA71393A4E8D7BA41406FB8C048EBEB(L_371, L_372, L_373, ((float)il2cpp_codegen_multiply(L_374, L_375)), NULL);
  7824. }
  7825. IL_06cb:
  7826. {
  7827. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_376 = __this->___footsteps;
  7828. NullCheck(L_376);
  7829. int32_t L_377 = 0;
  7830. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_378 = (L_376)->GetAt(static_cast<il2cpp_array_size_t>(L_377));
  7831. int32_t L_379 = __this->___stepInterpolation;
  7832. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* L_380 = __this->___onLeftFootstep;
  7833. NullCheck(L_378);
  7834. Footstep_Update_m4B3C8D8AECC6C543EAEED0A1027308D2D932C7F7(L_378, L_379, L_380, NULL);
  7835. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_381 = __this->___footsteps;
  7836. NullCheck(L_381);
  7837. int32_t L_382 = 1;
  7838. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_383 = (L_381)->GetAt(static_cast<il2cpp_array_size_t>(L_382));
  7839. int32_t L_384 = __this->___stepInterpolation;
  7840. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* L_385 = __this->___onRightFootstep;
  7841. NullCheck(L_383);
  7842. Footstep_Update_m4B3C8D8AECC6C543EAEED0A1027308D2D932C7F7(L_383, L_384, L_385, NULL);
  7843. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_386 = ___7_leftFootPosition;
  7844. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_387 = __this->___footsteps;
  7845. NullCheck(L_387);
  7846. int32_t L_388 = 0;
  7847. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_389 = (L_387)->GetAt(static_cast<il2cpp_array_size_t>(L_388));
  7848. NullCheck(L_389);
  7849. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_390 = L_389->___position;
  7850. *(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_386 = L_390;
  7851. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_391 = ___8_rightFootPosition;
  7852. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_392 = __this->___footsteps;
  7853. NullCheck(L_392);
  7854. int32_t L_393 = 1;
  7855. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_394 = (L_392)->GetAt(static_cast<il2cpp_array_size_t>(L_393));
  7856. NullCheck(L_394);
  7857. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_395 = L_394->___position;
  7858. *(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_391 = L_395;
  7859. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_396 = ___7_leftFootPosition;
  7860. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_397 = ___7_leftFootPosition;
  7861. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_398 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_397);
  7862. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_399 = ___2_leftLeg;
  7863. NullCheck(L_399);
  7864. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_400;
  7865. L_400 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(L_399, NULL);
  7866. NullCheck(L_400);
  7867. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_401 = L_400->___readPosition;
  7868. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_402 = V_0;
  7869. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_403;
  7870. L_403 = V3Tools_PointToPlane_m37055F32224A4792C3FF89C730FC2C7BE73DA608(L_398, L_401, L_402, NULL);
  7871. *(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_396 = L_403;
  7872. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_404 = ___8_rightFootPosition;
  7873. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_405 = ___8_rightFootPosition;
  7874. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_406 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_405);
  7875. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_407 = ___3_rightLeg;
  7876. NullCheck(L_407);
  7877. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_408;
  7878. L_408 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(L_407, NULL);
  7879. NullCheck(L_408);
  7880. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_409 = L_408->___readPosition;
  7881. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_410 = V_0;
  7882. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_411;
  7883. L_411 = V3Tools_PointToPlane_m37055F32224A4792C3FF89C730FC2C7BE73DA608(L_406, L_409, L_410, NULL);
  7884. *(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_404 = L_411;
  7885. float* L_412 = ___11_leftFootOffset;
  7886. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_413 = __this->___stepHeight;
  7887. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_414 = __this->___footsteps;
  7888. NullCheck(L_414);
  7889. int32_t L_415 = 0;
  7890. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_416 = (L_414)->GetAt(static_cast<il2cpp_array_size_t>(L_415));
  7891. NullCheck(L_416);
  7892. float L_417;
  7893. L_417 = Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline(L_416, NULL);
  7894. NullCheck(L_413);
  7895. float L_418;
  7896. L_418 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_413, L_417, NULL);
  7897. float L_419 = ___15_scale;
  7898. *((float*)L_412) = (float)((float)il2cpp_codegen_multiply(L_418, L_419));
  7899. float* L_420 = ___12_rightFootOffset;
  7900. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_421 = __this->___stepHeight;
  7901. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_422 = __this->___footsteps;
  7902. NullCheck(L_422);
  7903. int32_t L_423 = 1;
  7904. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_424 = (L_422)->GetAt(static_cast<il2cpp_array_size_t>(L_423));
  7905. NullCheck(L_424);
  7906. float L_425;
  7907. L_425 = Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline(L_424, NULL);
  7908. NullCheck(L_421);
  7909. float L_426;
  7910. L_426 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_421, L_425, NULL);
  7911. float L_427 = ___15_scale;
  7912. *((float*)L_420) = (float)((float)il2cpp_codegen_multiply(L_426, L_427));
  7913. float* L_428 = ___13_leftHeelOffset;
  7914. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_429 = __this->___heelHeight;
  7915. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_430 = __this->___footsteps;
  7916. NullCheck(L_430);
  7917. int32_t L_431 = 0;
  7918. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_432 = (L_430)->GetAt(static_cast<il2cpp_array_size_t>(L_431));
  7919. NullCheck(L_432);
  7920. float L_433;
  7921. L_433 = Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline(L_432, NULL);
  7922. NullCheck(L_429);
  7923. float L_434;
  7924. L_434 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_429, L_433, NULL);
  7925. float L_435 = ___15_scale;
  7926. *((float*)L_428) = (float)((float)il2cpp_codegen_multiply(L_434, L_435));
  7927. float* L_436 = ___14_rightHeelOffset;
  7928. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_437 = __this->___heelHeight;
  7929. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_438 = __this->___footsteps;
  7930. NullCheck(L_438);
  7931. int32_t L_439 = 1;
  7932. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_440 = (L_438)->GetAt(static_cast<il2cpp_array_size_t>(L_439));
  7933. NullCheck(L_440);
  7934. float L_441;
  7935. L_441 = Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline(L_440, NULL);
  7936. NullCheck(L_437);
  7937. float L_442;
  7938. L_442 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_437, L_441, NULL);
  7939. float L_443 = ___15_scale;
  7940. *((float*)L_436) = (float)((float)il2cpp_codegen_multiply(L_442, L_443));
  7941. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* L_444 = ___9_leftFootRotation;
  7942. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_445 = __this->___footsteps;
  7943. NullCheck(L_445);
  7944. int32_t L_446 = 0;
  7945. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_447 = (L_445)->GetAt(static_cast<il2cpp_array_size_t>(L_446));
  7946. NullCheck(L_447);
  7947. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_448 = L_447->___rotation;
  7948. *(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)L_444 = L_448;
  7949. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* L_449 = ___10_rightFootRotation;
  7950. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_450 = __this->___footsteps;
  7951. NullCheck(L_450);
  7952. int32_t L_451 = 1;
  7953. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_452 = (L_450)->GetAt(static_cast<il2cpp_array_size_t>(L_451));
  7954. NullCheck(L_452);
  7955. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_453 = L_452->___rotation;
  7956. *(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)L_449 = L_453;
  7957. return;
  7958. }
  7959. }
  7960. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Locomotion_get_leftFootstepPosition_m6861A497443B881B5B7F6B0A99F5B427A0EB26B4 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method)
  7961. {
  7962. {
  7963. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_0 = __this->___footsteps;
  7964. NullCheck(L_0);
  7965. int32_t L_1 = 0;
  7966. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  7967. NullCheck(L_2);
  7968. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = L_2->___position;
  7969. return L_3;
  7970. }
  7971. }
  7972. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Locomotion_get_rightFootstepPosition_m0177C5AA54CBF4D187D359E1CC291EA1E9ABA1EB (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method)
  7973. {
  7974. {
  7975. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_0 = __this->___footsteps;
  7976. NullCheck(L_0);
  7977. int32_t L_1 = 1;
  7978. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  7979. NullCheck(L_2);
  7980. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = L_2->___position;
  7981. return L_3;
  7982. }
  7983. }
  7984. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Locomotion_get_leftFootstepRotation_m1969586E4A5B686863E45C284E6E47179DF0437E (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method)
  7985. {
  7986. {
  7987. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_0 = __this->___footsteps;
  7988. NullCheck(L_0);
  7989. int32_t L_1 = 0;
  7990. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  7991. NullCheck(L_2);
  7992. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = L_2->___rotation;
  7993. return L_3;
  7994. }
  7995. }
  7996. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Locomotion_get_rightFootstepRotation_m14C0175A10B28943712A6382A1C54D2244459039 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method)
  7997. {
  7998. {
  7999. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_0 = __this->___footsteps;
  8000. NullCheck(L_0);
  8001. int32_t L_1 = 1;
  8002. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
  8003. NullCheck(L_2);
  8004. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = L_2->___rotation;
  8005. return L_3;
  8006. }
  8007. }
  8008. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Locomotion_StepBlocked_mA4E6E9AF93F49717610DF9E4F21B9B05F2049D80 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_fromPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_toPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_rootPosition, const RuntimeMethod* method)
  8009. {
  8010. static bool s_Il2CppMethodInitialized;
  8011. if (!s_Il2CppMethodInitialized)
  8012. {
  8013. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  8014. s_Il2CppMethodInitialized = true;
  8015. }
  8016. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  8017. memset((&V_0), 0, sizeof(V_0));
  8018. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  8019. memset((&V_1), 0, sizeof(V_1));
  8020. RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_2;
  8021. memset((&V_2), 0, sizeof(V_2));
  8022. {
  8023. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_0 = __this->___blockingLayers;
  8024. int32_t L_1;
  8025. L_1 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_0, NULL);
  8026. if ((((int32_t)L_1) == ((int32_t)(-1))))
  8027. {
  8028. goto IL_0016;
  8029. }
  8030. }
  8031. {
  8032. bool L_2 = __this->___blockingEnabled;
  8033. if (L_2)
  8034. {
  8035. goto IL_0018;
  8036. }
  8037. }
  8038. IL_0016:
  8039. {
  8040. return (bool)0;
  8041. }
  8042. IL_0018:
  8043. {
  8044. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_fromPosition;
  8045. V_0 = L_3;
  8046. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___2_rootPosition;
  8047. float L_5 = L_4.___y;
  8048. float L_6 = __this->___raycastHeight;
  8049. float L_7 = __this->___raycastRadius;
  8050. (&V_0)->___y = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_5, L_6)), L_7));
  8051. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___1_toPosition;
  8052. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = V_0;
  8053. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  8054. L_10 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_8, L_9, NULL);
  8055. V_1 = L_10;
  8056. (&V_1)->___y = (0.0f);
  8057. float L_11 = __this->___raycastRadius;
  8058. if ((!(((float)L_11) <= ((float)(0.0f)))))
  8059. {
  8060. goto IL_0072;
  8061. }
  8062. }
  8063. {
  8064. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = V_0;
  8065. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_1;
  8066. float L_14;
  8067. L_14 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_1), NULL);
  8068. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_15 = __this->___blockingLayers;
  8069. int32_t L_16;
  8070. L_16 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_15, NULL);
  8071. il2cpp_codegen_runtime_class_init_inline(Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  8072. bool L_17;
  8073. L_17 = Physics_Raycast_m56120FFEF0D4F0A44CCA505B5C946E6FB8742F12(L_12, L_13, (&V_2), L_14, L_16, NULL);
  8074. return L_17;
  8075. }
  8076. IL_0072:
  8077. {
  8078. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_0;
  8079. float L_19 = __this->___raycastRadius;
  8080. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_1;
  8081. float L_21;
  8082. L_21 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_1), NULL);
  8083. LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_22 = __this->___blockingLayers;
  8084. int32_t L_23;
  8085. L_23 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_22, NULL);
  8086. il2cpp_codegen_runtime_class_init_inline(Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  8087. bool L_24;
  8088. L_24 = Physics_SphereCast_m2A41FD7023EC5B89B69E0A8948325BEF46D9597C(L_18, L_19, L_20, (&V_2), L_21, L_23, NULL);
  8089. return L_24;
  8090. }
  8091. }
  8092. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Locomotion_CanStep_m61F842768DCA934322E65030C72DAA3188A38F70 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method)
  8093. {
  8094. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* V_0 = NULL;
  8095. int32_t V_1 = 0;
  8096. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* V_2 = NULL;
  8097. {
  8098. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_0 = __this->___footsteps;
  8099. V_0 = L_0;
  8100. V_1 = 0;
  8101. goto IL_002a;
  8102. }
  8103. IL_000b:
  8104. {
  8105. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_1 = V_0;
  8106. int32_t L_2 = V_1;
  8107. NullCheck(L_1);
  8108. int32_t L_3 = L_2;
  8109. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  8110. V_2 = L_4;
  8111. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_5 = V_2;
  8112. NullCheck(L_5);
  8113. bool L_6;
  8114. L_6 = Footstep_get_isStepping_m309B6A332A8A8939B5BF4AD79F0B40AE7AA13EDA(L_5, NULL);
  8115. if (!L_6)
  8116. {
  8117. goto IL_0026;
  8118. }
  8119. }
  8120. {
  8121. Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* L_7 = V_2;
  8122. NullCheck(L_7);
  8123. float L_8;
  8124. L_8 = Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline(L_7, NULL);
  8125. if ((!(((float)L_8) < ((float)(0.800000012f)))))
  8126. {
  8127. goto IL_0026;
  8128. }
  8129. }
  8130. {
  8131. return (bool)0;
  8132. }
  8133. IL_0026:
  8134. {
  8135. int32_t L_9 = V_1;
  8136. V_1 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  8137. }
  8138. IL_002a:
  8139. {
  8140. int32_t L_10 = V_1;
  8141. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_11 = V_0;
  8142. NullCheck(L_11);
  8143. if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
  8144. {
  8145. goto IL_000b;
  8146. }
  8147. }
  8148. {
  8149. return (bool)1;
  8150. }
  8151. }
  8152. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Locomotion_GetLineSphereCollision_mA926BB6BAEAA5ADA9000D9C028AEF719837ED187 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lineStart, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_lineEnd, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_sphereCenter, float ___3_sphereRadius, const RuntimeMethod* method)
  8153. {
  8154. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  8155. memset((&V_0), 0, sizeof(V_0));
  8156. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  8157. memset((&V_1), 0, sizeof(V_1));
  8158. float V_2 = 0.0f;
  8159. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  8160. memset((&V_3), 0, sizeof(V_3));
  8161. {
  8162. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_lineEnd;
  8163. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_lineStart;
  8164. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  8165. L_2 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_0, L_1, NULL);
  8166. V_0 = L_2;
  8167. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___2_sphereCenter;
  8168. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lineStart;
  8169. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  8170. L_5 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_3, L_4, NULL);
  8171. V_1 = L_5;
  8172. float L_6;
  8173. L_6 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_1), NULL);
  8174. float L_7 = ___3_sphereRadius;
  8175. V_2 = ((float)il2cpp_codegen_subtract(L_6, L_7));
  8176. float L_8 = V_2;
  8177. float L_9;
  8178. L_9 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_0), NULL);
  8179. if ((!(((float)L_8) > ((float)L_9))))
  8180. {
  8181. goto IL_0026;
  8182. }
  8183. }
  8184. {
  8185. return (bool)0;
  8186. }
  8187. IL_0026:
  8188. {
  8189. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
  8190. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = V_1;
  8191. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
  8192. L_12 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_10, L_11, NULL);
  8193. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
  8194. L_13 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_12, NULL);
  8195. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_1;
  8196. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  8197. L_15 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_13, L_14, NULL);
  8198. V_3 = L_15;
  8199. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_3;
  8200. float L_17 = L_16.___z;
  8201. if ((!(((float)L_17) < ((float)(0.0f)))))
  8202. {
  8203. goto IL_004f;
  8204. }
  8205. }
  8206. {
  8207. float L_18 = V_2;
  8208. return (bool)((((float)L_18) < ((float)(0.0f)))? 1 : 0);
  8209. }
  8210. IL_004f:
  8211. {
  8212. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_3;
  8213. float L_20 = L_19.___y;
  8214. float L_21 = ___3_sphereRadius;
  8215. return (bool)((((float)((float)il2cpp_codegen_subtract(L_20, L_21))) < ((float)(0.0f)))? 1 : 0);
  8216. }
  8217. }
  8218. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Locomotion__ctor_m04CEFEE863563DBD99B58F2A436E6B32997CF828 (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method)
  8219. {
  8220. static bool s_Il2CppMethodInitialized;
  8221. if (!s_Il2CppMethodInitialized)
  8222. {
  8223. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44_il2cpp_TypeInfo_var);
  8224. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977_il2cpp_TypeInfo_var);
  8225. s_Il2CppMethodInitialized = true;
  8226. }
  8227. {
  8228. __this->___weight = (1.0f);
  8229. __this->___footDistance = (0.300000012f);
  8230. __this->___stepThreshold = (0.400000006f);
  8231. __this->___angleThreshold = (60.0f);
  8232. __this->___comAngleMlp = (1.0f);
  8233. __this->___maxVelocity = (0.400000006f);
  8234. __this->___velocityFactor = (0.400000006f);
  8235. __this->___maxLegStretch = (1.0f);
  8236. __this->___rootSpeed = (20.0f);
  8237. __this->___stepSpeed = (3.0f);
  8238. __this->___maxBodyYOffset = (0.0500000007f);
  8239. __this->___relaxLegTwistMinAngle = (20.0f);
  8240. __this->___relaxLegTwistSpeed = (400.0f);
  8241. __this->___stepInterpolation = 3;
  8242. __this->___raycastRadius = (0.200000003f);
  8243. __this->___raycastHeight = (0.200000003f);
  8244. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* L_0 = (UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977*)il2cpp_codegen_object_new(UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977_il2cpp_TypeInfo_var);
  8245. UnityEvent__ctor_m03D3E5121B9A6100351984D0CE3050B909CD3235(L_0, NULL);
  8246. __this->___onLeftFootstep = L_0;
  8247. Il2CppCodeGenWriteBarrier((void**)(&__this->___onLeftFootstep), (void*)L_0);
  8248. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* L_1 = (UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977*)il2cpp_codegen_object_new(UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977_il2cpp_TypeInfo_var);
  8249. UnityEvent__ctor_m03D3E5121B9A6100351984D0CE3050B909CD3235(L_1, NULL);
  8250. __this->___onRightFootstep = L_1;
  8251. Il2CppCodeGenWriteBarrier((void**)(&__this->___onRightFootstep), (void*)L_1);
  8252. FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44* L_2 = (FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44*)(FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44*)SZArrayNew(FootstepU5BU5D_t4E6A92373DAD013F9176739688B67E53E613EE44_il2cpp_TypeInfo_var, (uint32_t)0);
  8253. __this->___footsteps = L_2;
  8254. Il2CppCodeGenWriteBarrier((void**)(&__this->___footsteps), (void*)L_2);
  8255. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  8256. return;
  8257. }
  8258. }
  8259. #ifdef __clang__
  8260. #pragma clang diagnostic pop
  8261. #endif
  8262. #ifdef __clang__
  8263. #pragma clang diagnostic push
  8264. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  8265. #pragma clang diagnostic ignored "-Wunused-variable"
  8266. #endif
  8267. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  8268. {
  8269. {
  8270. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8271. int32_t L_1 = __this->___pelvisIndex;
  8272. NullCheck(L_0);
  8273. int32_t L_2 = L_1;
  8274. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8275. return L_3;
  8276. }
  8277. }
  8278. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Spine_get_firstSpineBone_m519C8EB7E1A64E96F2D19B156B07B363340A7713 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  8279. {
  8280. {
  8281. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8282. int32_t L_1 = __this->___spineIndex;
  8283. NullCheck(L_0);
  8284. int32_t L_2 = L_1;
  8285. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8286. return L_3;
  8287. }
  8288. }
  8289. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Spine_get_chest_m86C7BF0990FD4DD6DD65A6993C08EA0A53B75908 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  8290. {
  8291. {
  8292. bool L_0 = __this->___hasChest;
  8293. if (!L_0)
  8294. {
  8295. goto IL_0016;
  8296. }
  8297. }
  8298. {
  8299. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8300. int32_t L_2 = __this->___chestIndex;
  8301. NullCheck(L_1);
  8302. int32_t L_3 = L_2;
  8303. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  8304. return L_4;
  8305. }
  8306. IL_0016:
  8307. {
  8308. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_5 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8309. int32_t L_6 = __this->___spineIndex;
  8310. NullCheck(L_5);
  8311. int32_t L_7 = L_6;
  8312. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  8313. return L_8;
  8314. }
  8315. }
  8316. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Spine_get_neck_m5DC8B90D238C1286F1D4539784DF1DB6C04CE496 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  8317. {
  8318. {
  8319. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8320. int32_t L_1 = __this->___neckIndex;
  8321. NullCheck(L_0);
  8322. int32_t L_2 = L_1;
  8323. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8324. return L_3;
  8325. }
  8326. }
  8327. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  8328. {
  8329. {
  8330. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8331. int32_t L_1 = __this->___headIndex;
  8332. NullCheck(L_0);
  8333. int32_t L_2 = L_1;
  8334. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8335. return L_3;
  8336. }
  8337. }
  8338. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Spine_get_anchorRotation_m678C1386D10833551B3D31B96C831BBDB2D92527 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  8339. {
  8340. {
  8341. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___U3CanchorRotationU3Ek__BackingField;
  8342. return L_0;
  8343. }
  8344. }
  8345. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_set_anchorRotation_m9DCC53962872B70682223384786A3443ADAEE75F (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method)
  8346. {
  8347. {
  8348. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_value;
  8349. __this->___U3CanchorRotationU3Ek__BackingField = L_0;
  8350. return;
  8351. }
  8352. }
  8353. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Spine_get_anchorRelativeToHead_mC024F027EC9B56BDC1454C414C6F343B0A1924FE (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  8354. {
  8355. {
  8356. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___U3CanchorRelativeToHeadU3Ek__BackingField;
  8357. return L_0;
  8358. }
  8359. }
  8360. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_set_anchorRelativeToHead_m81848111682758140D3E2C527C15E66A230A7CF1 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method)
  8361. {
  8362. {
  8363. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_value;
  8364. __this->___U3CanchorRelativeToHeadU3Ek__BackingField = L_0;
  8365. return;
  8366. }
  8367. }
  8368. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_OnRead_mD4725F101CC51D8E2B2D13D4D32D605312D133D2 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __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)
  8369. {
  8370. static bool s_Il2CppMethodInitialized;
  8371. if (!s_Il2CppMethodInitialized)
  8372. {
  8373. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C_il2cpp_TypeInfo_var);
  8374. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  8375. s_Il2CppMethodInitialized = true;
  8376. }
  8377. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  8378. memset((&V_0), 0, sizeof(V_0));
  8379. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  8380. memset((&V_1), 0, sizeof(V_1));
  8381. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  8382. memset((&V_2), 0, sizeof(V_2));
  8383. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
  8384. memset((&V_3), 0, sizeof(V_3));
  8385. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  8386. memset((&V_4), 0, sizeof(V_4));
  8387. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_5;
  8388. memset((&V_5), 0, sizeof(V_5));
  8389. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  8390. memset((&V_6), 0, sizeof(V_6));
  8391. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_7;
  8392. memset((&V_7), 0, sizeof(V_7));
  8393. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
  8394. memset((&V_8), 0, sizeof(V_8));
  8395. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_9;
  8396. memset((&V_9), 0, sizeof(V_9));
  8397. float V_10 = 0.0f;
  8398. int32_t V_11 = 0;
  8399. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_12;
  8400. memset((&V_12), 0, sizeof(V_12));
  8401. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* G_B9_0 = NULL;
  8402. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* G_B8_0 = NULL;
  8403. int32_t G_B10_0 = 0;
  8404. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* G_B10_1 = NULL;
  8405. {
  8406. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = ___0_positions;
  8407. int32_t L_1 = ___8_index;
  8408. NullCheck(L_0);
  8409. int32_t L_2 = L_1;
  8410. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  8411. V_0 = L_3;
  8412. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_4 = ___1_rotations;
  8413. int32_t L_5 = ___8_index;
  8414. NullCheck(L_4);
  8415. int32_t L_6 = L_5;
  8416. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  8417. V_1 = L_7;
  8418. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_8 = ___0_positions;
  8419. int32_t L_9 = ___8_index;
  8420. NullCheck(L_8);
  8421. int32_t L_10 = ((int32_t)il2cpp_codegen_add(L_9, 1));
  8422. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  8423. V_2 = L_11;
  8424. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_12 = ___1_rotations;
  8425. int32_t L_13 = ___8_index;
  8426. NullCheck(L_12);
  8427. int32_t L_14 = ((int32_t)il2cpp_codegen_add(L_13, 1));
  8428. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  8429. V_3 = L_15;
  8430. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_16 = ___0_positions;
  8431. int32_t L_17 = ___8_index;
  8432. NullCheck(L_16);
  8433. int32_t L_18 = ((int32_t)il2cpp_codegen_add(L_17, 2));
  8434. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  8435. V_4 = L_19;
  8436. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_20 = ___1_rotations;
  8437. int32_t L_21 = ___8_index;
  8438. NullCheck(L_20);
  8439. int32_t L_22 = ((int32_t)il2cpp_codegen_add(L_21, 2));
  8440. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  8441. V_5 = L_23;
  8442. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_24 = ___0_positions;
  8443. int32_t L_25 = ___8_index;
  8444. NullCheck(L_24);
  8445. int32_t L_26 = ((int32_t)il2cpp_codegen_add(L_25, 3));
  8446. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  8447. V_6 = L_27;
  8448. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_28 = ___1_rotations;
  8449. int32_t L_29 = ___8_index;
  8450. NullCheck(L_28);
  8451. int32_t L_30 = ((int32_t)il2cpp_codegen_add(L_29, 3));
  8452. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  8453. V_7 = L_31;
  8454. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_32 = ___0_positions;
  8455. int32_t L_33 = ___8_index;
  8456. NullCheck(L_32);
  8457. int32_t L_34 = ((int32_t)il2cpp_codegen_add(L_33, 4));
  8458. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  8459. V_8 = L_35;
  8460. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_36 = ___1_rotations;
  8461. int32_t L_37 = ___8_index;
  8462. NullCheck(L_36);
  8463. int32_t L_38 = ((int32_t)il2cpp_codegen_add(L_37, 4));
  8464. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
  8465. V_9 = L_39;
  8466. bool L_40 = ___6_hasLegs;
  8467. __this->___hasLegs = L_40;
  8468. bool L_41 = ___2_hasChest;
  8469. if (L_41)
  8470. {
  8471. goto IL_0081;
  8472. }
  8473. }
  8474. {
  8475. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_2;
  8476. V_4 = L_42;
  8477. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_43 = V_3;
  8478. V_5 = L_43;
  8479. }
  8480. IL_0081:
  8481. {
  8482. bool L_44 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___initiated;
  8483. if (L_44)
  8484. {
  8485. goto IL_0263;
  8486. }
  8487. }
  8488. {
  8489. bool L_45 = ___2_hasChest;
  8490. __this->___hasChest = L_45;
  8491. bool L_46 = ___3_hasNeck;
  8492. __this->___hasNeck = L_46;
  8493. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = V_8;
  8494. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_48 = ___0_positions;
  8495. NullCheck(L_48);
  8496. int32_t L_49 = 0;
  8497. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
  8498. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
  8499. L_51 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_47, L_50, NULL);
  8500. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_52 = ___1_rotations;
  8501. NullCheck(L_52);
  8502. int32_t L_53 = 0;
  8503. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
  8504. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
  8505. L_55 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  8506. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
  8507. L_56 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_54, L_55, NULL);
  8508. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  8509. L_57 = V3Tools_ExtractVertical_m47BDFC19A306C2C7BB23EC498633102F1ED6C372(L_51, L_56, (1.0f), NULL);
  8510. V_12 = L_57;
  8511. float L_58;
  8512. L_58 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_12), NULL);
  8513. __this->___headHeight = L_58;
  8514. V_11 = 3;
  8515. bool L_59 = ___2_hasChest;
  8516. if (!L_59)
  8517. {
  8518. goto IL_00df;
  8519. }
  8520. }
  8521. {
  8522. int32_t L_60 = V_11;
  8523. V_11 = ((int32_t)il2cpp_codegen_add(L_60, 1));
  8524. }
  8525. IL_00df:
  8526. {
  8527. bool L_61 = ___3_hasNeck;
  8528. if (!L_61)
  8529. {
  8530. goto IL_00e9;
  8531. }
  8532. }
  8533. {
  8534. int32_t L_62 = V_11;
  8535. V_11 = ((int32_t)il2cpp_codegen_add(L_62, 1));
  8536. }
  8537. IL_00e9:
  8538. {
  8539. int32_t L_63 = V_11;
  8540. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_64 = (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C*)(VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C*)SZArrayNew(VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C_il2cpp_TypeInfo_var, (uint32_t)L_63);
  8541. ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones = L_64;
  8542. Il2CppCodeGenWriteBarrier((void**)(&((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones), (void*)L_64);
  8543. bool L_65 = ___2_hasChest;
  8544. if (L_65)
  8545. {
  8546. G_B9_0 = __this;
  8547. goto IL_00fd;
  8548. }
  8549. G_B8_0 = __this;
  8550. }
  8551. {
  8552. G_B10_0 = 1;
  8553. G_B10_1 = G_B8_0;
  8554. goto IL_00fe;
  8555. }
  8556. IL_00fd:
  8557. {
  8558. G_B10_0 = 2;
  8559. G_B10_1 = G_B9_0;
  8560. }
  8561. IL_00fe:
  8562. {
  8563. NullCheck(G_B10_1);
  8564. G_B10_1->___chestIndex = G_B10_0;
  8565. __this->___neckIndex = 1;
  8566. bool L_66 = ___2_hasChest;
  8567. if (!L_66)
  8568. {
  8569. goto IL_011b;
  8570. }
  8571. }
  8572. {
  8573. int32_t L_67 = __this->___neckIndex;
  8574. __this->___neckIndex = ((int32_t)il2cpp_codegen_add(L_67, 1));
  8575. }
  8576. IL_011b:
  8577. {
  8578. bool L_68 = ___3_hasNeck;
  8579. if (!L_68)
  8580. {
  8581. goto IL_012d;
  8582. }
  8583. }
  8584. {
  8585. int32_t L_69 = __this->___neckIndex;
  8586. __this->___neckIndex = ((int32_t)il2cpp_codegen_add(L_69, 1));
  8587. }
  8588. IL_012d:
  8589. {
  8590. __this->___headIndex = 2;
  8591. bool L_70 = ___2_hasChest;
  8592. if (!L_70)
  8593. {
  8594. goto IL_0145;
  8595. }
  8596. }
  8597. {
  8598. int32_t L_71 = __this->___headIndex;
  8599. __this->___headIndex = ((int32_t)il2cpp_codegen_add(L_71, 1));
  8600. }
  8601. IL_0145:
  8602. {
  8603. bool L_72 = ___3_hasNeck;
  8604. if (!L_72)
  8605. {
  8606. goto IL_0157;
  8607. }
  8608. }
  8609. {
  8610. int32_t L_73 = __this->___headIndex;
  8611. __this->___headIndex = ((int32_t)il2cpp_codegen_add(L_73, 1));
  8612. }
  8613. IL_0157:
  8614. {
  8615. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_74 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8616. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75 = V_0;
  8617. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_76 = V_1;
  8618. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_77 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  8619. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_77, L_75, L_76, NULL);
  8620. NullCheck(L_74);
  8621. ArrayElementTypeCheck (L_74, L_77);
  8622. (L_74)->SetAt(static_cast<il2cpp_array_size_t>(0), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_77);
  8623. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_78 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8624. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79 = V_2;
  8625. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_80 = V_3;
  8626. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_81 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  8627. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_81, L_79, L_80, NULL);
  8628. NullCheck(L_78);
  8629. ArrayElementTypeCheck (L_78, L_81);
  8630. (L_78)->SetAt(static_cast<il2cpp_array_size_t>(1), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_81);
  8631. bool L_82 = ___2_hasChest;
  8632. if (!L_82)
  8633. {
  8634. goto IL_018e;
  8635. }
  8636. }
  8637. {
  8638. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_83 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8639. int32_t L_84 = __this->___chestIndex;
  8640. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = V_4;
  8641. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_86 = V_5;
  8642. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_87 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  8643. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_87, L_85, L_86, NULL);
  8644. NullCheck(L_83);
  8645. ArrayElementTypeCheck (L_83, L_87);
  8646. (L_83)->SetAt(static_cast<il2cpp_array_size_t>(L_84), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_87);
  8647. }
  8648. IL_018e:
  8649. {
  8650. bool L_88 = ___3_hasNeck;
  8651. if (!L_88)
  8652. {
  8653. goto IL_01a8;
  8654. }
  8655. }
  8656. {
  8657. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_89 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8658. int32_t L_90 = __this->___neckIndex;
  8659. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = V_6;
  8660. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_92 = V_7;
  8661. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_93 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  8662. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_93, L_91, L_92, NULL);
  8663. NullCheck(L_89);
  8664. ArrayElementTypeCheck (L_89, L_93);
  8665. (L_89)->SetAt(static_cast<il2cpp_array_size_t>(L_90), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_93);
  8666. }
  8667. IL_01a8:
  8668. {
  8669. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_94 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8670. int32_t L_95 = __this->___headIndex;
  8671. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96 = V_8;
  8672. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_97 = V_9;
  8673. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_98 = (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)il2cpp_codegen_object_new(VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD_il2cpp_TypeInfo_var);
  8674. VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C(L_98, L_96, L_97, NULL);
  8675. NullCheck(L_94);
  8676. ArrayElementTypeCheck (L_94, L_98);
  8677. (L_94)->SetAt(static_cast<il2cpp_array_size_t>(L_95), (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD*)L_98);
  8678. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_99;
  8679. L_99 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  8680. __this->___pelvisRotationOffset = L_99;
  8681. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_100;
  8682. L_100 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  8683. __this->___chestRotationOffset = L_100;
  8684. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_101;
  8685. L_101 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  8686. __this->___headRotationOffset = L_101;
  8687. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_102 = V_9;
  8688. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_103;
  8689. L_103 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_102, NULL);
  8690. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_104 = ___1_rotations;
  8691. NullCheck(L_104);
  8692. int32_t L_105 = 0;
  8693. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_106 = (L_104)->GetAt(static_cast<il2cpp_array_size_t>(L_105));
  8694. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_107;
  8695. L_107 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_103, L_106, NULL);
  8696. Spine_set_anchorRelativeToHead_m81848111682758140D3E2C527C15E66A230A7CF1_inline(__this, L_107, NULL);
  8697. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_108 = V_1;
  8698. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_109;
  8699. L_109 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_108, NULL);
  8700. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_110 = ___1_rotations;
  8701. NullCheck(L_110);
  8702. int32_t L_111 = 0;
  8703. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_112 = (L_110)->GetAt(static_cast<il2cpp_array_size_t>(L_111));
  8704. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_113;
  8705. L_113 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_109, L_112, NULL);
  8706. __this->___anchorRelativeToPelvis = L_113;
  8707. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_114 = ___1_rotations;
  8708. NullCheck(L_114);
  8709. int32_t L_115 = 0;
  8710. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_116 = (L_114)->GetAt(static_cast<il2cpp_array_size_t>(L_115));
  8711. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117;
  8712. L_117 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  8713. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118;
  8714. L_118 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_116, L_117, NULL);
  8715. __this->___faceDirection = L_118;
  8716. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119 = V_8;
  8717. __this->___IKPositionHead = L_119;
  8718. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_120 = V_9;
  8719. __this->___IKRotationHead = L_120;
  8720. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121 = V_0;
  8721. __this->___IKPositionPelvis = L_121;
  8722. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_122 = V_1;
  8723. __this->___IKRotationPelvis = L_122;
  8724. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_123 = V_4;
  8725. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_124 = ___1_rotations;
  8726. NullCheck(L_124);
  8727. int32_t L_125 = 0;
  8728. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_126 = (L_124)->GetAt(static_cast<il2cpp_array_size_t>(L_125));
  8729. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127;
  8730. L_127 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  8731. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_128;
  8732. L_128 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_126, L_127, NULL);
  8733. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_129;
  8734. L_129 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_123, L_128, NULL);
  8735. __this->___goalPositionChest = L_129;
  8736. }
  8737. IL_0263:
  8738. {
  8739. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_130 = V_9;
  8740. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_131;
  8741. L_131 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_130, NULL);
  8742. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_132 = V_1;
  8743. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_133;
  8744. L_133 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_131, L_132, NULL);
  8745. __this->___pelvisRelativeRotation = L_133;
  8746. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_134 = V_9;
  8747. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_135;
  8748. L_135 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_134, NULL);
  8749. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_136 = V_5;
  8750. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_137;
  8751. L_137 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_135, L_136, NULL);
  8752. __this->___chestRelativeRotation = L_137;
  8753. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_138 = V_5;
  8754. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_139;
  8755. L_139 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_138, NULL);
  8756. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_140 = ___1_rotations;
  8757. NullCheck(L_140);
  8758. int32_t L_141 = 0;
  8759. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_142 = (L_140)->GetAt(static_cast<il2cpp_array_size_t>(L_141));
  8760. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_143;
  8761. L_143 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  8762. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_144;
  8763. L_144 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_142, L_143, NULL);
  8764. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145;
  8765. L_145 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_139, L_144, NULL);
  8766. __this->___chestForward = L_145;
  8767. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_146 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8768. NullCheck(L_146);
  8769. int32_t L_147 = 0;
  8770. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_148 = (L_146)->GetAt(static_cast<il2cpp_array_size_t>(L_147));
  8771. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_149 = V_0;
  8772. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_150 = V_1;
  8773. NullCheck(L_148);
  8774. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_148, L_149, L_150, NULL);
  8775. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_151 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8776. NullCheck(L_151);
  8777. int32_t L_152 = 1;
  8778. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_153 = (L_151)->GetAt(static_cast<il2cpp_array_size_t>(L_152));
  8779. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_154 = V_2;
  8780. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_155 = V_3;
  8781. NullCheck(L_153);
  8782. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_153, L_154, L_155, NULL);
  8783. bool L_156 = ___2_hasChest;
  8784. if (!L_156)
  8785. {
  8786. goto IL_02e4;
  8787. }
  8788. }
  8789. {
  8790. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_157 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8791. int32_t L_158 = __this->___chestIndex;
  8792. NullCheck(L_157);
  8793. int32_t L_159 = L_158;
  8794. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_160 = (L_157)->GetAt(static_cast<il2cpp_array_size_t>(L_159));
  8795. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_161 = V_4;
  8796. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_162 = V_5;
  8797. NullCheck(L_160);
  8798. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_160, L_161, L_162, NULL);
  8799. }
  8800. IL_02e4:
  8801. {
  8802. bool L_163 = ___3_hasNeck;
  8803. if (!L_163)
  8804. {
  8805. goto IL_02fe;
  8806. }
  8807. }
  8808. {
  8809. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_164 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8810. int32_t L_165 = __this->___neckIndex;
  8811. NullCheck(L_164);
  8812. int32_t L_166 = L_165;
  8813. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_167 = (L_164)->GetAt(static_cast<il2cpp_array_size_t>(L_166));
  8814. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_168 = V_6;
  8815. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_169 = V_7;
  8816. NullCheck(L_167);
  8817. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_167, L_168, L_169, NULL);
  8818. }
  8819. IL_02fe:
  8820. {
  8821. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_170 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  8822. int32_t L_171 = __this->___headIndex;
  8823. NullCheck(L_170);
  8824. int32_t L_172 = L_171;
  8825. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_173 = (L_170)->GetAt(static_cast<il2cpp_array_size_t>(L_172));
  8826. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_174 = V_8;
  8827. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_175 = V_9;
  8828. NullCheck(L_173);
  8829. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(L_173, L_174, L_175, NULL);
  8830. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_176 = V_0;
  8831. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_177 = V_8;
  8832. float L_178;
  8833. L_178 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_176, L_177, NULL);
  8834. V_10 = L_178;
  8835. float L_179 = V_10;
  8836. __this->___sizeMlp = ((float)(L_179/(0.699999988f)));
  8837. return;
  8838. }
  8839. }
  8840. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_PreSolve_mE92AB11AD121CCA4616E0EB2A60F2A9D4FF91491 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  8841. {
  8842. static bool s_Il2CppMethodInitialized;
  8843. if (!s_Il2CppMethodInitialized)
  8844. {
  8845. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  8846. s_Il2CppMethodInitialized = true;
  8847. }
  8848. {
  8849. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___headTarget;
  8850. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  8851. bool L_1;
  8852. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  8853. if (!L_1)
  8854. {
  8855. goto IL_0030;
  8856. }
  8857. }
  8858. {
  8859. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___headTarget;
  8860. NullCheck(L_2);
  8861. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  8862. L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
  8863. __this->___IKPositionHead = L_3;
  8864. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___headTarget;
  8865. NullCheck(L_4);
  8866. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  8867. L_5 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_4, NULL);
  8868. __this->___IKRotationHead = L_5;
  8869. }
  8870. IL_0030:
  8871. {
  8872. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = __this->___chestGoal;
  8873. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  8874. bool L_7;
  8875. L_7 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_6, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  8876. if (!L_7)
  8877. {
  8878. goto IL_004f;
  8879. }
  8880. }
  8881. {
  8882. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = __this->___chestGoal;
  8883. NullCheck(L_8);
  8884. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  8885. L_9 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_8, NULL);
  8886. __this->___goalPositionChest = L_9;
  8887. }
  8888. IL_004f:
  8889. {
  8890. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = __this->___pelvisTarget;
  8891. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  8892. bool L_11;
  8893. L_11 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  8894. if (!L_11)
  8895. {
  8896. goto IL_007f;
  8897. }
  8898. }
  8899. {
  8900. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = __this->___pelvisTarget;
  8901. NullCheck(L_12);
  8902. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  8903. L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
  8904. __this->___IKPositionPelvis = L_13;
  8905. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = __this->___pelvisTarget;
  8906. NullCheck(L_14);
  8907. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
  8908. L_15 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_14, NULL);
  8909. __this->___IKRotationPelvis = L_15;
  8910. }
  8911. IL_007f:
  8912. {
  8913. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_16;
  8914. L_16 = Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C(__this, NULL);
  8915. NullCheck(L_16);
  8916. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = L_16->___solverPosition;
  8917. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = __this->___IKPositionHead;
  8918. float L_19 = __this->___positionWeight;
  8919. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  8920. L_20 = V3Tools_Lerp_mD7F7DC69008BC285AA91CB1B09570FE5FA3325B4(L_17, L_18, L_19, NULL);
  8921. __this->___headPosition = L_20;
  8922. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_21;
  8923. L_21 = Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C(__this, NULL);
  8924. NullCheck(L_21);
  8925. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = L_21->___solverRotation;
  8926. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = __this->___IKRotationHead;
  8927. float L_24 = __this->___rotationWeight;
  8928. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25;
  8929. L_25 = QuaTools_Lerp_mA4973D1315D60B0E95A01B5581EF5119592351EE(L_22, L_23, L_24, NULL);
  8930. __this->___headRotation = L_25;
  8931. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_26;
  8932. L_26 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  8933. NullCheck(L_26);
  8934. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27 = L_26->___solverRotation;
  8935. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28 = __this->___IKRotationPelvis;
  8936. float L_29 = __this->___rotationWeight;
  8937. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
  8938. L_30 = QuaTools_Lerp_mA4973D1315D60B0E95A01B5581EF5119592351EE(L_27, L_28, L_29, NULL);
  8939. __this->___pelvisRotation = L_30;
  8940. return;
  8941. }
  8942. }
  8943. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_ApplyOffsets_m39F1918A2DFCB2F0323D8EB148B3CCD3D8789C95 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, float ___0_scale, const RuntimeMethod* method)
  8944. {
  8945. static bool s_Il2CppMethodInitialized;
  8946. if (!s_Il2CppMethodInitialized)
  8947. {
  8948. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  8949. s_Il2CppMethodInitialized = true;
  8950. }
  8951. float V_0 = 0.0f;
  8952. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  8953. memset((&V_1), 0, sizeof(V_1));
  8954. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  8955. memset((&V_2), 0, sizeof(V_2));
  8956. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  8957. memset((&V_3), 0, sizeof(V_3));
  8958. {
  8959. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___headPosition;
  8960. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = __this->___headPositionOffset;
  8961. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  8962. L_2 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_0, L_1, NULL);
  8963. __this->___headPosition = L_2;
  8964. float L_3 = __this->___minHeadHeight;
  8965. float L_4 = ___0_scale;
  8966. V_0 = ((float)il2cpp_codegen_multiply(L_3, L_4));
  8967. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  8968. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  8969. L_6 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  8970. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  8971. L_7 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_5, L_6, NULL);
  8972. V_1 = L_7;
  8973. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_1;
  8974. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  8975. L_9 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  8976. bool L_10;
  8977. L_10 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_8, L_9, NULL);
  8978. if (!L_10)
  8979. {
  8980. goto IL_0068;
  8981. }
  8982. }
  8983. {
  8984. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_11 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___headPosition);
  8985. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_12 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootPosition);
  8986. float L_13 = L_12->___y;
  8987. float L_14 = V_0;
  8988. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_15 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___headPosition);
  8989. float L_16 = L_15->___y;
  8990. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  8991. float L_17;
  8992. L_17 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(((float)il2cpp_codegen_add(L_13, L_14)), L_16, NULL);
  8993. L_11->___y = L_17;
  8994. goto IL_00e0;
  8995. }
  8996. IL_0068:
  8997. {
  8998. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = __this->___headPosition;
  8999. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootPosition;
  9000. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  9001. L_20 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_18, L_19, NULL);
  9002. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = L_20;
  9003. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_1;
  9004. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  9005. L_23 = V3Tools_ExtractHorizontal_m91B6CF4A493350C8537393356A03968D54B4A75C(L_21, L_22, (1.0f), NULL);
  9006. V_2 = L_23;
  9007. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_2;
  9008. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  9009. L_25 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_21, L_24, NULL);
  9010. V_3 = L_25;
  9011. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_3;
  9012. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = V_1;
  9013. float L_28;
  9014. L_28 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_26, L_27, NULL);
  9015. if ((!(((float)L_28) > ((float)(0.0f)))))
  9016. {
  9017. goto IL_00b5;
  9018. }
  9019. }
  9020. {
  9021. float L_29;
  9022. L_29 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_3), NULL);
  9023. float L_30 = V_0;
  9024. if ((!(((float)L_29) < ((float)L_30))))
  9025. {
  9026. goto IL_00c8;
  9027. }
  9028. }
  9029. {
  9030. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  9031. L_31 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_3), NULL);
  9032. float L_32 = V_0;
  9033. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
  9034. L_33 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_31, L_32, NULL);
  9035. V_3 = L_33;
  9036. goto IL_00c8;
  9037. }
  9038. IL_00b5:
  9039. {
  9040. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  9041. L_34 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_3), NULL);
  9042. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  9043. L_35 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_34, NULL);
  9044. float L_36 = V_0;
  9045. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
  9046. L_37 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_35, L_36, NULL);
  9047. V_3 = L_37;
  9048. }
  9049. IL_00c8:
  9050. {
  9051. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootPosition;
  9052. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_2;
  9053. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
  9054. L_40 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_38, L_39, NULL);
  9055. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = V_3;
  9056. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
  9057. L_42 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_40, L_41, NULL);
  9058. __this->___headPosition = L_42;
  9059. }
  9060. IL_00e0:
  9061. {
  9062. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_43 = __this->___headRotationOffset;
  9063. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44 = __this->___headRotation;
  9064. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_45;
  9065. L_45 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_43, L_44, NULL);
  9066. __this->___headRotation = L_45;
  9067. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = __this->___headPosition;
  9068. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_47;
  9069. L_47 = Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C(__this, NULL);
  9070. NullCheck(L_47);
  9071. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = L_47->___solverPosition;
  9072. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
  9073. L_49 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_46, L_48, NULL);
  9074. __this->___headDeltaPosition = L_49;
  9075. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_50;
  9076. L_50 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  9077. NullCheck(L_50);
  9078. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_51 = L_50->___solverRotation;
  9079. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52 = __this->___headRotation;
  9080. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_53 = __this->___pelvisRelativeRotation;
  9081. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54;
  9082. L_54 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_52, L_53, NULL);
  9083. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_55;
  9084. L_55 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_51, L_54, NULL);
  9085. __this->___pelvisDeltaRotation = L_55;
  9086. float L_56 = __this->___pelvisRotationWeight;
  9087. if ((!(((float)L_56) <= ((float)(0.0f)))))
  9088. {
  9089. goto IL_015f;
  9090. }
  9091. }
  9092. {
  9093. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_57 = __this->___headRotation;
  9094. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58;
  9095. L_58 = Spine_get_anchorRelativeToHead_mC024F027EC9B56BDC1454C414C6F343B0A1924FE_inline(__this, NULL);
  9096. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59;
  9097. L_59 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_57, L_58, NULL);
  9098. Spine_set_anchorRotation_m9DCC53962872B70682223384786A3443ADAEE75F_inline(__this, L_59, NULL);
  9099. return;
  9100. }
  9101. IL_015f:
  9102. {
  9103. float L_60 = __this->___pelvisRotationWeight;
  9104. if ((!(((float)L_60) > ((float)(0.0f)))))
  9105. {
  9106. goto IL_01ad;
  9107. }
  9108. }
  9109. {
  9110. float L_61 = __this->___pelvisRotationWeight;
  9111. if ((!(((float)L_61) < ((float)(1.0f)))))
  9112. {
  9113. goto IL_01ad;
  9114. }
  9115. }
  9116. {
  9117. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62 = __this->___headRotation;
  9118. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_63;
  9119. L_63 = Spine_get_anchorRelativeToHead_mC024F027EC9B56BDC1454C414C6F343B0A1924FE_inline(__this, NULL);
  9120. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_64;
  9121. L_64 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_62, L_63, NULL);
  9122. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65 = __this->___pelvisRotation;
  9123. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66 = __this->___anchorRelativeToPelvis;
  9124. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_67;
  9125. L_67 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_65, L_66, NULL);
  9126. float L_68 = __this->___pelvisRotationWeight;
  9127. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69;
  9128. L_69 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_64, L_67, L_68, NULL);
  9129. Spine_set_anchorRotation_m9DCC53962872B70682223384786A3443ADAEE75F_inline(__this, L_69, NULL);
  9130. return;
  9131. }
  9132. IL_01ad:
  9133. {
  9134. float L_70 = __this->___pelvisRotationWeight;
  9135. if ((!(((float)L_70) >= ((float)(1.0f)))))
  9136. {
  9137. goto IL_01d1;
  9138. }
  9139. }
  9140. {
  9141. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_71 = __this->___pelvisRotation;
  9142. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_72 = __this->___anchorRelativeToPelvis;
  9143. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_73;
  9144. L_73 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_71, L_72, NULL);
  9145. Spine_set_anchorRotation_m9DCC53962872B70682223384786A3443ADAEE75F_inline(__this, L_73, NULL);
  9146. }
  9147. IL_01d1:
  9148. {
  9149. return;
  9150. }
  9151. }
  9152. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_CalculateChestTargetRotation_mCB85A8F8B8DC94C138E33F5F5D1BD8FFA3EBED04 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* ___0_rootBone, ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* ___1_arms, const RuntimeMethod* method)
  9153. {
  9154. {
  9155. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___headRotation;
  9156. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = __this->___chestRelativeRotation;
  9157. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  9158. L_2 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_0, L_1, NULL);
  9159. __this->___chestTargetRotation = L_2;
  9160. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* L_3 = (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)(&__this->___chestTargetRotation);
  9161. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_4 = ___1_arms;
  9162. Spine_AdjustChestByHands_mEA4F1D36F16F70832B84700C36A38ED04F4EE883(__this, L_3, L_4, NULL);
  9163. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  9164. L_5 = Spine_get_anchorRotation_m678C1386D10833551B3D31B96C831BBDB2D92527_inline(__this, NULL);
  9165. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  9166. L_6 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  9167. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  9168. L_7 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_5, L_6, NULL);
  9169. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8 = ___0_rootBone;
  9170. NullCheck(L_8);
  9171. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8->___readRotation;
  9172. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  9173. L_10 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  9174. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  9175. L_11 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_9, L_10, NULL);
  9176. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  9177. L_12 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_7, L_11, NULL);
  9178. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
  9179. L_13 = Spine_get_anchorRotation_m678C1386D10833551B3D31B96C831BBDB2D92527_inline(__this, NULL);
  9180. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  9181. L_14 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  9182. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  9183. L_15 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_13, L_14, NULL);
  9184. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  9185. L_16 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_12, L_15, NULL);
  9186. __this->___faceDirection = L_16;
  9187. return;
  9188. }
  9189. }
  9190. 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)
  9191. {
  9192. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  9193. memset((&V_0), 0, sizeof(V_0));
  9194. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  9195. memset((&V_1), 0, sizeof(V_1));
  9196. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  9197. memset((&V_2), 0, sizeof(V_2));
  9198. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  9199. memset((&V_3), 0, sizeof(V_3));
  9200. float V_4 = 0.0f;
  9201. float V_5 = 0.0f;
  9202. float V_6 = 0.0f;
  9203. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_7;
  9204. memset((&V_7), 0, sizeof(V_7));
  9205. {
  9206. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0 = ___0_rootBone;
  9207. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_1 = ___2_arms;
  9208. Spine_CalculateChestTargetRotation_mCB85A8F8B8DC94C138E33F5F5D1BD8FFA3EBED04(__this, L_0, L_1, NULL);
  9209. float L_2 = __this->___maxRootAngle;
  9210. if ((!(((float)L_2) < ((float)(180.0f)))))
  9211. {
  9212. goto IL_00c0;
  9213. }
  9214. }
  9215. {
  9216. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___faceDirection;
  9217. V_2 = L_3;
  9218. float L_4 = __this->___rootHeadingOffset;
  9219. if ((((float)L_4) == ((float)(0.0f))))
  9220. {
  9221. goto IL_0043;
  9222. }
  9223. }
  9224. {
  9225. float L_5 = __this->___rootHeadingOffset;
  9226. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  9227. L_6 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  9228. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
  9229. L_7 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_5, L_6, NULL);
  9230. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
  9231. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  9232. L_9 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_7, L_8, NULL);
  9233. V_2 = L_9;
  9234. }
  9235. IL_0043:
  9236. {
  9237. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_10 = ___0_rootBone;
  9238. NullCheck(L_10);
  9239. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11 = L_10->___solverRotation;
  9240. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
  9241. L_12 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_11, NULL);
  9242. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_2;
  9243. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  9244. L_14 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_12, L_13, NULL);
  9245. V_3 = L_14;
  9246. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_3;
  9247. float L_16 = L_15.___x;
  9248. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_3;
  9249. float L_18 = L_17.___z;
  9250. float L_19;
  9251. L_19 = atan2f(L_16, L_18);
  9252. V_4 = ((float)il2cpp_codegen_multiply(L_19, (57.2957802f)));
  9253. V_5 = (0.0f);
  9254. float L_20 = __this->___maxRootAngle;
  9255. V_6 = L_20;
  9256. float L_21 = V_4;
  9257. float L_22 = V_6;
  9258. if ((!(((float)L_21) > ((float)L_22))))
  9259. {
  9260. goto IL_008a;
  9261. }
  9262. }
  9263. {
  9264. float L_23 = V_4;
  9265. float L_24 = V_6;
  9266. V_5 = ((float)il2cpp_codegen_subtract(L_23, L_24));
  9267. }
  9268. IL_008a:
  9269. {
  9270. float L_25 = V_4;
  9271. float L_26 = V_6;
  9272. if ((!(((float)L_25) < ((float)((-L_26))))))
  9273. {
  9274. goto IL_0098;
  9275. }
  9276. }
  9277. {
  9278. float L_27 = V_4;
  9279. float L_28 = V_6;
  9280. V_5 = ((float)il2cpp_codegen_add(L_27, L_28));
  9281. }
  9282. IL_0098:
  9283. {
  9284. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_29 = ___0_rootBone;
  9285. float L_30 = V_5;
  9286. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_31 = ___0_rootBone;
  9287. NullCheck(L_31);
  9288. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = L_31->___readRotation;
  9289. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
  9290. L_33 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  9291. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  9292. L_34 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_32, L_33, NULL);
  9293. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35;
  9294. L_35 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_30, L_34, NULL);
  9295. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_36 = ___0_rootBone;
  9296. NullCheck(L_36);
  9297. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_37 = L_36->___solverRotation;
  9298. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
  9299. L_38 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_35, L_37, NULL);
  9300. NullCheck(L_29);
  9301. L_29->___solverRotation = L_38;
  9302. }
  9303. IL_00c0:
  9304. {
  9305. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_39;
  9306. L_39 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  9307. NullCheck(L_39);
  9308. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = L_39->___solverPosition;
  9309. V_0 = L_40;
  9310. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_41 = ___0_rootBone;
  9311. NullCheck(L_41);
  9312. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42 = L_41->___solverRotation;
  9313. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
  9314. L_43 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  9315. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
  9316. L_44 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_42, L_43, NULL);
  9317. V_1 = L_44;
  9318. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_45 = ___1_legs;
  9319. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = __this->___headDeltaPosition;
  9320. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_47 = __this->___pelvisDeltaRotation;
  9321. float L_48 = ___3_scale;
  9322. Spine_TranslatePelvis_m30BA0331B3B466B6FAA716E07AA5157F0477EA80(__this, L_45, L_46, L_47, L_48, NULL);
  9323. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_0;
  9324. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = V_1;
  9325. float L_51 = __this->___positionWeight;
  9326. Spine_FABRIKPass_m9C5385D2BBB8316623CBC536E6835AAD4F7E7F46(__this, L_49, L_50, L_51, NULL);
  9327. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_52 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9328. int32_t L_53 = __this->___pelvisIndex;
  9329. int32_t L_54 = __this->___chestIndex;
  9330. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_55 = __this->___chestTargetRotation;
  9331. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56 = __this->___chestRotationOffset;
  9332. float L_57 = __this->___chestClampWeight;
  9333. float L_58 = __this->___neckStiffness;
  9334. float L_59 = __this->___rotationWeight;
  9335. Spine_Bend_mF2C7FF449A8B8092A387AF438771DA33CA34494A(__this, L_52, L_53, L_54, L_55, L_56, L_57, (bool)0, ((float)il2cpp_codegen_multiply(L_58, L_59)), NULL);
  9336. int32_t L_60 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___LOD;
  9337. if ((((int32_t)L_60) >= ((int32_t)1)))
  9338. {
  9339. goto IL_01e0;
  9340. }
  9341. }
  9342. {
  9343. float L_61 = __this->___chestGoalWeight;
  9344. if ((!(((float)L_61) > ((float)(0.0f)))))
  9345. {
  9346. goto IL_01e0;
  9347. }
  9348. }
  9349. {
  9350. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_62 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9351. int32_t L_63 = __this->___chestIndex;
  9352. NullCheck(L_62);
  9353. int32_t L_64 = L_63;
  9354. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_65 = (L_62)->GetAt(static_cast<il2cpp_array_size_t>(L_64));
  9355. NullCheck(L_65);
  9356. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66 = L_65->___solverRotation;
  9357. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = __this->___chestForward;
  9358. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
  9359. L_68 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_66, L_67, NULL);
  9360. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69 = __this->___goalPositionChest;
  9361. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_70 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9362. int32_t L_71 = __this->___chestIndex;
  9363. NullCheck(L_70);
  9364. int32_t L_72 = L_71;
  9365. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_73 = (L_70)->GetAt(static_cast<il2cpp_array_size_t>(L_72));
  9366. NullCheck(L_73);
  9367. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74 = L_73->___solverPosition;
  9368. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
  9369. L_75 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_69, L_74, NULL);
  9370. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_76;
  9371. L_76 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_68, L_75, NULL);
  9372. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_77 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9373. int32_t L_78 = __this->___chestIndex;
  9374. NullCheck(L_77);
  9375. int32_t L_79 = L_78;
  9376. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_80 = (L_77)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
  9377. NullCheck(L_80);
  9378. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_81 = L_80->___solverRotation;
  9379. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_82;
  9380. L_82 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_76, L_81, NULL);
  9381. V_7 = L_82;
  9382. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_83 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9383. int32_t L_84 = __this->___pelvisIndex;
  9384. int32_t L_85 = __this->___chestIndex;
  9385. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_86 = V_7;
  9386. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_87 = __this->___chestRotationOffset;
  9387. float L_88 = __this->___chestClampWeight;
  9388. float L_89 = __this->___chestGoalWeight;
  9389. float L_90 = __this->___rotationWeight;
  9390. Spine_Bend_mF2C7FF449A8B8092A387AF438771DA33CA34494A(__this, L_83, L_84, L_85, L_86, L_87, L_88, (bool)0, ((float)il2cpp_codegen_multiply(L_89, L_90)), NULL);
  9391. }
  9392. IL_01e0:
  9393. {
  9394. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_91 = ___1_legs;
  9395. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
  9396. L_92 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  9397. float L_93 = __this->___positionWeight;
  9398. Spine_InverseTranslateToHead_mCBC45D232C0831636371802B8AB702837AF4362E(__this, L_91, (bool)0, (bool)0, L_92, L_93, NULL);
  9399. int32_t L_94 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___LOD;
  9400. if ((((int32_t)L_94) >= ((int32_t)1)))
  9401. {
  9402. goto IL_020b;
  9403. }
  9404. }
  9405. {
  9406. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95 = V_0;
  9407. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96 = V_1;
  9408. float L_97 = __this->___positionWeight;
  9409. Spine_FABRIKPass_m9C5385D2BBB8316623CBC536E6835AAD4F7E7F46(__this, L_95, L_96, L_97, NULL);
  9410. }
  9411. IL_020b:
  9412. {
  9413. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_98 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9414. int32_t L_99 = __this->___neckIndex;
  9415. int32_t L_100 = __this->___headIndex;
  9416. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_101 = __this->___headRotation;
  9417. float L_102 = __this->___headClampWeight;
  9418. float L_103 = __this->___rotationWeight;
  9419. Spine_Bend_m22C51DAEB53EE1D0DD3B317B1CBA93D3D54549E6(__this, L_98, L_99, L_100, L_101, L_102, (bool)1, L_103, NULL);
  9420. Spine_SolvePelvis_mE688B9C4C9E94044B162BE1EE1FE967213925CFD(__this, NULL);
  9421. return;
  9422. }
  9423. }
  9424. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_FABRIKPass_m9C5385D2BBB8316623CBC536E6835AAD4F7E7F46 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_animatedPelvisPos, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rootUp, float ___2_weight, const RuntimeMethod* method)
  9425. {
  9426. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  9427. memset((&V_0), 0, sizeof(V_0));
  9428. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  9429. memset((&V_1), 0, sizeof(V_1));
  9430. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  9431. memset((&V_2), 0, sizeof(V_2));
  9432. float V_3 = 0.0f;
  9433. {
  9434. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0;
  9435. L_0 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  9436. NullCheck(L_0);
  9437. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = L_0->___solverPosition;
  9438. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_animatedPelvisPos;
  9439. float L_3 = __this->___maintainPelvisPosition;
  9440. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  9441. L_4 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_1, L_2, L_3, NULL);
  9442. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = __this->___pelvisPositionOffset;
  9443. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  9444. L_6 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_4, L_5, NULL);
  9445. V_0 = L_6;
  9446. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___headPosition;
  9447. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = __this->___chestPositionOffset;
  9448. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  9449. L_9 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_7, L_8, NULL);
  9450. V_1 = L_9;
  9451. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  9452. L_10 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  9453. V_2 = L_10;
  9454. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_11 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9455. NullCheck(L_11);
  9456. int32_t L_12 = 0;
  9457. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_13 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  9458. NullCheck(L_13);
  9459. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___solverPosition;
  9460. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_15 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9461. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_16 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9462. NullCheck(L_16);
  9463. NullCheck(L_15);
  9464. int32_t L_17 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_16)->max_length)), 1));
  9465. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  9466. NullCheck(L_18);
  9467. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___solverPosition;
  9468. float L_20;
  9469. L_20 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_14, L_19, NULL);
  9470. V_3 = L_20;
  9471. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_21 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9472. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_0;
  9473. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = V_1;
  9474. float L_24 = ___2_weight;
  9475. float L_25 = V_3;
  9476. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_2;
  9477. VirtualBone_SolveFABRIK_mDCDEE1A3378C450DB6BCE74F1BCCC77058DFCE97(L_21, L_22, L_23, L_24, (1.0f), 1, L_25, L_26, NULL);
  9478. return;
  9479. }
  9480. }
  9481. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_SolvePelvis_mE688B9C4C9E94044B162BE1EE1FE967213925CFD (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  9482. {
  9483. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  9484. memset((&V_0), 0, sizeof(V_0));
  9485. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  9486. memset((&V_1), 0, sizeof(V_1));
  9487. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  9488. memset((&V_2), 0, sizeof(V_2));
  9489. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* V_3 = NULL;
  9490. int32_t V_4 = 0;
  9491. {
  9492. float L_0 = __this->___pelvisPositionWeight;
  9493. if ((!(((float)L_0) > ((float)(0.0f)))))
  9494. {
  9495. goto IL_01b5;
  9496. }
  9497. }
  9498. {
  9499. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_1;
  9500. L_1 = Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C(__this, NULL);
  9501. NullCheck(L_1);
  9502. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = L_1->___solverRotation;
  9503. V_0 = L_2;
  9504. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___IKPositionPelvis;
  9505. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___pelvisPositionOffset;
  9506. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  9507. L_5 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_3, L_4, NULL);
  9508. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_6;
  9509. L_6 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  9510. NullCheck(L_6);
  9511. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = L_6->___solverPosition;
  9512. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  9513. L_8 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_5, L_7, NULL);
  9514. float L_9 = __this->___pelvisPositionWeight;
  9515. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  9516. L_10 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_8, L_9, NULL);
  9517. V_1 = L_10;
  9518. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_11 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9519. V_3 = L_11;
  9520. V_4 = 0;
  9521. goto IL_0070;
  9522. }
  9523. IL_0055:
  9524. {
  9525. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_12 = V_3;
  9526. int32_t L_13 = V_4;
  9527. NullCheck(L_12);
  9528. int32_t L_14 = L_13;
  9529. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  9530. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_16 = L_15;
  9531. NullCheck(L_16);
  9532. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = L_16->___solverPosition;
  9533. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_1;
  9534. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  9535. L_19 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_17, L_18, NULL);
  9536. NullCheck(L_16);
  9537. L_16->___solverPosition = L_19;
  9538. int32_t L_20 = V_4;
  9539. V_4 = ((int32_t)il2cpp_codegen_add(L_20, 1));
  9540. }
  9541. IL_0070:
  9542. {
  9543. int32_t L_21 = V_4;
  9544. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_22 = V_3;
  9545. NullCheck(L_22);
  9546. if ((((int32_t)L_21) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
  9547. {
  9548. goto IL_0055;
  9549. }
  9550. }
  9551. {
  9552. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23;
  9553. L_23 = Spine_get_anchorRotation_m678C1386D10833551B3D31B96C831BBDB2D92527_inline(__this, NULL);
  9554. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  9555. L_24 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  9556. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  9557. L_25 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_23, L_24, NULL);
  9558. V_2 = L_25;
  9559. bool L_26 = __this->___hasChest;
  9560. if (!L_26)
  9561. {
  9562. goto IL_00f7;
  9563. }
  9564. }
  9565. {
  9566. bool L_27 = __this->___hasNeck;
  9567. if (!L_27)
  9568. {
  9569. goto IL_00f7;
  9570. }
  9571. }
  9572. {
  9573. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_28 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9574. int32_t L_29 = __this->___spineIndex;
  9575. int32_t L_30 = __this->___chestIndex;
  9576. int32_t L_31 = __this->___headIndex;
  9577. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = __this->___headPosition;
  9578. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_2;
  9579. float L_34 = __this->___pelvisPositionWeight;
  9580. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_28, L_29, L_30, L_31, L_32, L_33, ((float)il2cpp_codegen_multiply(L_34, (0.899999976f))), NULL);
  9581. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_35 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9582. int32_t L_36 = __this->___chestIndex;
  9583. int32_t L_37 = __this->___neckIndex;
  9584. int32_t L_38 = __this->___headIndex;
  9585. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = __this->___headPosition;
  9586. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = V_2;
  9587. float L_41 = __this->___pelvisPositionWeight;
  9588. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_35, L_36, L_37, L_38, L_39, L_40, L_41, NULL);
  9589. goto IL_01a9;
  9590. }
  9591. IL_00f7:
  9592. {
  9593. bool L_42 = __this->___hasChest;
  9594. if (!L_42)
  9595. {
  9596. goto IL_0133;
  9597. }
  9598. }
  9599. {
  9600. bool L_43 = __this->___hasNeck;
  9601. if (L_43)
  9602. {
  9603. goto IL_0133;
  9604. }
  9605. }
  9606. {
  9607. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_44 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9608. int32_t L_45 = __this->___spineIndex;
  9609. int32_t L_46 = __this->___chestIndex;
  9610. int32_t L_47 = __this->___headIndex;
  9611. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = __this->___headPosition;
  9612. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_2;
  9613. float L_50 = __this->___pelvisPositionWeight;
  9614. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_44, L_45, L_46, L_47, L_48, L_49, L_50, NULL);
  9615. goto IL_01a9;
  9616. }
  9617. IL_0133:
  9618. {
  9619. bool L_51 = __this->___hasChest;
  9620. if (L_51)
  9621. {
  9622. goto IL_016f;
  9623. }
  9624. }
  9625. {
  9626. bool L_52 = __this->___hasNeck;
  9627. if (!L_52)
  9628. {
  9629. goto IL_016f;
  9630. }
  9631. }
  9632. {
  9633. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_53 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9634. int32_t L_54 = __this->___spineIndex;
  9635. int32_t L_55 = __this->___neckIndex;
  9636. int32_t L_56 = __this->___headIndex;
  9637. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = __this->___headPosition;
  9638. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = V_2;
  9639. float L_59 = __this->___pelvisPositionWeight;
  9640. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_53, L_54, L_55, L_56, L_57, L_58, L_59, NULL);
  9641. goto IL_01a9;
  9642. }
  9643. IL_016f:
  9644. {
  9645. bool L_60 = __this->___hasNeck;
  9646. if (L_60)
  9647. {
  9648. goto IL_01a9;
  9649. }
  9650. }
  9651. {
  9652. bool L_61 = __this->___hasChest;
  9653. if (L_61)
  9654. {
  9655. goto IL_01a9;
  9656. }
  9657. }
  9658. {
  9659. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_62 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9660. int32_t L_63 = __this->___pelvisIndex;
  9661. int32_t L_64 = __this->___spineIndex;
  9662. int32_t L_65 = __this->___headIndex;
  9663. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = __this->___headPosition;
  9664. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_2;
  9665. float L_68 = __this->___pelvisPositionWeight;
  9666. VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF(L_62, L_63, L_64, L_65, L_66, L_67, L_68, NULL);
  9667. }
  9668. IL_01a9:
  9669. {
  9670. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_69;
  9671. L_69 = Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C(__this, NULL);
  9672. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_70 = V_0;
  9673. NullCheck(L_69);
  9674. L_69->___solverRotation = L_70;
  9675. }
  9676. IL_01b5:
  9677. {
  9678. return;
  9679. }
  9680. }
  9681. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_Write_m2DDD0CB33771523D35E7DC763011A62A90B650E0 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** ___0_solvedPositions, QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** ___1_solvedRotations, const RuntimeMethod* method)
  9682. {
  9683. {
  9684. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** L_0 = ___0_solvedPositions;
  9685. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = *((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**)L_0);
  9686. int32_t L_2 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  9687. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_3 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9688. NullCheck(L_3);
  9689. int32_t L_4 = 0;
  9690. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  9691. NullCheck(L_5);
  9692. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = L_5->___solverPosition;
  9693. NullCheck(L_1);
  9694. (L_1)->SetAt(static_cast<il2cpp_array_size_t>(L_2), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_6);
  9695. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_7 = ___1_solvedRotations;
  9696. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_8 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_7);
  9697. int32_t L_9 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  9698. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_10 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9699. NullCheck(L_10);
  9700. int32_t L_11 = 0;
  9701. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  9702. NullCheck(L_12);
  9703. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13 = L_12->___solverRotation;
  9704. NullCheck(L_8);
  9705. (L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_13);
  9706. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_14 = ___1_solvedRotations;
  9707. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_15 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_14);
  9708. int32_t L_16 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  9709. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_17 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9710. NullCheck(L_17);
  9711. int32_t L_18 = 1;
  9712. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_19 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  9713. NullCheck(L_19);
  9714. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20 = L_19->___solverRotation;
  9715. NullCheck(L_15);
  9716. (L_15)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_16, 1))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_20);
  9717. bool L_21 = __this->___hasChest;
  9718. if (!L_21)
  9719. {
  9720. goto IL_0079;
  9721. }
  9722. }
  9723. {
  9724. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_22 = ___1_solvedRotations;
  9725. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_23 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_22);
  9726. int32_t L_24 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  9727. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_25 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9728. int32_t L_26 = __this->___chestIndex;
  9729. NullCheck(L_25);
  9730. int32_t L_27 = L_26;
  9731. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
  9732. NullCheck(L_28);
  9733. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29 = L_28->___solverRotation;
  9734. NullCheck(L_23);
  9735. (L_23)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_24, 2))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_29);
  9736. }
  9737. IL_0079:
  9738. {
  9739. bool L_30 = __this->___hasNeck;
  9740. if (!L_30)
  9741. {
  9742. goto IL_00a2;
  9743. }
  9744. }
  9745. {
  9746. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_31 = ___1_solvedRotations;
  9747. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_32 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_31);
  9748. int32_t L_33 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  9749. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_34 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9750. int32_t L_35 = __this->___neckIndex;
  9751. NullCheck(L_34);
  9752. int32_t L_36 = L_35;
  9753. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
  9754. NullCheck(L_37);
  9755. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38 = L_37->___solverRotation;
  9756. NullCheck(L_32);
  9757. (L_32)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_33, 3))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_38);
  9758. }
  9759. IL_00a2:
  9760. {
  9761. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7** L_39 = ___1_solvedRotations;
  9762. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_40 = *((QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7**)L_39);
  9763. int32_t L_41 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___index;
  9764. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_42 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  9765. int32_t L_43 = __this->___headIndex;
  9766. NullCheck(L_42);
  9767. int32_t L_44 = L_43;
  9768. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_45 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
  9769. NullCheck(L_45);
  9770. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_46 = L_45->___solverRotation;
  9771. NullCheck(L_40);
  9772. (L_40)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_41, 4))), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_46);
  9773. return;
  9774. }
  9775. }
  9776. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_ResetOffsets_m9D05272767A15BE2FD07048CA0446ECCDCF16565 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  9777. {
  9778. {
  9779. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
  9780. L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  9781. __this->___pelvisPositionOffset = L_0;
  9782. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  9783. L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  9784. __this->___chestPositionOffset = L_1;
  9785. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___locomotionHeadPositionOffset;
  9786. __this->___headPositionOffset = L_2;
  9787. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
  9788. L_3 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  9789. __this->___pelvisRotationOffset = L_3;
  9790. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  9791. L_4 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  9792. __this->___chestRotationOffset = L_4;
  9793. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  9794. L_5 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  9795. __this->___headRotationOffset = L_5;
  9796. return;
  9797. }
  9798. }
  9799. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_AdjustChestByHands_mEA4F1D36F16F70832B84700C36A38ED04F4EE883 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* ___0_chestTargetRotation, ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* ___1_arms, const RuntimeMethod* method)
  9800. {
  9801. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  9802. memset((&V_0), 0, sizeof(V_0));
  9803. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  9804. memset((&V_1), 0, sizeof(V_1));
  9805. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  9806. memset((&V_2), 0, sizeof(V_2));
  9807. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
  9808. memset((&V_3), 0, sizeof(V_3));
  9809. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
  9810. memset((&V_4), 0, sizeof(V_4));
  9811. {
  9812. int32_t L_0 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___LOD;
  9813. if ((((int32_t)L_0) <= ((int32_t)0)))
  9814. {
  9815. goto IL_000a;
  9816. }
  9817. }
  9818. {
  9819. return;
  9820. }
  9821. IL_000a:
  9822. {
  9823. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
  9824. L_1 = Spine_get_anchorRotation_m678C1386D10833551B3D31B96C831BBDB2D92527_inline(__this, NULL);
  9825. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  9826. L_2 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_1, NULL);
  9827. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = L_2;
  9828. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_4 = ___1_arms;
  9829. NullCheck(L_4);
  9830. int32_t L_5 = 0;
  9831. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  9832. NullCheck(L_6);
  9833. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  9834. L_7 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(L_6, NULL);
  9835. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = __this->___headPosition;
  9836. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  9837. L_9 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_7, L_8, NULL);
  9838. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  9839. L_10 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_3, L_9, NULL);
  9840. float L_11 = __this->___sizeMlp;
  9841. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  9842. L_12 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_10, L_11, NULL);
  9843. V_0 = L_12;
  9844. ArmU5BU5D_t47CC1971702407D6F67ECA041D3C7E87E2006492* L_13 = ___1_arms;
  9845. NullCheck(L_13);
  9846. int32_t L_14 = 1;
  9847. Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* L_15 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  9848. NullCheck(L_15);
  9849. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  9850. L_16 = Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline(L_15, NULL);
  9851. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = __this->___headPosition;
  9852. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  9853. L_18 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_16, L_17, NULL);
  9854. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  9855. L_19 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_3, L_18, NULL);
  9856. float L_20 = __this->___sizeMlp;
  9857. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
  9858. L_21 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_19, L_20, NULL);
  9859. V_1 = L_21;
  9860. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  9861. L_22 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  9862. V_2 = L_22;
  9863. float* L_23 = (float*)(&(&V_2)->___x);
  9864. float* L_24 = L_23;
  9865. float L_25 = *((float*)L_24);
  9866. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_0;
  9867. float L_27 = L_26.___x;
  9868. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_0;
  9869. float L_29 = L_28.___x;
  9870. float L_30;
  9871. L_30 = fabsf(L_29);
  9872. *((float*)L_24) = (float)((float)il2cpp_codegen_add(L_25, ((float)il2cpp_codegen_multiply(L_27, L_30))));
  9873. float* L_31 = (float*)(&(&V_2)->___x);
  9874. float* L_32 = L_31;
  9875. float L_33 = *((float*)L_32);
  9876. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = V_0;
  9877. float L_35 = L_34.___z;
  9878. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_0;
  9879. float L_37 = L_36.___z;
  9880. float L_38;
  9881. L_38 = fabsf(L_37);
  9882. *((float*)L_32) = (float)((float)il2cpp_codegen_add(L_33, ((float)il2cpp_codegen_multiply(L_35, L_38))));
  9883. float* L_39 = (float*)(&(&V_2)->___x);
  9884. float* L_40 = L_39;
  9885. float L_41 = *((float*)L_40);
  9886. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_1;
  9887. float L_43 = L_42.___x;
  9888. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_1;
  9889. float L_45 = L_44.___x;
  9890. float L_46;
  9891. L_46 = fabsf(L_45);
  9892. *((float*)L_40) = (float)((float)il2cpp_codegen_add(L_41, ((float)il2cpp_codegen_multiply(L_43, L_46))));
  9893. float* L_47 = (float*)(&(&V_2)->___x);
  9894. float* L_48 = L_47;
  9895. float L_49 = *((float*)L_48);
  9896. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = V_1;
  9897. float L_51 = L_50.___z;
  9898. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = V_1;
  9899. float L_53 = L_52.___z;
  9900. float L_54;
  9901. L_54 = fabsf(L_53);
  9902. *((float*)L_48) = (float)((float)il2cpp_codegen_subtract(L_49, ((float)il2cpp_codegen_multiply(L_51, L_54))));
  9903. float* L_55 = (float*)(&(&V_2)->___x);
  9904. float* L_56 = L_55;
  9905. float L_57 = *((float*)L_56);
  9906. float L_58 = __this->___rotateChestByHands;
  9907. *((float*)L_56) = (float)((float)il2cpp_codegen_multiply(L_57, ((float)il2cpp_codegen_multiply((5.0f), L_58))));
  9908. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = V_2;
  9909. float L_60 = L_59.___x;
  9910. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = V_2;
  9911. float L_62 = L_61.___z;
  9912. float L_63;
  9913. L_63 = atan2f(L_60, L_62);
  9914. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_64 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  9915. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
  9916. L_65 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  9917. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
  9918. L_66 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_64, L_65, NULL);
  9919. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_67;
  9920. L_67 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(((float)il2cpp_codegen_multiply(L_63, (57.2957802f))), L_66, NULL);
  9921. V_3 = L_67;
  9922. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* L_68 = ___0_chestTargetRotation;
  9923. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69 = V_3;
  9924. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* L_70 = ___0_chestTargetRotation;
  9925. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_71 = (*(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)L_70);
  9926. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_72;
  9927. L_72 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_69, L_71, NULL);
  9928. *(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)L_68 = L_72;
  9929. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
  9930. L_73 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  9931. V_4 = L_73;
  9932. float* L_74 = (float*)(&(&V_4)->___x);
  9933. float* L_75 = L_74;
  9934. float L_76 = *((float*)L_75);
  9935. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = V_0;
  9936. float L_78 = L_77.___y;
  9937. *((float*)L_75) = (float)((float)il2cpp_codegen_add(L_76, L_78));
  9938. float* L_79 = (float*)(&(&V_4)->___x);
  9939. float* L_80 = L_79;
  9940. float L_81 = *((float*)L_80);
  9941. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82 = V_1;
  9942. float L_83 = L_82.___y;
  9943. *((float*)L_80) = (float)((float)il2cpp_codegen_subtract(L_81, L_83));
  9944. float* L_84 = (float*)(&(&V_4)->___x);
  9945. float* L_85 = L_84;
  9946. float L_86 = *((float*)L_85);
  9947. float L_87 = __this->___rotateChestByHands;
  9948. *((float*)L_85) = (float)((float)il2cpp_codegen_multiply(L_86, ((float)il2cpp_codegen_multiply((0.5f), L_87))));
  9949. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = V_4;
  9950. float L_89 = L_88.___x;
  9951. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90 = V_4;
  9952. float L_91 = L_90.___y;
  9953. float L_92;
  9954. L_92 = atan2f(L_89, L_91);
  9955. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_93 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  9956. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
  9957. L_94 = Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline(NULL);
  9958. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95;
  9959. L_95 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_93, L_94, NULL);
  9960. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_96;
  9961. L_96 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(((float)il2cpp_codegen_multiply(L_92, (57.2957802f))), L_95, NULL);
  9962. V_3 = L_96;
  9963. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* L_97 = ___0_chestTargetRotation;
  9964. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_98 = V_3;
  9965. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* L_99 = ___0_chestTargetRotation;
  9966. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_100 = (*(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)L_99);
  9967. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_101;
  9968. L_101 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_98, L_100, NULL);
  9969. *(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)L_97 = L_101;
  9970. return;
  9971. }
  9972. }
  9973. 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)
  9974. {
  9975. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  9976. memset((&V_0), 0, sizeof(V_0));
  9977. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  9978. memset((&V_1), 0, sizeof(V_1));
  9979. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* G_B2_0 = NULL;
  9980. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* G_B1_0 = NULL;
  9981. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B3_0;
  9982. memset((&G_B3_0), 0, sizeof(G_B3_0));
  9983. Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* G_B3_1 = NULL;
  9984. {
  9985. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___headPosition;
  9986. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___3_offset;
  9987. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  9988. L_2 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_0, L_1, NULL);
  9989. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3;
  9990. L_3 = Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C(__this, NULL);
  9991. NullCheck(L_3);
  9992. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = L_3->___solverPosition;
  9993. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
  9994. L_5 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_4, NULL);
  9995. float L_6 = ___4_w;
  9996. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  9997. L_7 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_5, L_6, NULL);
  9998. V_0 = L_7;
  9999. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8;
  10000. L_8 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  10001. NullCheck(L_8);
  10002. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = L_8->___solverPosition;
  10003. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
  10004. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  10005. L_11 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_9, L_10, NULL);
  10006. V_1 = L_11;
  10007. bool L_12 = ___1_limited;
  10008. if (L_12)
  10009. {
  10010. G_B2_0 = __this;
  10011. goto IL_003e;
  10012. }
  10013. G_B1_0 = __this;
  10014. }
  10015. {
  10016. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_1;
  10017. G_B3_0 = L_13;
  10018. G_B3_1 = G_B1_0;
  10019. goto IL_0048;
  10020. }
  10021. IL_003e:
  10022. {
  10023. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_14 = ___0_legs;
  10024. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_1;
  10025. bool L_16 = ___2_useCurrentLegMag;
  10026. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  10027. L_17 = Spine_LimitPelvisPosition_m55F142BEE70485085F65709276215522A909F8F8(__this, L_14, L_15, L_16, 2, NULL);
  10028. G_B3_0 = L_17;
  10029. G_B3_1 = G_B2_0;
  10030. }
  10031. IL_0048:
  10032. {
  10033. NullCheck(G_B3_1);
  10034. BodyPart_MovePosition_m552FFDE073EA19DFD9EE4220437AF98B3B5CEF51(G_B3_1, G_B3_0, NULL);
  10035. return;
  10036. }
  10037. }
  10038. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_TranslatePelvis_m30BA0331B3B466B6FAA716E07AA5157F0477EA80 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* ___0_legs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_deltaPosition, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_deltaRotation, float ___3_scale, const RuntimeMethod* method)
  10039. {
  10040. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  10041. memset((&V_0), 0, sizeof(V_0));
  10042. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  10043. memset((&V_1), 0, sizeof(V_1));
  10044. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  10045. memset((&V_2), 0, sizeof(V_2));
  10046. float V_3 = 0.0f;
  10047. float V_4 = 0.0f;
  10048. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
  10049. memset((&V_5), 0, sizeof(V_5));
  10050. {
  10051. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_0;
  10052. L_0 = Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C(__this, NULL);
  10053. NullCheck(L_0);
  10054. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = L_0->___solverPosition;
  10055. V_0 = L_1;
  10056. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___2_deltaRotation;
  10057. float L_3 = __this->___chestClampWeight;
  10058. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  10059. L_4 = QuaTools_ClampRotation_mDD82D18F741BD59F176AEF48C4830A1FC85E7917(L_2, L_3, 2, NULL);
  10060. ___2_deltaRotation = L_4;
  10061. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  10062. L_5 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10063. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___2_deltaRotation;
  10064. float L_7 = __this->___bodyRotStiffness;
  10065. float L_8 = __this->___rotationWeight;
  10066. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
  10067. L_9 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_5, L_6, ((float)il2cpp_codegen_multiply(L_7, L_8)), NULL);
  10068. V_1 = L_9;
  10069. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = V_1;
  10070. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_11;
  10071. L_11 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  10072. NullCheck(L_11);
  10073. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = L_11->___solverRotation;
  10074. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13 = __this->___IKRotationPelvis;
  10075. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
  10076. L_14 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_12, L_13, NULL);
  10077. float L_15 = __this->___pelvisRotationWeight;
  10078. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
  10079. L_16 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_10, L_14, L_15, NULL);
  10080. V_1 = L_16;
  10081. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_17 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___bones;
  10082. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_18;
  10083. L_18 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  10084. NullCheck(L_18);
  10085. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___solverPosition;
  10086. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20 = __this->___pelvisRotationOffset;
  10087. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21 = V_1;
  10088. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
  10089. L_22 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_20, L_21, NULL);
  10090. VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B(L_17, 0, L_19, L_22, NULL);
  10091. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = ___1_deltaPosition;
  10092. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_24;
  10093. L_24 = Spine_get_head_m878C1F433C5AF2E421CC9B531FD78B90B6495A3C(__this, NULL);
  10094. NullCheck(L_24);
  10095. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = L_24->___solverPosition;
  10096. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_0;
  10097. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  10098. L_27 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_25, L_26, NULL);
  10099. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
  10100. L_28 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_23, L_27, NULL);
  10101. ___1_deltaPosition = L_28;
  10102. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  10103. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  10104. L_30 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  10105. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  10106. L_31 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_29, L_30, NULL);
  10107. V_2 = L_31;
  10108. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = ___1_deltaPosition;
  10109. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33 = ((BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6*)__this)->___rootRotation;
  10110. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  10111. L_34 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  10112. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  10113. L_35 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_33, L_34, NULL);
  10114. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  10115. L_36 = V3Tools_ExtractVertical_m47BDFC19A306C2C7BB23EC498633102F1ED6C372(L_32, L_35, (1.0f), NULL);
  10116. V_5 = L_36;
  10117. float L_37;
  10118. L_37 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_5), NULL);
  10119. V_3 = L_37;
  10120. float L_38 = ___3_scale;
  10121. if ((!(((float)L_38) > ((float)(0.0f)))))
  10122. {
  10123. goto IL_00d7;
  10124. }
  10125. }
  10126. {
  10127. float L_39 = V_3;
  10128. float L_40 = ___3_scale;
  10129. V_3 = ((float)(L_39/L_40));
  10130. }
  10131. IL_00d7:
  10132. {
  10133. float L_41 = V_3;
  10134. float L_42 = __this->___moveBodyBackWhenCrouching;
  10135. float L_43 = __this->___headHeight;
  10136. V_4 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_41, ((-L_42)))), L_43));
  10137. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = ___1_deltaPosition;
  10138. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_2;
  10139. float L_46 = V_4;
  10140. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
  10141. L_47 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_45, L_46, NULL);
  10142. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
  10143. L_48 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_44, L_47, NULL);
  10144. ___1_deltaPosition = L_48;
  10145. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_49 = ___0_legs;
  10146. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_50;
  10147. L_50 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  10148. NullCheck(L_50);
  10149. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = L_50->___solverPosition;
  10150. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = ___1_deltaPosition;
  10151. float L_53 = __this->___bodyPosStiffness;
  10152. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
  10153. L_54 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_52, L_53, NULL);
  10154. float L_55 = __this->___positionWeight;
  10155. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
  10156. L_56 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_54, L_55, NULL);
  10157. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  10158. L_57 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_51, L_56, NULL);
  10159. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
  10160. L_58 = Spine_LimitPelvisPosition_m55F142BEE70485085F65709276215522A909F8F8(__this, L_49, L_57, (bool)0, 2, NULL);
  10161. BodyPart_MovePosition_m552FFDE073EA19DFD9EE4220437AF98B3B5CEF51(__this, L_58, NULL);
  10162. return;
  10163. }
  10164. }
  10165. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Spine_LimitPelvisPosition_m55F142BEE70485085F65709276215522A909F8F8 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* ___0_legs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_pelvisPosition, bool ___2_useCurrentLegMag, int32_t ___3_it, const RuntimeMethod* method)
  10166. {
  10167. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* V_0 = NULL;
  10168. int32_t V_1 = 0;
  10169. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* V_2 = NULL;
  10170. int32_t V_3 = 0;
  10171. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* V_4 = NULL;
  10172. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
  10173. memset((&V_5), 0, sizeof(V_5));
  10174. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  10175. memset((&V_6), 0, sizeof(V_6));
  10176. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
  10177. memset((&V_7), 0, sizeof(V_7));
  10178. float V_8 = 0.0f;
  10179. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
  10180. memset((&V_9), 0, sizeof(V_9));
  10181. float G_B11_0 = 0.0f;
  10182. {
  10183. bool L_0 = __this->___hasLegs;
  10184. if (L_0)
  10185. {
  10186. goto IL_000a;
  10187. }
  10188. }
  10189. {
  10190. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_pelvisPosition;
  10191. return L_1;
  10192. }
  10193. IL_000a:
  10194. {
  10195. bool L_2 = ___2_useCurrentLegMag;
  10196. if (!L_2)
  10197. {
  10198. goto IL_0042;
  10199. }
  10200. }
  10201. {
  10202. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_3 = ___0_legs;
  10203. V_0 = L_3;
  10204. V_1 = 0;
  10205. goto IL_003c;
  10206. }
  10207. IL_0013:
  10208. {
  10209. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_4 = V_0;
  10210. int32_t L_5 = V_1;
  10211. NullCheck(L_4);
  10212. int32_t L_6 = L_5;
  10213. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  10214. V_2 = L_7;
  10215. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_8 = V_2;
  10216. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_9 = V_2;
  10217. NullCheck(L_9);
  10218. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_10;
  10219. L_10 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(L_9, NULL);
  10220. NullCheck(L_10);
  10221. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = L_10->___solverPosition;
  10222. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_12 = V_2;
  10223. NullCheck(L_12);
  10224. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_13;
  10225. L_13 = Leg_get_lastBone_mA545BA8DAED05B4529AAEABCD63EE6E5E486B78C(L_12, NULL);
  10226. NullCheck(L_13);
  10227. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___solverPosition;
  10228. float L_15;
  10229. L_15 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_11, L_14, NULL);
  10230. NullCheck(L_8);
  10231. L_8->___currentMag = L_15;
  10232. int32_t L_16 = V_1;
  10233. V_1 = ((int32_t)il2cpp_codegen_add(L_16, 1));
  10234. }
  10235. IL_003c:
  10236. {
  10237. int32_t L_17 = V_1;
  10238. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_18 = V_0;
  10239. NullCheck(L_18);
  10240. if ((((int32_t)L_17) < ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))))
  10241. {
  10242. goto IL_0013;
  10243. }
  10244. }
  10245. IL_0042:
  10246. {
  10247. V_3 = 0;
  10248. goto IL_00da;
  10249. }
  10250. IL_0049:
  10251. {
  10252. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_19 = ___0_legs;
  10253. V_0 = L_19;
  10254. V_1 = 0;
  10255. goto IL_00cd;
  10256. }
  10257. IL_004f:
  10258. {
  10259. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_20 = V_0;
  10260. int32_t L_21 = V_1;
  10261. NullCheck(L_20);
  10262. int32_t L_22 = L_21;
  10263. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  10264. V_4 = L_23;
  10265. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = ___1_pelvisPosition;
  10266. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_25;
  10267. L_25 = Spine_get_pelvis_mAA57730FB0B19E76F7097CFAADF34BAD3D0E68A6(__this, NULL);
  10268. NullCheck(L_25);
  10269. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = L_25->___solverPosition;
  10270. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  10271. L_27 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_24, L_26, NULL);
  10272. V_5 = L_27;
  10273. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_28 = V_4;
  10274. NullCheck(L_28);
  10275. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_29;
  10276. L_29 = Leg_get_thigh_m48AE6F469A33B6690278CF81EA3E4A6663E49CAB(L_28, NULL);
  10277. NullCheck(L_29);
  10278. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = L_29->___solverPosition;
  10279. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_5;
  10280. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
  10281. L_32 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_30, L_31, NULL);
  10282. V_6 = L_32;
  10283. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_6;
  10284. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_34 = V_4;
  10285. NullCheck(L_34);
  10286. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
  10287. L_35 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(L_34, NULL);
  10288. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  10289. L_36 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_33, L_35, NULL);
  10290. V_7 = L_36;
  10291. bool L_37 = ___2_useCurrentLegMag;
  10292. if (L_37)
  10293. {
  10294. goto IL_0098;
  10295. }
  10296. }
  10297. {
  10298. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_38 = V_4;
  10299. NullCheck(L_38);
  10300. float L_39;
  10301. L_39 = BodyPart_get_mag_mC59094481F8E1BABBB58CFA9B5491E0CEB42B0FB_inline(L_38, NULL);
  10302. G_B11_0 = L_39;
  10303. goto IL_009f;
  10304. }
  10305. IL_0098:
  10306. {
  10307. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_40 = V_4;
  10308. NullCheck(L_40);
  10309. float L_41 = L_40->___currentMag;
  10310. G_B11_0 = L_41;
  10311. }
  10312. IL_009f:
  10313. {
  10314. V_8 = G_B11_0;
  10315. Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* L_42 = V_4;
  10316. NullCheck(L_42);
  10317. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
  10318. L_43 = Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline(L_42, NULL);
  10319. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_7;
  10320. float L_45 = V_8;
  10321. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
  10322. L_46 = Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline(L_44, L_45, NULL);
  10323. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
  10324. L_47 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_43, L_46, NULL);
  10325. V_9 = L_47;
  10326. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = ___1_pelvisPosition;
  10327. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_9;
  10328. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = V_6;
  10329. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
  10330. L_51 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_49, L_50, NULL);
  10331. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
  10332. L_52 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_48, L_51, NULL);
  10333. ___1_pelvisPosition = L_52;
  10334. int32_t L_53 = V_1;
  10335. V_1 = ((int32_t)il2cpp_codegen_add(L_53, 1));
  10336. }
  10337. IL_00cd:
  10338. {
  10339. int32_t L_54 = V_1;
  10340. LegU5BU5D_t52F7817BFEE320D5FC0687D26B3E1D21D37C07F3* L_55 = V_0;
  10341. NullCheck(L_55);
  10342. if ((((int32_t)L_54) < ((int32_t)((int32_t)(((RuntimeArray*)L_55)->max_length)))))
  10343. {
  10344. goto IL_004f;
  10345. }
  10346. }
  10347. {
  10348. int32_t L_56 = V_3;
  10349. V_3 = ((int32_t)il2cpp_codegen_add(L_56, 1));
  10350. }
  10351. IL_00da:
  10352. {
  10353. int32_t L_57 = V_3;
  10354. int32_t L_58 = ___3_it;
  10355. if ((((int32_t)L_57) < ((int32_t)L_58)))
  10356. {
  10357. goto IL_0049;
  10358. }
  10359. }
  10360. {
  10361. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = ___1_pelvisPosition;
  10362. return L_59;
  10363. }
  10364. }
  10365. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_Bend_m22C51DAEB53EE1D0DD3B317B1CBA93D3D54549E6 (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_firstIndex, int32_t ___2_lastIndex, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___3_targetRotation, float ___4_clampWeight, bool ___5_uniformWeight, float ___6_w, const RuntimeMethod* method)
  10366. {
  10367. int32_t V_0 = 0;
  10368. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  10369. memset((&V_1), 0, sizeof(V_1));
  10370. float V_2 = 0.0f;
  10371. int32_t V_3 = 0;
  10372. float G_B9_0 = 0.0f;
  10373. {
  10374. float L_0 = ___6_w;
  10375. if ((!(((float)L_0) <= ((float)(0.0f)))))
  10376. {
  10377. goto IL_000a;
  10378. }
  10379. }
  10380. {
  10381. return;
  10382. }
  10383. IL_000a:
  10384. {
  10385. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = ___0_bones;
  10386. NullCheck(L_1);
  10387. if ((((RuntimeArray*)L_1)->max_length))
  10388. {
  10389. goto IL_000f;
  10390. }
  10391. }
  10392. {
  10393. return;
  10394. }
  10395. IL_000f:
  10396. {
  10397. int32_t L_2 = ___2_lastIndex;
  10398. int32_t L_3 = ___1_firstIndex;
  10399. V_0 = ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_2, 1)), L_3));
  10400. int32_t L_4 = V_0;
  10401. if ((((int32_t)L_4) >= ((int32_t)1)))
  10402. {
  10403. goto IL_001a;
  10404. }
  10405. }
  10406. {
  10407. return;
  10408. }
  10409. IL_001a:
  10410. {
  10411. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_5 = ___0_bones;
  10412. int32_t L_6 = ___2_lastIndex;
  10413. NullCheck(L_5);
  10414. int32_t L_7 = L_6;
  10415. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  10416. NullCheck(L_8);
  10417. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8->___solverRotation;
  10418. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ___3_targetRotation;
  10419. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  10420. L_11 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_9, L_10, NULL);
  10421. V_1 = L_11;
  10422. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = V_1;
  10423. float L_13 = ___4_clampWeight;
  10424. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
  10425. L_14 = QuaTools_ClampRotation_mDD82D18F741BD59F176AEF48C4830A1FC85E7917(L_12, L_13, 2, NULL);
  10426. V_1 = L_14;
  10427. bool L_15 = ___5_uniformWeight;
  10428. if (L_15)
  10429. {
  10430. goto IL_003f;
  10431. }
  10432. }
  10433. {
  10434. G_B9_0 = (0.0f);
  10435. goto IL_0047;
  10436. }
  10437. IL_003f:
  10438. {
  10439. int32_t L_16 = V_0;
  10440. G_B9_0 = ((float)((1.0f)/((float)L_16)));
  10441. }
  10442. IL_0047:
  10443. {
  10444. V_2 = G_B9_0;
  10445. int32_t L_17 = ___1_firstIndex;
  10446. V_3 = L_17;
  10447. goto IL_008a;
  10448. }
  10449. IL_004c:
  10450. {
  10451. bool L_18 = ___5_uniformWeight;
  10452. if (L_18)
  10453. {
  10454. goto IL_0068;
  10455. }
  10456. }
  10457. {
  10458. int32_t L_19 = V_3;
  10459. int32_t L_20 = ___1_firstIndex;
  10460. int32_t L_21 = V_0;
  10461. float L_22;
  10462. L_22 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_19, L_20)), 1))/L_21))), (0.0f), (1.0f), NULL);
  10463. V_2 = L_22;
  10464. }
  10465. IL_0068:
  10466. {
  10467. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_23 = ___0_bones;
  10468. int32_t L_24 = V_3;
  10469. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_25 = ___0_bones;
  10470. int32_t L_26 = V_3;
  10471. NullCheck(L_25);
  10472. int32_t L_27 = L_26;
  10473. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
  10474. NullCheck(L_28);
  10475. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = L_28->___solverPosition;
  10476. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
  10477. L_30 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10478. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = V_1;
  10479. float L_32 = V_2;
  10480. float L_33 = ___6_w;
  10481. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34;
  10482. L_34 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_30, L_31, ((float)il2cpp_codegen_multiply(L_32, L_33)), NULL);
  10483. VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B(L_23, L_24, L_29, L_34, NULL);
  10484. int32_t L_35 = V_3;
  10485. V_3 = ((int32_t)il2cpp_codegen_add(L_35, 1));
  10486. }
  10487. IL_008a:
  10488. {
  10489. int32_t L_36 = V_3;
  10490. int32_t L_37 = ___2_lastIndex;
  10491. if ((((int32_t)L_36) < ((int32_t)((int32_t)il2cpp_codegen_add(L_37, 1)))))
  10492. {
  10493. goto IL_004c;
  10494. }
  10495. }
  10496. {
  10497. return;
  10498. }
  10499. }
  10500. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine_Bend_mF2C7FF449A8B8092A387AF438771DA33CA34494A (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_firstIndex, int32_t ___2_lastIndex, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___3_targetRotation, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___4_rotationOffset, float ___5_clampWeight, bool ___6_uniformWeight, float ___7_w, const RuntimeMethod* method)
  10501. {
  10502. int32_t V_0 = 0;
  10503. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  10504. memset((&V_1), 0, sizeof(V_1));
  10505. float V_2 = 0.0f;
  10506. int32_t V_3 = 0;
  10507. float G_B9_0 = 0.0f;
  10508. float G_B17_0 = 0.0f;
  10509. {
  10510. float L_0 = ___7_w;
  10511. if ((!(((float)L_0) <= ((float)(0.0f)))))
  10512. {
  10513. goto IL_000a;
  10514. }
  10515. }
  10516. {
  10517. return;
  10518. }
  10519. IL_000a:
  10520. {
  10521. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = ___0_bones;
  10522. NullCheck(L_1);
  10523. if ((((RuntimeArray*)L_1)->max_length))
  10524. {
  10525. goto IL_000f;
  10526. }
  10527. }
  10528. {
  10529. return;
  10530. }
  10531. IL_000f:
  10532. {
  10533. int32_t L_2 = ___2_lastIndex;
  10534. int32_t L_3 = ___1_firstIndex;
  10535. V_0 = ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_2, 1)), L_3));
  10536. int32_t L_4 = V_0;
  10537. if ((((int32_t)L_4) >= ((int32_t)1)))
  10538. {
  10539. goto IL_001a;
  10540. }
  10541. }
  10542. {
  10543. return;
  10544. }
  10545. IL_001a:
  10546. {
  10547. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_5 = ___0_bones;
  10548. int32_t L_6 = ___2_lastIndex;
  10549. NullCheck(L_5);
  10550. int32_t L_7 = L_6;
  10551. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  10552. NullCheck(L_8);
  10553. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8->___solverRotation;
  10554. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ___3_targetRotation;
  10555. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  10556. L_11 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_9, L_10, NULL);
  10557. V_1 = L_11;
  10558. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = V_1;
  10559. float L_13 = ___5_clampWeight;
  10560. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
  10561. L_14 = QuaTools_ClampRotation_mDD82D18F741BD59F176AEF48C4830A1FC85E7917(L_12, L_13, 2, NULL);
  10562. V_1 = L_14;
  10563. bool L_15 = ___6_uniformWeight;
  10564. if (L_15)
  10565. {
  10566. goto IL_003f;
  10567. }
  10568. }
  10569. {
  10570. G_B9_0 = (0.0f);
  10571. goto IL_0047;
  10572. }
  10573. IL_003f:
  10574. {
  10575. int32_t L_16 = V_0;
  10576. G_B9_0 = ((float)((1.0f)/((float)L_16)));
  10577. }
  10578. IL_0047:
  10579. {
  10580. V_2 = G_B9_0;
  10581. int32_t L_17 = ___1_firstIndex;
  10582. V_3 = L_17;
  10583. goto IL_00cf;
  10584. }
  10585. IL_004f:
  10586. {
  10587. bool L_18 = ___6_uniformWeight;
  10588. if (L_18)
  10589. {
  10590. goto IL_00a5;
  10591. }
  10592. }
  10593. {
  10594. int32_t L_19 = V_0;
  10595. if ((!(((uint32_t)L_19) == ((uint32_t)1))))
  10596. {
  10597. goto IL_005f;
  10598. }
  10599. }
  10600. {
  10601. V_2 = (1.0f);
  10602. goto IL_00a5;
  10603. }
  10604. IL_005f:
  10605. {
  10606. int32_t L_20 = V_0;
  10607. if ((!(((uint32_t)L_20) == ((uint32_t)2))))
  10608. {
  10609. goto IL_0075;
  10610. }
  10611. }
  10612. {
  10613. int32_t L_21 = V_3;
  10614. if (!L_21)
  10615. {
  10616. goto IL_006d;
  10617. }
  10618. }
  10619. {
  10620. G_B17_0 = (0.800000012f);
  10621. goto IL_0072;
  10622. }
  10623. IL_006d:
  10624. {
  10625. G_B17_0 = (0.200000003f);
  10626. }
  10627. IL_0072:
  10628. {
  10629. V_2 = G_B17_0;
  10630. goto IL_00a5;
  10631. }
  10632. IL_0075:
  10633. {
  10634. int32_t L_22 = V_0;
  10635. if ((!(((uint32_t)L_22) == ((uint32_t)3))))
  10636. {
  10637. goto IL_0098;
  10638. }
  10639. }
  10640. {
  10641. int32_t L_23 = V_3;
  10642. if (L_23)
  10643. {
  10644. goto IL_0084;
  10645. }
  10646. }
  10647. {
  10648. V_2 = (0.150000006f);
  10649. goto IL_00a5;
  10650. }
  10651. IL_0084:
  10652. {
  10653. int32_t L_24 = V_3;
  10654. if ((!(((uint32_t)L_24) == ((uint32_t)1))))
  10655. {
  10656. goto IL_0090;
  10657. }
  10658. }
  10659. {
  10660. V_2 = (0.400000006f);
  10661. goto IL_00a5;
  10662. }
  10663. IL_0090:
  10664. {
  10665. V_2 = (0.449999988f);
  10666. goto IL_00a5;
  10667. }
  10668. IL_0098:
  10669. {
  10670. int32_t L_25 = V_0;
  10671. if ((((int32_t)L_25) <= ((int32_t)3)))
  10672. {
  10673. goto IL_00a5;
  10674. }
  10675. }
  10676. {
  10677. int32_t L_26 = V_0;
  10678. V_2 = ((float)((1.0f)/((float)L_26)));
  10679. }
  10680. IL_00a5:
  10681. {
  10682. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_27 = ___0_bones;
  10683. int32_t L_28 = V_3;
  10684. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_29 = ___0_bones;
  10685. int32_t L_30 = V_3;
  10686. NullCheck(L_29);
  10687. int32_t L_31 = L_30;
  10688. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
  10689. NullCheck(L_32);
  10690. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = L_32->___solverPosition;
  10691. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34;
  10692. L_34 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10693. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35 = ___4_rotationOffset;
  10694. float L_36 = V_2;
  10695. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_37;
  10696. L_37 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_34, L_35, L_36, NULL);
  10697. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38 = V_1;
  10698. float L_39 = V_2;
  10699. float L_40 = ___7_w;
  10700. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41;
  10701. L_41 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_37, L_38, ((float)il2cpp_codegen_multiply(L_39, L_40)), NULL);
  10702. VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B(L_27, L_28, L_33, L_41, NULL);
  10703. int32_t L_42 = V_3;
  10704. V_3 = ((int32_t)il2cpp_codegen_add(L_42, 1));
  10705. }
  10706. IL_00cf:
  10707. {
  10708. int32_t L_43 = V_3;
  10709. int32_t L_44 = ___2_lastIndex;
  10710. if ((((int32_t)L_43) < ((int32_t)((int32_t)il2cpp_codegen_add(L_44, 1)))))
  10711. {
  10712. goto IL_004f;
  10713. }
  10714. }
  10715. {
  10716. return;
  10717. }
  10718. }
  10719. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Spine__ctor_mA10197BE4F824FC0EEE30230E5E89B4AEC941FFA (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  10720. {
  10721. {
  10722. __this->___positionWeight = (1.0f);
  10723. __this->___rotationWeight = (1.0f);
  10724. __this->___minHeadHeight = (0.800000012f);
  10725. __this->___bodyPosStiffness = (0.550000012f);
  10726. __this->___bodyRotStiffness = (0.100000001f);
  10727. __this->___neckStiffness = (0.200000003f);
  10728. __this->___rotateChestByHands = (1.0f);
  10729. __this->___chestClampWeight = (0.5f);
  10730. __this->___headClampWeight = (0.600000024f);
  10731. __this->___moveBodyBackWhenCrouching = (0.5f);
  10732. __this->___maintainPelvisPosition = (0.200000003f);
  10733. __this->___maxRootAngle = (25.0f);
  10734. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0;
  10735. L_0 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10736. __this->___IKRotationHead = L_0;
  10737. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
  10738. L_1 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10739. __this->___IKRotationPelvis = L_1;
  10740. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
  10741. L_2 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10742. __this->___pelvisRotationOffset = L_2;
  10743. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
  10744. L_3 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10745. __this->___chestRotationOffset = L_3;
  10746. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
  10747. L_4 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10748. __this->___headRotationOffset = L_4;
  10749. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
  10750. L_5 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10751. __this->___headRotation = L_5;
  10752. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
  10753. L_6 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10754. __this->___pelvisRotation = L_6;
  10755. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
  10756. L_7 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10757. __this->___anchorRelativeToPelvis = L_7;
  10758. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
  10759. L_8 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10760. __this->___pelvisRelativeRotation = L_8;
  10761. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
  10762. L_9 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10763. __this->___chestRelativeRotation = L_9;
  10764. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
  10765. L_10 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10766. __this->___pelvisDeltaRotation = L_10;
  10767. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  10768. L_11 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10769. __this->___chestTargetRotation = L_11;
  10770. __this->___spineIndex = 1;
  10771. __this->___chestIndex = (-1);
  10772. __this->___neckIndex = (-1);
  10773. __this->___headIndex = (-1);
  10774. BodyPart__ctor_m3C2D6F6CE136D84750B477603D5EB37E1B3A38E4(__this, NULL);
  10775. return;
  10776. }
  10777. }
  10778. #ifdef __clang__
  10779. #pragma clang diagnostic pop
  10780. #endif
  10781. #ifdef __clang__
  10782. #pragma clang diagnostic push
  10783. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  10784. #pragma clang diagnostic ignored "-Wunused-variable"
  10785. #endif
  10786. #ifdef __clang__
  10787. #pragma clang diagnostic pop
  10788. #endif
  10789. #ifdef __clang__
  10790. #pragma clang diagnostic push
  10791. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  10792. #pragma clang diagnostic ignored "-Wunused-variable"
  10793. #endif
  10794. #ifdef __clang__
  10795. #pragma clang diagnostic pop
  10796. #endif
  10797. #ifdef __clang__
  10798. #pragma clang diagnostic push
  10799. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  10800. #pragma clang diagnostic ignored "-Wunused-variable"
  10801. #endif
  10802. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone__ctor_m49462DE76180D392107D94DBEC3CED217F383F8C (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method)
  10803. {
  10804. {
  10805. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  10806. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
  10807. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ___1_rotation;
  10808. VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C(__this, L_0, L_1, NULL);
  10809. return;
  10810. }
  10811. }
  10812. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_Read_mE134703EF66129970FDD8EEC488A4AFBB8166E1C (VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method)
  10813. {
  10814. {
  10815. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
  10816. __this->___readPosition = L_0;
  10817. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ___1_rotation;
  10818. __this->___readRotation = L_1;
  10819. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_position;
  10820. __this->___solverPosition = L_2;
  10821. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = ___1_rotation;
  10822. __this->___solverRotation = L_3;
  10823. return;
  10824. }
  10825. }
  10826. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_SwingRotation_m09CD33645E87E39DA6A478E51B6F06F1C2221EAE (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_swingTarget, float ___3_weight, const RuntimeMethod* method)
  10827. {
  10828. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  10829. memset((&V_0), 0, sizeof(V_0));
  10830. int32_t V_1 = 0;
  10831. {
  10832. float L_0 = ___3_weight;
  10833. if ((!(((float)L_0) <= ((float)(0.0f)))))
  10834. {
  10835. goto IL_0009;
  10836. }
  10837. }
  10838. {
  10839. return;
  10840. }
  10841. IL_0009:
  10842. {
  10843. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = ___0_bones;
  10844. int32_t L_2 = ___1_index;
  10845. NullCheck(L_1);
  10846. int32_t L_3 = L_2;
  10847. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  10848. NullCheck(L_4);
  10849. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = L_4->___solverRotation;
  10850. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_6 = ___0_bones;
  10851. int32_t L_7 = ___1_index;
  10852. NullCheck(L_6);
  10853. int32_t L_8 = L_7;
  10854. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  10855. NullCheck(L_9);
  10856. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___axis;
  10857. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  10858. L_11 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_5, L_10, NULL);
  10859. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___2_swingTarget;
  10860. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_13 = ___0_bones;
  10861. int32_t L_14 = ___1_index;
  10862. NullCheck(L_13);
  10863. int32_t L_15 = L_14;
  10864. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  10865. NullCheck(L_16);
  10866. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = L_16->___solverPosition;
  10867. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
  10868. L_18 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_12, L_17, NULL);
  10869. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
  10870. L_19 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_11, L_18, NULL);
  10871. V_0 = L_19;
  10872. float L_20 = ___3_weight;
  10873. if ((!(((float)L_20) < ((float)(1.0f)))))
  10874. {
  10875. goto IL_0047;
  10876. }
  10877. }
  10878. {
  10879. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21;
  10880. L_21 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  10881. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = V_0;
  10882. float L_23 = ___3_weight;
  10883. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24;
  10884. L_24 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_21, L_22, L_23, NULL);
  10885. V_0 = L_24;
  10886. }
  10887. IL_0047:
  10888. {
  10889. int32_t L_25 = ___1_index;
  10890. V_1 = L_25;
  10891. goto IL_0065;
  10892. }
  10893. IL_004b:
  10894. {
  10895. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_26 = ___0_bones;
  10896. int32_t L_27 = V_1;
  10897. NullCheck(L_26);
  10898. int32_t L_28 = L_27;
  10899. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
  10900. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30 = V_0;
  10901. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_31 = ___0_bones;
  10902. int32_t L_32 = V_1;
  10903. NullCheck(L_31);
  10904. int32_t L_33 = L_32;
  10905. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
  10906. NullCheck(L_34);
  10907. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35 = L_34->___solverRotation;
  10908. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36;
  10909. L_36 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_30, L_35, NULL);
  10910. NullCheck(L_29);
  10911. L_29->___solverRotation = L_36;
  10912. int32_t L_37 = V_1;
  10913. V_1 = ((int32_t)il2cpp_codegen_add(L_37, 1));
  10914. }
  10915. IL_0065:
  10916. {
  10917. int32_t L_38 = V_1;
  10918. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_39 = ___0_bones;
  10919. NullCheck(L_39);
  10920. if ((((int32_t)L_38) < ((int32_t)((int32_t)(((RuntimeArray*)L_39)->max_length)))))
  10921. {
  10922. goto IL_004b;
  10923. }
  10924. }
  10925. {
  10926. return;
  10927. }
  10928. }
  10929. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float VirtualBone_PreSolve_mBC9F15E52C251DF529BBA3ADDAD501FD4CC4ED17 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** ___0_bones, const RuntimeMethod* method)
  10930. {
  10931. float V_0 = 0.0f;
  10932. int32_t V_1 = 0;
  10933. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  10934. memset((&V_2), 0, sizeof(V_2));
  10935. {
  10936. V_0 = (0.0f);
  10937. V_1 = 0;
  10938. goto IL_00bd;
  10939. }
  10940. IL_000d:
  10941. {
  10942. int32_t L_0 = V_1;
  10943. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_1 = ___0_bones;
  10944. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_2 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_1);
  10945. NullCheck(L_2);
  10946. if ((((int32_t)L_0) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_2)->max_length)), 1)))))
  10947. {
  10948. goto IL_009d;
  10949. }
  10950. }
  10951. {
  10952. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_3 = ___0_bones;
  10953. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_4 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_3);
  10954. int32_t L_5 = V_1;
  10955. NullCheck(L_4);
  10956. int32_t L_6 = L_5;
  10957. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  10958. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_8 = ___0_bones;
  10959. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_9 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_8);
  10960. int32_t L_10 = V_1;
  10961. NullCheck(L_9);
  10962. int32_t L_11 = ((int32_t)il2cpp_codegen_add(L_10, 1));
  10963. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  10964. NullCheck(L_12);
  10965. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = L_12->___solverPosition;
  10966. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_14 = ___0_bones;
  10967. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_15 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_14);
  10968. int32_t L_16 = V_1;
  10969. NullCheck(L_15);
  10970. int32_t L_17 = L_16;
  10971. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  10972. NullCheck(L_18);
  10973. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___solverPosition;
  10974. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  10975. L_20 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_13, L_19, NULL);
  10976. V_2 = L_20;
  10977. float L_21;
  10978. L_21 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_2), NULL);
  10979. NullCheck(L_7);
  10980. L_7->___sqrMag = L_21;
  10981. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_22 = ___0_bones;
  10982. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_23 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_22);
  10983. int32_t L_24 = V_1;
  10984. NullCheck(L_23);
  10985. int32_t L_25 = L_24;
  10986. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  10987. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_27 = ___0_bones;
  10988. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_28 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_27);
  10989. int32_t L_29 = V_1;
  10990. NullCheck(L_28);
  10991. int32_t L_30 = L_29;
  10992. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  10993. NullCheck(L_31);
  10994. float L_32 = L_31->___sqrMag;
  10995. float L_33;
  10996. L_33 = sqrtf(L_32);
  10997. NullCheck(L_26);
  10998. L_26->___length = L_33;
  10999. float L_34 = V_0;
  11000. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_35 = ___0_bones;
  11001. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_36 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_35);
  11002. int32_t L_37 = V_1;
  11003. NullCheck(L_36);
  11004. int32_t L_38 = L_37;
  11005. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_39 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
  11006. NullCheck(L_39);
  11007. float L_40 = L_39->___length;
  11008. V_0 = ((float)il2cpp_codegen_add(L_34, L_40));
  11009. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_41 = ___0_bones;
  11010. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_42 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_41);
  11011. int32_t L_43 = V_1;
  11012. NullCheck(L_42);
  11013. int32_t L_44 = L_43;
  11014. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_45 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
  11015. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_46 = ___0_bones;
  11016. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_47 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_46);
  11017. int32_t L_48 = V_1;
  11018. NullCheck(L_47);
  11019. int32_t L_49 = L_48;
  11020. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
  11021. NullCheck(L_50);
  11022. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_51 = L_50->___solverRotation;
  11023. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52;
  11024. L_52 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_51, NULL);
  11025. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_53 = ___0_bones;
  11026. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_54 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_53);
  11027. int32_t L_55 = V_1;
  11028. NullCheck(L_54);
  11029. int32_t L_56 = ((int32_t)il2cpp_codegen_add(L_55, 1));
  11030. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
  11031. NullCheck(L_57);
  11032. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = L_57->___solverPosition;
  11033. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_59 = ___0_bones;
  11034. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_60 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_59);
  11035. int32_t L_61 = V_1;
  11036. NullCheck(L_60);
  11037. int32_t L_62 = L_61;
  11038. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_63 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
  11039. NullCheck(L_63);
  11040. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = L_63->___solverPosition;
  11041. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
  11042. L_65 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_58, L_64, NULL);
  11043. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
  11044. L_66 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_52, L_65, NULL);
  11045. NullCheck(L_45);
  11046. L_45->___axis = L_66;
  11047. goto IL_00b9;
  11048. }
  11049. IL_009d:
  11050. {
  11051. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_67 = ___0_bones;
  11052. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_68 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_67);
  11053. int32_t L_69 = V_1;
  11054. NullCheck(L_68);
  11055. int32_t L_70 = L_69;
  11056. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_71 = (L_68)->GetAt(static_cast<il2cpp_array_size_t>(L_70));
  11057. NullCheck(L_71);
  11058. L_71->___sqrMag = (0.0f);
  11059. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_72 = ___0_bones;
  11060. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_73 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_72);
  11061. int32_t L_74 = V_1;
  11062. NullCheck(L_73);
  11063. int32_t L_75 = L_74;
  11064. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_76 = (L_73)->GetAt(static_cast<il2cpp_array_size_t>(L_75));
  11065. NullCheck(L_76);
  11066. L_76->___length = (0.0f);
  11067. }
  11068. IL_00b9:
  11069. {
  11070. int32_t L_77 = V_1;
  11071. V_1 = ((int32_t)il2cpp_codegen_add(L_77, 1));
  11072. }
  11073. IL_00bd:
  11074. {
  11075. int32_t L_78 = V_1;
  11076. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C** L_79 = ___0_bones;
  11077. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_80 = *((VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C**)L_79);
  11078. NullCheck(L_80);
  11079. if ((((int32_t)L_78) < ((int32_t)((int32_t)(((RuntimeArray*)L_80)->max_length)))))
  11080. {
  11081. goto IL_000d;
  11082. }
  11083. }
  11084. {
  11085. float L_81 = V_0;
  11086. return L_81;
  11087. }
  11088. }
  11089. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_point, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___3_rotation, const RuntimeMethod* method)
  11090. {
  11091. int32_t V_0 = 0;
  11092. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  11093. memset((&V_1), 0, sizeof(V_1));
  11094. {
  11095. int32_t L_0 = ___1_index;
  11096. V_0 = L_0;
  11097. goto IL_0047;
  11098. }
  11099. IL_0004:
  11100. {
  11101. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = ___0_bones;
  11102. int32_t L_2 = V_0;
  11103. NullCheck(L_1);
  11104. int32_t L_3 = L_2;
  11105. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  11106. if (!L_4)
  11107. {
  11108. goto IL_0043;
  11109. }
  11110. }
  11111. {
  11112. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_5 = ___0_bones;
  11113. int32_t L_6 = V_0;
  11114. NullCheck(L_5);
  11115. int32_t L_7 = L_6;
  11116. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  11117. NullCheck(L_8);
  11118. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = L_8->___solverPosition;
  11119. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___2_point;
  11120. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  11121. L_11 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_9, L_10, NULL);
  11122. V_1 = L_11;
  11123. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_12 = ___0_bones;
  11124. int32_t L_13 = V_0;
  11125. NullCheck(L_12);
  11126. int32_t L_14 = L_13;
  11127. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  11128. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___2_point;
  11129. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17 = ___3_rotation;
  11130. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_1;
  11131. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  11132. L_19 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_17, L_18, NULL);
  11133. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  11134. L_20 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_16, L_19, NULL);
  11135. NullCheck(L_15);
  11136. L_15->___solverPosition = L_20;
  11137. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_21 = ___0_bones;
  11138. int32_t L_22 = V_0;
  11139. NullCheck(L_21);
  11140. int32_t L_23 = L_22;
  11141. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  11142. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25 = ___3_rotation;
  11143. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_26 = ___0_bones;
  11144. int32_t L_27 = V_0;
  11145. NullCheck(L_26);
  11146. int32_t L_28 = L_27;
  11147. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
  11148. NullCheck(L_29);
  11149. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30 = L_29->___solverRotation;
  11150. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31;
  11151. L_31 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_25, L_30, NULL);
  11152. NullCheck(L_24);
  11153. L_24->___solverRotation = L_31;
  11154. }
  11155. IL_0043:
  11156. {
  11157. int32_t L_32 = V_0;
  11158. V_0 = ((int32_t)il2cpp_codegen_add(L_32, 1));
  11159. }
  11160. IL_0047:
  11161. {
  11162. int32_t L_33 = V_0;
  11163. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_34 = ___0_bones;
  11164. NullCheck(L_34);
  11165. if ((((int32_t)L_33) < ((int32_t)((int32_t)(((RuntimeArray*)L_34)->max_length)))))
  11166. {
  11167. goto IL_0004;
  11168. }
  11169. }
  11170. {
  11171. return;
  11172. }
  11173. }
  11174. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_RotateBy_m6228F540113E22774DBA496606B2694D428D44B4 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_rotation, const RuntimeMethod* method)
  11175. {
  11176. int32_t V_0 = 0;
  11177. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  11178. memset((&V_1), 0, sizeof(V_1));
  11179. {
  11180. int32_t L_0 = ___1_index;
  11181. V_0 = L_0;
  11182. goto IL_0055;
  11183. }
  11184. IL_0004:
  11185. {
  11186. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = ___0_bones;
  11187. int32_t L_2 = V_0;
  11188. NullCheck(L_1);
  11189. int32_t L_3 = L_2;
  11190. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  11191. if (!L_4)
  11192. {
  11193. goto IL_0051;
  11194. }
  11195. }
  11196. {
  11197. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_5 = ___0_bones;
  11198. int32_t L_6 = V_0;
  11199. NullCheck(L_5);
  11200. int32_t L_7 = L_6;
  11201. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  11202. NullCheck(L_8);
  11203. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = L_8->___solverPosition;
  11204. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_10 = ___0_bones;
  11205. int32_t L_11 = ___1_index;
  11206. NullCheck(L_10);
  11207. int32_t L_12 = L_11;
  11208. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  11209. NullCheck(L_13);
  11210. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___solverPosition;
  11211. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  11212. L_15 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_9, L_14, NULL);
  11213. V_1 = L_15;
  11214. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_16 = ___0_bones;
  11215. int32_t L_17 = V_0;
  11216. NullCheck(L_16);
  11217. int32_t L_18 = L_17;
  11218. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  11219. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_20 = ___0_bones;
  11220. int32_t L_21 = ___1_index;
  11221. NullCheck(L_20);
  11222. int32_t L_22 = L_21;
  11223. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  11224. NullCheck(L_23);
  11225. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23->___solverPosition;
  11226. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25 = ___2_rotation;
  11227. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_1;
  11228. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
  11229. L_27 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_25, L_26, NULL);
  11230. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
  11231. L_28 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_24, L_27, NULL);
  11232. NullCheck(L_19);
  11233. L_19->___solverPosition = L_28;
  11234. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_29 = ___0_bones;
  11235. int32_t L_30 = V_0;
  11236. NullCheck(L_29);
  11237. int32_t L_31 = L_30;
  11238. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
  11239. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33 = ___2_rotation;
  11240. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_34 = ___0_bones;
  11241. int32_t L_35 = V_0;
  11242. NullCheck(L_34);
  11243. int32_t L_36 = L_35;
  11244. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
  11245. NullCheck(L_37);
  11246. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38 = L_37->___solverRotation;
  11247. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39;
  11248. L_39 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_33, L_38, NULL);
  11249. NullCheck(L_32);
  11250. L_32->___solverRotation = L_39;
  11251. }
  11252. IL_0051:
  11253. {
  11254. int32_t L_40 = V_0;
  11255. V_0 = ((int32_t)il2cpp_codegen_add(L_40, 1));
  11256. }
  11257. IL_0055:
  11258. {
  11259. int32_t L_41 = V_0;
  11260. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_42 = ___0_bones;
  11261. NullCheck(L_42);
  11262. if ((((int32_t)L_41) < ((int32_t)((int32_t)(((RuntimeArray*)L_42)->max_length)))))
  11263. {
  11264. goto IL_0004;
  11265. }
  11266. }
  11267. {
  11268. return;
  11269. }
  11270. }
  11271. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_RotateBy_mDC1844AFD70FD61AC3159E5F6701ADCE6A048CF8 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, const RuntimeMethod* method)
  11272. {
  11273. int32_t V_0 = 0;
  11274. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  11275. memset((&V_1), 0, sizeof(V_1));
  11276. {
  11277. V_0 = 0;
  11278. goto IL_0059;
  11279. }
  11280. IL_0004:
  11281. {
  11282. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ___0_bones;
  11283. int32_t L_1 = V_0;
  11284. NullCheck(L_0);
  11285. int32_t L_2 = L_1;
  11286. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  11287. if (!L_3)
  11288. {
  11289. goto IL_0055;
  11290. }
  11291. }
  11292. {
  11293. int32_t L_4 = V_0;
  11294. if ((((int32_t)L_4) <= ((int32_t)0)))
  11295. {
  11296. goto IL_003f;
  11297. }
  11298. }
  11299. {
  11300. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_5 = ___0_bones;
  11301. int32_t L_6 = V_0;
  11302. NullCheck(L_5);
  11303. int32_t L_7 = L_6;
  11304. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
  11305. NullCheck(L_8);
  11306. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = L_8->___solverPosition;
  11307. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_10 = ___0_bones;
  11308. NullCheck(L_10);
  11309. int32_t L_11 = 0;
  11310. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  11311. NullCheck(L_12);
  11312. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = L_12->___solverPosition;
  11313. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  11314. L_14 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_9, L_13, NULL);
  11315. V_1 = L_14;
  11316. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_15 = ___0_bones;
  11317. int32_t L_16 = V_0;
  11318. NullCheck(L_15);
  11319. int32_t L_17 = L_16;
  11320. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  11321. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_19 = ___0_bones;
  11322. NullCheck(L_19);
  11323. int32_t L_20 = 0;
  11324. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_21 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  11325. NullCheck(L_21);
  11326. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = L_21->___solverPosition;
  11327. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = ___1_rotation;
  11328. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_1;
  11329. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
  11330. L_25 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_23, L_24, NULL);
  11331. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
  11332. L_26 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_22, L_25, NULL);
  11333. NullCheck(L_18);
  11334. L_18->___solverPosition = L_26;
  11335. }
  11336. IL_003f:
  11337. {
  11338. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_27 = ___0_bones;
  11339. int32_t L_28 = V_0;
  11340. NullCheck(L_27);
  11341. int32_t L_29 = L_28;
  11342. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  11343. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = ___1_rotation;
  11344. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_32 = ___0_bones;
  11345. int32_t L_33 = V_0;
  11346. NullCheck(L_32);
  11347. int32_t L_34 = L_33;
  11348. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  11349. NullCheck(L_35);
  11350. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36 = L_35->___solverRotation;
  11351. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_37;
  11352. L_37 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_31, L_36, NULL);
  11353. NullCheck(L_30);
  11354. L_30->___solverRotation = L_37;
  11355. }
  11356. IL_0055:
  11357. {
  11358. int32_t L_38 = V_0;
  11359. V_0 = ((int32_t)il2cpp_codegen_add(L_38, 1));
  11360. }
  11361. IL_0059:
  11362. {
  11363. int32_t L_39 = V_0;
  11364. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_40 = ___0_bones;
  11365. NullCheck(L_40);
  11366. if ((((int32_t)L_39) < ((int32_t)((int32_t)(((RuntimeArray*)L_40)->max_length)))))
  11367. {
  11368. goto IL_0004;
  11369. }
  11370. }
  11371. {
  11372. return;
  11373. }
  11374. }
  11375. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_RotateTo_m1A5559C60EF42A60E0CED4C11CD220CDC960D5B1 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_index, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_rotation, const RuntimeMethod* method)
  11376. {
  11377. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  11378. memset((&V_0), 0, sizeof(V_0));
  11379. {
  11380. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_0 = ___0_bones;
  11381. int32_t L_1 = ___1_index;
  11382. NullCheck(L_0);
  11383. int32_t L_2 = L_1;
  11384. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  11385. NullCheck(L_3);
  11386. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = L_3->___solverRotation;
  11387. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ___2_rotation;
  11388. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
  11389. L_6 = QuaTools_FromToRotation_mF21C22BD70F70AAF8EC90A92CE089A16445C7048(L_4, L_5, NULL);
  11390. V_0 = L_6;
  11391. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_7 = ___0_bones;
  11392. int32_t L_8 = ___1_index;
  11393. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_9 = ___0_bones;
  11394. int32_t L_10 = ___1_index;
  11395. NullCheck(L_9);
  11396. int32_t L_11 = L_10;
  11397. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
  11398. NullCheck(L_12);
  11399. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = L_12->___solverPosition;
  11400. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = V_0;
  11401. VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B(L_7, L_8, L_13, L_14, NULL);
  11402. return;
  11403. }
  11404. }
  11405. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_SolveTrigonometric_mB266233363560CDE00E2C5DD3EA8C22D1B2D32DF (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, int32_t ___1_first, int32_t ___2_second, int32_t ___3_third, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___4_targetPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___5_bendNormal, float ___6_weight, const RuntimeMethod* method)
  11406. {
  11407. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  11408. memset((&V_0), 0, sizeof(V_0));
  11409. float V_1 = 0.0f;
  11410. float V_2 = 0.0f;
  11411. float V_3 = 0.0f;
  11412. float V_4 = 0.0f;
  11413. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
  11414. memset((&V_5), 0, sizeof(V_5));
  11415. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  11416. memset((&V_6), 0, sizeof(V_6));
  11417. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_7;
  11418. memset((&V_7), 0, sizeof(V_7));
  11419. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_8;
  11420. memset((&V_8), 0, sizeof(V_8));
  11421. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
  11422. memset((&V_9), 0, sizeof(V_9));
  11423. {
  11424. float L_0 = ___6_weight;
  11425. if ((!(((float)L_0) <= ((float)(0.0f)))))
  11426. {
  11427. goto IL_000a;
  11428. }
  11429. }
  11430. {
  11431. return;
  11432. }
  11433. IL_000a:
  11434. {
  11435. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = ___0_bones;
  11436. int32_t L_2 = ___3_third;
  11437. NullCheck(L_1);
  11438. int32_t L_3 = L_2;
  11439. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  11440. NullCheck(L_4);
  11441. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = L_4->___solverPosition;
  11442. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___4_targetPosition;
  11443. float L_7 = ___6_weight;
  11444. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
  11445. L_8 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_5, L_6, L_7, NULL);
  11446. ___4_targetPosition = L_8;
  11447. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___4_targetPosition;
  11448. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_10 = ___0_bones;
  11449. int32_t L_11 = ___1_first;
  11450. NullCheck(L_10);
  11451. int32_t L_12 = L_11;
  11452. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  11453. NullCheck(L_13);
  11454. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___solverPosition;
  11455. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  11456. L_15 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_9, L_14, NULL);
  11457. V_0 = L_15;
  11458. float L_16;
  11459. L_16 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_0), NULL);
  11460. V_1 = L_16;
  11461. float L_17 = V_1;
  11462. if ((!(((float)L_17) == ((float)(0.0f)))))
  11463. {
  11464. goto IL_003e;
  11465. }
  11466. }
  11467. {
  11468. return;
  11469. }
  11470. IL_003e:
  11471. {
  11472. float L_18 = V_1;
  11473. float L_19;
  11474. L_19 = sqrtf(L_18);
  11475. V_2 = L_19;
  11476. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_20 = ___0_bones;
  11477. int32_t L_21 = ___2_second;
  11478. NullCheck(L_20);
  11479. int32_t L_22 = L_21;
  11480. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  11481. NullCheck(L_23);
  11482. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23->___solverPosition;
  11483. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_25 = ___0_bones;
  11484. int32_t L_26 = ___1_first;
  11485. NullCheck(L_25);
  11486. int32_t L_27 = L_26;
  11487. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
  11488. NullCheck(L_28);
  11489. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = L_28->___solverPosition;
  11490. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
  11491. L_30 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_24, L_29, NULL);
  11492. V_9 = L_30;
  11493. float L_31;
  11494. L_31 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_9), NULL);
  11495. V_3 = L_31;
  11496. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_32 = ___0_bones;
  11497. int32_t L_33 = ___3_third;
  11498. NullCheck(L_32);
  11499. int32_t L_34 = L_33;
  11500. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  11501. NullCheck(L_35);
  11502. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = L_35->___solverPosition;
  11503. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_37 = ___0_bones;
  11504. int32_t L_38 = ___2_second;
  11505. NullCheck(L_37);
  11506. int32_t L_39 = L_38;
  11507. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
  11508. NullCheck(L_40);
  11509. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = L_40->___solverPosition;
  11510. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
  11511. L_42 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_36, L_41, NULL);
  11512. V_9 = L_42;
  11513. float L_43;
  11514. L_43 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_9), NULL);
  11515. V_4 = L_43;
  11516. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_0;
  11517. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = ___5_bendNormal;
  11518. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
  11519. L_46 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_44, L_45, NULL);
  11520. V_5 = L_46;
  11521. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = V_0;
  11522. float L_48 = V_2;
  11523. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_5;
  11524. float L_50 = V_3;
  11525. float L_51 = V_4;
  11526. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
  11527. L_52 = VirtualBone_GetDirectionToBendPoint_m52682461F59E2133ABE6FBC3CF801C14E3DE169B(L_47, L_48, L_49, L_50, L_51, NULL);
  11528. V_6 = L_52;
  11529. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_53 = ___0_bones;
  11530. int32_t L_54 = ___2_second;
  11531. NullCheck(L_53);
  11532. int32_t L_55 = L_54;
  11533. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_56 = (L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
  11534. NullCheck(L_56);
  11535. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = L_56->___solverPosition;
  11536. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_58 = ___0_bones;
  11537. int32_t L_59 = ___1_first;
  11538. NullCheck(L_58);
  11539. int32_t L_60 = L_59;
  11540. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_61 = (L_58)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
  11541. NullCheck(L_61);
  11542. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = L_61->___solverPosition;
  11543. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
  11544. L_63 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_57, L_62, NULL);
  11545. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = V_6;
  11546. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65;
  11547. L_65 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_63, L_64, NULL);
  11548. V_7 = L_65;
  11549. float L_66 = ___6_weight;
  11550. if ((!(((float)L_66) < ((float)(1.0f)))))
  11551. {
  11552. goto IL_00d3;
  11553. }
  11554. }
  11555. {
  11556. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_67;
  11557. L_67 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  11558. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_68 = V_7;
  11559. float L_69 = ___6_weight;
  11560. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_70;
  11561. L_70 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_67, L_68, L_69, NULL);
  11562. V_7 = L_70;
  11563. }
  11564. IL_00d3:
  11565. {
  11566. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_71 = ___0_bones;
  11567. int32_t L_72 = ___1_first;
  11568. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_73 = ___0_bones;
  11569. int32_t L_74 = ___1_first;
  11570. NullCheck(L_73);
  11571. int32_t L_75 = L_74;
  11572. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_76 = (L_73)->GetAt(static_cast<il2cpp_array_size_t>(L_75));
  11573. NullCheck(L_76);
  11574. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = L_76->___solverPosition;
  11575. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_78 = V_7;
  11576. VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B(L_71, L_72, L_77, L_78, NULL);
  11577. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_79 = ___0_bones;
  11578. int32_t L_80 = ___3_third;
  11579. NullCheck(L_79);
  11580. int32_t L_81 = L_80;
  11581. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_82 = (L_79)->GetAt(static_cast<il2cpp_array_size_t>(L_81));
  11582. NullCheck(L_82);
  11583. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83 = L_82->___solverPosition;
  11584. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_84 = ___0_bones;
  11585. int32_t L_85 = ___2_second;
  11586. NullCheck(L_84);
  11587. int32_t L_86 = L_85;
  11588. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_87 = (L_84)->GetAt(static_cast<il2cpp_array_size_t>(L_86));
  11589. NullCheck(L_87);
  11590. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = L_87->___solverPosition;
  11591. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
  11592. L_89 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_83, L_88, NULL);
  11593. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90 = ___4_targetPosition;
  11594. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_91 = ___0_bones;
  11595. int32_t L_92 = ___2_second;
  11596. NullCheck(L_91);
  11597. int32_t L_93 = L_92;
  11598. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_94 = (L_91)->GetAt(static_cast<il2cpp_array_size_t>(L_93));
  11599. NullCheck(L_94);
  11600. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95 = L_94->___solverPosition;
  11601. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96;
  11602. L_96 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_90, L_95, NULL);
  11603. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_97;
  11604. L_97 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_89, L_96, NULL);
  11605. V_8 = L_97;
  11606. float L_98 = ___6_weight;
  11607. if ((!(((float)L_98) < ((float)(1.0f)))))
  11608. {
  11609. goto IL_0128;
  11610. }
  11611. }
  11612. {
  11613. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_99;
  11614. L_99 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  11615. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_100 = V_8;
  11616. float L_101 = ___6_weight;
  11617. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_102;
  11618. L_102 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_99, L_100, L_101, NULL);
  11619. V_8 = L_102;
  11620. }
  11621. IL_0128:
  11622. {
  11623. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_103 = ___0_bones;
  11624. int32_t L_104 = ___2_second;
  11625. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_105 = ___0_bones;
  11626. int32_t L_106 = ___2_second;
  11627. NullCheck(L_105);
  11628. int32_t L_107 = L_106;
  11629. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_108 = (L_105)->GetAt(static_cast<il2cpp_array_size_t>(L_107));
  11630. NullCheck(L_108);
  11631. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_109 = L_108->___solverPosition;
  11632. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_110 = V_8;
  11633. VirtualBone_RotateAroundPoint_mDDF923EA7A68F5E90823A7390ABA18DB3B514B2B(L_103, L_104, L_109, L_110, NULL);
  11634. return;
  11635. }
  11636. }
  11637. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VirtualBone_GetDirectionToBendPoint_m52682461F59E2133ABE6FBC3CF801C14E3DE169B (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, float ___1_directionMag, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_bendDirection, float ___3_sqrMag1, float ___4_sqrMag2, const RuntimeMethod* method)
  11638. {
  11639. static bool s_Il2CppMethodInitialized;
  11640. if (!s_Il2CppMethodInitialized)
  11641. {
  11642. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  11643. s_Il2CppMethodInitialized = true;
  11644. }
  11645. float V_0 = 0.0f;
  11646. float V_1 = 0.0f;
  11647. {
  11648. float L_0 = ___1_directionMag;
  11649. float L_1 = ___1_directionMag;
  11650. float L_2 = ___3_sqrMag1;
  11651. float L_3 = ___4_sqrMag2;
  11652. float L_4 = ___1_directionMag;
  11653. 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));
  11654. float L_5 = ___3_sqrMag1;
  11655. float L_6 = V_0;
  11656. float L_7 = V_0;
  11657. float L_8;
  11658. 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);
  11659. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  11660. double L_9;
  11661. L_9 = sqrt(((double)L_8));
  11662. V_1 = ((float)L_9);
  11663. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_direction;
  11664. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
  11665. L_11 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  11666. bool L_12;
  11667. L_12 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_10, L_11, NULL);
  11668. if (!L_12)
  11669. {
  11670. goto IL_0040;
  11671. }
  11672. }
  11673. {
  11674. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  11675. L_13 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  11676. return L_13;
  11677. }
  11678. IL_0040:
  11679. {
  11680. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___0_direction;
  11681. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = ___2_bendDirection;
  11682. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
  11683. L_16 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_14, L_15, NULL);
  11684. float L_17 = V_1;
  11685. float L_18 = V_0;
  11686. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  11687. memset((&L_19), 0, sizeof(L_19));
  11688. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_19), (0.0f), L_17, L_18, NULL);
  11689. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
  11690. L_20 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_16, L_19, NULL);
  11691. return L_20;
  11692. }
  11693. }
  11694. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_SolveFABRIK_mDCDEE1A3378C450DB6BCE74F1BCCC77058DFCE97 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_startPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_targetPosition, float ___3_weight, float ___4_minNormalizedTargetDistance, int32_t ___5_iterations, float ___6_length, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___7_startOffset, const RuntimeMethod* method)
  11695. {
  11696. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  11697. memset((&V_0), 0, sizeof(V_0));
  11698. float V_1 = 0.0f;
  11699. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  11700. memset((&V_2), 0, sizeof(V_2));
  11701. int32_t V_3 = 0;
  11702. int32_t V_4 = 0;
  11703. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* V_5 = NULL;
  11704. int32_t V_6 = 0;
  11705. int32_t V_7 = 0;
  11706. int32_t V_8 = 0;
  11707. {
  11708. float L_0 = ___3_weight;
  11709. if ((!(((float)L_0) <= ((float)(0.0f)))))
  11710. {
  11711. goto IL_0009;
  11712. }
  11713. }
  11714. {
  11715. return;
  11716. }
  11717. IL_0009:
  11718. {
  11719. float L_1 = ___4_minNormalizedTargetDistance;
  11720. if ((!(((float)L_1) > ((float)(0.0f)))))
  11721. {
  11722. goto IL_004a;
  11723. }
  11724. }
  11725. {
  11726. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___2_targetPosition;
  11727. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___1_startPosition;
  11728. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  11729. L_4 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_3, NULL);
  11730. V_0 = L_4;
  11731. float L_5;
  11732. L_5 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_0), NULL);
  11733. V_1 = L_5;
  11734. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_startPosition;
  11735. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
  11736. float L_8 = V_1;
  11737. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  11738. L_9 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_7, L_8, NULL);
  11739. float L_10 = ___6_length;
  11740. float L_11 = ___4_minNormalizedTargetDistance;
  11741. float L_12 = V_1;
  11742. float L_13;
  11743. L_13 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(((float)il2cpp_codegen_multiply(L_10, L_11)), L_12, NULL);
  11744. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  11745. L_14 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_9, L_13, NULL);
  11746. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  11747. L_15 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_6, L_14, NULL);
  11748. V_2 = L_15;
  11749. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___2_targetPosition;
  11750. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_2;
  11751. float L_18 = ___3_weight;
  11752. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  11753. L_19 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_16, L_17, L_18, NULL);
  11754. ___2_targetPosition = L_19;
  11755. }
  11756. IL_004a:
  11757. {
  11758. V_3 = 0;
  11759. goto IL_012b;
  11760. }
  11761. IL_0051:
  11762. {
  11763. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_20 = ___0_bones;
  11764. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_21 = ___0_bones;
  11765. NullCheck(L_21);
  11766. NullCheck(L_20);
  11767. int32_t L_22 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_21)->max_length)), 1));
  11768. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  11769. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_24 = ___0_bones;
  11770. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_25 = ___0_bones;
  11771. NullCheck(L_25);
  11772. NullCheck(L_24);
  11773. int32_t L_26 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_25)->max_length)), 1));
  11774. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  11775. NullCheck(L_27);
  11776. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = L_27->___solverPosition;
  11777. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = ___2_targetPosition;
  11778. float L_30 = ___3_weight;
  11779. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  11780. L_31 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_28, L_29, L_30, NULL);
  11781. NullCheck(L_23);
  11782. L_23->___solverPosition = L_31;
  11783. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_32 = ___0_bones;
  11784. NullCheck(L_32);
  11785. V_4 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_32)->max_length)), 2));
  11786. goto IL_00aa;
  11787. }
  11788. IL_0079:
  11789. {
  11790. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_33 = ___0_bones;
  11791. int32_t L_34 = V_4;
  11792. NullCheck(L_33);
  11793. int32_t L_35 = L_34;
  11794. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
  11795. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_37 = ___0_bones;
  11796. int32_t L_38 = V_4;
  11797. NullCheck(L_37);
  11798. int32_t L_39 = L_38;
  11799. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
  11800. NullCheck(L_40);
  11801. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = L_40->___solverPosition;
  11802. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_42 = ___0_bones;
  11803. int32_t L_43 = V_4;
  11804. NullCheck(L_42);
  11805. int32_t L_44 = ((int32_t)il2cpp_codegen_add(L_43, 1));
  11806. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_45 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
  11807. NullCheck(L_45);
  11808. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = L_45->___solverPosition;
  11809. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_47 = ___0_bones;
  11810. int32_t L_48 = V_4;
  11811. NullCheck(L_47);
  11812. int32_t L_49 = L_48;
  11813. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
  11814. NullCheck(L_50);
  11815. float L_51 = L_50->___length;
  11816. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
  11817. L_52 = VirtualBone_SolveFABRIKJoint_mF6261CB54A5C07391F8EFB75C049C697B980FC66(L_41, L_46, L_51, NULL);
  11818. NullCheck(L_36);
  11819. L_36->___solverPosition = L_52;
  11820. int32_t L_53 = V_4;
  11821. V_4 = ((int32_t)il2cpp_codegen_subtract(L_53, 1));
  11822. }
  11823. IL_00aa:
  11824. {
  11825. int32_t L_54 = V_4;
  11826. if ((((int32_t)L_54) > ((int32_t)(-1))))
  11827. {
  11828. goto IL_0079;
  11829. }
  11830. }
  11831. {
  11832. int32_t L_55 = V_3;
  11833. if (L_55)
  11834. {
  11835. goto IL_00df;
  11836. }
  11837. }
  11838. {
  11839. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_56 = ___0_bones;
  11840. V_5 = L_56;
  11841. V_6 = 0;
  11842. goto IL_00d7;
  11843. }
  11844. IL_00ba:
  11845. {
  11846. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_57 = V_5;
  11847. int32_t L_58 = V_6;
  11848. NullCheck(L_57);
  11849. int32_t L_59 = L_58;
  11850. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_60 = (L_57)->GetAt(static_cast<il2cpp_array_size_t>(L_59));
  11851. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_61 = L_60;
  11852. NullCheck(L_61);
  11853. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = L_61->___solverPosition;
  11854. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = ___7_startOffset;
  11855. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
  11856. L_64 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_62, L_63, NULL);
  11857. NullCheck(L_61);
  11858. L_61->___solverPosition = L_64;
  11859. int32_t L_65 = V_6;
  11860. V_6 = ((int32_t)il2cpp_codegen_add(L_65, 1));
  11861. }
  11862. IL_00d7:
  11863. {
  11864. int32_t L_66 = V_6;
  11865. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_67 = V_5;
  11866. NullCheck(L_67);
  11867. if ((((int32_t)L_66) < ((int32_t)((int32_t)(((RuntimeArray*)L_67)->max_length)))))
  11868. {
  11869. goto IL_00ba;
  11870. }
  11871. }
  11872. IL_00df:
  11873. {
  11874. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_68 = ___0_bones;
  11875. NullCheck(L_68);
  11876. int32_t L_69 = 0;
  11877. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_70 = (L_68)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
  11878. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71 = ___1_startPosition;
  11879. NullCheck(L_70);
  11880. L_70->___solverPosition = L_71;
  11881. V_7 = 1;
  11882. goto IL_0120;
  11883. }
  11884. IL_00ed:
  11885. {
  11886. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_72 = ___0_bones;
  11887. int32_t L_73 = V_7;
  11888. NullCheck(L_72);
  11889. int32_t L_74 = L_73;
  11890. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_75 = (L_72)->GetAt(static_cast<il2cpp_array_size_t>(L_74));
  11891. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_76 = ___0_bones;
  11892. int32_t L_77 = V_7;
  11893. NullCheck(L_76);
  11894. int32_t L_78 = L_77;
  11895. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_79 = (L_76)->GetAt(static_cast<il2cpp_array_size_t>(L_78));
  11896. NullCheck(L_79);
  11897. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = L_79->___solverPosition;
  11898. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_81 = ___0_bones;
  11899. int32_t L_82 = V_7;
  11900. NullCheck(L_81);
  11901. int32_t L_83 = ((int32_t)il2cpp_codegen_subtract(L_82, 1));
  11902. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_84 = (L_81)->GetAt(static_cast<il2cpp_array_size_t>(L_83));
  11903. NullCheck(L_84);
  11904. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = L_84->___solverPosition;
  11905. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_86 = ___0_bones;
  11906. int32_t L_87 = V_7;
  11907. NullCheck(L_86);
  11908. int32_t L_88 = ((int32_t)il2cpp_codegen_subtract(L_87, 1));
  11909. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_89 = (L_86)->GetAt(static_cast<il2cpp_array_size_t>(L_88));
  11910. NullCheck(L_89);
  11911. float L_90 = L_89->___length;
  11912. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91;
  11913. L_91 = VirtualBone_SolveFABRIKJoint_mF6261CB54A5C07391F8EFB75C049C697B980FC66(L_80, L_85, L_90, NULL);
  11914. NullCheck(L_75);
  11915. L_75->___solverPosition = L_91;
  11916. int32_t L_92 = V_7;
  11917. V_7 = ((int32_t)il2cpp_codegen_add(L_92, 1));
  11918. }
  11919. IL_0120:
  11920. {
  11921. int32_t L_93 = V_7;
  11922. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_94 = ___0_bones;
  11923. NullCheck(L_94);
  11924. if ((((int32_t)L_93) < ((int32_t)((int32_t)(((RuntimeArray*)L_94)->max_length)))))
  11925. {
  11926. goto IL_00ed;
  11927. }
  11928. }
  11929. {
  11930. int32_t L_95 = V_3;
  11931. V_3 = ((int32_t)il2cpp_codegen_add(L_95, 1));
  11932. }
  11933. IL_012b:
  11934. {
  11935. int32_t L_96 = V_3;
  11936. int32_t L_97 = ___5_iterations;
  11937. if ((((int32_t)L_96) < ((int32_t)L_97)))
  11938. {
  11939. goto IL_0051;
  11940. }
  11941. }
  11942. {
  11943. V_8 = 0;
  11944. goto IL_0156;
  11945. }
  11946. IL_0138:
  11947. {
  11948. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_98 = ___0_bones;
  11949. int32_t L_99 = V_8;
  11950. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_100 = ___0_bones;
  11951. int32_t L_101 = V_8;
  11952. NullCheck(L_100);
  11953. int32_t L_102 = ((int32_t)il2cpp_codegen_add(L_101, 1));
  11954. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_103 = (L_100)->GetAt(static_cast<il2cpp_array_size_t>(L_102));
  11955. NullCheck(L_103);
  11956. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104 = L_103->___solverPosition;
  11957. VirtualBone_SwingRotation_m09CD33645E87E39DA6A478E51B6F06F1C2221EAE(L_98, L_99, L_104, (1.0f), NULL);
  11958. int32_t L_105 = V_8;
  11959. V_8 = ((int32_t)il2cpp_codegen_add(L_105, 1));
  11960. }
  11961. IL_0156:
  11962. {
  11963. int32_t L_106 = V_8;
  11964. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_107 = ___0_bones;
  11965. NullCheck(L_107);
  11966. if ((((int32_t)L_106) < ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_107)->max_length)), 1)))))
  11967. {
  11968. goto IL_0138;
  11969. }
  11970. }
  11971. {
  11972. return;
  11973. }
  11974. }
  11975. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VirtualBone_SolveFABRIKJoint_mF6261CB54A5C07391F8EFB75C049C697B980FC66 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_pos2, float ___2_length, const RuntimeMethod* method)
  11976. {
  11977. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  11978. memset((&V_0), 0, sizeof(V_0));
  11979. {
  11980. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_pos2;
  11981. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_pos1;
  11982. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_pos2;
  11983. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  11984. L_3 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_1, L_2, NULL);
  11985. V_0 = L_3;
  11986. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  11987. L_4 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_0), NULL);
  11988. float L_5 = ___2_length;
  11989. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  11990. L_6 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_4, L_5, NULL);
  11991. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  11992. L_7 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_0, L_6, NULL);
  11993. return L_7;
  11994. }
  11995. }
  11996. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VirtualBone_SolveCCD_m6FC3E3ED8EADAAD2C553FE99E2485F1584E837F9 (VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* ___0_bones, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_targetPosition, float ___2_weight, int32_t ___3_iterations, const RuntimeMethod* method)
  11997. {
  11998. int32_t V_0 = 0;
  11999. int32_t V_1 = 0;
  12000. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  12001. memset((&V_2), 0, sizeof(V_2));
  12002. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
  12003. memset((&V_3), 0, sizeof(V_3));
  12004. {
  12005. float L_0 = ___2_weight;
  12006. if ((!(((float)L_0) <= ((float)(0.0f)))))
  12007. {
  12008. goto IL_0009;
  12009. }
  12010. }
  12011. {
  12012. return;
  12013. }
  12014. IL_0009:
  12015. {
  12016. V_0 = 0;
  12017. goto IL_0075;
  12018. }
  12019. IL_000d:
  12020. {
  12021. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_1 = ___0_bones;
  12022. NullCheck(L_1);
  12023. V_1 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_1)->max_length)), 2));
  12024. goto IL_006d;
  12025. }
  12026. IL_0015:
  12027. {
  12028. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_2 = ___0_bones;
  12029. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_3 = ___0_bones;
  12030. NullCheck(L_3);
  12031. NullCheck(L_2);
  12032. int32_t L_4 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_3)->max_length)), 1));
  12033. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  12034. NullCheck(L_5);
  12035. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = L_5->___solverPosition;
  12036. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_7 = ___0_bones;
  12037. int32_t L_8 = V_1;
  12038. NullCheck(L_7);
  12039. int32_t L_9 = L_8;
  12040. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  12041. NullCheck(L_10);
  12042. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = L_10->___solverPosition;
  12043. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  12044. L_12 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_6, L_11, NULL);
  12045. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___1_targetPosition;
  12046. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_14 = ___0_bones;
  12047. int32_t L_15 = V_1;
  12048. NullCheck(L_14);
  12049. int32_t L_16 = L_15;
  12050. VirtualBone_tAEA5AED271B04A3463CDF38BD3B85150F3DA16AD* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  12051. NullCheck(L_17);
  12052. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = L_17->___solverPosition;
  12053. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
  12054. L_19 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_13, L_18, NULL);
  12055. V_2 = L_19;
  12056. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_2;
  12057. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21;
  12058. L_21 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_12, L_20, NULL);
  12059. V_3 = L_21;
  12060. float L_22 = ___2_weight;
  12061. if ((!(((float)L_22) >= ((float)(1.0f)))))
  12062. {
  12063. goto IL_0056;
  12064. }
  12065. }
  12066. {
  12067. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_23 = ___0_bones;
  12068. int32_t L_24 = V_1;
  12069. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25 = V_3;
  12070. VirtualBone_RotateBy_m6228F540113E22774DBA496606B2694D428D44B4(L_23, L_24, L_25, NULL);
  12071. goto IL_0069;
  12072. }
  12073. IL_0056:
  12074. {
  12075. VirtualBoneU5BU5D_tC3DB8A66EF018DD160C15AC38059E53C8B8D616C* L_26 = ___0_bones;
  12076. int32_t L_27 = V_1;
  12077. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28;
  12078. L_28 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  12079. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29 = V_3;
  12080. float L_30 = ___2_weight;
  12081. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31;
  12082. L_31 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_28, L_29, L_30, NULL);
  12083. VirtualBone_RotateBy_m6228F540113E22774DBA496606B2694D428D44B4(L_26, L_27, L_31, NULL);
  12084. }
  12085. IL_0069:
  12086. {
  12087. int32_t L_32 = V_1;
  12088. V_1 = ((int32_t)il2cpp_codegen_subtract(L_32, 1));
  12089. }
  12090. IL_006d:
  12091. {
  12092. int32_t L_33 = V_1;
  12093. if ((((int32_t)L_33) > ((int32_t)(-1))))
  12094. {
  12095. goto IL_0015;
  12096. }
  12097. }
  12098. {
  12099. int32_t L_34 = V_0;
  12100. V_0 = ((int32_t)il2cpp_codegen_add(L_34, 1));
  12101. }
  12102. IL_0075:
  12103. {
  12104. int32_t L_35 = V_0;
  12105. int32_t L_36 = ___3_iterations;
  12106. if ((((int32_t)L_35) < ((int32_t)L_36)))
  12107. {
  12108. goto IL_000d;
  12109. }
  12110. }
  12111. {
  12112. return;
  12113. }
  12114. }
  12115. #ifdef __clang__
  12116. #pragma clang diagnostic pop
  12117. #endif
  12118. #ifdef __clang__
  12119. #pragma clang diagnostic push
  12120. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  12121. #pragma clang diagnostic ignored "-Wunused-variable"
  12122. #endif
  12123. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistRelaxer_Start_mB59F8854157C28A0F25701A86E1F2919FDB74520 (TwistRelaxer_t2AA9B2771CB87578D3C70798C7DCD618E08CE292* __this, const RuntimeMethod* method)
  12124. {
  12125. static bool s_Il2CppMethodInitialized;
  12126. if (!s_Il2CppMethodInitialized)
  12127. {
  12128. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  12129. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12130. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TwistRelaxer_OnPostUpdate_m37CC9E57BDFE0410E8D27B25484192B09C6BAC3D_RuntimeMethod_var);
  12131. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0_il2cpp_TypeInfo_var);
  12132. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23DEF2FD63E4B21B429E7593737E51F4E43AC973);
  12133. s_Il2CppMethodInitialized = true;
  12134. }
  12135. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* V_0 = NULL;
  12136. int32_t V_1 = 0;
  12137. {
  12138. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_0 = __this->___twistSolvers;
  12139. NullCheck(L_0);
  12140. if ((((RuntimeArray*)L_0)->max_length))
  12141. {
  12142. goto IL_001a;
  12143. }
  12144. }
  12145. {
  12146. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1;
  12147. L_1 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
  12148. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  12149. Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E(_stringLiteral23DEF2FD63E4B21B429E7593737E51F4E43AC973, L_1, NULL);
  12150. return;
  12151. }
  12152. IL_001a:
  12153. {
  12154. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_2 = __this->___twistSolvers;
  12155. V_0 = L_2;
  12156. V_1 = 0;
  12157. goto IL_0031;
  12158. }
  12159. IL_0025:
  12160. {
  12161. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_3 = V_0;
  12162. int32_t L_4 = V_1;
  12163. NullCheck(L_3);
  12164. int32_t L_5 = L_4;
  12165. TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  12166. NullCheck(L_6);
  12167. TwistSolver_Initiate_m41148DD6B4C6E717ECB424C30C03C957F6A47AA3(L_6, NULL);
  12168. int32_t L_7 = V_1;
  12169. V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  12170. }
  12171. IL_0031:
  12172. {
  12173. int32_t L_8 = V_1;
  12174. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_9 = V_0;
  12175. NullCheck(L_9);
  12176. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  12177. {
  12178. goto IL_0025;
  12179. }
  12180. }
  12181. {
  12182. IK_t8EA47A619130A4B7014BE679297372F51431EB42* L_10 = __this->___ik;
  12183. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12184. bool L_11;
  12185. L_11 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12186. if (!L_11)
  12187. {
  12188. goto IL_0071;
  12189. }
  12190. }
  12191. {
  12192. IK_t8EA47A619130A4B7014BE679297372F51431EB42* L_12 = __this->___ik;
  12193. NullCheck(L_12);
  12194. IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* L_13;
  12195. L_13 = VirtualFuncInvoker0< IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* >::Invoke(7, L_12);
  12196. IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* L_14 = L_13;
  12197. NullCheck(L_14);
  12198. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_15 = L_14->___OnPostUpdate;
  12199. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_16 = (UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0*)il2cpp_codegen_object_new(UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0_il2cpp_TypeInfo_var);
  12200. UpdateDelegate__ctor_m820A1E7E68403D651A584E37E3DDD3CC37BCDB89(L_16, __this, (intptr_t)((void*)TwistRelaxer_OnPostUpdate_m37CC9E57BDFE0410E8D27B25484192B09C6BAC3D_RuntimeMethod_var), NULL);
  12201. Delegate_t* L_17;
  12202. L_17 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_15, L_16, NULL);
  12203. NullCheck(L_14);
  12204. L_14->___OnPostUpdate = ((UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0*)CastclassSealed((RuntimeObject*)L_17, UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0_il2cpp_TypeInfo_var));
  12205. Il2CppCodeGenWriteBarrier((void**)(&L_14->___OnPostUpdate), (void*)((UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0*)CastclassSealed((RuntimeObject*)L_17, UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0_il2cpp_TypeInfo_var)));
  12206. }
  12207. IL_0071:
  12208. {
  12209. return;
  12210. }
  12211. }
  12212. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistRelaxer_OnPostUpdate_m37CC9E57BDFE0410E8D27B25484192B09C6BAC3D (TwistRelaxer_t2AA9B2771CB87578D3C70798C7DCD618E08CE292* __this, const RuntimeMethod* method)
  12213. {
  12214. static bool s_Il2CppMethodInitialized;
  12215. if (!s_Il2CppMethodInitialized)
  12216. {
  12217. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12218. s_Il2CppMethodInitialized = true;
  12219. }
  12220. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* V_0 = NULL;
  12221. int32_t V_1 = 0;
  12222. {
  12223. IK_t8EA47A619130A4B7014BE679297372F51431EB42* L_0 = __this->___ik;
  12224. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12225. bool L_1;
  12226. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12227. if (!L_1)
  12228. {
  12229. goto IL_002b;
  12230. }
  12231. }
  12232. {
  12233. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_2 = __this->___twistSolvers;
  12234. V_0 = L_2;
  12235. V_1 = 0;
  12236. goto IL_0025;
  12237. }
  12238. IL_0019:
  12239. {
  12240. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_3 = V_0;
  12241. int32_t L_4 = V_1;
  12242. NullCheck(L_3);
  12243. int32_t L_5 = L_4;
  12244. TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  12245. NullCheck(L_6);
  12246. TwistSolver_Relax_m4C51AC13426515E8A049B3520CA48220E15867F4(L_6, NULL);
  12247. int32_t L_7 = V_1;
  12248. V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  12249. }
  12250. IL_0025:
  12251. {
  12252. int32_t L_8 = V_1;
  12253. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_9 = V_0;
  12254. NullCheck(L_9);
  12255. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  12256. {
  12257. goto IL_0019;
  12258. }
  12259. }
  12260. IL_002b:
  12261. {
  12262. return;
  12263. }
  12264. }
  12265. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistRelaxer_LateUpdate_mAECD33DD8B0D3F4639AD46C899DCF179C30993FD (TwistRelaxer_t2AA9B2771CB87578D3C70798C7DCD618E08CE292* __this, const RuntimeMethod* method)
  12266. {
  12267. static bool s_Il2CppMethodInitialized;
  12268. if (!s_Il2CppMethodInitialized)
  12269. {
  12270. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12271. s_Il2CppMethodInitialized = true;
  12272. }
  12273. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* V_0 = NULL;
  12274. int32_t V_1 = 0;
  12275. {
  12276. IK_t8EA47A619130A4B7014BE679297372F51431EB42* L_0 = __this->___ik;
  12277. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12278. bool L_1;
  12279. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12280. if (!L_1)
  12281. {
  12282. goto IL_002b;
  12283. }
  12284. }
  12285. {
  12286. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_2 = __this->___twistSolvers;
  12287. V_0 = L_2;
  12288. V_1 = 0;
  12289. goto IL_0025;
  12290. }
  12291. IL_0019:
  12292. {
  12293. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_3 = V_0;
  12294. int32_t L_4 = V_1;
  12295. NullCheck(L_3);
  12296. int32_t L_5 = L_4;
  12297. TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  12298. NullCheck(L_6);
  12299. TwistSolver_Relax_m4C51AC13426515E8A049B3520CA48220E15867F4(L_6, NULL);
  12300. int32_t L_7 = V_1;
  12301. V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  12302. }
  12303. IL_0025:
  12304. {
  12305. int32_t L_8 = V_1;
  12306. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_9 = V_0;
  12307. NullCheck(L_9);
  12308. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  12309. {
  12310. goto IL_0019;
  12311. }
  12312. }
  12313. IL_002b:
  12314. {
  12315. return;
  12316. }
  12317. }
  12318. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistRelaxer_OnDestroy_m029B9E8635BD7490C841FB3B3C04DD886BD1B74F (TwistRelaxer_t2AA9B2771CB87578D3C70798C7DCD618E08CE292* __this, const RuntimeMethod* method)
  12319. {
  12320. static bool s_Il2CppMethodInitialized;
  12321. if (!s_Il2CppMethodInitialized)
  12322. {
  12323. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12324. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TwistRelaxer_OnPostUpdate_m37CC9E57BDFE0410E8D27B25484192B09C6BAC3D_RuntimeMethod_var);
  12325. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0_il2cpp_TypeInfo_var);
  12326. s_Il2CppMethodInitialized = true;
  12327. }
  12328. {
  12329. IK_t8EA47A619130A4B7014BE679297372F51431EB42* L_0 = __this->___ik;
  12330. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12331. bool L_1;
  12332. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12333. if (!L_1)
  12334. {
  12335. goto IL_003a;
  12336. }
  12337. }
  12338. {
  12339. IK_t8EA47A619130A4B7014BE679297372F51431EB42* L_2 = __this->___ik;
  12340. NullCheck(L_2);
  12341. IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* L_3;
  12342. L_3 = VirtualFuncInvoker0< IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* >::Invoke(7, L_2);
  12343. IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* L_4 = L_3;
  12344. NullCheck(L_4);
  12345. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_5 = L_4->___OnPostUpdate;
  12346. UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0* L_6 = (UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0*)il2cpp_codegen_object_new(UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0_il2cpp_TypeInfo_var);
  12347. UpdateDelegate__ctor_m820A1E7E68403D651A584E37E3DDD3CC37BCDB89(L_6, __this, (intptr_t)((void*)TwistRelaxer_OnPostUpdate_m37CC9E57BDFE0410E8D27B25484192B09C6BAC3D_RuntimeMethod_var), NULL);
  12348. Delegate_t* L_7;
  12349. L_7 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_5, L_6, NULL);
  12350. NullCheck(L_4);
  12351. L_4->___OnPostUpdate = ((UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0_il2cpp_TypeInfo_var));
  12352. Il2CppCodeGenWriteBarrier((void**)(&L_4->___OnPostUpdate), (void*)((UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t37E655E2D159B0820A37D429D6C17DACB649B3F0_il2cpp_TypeInfo_var)));
  12353. }
  12354. IL_003a:
  12355. {
  12356. return;
  12357. }
  12358. }
  12359. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistRelaxer__ctor_m41D2902A5F96E750932E362F3E2AB08A3D1435E0 (TwistRelaxer_t2AA9B2771CB87578D3C70798C7DCD618E08CE292* __this, const RuntimeMethod* method)
  12360. {
  12361. static bool s_Il2CppMethodInitialized;
  12362. if (!s_Il2CppMethodInitialized)
  12363. {
  12364. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273_il2cpp_TypeInfo_var);
  12365. s_Il2CppMethodInitialized = true;
  12366. }
  12367. {
  12368. TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273* L_0 = (TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273*)(TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273*)SZArrayNew(TwistSolverU5BU5D_tF246D0AEA2E70AECCB478561E5BC037C87D39273_il2cpp_TypeInfo_var, (uint32_t)0);
  12369. __this->___twistSolvers = L_0;
  12370. Il2CppCodeGenWriteBarrier((void**)(&__this->___twistSolvers), (void*)L_0);
  12371. MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
  12372. return;
  12373. }
  12374. }
  12375. #ifdef __clang__
  12376. #pragma clang diagnostic pop
  12377. #endif
  12378. #ifdef __clang__
  12379. #pragma clang diagnostic push
  12380. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  12381. #pragma clang diagnostic ignored "-Wunused-variable"
  12382. #endif
  12383. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistSolver__ctor_m519B25A493A2B2248EEB7D60C39A616D779BBFC9 (TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* __this, const RuntimeMethod* method)
  12384. {
  12385. static bool s_Il2CppMethodInitialized;
  12386. if (!s_Il2CppMethodInitialized)
  12387. {
  12388. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var);
  12389. s_Il2CppMethodInitialized = true;
  12390. }
  12391. {
  12392. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_0 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)0);
  12393. __this->___children = L_0;
  12394. Il2CppCodeGenWriteBarrier((void**)(&__this->___children), (void*)L_0);
  12395. __this->___weight = (1.0f);
  12396. __this->___parentChildCrossfade = (0.5f);
  12397. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  12398. L_1 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  12399. __this->___twistAxis = L_1;
  12400. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
  12401. L_2 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  12402. __this->___axis = L_2;
  12403. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  12404. __this->___weight = (1.0f);
  12405. __this->___parentChildCrossfade = (0.5f);
  12406. return;
  12407. }
  12408. }
  12409. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistSolver_Initiate_m41148DD6B4C6E717ECB424C30C03C957F6A47AA3 (TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* __this, const RuntimeMethod* method)
  12410. {
  12411. static bool s_Il2CppMethodInitialized;
  12412. if (!s_Il2CppMethodInitialized)
  12413. {
  12414. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponentsInChildren_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m75FFF26FD3F8B797CFE939FBA50E014C15E6BE28_RuntimeMethod_var);
  12415. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  12416. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12417. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var);
  12418. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var);
  12419. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral586256B99AB2668E95211B1F30640A187A7FF10B);
  12420. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA811FCE8D94ED1B7004F6CC217F4AB7C935C4A80);
  12421. s_Il2CppMethodInitialized = true;
  12422. }
  12423. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  12424. memset((&V_0), 0, sizeof(V_0));
  12425. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* V_1 = NULL;
  12426. int32_t V_2 = 0;
  12427. {
  12428. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___transform;
  12429. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12430. bool L_1;
  12431. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12432. if (!L_1)
  12433. {
  12434. goto IL_001f;
  12435. }
  12436. }
  12437. {
  12438. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___transform;
  12439. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  12440. Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E(_stringLiteral586256B99AB2668E95211B1F30640A187A7FF10B, L_2, NULL);
  12441. return;
  12442. }
  12443. IL_001f:
  12444. {
  12445. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___parent;
  12446. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12447. bool L_4;
  12448. L_4 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12449. if (!L_4)
  12450. {
  12451. goto IL_003e;
  12452. }
  12453. }
  12454. {
  12455. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___transform;
  12456. NullCheck(L_5);
  12457. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
  12458. L_6 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_5, NULL);
  12459. __this->___parent = L_6;
  12460. Il2CppCodeGenWriteBarrier((void**)(&__this->___parent), (void*)L_6);
  12461. }
  12462. IL_003e:
  12463. {
  12464. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_7 = __this->___children;
  12465. NullCheck(L_7);
  12466. if ((((RuntimeArray*)L_7)->max_length))
  12467. {
  12468. goto IL_00aa;
  12469. }
  12470. }
  12471. {
  12472. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = __this->___transform;
  12473. NullCheck(L_8);
  12474. int32_t L_9;
  12475. L_9 = Transform_get_childCount_mE9C29C702AB662CC540CA053EDE48BDAFA35B4B0(L_8, NULL);
  12476. if (L_9)
  12477. {
  12478. goto IL_008f;
  12479. }
  12480. }
  12481. {
  12482. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = __this->___parent;
  12483. NullCheck(L_10);
  12484. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_11;
  12485. L_11 = Component_GetComponentsInChildren_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m75FFF26FD3F8B797CFE939FBA50E014C15E6BE28(L_10, Component_GetComponentsInChildren_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m75FFF26FD3F8B797CFE939FBA50E014C15E6BE28_RuntimeMethod_var);
  12486. V_1 = L_11;
  12487. V_2 = 1;
  12488. goto IL_0087;
  12489. }
  12490. IL_0064:
  12491. {
  12492. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_12 = V_1;
  12493. int32_t L_13 = V_2;
  12494. NullCheck(L_12);
  12495. int32_t L_14 = L_13;
  12496. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  12497. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = __this->___transform;
  12498. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12499. bool L_17;
  12500. L_17 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_15, L_16, NULL);
  12501. if (!L_17)
  12502. {
  12503. goto IL_0083;
  12504. }
  12505. }
  12506. {
  12507. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_18 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)1);
  12508. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_19 = L_18;
  12509. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_20 = V_1;
  12510. int32_t L_21 = V_2;
  12511. NullCheck(L_20);
  12512. int32_t L_22 = L_21;
  12513. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
  12514. NullCheck(L_19);
  12515. ArrayElementTypeCheck (L_19, L_23);
  12516. (L_19)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_23);
  12517. V_1 = L_19;
  12518. goto IL_00aa;
  12519. }
  12520. IL_0083:
  12521. {
  12522. int32_t L_24 = V_2;
  12523. V_2 = ((int32_t)il2cpp_codegen_add(L_24, 1));
  12524. }
  12525. IL_0087:
  12526. {
  12527. int32_t L_25 = V_2;
  12528. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_26 = V_1;
  12529. NullCheck(L_26);
  12530. if ((((int32_t)L_25) < ((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))))
  12531. {
  12532. goto IL_0064;
  12533. }
  12534. }
  12535. {
  12536. goto IL_00aa;
  12537. }
  12538. IL_008f:
  12539. {
  12540. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_27 = (TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24*)SZArrayNew(TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24_il2cpp_TypeInfo_var, (uint32_t)1);
  12541. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_28 = L_27;
  12542. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = __this->___transform;
  12543. NullCheck(L_29);
  12544. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_30;
  12545. L_30 = Transform_GetChild_mE686DF0C7AAC1F7AEF356967B1C04D8B8E240EAF(L_29, 0, NULL);
  12546. NullCheck(L_28);
  12547. ArrayElementTypeCheck (L_28, L_30);
  12548. (L_28)->SetAt(static_cast<il2cpp_array_size_t>(0), (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)L_30);
  12549. __this->___children = L_28;
  12550. Il2CppCodeGenWriteBarrier((void**)(&__this->___children), (void*)L_28);
  12551. }
  12552. IL_00aa:
  12553. {
  12554. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_31 = __this->___children;
  12555. NullCheck(L_31);
  12556. if (!(((RuntimeArray*)L_31)->max_length))
  12557. {
  12558. goto IL_00c3;
  12559. }
  12560. }
  12561. {
  12562. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_32 = __this->___children;
  12563. NullCheck(L_32);
  12564. int32_t L_33 = 0;
  12565. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_34 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
  12566. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12567. bool L_35;
  12568. L_35 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_34, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12569. if (!L_35)
  12570. {
  12571. goto IL_00d4;
  12572. }
  12573. }
  12574. IL_00c3:
  12575. {
  12576. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = __this->___transform;
  12577. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  12578. Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E(_stringLiteralA811FCE8D94ED1B7004F6CC217F4AB7C935C4A80, L_36, NULL);
  12579. return;
  12580. }
  12581. IL_00d4:
  12582. {
  12583. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37 = __this->___transform;
  12584. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_38 = __this->___children;
  12585. NullCheck(L_38);
  12586. int32_t L_39 = 0;
  12587. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_40 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
  12588. NullCheck(L_40);
  12589. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
  12590. L_41 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_40, NULL);
  12591. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_42 = __this->___transform;
  12592. NullCheck(L_42);
  12593. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
  12594. L_43 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_42, NULL);
  12595. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
  12596. L_44 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_41, L_43, NULL);
  12597. NullCheck(L_37);
  12598. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
  12599. L_45 = Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575(L_37, L_44, NULL);
  12600. __this->___twistAxis = L_45;
  12601. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_46 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___twistAxis);
  12602. float L_47 = L_46->___y;
  12603. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_48 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___twistAxis);
  12604. float L_49 = L_48->___z;
  12605. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_50 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___twistAxis);
  12606. float L_51 = L_50->___x;
  12607. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
  12608. memset((&L_52), 0, sizeof(L_52));
  12609. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_52), L_47, L_49, L_51, NULL);
  12610. __this->___axis = L_52;
  12611. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_53 = __this->___transform;
  12612. NullCheck(L_53);
  12613. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54;
  12614. L_54 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_53, NULL);
  12615. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = __this->___axis;
  12616. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
  12617. L_56 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_54, L_55, NULL);
  12618. V_0 = L_56;
  12619. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_57 = __this->___parent;
  12620. NullCheck(L_57);
  12621. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58;
  12622. L_58 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_57, NULL);
  12623. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59;
  12624. L_59 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_58, NULL);
  12625. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = V_0;
  12626. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
  12627. L_61 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_59, L_60, NULL);
  12628. __this->___axisRelativeToParentDefault = L_61;
  12629. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_62 = __this->___children;
  12630. NullCheck(L_62);
  12631. int32_t L_63 = 0;
  12632. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_64 = (L_62)->GetAt(static_cast<il2cpp_array_size_t>(L_63));
  12633. NullCheck(L_64);
  12634. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65;
  12635. L_65 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_64, NULL);
  12636. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66;
  12637. L_66 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_65, NULL);
  12638. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_0;
  12639. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
  12640. L_68 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_66, L_67, NULL);
  12641. __this->___axisRelativeToChildDefault = L_68;
  12642. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_69 = __this->___children;
  12643. NullCheck(L_69);
  12644. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_70 = (QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7*)SZArrayNew(QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_69)->max_length)));
  12645. __this->___childRotations = L_70;
  12646. Il2CppCodeGenWriteBarrier((void**)(&__this->___childRotations), (void*)L_70);
  12647. __this->___inititated = (bool)1;
  12648. return;
  12649. }
  12650. }
  12651. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwistSolver_Relax_m4C51AC13426515E8A049B3520CA48220E15867F4 (TwistSolver_tDC9E15BD60419CBCDC35489F544F8E095A4C1225* __this, const RuntimeMethod* method)
  12652. {
  12653. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  12654. memset((&V_0), 0, sizeof(V_0));
  12655. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
  12656. memset((&V_1), 0, sizeof(V_1));
  12657. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  12658. memset((&V_2), 0, sizeof(V_2));
  12659. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  12660. memset((&V_3), 0, sizeof(V_3));
  12661. float V_4 = 0.0f;
  12662. int32_t V_5 = 0;
  12663. int32_t V_6 = 0;
  12664. {
  12665. bool L_0 = __this->___inititated;
  12666. if (L_0)
  12667. {
  12668. goto IL_0009;
  12669. }
  12670. }
  12671. {
  12672. return;
  12673. }
  12674. IL_0009:
  12675. {
  12676. float L_1 = __this->___weight;
  12677. if ((!(((float)L_1) <= ((float)(0.0f)))))
  12678. {
  12679. goto IL_0017;
  12680. }
  12681. }
  12682. {
  12683. return;
  12684. }
  12685. IL_0017:
  12686. {
  12687. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___transform;
  12688. NullCheck(L_2);
  12689. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
  12690. L_3 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_2, NULL);
  12691. V_0 = L_3;
  12692. float L_4 = __this->___twistAngleOffset;
  12693. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = V_0;
  12694. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = __this->___twistAxis;
  12695. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  12696. L_7 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_5, L_6, NULL);
  12697. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
  12698. L_8 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_4, L_7, NULL);
  12699. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8;
  12700. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = V_0;
  12701. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  12702. L_11 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_9, L_10, NULL);
  12703. V_0 = L_11;
  12704. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = L_9;
  12705. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = __this->___parent;
  12706. NullCheck(L_13);
  12707. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
  12708. L_14 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_13, NULL);
  12709. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
  12710. L_15 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_12, L_14, NULL);
  12711. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = __this->___axisRelativeToParentDefault;
  12712. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
  12713. L_17 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_15, L_16, NULL);
  12714. V_1 = L_17;
  12715. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_18 = __this->___children;
  12716. NullCheck(L_18);
  12717. int32_t L_19 = 0;
  12718. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_20 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  12719. NullCheck(L_20);
  12720. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21;
  12721. L_21 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_20, NULL);
  12722. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
  12723. L_22 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_12, L_21, NULL);
  12724. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = __this->___axisRelativeToChildDefault;
  12725. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  12726. L_24 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_22, L_23, NULL);
  12727. V_2 = L_24;
  12728. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_1;
  12729. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_2;
  12730. float L_27 = __this->___parentChildCrossfade;
  12731. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
  12732. L_28 = Vector3_Slerp_m6CA14E5B6F6217802BAA0ADD2C9D086C741BA09C(L_25, L_26, L_27, NULL);
  12733. V_3 = L_28;
  12734. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29 = V_0;
  12735. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = __this->___axis;
  12736. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  12737. L_31 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_29, L_30, NULL);
  12738. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = V_0;
  12739. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = __this->___twistAxis;
  12740. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  12741. L_34 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_32, L_33, NULL);
  12742. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35;
  12743. L_35 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_31, L_34, NULL);
  12744. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36;
  12745. L_36 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_35, NULL);
  12746. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_3;
  12747. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
  12748. L_38 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_36, L_37, NULL);
  12749. V_3 = L_38;
  12750. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_3;
  12751. float L_40 = L_39.___x;
  12752. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = V_3;
  12753. float L_42 = L_41.___z;
  12754. float L_43;
  12755. L_43 = atan2f(L_40, L_42);
  12756. V_4 = ((float)il2cpp_codegen_multiply(L_43, (57.2957802f)));
  12757. V_5 = 0;
  12758. goto IL_00f3;
  12759. }
  12760. IL_00d2:
  12761. {
  12762. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_44 = __this->___childRotations;
  12763. int32_t L_45 = V_5;
  12764. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_46 = __this->___children;
  12765. int32_t L_47 = V_5;
  12766. NullCheck(L_46);
  12767. int32_t L_48 = L_47;
  12768. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_49 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
  12769. NullCheck(L_49);
  12770. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50;
  12771. L_50 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_49, NULL);
  12772. NullCheck(L_44);
  12773. (L_44)->SetAt(static_cast<il2cpp_array_size_t>(L_45), (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974)L_50);
  12774. int32_t L_51 = V_5;
  12775. V_5 = ((int32_t)il2cpp_codegen_add(L_51, 1));
  12776. }
  12777. IL_00f3:
  12778. {
  12779. int32_t L_52 = V_5;
  12780. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_53 = __this->___children;
  12781. NullCheck(L_53);
  12782. if ((((int32_t)L_52) < ((int32_t)((int32_t)(((RuntimeArray*)L_53)->max_length)))))
  12783. {
  12784. goto IL_00d2;
  12785. }
  12786. }
  12787. {
  12788. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_54 = __this->___transform;
  12789. float L_55 = V_4;
  12790. float L_56 = __this->___weight;
  12791. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_57 = V_0;
  12792. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = __this->___twistAxis;
  12793. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
  12794. L_59 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_57, L_58, NULL);
  12795. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60;
  12796. L_60 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(((float)il2cpp_codegen_multiply(L_55, L_56)), L_59, NULL);
  12797. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_61 = V_0;
  12798. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62;
  12799. L_62 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_60, L_61, NULL);
  12800. NullCheck(L_54);
  12801. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_54, L_62, NULL);
  12802. V_6 = 0;
  12803. goto IL_0150;
  12804. }
  12805. IL_012f:
  12806. {
  12807. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_63 = __this->___children;
  12808. int32_t L_64 = V_6;
  12809. NullCheck(L_63);
  12810. int32_t L_65 = L_64;
  12811. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_66 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_65));
  12812. QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* L_67 = __this->___childRotations;
  12813. int32_t L_68 = V_6;
  12814. NullCheck(L_67);
  12815. int32_t L_69 = L_68;
  12816. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_70 = (L_67)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
  12817. NullCheck(L_66);
  12818. Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_66, L_70, NULL);
  12819. int32_t L_71 = V_6;
  12820. V_6 = ((int32_t)il2cpp_codegen_add(L_71, 1));
  12821. }
  12822. IL_0150:
  12823. {
  12824. int32_t L_72 = V_6;
  12825. TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_73 = __this->___children;
  12826. NullCheck(L_73);
  12827. if ((((int32_t)L_72) < ((int32_t)((int32_t)(((RuntimeArray*)L_73)->max_length)))))
  12828. {
  12829. goto IL_012f;
  12830. }
  12831. }
  12832. {
  12833. return;
  12834. }
  12835. }
  12836. #ifdef __clang__
  12837. #pragma clang diagnostic pop
  12838. #endif
  12839. #ifdef __clang__
  12840. #pragma clang diagnostic push
  12841. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  12842. #pragma clang diagnostic ignored "-Wunused-variable"
  12843. #endif
  12844. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  12845. {
  12846. {
  12847. int32_t L_0 = __this->___U3CeffectorTypeU3Ek__BackingField;
  12848. return L_0;
  12849. }
  12850. }
  12851. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_set_effectorType_mD3F1DDBC4A3BBB18CE2D36BF670A04492F9D6FFF (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, int32_t ___0_value, const RuntimeMethod* method)
  12852. {
  12853. {
  12854. int32_t L_0 = ___0_value;
  12855. __this->___U3CeffectorTypeU3Ek__BackingField = L_0;
  12856. return;
  12857. }
  12858. }
  12859. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_get_isPaused_mA3F799B5F6A45C26B064DCB13E9E13D629E91678 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  12860. {
  12861. {
  12862. bool L_0 = __this->___U3CisPausedU3Ek__BackingField;
  12863. return L_0;
  12864. }
  12865. }
  12866. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_set_isPaused_mB60B2B33B9E5988B3F120E307B21EEE57269CF14 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, bool ___0_value, const RuntimeMethod* method)
  12867. {
  12868. {
  12869. bool L_0 = ___0_value;
  12870. __this->___U3CisPausedU3Ek__BackingField = L_0;
  12871. return;
  12872. }
  12873. }
  12874. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  12875. {
  12876. {
  12877. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_0 = __this->___U3CinteractionObjectU3Ek__BackingField;
  12878. return L_0;
  12879. }
  12880. }
  12881. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_set_interactionObject_mDF7E92D00FA1651B49870389CF922A5D7A2D9AE0 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* ___0_value, const RuntimeMethod* method)
  12882. {
  12883. {
  12884. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_0 = ___0_value;
  12885. __this->___U3CinteractionObjectU3Ek__BackingField = L_0;
  12886. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CinteractionObjectU3Ek__BackingField), (void*)L_0);
  12887. return;
  12888. }
  12889. }
  12890. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  12891. {
  12892. static bool s_Il2CppMethodInitialized;
  12893. if (!s_Il2CppMethodInitialized)
  12894. {
  12895. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12896. s_Il2CppMethodInitialized = true;
  12897. }
  12898. {
  12899. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_0;
  12900. L_0 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  12901. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  12902. bool L_1;
  12903. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  12904. return L_1;
  12905. }
  12906. }
  12907. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector__ctor_m5424506B1659B5FAB103C3DC5A2B379F24454397 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, int32_t ___0_effectorType, const RuntimeMethod* method)
  12908. {
  12909. static bool s_Il2CppMethodInitialized;
  12910. if (!s_Il2CppMethodInitialized)
  12911. {
  12912. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m87539832B82A3453971F3BCC702C7346E8D3F953_RuntimeMethod_var);
  12913. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A_il2cpp_TypeInfo_var);
  12914. s_Il2CppMethodInitialized = true;
  12915. }
  12916. {
  12917. List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* L_0 = (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A*)il2cpp_codegen_object_new(List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A_il2cpp_TypeInfo_var);
  12918. List_1__ctor_m87539832B82A3453971F3BCC702C7346E8D3F953(L_0, List_1__ctor_m87539832B82A3453971F3BCC702C7346E8D3F953_RuntimeMethod_var);
  12919. __this->___triggered = L_0;
  12920. Il2CppCodeGenWriteBarrier((void**)(&__this->___triggered), (void*)L_0);
  12921. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  12922. int32_t L_1 = ___0_effectorType;
  12923. InteractionEffector_set_effectorType_mD3F1DDBC4A3BBB18CE2D36BF670A04492F9D6FFF_inline(__this, L_1, NULL);
  12924. return;
  12925. }
  12926. }
  12927. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_Initiate_m5D962CC16D8574A96FADEBEB1EA40A33F36F5F8F (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* ___0_interactionSystem, const RuntimeMethod* method)
  12928. {
  12929. static bool s_Il2CppMethodInitialized;
  12930. if (!s_Il2CppMethodInitialized)
  12931. {
  12932. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisPoser_t47125CF78A54ADD8AE14EE76F555016F3312111B_mD0F5B2A744FC65275A9F552885A2ECFA8D20E8EE_RuntimeMethod_var);
  12933. s_Il2CppMethodInitialized = true;
  12934. }
  12935. {
  12936. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_0 = ___0_interactionSystem;
  12937. __this->___interactionSystem = L_0;
  12938. Il2CppCodeGenWriteBarrier((void**)(&__this->___interactionSystem), (void*)L_0);
  12939. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_1 = ___0_interactionSystem;
  12940. NullCheck(L_1);
  12941. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_2;
  12942. L_2 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_1, NULL);
  12943. NullCheck(L_2);
  12944. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_3 = L_2->___solver;
  12945. int32_t L_4;
  12946. L_4 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  12947. NullCheck(L_3);
  12948. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_5;
  12949. L_5 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_3, L_4, NULL);
  12950. __this->___effector = L_5;
  12951. Il2CppCodeGenWriteBarrier((void**)(&__this->___effector), (void*)L_5);
  12952. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_6 = __this->___effector;
  12953. NullCheck(L_6);
  12954. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = L_6->___bone;
  12955. NullCheck(L_7);
  12956. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_8;
  12957. L_8 = Component_GetComponent_TisPoser_t47125CF78A54ADD8AE14EE76F555016F3312111B_mD0F5B2A744FC65275A9F552885A2ECFA8D20E8EE(L_7, Component_GetComponent_TisPoser_t47125CF78A54ADD8AE14EE76F555016F3312111B_mD0F5B2A744FC65275A9F552885A2ECFA8D20E8EE_RuntimeMethod_var);
  12958. __this->___poser = L_8;
  12959. Il2CppCodeGenWriteBarrier((void**)(&__this->___poser), (void*)L_8);
  12960. InteractionEffector_StoreDefaults_m853CF514E0408C78D2884E502CE4E816F2E5B6D0(__this, NULL);
  12961. return;
  12962. }
  12963. }
  12964. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_StoreDefaults_m853CF514E0408C78D2884E502CE4E816F2E5B6D0 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  12965. {
  12966. {
  12967. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_0 = __this->___interactionSystem;
  12968. NullCheck(L_0);
  12969. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_1;
  12970. L_1 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_0, NULL);
  12971. NullCheck(L_1);
  12972. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_2 = L_1->___solver;
  12973. int32_t L_3;
  12974. L_3 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  12975. NullCheck(L_2);
  12976. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_4;
  12977. L_4 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_2, L_3, NULL);
  12978. NullCheck(L_4);
  12979. float L_5 = L_4->___positionWeight;
  12980. __this->___defaultPositionWeight = L_5;
  12981. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_6 = __this->___interactionSystem;
  12982. NullCheck(L_6);
  12983. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_7;
  12984. L_7 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_6, NULL);
  12985. NullCheck(L_7);
  12986. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_8 = L_7->___solver;
  12987. int32_t L_9;
  12988. L_9 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  12989. NullCheck(L_8);
  12990. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_10;
  12991. L_10 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_8, L_9, NULL);
  12992. NullCheck(L_10);
  12993. float L_11 = L_10->___rotationWeight;
  12994. __this->___defaultRotationWeight = L_11;
  12995. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_12 = __this->___interactionSystem;
  12996. NullCheck(L_12);
  12997. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_13;
  12998. L_13 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_12, NULL);
  12999. NullCheck(L_13);
  13000. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_14 = L_13->___solver;
  13001. int32_t L_15;
  13002. L_15 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13003. NullCheck(L_14);
  13004. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_16;
  13005. L_16 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_14, L_15, NULL);
  13006. NullCheck(L_16);
  13007. float L_17 = L_16->___pull;
  13008. __this->___defaultPull = L_17;
  13009. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_18 = __this->___interactionSystem;
  13010. NullCheck(L_18);
  13011. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_19;
  13012. L_19 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_18, NULL);
  13013. NullCheck(L_19);
  13014. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_20 = L_19->___solver;
  13015. int32_t L_21;
  13016. L_21 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13017. NullCheck(L_20);
  13018. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_22;
  13019. L_22 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_20, L_21, NULL);
  13020. NullCheck(L_22);
  13021. float L_23 = L_22->___reach;
  13022. __this->___defaultReach = L_23;
  13023. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_24 = __this->___interactionSystem;
  13024. NullCheck(L_24);
  13025. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_25;
  13026. L_25 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_24, NULL);
  13027. NullCheck(L_25);
  13028. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_26 = L_25->___solver;
  13029. int32_t L_27;
  13030. L_27 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13031. NullCheck(L_26);
  13032. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_28;
  13033. L_28 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_26, L_27, NULL);
  13034. NullCheck(L_28);
  13035. float L_29 = L_28->___push;
  13036. __this->___defaultPush = L_29;
  13037. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_30 = __this->___interactionSystem;
  13038. NullCheck(L_30);
  13039. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_31;
  13040. L_31 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_30, NULL);
  13041. NullCheck(L_31);
  13042. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_32 = L_31->___solver;
  13043. int32_t L_33;
  13044. L_33 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13045. NullCheck(L_32);
  13046. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_34;
  13047. L_34 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_32, L_33, NULL);
  13048. NullCheck(L_34);
  13049. float L_35 = L_34->___pushParent;
  13050. __this->___defaultPushParent = L_35;
  13051. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_36 = __this->___interactionSystem;
  13052. NullCheck(L_36);
  13053. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_37;
  13054. L_37 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_36, NULL);
  13055. NullCheck(L_37);
  13056. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_38 = L_37->___solver;
  13057. int32_t L_39;
  13058. L_39 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13059. NullCheck(L_38);
  13060. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_40;
  13061. L_40 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_38, L_39, NULL);
  13062. NullCheck(L_40);
  13063. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_41 = L_40->___bendConstraint;
  13064. NullCheck(L_41);
  13065. float L_42 = L_41->___weight;
  13066. __this->___defaultBendGoalWeight = L_42;
  13067. return;
  13068. }
  13069. }
  13070. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_ResetToDefaults_m7590C08C9660D67150CA7959530D2CE5049FEF1E (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, float ___0_speed, const RuntimeMethod* method)
  13071. {
  13072. {
  13073. bool L_0;
  13074. L_0 = InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7(__this, NULL);
  13075. if (!L_0)
  13076. {
  13077. goto IL_000a;
  13078. }
  13079. }
  13080. {
  13081. return (bool)0;
  13082. }
  13083. IL_000a:
  13084. {
  13085. bool L_1;
  13086. L_1 = InteractionEffector_get_isPaused_mA3F799B5F6A45C26B064DCB13E9E13D629E91678_inline(__this, NULL);
  13087. if (!L_1)
  13088. {
  13089. goto IL_0014;
  13090. }
  13091. }
  13092. {
  13093. return (bool)0;
  13094. }
  13095. IL_0014:
  13096. {
  13097. bool L_2 = __this->___defaults;
  13098. if (!L_2)
  13099. {
  13100. goto IL_001e;
  13101. }
  13102. }
  13103. {
  13104. return (bool)0;
  13105. }
  13106. IL_001e:
  13107. {
  13108. float L_3 = __this->___resetTimer;
  13109. float L_4;
  13110. L_4 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  13111. float L_5 = ___0_speed;
  13112. float L_6;
  13113. L_6 = Mathf_MoveTowards_m69751B5EC50D8E7127D4BB2C8D908E38808AF45D_inline(L_3, (0.0f), ((float)il2cpp_codegen_multiply(L_4, L_5)), NULL);
  13114. __this->___resetTimer = L_6;
  13115. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_7 = __this->___effector;
  13116. NullCheck(L_7);
  13117. bool L_8;
  13118. L_8 = IKEffector_get_isEndEffector_m54200CE28232E1CED2790F2FC02DB411885F1F1B_inline(L_7, NULL);
  13119. if (!L_8)
  13120. {
  13121. goto IL_0212;
  13122. }
  13123. }
  13124. {
  13125. bool L_9 = __this->___pullUsed;
  13126. if (!L_9)
  13127. {
  13128. goto IL_00a4;
  13129. }
  13130. }
  13131. {
  13132. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_10 = __this->___interactionSystem;
  13133. NullCheck(L_10);
  13134. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_11;
  13135. L_11 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_10, NULL);
  13136. NullCheck(L_11);
  13137. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_12 = L_11->___solver;
  13138. int32_t L_13;
  13139. L_13 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13140. NullCheck(L_12);
  13141. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_14;
  13142. L_14 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_12, L_13, NULL);
  13143. float L_15 = __this->___defaultPull;
  13144. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_16 = __this->___interactionSystem;
  13145. NullCheck(L_16);
  13146. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_17;
  13147. L_17 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_16, NULL);
  13148. NullCheck(L_17);
  13149. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_18 = L_17->___solver;
  13150. int32_t L_19;
  13151. L_19 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13152. NullCheck(L_18);
  13153. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_20;
  13154. L_20 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_18, L_19, NULL);
  13155. NullCheck(L_20);
  13156. float L_21 = L_20->___pull;
  13157. float L_22 = __this->___resetTimer;
  13158. float L_23;
  13159. L_23 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_15, L_21, L_22, NULL);
  13160. NullCheck(L_14);
  13161. L_14->___pull = L_23;
  13162. }
  13163. IL_00a4:
  13164. {
  13165. bool L_24 = __this->___reachUsed;
  13166. if (!L_24)
  13167. {
  13168. goto IL_00fd;
  13169. }
  13170. }
  13171. {
  13172. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_25 = __this->___interactionSystem;
  13173. NullCheck(L_25);
  13174. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_26;
  13175. L_26 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_25, NULL);
  13176. NullCheck(L_26);
  13177. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_27 = L_26->___solver;
  13178. int32_t L_28;
  13179. L_28 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13180. NullCheck(L_27);
  13181. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_29;
  13182. L_29 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_27, L_28, NULL);
  13183. float L_30 = __this->___defaultReach;
  13184. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_31 = __this->___interactionSystem;
  13185. NullCheck(L_31);
  13186. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_32;
  13187. L_32 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_31, NULL);
  13188. NullCheck(L_32);
  13189. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_33 = L_32->___solver;
  13190. int32_t L_34;
  13191. L_34 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13192. NullCheck(L_33);
  13193. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_35;
  13194. L_35 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_33, L_34, NULL);
  13195. NullCheck(L_35);
  13196. float L_36 = L_35->___reach;
  13197. float L_37 = __this->___resetTimer;
  13198. float L_38;
  13199. L_38 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_30, L_36, L_37, NULL);
  13200. NullCheck(L_29);
  13201. L_29->___reach = L_38;
  13202. }
  13203. IL_00fd:
  13204. {
  13205. bool L_39 = __this->___pushUsed;
  13206. if (!L_39)
  13207. {
  13208. goto IL_0156;
  13209. }
  13210. }
  13211. {
  13212. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_40 = __this->___interactionSystem;
  13213. NullCheck(L_40);
  13214. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_41;
  13215. L_41 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_40, NULL);
  13216. NullCheck(L_41);
  13217. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_42 = L_41->___solver;
  13218. int32_t L_43;
  13219. L_43 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13220. NullCheck(L_42);
  13221. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_44;
  13222. L_44 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_42, L_43, NULL);
  13223. float L_45 = __this->___defaultPush;
  13224. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_46 = __this->___interactionSystem;
  13225. NullCheck(L_46);
  13226. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_47;
  13227. L_47 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_46, NULL);
  13228. NullCheck(L_47);
  13229. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_48 = L_47->___solver;
  13230. int32_t L_49;
  13231. L_49 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13232. NullCheck(L_48);
  13233. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_50;
  13234. L_50 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_48, L_49, NULL);
  13235. NullCheck(L_50);
  13236. float L_51 = L_50->___push;
  13237. float L_52 = __this->___resetTimer;
  13238. float L_53;
  13239. L_53 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_45, L_51, L_52, NULL);
  13240. NullCheck(L_44);
  13241. L_44->___push = L_53;
  13242. }
  13243. IL_0156:
  13244. {
  13245. bool L_54 = __this->___pushParentUsed;
  13246. if (!L_54)
  13247. {
  13248. goto IL_01af;
  13249. }
  13250. }
  13251. {
  13252. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_55 = __this->___interactionSystem;
  13253. NullCheck(L_55);
  13254. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_56;
  13255. L_56 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_55, NULL);
  13256. NullCheck(L_56);
  13257. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_57 = L_56->___solver;
  13258. int32_t L_58;
  13259. L_58 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13260. NullCheck(L_57);
  13261. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_59;
  13262. L_59 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_57, L_58, NULL);
  13263. float L_60 = __this->___defaultPushParent;
  13264. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_61 = __this->___interactionSystem;
  13265. NullCheck(L_61);
  13266. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_62;
  13267. L_62 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_61, NULL);
  13268. NullCheck(L_62);
  13269. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_63 = L_62->___solver;
  13270. int32_t L_64;
  13271. L_64 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13272. NullCheck(L_63);
  13273. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_65;
  13274. L_65 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_63, L_64, NULL);
  13275. NullCheck(L_65);
  13276. float L_66 = L_65->___pushParent;
  13277. float L_67 = __this->___resetTimer;
  13278. float L_68;
  13279. L_68 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_60, L_66, L_67, NULL);
  13280. NullCheck(L_59);
  13281. L_59->___pushParent = L_68;
  13282. }
  13283. IL_01af:
  13284. {
  13285. bool L_69 = __this->___bendGoalWeightUsed;
  13286. if (!L_69)
  13287. {
  13288. goto IL_0212;
  13289. }
  13290. }
  13291. {
  13292. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_70 = __this->___interactionSystem;
  13293. NullCheck(L_70);
  13294. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_71;
  13295. L_71 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_70, NULL);
  13296. NullCheck(L_71);
  13297. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_72 = L_71->___solver;
  13298. int32_t L_73;
  13299. L_73 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13300. NullCheck(L_72);
  13301. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_74;
  13302. L_74 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_72, L_73, NULL);
  13303. NullCheck(L_74);
  13304. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_75 = L_74->___bendConstraint;
  13305. float L_76 = __this->___defaultBendGoalWeight;
  13306. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_77 = __this->___interactionSystem;
  13307. NullCheck(L_77);
  13308. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_78;
  13309. L_78 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_77, NULL);
  13310. NullCheck(L_78);
  13311. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_79 = L_78->___solver;
  13312. int32_t L_80;
  13313. L_80 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13314. NullCheck(L_79);
  13315. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_81;
  13316. L_81 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_79, L_80, NULL);
  13317. NullCheck(L_81);
  13318. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_82 = L_81->___bendConstraint;
  13319. NullCheck(L_82);
  13320. float L_83 = L_82->___weight;
  13321. float L_84 = __this->___resetTimer;
  13322. float L_85;
  13323. L_85 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_76, L_83, L_84, NULL);
  13324. NullCheck(L_75);
  13325. L_75->___weight = L_85;
  13326. }
  13327. IL_0212:
  13328. {
  13329. bool L_86 = __this->___positionWeightUsed;
  13330. if (!L_86)
  13331. {
  13332. goto IL_0241;
  13333. }
  13334. }
  13335. {
  13336. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_87 = __this->___effector;
  13337. float L_88 = __this->___defaultPositionWeight;
  13338. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_89 = __this->___effector;
  13339. NullCheck(L_89);
  13340. float L_90 = L_89->___positionWeight;
  13341. float L_91 = __this->___resetTimer;
  13342. float L_92;
  13343. L_92 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_88, L_90, L_91, NULL);
  13344. NullCheck(L_87);
  13345. L_87->___positionWeight = L_92;
  13346. }
  13347. IL_0241:
  13348. {
  13349. bool L_93 = __this->___rotationWeightUsed;
  13350. if (!L_93)
  13351. {
  13352. goto IL_0270;
  13353. }
  13354. }
  13355. {
  13356. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_94 = __this->___effector;
  13357. float L_95 = __this->___defaultRotationWeight;
  13358. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_96 = __this->___effector;
  13359. NullCheck(L_96);
  13360. float L_97 = L_96->___rotationWeight;
  13361. float L_98 = __this->___resetTimer;
  13362. float L_99;
  13363. L_99 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_95, L_97, L_98, NULL);
  13364. NullCheck(L_94);
  13365. L_94->___rotationWeight = L_99;
  13366. }
  13367. IL_0270:
  13368. {
  13369. float L_100 = __this->___resetTimer;
  13370. if ((!(((float)L_100) <= ((float)(0.0f)))))
  13371. {
  13372. goto IL_02b5;
  13373. }
  13374. }
  13375. {
  13376. __this->___pullUsed = (bool)0;
  13377. __this->___reachUsed = (bool)0;
  13378. __this->___pushUsed = (bool)0;
  13379. __this->___pushParentUsed = (bool)0;
  13380. __this->___positionWeightUsed = (bool)0;
  13381. __this->___rotationWeightUsed = (bool)0;
  13382. __this->___bendGoalWeightUsed = (bool)0;
  13383. __this->___defaults = (bool)1;
  13384. }
  13385. IL_02b5:
  13386. {
  13387. return (bool)1;
  13388. }
  13389. }
  13390. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_Pause_m216BC7BB6285ECD1B3852928FD69C1A429F9BA27 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  13391. {
  13392. {
  13393. bool L_0;
  13394. L_0 = InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7(__this, NULL);
  13395. if (L_0)
  13396. {
  13397. goto IL_000a;
  13398. }
  13399. }
  13400. {
  13401. return (bool)0;
  13402. }
  13403. IL_000a:
  13404. {
  13405. InteractionEffector_set_isPaused_mB60B2B33B9E5988B3F120E307B21EEE57269CF14_inline(__this, (bool)1, NULL);
  13406. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = __this->___target;
  13407. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_2 = __this->___effector;
  13408. NullCheck(L_2);
  13409. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = L_2->___position;
  13410. NullCheck(L_1);
  13411. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  13412. L_4 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_1, L_3, NULL);
  13413. __this->___pausePositionRelative = L_4;
  13414. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___target;
  13415. NullCheck(L_5);
  13416. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
  13417. L_6 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_5, NULL);
  13418. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
  13419. L_7 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_6, NULL);
  13420. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_8 = __this->___effector;
  13421. NullCheck(L_8);
  13422. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8->___rotation;
  13423. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
  13424. L_10 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_7, L_9, NULL);
  13425. __this->___pauseRotationRelative = L_10;
  13426. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_11 = __this->___interactionSystem;
  13427. NullCheck(L_11);
  13428. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_12 = L_11->___OnInteractionPause;
  13429. if (!L_12)
  13430. {
  13431. goto IL_007c;
  13432. }
  13433. }
  13434. {
  13435. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_13 = __this->___interactionSystem;
  13436. NullCheck(L_13);
  13437. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_14 = L_13->___OnInteractionPause;
  13438. int32_t L_15;
  13439. L_15 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13440. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_16;
  13441. L_16 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  13442. NullCheck(L_14);
  13443. InteractionDelegate_Invoke_m2F62DF75255BA759101735960F4F8E35242E7730_inline(L_14, L_15, L_16, NULL);
  13444. }
  13445. IL_007c:
  13446. {
  13447. return (bool)1;
  13448. }
  13449. }
  13450. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_Resume_m00E5EDD7FAD43ACFCB51DDED254D019340544EF8 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  13451. {
  13452. {
  13453. bool L_0;
  13454. L_0 = InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7(__this, NULL);
  13455. if (L_0)
  13456. {
  13457. goto IL_000a;
  13458. }
  13459. }
  13460. {
  13461. return (bool)0;
  13462. }
  13463. IL_000a:
  13464. {
  13465. InteractionEffector_set_isPaused_mB60B2B33B9E5988B3F120E307B21EEE57269CF14_inline(__this, (bool)0, NULL);
  13466. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_1 = __this->___interactionSystem;
  13467. NullCheck(L_1);
  13468. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_2 = L_1->___OnInteractionResume;
  13469. if (!L_2)
  13470. {
  13471. goto IL_003a;
  13472. }
  13473. }
  13474. {
  13475. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_3 = __this->___interactionSystem;
  13476. NullCheck(L_3);
  13477. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_4 = L_3->___OnInteractionResume;
  13478. int32_t L_5;
  13479. L_5 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13480. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_6;
  13481. L_6 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  13482. NullCheck(L_4);
  13483. InteractionDelegate_Invoke_m2F62DF75255BA759101735960F4F8E35242E7730_inline(L_4, L_5, L_6, NULL);
  13484. }
  13485. IL_003a:
  13486. {
  13487. return (bool)1;
  13488. }
  13489. }
  13490. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_Start_m0212AC82F35287D24072166E34C36CF212E812F2 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* ___0_interactionObject, String_t* ___1_tag, float ___2_fadeInTime, bool ___3_interrupt, const RuntimeMethod* method)
  13491. {
  13492. static bool s_Il2CppMethodInitialized;
  13493. if (!s_Il2CppMethodInitialized)
  13494. {
  13495. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_mAE3E3F1DEB01D739D34ED2A0268879F0113C58BB_RuntimeMethod_var);
  13496. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m5AAB6DCB6C30EB5769B4E8DB8170E50319F0A9ED_RuntimeMethod_var);
  13497. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mAD42099EBC7E640561281C5FEDF47997858D9073_RuntimeMethod_var);
  13498. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13499. s_Il2CppMethodInitialized = true;
  13500. }
  13501. int32_t V_0 = 0;
  13502. InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* G_B23_0 = NULL;
  13503. InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* G_B22_0 = NULL;
  13504. float G_B24_0 = 0.0f;
  13505. InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* G_B24_1 = NULL;
  13506. {
  13507. bool L_0;
  13508. L_0 = InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7(__this, NULL);
  13509. if (L_0)
  13510. {
  13511. goto IL_0040;
  13512. }
  13513. }
  13514. {
  13515. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_1 = __this->___effector;
  13516. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_2 = __this->___effector;
  13517. NullCheck(L_2);
  13518. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = L_2->___bone;
  13519. NullCheck(L_3);
  13520. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
  13521. L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
  13522. NullCheck(L_1);
  13523. L_1->___position = L_4;
  13524. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_5 = __this->___effector;
  13525. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_6 = __this->___effector;
  13526. NullCheck(L_6);
  13527. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = L_6->___bone;
  13528. NullCheck(L_7);
  13529. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
  13530. L_8 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_7, NULL);
  13531. NullCheck(L_5);
  13532. L_5->___rotation = L_8;
  13533. goto IL_004d;
  13534. }
  13535. IL_0040:
  13536. {
  13537. bool L_9 = ___3_interrupt;
  13538. if (L_9)
  13539. {
  13540. goto IL_0046;
  13541. }
  13542. }
  13543. {
  13544. return (bool)0;
  13545. }
  13546. IL_0046:
  13547. {
  13548. __this->___defaults = (bool)0;
  13549. }
  13550. IL_004d:
  13551. {
  13552. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_10 = ___0_interactionObject;
  13553. int32_t L_11;
  13554. L_11 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13555. String_t* L_12 = ___1_tag;
  13556. NullCheck(L_10);
  13557. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
  13558. L_13 = InteractionObject_GetTarget_mBA79DC202AB19F4B66FE095937B44628F12B1CAC(L_10, L_11, L_12, NULL);
  13559. __this->___target = L_13;
  13560. Il2CppCodeGenWriteBarrier((void**)(&__this->___target), (void*)L_13);
  13561. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = __this->___target;
  13562. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13563. bool L_15;
  13564. L_15 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_14, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13565. if (!L_15)
  13566. {
  13567. goto IL_0070;
  13568. }
  13569. }
  13570. {
  13571. return (bool)0;
  13572. }
  13573. IL_0070:
  13574. {
  13575. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = __this->___target;
  13576. NullCheck(L_16);
  13577. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_17;
  13578. L_17 = Component_GetComponent_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_mAE3E3F1DEB01D739D34ED2A0268879F0113C58BB(L_16, Component_GetComponent_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_mAE3E3F1DEB01D739D34ED2A0268879F0113C58BB_RuntimeMethod_var);
  13579. __this->___interactionTarget = L_17;
  13580. Il2CppCodeGenWriteBarrier((void**)(&__this->___interactionTarget), (void*)L_17);
  13581. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_18 = ___0_interactionObject;
  13582. InteractionEffector_set_interactionObject_mDF7E92D00FA1651B49870389CF922A5D7A2D9AE0_inline(__this, L_18, NULL);
  13583. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_19 = __this->___interactionSystem;
  13584. NullCheck(L_19);
  13585. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_20 = L_19->___OnInteractionStart;
  13586. if (!L_20)
  13587. {
  13588. goto IL_00ac;
  13589. }
  13590. }
  13591. {
  13592. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_21 = __this->___interactionSystem;
  13593. NullCheck(L_21);
  13594. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_22 = L_21->___OnInteractionStart;
  13595. int32_t L_23;
  13596. L_23 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13597. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_24 = ___0_interactionObject;
  13598. NullCheck(L_22);
  13599. InteractionDelegate_Invoke_m2F62DF75255BA759101735960F4F8E35242E7730_inline(L_22, L_23, L_24, NULL);
  13600. }
  13601. IL_00ac:
  13602. {
  13603. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_25 = ___0_interactionObject;
  13604. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_26 = __this->___interactionSystem;
  13605. NullCheck(L_25);
  13606. InteractionObject_OnStartInteraction_m26BF6F1A1E89266341B3E977AFD32E647FEFA312(L_25, L_26, NULL);
  13607. List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* L_27 = __this->___triggered;
  13608. NullCheck(L_27);
  13609. List_1_Clear_mAD42099EBC7E640561281C5FEDF47997858D9073_inline(L_27, List_1_Clear_mAD42099EBC7E640561281C5FEDF47997858D9073_RuntimeMethod_var);
  13610. V_0 = 0;
  13611. goto IL_00d7;
  13612. }
  13613. IL_00c7:
  13614. {
  13615. List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* L_28 = __this->___triggered;
  13616. NullCheck(L_28);
  13617. List_1_Add_m5AAB6DCB6C30EB5769B4E8DB8170E50319F0A9ED_inline(L_28, (bool)0, List_1_Add_m5AAB6DCB6C30EB5769B4E8DB8170E50319F0A9ED_RuntimeMethod_var);
  13618. int32_t L_29 = V_0;
  13619. V_0 = ((int32_t)il2cpp_codegen_add(L_29, 1));
  13620. }
  13621. IL_00d7:
  13622. {
  13623. int32_t L_30 = V_0;
  13624. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_31 = ___0_interactionObject;
  13625. NullCheck(L_31);
  13626. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_32 = L_31->___events;
  13627. NullCheck(L_32);
  13628. if ((((int32_t)L_30) < ((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)))))
  13629. {
  13630. goto IL_00c7;
  13631. }
  13632. }
  13633. {
  13634. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_33 = __this->___poser;
  13635. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13636. bool L_34;
  13637. L_34 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_33, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13638. if (!L_34)
  13639. {
  13640. goto IL_0150;
  13641. }
  13642. }
  13643. {
  13644. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_35 = __this->___poser;
  13645. NullCheck(L_35);
  13646. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = L_35->___poseRoot;
  13647. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13648. bool L_37;
  13649. L_37 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_36, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13650. if (!L_37)
  13651. {
  13652. goto IL_0113;
  13653. }
  13654. }
  13655. {
  13656. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_38 = __this->___poser;
  13657. NullCheck(L_38);
  13658. L_38->___weight = (0.0f);
  13659. }
  13660. IL_0113:
  13661. {
  13662. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_39 = __this->___interactionTarget;
  13663. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13664. bool L_40;
  13665. L_40 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_39, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13666. if (!L_40)
  13667. {
  13668. goto IL_0139;
  13669. }
  13670. }
  13671. {
  13672. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_41 = __this->___poser;
  13673. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_42 = __this->___target;
  13674. NullCheck(L_42);
  13675. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_43;
  13676. L_43 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_42, NULL);
  13677. NullCheck(L_41);
  13678. L_41->___poseRoot = L_43;
  13679. Il2CppCodeGenWriteBarrier((void**)(&L_41->___poseRoot), (void*)L_43);
  13680. goto IL_0145;
  13681. }
  13682. IL_0139:
  13683. {
  13684. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_44 = __this->___poser;
  13685. NullCheck(L_44);
  13686. L_44->___poseRoot = (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
  13687. Il2CppCodeGenWriteBarrier((void**)(&L_44->___poseRoot), (void*)(Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL);
  13688. }
  13689. IL_0145:
  13690. {
  13691. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_45 = __this->___poser;
  13692. NullCheck(L_45);
  13693. VirtualActionInvoker0::Invoke(7, L_45);
  13694. }
  13695. IL_0150:
  13696. {
  13697. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_46 = ___0_interactionObject;
  13698. NullCheck(L_46);
  13699. bool L_47;
  13700. L_47 = InteractionObject_CurveUsed_mE262291B022A65AABA78AC9A753CC41607D74D5F(L_46, 0, NULL);
  13701. __this->___positionWeightUsed = L_47;
  13702. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_48 = ___0_interactionObject;
  13703. NullCheck(L_48);
  13704. bool L_49;
  13705. L_49 = InteractionObject_CurveUsed_mE262291B022A65AABA78AC9A753CC41607D74D5F(L_48, 1, NULL);
  13706. __this->___rotationWeightUsed = L_49;
  13707. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_50 = ___0_interactionObject;
  13708. NullCheck(L_50);
  13709. bool L_51;
  13710. L_51 = InteractionObject_CurveUsed_mE262291B022A65AABA78AC9A753CC41607D74D5F(L_50, 5, NULL);
  13711. __this->___pullUsed = L_51;
  13712. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_52 = ___0_interactionObject;
  13713. NullCheck(L_52);
  13714. bool L_53;
  13715. L_53 = InteractionObject_CurveUsed_mE262291B022A65AABA78AC9A753CC41607D74D5F(L_52, 6, NULL);
  13716. __this->___reachUsed = L_53;
  13717. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_54 = ___0_interactionObject;
  13718. NullCheck(L_54);
  13719. bool L_55;
  13720. L_55 = InteractionObject_CurveUsed_mE262291B022A65AABA78AC9A753CC41607D74D5F(L_54, 8, NULL);
  13721. __this->___pushUsed = L_55;
  13722. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_56 = ___0_interactionObject;
  13723. NullCheck(L_56);
  13724. bool L_57;
  13725. L_57 = InteractionObject_CurveUsed_mE262291B022A65AABA78AC9A753CC41607D74D5F(L_56, ((int32_t)9), NULL);
  13726. __this->___pushParentUsed = L_57;
  13727. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_58 = ___0_interactionObject;
  13728. NullCheck(L_58);
  13729. bool L_59;
  13730. L_59 = InteractionObject_CurveUsed_mE262291B022A65AABA78AC9A753CC41607D74D5F(L_58, ((int32_t)11), NULL);
  13731. __this->___bendGoalWeightUsed = L_59;
  13732. bool L_60 = __this->___defaults;
  13733. if (!L_60)
  13734. {
  13735. goto IL_01bb;
  13736. }
  13737. }
  13738. {
  13739. InteractionEffector_StoreDefaults_m853CF514E0408C78D2884E502CE4E816F2E5B6D0(__this, NULL);
  13740. }
  13741. IL_01bb:
  13742. {
  13743. __this->___timer = (0.0f);
  13744. __this->___weight = (0.0f);
  13745. float L_61 = ___2_fadeInTime;
  13746. if ((((float)L_61) > ((float)(0.0f))))
  13747. {
  13748. G_B23_0 = __this;
  13749. goto IL_01e1;
  13750. }
  13751. G_B22_0 = __this;
  13752. }
  13753. {
  13754. G_B24_0 = (1000.0f);
  13755. G_B24_1 = G_B22_0;
  13756. goto IL_01e8;
  13757. }
  13758. IL_01e1:
  13759. {
  13760. float L_62 = ___2_fadeInTime;
  13761. G_B24_0 = ((float)((1.0f)/L_62));
  13762. G_B24_1 = G_B23_0;
  13763. }
  13764. IL_01e8:
  13765. {
  13766. NullCheck(G_B24_1);
  13767. G_B24_1->___fadeInSpeed = G_B24_0;
  13768. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_63 = ___0_interactionObject;
  13769. NullCheck(L_63);
  13770. float L_64;
  13771. L_64 = InteractionObject_get_length_m8461CFF9DF97B5D525916F1E7F7B2BDC9A845D51_inline(L_63, NULL);
  13772. __this->___length = L_64;
  13773. InteractionEffector_set_isPaused_mB60B2B33B9E5988B3F120E307B21EEE57269CF14_inline(__this, (bool)0, NULL);
  13774. __this->___pickedUp = (bool)0;
  13775. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
  13776. L_65 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  13777. __this->___pickUpPosition = L_65;
  13778. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66;
  13779. L_66 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
  13780. __this->___pickUpRotation = L_66;
  13781. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_67 = __this->___interactionTarget;
  13782. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13783. bool L_68;
  13784. L_68 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_67, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13785. if (!L_68)
  13786. {
  13787. goto IL_0241;
  13788. }
  13789. }
  13790. {
  13791. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_69 = __this->___interactionTarget;
  13792. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_70 = __this->___effector;
  13793. NullCheck(L_70);
  13794. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_71 = L_70->___bone;
  13795. NullCheck(L_69);
  13796. InteractionTarget_RotateTo_m24C4A1F162DCAA9209BAE216D3A3857A4A1999F9(L_69, L_71, NULL);
  13797. }
  13798. IL_0241:
  13799. {
  13800. __this->___started = (bool)1;
  13801. return (bool)1;
  13802. }
  13803. }
  13804. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_Update_mC763E94A64BE1328953BAC0ED20BD45CD90167AF (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_root, float ___1_speed, const RuntimeMethod* method)
  13805. {
  13806. static bool s_Il2CppMethodInitialized;
  13807. if (!s_Il2CppMethodInitialized)
  13808. {
  13809. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FullBodyBipedEffector_t89AA7BE1B2DB2F94BDED174C7B70C14D7DC21C44_il2cpp_TypeInfo_var);
  13810. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13811. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
  13812. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral210856882A5B211EEDEE9B07303F9DD2D2C97583);
  13813. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2F2E672541A8463114978325109EC8A97511DDE4);
  13814. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA478B3036FAAE41D8BD362E78A1130CDA6A0627E);
  13815. s_Il2CppMethodInitialized = true;
  13816. }
  13817. bool V_0 = false;
  13818. bool V_1 = false;
  13819. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  13820. memset((&V_2), 0, sizeof(V_2));
  13821. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
  13822. memset((&V_3), 0, sizeof(V_3));
  13823. float V_4 = 0.0f;
  13824. int32_t V_5 = 0;
  13825. float G_B11_0 = 0.0f;
  13826. float G_B11_1 = 0.0f;
  13827. InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* G_B11_2 = NULL;
  13828. float G_B10_0 = 0.0f;
  13829. float G_B10_1 = 0.0f;
  13830. InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* G_B10_2 = NULL;
  13831. float G_B12_0 = 0.0f;
  13832. float G_B12_1 = 0.0f;
  13833. float G_B12_2 = 0.0f;
  13834. InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* G_B12_3 = NULL;
  13835. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B15_0;
  13836. memset((&G_B15_0), 0, sizeof(G_B15_0));
  13837. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B18_0;
  13838. memset((&G_B18_0), 0, sizeof(G_B18_0));
  13839. {
  13840. bool L_0;
  13841. L_0 = InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7(__this, NULL);
  13842. if (L_0)
  13843. {
  13844. goto IL_0038;
  13845. }
  13846. }
  13847. {
  13848. bool L_1 = __this->___started;
  13849. if (!L_1)
  13850. {
  13851. goto IL_0037;
  13852. }
  13853. }
  13854. {
  13855. InteractionEffector_set_isPaused_mB60B2B33B9E5988B3F120E307B21EEE57269CF14_inline(__this, (bool)0, NULL);
  13856. __this->___pickedUp = (bool)0;
  13857. __this->___defaults = (bool)0;
  13858. __this->___resetTimer = (1.0f);
  13859. __this->___started = (bool)0;
  13860. }
  13861. IL_0037:
  13862. {
  13863. return;
  13864. }
  13865. IL_0038:
  13866. {
  13867. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_2 = __this->___interactionTarget;
  13868. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13869. bool L_3;
  13870. L_3 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_2, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13871. if (!L_3)
  13872. {
  13873. goto IL_0069;
  13874. }
  13875. }
  13876. {
  13877. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_4 = __this->___interactionTarget;
  13878. NullCheck(L_4);
  13879. bool L_5 = L_4->___rotateOnce;
  13880. if (L_5)
  13881. {
  13882. goto IL_0069;
  13883. }
  13884. }
  13885. {
  13886. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_6 = __this->___interactionTarget;
  13887. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_7 = __this->___effector;
  13888. NullCheck(L_7);
  13889. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = L_7->___bone;
  13890. NullCheck(L_6);
  13891. InteractionTarget_RotateTo_m24C4A1F162DCAA9209BAE216D3A3857A4A1999F9(L_6, L_8, NULL);
  13892. }
  13893. IL_0069:
  13894. {
  13895. bool L_9;
  13896. L_9 = InteractionEffector_get_isPaused_mA3F799B5F6A45C26B064DCB13E9E13D629E91678_inline(__this, NULL);
  13897. if (!L_9)
  13898. {
  13899. goto IL_00e2;
  13900. }
  13901. }
  13902. {
  13903. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_10 = __this->___effector;
  13904. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = __this->___target;
  13905. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = __this->___pausePositionRelative;
  13906. NullCheck(L_11);
  13907. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
  13908. L_13 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_11, L_12, NULL);
  13909. NullCheck(L_10);
  13910. L_10->___position = L_13;
  13911. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_14 = __this->___effector;
  13912. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = __this->___target;
  13913. NullCheck(L_15);
  13914. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
  13915. L_16 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_15, NULL);
  13916. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17 = __this->___pauseRotationRelative;
  13917. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
  13918. L_18 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_16, L_17, NULL);
  13919. NullCheck(L_14);
  13920. L_14->___rotation = L_18;
  13921. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_19;
  13922. L_19 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  13923. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_20 = __this->___interactionSystem;
  13924. NullCheck(L_20);
  13925. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_21;
  13926. L_21 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_20, NULL);
  13927. NullCheck(L_21);
  13928. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_22 = L_21->___solver;
  13929. int32_t L_23;
  13930. L_23 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  13931. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_24 = __this->___interactionTarget;
  13932. float L_25 = __this->___timer;
  13933. float L_26 = __this->___weight;
  13934. NullCheck(L_19);
  13935. InteractionObject_Apply_m8D3476EDBF872A901E4BFC34D8E58AF85484BC1D(L_19, L_22, L_23, L_24, L_25, L_26, NULL);
  13936. return;
  13937. }
  13938. IL_00e2:
  13939. {
  13940. float L_27 = __this->___timer;
  13941. float L_28;
  13942. L_28 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  13943. float L_29 = ___1_speed;
  13944. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_30 = __this->___interactionTarget;
  13945. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  13946. bool L_31;
  13947. L_31 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_30, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  13948. if (L_31)
  13949. {
  13950. G_B11_0 = ((float)il2cpp_codegen_multiply(L_28, L_29));
  13951. G_B11_1 = L_27;
  13952. G_B11_2 = __this;
  13953. goto IL_0105;
  13954. }
  13955. G_B10_0 = ((float)il2cpp_codegen_multiply(L_28, L_29));
  13956. G_B10_1 = L_27;
  13957. G_B10_2 = __this;
  13958. }
  13959. {
  13960. G_B12_0 = (1.0f);
  13961. G_B12_1 = G_B10_0;
  13962. G_B12_2 = G_B10_1;
  13963. G_B12_3 = G_B10_2;
  13964. goto IL_0110;
  13965. }
  13966. IL_0105:
  13967. {
  13968. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_32 = __this->___interactionTarget;
  13969. NullCheck(L_32);
  13970. float L_33 = L_32->___interactionSpeedMlp;
  13971. G_B12_0 = L_33;
  13972. G_B12_1 = G_B11_0;
  13973. G_B12_2 = G_B11_1;
  13974. G_B12_3 = G_B11_2;
  13975. }
  13976. IL_0110:
  13977. {
  13978. NullCheck(G_B12_3);
  13979. G_B12_3->___timer = ((float)il2cpp_codegen_add(G_B12_2, ((float)il2cpp_codegen_multiply(G_B12_1, G_B12_0))));
  13980. float L_34 = __this->___weight;
  13981. float L_35;
  13982. L_35 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  13983. float L_36 = __this->___fadeInSpeed;
  13984. float L_37 = ___1_speed;
  13985. float L_38;
  13986. L_38 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_add(L_34, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_35, L_36)), L_37)))), (0.0f), (1.0f), NULL);
  13987. __this->___weight = L_38;
  13988. V_0 = (bool)0;
  13989. V_1 = (bool)0;
  13990. InteractionEffector_TriggerUntriggeredEvents_m9FFC35E69A8B796236E87E5CF71798D66BE0E761(__this, (bool)1, (&V_0), (&V_1), NULL);
  13991. bool L_39 = __this->___pickedUp;
  13992. if (L_39)
  13993. {
  13994. goto IL_0165;
  13995. }
  13996. }
  13997. {
  13998. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_40 = __this->___target;
  13999. NullCheck(L_40);
  14000. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
  14001. L_41 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_40, NULL);
  14002. G_B15_0 = L_41;
  14003. goto IL_017b;
  14004. }
  14005. IL_0165:
  14006. {
  14007. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_42 = __this->___interactionSystem;
  14008. NullCheck(L_42);
  14009. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_43;
  14010. L_43 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_42, NULL);
  14011. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = __this->___pickUpPosition;
  14012. NullCheck(L_43);
  14013. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
  14014. L_45 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_43, L_44, NULL);
  14015. G_B15_0 = L_45;
  14016. }
  14017. IL_017b:
  14018. {
  14019. V_2 = G_B15_0;
  14020. bool L_46 = __this->___pickedUp;
  14021. if (L_46)
  14022. {
  14023. goto IL_0191;
  14024. }
  14025. }
  14026. {
  14027. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_47 = __this->___target;
  14028. NullCheck(L_47);
  14029. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_48;
  14030. L_48 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_47, NULL);
  14031. G_B18_0 = L_48;
  14032. goto IL_01ac;
  14033. }
  14034. IL_0191:
  14035. {
  14036. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_49 = __this->___interactionSystem;
  14037. NullCheck(L_49);
  14038. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_50;
  14039. L_50 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_49, NULL);
  14040. NullCheck(L_50);
  14041. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_51;
  14042. L_51 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_50, NULL);
  14043. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52 = __this->___pickUpRotation;
  14044. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_53;
  14045. L_53 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_51, L_52, NULL);
  14046. G_B18_0 = L_53;
  14047. }
  14048. IL_01ac:
  14049. {
  14050. V_3 = G_B18_0;
  14051. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_54 = __this->___effector;
  14052. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_55 = __this->___effector;
  14053. NullCheck(L_55);
  14054. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_56 = L_55->___bone;
  14055. NullCheck(L_56);
  14056. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  14057. L_57 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_56, NULL);
  14058. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = V_2;
  14059. float L_59 = __this->___weight;
  14060. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
  14061. L_60 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_57, L_58, L_59, NULL);
  14062. NullCheck(L_54);
  14063. L_54->___position = L_60;
  14064. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_61 = __this->___effector;
  14065. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_62 = __this->___effector;
  14066. NullCheck(L_62);
  14067. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_63 = L_62->___bone;
  14068. NullCheck(L_63);
  14069. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_64;
  14070. L_64 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_63, NULL);
  14071. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65 = V_3;
  14072. float L_66 = __this->___weight;
  14073. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_67;
  14074. L_67 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_64, L_65, L_66, NULL);
  14075. NullCheck(L_61);
  14076. L_61->___rotation = L_67;
  14077. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_68;
  14078. L_68 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14079. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_69 = __this->___interactionSystem;
  14080. NullCheck(L_69);
  14081. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_70;
  14082. L_70 = InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline(L_69, NULL);
  14083. NullCheck(L_70);
  14084. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_71 = L_70->___solver;
  14085. int32_t L_72;
  14086. L_72 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  14087. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_73 = __this->___interactionTarget;
  14088. float L_74 = __this->___timer;
  14089. float L_75 = __this->___weight;
  14090. NullCheck(L_68);
  14091. InteractionObject_Apply_m8D3476EDBF872A901E4BFC34D8E58AF85484BC1D(L_68, L_71, L_72, L_73, L_74, L_75, NULL);
  14092. bool L_76 = V_0;
  14093. if (!L_76)
  14094. {
  14095. goto IL_0238;
  14096. }
  14097. }
  14098. {
  14099. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_77 = ___0_root;
  14100. InteractionEffector_PickUp_m9152FC9BCC9ACD0F986049558F6DD2422C2EC818(__this, L_77, NULL);
  14101. }
  14102. IL_0238:
  14103. {
  14104. bool L_78 = V_1;
  14105. if (!L_78)
  14106. {
  14107. goto IL_0242;
  14108. }
  14109. }
  14110. {
  14111. bool L_79;
  14112. L_79 = InteractionEffector_Pause_m216BC7BB6285ECD1B3852928FD69C1A429F9BA27(__this, NULL);
  14113. }
  14114. IL_0242:
  14115. {
  14116. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_80;
  14117. L_80 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14118. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_81 = __this->___interactionTarget;
  14119. float L_82 = __this->___timer;
  14120. NullCheck(L_80);
  14121. float L_83;
  14122. L_83 = InteractionObject_GetValue_m5EE8837220B24BD167CD73D81A047DCC8FA320B5(L_80, ((int32_t)10), L_81, L_82, NULL);
  14123. V_4 = L_83;
  14124. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_84 = __this->___poser;
  14125. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14126. bool L_85;
  14127. L_85 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_84, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14128. if (!L_85)
  14129. {
  14130. goto IL_0290;
  14131. }
  14132. }
  14133. {
  14134. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_86 = __this->___poser;
  14135. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_87 = __this->___poser;
  14136. NullCheck(L_87);
  14137. float L_88 = L_87->___weight;
  14138. float L_89 = V_4;
  14139. float L_90 = __this->___weight;
  14140. float L_91;
  14141. L_91 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_88, L_89, L_90, NULL);
  14142. NullCheck(L_86);
  14143. L_86->___weight = L_91;
  14144. goto IL_02f3;
  14145. }
  14146. IL_0290:
  14147. {
  14148. float L_92 = V_4;
  14149. if ((!(((float)L_92) > ((float)(0.0f)))))
  14150. {
  14151. goto IL_02f3;
  14152. }
  14153. }
  14154. {
  14155. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_93 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)5);
  14156. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_94 = L_93;
  14157. NullCheck(L_94);
  14158. (L_94)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteralA478B3036FAAE41D8BD362E78A1130CDA6A0627E);
  14159. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_95 = L_94;
  14160. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_96;
  14161. L_96 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14162. NullCheck(L_96);
  14163. String_t* L_97;
  14164. L_97 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_96, NULL);
  14165. NullCheck(L_95);
  14166. (L_95)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_97);
  14167. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_98 = L_95;
  14168. NullCheck(L_98);
  14169. (L_98)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral210856882A5B211EEDEE9B07303F9DD2D2C97583);
  14170. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_99 = L_98;
  14171. int32_t L_100;
  14172. L_100 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  14173. V_5 = L_100;
  14174. Il2CppFakeBox<int32_t> L_101(FullBodyBipedEffector_t89AA7BE1B2DB2F94BDED174C7B70C14D7DC21C44_il2cpp_TypeInfo_var, (&V_5));
  14175. String_t* L_102;
  14176. L_102 = Enum_ToString_m946B0B83C4470457D0FF555D862022C72BB55741((Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2*)(&L_101), NULL);
  14177. NullCheck(L_99);
  14178. (L_99)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_102);
  14179. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_103 = L_99;
  14180. NullCheck(L_103);
  14181. (L_103)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral2F2E672541A8463114978325109EC8A97511DDE4);
  14182. String_t* L_104;
  14183. L_104 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_103, NULL);
  14184. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_105 = __this->___effector;
  14185. NullCheck(L_105);
  14186. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_106 = L_105->___bone;
  14187. Warning_Log_m3B3DC501CEF603D988C5D1BEF3F753D4241876C1(L_104, L_106, (bool)0, NULL);
  14188. }
  14189. IL_02f3:
  14190. {
  14191. float L_107 = __this->___timer;
  14192. float L_108 = __this->___length;
  14193. if ((!(((float)L_107) >= ((float)L_108))))
  14194. {
  14195. goto IL_0308;
  14196. }
  14197. }
  14198. {
  14199. bool L_109;
  14200. L_109 = InteractionEffector_Stop_m8FFF0FB2E804B9BD41D855BB827B948858327E30(__this, NULL);
  14201. }
  14202. IL_0308:
  14203. {
  14204. return;
  14205. }
  14206. }
  14207. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float InteractionEffector_get_progress_m22A2F2A3369961A11B47A68B2BE8F89078197855 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  14208. {
  14209. {
  14210. bool L_0;
  14211. L_0 = InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7(__this, NULL);
  14212. if (L_0)
  14213. {
  14214. goto IL_000e;
  14215. }
  14216. }
  14217. {
  14218. return (0.0f);
  14219. }
  14220. IL_000e:
  14221. {
  14222. float L_1 = __this->___length;
  14223. if ((!(((float)L_1) == ((float)(0.0f)))))
  14224. {
  14225. goto IL_0021;
  14226. }
  14227. }
  14228. {
  14229. return (0.0f);
  14230. }
  14231. IL_0021:
  14232. {
  14233. float L_2 = __this->___timer;
  14234. float L_3 = __this->___length;
  14235. return ((float)(L_2/L_3));
  14236. }
  14237. }
  14238. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_TriggerUntriggeredEvents_m9FFC35E69A8B796236E87E5CF71798D66BE0E761 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, bool ___0_checkTime, bool* ___1_pickUp, bool* ___2_pause, const RuntimeMethod* method)
  14239. {
  14240. static bool s_Il2CppMethodInitialized;
  14241. if (!s_Il2CppMethodInitialized)
  14242. {
  14243. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4573A12BFDA535926500C04E88A94540C95C395D_RuntimeMethod_var);
  14244. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m876910864A81E4E2ACB93266B50ADFBE8262C179_RuntimeMethod_var);
  14245. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_mFEA98FA49B98EC8B769FB82DED7622F672AD1ADB_RuntimeMethod_var);
  14246. s_Il2CppMethodInitialized = true;
  14247. }
  14248. int32_t V_0 = 0;
  14249. {
  14250. bool* L_0 = ___1_pickUp;
  14251. *((int8_t*)L_0) = (int8_t)0;
  14252. bool* L_1 = ___2_pause;
  14253. *((int8_t*)L_1) = (int8_t)0;
  14254. V_0 = 0;
  14255. goto IL_0134;
  14256. }
  14257. IL_000d:
  14258. {
  14259. List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* L_2 = __this->___triggered;
  14260. int32_t L_3 = V_0;
  14261. NullCheck(L_2);
  14262. bool L_4;
  14263. L_4 = List_1_get_Item_m876910864A81E4E2ACB93266B50ADFBE8262C179(L_2, L_3, List_1_get_Item_m876910864A81E4E2ACB93266B50ADFBE8262C179_RuntimeMethod_var);
  14264. if (L_4)
  14265. {
  14266. goto IL_0130;
  14267. }
  14268. }
  14269. {
  14270. bool L_5 = ___0_checkTime;
  14271. if (!L_5)
  14272. {
  14273. goto IL_003e;
  14274. }
  14275. }
  14276. {
  14277. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_6;
  14278. L_6 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14279. NullCheck(L_6);
  14280. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_7 = L_6->___events;
  14281. int32_t L_8 = V_0;
  14282. NullCheck(L_7);
  14283. int32_t L_9 = L_8;
  14284. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  14285. NullCheck(L_10);
  14286. float L_11 = L_10->___time;
  14287. float L_12 = __this->___timer;
  14288. if ((!(((float)L_11) < ((float)L_12))))
  14289. {
  14290. goto IL_0130;
  14291. }
  14292. }
  14293. IL_003e:
  14294. {
  14295. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_13;
  14296. L_13 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14297. NullCheck(L_13);
  14298. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_14 = L_13->___events;
  14299. int32_t L_15 = V_0;
  14300. NullCheck(L_14);
  14301. int32_t L_16 = L_15;
  14302. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
  14303. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_18 = __this->___effector;
  14304. NullCheck(L_18);
  14305. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = L_18->___bone;
  14306. NullCheck(L_17);
  14307. InteractionEvent_Activate_m5F852E1E676B658361066414A80FE35601610821(L_17, L_19, NULL);
  14308. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_20;
  14309. L_20 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14310. NullCheck(L_20);
  14311. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_21 = L_20->___events;
  14312. int32_t L_22 = V_0;
  14313. NullCheck(L_21);
  14314. int32_t L_23 = L_22;
  14315. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  14316. NullCheck(L_24);
  14317. bool L_25 = L_24->___pickUp;
  14318. if (!L_25)
  14319. {
  14320. goto IL_00a4;
  14321. }
  14322. }
  14323. {
  14324. float L_26 = __this->___timer;
  14325. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_27;
  14326. L_27 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14327. NullCheck(L_27);
  14328. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_28 = L_27->___events;
  14329. int32_t L_29 = V_0;
  14330. NullCheck(L_28);
  14331. int32_t L_30 = L_29;
  14332. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
  14333. NullCheck(L_31);
  14334. float L_32 = L_31->___time;
  14335. if ((!(((float)L_26) >= ((float)L_32))))
  14336. {
  14337. goto IL_00a1;
  14338. }
  14339. }
  14340. {
  14341. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_33;
  14342. L_33 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14343. NullCheck(L_33);
  14344. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_34 = L_33->___events;
  14345. int32_t L_35 = V_0;
  14346. NullCheck(L_34);
  14347. int32_t L_36 = L_35;
  14348. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
  14349. NullCheck(L_37);
  14350. float L_38 = L_37->___time;
  14351. __this->___timer = L_38;
  14352. }
  14353. IL_00a1:
  14354. {
  14355. bool* L_39 = ___1_pickUp;
  14356. *((int8_t*)L_39) = (int8_t)1;
  14357. }
  14358. IL_00a4:
  14359. {
  14360. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_40;
  14361. L_40 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14362. NullCheck(L_40);
  14363. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_41 = L_40->___events;
  14364. int32_t L_42 = V_0;
  14365. NullCheck(L_41);
  14366. int32_t L_43 = L_42;
  14367. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
  14368. NullCheck(L_44);
  14369. bool L_45 = L_44->___pause;
  14370. if (!L_45)
  14371. {
  14372. goto IL_00ed;
  14373. }
  14374. }
  14375. {
  14376. float L_46 = __this->___timer;
  14377. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_47;
  14378. L_47 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14379. NullCheck(L_47);
  14380. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_48 = L_47->___events;
  14381. int32_t L_49 = V_0;
  14382. NullCheck(L_48);
  14383. int32_t L_50 = L_49;
  14384. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_51 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
  14385. NullCheck(L_51);
  14386. float L_52 = L_51->___time;
  14387. if ((!(((float)L_46) >= ((float)L_52))))
  14388. {
  14389. goto IL_00ea;
  14390. }
  14391. }
  14392. {
  14393. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_53;
  14394. L_53 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14395. NullCheck(L_53);
  14396. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_54 = L_53->___events;
  14397. int32_t L_55 = V_0;
  14398. NullCheck(L_54);
  14399. int32_t L_56 = L_55;
  14400. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
  14401. NullCheck(L_57);
  14402. float L_58 = L_57->___time;
  14403. __this->___timer = L_58;
  14404. }
  14405. IL_00ea:
  14406. {
  14407. bool* L_59 = ___2_pause;
  14408. *((int8_t*)L_59) = (int8_t)1;
  14409. }
  14410. IL_00ed:
  14411. {
  14412. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_60 = __this->___interactionSystem;
  14413. NullCheck(L_60);
  14414. InteractionEventDelegate_tC38EB2E99F478D06EBD5526282E9129A63A09885* L_61 = L_60->___OnInteractionEvent;
  14415. if (!L_61)
  14416. {
  14417. goto IL_0123;
  14418. }
  14419. }
  14420. {
  14421. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_62 = __this->___interactionSystem;
  14422. NullCheck(L_62);
  14423. InteractionEventDelegate_tC38EB2E99F478D06EBD5526282E9129A63A09885* L_63 = L_62->___OnInteractionEvent;
  14424. int32_t L_64;
  14425. L_64 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  14426. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_65;
  14427. L_65 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14428. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_66;
  14429. L_66 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14430. NullCheck(L_66);
  14431. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_67 = L_66->___events;
  14432. int32_t L_68 = V_0;
  14433. NullCheck(L_67);
  14434. int32_t L_69 = L_68;
  14435. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_70 = (L_67)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
  14436. NullCheck(L_63);
  14437. InteractionEventDelegate_Invoke_m7032F1CC92BBC3B7F3BF5F619624B225C2106C54_inline(L_63, L_64, L_65, L_70, NULL);
  14438. }
  14439. IL_0123:
  14440. {
  14441. List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* L_71 = __this->___triggered;
  14442. int32_t L_72 = V_0;
  14443. NullCheck(L_71);
  14444. List_1_set_Item_mFEA98FA49B98EC8B769FB82DED7622F672AD1ADB(L_71, L_72, (bool)1, List_1_set_Item_mFEA98FA49B98EC8B769FB82DED7622F672AD1ADB_RuntimeMethod_var);
  14445. }
  14446. IL_0130:
  14447. {
  14448. int32_t L_73 = V_0;
  14449. V_0 = ((int32_t)il2cpp_codegen_add(L_73, 1));
  14450. }
  14451. IL_0134:
  14452. {
  14453. int32_t L_74 = V_0;
  14454. List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* L_75 = __this->___triggered;
  14455. NullCheck(L_75);
  14456. int32_t L_76;
  14457. L_76 = List_1_get_Count_m4573A12BFDA535926500C04E88A94540C95C395D_inline(L_75, List_1_get_Count_m4573A12BFDA535926500C04E88A94540C95C395D_RuntimeMethod_var);
  14458. if ((((int32_t)L_74) < ((int32_t)L_76)))
  14459. {
  14460. goto IL_000d;
  14461. }
  14462. }
  14463. {
  14464. return;
  14465. }
  14466. }
  14467. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_PickUp_m9152FC9BCC9ACD0F986049558F6DD2422C2EC818 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_root, const RuntimeMethod* method)
  14468. {
  14469. static bool s_Il2CppMethodInitialized;
  14470. if (!s_Il2CppMethodInitialized)
  14471. {
  14472. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m820398EDBF1D3766C3166A0C323A127662A29A14_RuntimeMethod_var);
  14473. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
  14474. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB_RuntimeMethod_var);
  14475. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14476. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  14477. s_Il2CppMethodInitialized = true;
  14478. }
  14479. Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* V_0 = NULL;
  14480. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* V_1 = NULL;
  14481. ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* V_2 = NULL;
  14482. int32_t V_3 = 0;
  14483. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* V_4 = NULL;
  14484. {
  14485. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ___0_root;
  14486. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_1 = __this->___effector;
  14487. NullCheck(L_1);
  14488. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = L_1->___position;
  14489. NullCheck(L_0);
  14490. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
  14491. L_3 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_0, L_2, NULL);
  14492. __this->___pickUpPosition = L_3;
  14493. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_4 = __this->___interactionSystem;
  14494. NullCheck(L_4);
  14495. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5;
  14496. L_5 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_4, NULL);
  14497. NullCheck(L_5);
  14498. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
  14499. L_6 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_5, NULL);
  14500. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
  14501. L_7 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_6, NULL);
  14502. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_8 = __this->___effector;
  14503. NullCheck(L_8);
  14504. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8->___rotation;
  14505. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
  14506. L_10 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_7, L_9, NULL);
  14507. __this->___pickUpRotation = L_10;
  14508. __this->___pickUpOnPostFBBIK = (bool)1;
  14509. __this->___pickedUp = (bool)1;
  14510. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_11;
  14511. L_11 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14512. NullCheck(L_11);
  14513. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12;
  14514. L_12 = InteractionObject_get_targetsRoot_m7BBD350937B15A22F3E261BA28F35D36907DD33B(L_11, NULL);
  14515. NullCheck(L_12);
  14516. Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_13;
  14517. L_13 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(L_12, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
  14518. V_0 = L_13;
  14519. Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_14 = V_0;
  14520. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14521. bool L_15;
  14522. L_15 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_14, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14523. if (!L_15)
  14524. {
  14525. goto IL_00c7;
  14526. }
  14527. }
  14528. {
  14529. Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_16 = V_0;
  14530. NullCheck(L_16);
  14531. bool L_17;
  14532. L_17 = Rigidbody_get_isKinematic_mC20906CA5A89983DE06EAC6E3AFC5BC012F90CA1(L_16, NULL);
  14533. if (L_17)
  14534. {
  14535. goto IL_0079;
  14536. }
  14537. }
  14538. {
  14539. Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_18 = V_0;
  14540. NullCheck(L_18);
  14541. Rigidbody_set_isKinematic_m6C3FD3EA358DADA3B191F2449CF1C4F8B22695ED(L_18, (bool)1, NULL);
  14542. }
  14543. IL_0079:
  14544. {
  14545. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ___0_root;
  14546. NullCheck(L_19);
  14547. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_20;
  14548. L_20 = Component_GetComponent_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m820398EDBF1D3766C3166A0C323A127662A29A14(L_19, Component_GetComponent_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m820398EDBF1D3766C3166A0C323A127662A29A14_RuntimeMethod_var);
  14549. V_1 = L_20;
  14550. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_21 = V_1;
  14551. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14552. bool L_22;
  14553. L_22 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_21, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14554. if (!L_22)
  14555. {
  14556. goto IL_00c7;
  14557. }
  14558. }
  14559. {
  14560. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_23;
  14561. L_23 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14562. NullCheck(L_23);
  14563. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24;
  14564. L_24 = InteractionObject_get_targetsRoot_m7BBD350937B15A22F3E261BA28F35D36907DD33B(L_23, NULL);
  14565. NullCheck(L_24);
  14566. ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_25;
  14567. L_25 = Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB(L_24, Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB_RuntimeMethod_var);
  14568. V_2 = L_25;
  14569. V_3 = 0;
  14570. goto IL_00c1;
  14571. }
  14572. IL_009e:
  14573. {
  14574. ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_26 = V_2;
  14575. int32_t L_27 = V_3;
  14576. NullCheck(L_26);
  14577. int32_t L_28 = L_27;
  14578. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
  14579. V_4 = L_29;
  14580. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_30 = V_4;
  14581. NullCheck(L_30);
  14582. bool L_31;
  14583. L_31 = Collider_get_isTrigger_mFF457F6AA71D173F9A11BAF00C35E5AE12952F87(L_30, NULL);
  14584. if (L_31)
  14585. {
  14586. goto IL_00bd;
  14587. }
  14588. }
  14589. {
  14590. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_32 = V_4;
  14591. NullCheck(L_32);
  14592. bool L_33;
  14593. L_33 = Collider_get_enabled_mDBFB488088ADB14C8016A83EF445653AC5A4A12B(L_32, NULL);
  14594. if (!L_33)
  14595. {
  14596. goto IL_00bd;
  14597. }
  14598. }
  14599. {
  14600. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_34 = V_1;
  14601. Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_35 = V_4;
  14602. il2cpp_codegen_runtime_class_init_inline(Physics_t1244C2983AEAFA149425AFFC3DF53BC91C18ED56_il2cpp_TypeInfo_var);
  14603. Physics_IgnoreCollision_mFBAAD9B91D488802086C1A1C96447CE4C869211D(L_34, L_35, NULL);
  14604. }
  14605. IL_00bd:
  14606. {
  14607. int32_t L_36 = V_3;
  14608. V_3 = ((int32_t)il2cpp_codegen_add(L_36, 1));
  14609. }
  14610. IL_00c1:
  14611. {
  14612. int32_t L_37 = V_3;
  14613. ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_38 = V_2;
  14614. NullCheck(L_38);
  14615. if ((((int32_t)L_37) < ((int32_t)((int32_t)(((RuntimeArray*)L_38)->max_length)))))
  14616. {
  14617. goto IL_009e;
  14618. }
  14619. }
  14620. IL_00c7:
  14621. {
  14622. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_39 = __this->___interactionSystem;
  14623. NullCheck(L_39);
  14624. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_40 = L_39->___OnInteractionPickUp;
  14625. if (!L_40)
  14626. {
  14627. goto IL_00f0;
  14628. }
  14629. }
  14630. {
  14631. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_41 = __this->___interactionSystem;
  14632. NullCheck(L_41);
  14633. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_42 = L_41->___OnInteractionPickUp;
  14634. int32_t L_43;
  14635. L_43 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  14636. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_44;
  14637. L_44 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14638. NullCheck(L_42);
  14639. InteractionDelegate_Invoke_m2F62DF75255BA759101735960F4F8E35242E7730_inline(L_42, L_43, L_44, NULL);
  14640. }
  14641. IL_00f0:
  14642. {
  14643. return;
  14644. }
  14645. }
  14646. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionEffector_Stop_m8FFF0FB2E804B9BD41D855BB827B948858327E30 (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  14647. {
  14648. static bool s_Il2CppMethodInitialized;
  14649. if (!s_Il2CppMethodInitialized)
  14650. {
  14651. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14652. s_Il2CppMethodInitialized = true;
  14653. }
  14654. bool V_0 = false;
  14655. bool V_1 = false;
  14656. {
  14657. bool L_0;
  14658. L_0 = InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7(__this, NULL);
  14659. if (L_0)
  14660. {
  14661. goto IL_000a;
  14662. }
  14663. }
  14664. {
  14665. return (bool)0;
  14666. }
  14667. IL_000a:
  14668. {
  14669. V_0 = (bool)0;
  14670. V_1 = (bool)0;
  14671. InteractionEffector_TriggerUntriggeredEvents_m9FFC35E69A8B796236E87E5CF71798D66BE0E761(__this, (bool)0, (&V_0), (&V_1), NULL);
  14672. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_1 = __this->___interactionSystem;
  14673. NullCheck(L_1);
  14674. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_2 = L_1->___OnInteractionStop;
  14675. if (!L_2)
  14676. {
  14677. goto IL_0042;
  14678. }
  14679. }
  14680. {
  14681. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_3 = __this->___interactionSystem;
  14682. NullCheck(L_3);
  14683. InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* L_4 = L_3->___OnInteractionStop;
  14684. int32_t L_5;
  14685. L_5 = InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline(__this, NULL);
  14686. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_6;
  14687. L_6 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14688. NullCheck(L_4);
  14689. InteractionDelegate_Invoke_m2F62DF75255BA759101735960F4F8E35242E7730_inline(L_4, L_5, L_6, NULL);
  14690. }
  14691. IL_0042:
  14692. {
  14693. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_7 = __this->___interactionTarget;
  14694. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14695. bool L_8;
  14696. L_8 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14697. if (!L_8)
  14698. {
  14699. goto IL_005b;
  14700. }
  14701. }
  14702. {
  14703. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_9 = __this->___interactionTarget;
  14704. NullCheck(L_9);
  14705. InteractionTarget_ResetRotation_m21C4832797F054F71F40D4CA3961E479EDCC944E(L_9, NULL);
  14706. }
  14707. IL_005b:
  14708. {
  14709. InteractionEffector_set_interactionObject_mDF7E92D00FA1651B49870389CF922A5D7A2D9AE0_inline(__this, (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60*)NULL, NULL);
  14710. __this->___weight = (0.0f);
  14711. __this->___timer = (0.0f);
  14712. InteractionEffector_set_isPaused_mB60B2B33B9E5988B3F120E307B21EEE57269CF14_inline(__this, (bool)0, NULL);
  14713. __this->___target = (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
  14714. Il2CppCodeGenWriteBarrier((void**)(&__this->___target), (void*)(Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL);
  14715. __this->___defaults = (bool)0;
  14716. __this->___resetTimer = (1.0f);
  14717. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_10 = __this->___poser;
  14718. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14719. bool L_11;
  14720. L_11 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14721. if (!L_11)
  14722. {
  14723. goto IL_00be;
  14724. }
  14725. }
  14726. {
  14727. bool L_12 = __this->___pickedUp;
  14728. if (L_12)
  14729. {
  14730. goto IL_00be;
  14731. }
  14732. }
  14733. {
  14734. Poser_t47125CF78A54ADD8AE14EE76F555016F3312111B* L_13 = __this->___poser;
  14735. NullCheck(L_13);
  14736. L_13->___weight = (0.0f);
  14737. }
  14738. IL_00be:
  14739. {
  14740. __this->___pickedUp = (bool)0;
  14741. __this->___started = (bool)0;
  14742. return (bool)1;
  14743. }
  14744. }
  14745. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEffector_OnPostFBBIK_m9A1B38DB0D21ACB1EDF825F6D7ADE238FC3DA42A (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  14746. {
  14747. float V_0 = 0.0f;
  14748. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
  14749. memset((&V_1), 0, sizeof(V_1));
  14750. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
  14751. memset((&V_2), 0, sizeof(V_2));
  14752. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
  14753. memset((&V_3), 0, sizeof(V_3));
  14754. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B6_0;
  14755. memset((&G_B6_0), 0, sizeof(G_B6_0));
  14756. {
  14757. bool L_0;
  14758. L_0 = InteractionEffector_get_inInteraction_m44B11E4A3175310718421E92496C1DC4B7C682B7(__this, NULL);
  14759. if (L_0)
  14760. {
  14761. goto IL_0009;
  14762. }
  14763. }
  14764. {
  14765. return;
  14766. }
  14767. IL_0009:
  14768. {
  14769. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_1;
  14770. L_1 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14771. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_2 = __this->___interactionTarget;
  14772. float L_3 = __this->___timer;
  14773. NullCheck(L_1);
  14774. float L_4;
  14775. L_4 = InteractionObject_GetValue_m5EE8837220B24BD167CD73D81A047DCC8FA320B5(L_1, 7, L_2, L_3, NULL);
  14776. float L_5 = __this->___weight;
  14777. V_0 = ((float)il2cpp_codegen_multiply(L_4, L_5));
  14778. float L_6 = V_0;
  14779. if ((!(((float)L_6) > ((float)(0.0f)))))
  14780. {
  14781. goto IL_00ac;
  14782. }
  14783. }
  14784. {
  14785. bool L_7 = __this->___pickedUp;
  14786. if (L_7)
  14787. {
  14788. goto IL_0046;
  14789. }
  14790. }
  14791. {
  14792. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_8 = __this->___effector;
  14793. NullCheck(L_8);
  14794. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = L_8->___rotation;
  14795. G_B6_0 = L_9;
  14796. goto IL_0061;
  14797. }
  14798. IL_0046:
  14799. {
  14800. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_10 = __this->___interactionSystem;
  14801. NullCheck(L_10);
  14802. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11;
  14803. L_11 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_10, NULL);
  14804. NullCheck(L_11);
  14805. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
  14806. L_12 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_11, NULL);
  14807. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13 = __this->___pickUpRotation;
  14808. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
  14809. L_14 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_12, L_13, NULL);
  14810. G_B6_0 = L_14;
  14811. }
  14812. IL_0061:
  14813. {
  14814. V_1 = G_B6_0;
  14815. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_15 = __this->___effector;
  14816. NullCheck(L_15);
  14817. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = L_15->___bone;
  14818. NullCheck(L_16);
  14819. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17;
  14820. L_17 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_16, NULL);
  14821. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18 = V_1;
  14822. float L_19 = V_0;
  14823. float L_20 = V_0;
  14824. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21;
  14825. L_21 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_17, L_18, ((float)il2cpp_codegen_multiply(L_19, L_20)), NULL);
  14826. V_2 = L_21;
  14827. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_22 = __this->___effector;
  14828. NullCheck(L_22);
  14829. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23 = L_22->___bone;
  14830. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_24 = __this->___effector;
  14831. NullCheck(L_24);
  14832. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25 = L_24->___bone;
  14833. NullCheck(L_25);
  14834. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26;
  14835. L_26 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_25, NULL);
  14836. NullCheck(L_26);
  14837. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
  14838. L_27 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_26, NULL);
  14839. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28;
  14840. L_28 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_27, NULL);
  14841. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29 = V_2;
  14842. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
  14843. L_30 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_28, L_29, NULL);
  14844. NullCheck(L_23);
  14845. Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_23, L_30, NULL);
  14846. }
  14847. IL_00ac:
  14848. {
  14849. bool L_31 = __this->___pickUpOnPostFBBIK;
  14850. if (!L_31)
  14851. {
  14852. goto IL_011e;
  14853. }
  14854. }
  14855. {
  14856. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_32 = __this->___effector;
  14857. NullCheck(L_32);
  14858. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33 = L_32->___bone;
  14859. NullCheck(L_33);
  14860. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  14861. L_34 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_33, NULL);
  14862. V_3 = L_34;
  14863. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_35 = __this->___effector;
  14864. NullCheck(L_35);
  14865. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = L_35->___bone;
  14866. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_37 = __this->___interactionSystem;
  14867. NullCheck(L_37);
  14868. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_38;
  14869. L_38 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_37, NULL);
  14870. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = __this->___pickUpPosition;
  14871. NullCheck(L_38);
  14872. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
  14873. L_40 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_38, L_39, NULL);
  14874. NullCheck(L_36);
  14875. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_36, L_40, NULL);
  14876. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_41;
  14877. L_41 = InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline(__this, NULL);
  14878. NullCheck(L_41);
  14879. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_42;
  14880. L_42 = InteractionObject_get_targetsRoot_m7BBD350937B15A22F3E261BA28F35D36907DD33B(L_41, NULL);
  14881. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_43 = __this->___effector;
  14882. NullCheck(L_43);
  14883. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_44 = L_43->___bone;
  14884. NullCheck(L_42);
  14885. Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234(L_42, L_44, NULL);
  14886. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_45 = __this->___effector;
  14887. NullCheck(L_45);
  14888. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_46 = L_45->___bone;
  14889. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = V_3;
  14890. NullCheck(L_46);
  14891. Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_46, L_47, NULL);
  14892. __this->___pickUpOnPostFBBIK = (bool)0;
  14893. }
  14894. IL_011e:
  14895. {
  14896. return;
  14897. }
  14898. }
  14899. #ifdef __clang__
  14900. #pragma clang diagnostic pop
  14901. #endif
  14902. #ifdef __clang__
  14903. #pragma clang diagnostic push
  14904. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  14905. #pragma clang diagnostic ignored "-Wunused-variable"
  14906. #endif
  14907. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionLookAt_Look_mB3F3B60F7BB4CE4D2E614C9F29D165E0239E46E2 (InteractionLookAt_tF71D4B0AB678508623156D5DADAAA4D9F1762573* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_target, float ___1_time, const RuntimeMethod* method)
  14908. {
  14909. static bool s_Il2CppMethodInitialized;
  14910. if (!s_Il2CppMethodInitialized)
  14911. {
  14912. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14913. s_Il2CppMethodInitialized = true;
  14914. }
  14915. {
  14916. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_0 = __this->___ik;
  14917. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14918. bool L_1;
  14919. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14920. if (!L_1)
  14921. {
  14922. goto IL_000f;
  14923. }
  14924. }
  14925. {
  14926. return;
  14927. }
  14928. IL_000f:
  14929. {
  14930. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_2 = __this->___ik;
  14931. NullCheck(L_2);
  14932. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_3 = L_2->___solver;
  14933. NullCheck(L_3);
  14934. float L_4 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)L_3)->___IKPositionWeight;
  14935. if ((!(((float)L_4) <= ((float)(0.0f)))))
  14936. {
  14937. goto IL_006f;
  14938. }
  14939. }
  14940. {
  14941. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_5 = __this->___ik;
  14942. NullCheck(L_5);
  14943. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_6 = L_5->___solver;
  14944. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_7 = __this->___ik;
  14945. NullCheck(L_7);
  14946. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_8 = L_7->___solver;
  14947. NullCheck(L_8);
  14948. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9;
  14949. L_9 = IKSolver_GetRoot_m7D24B02364E0D9A349363A7217C24205B3E84927_inline(L_8, NULL);
  14950. NullCheck(L_9);
  14951. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
  14952. L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
  14953. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_11 = __this->___ik;
  14954. NullCheck(L_11);
  14955. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_12 = L_11->___solver;
  14956. NullCheck(L_12);
  14957. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
  14958. L_13 = IKSolver_GetRoot_m7D24B02364E0D9A349363A7217C24205B3E84927_inline(L_12, NULL);
  14959. NullCheck(L_13);
  14960. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
  14961. L_14 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_13, NULL);
  14962. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
  14963. L_15 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_14, (3.0f), NULL);
  14964. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
  14965. L_16 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_10, L_15, NULL);
  14966. NullCheck(L_6);
  14967. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)L_6)->___IKPosition = L_16;
  14968. }
  14969. IL_006f:
  14970. {
  14971. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = ___0_target;
  14972. __this->___lookAtTarget = L_17;
  14973. Il2CppCodeGenWriteBarrier((void**)(&__this->___lookAtTarget), (void*)L_17);
  14974. float L_18 = ___1_time;
  14975. __this->___stopLookTime = L_18;
  14976. return;
  14977. }
  14978. }
  14979. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionLookAt_OnFixTransforms_m5A7EDC5375A7D2FCACFBC01355B2ACF41A6C21B6 (InteractionLookAt_tF71D4B0AB678508623156D5DADAAA4D9F1762573* __this, const RuntimeMethod* method)
  14980. {
  14981. static bool s_Il2CppMethodInitialized;
  14982. if (!s_Il2CppMethodInitialized)
  14983. {
  14984. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14985. s_Il2CppMethodInitialized = true;
  14986. }
  14987. {
  14988. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_0 = __this->___ik;
  14989. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  14990. bool L_1;
  14991. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  14992. if (!L_1)
  14993. {
  14994. goto IL_000f;
  14995. }
  14996. }
  14997. {
  14998. return;
  14999. }
  15000. IL_000f:
  15001. {
  15002. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_2 = __this->___ik;
  15003. NullCheck(L_2);
  15004. bool L_3 = ((SolverManager_tC19A5D89A8BD538817A551177E739AF1652D66F2*)L_2)->___fixTransforms;
  15005. if (!L_3)
  15006. {
  15007. goto IL_002c;
  15008. }
  15009. }
  15010. {
  15011. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_4 = __this->___ik;
  15012. NullCheck(L_4);
  15013. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_5 = L_4->___solver;
  15014. NullCheck(L_5);
  15015. VirtualActionInvoker0::Invoke(8, L_5);
  15016. }
  15017. IL_002c:
  15018. {
  15019. return;
  15020. }
  15021. }
  15022. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionLookAt_Update_mB54679D283A4A38BBEA41F7A4C2BB37026116A1A (InteractionLookAt_tF71D4B0AB678508623156D5DADAAA4D9F1762573* __this, const RuntimeMethod* method)
  15023. {
  15024. static bool s_Il2CppMethodInitialized;
  15025. if (!s_Il2CppMethodInitialized)
  15026. {
  15027. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15028. s_Il2CppMethodInitialized = true;
  15029. }
  15030. float V_0 = 0.0f;
  15031. float G_B11_0 = 0.0f;
  15032. {
  15033. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_0 = __this->___ik;
  15034. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15035. bool L_1;
  15036. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15037. if (!L_1)
  15038. {
  15039. goto IL_000f;
  15040. }
  15041. }
  15042. {
  15043. return;
  15044. }
  15045. IL_000f:
  15046. {
  15047. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_2 = __this->___ik;
  15048. NullCheck(L_2);
  15049. bool L_3;
  15050. L_3 = Behaviour_get_enabled_mAAC9F15E9EBF552217A5AE2681589CC0BFA300C1(L_2, NULL);
  15051. if (!L_3)
  15052. {
  15053. goto IL_0028;
  15054. }
  15055. }
  15056. {
  15057. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_4 = __this->___ik;
  15058. NullCheck(L_4);
  15059. Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_4, (bool)0, NULL);
  15060. }
  15061. IL_0028:
  15062. {
  15063. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___lookAtTarget;
  15064. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15065. bool L_6;
  15066. L_6 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15067. if (!L_6)
  15068. {
  15069. goto IL_0037;
  15070. }
  15071. }
  15072. {
  15073. return;
  15074. }
  15075. IL_0037:
  15076. {
  15077. bool L_7 = __this->___isPaused;
  15078. if (!L_7)
  15079. {
  15080. goto IL_0051;
  15081. }
  15082. }
  15083. {
  15084. float L_8 = __this->___stopLookTime;
  15085. float L_9;
  15086. L_9 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  15087. __this->___stopLookTime = ((float)il2cpp_codegen_add(L_8, L_9));
  15088. }
  15089. IL_0051:
  15090. {
  15091. float L_10;
  15092. L_10 = Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B(NULL);
  15093. float L_11 = __this->___stopLookTime;
  15094. if ((((float)L_10) < ((float)L_11)))
  15095. {
  15096. goto IL_0067;
  15097. }
  15098. }
  15099. {
  15100. float L_12 = __this->___weightSpeed;
  15101. G_B11_0 = ((-L_12));
  15102. goto IL_006d;
  15103. }
  15104. IL_0067:
  15105. {
  15106. float L_13 = __this->___weightSpeed;
  15107. G_B11_0 = L_13;
  15108. }
  15109. IL_006d:
  15110. {
  15111. V_0 = G_B11_0;
  15112. float L_14 = __this->___weight;
  15113. float L_15 = V_0;
  15114. float L_16;
  15115. L_16 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  15116. float L_17;
  15117. L_17 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_add(L_14, ((float)il2cpp_codegen_multiply(L_15, L_16)))), (0.0f), (1.0f), NULL);
  15118. __this->___weight = L_17;
  15119. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_18 = __this->___ik;
  15120. NullCheck(L_18);
  15121. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_19 = L_18->___solver;
  15122. float L_20 = __this->___weight;
  15123. float L_21;
  15124. L_21 = Interp_Float_m218DE9CAA3AAC9F0186C85992D42704BEBCDF902(L_20, 2, NULL);
  15125. NullCheck(L_19);
  15126. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)L_19)->___IKPositionWeight = L_21;
  15127. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_22 = __this->___ik;
  15128. NullCheck(L_22);
  15129. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_23 = L_22->___solver;
  15130. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_24 = __this->___ik;
  15131. NullCheck(L_24);
  15132. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_25 = L_24->___solver;
  15133. NullCheck(L_25);
  15134. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)L_25)->___IKPosition;
  15135. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27 = __this->___lookAtTarget;
  15136. NullCheck(L_27);
  15137. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
  15138. L_28 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_27, NULL);
  15139. float L_29 = __this->___lerpSpeed;
  15140. float L_30;
  15141. L_30 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  15142. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
  15143. L_31 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_26, L_28, ((float)il2cpp_codegen_multiply(L_29, L_30)), NULL);
  15144. NullCheck(L_23);
  15145. ((IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04*)L_23)->___IKPosition = L_31;
  15146. float L_32 = __this->___weight;
  15147. if ((!(((float)L_32) <= ((float)(0.0f)))))
  15148. {
  15149. goto IL_00fd;
  15150. }
  15151. }
  15152. {
  15153. __this->___lookAtTarget = (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
  15154. Il2CppCodeGenWriteBarrier((void**)(&__this->___lookAtTarget), (void*)(Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL);
  15155. }
  15156. IL_00fd:
  15157. {
  15158. __this->___firstFBBIKSolve = (bool)1;
  15159. return;
  15160. }
  15161. }
  15162. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionLookAt_SolveSpine_m30484F8D040D9EF5078BABE9D266A5B494A52175 (InteractionLookAt_tF71D4B0AB678508623156D5DADAAA4D9F1762573* __this, const RuntimeMethod* method)
  15163. {
  15164. static bool s_Il2CppMethodInitialized;
  15165. if (!s_Il2CppMethodInitialized)
  15166. {
  15167. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15168. s_Il2CppMethodInitialized = true;
  15169. }
  15170. float V_0 = 0.0f;
  15171. float V_1 = 0.0f;
  15172. {
  15173. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_0 = __this->___ik;
  15174. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15175. bool L_1;
  15176. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15177. if (!L_1)
  15178. {
  15179. goto IL_000f;
  15180. }
  15181. }
  15182. {
  15183. return;
  15184. }
  15185. IL_000f:
  15186. {
  15187. bool L_2 = __this->___firstFBBIKSolve;
  15188. if (L_2)
  15189. {
  15190. goto IL_0018;
  15191. }
  15192. }
  15193. {
  15194. return;
  15195. }
  15196. IL_0018:
  15197. {
  15198. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_3 = __this->___ik;
  15199. NullCheck(L_3);
  15200. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_4 = L_3->___solver;
  15201. NullCheck(L_4);
  15202. float L_5 = L_4->___headWeight;
  15203. V_0 = L_5;
  15204. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_6 = __this->___ik;
  15205. NullCheck(L_6);
  15206. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_7 = L_6->___solver;
  15207. NullCheck(L_7);
  15208. float L_8 = L_7->___eyesWeight;
  15209. V_1 = L_8;
  15210. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_9 = __this->___ik;
  15211. NullCheck(L_9);
  15212. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_10 = L_9->___solver;
  15213. NullCheck(L_10);
  15214. L_10->___headWeight = (0.0f);
  15215. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_11 = __this->___ik;
  15216. NullCheck(L_11);
  15217. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_12 = L_11->___solver;
  15218. NullCheck(L_12);
  15219. L_12->___eyesWeight = (0.0f);
  15220. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_13 = __this->___ik;
  15221. NullCheck(L_13);
  15222. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_14 = L_13->___solver;
  15223. NullCheck(L_14);
  15224. IKSolver_Update_mC60A50FE56E84DC4A5911E8719BE6115CB055859(L_14, NULL);
  15225. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_15 = __this->___ik;
  15226. NullCheck(L_15);
  15227. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_16 = L_15->___solver;
  15228. float L_17 = V_0;
  15229. NullCheck(L_16);
  15230. L_16->___headWeight = L_17;
  15231. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_18 = __this->___ik;
  15232. NullCheck(L_18);
  15233. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_19 = L_18->___solver;
  15234. float L_20 = V_1;
  15235. NullCheck(L_19);
  15236. L_19->___eyesWeight = L_20;
  15237. return;
  15238. }
  15239. }
  15240. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionLookAt_SolveHead_m272948C18626A25336905154EFEE90453651FA09 (InteractionLookAt_tF71D4B0AB678508623156D5DADAAA4D9F1762573* __this, const RuntimeMethod* method)
  15241. {
  15242. static bool s_Il2CppMethodInitialized;
  15243. if (!s_Il2CppMethodInitialized)
  15244. {
  15245. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15246. s_Il2CppMethodInitialized = true;
  15247. }
  15248. float V_0 = 0.0f;
  15249. {
  15250. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_0 = __this->___ik;
  15251. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15252. bool L_1;
  15253. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15254. if (!L_1)
  15255. {
  15256. goto IL_000f;
  15257. }
  15258. }
  15259. {
  15260. return;
  15261. }
  15262. IL_000f:
  15263. {
  15264. bool L_2 = __this->___firstFBBIKSolve;
  15265. if (L_2)
  15266. {
  15267. goto IL_0018;
  15268. }
  15269. }
  15270. {
  15271. return;
  15272. }
  15273. IL_0018:
  15274. {
  15275. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_3 = __this->___ik;
  15276. NullCheck(L_3);
  15277. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_4 = L_3->___solver;
  15278. NullCheck(L_4);
  15279. float L_5 = L_4->___bodyWeight;
  15280. V_0 = L_5;
  15281. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_6 = __this->___ik;
  15282. NullCheck(L_6);
  15283. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_7 = L_6->___solver;
  15284. NullCheck(L_7);
  15285. L_7->___bodyWeight = (0.0f);
  15286. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_8 = __this->___ik;
  15287. NullCheck(L_8);
  15288. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_9 = L_8->___solver;
  15289. NullCheck(L_9);
  15290. IKSolver_Update_mC60A50FE56E84DC4A5911E8719BE6115CB055859(L_9, NULL);
  15291. LookAtIK_tD73B859CB2F05E30F2008A7D5D9FBDE234844EE5* L_10 = __this->___ik;
  15292. NullCheck(L_10);
  15293. IKSolverLookAt_t7395B9641D046A36CC2FFF2A7E3CDDC25149A95E* L_11 = L_10->___solver;
  15294. float L_12 = V_0;
  15295. NullCheck(L_11);
  15296. L_11->___bodyWeight = L_12;
  15297. __this->___firstFBBIKSolve = (bool)0;
  15298. return;
  15299. }
  15300. }
  15301. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionLookAt__ctor_mE9298731CC85BC4FC6D884F49246EB8C82806D62 (InteractionLookAt_tF71D4B0AB678508623156D5DADAAA4D9F1762573* __this, const RuntimeMethod* method)
  15302. {
  15303. {
  15304. __this->___lerpSpeed = (5.0f);
  15305. __this->___weightSpeed = (1.0f);
  15306. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  15307. return;
  15308. }
  15309. }
  15310. #ifdef __clang__
  15311. #pragma clang diagnostic pop
  15312. #endif
  15313. #ifdef __clang__
  15314. #pragma clang diagnostic push
  15315. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  15316. #pragma clang diagnostic ignored "-Wunused-variable"
  15317. #endif
  15318. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_OpenUserManual_m8E60B829EA51850CFDA34C562C8FE76A9D431292 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15319. {
  15320. static bool s_Il2CppMethodInitialized;
  15321. if (!s_Il2CppMethodInitialized)
  15322. {
  15323. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15324. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAD814A7C038293E24C37789F42D9F165B08522FE);
  15325. s_Il2CppMethodInitialized = true;
  15326. }
  15327. {
  15328. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15329. Application_OpenURL_mE748FA4D503715DEE12BCA4BDD8A5305AE41DB89(_stringLiteralAD814A7C038293E24C37789F42D9F165B08522FE, NULL);
  15330. return;
  15331. }
  15332. }
  15333. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_OpenScriptReference_m788FE6ADF96ECF464B51CEE11F25577402B6A01C (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15334. {
  15335. static bool s_Il2CppMethodInitialized;
  15336. if (!s_Il2CppMethodInitialized)
  15337. {
  15338. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15339. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF227C0888BBCF4D79C762D671D927C24C976B315);
  15340. s_Il2CppMethodInitialized = true;
  15341. }
  15342. {
  15343. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15344. Application_OpenURL_mE748FA4D503715DEE12BCA4BDD8A5305AE41DB89(_stringLiteralF227C0888BBCF4D79C762D671D927C24C976B315, NULL);
  15345. return;
  15346. }
  15347. }
  15348. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_OpenTutorial1_mD081DD48A29111964F7A7EB895C1D566393FBCDD (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15349. {
  15350. static bool s_Il2CppMethodInitialized;
  15351. if (!s_Il2CppMethodInitialized)
  15352. {
  15353. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15354. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5983AF29D2118CADB94F300A9B3689A72F5C3F5B);
  15355. s_Il2CppMethodInitialized = true;
  15356. }
  15357. {
  15358. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15359. Application_OpenURL_mE748FA4D503715DEE12BCA4BDD8A5305AE41DB89(_stringLiteral5983AF29D2118CADB94F300A9B3689A72F5C3F5B, NULL);
  15360. return;
  15361. }
  15362. }
  15363. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_OpenTutorial2_m3A5B94009D7C1531E4DADC78F2372BF1108E7ECC (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15364. {
  15365. static bool s_Il2CppMethodInitialized;
  15366. if (!s_Il2CppMethodInitialized)
  15367. {
  15368. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15369. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2525B3D511A32A96B0F6088ECA350CD3336EA8A3);
  15370. s_Il2CppMethodInitialized = true;
  15371. }
  15372. {
  15373. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15374. Application_OpenURL_mE748FA4D503715DEE12BCA4BDD8A5305AE41DB89(_stringLiteral2525B3D511A32A96B0F6088ECA350CD3336EA8A3, NULL);
  15375. return;
  15376. }
  15377. }
  15378. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_OpenTutorial3_m2765022FF4E987AA25CB8DAC4547E4BE234DB94D (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15379. {
  15380. static bool s_Il2CppMethodInitialized;
  15381. if (!s_Il2CppMethodInitialized)
  15382. {
  15383. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15384. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral96FDE905E53E5FBAC1EDCD7E0FE3470DC3F61EA2);
  15385. s_Il2CppMethodInitialized = true;
  15386. }
  15387. {
  15388. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15389. Application_OpenURL_mE748FA4D503715DEE12BCA4BDD8A5305AE41DB89(_stringLiteral96FDE905E53E5FBAC1EDCD7E0FE3470DC3F61EA2, NULL);
  15390. return;
  15391. }
  15392. }
  15393. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_OpenTutorial4_m40CDF3E704D5AA61F89F5368440A0AEF7DB7BA30 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15394. {
  15395. static bool s_Il2CppMethodInitialized;
  15396. if (!s_Il2CppMethodInitialized)
  15397. {
  15398. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15399. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral90E0422CE1939BD650BD8C7AD2043D42EE804579);
  15400. s_Il2CppMethodInitialized = true;
  15401. }
  15402. {
  15403. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15404. Application_OpenURL_mE748FA4D503715DEE12BCA4BDD8A5305AE41DB89(_stringLiteral90E0422CE1939BD650BD8C7AD2043D42EE804579, NULL);
  15405. return;
  15406. }
  15407. }
  15408. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_SupportGroup_m017568018E57D5798EFAC90B10091BCAFD6693D4 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15409. {
  15410. static bool s_Il2CppMethodInitialized;
  15411. if (!s_Il2CppMethodInitialized)
  15412. {
  15413. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15414. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA056737CDC6B12149C18466DFF2EC414F7C1D132);
  15415. s_Il2CppMethodInitialized = true;
  15416. }
  15417. {
  15418. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15419. Application_OpenURL_mE748FA4D503715DEE12BCA4BDD8A5305AE41DB89(_stringLiteralA056737CDC6B12149C18466DFF2EC414F7C1D132, NULL);
  15420. return;
  15421. }
  15422. }
  15423. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_ASThread_m70C74C3CD0B60399B75AFF5474F69AFFFD7BE4D0 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15424. {
  15425. static bool s_Il2CppMethodInitialized;
  15426. if (!s_Il2CppMethodInitialized)
  15427. {
  15428. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15429. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral06D0BFD03781EC995A8CB3F459FE016D0C12B539);
  15430. s_Il2CppMethodInitialized = true;
  15431. }
  15432. {
  15433. il2cpp_codegen_runtime_class_init_inline(Application_tDB03BE91CDF0ACA614A5E0B67CFB77C44EB19B21_il2cpp_TypeInfo_var);
  15434. Application_OpenURL_mE748FA4D503715DEE12BCA4BDD8A5305AE41DB89(_stringLiteral06D0BFD03781EC995A8CB3F459FE016D0C12B539, NULL);
  15435. return;
  15436. }
  15437. }
  15438. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float InteractionObject_get_length_m8461CFF9DF97B5D525916F1E7F7B2BDC9A845D51 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15439. {
  15440. {
  15441. float L_0 = __this->___U3ClengthU3Ek__BackingField;
  15442. return L_0;
  15443. }
  15444. }
  15445. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_set_length_m9A11285A8915A06BD9EA7D789A7942FD948ED21C (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, float ___0_value, const RuntimeMethod* method)
  15446. {
  15447. {
  15448. float L_0 = ___0_value;
  15449. __this->___U3ClengthU3Ek__BackingField = L_0;
  15450. return;
  15451. }
  15452. }
  15453. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* InteractionObject_get_lastUsedInteractionSystem_m04D55DCF873FA3D766120379911349C335CBDA98 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15454. {
  15455. {
  15456. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_0 = __this->___U3ClastUsedInteractionSystemU3Ek__BackingField;
  15457. return L_0;
  15458. }
  15459. }
  15460. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_set_lastUsedInteractionSystem_m97E1A1386A44C5628D23020A0D4DC537CE1C0230 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* ___0_value, const RuntimeMethod* method)
  15461. {
  15462. {
  15463. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_0 = ___0_value;
  15464. __this->___U3ClastUsedInteractionSystemU3Ek__BackingField = L_0;
  15465. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3ClastUsedInteractionSystemU3Ek__BackingField), (void*)L_0);
  15466. return;
  15467. }
  15468. }
  15469. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_Initiate_m7267C95292B713404EC0C90528A340114812E1D0 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15470. {
  15471. static bool s_Il2CppMethodInitialized;
  15472. if (!s_Il2CppMethodInitialized)
  15473. {
  15474. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponentsInChildren_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_m97622F38C34A0E72D7567EA01601A825100673E5_RuntimeMethod_var);
  15475. s_Il2CppMethodInitialized = true;
  15476. }
  15477. int32_t V_0 = 0;
  15478. float V_1 = 0.0f;
  15479. int32_t V_2 = 0;
  15480. {
  15481. V_0 = 0;
  15482. goto IL_0066;
  15483. }
  15484. IL_0004:
  15485. {
  15486. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_0 = __this->___weightCurves;
  15487. int32_t L_1 = V_0;
  15488. NullCheck(L_0);
  15489. int32_t L_2 = L_1;
  15490. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  15491. NullCheck(L_3);
  15492. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_4 = L_3->___curve;
  15493. NullCheck(L_4);
  15494. int32_t L_5;
  15495. L_5 = AnimationCurve_get_length_m259A67BB0870D3A153F6FEDBB06CB0D24089CD81(L_4, NULL);
  15496. if ((((int32_t)L_5) <= ((int32_t)0)))
  15497. {
  15498. goto IL_0062;
  15499. }
  15500. }
  15501. {
  15502. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_6 = __this->___weightCurves;
  15503. int32_t L_7 = V_0;
  15504. NullCheck(L_6);
  15505. int32_t L_8 = L_7;
  15506. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  15507. NullCheck(L_9);
  15508. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_10 = L_9->___curve;
  15509. NullCheck(L_10);
  15510. KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_11;
  15511. L_11 = AnimationCurve_get_keys_m34452C69464AB459C04BFFEA4F541F06B419AC4E(L_10, NULL);
  15512. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_12 = __this->___weightCurves;
  15513. int32_t L_13 = V_0;
  15514. NullCheck(L_12);
  15515. int32_t L_14 = L_13;
  15516. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
  15517. NullCheck(L_15);
  15518. AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_16 = L_15->___curve;
  15519. NullCheck(L_16);
  15520. int32_t L_17;
  15521. L_17 = AnimationCurve_get_length_m259A67BB0870D3A153F6FEDBB06CB0D24089CD81(L_16, NULL);
  15522. NullCheck(L_11);
  15523. float L_18;
  15524. L_18 = Keyframe_get_time_mB8886F64CBB373936C0C25C4C68397C05779F661(((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_17, 1))))), NULL);
  15525. V_1 = L_18;
  15526. float L_19;
  15527. L_19 = InteractionObject_get_length_m8461CFF9DF97B5D525916F1E7F7B2BDC9A845D51_inline(__this, NULL);
  15528. float L_20 = V_1;
  15529. float L_21;
  15530. L_21 = InteractionObject_get_length_m8461CFF9DF97B5D525916F1E7F7B2BDC9A845D51_inline(__this, NULL);
  15531. float L_22;
  15532. L_22 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_19, L_20, L_21, NULL);
  15533. InteractionObject_set_length_m9A11285A8915A06BD9EA7D789A7942FD948ED21C_inline(__this, L_22, NULL);
  15534. }
  15535. IL_0062:
  15536. {
  15537. int32_t L_23 = V_0;
  15538. V_0 = ((int32_t)il2cpp_codegen_add(L_23, 1));
  15539. }
  15540. IL_0066:
  15541. {
  15542. int32_t L_24 = V_0;
  15543. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_25 = __this->___weightCurves;
  15544. NullCheck(L_25);
  15545. if ((((int32_t)L_24) < ((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length)))))
  15546. {
  15547. goto IL_0004;
  15548. }
  15549. }
  15550. {
  15551. V_2 = 0;
  15552. goto IL_009d;
  15553. }
  15554. IL_0075:
  15555. {
  15556. float L_26;
  15557. L_26 = InteractionObject_get_length_m8461CFF9DF97B5D525916F1E7F7B2BDC9A845D51_inline(__this, NULL);
  15558. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_27 = __this->___events;
  15559. int32_t L_28 = V_2;
  15560. NullCheck(L_27);
  15561. int32_t L_29 = L_28;
  15562. InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  15563. NullCheck(L_30);
  15564. float L_31 = L_30->___time;
  15565. float L_32;
  15566. L_32 = InteractionObject_get_length_m8461CFF9DF97B5D525916F1E7F7B2BDC9A845D51_inline(__this, NULL);
  15567. float L_33;
  15568. L_33 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_26, L_31, L_32, NULL);
  15569. InteractionObject_set_length_m9A11285A8915A06BD9EA7D789A7942FD948ED21C_inline(__this, L_33, NULL);
  15570. int32_t L_34 = V_2;
  15571. V_2 = ((int32_t)il2cpp_codegen_add(L_34, 1));
  15572. }
  15573. IL_009d:
  15574. {
  15575. int32_t L_35 = V_2;
  15576. InteractionEventU5BU5D_tDF59730750105AAB96A31470F7564DF0F56BEF11* L_36 = __this->___events;
  15577. NullCheck(L_36);
  15578. if ((((int32_t)L_35) < ((int32_t)((int32_t)(((RuntimeArray*)L_36)->max_length)))))
  15579. {
  15580. goto IL_0075;
  15581. }
  15582. }
  15583. {
  15584. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37;
  15585. L_37 = InteractionObject_get_targetsRoot_m7BBD350937B15A22F3E261BA28F35D36907DD33B(__this, NULL);
  15586. NullCheck(L_37);
  15587. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_38;
  15588. L_38 = Component_GetComponentsInChildren_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_m97622F38C34A0E72D7567EA01601A825100673E5(L_37, Component_GetComponentsInChildren_TisInteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1_m97622F38C34A0E72D7567EA01601A825100673E5_RuntimeMethod_var);
  15589. __this->___targets = L_38;
  15590. Il2CppCodeGenWriteBarrier((void**)(&__this->___targets), (void*)L_38);
  15591. return;
  15592. }
  15593. }
  15594. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* InteractionObject_get_lookAtTarget_m694C3663D8202AAE1AA2617DCDF2F7B12121EE11 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15595. {
  15596. static bool s_Il2CppMethodInitialized;
  15597. if (!s_Il2CppMethodInitialized)
  15598. {
  15599. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15600. s_Il2CppMethodInitialized = true;
  15601. }
  15602. {
  15603. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___otherLookAtTarget;
  15604. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15605. bool L_1;
  15606. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  15607. if (!L_1)
  15608. {
  15609. goto IL_0015;
  15610. }
  15611. }
  15612. {
  15613. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___otherLookAtTarget;
  15614. return L_2;
  15615. }
  15616. IL_0015:
  15617. {
  15618. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
  15619. L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
  15620. return L_3;
  15621. }
  15622. }
  15623. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* InteractionObject_GetTarget_m77BAB50F1BD748AFFCA14C9454E8FEBFD040D6FD (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_effectorType, InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* ___1_interactionSystem, const RuntimeMethod* method)
  15624. {
  15625. static bool s_Il2CppMethodInitialized;
  15626. if (!s_Il2CppMethodInitialized)
  15627. {
  15628. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
  15629. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
  15630. s_Il2CppMethodInitialized = true;
  15631. }
  15632. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* V_0 = NULL;
  15633. int32_t V_1 = 0;
  15634. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* V_2 = NULL;
  15635. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* V_3 = NULL;
  15636. {
  15637. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_0 = ___1_interactionSystem;
  15638. String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty;
  15639. NullCheck(L_0);
  15640. bool L_2;
  15641. L_2 = Component_CompareTag_mE6F8897E84F12DF12D302FFC4D58204D51096FC5(L_0, L_1, NULL);
  15642. if (L_2)
  15643. {
  15644. goto IL_001a;
  15645. }
  15646. }
  15647. {
  15648. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_3 = ___1_interactionSystem;
  15649. NullCheck(L_3);
  15650. bool L_4;
  15651. L_4 = Component_CompareTag_mE6F8897E84F12DF12D302FFC4D58204D51096FC5(L_3, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
  15652. if (!L_4)
  15653. {
  15654. goto IL_0040;
  15655. }
  15656. }
  15657. IL_001a:
  15658. {
  15659. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_5 = __this->___targets;
  15660. V_0 = L_5;
  15661. V_1 = 0;
  15662. goto IL_0038;
  15663. }
  15664. IL_0025:
  15665. {
  15666. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_6 = V_0;
  15667. int32_t L_7 = V_1;
  15668. NullCheck(L_6);
  15669. int32_t L_8 = L_7;
  15670. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  15671. V_2 = L_9;
  15672. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_10 = V_2;
  15673. NullCheck(L_10);
  15674. int32_t L_11 = L_10->___effectorType;
  15675. int32_t L_12 = ___0_effectorType;
  15676. if ((!(((uint32_t)L_11) == ((uint32_t)L_12))))
  15677. {
  15678. goto IL_0034;
  15679. }
  15680. }
  15681. {
  15682. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_13 = V_2;
  15683. return L_13;
  15684. }
  15685. IL_0034:
  15686. {
  15687. int32_t L_14 = V_1;
  15688. V_1 = ((int32_t)il2cpp_codegen_add(L_14, 1));
  15689. }
  15690. IL_0038:
  15691. {
  15692. int32_t L_15 = V_1;
  15693. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_16 = V_0;
  15694. NullCheck(L_16);
  15695. if ((((int32_t)L_15) < ((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))))
  15696. {
  15697. goto IL_0025;
  15698. }
  15699. }
  15700. {
  15701. return (InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1*)NULL;
  15702. }
  15703. IL_0040:
  15704. {
  15705. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_17 = __this->___targets;
  15706. V_0 = L_17;
  15707. V_1 = 0;
  15708. goto IL_006c;
  15709. }
  15710. IL_004b:
  15711. {
  15712. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_18 = V_0;
  15713. int32_t L_19 = V_1;
  15714. NullCheck(L_18);
  15715. int32_t L_20 = L_19;
  15716. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  15717. V_3 = L_21;
  15718. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_22 = V_3;
  15719. NullCheck(L_22);
  15720. int32_t L_23 = L_22->___effectorType;
  15721. int32_t L_24 = ___0_effectorType;
  15722. if ((!(((uint32_t)L_23) == ((uint32_t)L_24))))
  15723. {
  15724. goto IL_0068;
  15725. }
  15726. }
  15727. {
  15728. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_25 = V_3;
  15729. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_26 = ___1_interactionSystem;
  15730. NullCheck(L_26);
  15731. String_t* L_27;
  15732. L_27 = Component_get_tag_m7561A81116CAB82B8A459E934662BFC2039FB7EF(L_26, NULL);
  15733. NullCheck(L_25);
  15734. bool L_28;
  15735. L_28 = Component_CompareTag_mE6F8897E84F12DF12D302FFC4D58204D51096FC5(L_25, L_27, NULL);
  15736. if (!L_28)
  15737. {
  15738. goto IL_0068;
  15739. }
  15740. }
  15741. {
  15742. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_29 = V_3;
  15743. return L_29;
  15744. }
  15745. IL_0068:
  15746. {
  15747. int32_t L_30 = V_1;
  15748. V_1 = ((int32_t)il2cpp_codegen_add(L_30, 1));
  15749. }
  15750. IL_006c:
  15751. {
  15752. int32_t L_31 = V_1;
  15753. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_32 = V_0;
  15754. NullCheck(L_32);
  15755. if ((((int32_t)L_31) < ((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)))))
  15756. {
  15757. goto IL_004b;
  15758. }
  15759. }
  15760. {
  15761. return (InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1*)NULL;
  15762. }
  15763. }
  15764. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionObject_CurveUsed_mE262291B022A65AABA78AC9A753CC41607D74D5F (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_type, const RuntimeMethod* method)
  15765. {
  15766. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* V_0 = NULL;
  15767. int32_t V_1 = 0;
  15768. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* V_2 = NULL;
  15769. {
  15770. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_0 = __this->___weightCurves;
  15771. V_0 = L_0;
  15772. V_1 = 0;
  15773. goto IL_001c;
  15774. }
  15775. IL_000b:
  15776. {
  15777. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_1 = V_0;
  15778. int32_t L_2 = V_1;
  15779. NullCheck(L_1);
  15780. int32_t L_3 = L_2;
  15781. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  15782. NullCheck(L_4);
  15783. int32_t L_5 = L_4->___type;
  15784. int32_t L_6 = ___0_type;
  15785. if ((!(((uint32_t)L_5) == ((uint32_t)L_6))))
  15786. {
  15787. goto IL_0018;
  15788. }
  15789. }
  15790. {
  15791. return (bool)1;
  15792. }
  15793. IL_0018:
  15794. {
  15795. int32_t L_7 = V_1;
  15796. V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  15797. }
  15798. IL_001c:
  15799. {
  15800. int32_t L_8 = V_1;
  15801. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_9 = V_0;
  15802. NullCheck(L_9);
  15803. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  15804. {
  15805. goto IL_000b;
  15806. }
  15807. }
  15808. {
  15809. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_10 = __this->___multipliers;
  15810. V_2 = L_10;
  15811. V_1 = 0;
  15812. goto IL_003e;
  15813. }
  15814. IL_002d:
  15815. {
  15816. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_11 = V_2;
  15817. int32_t L_12 = V_1;
  15818. NullCheck(L_11);
  15819. int32_t L_13 = L_12;
  15820. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  15821. NullCheck(L_14);
  15822. int32_t L_15 = L_14->___result;
  15823. int32_t L_16 = ___0_type;
  15824. if ((!(((uint32_t)L_15) == ((uint32_t)L_16))))
  15825. {
  15826. goto IL_003a;
  15827. }
  15828. }
  15829. {
  15830. return (bool)1;
  15831. }
  15832. IL_003a:
  15833. {
  15834. int32_t L_17 = V_1;
  15835. V_1 = ((int32_t)il2cpp_codegen_add(L_17, 1));
  15836. }
  15837. IL_003e:
  15838. {
  15839. int32_t L_18 = V_1;
  15840. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_19 = V_2;
  15841. NullCheck(L_19);
  15842. if ((((int32_t)L_18) < ((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length)))))
  15843. {
  15844. goto IL_002d;
  15845. }
  15846. }
  15847. {
  15848. return (bool)0;
  15849. }
  15850. }
  15851. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* InteractionObject_GetTargets_mA0458A0A19DECAD15F17F07762D0B9FB7F351498 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  15852. {
  15853. {
  15854. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_0 = __this->___targets;
  15855. return L_0;
  15856. }
  15857. }
  15858. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* InteractionObject_GetTarget_mBA79DC202AB19F4B66FE095937B44628F12B1CAC (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_effectorType, String_t* ___1_tag, const RuntimeMethod* method)
  15859. {
  15860. static bool s_Il2CppMethodInitialized;
  15861. if (!s_Il2CppMethodInitialized)
  15862. {
  15863. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
  15864. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
  15865. s_Il2CppMethodInitialized = true;
  15866. }
  15867. int32_t V_0 = 0;
  15868. {
  15869. String_t* L_0 = ___1_tag;
  15870. String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty;
  15871. bool L_2;
  15872. L_2 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_0, L_1, NULL);
  15873. if (L_2)
  15874. {
  15875. goto IL_001a;
  15876. }
  15877. }
  15878. {
  15879. String_t* L_3 = ___1_tag;
  15880. bool L_4;
  15881. L_4 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_3, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
  15882. if (!L_4)
  15883. {
  15884. goto IL_0022;
  15885. }
  15886. }
  15887. IL_001a:
  15888. {
  15889. int32_t L_5 = ___0_effectorType;
  15890. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
  15891. L_6 = InteractionObject_GetTarget_mE8EAB8A134D1042741FC2C0661EF41A4356B7A0A(__this, L_5, NULL);
  15892. return L_6;
  15893. }
  15894. IL_0022:
  15895. {
  15896. V_0 = 0;
  15897. goto IL_0058;
  15898. }
  15899. IL_0026:
  15900. {
  15901. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_7 = __this->___targets;
  15902. int32_t L_8 = V_0;
  15903. NullCheck(L_7);
  15904. int32_t L_9 = L_8;
  15905. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
  15906. NullCheck(L_10);
  15907. int32_t L_11 = L_10->___effectorType;
  15908. int32_t L_12 = ___0_effectorType;
  15909. if ((!(((uint32_t)L_11) == ((uint32_t)L_12))))
  15910. {
  15911. goto IL_0054;
  15912. }
  15913. }
  15914. {
  15915. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_13 = __this->___targets;
  15916. int32_t L_14 = V_0;
  15917. NullCheck(L_13);
  15918. int32_t L_15 = L_14;
  15919. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
  15920. String_t* L_17 = ___1_tag;
  15921. NullCheck(L_16);
  15922. bool L_18;
  15923. L_18 = Component_CompareTag_mE6F8897E84F12DF12D302FFC4D58204D51096FC5(L_16, L_17, NULL);
  15924. if (!L_18)
  15925. {
  15926. goto IL_0054;
  15927. }
  15928. }
  15929. {
  15930. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_19 = __this->___targets;
  15931. int32_t L_20 = V_0;
  15932. NullCheck(L_19);
  15933. int32_t L_21 = L_20;
  15934. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
  15935. NullCheck(L_22);
  15936. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23;
  15937. L_23 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_22, NULL);
  15938. return L_23;
  15939. }
  15940. IL_0054:
  15941. {
  15942. int32_t L_24 = V_0;
  15943. V_0 = ((int32_t)il2cpp_codegen_add(L_24, 1));
  15944. }
  15945. IL_0058:
  15946. {
  15947. int32_t L_25 = V_0;
  15948. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_26 = __this->___targets;
  15949. NullCheck(L_26);
  15950. if ((((int32_t)L_25) < ((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))))
  15951. {
  15952. goto IL_0026;
  15953. }
  15954. }
  15955. {
  15956. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27;
  15957. L_27 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
  15958. return L_27;
  15959. }
  15960. }
  15961. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_OnStartInteraction_m26BF6F1A1E89266341B3E977AFD32E647FEFA312 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* ___0_interactionSystem, const RuntimeMethod* method)
  15962. {
  15963. {
  15964. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_0 = ___0_interactionSystem;
  15965. InteractionObject_set_lastUsedInteractionSystem_m97E1A1386A44C5628D23020A0D4DC537CE1C0230_inline(__this, L_0, NULL);
  15966. return;
  15967. }
  15968. }
  15969. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_Apply_m8D3476EDBF872A901E4BFC34D8E58AF85484BC1D (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* ___0_solver, int32_t ___1_effector, InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* ___2_target, float ___3_timer, float ___4_weight, const RuntimeMethod* method)
  15970. {
  15971. static bool s_Il2CppMethodInitialized;
  15972. if (!s_Il2CppMethodInitialized)
  15973. {
  15974. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15975. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t8A1F2D25CB62D1A9F2AA71F2C98CD2F24FF2F5B1_il2cpp_TypeInfo_var);
  15976. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var);
  15977. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0636E85E2C43415BBAF121117BAF608488B41B3B);
  15978. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral089A426735CDC99BB6EE9644116046DC54902C4C);
  15979. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3B321842B9922AAE6397D5AA795CFAF7A3618C44);
  15980. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB9980C9D3A1CB55F66F8EC7E184E6E79DEB11568);
  15981. s_Il2CppMethodInitialized = true;
  15982. }
  15983. int32_t V_0 = 0;
  15984. float V_1 = 0.0f;
  15985. int32_t V_2 = 0;
  15986. int32_t V_3 = 0;
  15987. float V_4 = 0.0f;
  15988. float G_B4_0 = 0.0f;
  15989. float G_B14_0 = 0.0f;
  15990. {
  15991. V_0 = 0;
  15992. goto IL_0054;
  15993. }
  15994. IL_0004:
  15995. {
  15996. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_0 = ___2_target;
  15997. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  15998. bool L_1;
  15999. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16000. if (L_1)
  16001. {
  16002. goto IL_0022;
  16003. }
  16004. }
  16005. {
  16006. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_2 = ___2_target;
  16007. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_3 = __this->___weightCurves;
  16008. int32_t L_4 = V_0;
  16009. NullCheck(L_3);
  16010. int32_t L_5 = L_4;
  16011. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  16012. NullCheck(L_6);
  16013. int32_t L_7 = L_6->___type;
  16014. NullCheck(L_2);
  16015. float L_8;
  16016. L_8 = InteractionTarget_GetValue_m0A86C7674E21AFC11AEF51704FD40E5C2D0296DE(L_2, L_7, NULL);
  16017. G_B4_0 = L_8;
  16018. goto IL_0027;
  16019. }
  16020. IL_0022:
  16021. {
  16022. G_B4_0 = (1.0f);
  16023. }
  16024. IL_0027:
  16025. {
  16026. V_1 = G_B4_0;
  16027. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_9 = ___0_solver;
  16028. int32_t L_10 = ___1_effector;
  16029. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_11 = __this->___weightCurves;
  16030. int32_t L_12 = V_0;
  16031. NullCheck(L_11);
  16032. int32_t L_13 = L_12;
  16033. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  16034. NullCheck(L_14);
  16035. int32_t L_15 = L_14->___type;
  16036. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_16 = __this->___weightCurves;
  16037. int32_t L_17 = V_0;
  16038. NullCheck(L_16);
  16039. int32_t L_18 = L_17;
  16040. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  16041. float L_20 = ___3_timer;
  16042. NullCheck(L_19);
  16043. float L_21;
  16044. L_21 = WeightCurve_GetValue_mD71B853C6E86EA3DFE5CC7F23F45229640019904(L_19, L_20, NULL);
  16045. float L_22 = ___4_weight;
  16046. float L_23 = V_1;
  16047. InteractionObject_Apply_mDCA75484A3D539675171876FF26B9EF047573C1D(__this, L_9, L_10, L_15, L_21, ((float)il2cpp_codegen_multiply(L_22, L_23)), NULL);
  16048. int32_t L_24 = V_0;
  16049. V_0 = ((int32_t)il2cpp_codegen_add(L_24, 1));
  16050. }
  16051. IL_0054:
  16052. {
  16053. int32_t L_25 = V_0;
  16054. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_26 = __this->___weightCurves;
  16055. NullCheck(L_26);
  16056. if ((((int32_t)L_25) < ((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))))
  16057. {
  16058. goto IL_0004;
  16059. }
  16060. }
  16061. {
  16062. V_2 = 0;
  16063. goto IL_016a;
  16064. }
  16065. IL_0066:
  16066. {
  16067. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_27 = __this->___multipliers;
  16068. int32_t L_28 = V_2;
  16069. NullCheck(L_27);
  16070. int32_t L_29 = L_28;
  16071. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  16072. NullCheck(L_30);
  16073. int32_t L_31 = L_30->___curve;
  16074. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_32 = __this->___multipliers;
  16075. int32_t L_33 = V_2;
  16076. NullCheck(L_32);
  16077. int32_t L_34 = L_33;
  16078. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  16079. NullCheck(L_35);
  16080. int32_t L_36 = L_35->___result;
  16081. if ((!(((uint32_t)L_31) == ((uint32_t)L_36))))
  16082. {
  16083. goto IL_00bc;
  16084. }
  16085. }
  16086. {
  16087. bool L_37 = ((Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_StaticFields*)il2cpp_codegen_static_fields_for(Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var))->___logged;
  16088. if (L_37)
  16089. {
  16090. goto IL_00bc;
  16091. }
  16092. }
  16093. {
  16094. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_38 = __this->___multipliers;
  16095. int32_t L_39 = V_2;
  16096. NullCheck(L_38);
  16097. int32_t L_40 = L_39;
  16098. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
  16099. NullCheck(L_41);
  16100. int32_t* L_42 = (int32_t*)(&L_41->___curve);
  16101. Il2CppFakeBox<int32_t> L_43(Type_t8A1F2D25CB62D1A9F2AA71F2C98CD2F24FF2F5B1_il2cpp_TypeInfo_var, L_42);
  16102. String_t* L_44;
  16103. L_44 = Enum_ToString_m946B0B83C4470457D0FF555D862022C72BB55741((Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2*)(&L_43), NULL);
  16104. String_t* L_45;
  16105. L_45 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteralB9980C9D3A1CB55F66F8EC7E184E6E79DEB11568, L_44, _stringLiteral3B321842B9922AAE6397D5AA795CFAF7A3618C44, NULL);
  16106. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_46;
  16107. L_46 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
  16108. Warning_Log_m3B3DC501CEF603D988C5D1BEF3F753D4241876C1(L_45, L_46, (bool)0, NULL);
  16109. }
  16110. IL_00bc:
  16111. {
  16112. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_47 = __this->___multipliers;
  16113. int32_t L_48 = V_2;
  16114. NullCheck(L_47);
  16115. int32_t L_49 = L_48;
  16116. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
  16117. NullCheck(L_50);
  16118. int32_t L_51 = L_50->___curve;
  16119. int32_t L_52;
  16120. L_52 = InteractionObject_GetWeightCurveIndex_m6487F462476AB38D3787270C8F378269FC431AB9(__this, L_51, NULL);
  16121. V_3 = L_52;
  16122. int32_t L_53 = V_3;
  16123. if ((((int32_t)L_53) == ((int32_t)(-1))))
  16124. {
  16125. goto IL_012c;
  16126. }
  16127. }
  16128. {
  16129. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_54 = ___2_target;
  16130. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16131. bool L_55;
  16132. L_55 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_54, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16133. if (L_55)
  16134. {
  16135. goto IL_00f2;
  16136. }
  16137. }
  16138. {
  16139. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_56 = ___2_target;
  16140. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_57 = __this->___multipliers;
  16141. int32_t L_58 = V_2;
  16142. NullCheck(L_57);
  16143. int32_t L_59 = L_58;
  16144. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_60 = (L_57)->GetAt(static_cast<il2cpp_array_size_t>(L_59));
  16145. NullCheck(L_60);
  16146. int32_t L_61 = L_60->___result;
  16147. NullCheck(L_56);
  16148. float L_62;
  16149. L_62 = InteractionTarget_GetValue_m0A86C7674E21AFC11AEF51704FD40E5C2D0296DE(L_56, L_61, NULL);
  16150. G_B14_0 = L_62;
  16151. goto IL_00f7;
  16152. }
  16153. IL_00f2:
  16154. {
  16155. G_B14_0 = (1.0f);
  16156. }
  16157. IL_00f7:
  16158. {
  16159. V_4 = G_B14_0;
  16160. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_63 = ___0_solver;
  16161. int32_t L_64 = ___1_effector;
  16162. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_65 = __this->___multipliers;
  16163. int32_t L_66 = V_2;
  16164. NullCheck(L_65);
  16165. int32_t L_67 = L_66;
  16166. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_68 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
  16167. NullCheck(L_68);
  16168. int32_t L_69 = L_68->___result;
  16169. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_70 = __this->___multipliers;
  16170. int32_t L_71 = V_2;
  16171. NullCheck(L_70);
  16172. int32_t L_72 = L_71;
  16173. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_73 = (L_70)->GetAt(static_cast<il2cpp_array_size_t>(L_72));
  16174. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_74 = __this->___weightCurves;
  16175. int32_t L_75 = V_3;
  16176. NullCheck(L_74);
  16177. int32_t L_76 = L_75;
  16178. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_77 = (L_74)->GetAt(static_cast<il2cpp_array_size_t>(L_76));
  16179. float L_78 = ___3_timer;
  16180. NullCheck(L_73);
  16181. float L_79;
  16182. L_79 = Multiplier_GetValue_mB8EF3C9FDC4950E687ACE7F8C666841C484EFA37(L_73, L_77, L_78, NULL);
  16183. float L_80 = ___4_weight;
  16184. float L_81 = V_4;
  16185. InteractionObject_Apply_mDCA75484A3D539675171876FF26B9EF047573C1D(__this, L_63, L_64, L_69, L_79, ((float)il2cpp_codegen_multiply(L_80, L_81)), NULL);
  16186. goto IL_0166;
  16187. }
  16188. IL_012c:
  16189. {
  16190. bool L_82 = ((Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_StaticFields*)il2cpp_codegen_static_fields_for(Warning_t37CFC4FE1841E81EE62032D2AC48F1A5AD57BE6D_il2cpp_TypeInfo_var))->___logged;
  16191. if (L_82)
  16192. {
  16193. goto IL_0166;
  16194. }
  16195. }
  16196. {
  16197. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_83 = __this->___multipliers;
  16198. int32_t L_84 = V_2;
  16199. NullCheck(L_83);
  16200. int32_t L_85 = L_84;
  16201. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_86 = (L_83)->GetAt(static_cast<il2cpp_array_size_t>(L_85));
  16202. NullCheck(L_86);
  16203. int32_t* L_87 = (int32_t*)(&L_86->___curve);
  16204. Il2CppFakeBox<int32_t> L_88(Type_t8A1F2D25CB62D1A9F2AA71F2C98CD2F24FF2F5B1_il2cpp_TypeInfo_var, L_87);
  16205. String_t* L_89;
  16206. L_89 = Enum_ToString_m946B0B83C4470457D0FF555D862022C72BB55741((Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2*)(&L_88), NULL);
  16207. String_t* L_90;
  16208. L_90 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteral0636E85E2C43415BBAF121117BAF608488B41B3B, L_89, _stringLiteral089A426735CDC99BB6EE9644116046DC54902C4C, NULL);
  16209. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_91;
  16210. L_91 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
  16211. Warning_Log_m3B3DC501CEF603D988C5D1BEF3F753D4241876C1(L_90, L_91, (bool)0, NULL);
  16212. }
  16213. IL_0166:
  16214. {
  16215. int32_t L_92 = V_2;
  16216. V_2 = ((int32_t)il2cpp_codegen_add(L_92, 1));
  16217. }
  16218. IL_016a:
  16219. {
  16220. int32_t L_93 = V_2;
  16221. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_94 = __this->___multipliers;
  16222. NullCheck(L_94);
  16223. if ((((int32_t)L_93) < ((int32_t)((int32_t)(((RuntimeArray*)L_94)->max_length)))))
  16224. {
  16225. goto IL_0066;
  16226. }
  16227. }
  16228. {
  16229. return;
  16230. }
  16231. }
  16232. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float InteractionObject_GetValue_m5EE8837220B24BD167CD73D81A047DCC8FA320B5 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_weightCurveType, InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* ___1_target, float ___2_timer, const RuntimeMethod* method)
  16233. {
  16234. static bool s_Il2CppMethodInitialized;
  16235. if (!s_Il2CppMethodInitialized)
  16236. {
  16237. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16238. s_Il2CppMethodInitialized = true;
  16239. }
  16240. int32_t V_0 = 0;
  16241. float V_1 = 0.0f;
  16242. int32_t V_2 = 0;
  16243. int32_t V_3 = 0;
  16244. float V_4 = 0.0f;
  16245. float G_B4_0 = 0.0f;
  16246. float G_B11_0 = 0.0f;
  16247. {
  16248. int32_t L_0 = ___0_weightCurveType;
  16249. int32_t L_1;
  16250. L_1 = InteractionObject_GetWeightCurveIndex_m6487F462476AB38D3787270C8F378269FC431AB9(__this, L_0, NULL);
  16251. V_0 = L_1;
  16252. int32_t L_2 = V_0;
  16253. if ((((int32_t)L_2) == ((int32_t)(-1))))
  16254. {
  16255. goto IL_0035;
  16256. }
  16257. }
  16258. {
  16259. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_3 = ___1_target;
  16260. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16261. bool L_4;
  16262. L_4 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16263. if (L_4)
  16264. {
  16265. goto IL_001e;
  16266. }
  16267. }
  16268. {
  16269. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_5 = ___1_target;
  16270. int32_t L_6 = ___0_weightCurveType;
  16271. NullCheck(L_5);
  16272. float L_7;
  16273. L_7 = InteractionTarget_GetValue_m0A86C7674E21AFC11AEF51704FD40E5C2D0296DE(L_5, L_6, NULL);
  16274. G_B4_0 = L_7;
  16275. goto IL_0023;
  16276. }
  16277. IL_001e:
  16278. {
  16279. G_B4_0 = (1.0f);
  16280. }
  16281. IL_0023:
  16282. {
  16283. V_1 = G_B4_0;
  16284. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_8 = __this->___weightCurves;
  16285. int32_t L_9 = V_0;
  16286. NullCheck(L_8);
  16287. int32_t L_10 = L_9;
  16288. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
  16289. float L_12 = ___2_timer;
  16290. NullCheck(L_11);
  16291. float L_13;
  16292. L_13 = WeightCurve_GetValue_mD71B853C6E86EA3DFE5CC7F23F45229640019904(L_11, L_12, NULL);
  16293. float L_14 = V_1;
  16294. return ((float)il2cpp_codegen_multiply(L_13, L_14));
  16295. }
  16296. IL_0035:
  16297. {
  16298. V_2 = 0;
  16299. goto IL_00a4;
  16300. }
  16301. IL_0039:
  16302. {
  16303. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_15 = __this->___multipliers;
  16304. int32_t L_16 = V_2;
  16305. NullCheck(L_15);
  16306. int32_t L_17 = L_16;
  16307. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
  16308. NullCheck(L_18);
  16309. int32_t L_19 = L_18->___result;
  16310. int32_t L_20 = ___0_weightCurveType;
  16311. if ((!(((uint32_t)L_19) == ((uint32_t)L_20))))
  16312. {
  16313. goto IL_00a0;
  16314. }
  16315. }
  16316. {
  16317. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_21 = __this->___multipliers;
  16318. int32_t L_22 = V_2;
  16319. NullCheck(L_21);
  16320. int32_t L_23 = L_22;
  16321. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
  16322. NullCheck(L_24);
  16323. int32_t L_25 = L_24->___curve;
  16324. int32_t L_26;
  16325. L_26 = InteractionObject_GetWeightCurveIndex_m6487F462476AB38D3787270C8F378269FC431AB9(__this, L_25, NULL);
  16326. V_3 = L_26;
  16327. int32_t L_27 = V_3;
  16328. if ((((int32_t)L_27) == ((int32_t)(-1))))
  16329. {
  16330. goto IL_00a0;
  16331. }
  16332. }
  16333. {
  16334. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_28 = ___1_target;
  16335. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16336. bool L_29;
  16337. L_29 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_28, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16338. if (L_29)
  16339. {
  16340. goto IL_007f;
  16341. }
  16342. }
  16343. {
  16344. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_30 = ___1_target;
  16345. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_31 = __this->___multipliers;
  16346. int32_t L_32 = V_2;
  16347. NullCheck(L_31);
  16348. int32_t L_33 = L_32;
  16349. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
  16350. NullCheck(L_34);
  16351. int32_t L_35 = L_34->___result;
  16352. NullCheck(L_30);
  16353. float L_36;
  16354. L_36 = InteractionTarget_GetValue_m0A86C7674E21AFC11AEF51704FD40E5C2D0296DE(L_30, L_35, NULL);
  16355. G_B11_0 = L_36;
  16356. goto IL_0084;
  16357. }
  16358. IL_007f:
  16359. {
  16360. G_B11_0 = (1.0f);
  16361. }
  16362. IL_0084:
  16363. {
  16364. V_4 = G_B11_0;
  16365. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_37 = __this->___multipliers;
  16366. int32_t L_38 = V_2;
  16367. NullCheck(L_37);
  16368. int32_t L_39 = L_38;
  16369. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
  16370. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_41 = __this->___weightCurves;
  16371. int32_t L_42 = V_3;
  16372. NullCheck(L_41);
  16373. int32_t L_43 = L_42;
  16374. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
  16375. float L_45 = ___2_timer;
  16376. NullCheck(L_40);
  16377. float L_46;
  16378. L_46 = Multiplier_GetValue_mB8EF3C9FDC4950E687ACE7F8C666841C484EFA37(L_40, L_44, L_45, NULL);
  16379. float L_47 = V_4;
  16380. return ((float)il2cpp_codegen_multiply(L_46, L_47));
  16381. }
  16382. IL_00a0:
  16383. {
  16384. int32_t L_48 = V_2;
  16385. V_2 = ((int32_t)il2cpp_codegen_add(L_48, 1));
  16386. }
  16387. IL_00a4:
  16388. {
  16389. int32_t L_49 = V_2;
  16390. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_50 = __this->___multipliers;
  16391. NullCheck(L_50);
  16392. if ((((int32_t)L_49) < ((int32_t)((int32_t)(((RuntimeArray*)L_50)->max_length)))))
  16393. {
  16394. goto IL_0039;
  16395. }
  16396. }
  16397. {
  16398. return (0.0f);
  16399. }
  16400. }
  16401. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* InteractionObject_get_targetsRoot_m7BBD350937B15A22F3E261BA28F35D36907DD33B (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  16402. {
  16403. static bool s_Il2CppMethodInitialized;
  16404. if (!s_Il2CppMethodInitialized)
  16405. {
  16406. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16407. s_Il2CppMethodInitialized = true;
  16408. }
  16409. {
  16410. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___otherTargetsRoot;
  16411. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16412. bool L_1;
  16413. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16414. if (!L_1)
  16415. {
  16416. goto IL_0015;
  16417. }
  16418. }
  16419. {
  16420. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___otherTargetsRoot;
  16421. return L_2;
  16422. }
  16423. IL_0015:
  16424. {
  16425. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
  16426. L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
  16427. return L_3;
  16428. }
  16429. }
  16430. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_Start_m3AF2CF3EF801078D382F6C75271F5821AF0A5A19 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  16431. {
  16432. {
  16433. InteractionObject_Initiate_m7267C95292B713404EC0C90528A340114812E1D0(__this, NULL);
  16434. return;
  16435. }
  16436. }
  16437. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject_Apply_mDCA75484A3D539675171876FF26B9EF047573C1D (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* ___0_solver, int32_t ___1_effector, int32_t ___2_type, float ___3_value, float ___4_weight, const RuntimeMethod* method)
  16438. {
  16439. static bool s_Il2CppMethodInitialized;
  16440. if (!s_Il2CppMethodInitialized)
  16441. {
  16442. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16443. s_Il2CppMethodInitialized = true;
  16444. }
  16445. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B6_0;
  16446. memset((&G_B6_0), 0, sizeof(G_B6_0));
  16447. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* G_B6_1 = NULL;
  16448. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B5_0;
  16449. memset((&G_B5_0), 0, sizeof(G_B5_0));
  16450. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* G_B5_1 = NULL;
  16451. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B7_0;
  16452. memset((&G_B7_0), 0, sizeof(G_B7_0));
  16453. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B7_1;
  16454. memset((&G_B7_1), 0, sizeof(G_B7_1));
  16455. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* G_B7_2 = NULL;
  16456. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B10_0;
  16457. memset((&G_B10_0), 0, sizeof(G_B10_0));
  16458. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* G_B10_1 = NULL;
  16459. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B9_0;
  16460. memset((&G_B9_0), 0, sizeof(G_B9_0));
  16461. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* G_B9_1 = NULL;
  16462. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B11_0;
  16463. memset((&G_B11_0), 0, sizeof(G_B11_0));
  16464. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B11_1;
  16465. memset((&G_B11_1), 0, sizeof(G_B11_1));
  16466. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* G_B11_2 = NULL;
  16467. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B14_0;
  16468. memset((&G_B14_0), 0, sizeof(G_B14_0));
  16469. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* G_B14_1 = NULL;
  16470. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B13_0;
  16471. memset((&G_B13_0), 0, sizeof(G_B13_0));
  16472. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* G_B13_1 = NULL;
  16473. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B15_0;
  16474. memset((&G_B15_0), 0, sizeof(G_B15_0));
  16475. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B15_1;
  16476. memset((&G_B15_1), 0, sizeof(G_B15_1));
  16477. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* G_B15_2 = NULL;
  16478. {
  16479. int32_t L_0 = ___2_type;
  16480. switch (L_0)
  16481. {
  16482. case 0:
  16483. {
  16484. goto IL_0037;
  16485. }
  16486. case 1:
  16487. {
  16488. goto IL_0059;
  16489. }
  16490. case 2:
  16491. {
  16492. goto IL_007b;
  16493. }
  16494. case 3:
  16495. {
  16496. goto IL_00d1;
  16497. }
  16498. case 4:
  16499. {
  16500. goto IL_0127;
  16501. }
  16502. case 5:
  16503. {
  16504. goto IL_017d;
  16505. }
  16506. case 6:
  16507. {
  16508. goto IL_019f;
  16509. }
  16510. case 7:
  16511. {
  16512. goto IL_0231;
  16513. }
  16514. case 8:
  16515. {
  16516. goto IL_01c1;
  16517. }
  16518. case 9:
  16519. {
  16520. goto IL_01e3;
  16521. }
  16522. case 10:
  16523. {
  16524. goto IL_0231;
  16525. }
  16526. case 11:
  16527. {
  16528. goto IL_0205;
  16529. }
  16530. }
  16531. }
  16532. {
  16533. return;
  16534. }
  16535. IL_0037:
  16536. {
  16537. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_1 = ___0_solver;
  16538. int32_t L_2 = ___1_effector;
  16539. NullCheck(L_1);
  16540. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_3;
  16541. L_3 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_1, L_2, NULL);
  16542. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_4 = ___0_solver;
  16543. int32_t L_5 = ___1_effector;
  16544. NullCheck(L_4);
  16545. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_6;
  16546. L_6 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_4, L_5, NULL);
  16547. NullCheck(L_6);
  16548. float L_7 = L_6->___positionWeight;
  16549. float L_8 = ___3_value;
  16550. float L_9 = ___4_weight;
  16551. float L_10;
  16552. L_10 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_7, L_8, L_9, NULL);
  16553. NullCheck(L_3);
  16554. L_3->___positionWeight = L_10;
  16555. return;
  16556. }
  16557. IL_0059:
  16558. {
  16559. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_11 = ___0_solver;
  16560. int32_t L_12 = ___1_effector;
  16561. NullCheck(L_11);
  16562. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_13;
  16563. L_13 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_11, L_12, NULL);
  16564. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_14 = ___0_solver;
  16565. int32_t L_15 = ___1_effector;
  16566. NullCheck(L_14);
  16567. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_16;
  16568. L_16 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_14, L_15, NULL);
  16569. NullCheck(L_16);
  16570. float L_17 = L_16->___rotationWeight;
  16571. float L_18 = ___3_value;
  16572. float L_19 = ___4_weight;
  16573. float L_20;
  16574. L_20 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_17, L_18, L_19, NULL);
  16575. NullCheck(L_13);
  16576. L_13->___rotationWeight = L_20;
  16577. return;
  16578. }
  16579. IL_007b:
  16580. {
  16581. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_21 = ___0_solver;
  16582. int32_t L_22 = ___1_effector;
  16583. NullCheck(L_21);
  16584. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_23;
  16585. L_23 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_21, L_22, NULL);
  16586. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_24 = L_23;
  16587. NullCheck(L_24);
  16588. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = L_24->___position;
  16589. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26 = __this->___positionOffsetSpace;
  16590. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16591. bool L_27;
  16592. L_27 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_26, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16593. if (L_27)
  16594. {
  16595. G_B6_0 = L_25;
  16596. G_B6_1 = L_24;
  16597. goto IL_00a3;
  16598. }
  16599. G_B5_0 = L_25;
  16600. G_B5_1 = L_24;
  16601. }
  16602. {
  16603. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_28 = ___0_solver;
  16604. NullCheck(L_28);
  16605. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29;
  16606. L_29 = IKSolver_GetRoot_m7D24B02364E0D9A349363A7217C24205B3E84927_inline(L_28, NULL);
  16607. NullCheck(L_29);
  16608. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
  16609. L_30 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_29, NULL);
  16610. G_B7_0 = L_30;
  16611. G_B7_1 = G_B5_0;
  16612. G_B7_2 = G_B5_1;
  16613. goto IL_00ae;
  16614. }
  16615. IL_00a3:
  16616. {
  16617. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_31 = __this->___positionOffsetSpace;
  16618. NullCheck(L_31);
  16619. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32;
  16620. L_32 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_31, NULL);
  16621. G_B7_0 = L_32;
  16622. G_B7_1 = G_B6_0;
  16623. G_B7_2 = G_B6_1;
  16624. }
  16625. IL_00ae:
  16626. {
  16627. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
  16628. L_33 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
  16629. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
  16630. L_34 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(G_B7_0, L_33, NULL);
  16631. float L_35 = ___3_value;
  16632. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
  16633. L_36 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_34, L_35, NULL);
  16634. float L_37 = ___4_weight;
  16635. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
  16636. L_38 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_36, L_37, NULL);
  16637. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
  16638. L_39 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B7_1, L_38, NULL);
  16639. NullCheck(G_B7_2);
  16640. G_B7_2->___position = L_39;
  16641. return;
  16642. }
  16643. IL_00d1:
  16644. {
  16645. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_40 = ___0_solver;
  16646. int32_t L_41 = ___1_effector;
  16647. NullCheck(L_40);
  16648. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_42;
  16649. L_42 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_40, L_41, NULL);
  16650. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_43 = L_42;
  16651. NullCheck(L_43);
  16652. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = L_43->___position;
  16653. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_45 = __this->___positionOffsetSpace;
  16654. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16655. bool L_46;
  16656. L_46 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_45, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16657. if (L_46)
  16658. {
  16659. G_B10_0 = L_44;
  16660. G_B10_1 = L_43;
  16661. goto IL_00f9;
  16662. }
  16663. G_B9_0 = L_44;
  16664. G_B9_1 = L_43;
  16665. }
  16666. {
  16667. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_47 = ___0_solver;
  16668. NullCheck(L_47);
  16669. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_48;
  16670. L_48 = IKSolver_GetRoot_m7D24B02364E0D9A349363A7217C24205B3E84927_inline(L_47, NULL);
  16671. NullCheck(L_48);
  16672. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_49;
  16673. L_49 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_48, NULL);
  16674. G_B11_0 = L_49;
  16675. G_B11_1 = G_B9_0;
  16676. G_B11_2 = G_B9_1;
  16677. goto IL_0104;
  16678. }
  16679. IL_00f9:
  16680. {
  16681. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_50 = __this->___positionOffsetSpace;
  16682. NullCheck(L_50);
  16683. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_51;
  16684. L_51 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_50, NULL);
  16685. G_B11_0 = L_51;
  16686. G_B11_1 = G_B10_0;
  16687. G_B11_2 = G_B10_1;
  16688. }
  16689. IL_0104:
  16690. {
  16691. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
  16692. L_52 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
  16693. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
  16694. L_53 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(G_B11_0, L_52, NULL);
  16695. float L_54 = ___3_value;
  16696. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
  16697. L_55 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_53, L_54, NULL);
  16698. float L_56 = ___4_weight;
  16699. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
  16700. L_57 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_55, L_56, NULL);
  16701. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
  16702. L_58 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B11_1, L_57, NULL);
  16703. NullCheck(G_B11_2);
  16704. G_B11_2->___position = L_58;
  16705. return;
  16706. }
  16707. IL_0127:
  16708. {
  16709. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_59 = ___0_solver;
  16710. int32_t L_60 = ___1_effector;
  16711. NullCheck(L_59);
  16712. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_61;
  16713. L_61 = IKSolverFullBodyBiped_GetEffector_m67ED12FF81328F7E824FF1AA76C1D9D96AE13D23(L_59, L_60, NULL);
  16714. IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* L_62 = L_61;
  16715. NullCheck(L_62);
  16716. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = L_62->___position;
  16717. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_64 = __this->___positionOffsetSpace;
  16718. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  16719. bool L_65;
  16720. L_65 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_64, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  16721. if (L_65)
  16722. {
  16723. G_B14_0 = L_63;
  16724. G_B14_1 = L_62;
  16725. goto IL_014f;
  16726. }
  16727. G_B13_0 = L_63;
  16728. G_B13_1 = L_62;
  16729. }
  16730. {
  16731. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_66 = ___0_solver;
  16732. NullCheck(L_66);
  16733. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_67;
  16734. L_67 = IKSolver_GetRoot_m7D24B02364E0D9A349363A7217C24205B3E84927_inline(L_66, NULL);
  16735. NullCheck(L_67);
  16736. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_68;
  16737. L_68 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_67, NULL);
  16738. G_B15_0 = L_68;
  16739. G_B15_1 = G_B13_0;
  16740. G_B15_2 = G_B13_1;
  16741. goto IL_015a;
  16742. }
  16743. IL_014f:
  16744. {
  16745. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_69 = __this->___positionOffsetSpace;
  16746. NullCheck(L_69);
  16747. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_70;
  16748. L_70 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_69, NULL);
  16749. G_B15_0 = L_70;
  16750. G_B15_1 = G_B14_0;
  16751. G_B15_2 = G_B14_1;
  16752. }
  16753. IL_015a:
  16754. {
  16755. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
  16756. L_71 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
  16757. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
  16758. L_72 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(G_B15_0, L_71, NULL);
  16759. float L_73 = ___3_value;
  16760. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74;
  16761. L_74 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_72, L_73, NULL);
  16762. float L_75 = ___4_weight;
  16763. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
  16764. L_76 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_74, L_75, NULL);
  16765. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
  16766. L_77 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B15_1, L_76, NULL);
  16767. NullCheck(G_B15_2);
  16768. G_B15_2->___position = L_77;
  16769. return;
  16770. }
  16771. IL_017d:
  16772. {
  16773. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_78 = ___0_solver;
  16774. int32_t L_79 = ___1_effector;
  16775. NullCheck(L_78);
  16776. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_80;
  16777. L_80 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_78, L_79, NULL);
  16778. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_81 = ___0_solver;
  16779. int32_t L_82 = ___1_effector;
  16780. NullCheck(L_81);
  16781. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_83;
  16782. L_83 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_81, L_82, NULL);
  16783. NullCheck(L_83);
  16784. float L_84 = L_83->___pull;
  16785. float L_85 = ___3_value;
  16786. float L_86 = ___4_weight;
  16787. float L_87;
  16788. L_87 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_84, L_85, L_86, NULL);
  16789. NullCheck(L_80);
  16790. L_80->___pull = L_87;
  16791. return;
  16792. }
  16793. IL_019f:
  16794. {
  16795. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_88 = ___0_solver;
  16796. int32_t L_89 = ___1_effector;
  16797. NullCheck(L_88);
  16798. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_90;
  16799. L_90 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_88, L_89, NULL);
  16800. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_91 = ___0_solver;
  16801. int32_t L_92 = ___1_effector;
  16802. NullCheck(L_91);
  16803. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_93;
  16804. L_93 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_91, L_92, NULL);
  16805. NullCheck(L_93);
  16806. float L_94 = L_93->___reach;
  16807. float L_95 = ___3_value;
  16808. float L_96 = ___4_weight;
  16809. float L_97;
  16810. L_97 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_94, L_95, L_96, NULL);
  16811. NullCheck(L_90);
  16812. L_90->___reach = L_97;
  16813. return;
  16814. }
  16815. IL_01c1:
  16816. {
  16817. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_98 = ___0_solver;
  16818. int32_t L_99 = ___1_effector;
  16819. NullCheck(L_98);
  16820. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_100;
  16821. L_100 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_98, L_99, NULL);
  16822. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_101 = ___0_solver;
  16823. int32_t L_102 = ___1_effector;
  16824. NullCheck(L_101);
  16825. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_103;
  16826. L_103 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_101, L_102, NULL);
  16827. NullCheck(L_103);
  16828. float L_104 = L_103->___push;
  16829. float L_105 = ___3_value;
  16830. float L_106 = ___4_weight;
  16831. float L_107;
  16832. L_107 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_104, L_105, L_106, NULL);
  16833. NullCheck(L_100);
  16834. L_100->___push = L_107;
  16835. return;
  16836. }
  16837. IL_01e3:
  16838. {
  16839. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_108 = ___0_solver;
  16840. int32_t L_109 = ___1_effector;
  16841. NullCheck(L_108);
  16842. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_110;
  16843. L_110 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_108, L_109, NULL);
  16844. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_111 = ___0_solver;
  16845. int32_t L_112 = ___1_effector;
  16846. NullCheck(L_111);
  16847. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_113;
  16848. L_113 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_111, L_112, NULL);
  16849. NullCheck(L_113);
  16850. float L_114 = L_113->___pushParent;
  16851. float L_115 = ___3_value;
  16852. float L_116 = ___4_weight;
  16853. float L_117;
  16854. L_117 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_114, L_115, L_116, NULL);
  16855. NullCheck(L_110);
  16856. L_110->___pushParent = L_117;
  16857. return;
  16858. }
  16859. IL_0205:
  16860. {
  16861. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_118 = ___0_solver;
  16862. int32_t L_119 = ___1_effector;
  16863. NullCheck(L_118);
  16864. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_120;
  16865. L_120 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_118, L_119, NULL);
  16866. NullCheck(L_120);
  16867. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_121 = L_120->___bendConstraint;
  16868. IKSolverFullBodyBiped_t7DE9598CC4EC6AE27D4963F5F720C3F63275DB06* L_122 = ___0_solver;
  16869. int32_t L_123 = ___1_effector;
  16870. NullCheck(L_122);
  16871. FBIKChain_t0A5764CED6E48E51C9B401614793A0E4EA76EE11* L_124;
  16872. L_124 = IKSolverFullBodyBiped_GetChain_mFDDD10CE65269519FC8F2BACE987A47BBBB2FB96(L_122, L_123, NULL);
  16873. NullCheck(L_124);
  16874. IKConstraintBend_tFA1315C1F1B768A8DBE2ADFAF7C94670063426B8* L_125 = L_124->___bendConstraint;
  16875. NullCheck(L_125);
  16876. float L_126 = L_125->___weight;
  16877. float L_127 = ___3_value;
  16878. float L_128 = ___4_weight;
  16879. float L_129;
  16880. L_129 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_126, L_127, L_128, NULL);
  16881. NullCheck(L_121);
  16882. L_121->___weight = L_129;
  16883. return;
  16884. }
  16885. IL_0231:
  16886. {
  16887. return;
  16888. }
  16889. }
  16890. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* InteractionObject_GetTarget_mE8EAB8A134D1042741FC2C0661EF41A4356B7A0A (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_effectorType, const RuntimeMethod* method)
  16891. {
  16892. int32_t V_0 = 0;
  16893. {
  16894. V_0 = 0;
  16895. goto IL_0026;
  16896. }
  16897. IL_0004:
  16898. {
  16899. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_0 = __this->___targets;
  16900. int32_t L_1 = V_0;
  16901. NullCheck(L_0);
  16902. int32_t L_2 = L_1;
  16903. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  16904. NullCheck(L_3);
  16905. int32_t L_4 = L_3->___effectorType;
  16906. int32_t L_5 = ___0_effectorType;
  16907. if ((!(((uint32_t)L_4) == ((uint32_t)L_5))))
  16908. {
  16909. goto IL_0022;
  16910. }
  16911. }
  16912. {
  16913. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_6 = __this->___targets;
  16914. int32_t L_7 = V_0;
  16915. NullCheck(L_6);
  16916. int32_t L_8 = L_7;
  16917. InteractionTarget_t3AA9DDF06F66DFEC7AC7EAC3B04436395F9835C1* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
  16918. NullCheck(L_9);
  16919. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10;
  16920. L_10 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_9, NULL);
  16921. return L_10;
  16922. }
  16923. IL_0022:
  16924. {
  16925. int32_t L_11 = V_0;
  16926. V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
  16927. }
  16928. IL_0026:
  16929. {
  16930. int32_t L_12 = V_0;
  16931. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_13 = __this->___targets;
  16932. NullCheck(L_13);
  16933. if ((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))
  16934. {
  16935. goto IL_0004;
  16936. }
  16937. }
  16938. {
  16939. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
  16940. L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
  16941. return L_14;
  16942. }
  16943. }
  16944. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t InteractionObject_GetWeightCurveIndex_m6487F462476AB38D3787270C8F378269FC431AB9 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_weightCurveType, const RuntimeMethod* method)
  16945. {
  16946. int32_t V_0 = 0;
  16947. {
  16948. V_0 = 0;
  16949. goto IL_001a;
  16950. }
  16951. IL_0004:
  16952. {
  16953. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_0 = __this->___weightCurves;
  16954. int32_t L_1 = V_0;
  16955. NullCheck(L_0);
  16956. int32_t L_2 = L_1;
  16957. WeightCurve_t99375708C957D0A632BCC7D0F3C2405B0F855218* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  16958. NullCheck(L_3);
  16959. int32_t L_4 = L_3->___type;
  16960. int32_t L_5 = ___0_weightCurveType;
  16961. if ((!(((uint32_t)L_4) == ((uint32_t)L_5))))
  16962. {
  16963. goto IL_0016;
  16964. }
  16965. }
  16966. {
  16967. int32_t L_6 = V_0;
  16968. return L_6;
  16969. }
  16970. IL_0016:
  16971. {
  16972. int32_t L_7 = V_0;
  16973. V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  16974. }
  16975. IL_001a:
  16976. {
  16977. int32_t L_8 = V_0;
  16978. WeightCurveU5BU5D_tDCEDD07603FC8D96DCB484E4BA458235477605EE* L_9 = __this->___weightCurves;
  16979. NullCheck(L_9);
  16980. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  16981. {
  16982. goto IL_0004;
  16983. }
  16984. }
  16985. {
  16986. return (-1);
  16987. }
  16988. }
  16989. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t InteractionObject_GetMultiplierIndex_m6983C547852337035BF214258276ABD5690E7B11 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, int32_t ___0_weightCurveType, const RuntimeMethod* method)
  16990. {
  16991. int32_t V_0 = 0;
  16992. {
  16993. V_0 = 0;
  16994. goto IL_001a;
  16995. }
  16996. IL_0004:
  16997. {
  16998. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_0 = __this->___multipliers;
  16999. int32_t L_1 = V_0;
  17000. NullCheck(L_0);
  17001. int32_t L_2 = L_1;
  17002. Multiplier_t34E302E3A34147A6D5813C33794890D08E4D364D* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  17003. NullCheck(L_3);
  17004. int32_t L_4 = L_3->___result;
  17005. int32_t L_5 = ___0_weightCurveType;
  17006. if ((!(((uint32_t)L_4) == ((uint32_t)L_5))))
  17007. {
  17008. goto IL_0016;
  17009. }
  17010. }
  17011. {
  17012. int32_t L_6 = V_0;
  17013. return L_6;
  17014. }
  17015. IL_0016:
  17016. {
  17017. int32_t L_7 = V_0;
  17018. V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  17019. }
  17020. IL_001a:
  17021. {
  17022. int32_t L_8 = V_0;
  17023. MultiplierU5BU5D_tA33D79B8ADCA19027B7FAC2239B4557A6A05C8D1* L_9 = __this->___multipliers;
  17024. NullCheck(L_9);
  17025. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  17026. {
  17027. goto IL_0004;
  17028. }
  17029. }
  17030. {
  17031. return (-1);
  17032. }
  17033. }
  17034. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionObject__ctor_mDE117DDA7E51FB80DFAF8C07A5F995F3B48F09E4 (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  17035. {
  17036. static bool s_Il2CppMethodInitialized;
  17037. if (!s_Il2CppMethodInitialized)
  17038. {
  17039. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF_il2cpp_TypeInfo_var);
  17040. s_Il2CppMethodInitialized = true;
  17041. }
  17042. {
  17043. InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF* L_0 = (InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF*)(InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF*)SZArrayNew(InteractionTargetU5BU5D_tE1F746C415D4EC955078B0EFD1079E63C3AEBDCF_il2cpp_TypeInfo_var, (uint32_t)0);
  17044. __this->___targets = L_0;
  17045. Il2CppCodeGenWriteBarrier((void**)(&__this->___targets), (void*)L_0);
  17046. MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
  17047. return;
  17048. }
  17049. }
  17050. #ifdef __clang__
  17051. #pragma clang diagnostic pop
  17052. #endif
  17053. #ifdef __clang__
  17054. #pragma clang diagnostic push
  17055. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  17056. #pragma clang diagnostic ignored "-Wunused-variable"
  17057. #endif
  17058. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEvent_Activate_m5F852E1E676B658361066414A80FE35601610821 (InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_t, const RuntimeMethod* method)
  17059. {
  17060. AnimatorEventU5BU5D_t1FA2A56692AF4C3492D4AA6C84CE258A6F82DE97* V_0 = NULL;
  17061. int32_t V_1 = 0;
  17062. MessageU5BU5D_tC1A67B7E2BB1297B0B03BAD324E75469DAB1DAF7* V_2 = NULL;
  17063. {
  17064. UnityEvent_tDC2C3548799DBC91D1E3F3DE60083A66F4751977* L_0 = __this->___unityEvent;
  17065. NullCheck(L_0);
  17066. UnityEvent_Invoke_mFBF80D59B03C30C5FE6A06F897D954ACADE061D2(L_0, NULL);
  17067. AnimatorEventU5BU5D_t1FA2A56692AF4C3492D4AA6C84CE258A6F82DE97* L_1 = __this->___animations;
  17068. V_0 = L_1;
  17069. V_1 = 0;
  17070. goto IL_0028;
  17071. }
  17072. IL_0016:
  17073. {
  17074. AnimatorEventU5BU5D_t1FA2A56692AF4C3492D4AA6C84CE258A6F82DE97* L_2 = V_0;
  17075. int32_t L_3 = V_1;
  17076. NullCheck(L_2);
  17077. int32_t L_4 = L_3;
  17078. AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  17079. bool L_6 = __this->___pickUp;
  17080. NullCheck(L_5);
  17081. AnimatorEvent_Activate_m98483B97A02B419455FABB936AC2126A2E845DE4(L_5, L_6, NULL);
  17082. int32_t L_7 = V_1;
  17083. V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
  17084. }
  17085. IL_0028:
  17086. {
  17087. int32_t L_8 = V_1;
  17088. AnimatorEventU5BU5D_t1FA2A56692AF4C3492D4AA6C84CE258A6F82DE97* L_9 = V_0;
  17089. NullCheck(L_9);
  17090. if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
  17091. {
  17092. goto IL_0016;
  17093. }
  17094. }
  17095. {
  17096. MessageU5BU5D_tC1A67B7E2BB1297B0B03BAD324E75469DAB1DAF7* L_10 = __this->___messages;
  17097. V_2 = L_10;
  17098. V_1 = 0;
  17099. goto IL_0046;
  17100. }
  17101. IL_0039:
  17102. {
  17103. MessageU5BU5D_tC1A67B7E2BB1297B0B03BAD324E75469DAB1DAF7* L_11 = V_2;
  17104. int32_t L_12 = V_1;
  17105. NullCheck(L_11);
  17106. int32_t L_13 = L_12;
  17107. Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
  17108. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = ___0_t;
  17109. NullCheck(L_14);
  17110. Message_Send_m045D1EF6E2002CF88C091833B421067760241A50(L_14, L_15, NULL);
  17111. int32_t L_16 = V_1;
  17112. V_1 = ((int32_t)il2cpp_codegen_add(L_16, 1));
  17113. }
  17114. IL_0046:
  17115. {
  17116. int32_t L_17 = V_1;
  17117. MessageU5BU5D_tC1A67B7E2BB1297B0B03BAD324E75469DAB1DAF7* L_18 = V_2;
  17118. NullCheck(L_18);
  17119. if ((((int32_t)L_17) < ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))))
  17120. {
  17121. goto IL_0039;
  17122. }
  17123. }
  17124. {
  17125. return;
  17126. }
  17127. }
  17128. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionEvent__ctor_mC285493157EFF0122C10D1D0F9BDA9A8F9FDA29B (InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* __this, const RuntimeMethod* method)
  17129. {
  17130. {
  17131. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  17132. return;
  17133. }
  17134. }
  17135. #ifdef __clang__
  17136. #pragma clang diagnostic pop
  17137. #endif
  17138. #ifdef __clang__
  17139. #pragma clang diagnostic push
  17140. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  17141. #pragma clang diagnostic ignored "-Wunused-variable"
  17142. #endif
  17143. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Message_Send_m045D1EF6E2002CF88C091833B421067760241A50 (Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_t, const RuntimeMethod* method)
  17144. {
  17145. static bool s_Il2CppMethodInitialized;
  17146. if (!s_Il2CppMethodInitialized)
  17147. {
  17148. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17149. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
  17150. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
  17151. s_Il2CppMethodInitialized = true;
  17152. }
  17153. {
  17154. GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_0 = __this->___recipient;
  17155. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17156. bool L_1;
  17157. L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17158. if (!L_1)
  17159. {
  17160. goto IL_000f;
  17161. }
  17162. }
  17163. {
  17164. return;
  17165. }
  17166. IL_000f:
  17167. {
  17168. String_t* L_2 = __this->___function;
  17169. String_t* L_3 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty;
  17170. bool L_4;
  17171. L_4 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_2, L_3, NULL);
  17172. if (L_4)
  17173. {
  17174. goto IL_0033;
  17175. }
  17176. }
  17177. {
  17178. String_t* L_5 = __this->___function;
  17179. bool L_6;
  17180. L_6 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_5, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
  17181. if (!L_6)
  17182. {
  17183. goto IL_0034;
  17184. }
  17185. }
  17186. IL_0033:
  17187. {
  17188. return;
  17189. }
  17190. IL_0034:
  17191. {
  17192. GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_7 = __this->___recipient;
  17193. String_t* L_8 = __this->___function;
  17194. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = ___0_t;
  17195. NullCheck(L_7);
  17196. GameObject_SendMessage_m452B3418BE240EC79550C15E1F2EAE61488F06DF(L_7, L_8, L_9, 0, NULL);
  17197. return;
  17198. }
  17199. }
  17200. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Message__ctor_m32074FED592F480AD7548D2B21F471C771C5C7AA (Message_t1AF11699B94107761BCA3F684608F9BFE1B47A46* __this, const RuntimeMethod* method)
  17201. {
  17202. {
  17203. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  17204. return;
  17205. }
  17206. }
  17207. #ifdef __clang__
  17208. #pragma clang diagnostic pop
  17209. #endif
  17210. #ifdef __clang__
  17211. #pragma clang diagnostic push
  17212. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  17213. #pragma clang diagnostic ignored "-Wunused-variable"
  17214. #endif
  17215. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorEvent_Activate_m98483B97A02B419455FABB936AC2126A2E845DE4 (AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* __this, bool ___0_pickUp, const RuntimeMethod* method)
  17216. {
  17217. static bool s_Il2CppMethodInitialized;
  17218. if (!s_Il2CppMethodInitialized)
  17219. {
  17220. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17221. s_Il2CppMethodInitialized = true;
  17222. }
  17223. {
  17224. Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0 = __this->___animator;
  17225. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17226. bool L_1;
  17227. L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17228. if (!L_1)
  17229. {
  17230. goto IL_0029;
  17231. }
  17232. }
  17233. {
  17234. bool L_2 = ___0_pickUp;
  17235. if (!L_2)
  17236. {
  17237. goto IL_001d;
  17238. }
  17239. }
  17240. {
  17241. Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_3 = __this->___animator;
  17242. NullCheck(L_3);
  17243. Animator_set_applyRootMotion_mA0953B6AEE43D4AF0837365E7BFF60FCC74B0F98(L_3, (bool)0, NULL);
  17244. }
  17245. IL_001d:
  17246. {
  17247. Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_4 = __this->___animator;
  17248. AnimatorEvent_Activate_m95899D31B859C0C36D3AC5F6DF4E6A0F3BEAE604(__this, L_4, NULL);
  17249. }
  17250. IL_0029:
  17251. {
  17252. Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* L_5 = __this->___animation;
  17253. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  17254. bool L_6;
  17255. L_6 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  17256. if (!L_6)
  17257. {
  17258. goto IL_0043;
  17259. }
  17260. }
  17261. {
  17262. Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* L_7 = __this->___animation;
  17263. AnimatorEvent_Activate_m1E9D4B51C4AD9BE3575E6E8A2D5920D4A75462CF(__this, L_7, NULL);
  17264. }
  17265. IL_0043:
  17266. {
  17267. return;
  17268. }
  17269. }
  17270. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorEvent_Activate_m95899D31B859C0C36D3AC5F6DF4E6A0F3BEAE604 (AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* __this, Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___0_animator, const RuntimeMethod* method)
  17271. {
  17272. static bool s_Il2CppMethodInitialized;
  17273. if (!s_Il2CppMethodInitialized)
  17274. {
  17275. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
  17276. s_Il2CppMethodInitialized = true;
  17277. }
  17278. {
  17279. String_t* L_0 = __this->___animationState;
  17280. bool L_1;
  17281. L_1 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_0, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
  17282. if (!L_1)
  17283. {
  17284. goto IL_0013;
  17285. }
  17286. }
  17287. {
  17288. return;
  17289. }
  17290. IL_0013:
  17291. {
  17292. bool L_2 = __this->___resetNormalizedTime;
  17293. if (!L_2)
  17294. {
  17295. goto IL_0039;
  17296. }
  17297. }
  17298. {
  17299. Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_3 = ___0_animator;
  17300. String_t* L_4 = __this->___animationState;
  17301. float L_5 = __this->___crossfadeTime;
  17302. int32_t L_6 = __this->___layer;
  17303. NullCheck(L_3);
  17304. Animator_CrossFade_m2D91D6C458B15B186365EED0C13A178342789084(L_3, L_4, L_5, L_6, (0.0f), NULL);
  17305. return;
  17306. }
  17307. IL_0039:
  17308. {
  17309. Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_7 = ___0_animator;
  17310. String_t* L_8 = __this->___animationState;
  17311. float L_9 = __this->___crossfadeTime;
  17312. int32_t L_10 = __this->___layer;
  17313. NullCheck(L_7);
  17314. Animator_CrossFade_m2710B834A3D8C5C222B2CC6BF6D307B7A138055C(L_7, L_8, L_9, L_10, NULL);
  17315. return;
  17316. }
  17317. }
  17318. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorEvent_Activate_m1E9D4B51C4AD9BE3575E6E8A2D5920D4A75462CF (AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* __this, Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* ___0_animation, const RuntimeMethod* method)
  17319. {
  17320. static bool s_Il2CppMethodInitialized;
  17321. if (!s_Il2CppMethodInitialized)
  17322. {
  17323. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
  17324. s_Il2CppMethodInitialized = true;
  17325. }
  17326. {
  17327. String_t* L_0 = __this->___animationState;
  17328. bool L_1;
  17329. L_1 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_0, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
  17330. if (!L_1)
  17331. {
  17332. goto IL_0013;
  17333. }
  17334. }
  17335. {
  17336. return;
  17337. }
  17338. IL_0013:
  17339. {
  17340. bool L_2 = __this->___resetNormalizedTime;
  17341. if (!L_2)
  17342. {
  17343. goto IL_0031;
  17344. }
  17345. }
  17346. {
  17347. Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* L_3 = ___0_animation;
  17348. String_t* L_4 = __this->___animationState;
  17349. NullCheck(L_3);
  17350. AnimationState_tC704F25A20169025B6CFDC2F00DC84152B5B73CE* L_5;
  17351. L_5 = Animation_get_Item_m60997A8CDE7F415FC55FBB0D6D3F28339C4B32E8(L_3, L_4, NULL);
  17352. NullCheck(L_5);
  17353. AnimationState_set_normalizedTime_m80C40785819379D8B3DD64D22E88338921ED5085(L_5, (0.0f), NULL);
  17354. }
  17355. IL_0031:
  17356. {
  17357. Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* L_6 = ___0_animation;
  17358. String_t* L_7 = __this->___animationState;
  17359. NullCheck(L_6);
  17360. AnimationState_tC704F25A20169025B6CFDC2F00DC84152B5B73CE* L_8;
  17361. L_8 = Animation_get_Item_m60997A8CDE7F415FC55FBB0D6D3F28339C4B32E8(L_6, L_7, NULL);
  17362. int32_t L_9 = __this->___layer;
  17363. NullCheck(L_8);
  17364. AnimationState_set_layer_mBB3CD27A27F255CE979B30FDF56E5FD0DCF9262C(L_8, L_9, NULL);
  17365. Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* L_10 = ___0_animation;
  17366. String_t* L_11 = __this->___animationState;
  17367. float L_12 = __this->___crossfadeTime;
  17368. NullCheck(L_10);
  17369. Animation_CrossFade_m0DFC263F0CA45915C28C648B652A4903AE5DB9BA(L_10, L_11, L_12, NULL);
  17370. return;
  17371. }
  17372. }
  17373. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorEvent__ctor_m69CE4AE307CC39484E80727AB4D57DA31C56E970 (AnimatorEvent_t5C54D97E5C4C78CA46A5427340CDAE81607E737F* __this, const RuntimeMethod* method)
  17374. {
  17375. {
  17376. __this->___crossfadeTime = (0.300000012f);
  17377. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  17378. return;
  17379. }
  17380. }
  17381. #ifdef __clang__
  17382. #pragma clang diagnostic pop
  17383. #endif
  17384. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Arm_set_rotation_m560FED3E2B58E216CEB6B0BA4059754EC2D5FB8D_inline (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method)
  17385. {
  17386. {
  17387. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_value;
  17388. __this->___U3CrotationU3Ek__BackingField = L_0;
  17389. return;
  17390. }
  17391. }
  17392. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method)
  17393. {
  17394. static bool s_Il2CppMethodInitialized;
  17395. if (!s_Il2CppMethodInitialized)
  17396. {
  17397. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  17398. s_Il2CppMethodInitialized = true;
  17399. }
  17400. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17401. memset((&V_0), 0, sizeof(V_0));
  17402. {
  17403. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___forwardVector;
  17404. V_0 = L_0;
  17405. goto IL_0009;
  17406. }
  17407. IL_0009:
  17408. {
  17409. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  17410. return L_1;
  17411. }
  17412. }
  17413. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method)
  17414. {
  17415. static bool s_Il2CppMethodInitialized;
  17416. if (!s_Il2CppMethodInitialized)
  17417. {
  17418. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  17419. s_Il2CppMethodInitialized = true;
  17420. }
  17421. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17422. memset((&V_0), 0, sizeof(V_0));
  17423. {
  17424. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___upVector;
  17425. V_0 = L_0;
  17426. goto IL_0009;
  17427. }
  17428. IL_0009:
  17429. {
  17430. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  17431. return L_1;
  17432. }
  17433. }
  17434. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
  17435. {
  17436. float V_0 = 0.0f;
  17437. {
  17438. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
  17439. float L_1 = L_0.___x;
  17440. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
  17441. float L_3 = L_2.___x;
  17442. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
  17443. float L_5 = L_4.___y;
  17444. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
  17445. float L_7 = L_6.___y;
  17446. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
  17447. float L_9 = L_8.___z;
  17448. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
  17449. float L_11 = L_10.___z;
  17450. 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))));
  17451. goto IL_002d;
  17452. }
  17453. IL_002d:
  17454. {
  17455. float L_12 = V_0;
  17456. return L_12;
  17457. }
  17458. }
  17459. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method)
  17460. {
  17461. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17462. memset((&V_0), 0, sizeof(V_0));
  17463. {
  17464. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  17465. float L_1 = L_0.___x;
  17466. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
  17467. float L_3 = L_2.___y;
  17468. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
  17469. float L_5 = L_4.___z;
  17470. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  17471. memset((&L_6), 0, sizeof(L_6));
  17472. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), ((-L_1)), ((-L_3)), ((-L_5)), NULL);
  17473. V_0 = L_6;
  17474. goto IL_001e;
  17475. }
  17476. IL_001e:
  17477. {
  17478. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
  17479. return L_7;
  17480. }
  17481. }
  17482. 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)
  17483. {
  17484. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17485. memset((&V_0), 0, sizeof(V_0));
  17486. {
  17487. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  17488. float L_1 = L_0.___x;
  17489. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
  17490. float L_3 = L_2.___x;
  17491. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
  17492. float L_5 = L_4.___y;
  17493. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
  17494. float L_7 = L_6.___y;
  17495. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
  17496. float L_9 = L_8.___z;
  17497. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
  17498. float L_11 = L_10.___z;
  17499. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  17500. memset((&L_12), 0, sizeof(L_12));
  17501. 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);
  17502. V_0 = L_12;
  17503. goto IL_0030;
  17504. }
  17505. IL_0030:
  17506. {
  17507. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
  17508. return L_13;
  17509. }
  17510. }
  17511. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
  17512. {
  17513. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17514. memset((&V_0), 0, sizeof(V_0));
  17515. {
  17516. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
  17517. float L_1 = L_0.___y;
  17518. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
  17519. float L_3 = L_2.___z;
  17520. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
  17521. float L_5 = L_4.___z;
  17522. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
  17523. float L_7 = L_6.___y;
  17524. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
  17525. float L_9 = L_8.___z;
  17526. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
  17527. float L_11 = L_10.___x;
  17528. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___0_lhs;
  17529. float L_13 = L_12.___x;
  17530. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___1_rhs;
  17531. float L_15 = L_14.___z;
  17532. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_lhs;
  17533. float L_17 = L_16.___x;
  17534. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_rhs;
  17535. float L_19 = L_18.___y;
  17536. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_lhs;
  17537. float L_21 = L_20.___y;
  17538. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___1_rhs;
  17539. float L_23 = L_22.___x;
  17540. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
  17541. memset((&L_24), 0, sizeof(L_24));
  17542. 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);
  17543. V_0 = L_24;
  17544. goto IL_005a;
  17545. }
  17546. IL_005a:
  17547. {
  17548. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_0;
  17549. return L_25;
  17550. }
  17551. }
  17552. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method)
  17553. {
  17554. static bool s_Il2CppMethodInitialized;
  17555. if (!s_Il2CppMethodInitialized)
  17556. {
  17557. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  17558. s_Il2CppMethodInitialized = true;
  17559. }
  17560. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17561. memset((&V_0), 0, sizeof(V_0));
  17562. {
  17563. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___zeroVector;
  17564. V_0 = L_0;
  17565. goto IL_0009;
  17566. }
  17567. IL_0009:
  17568. {
  17569. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  17570. return L_1;
  17571. }
  17572. }
  17573. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
  17574. {
  17575. float V_0 = 0.0f;
  17576. float V_1 = 0.0f;
  17577. float V_2 = 0.0f;
  17578. float V_3 = 0.0f;
  17579. bool V_4 = false;
  17580. {
  17581. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
  17582. float L_1 = L_0.___x;
  17583. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
  17584. float L_3 = L_2.___x;
  17585. V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
  17586. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
  17587. float L_5 = L_4.___y;
  17588. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
  17589. float L_7 = L_6.___y;
  17590. V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
  17591. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
  17592. float L_9 = L_8.___z;
  17593. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
  17594. float L_11 = L_10.___z;
  17595. V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
  17596. float L_12 = V_0;
  17597. float L_13 = V_0;
  17598. float L_14 = V_1;
  17599. float L_15 = V_1;
  17600. float L_16 = V_2;
  17601. float L_17 = V_2;
  17602. 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))));
  17603. float L_18 = V_3;
  17604. V_4 = (bool)((((float)L_18) < ((float)(9.99999944E-11f)))? 1 : 0);
  17605. goto IL_0043;
  17606. }
  17607. IL_0043:
  17608. {
  17609. bool L_19 = V_4;
  17610. return L_19;
  17611. }
  17612. }
  17613. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Arm_set_position_m15E6952964F5E6F8C503D00C18022E442C7E712D_inline (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  17614. {
  17615. {
  17616. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  17617. __this->___U3CpositionU3Ek__BackingField = L_0;
  17618. return;
  17619. }
  17620. }
  17621. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
  17622. {
  17623. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17624. memset((&V_0), 0, sizeof(V_0));
  17625. {
  17626. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
  17627. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
  17628. L_1 = Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline(L_0, NULL);
  17629. V_0 = L_1;
  17630. goto IL_000f;
  17631. }
  17632. IL_000f:
  17633. {
  17634. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
  17635. return L_2;
  17636. }
  17637. }
  17638. 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)
  17639. {
  17640. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  17641. memset((&V_0), 0, sizeof(V_0));
  17642. {
  17643. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_lhs;
  17644. float L_1 = L_0.___w;
  17645. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___1_rhs;
  17646. float L_3 = L_2.___x;
  17647. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ___0_lhs;
  17648. float L_5 = L_4.___x;
  17649. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_rhs;
  17650. float L_7 = L_6.___w;
  17651. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ___0_lhs;
  17652. float L_9 = L_8.___y;
  17653. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ___1_rhs;
  17654. float L_11 = L_10.___z;
  17655. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___0_lhs;
  17656. float L_13 = L_12.___z;
  17657. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = ___1_rhs;
  17658. float L_15 = L_14.___y;
  17659. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = ___0_lhs;
  17660. float L_17 = L_16.___w;
  17661. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18 = ___1_rhs;
  17662. float L_19 = L_18.___y;
  17663. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20 = ___0_lhs;
  17664. float L_21 = L_20.___y;
  17665. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = ___1_rhs;
  17666. float L_23 = L_22.___w;
  17667. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = ___0_lhs;
  17668. float L_25 = L_24.___z;
  17669. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26 = ___1_rhs;
  17670. float L_27 = L_26.___x;
  17671. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28 = ___0_lhs;
  17672. float L_29 = L_28.___x;
  17673. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30 = ___1_rhs;
  17674. float L_31 = L_30.___z;
  17675. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = ___0_lhs;
  17676. float L_33 = L_32.___w;
  17677. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34 = ___1_rhs;
  17678. float L_35 = L_34.___z;
  17679. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36 = ___0_lhs;
  17680. float L_37 = L_36.___z;
  17681. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38 = ___1_rhs;
  17682. float L_39 = L_38.___w;
  17683. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_40 = ___0_lhs;
  17684. float L_41 = L_40.___x;
  17685. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42 = ___1_rhs;
  17686. float L_43 = L_42.___y;
  17687. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44 = ___0_lhs;
  17688. float L_45 = L_44.___y;
  17689. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_46 = ___1_rhs;
  17690. float L_47 = L_46.___x;
  17691. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_48 = ___0_lhs;
  17692. float L_49 = L_48.___w;
  17693. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50 = ___1_rhs;
  17694. float L_51 = L_50.___w;
  17695. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52 = ___0_lhs;
  17696. float L_53 = L_52.___x;
  17697. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54 = ___1_rhs;
  17698. float L_55 = L_54.___x;
  17699. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56 = ___0_lhs;
  17700. float L_57 = L_56.___y;
  17701. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58 = ___1_rhs;
  17702. float L_59 = L_58.___y;
  17703. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60 = ___0_lhs;
  17704. float L_61 = L_60.___z;
  17705. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62 = ___1_rhs;
  17706. float L_63 = L_62.___z;
  17707. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_64;
  17708. memset((&L_64), 0, sizeof(L_64));
  17709. 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);
  17710. V_0 = L_64;
  17711. goto IL_00e5;
  17712. }
  17713. IL_00e5:
  17714. {
  17715. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65 = V_0;
  17716. return L_65;
  17717. }
  17718. }
  17719. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Arm_get_position_m9FEEFEBC5CD41C7141126BAEA12ADFC9BC0B7F1F_inline (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  17720. {
  17721. {
  17722. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CpositionU3Ek__BackingField;
  17723. return L_0;
  17724. }
  17725. }
  17726. 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)
  17727. {
  17728. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17729. memset((&V_0), 0, sizeof(V_0));
  17730. {
  17731. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  17732. float L_1 = L_0.___x;
  17733. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
  17734. float L_3 = L_2.___x;
  17735. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
  17736. float L_5 = L_4.___y;
  17737. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
  17738. float L_7 = L_6.___y;
  17739. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
  17740. float L_9 = L_8.___z;
  17741. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
  17742. float L_11 = L_10.___z;
  17743. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
  17744. memset((&L_12), 0, sizeof(L_12));
  17745. 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);
  17746. V_0 = L_12;
  17747. goto IL_0030;
  17748. }
  17749. IL_0030:
  17750. {
  17751. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
  17752. return L_13;
  17753. }
  17754. }
  17755. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
  17756. {
  17757. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17758. memset((&V_0), 0, sizeof(V_0));
  17759. {
  17760. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  17761. float L_1 = L_0.___x;
  17762. float L_2 = ___1_d;
  17763. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
  17764. float L_4 = L_3.___y;
  17765. float L_5 = ___1_d;
  17766. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
  17767. float L_7 = L_6.___z;
  17768. float L_8 = ___1_d;
  17769. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  17770. memset((&L_9), 0, sizeof(L_9));
  17771. 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);
  17772. V_0 = L_9;
  17773. goto IL_0021;
  17774. }
  17775. IL_0021:
  17776. {
  17777. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
  17778. return L_10;
  17779. }
  17780. }
  17781. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
  17782. {
  17783. static bool s_Il2CppMethodInitialized;
  17784. if (!s_Il2CppMethodInitialized)
  17785. {
  17786. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  17787. s_Il2CppMethodInitialized = true;
  17788. }
  17789. float V_0 = 0.0f;
  17790. float V_1 = 0.0f;
  17791. float V_2 = 0.0f;
  17792. float V_3 = 0.0f;
  17793. {
  17794. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  17795. float L_1 = L_0.___x;
  17796. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
  17797. float L_3 = L_2.___x;
  17798. V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
  17799. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
  17800. float L_5 = L_4.___y;
  17801. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
  17802. float L_7 = L_6.___y;
  17803. V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
  17804. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
  17805. float L_9 = L_8.___z;
  17806. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
  17807. float L_11 = L_10.___z;
  17808. V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
  17809. float L_12 = V_0;
  17810. float L_13 = V_0;
  17811. float L_14 = V_1;
  17812. float L_15 = V_1;
  17813. float L_16 = V_2;
  17814. float L_17 = V_2;
  17815. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  17816. double L_18;
  17817. L_18 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))))));
  17818. V_3 = ((float)L_18);
  17819. goto IL_0040;
  17820. }
  17821. IL_0040:
  17822. {
  17823. float L_19 = V_3;
  17824. return L_19;
  17825. }
  17826. }
  17827. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline (const RuntimeMethod* method)
  17828. {
  17829. static bool s_Il2CppMethodInitialized;
  17830. if (!s_Il2CppMethodInitialized)
  17831. {
  17832. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  17833. s_Il2CppMethodInitialized = true;
  17834. }
  17835. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17836. memset((&V_0), 0, sizeof(V_0));
  17837. {
  17838. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___leftVector;
  17839. V_0 = L_0;
  17840. goto IL_0009;
  17841. }
  17842. IL_0009:
  17843. {
  17844. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  17845. return L_1;
  17846. }
  17847. }
  17848. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline (const RuntimeMethod* method)
  17849. {
  17850. static bool s_Il2CppMethodInitialized;
  17851. if (!s_Il2CppMethodInitialized)
  17852. {
  17853. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  17854. s_Il2CppMethodInitialized = true;
  17855. }
  17856. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  17857. memset((&V_0), 0, sizeof(V_0));
  17858. {
  17859. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___rightVector;
  17860. V_0 = L_0;
  17861. goto IL_0009;
  17862. }
  17863. IL_0009:
  17864. {
  17865. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  17866. return L_1;
  17867. }
  17868. }
  17869. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float BodyPart_get_mag_mC59094481F8E1BABBB58CFA9B5491E0CEB42B0FB_inline (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, const RuntimeMethod* method)
  17870. {
  17871. {
  17872. float L_0 = __this->___U3CmagU3Ek__BackingField;
  17873. return L_0;
  17874. }
  17875. }
  17876. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method)
  17877. {
  17878. static bool s_Il2CppMethodInitialized;
  17879. if (!s_Il2CppMethodInitialized)
  17880. {
  17881. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var);
  17882. s_Il2CppMethodInitialized = true;
  17883. }
  17884. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
  17885. memset((&V_0), 0, sizeof(V_0));
  17886. {
  17887. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ((Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields*)il2cpp_codegen_static_fields_for(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var))->___identityQuaternion;
  17888. V_0 = L_0;
  17889. goto IL_0009;
  17890. }
  17891. IL_0009:
  17892. {
  17893. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = V_0;
  17894. return L_1;
  17895. }
  17896. }
  17897. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method)
  17898. {
  17899. bool V_0 = false;
  17900. bool V_1 = false;
  17901. float V_2 = 0.0f;
  17902. {
  17903. float L_0 = ___0_value;
  17904. float L_1 = ___1_min;
  17905. V_0 = (bool)((((float)L_0) < ((float)L_1))? 1 : 0);
  17906. bool L_2 = V_0;
  17907. if (!L_2)
  17908. {
  17909. goto IL_000e;
  17910. }
  17911. }
  17912. {
  17913. float L_3 = ___1_min;
  17914. ___0_value = L_3;
  17915. goto IL_0019;
  17916. }
  17917. IL_000e:
  17918. {
  17919. float L_4 = ___0_value;
  17920. float L_5 = ___2_max;
  17921. V_1 = (bool)((((float)L_4) > ((float)L_5))? 1 : 0);
  17922. bool L_6 = V_1;
  17923. if (!L_6)
  17924. {
  17925. goto IL_0019;
  17926. }
  17927. }
  17928. {
  17929. float L_7 = ___2_max;
  17930. ___0_value = L_7;
  17931. }
  17932. IL_0019:
  17933. {
  17934. float L_8 = ___0_value;
  17935. V_2 = L_8;
  17936. goto IL_001d;
  17937. }
  17938. IL_001d:
  17939. {
  17940. float L_9 = V_2;
  17941. return L_9;
  17942. }
  17943. }
  17944. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_DeltaAngle_mCBA858CE5C1BEEBE375812325A50E434FF66D6D4_inline (float ___0_current, float ___1_target, const RuntimeMethod* method)
  17945. {
  17946. float V_0 = 0.0f;
  17947. bool V_1 = false;
  17948. float V_2 = 0.0f;
  17949. {
  17950. float L_0 = ___1_target;
  17951. float L_1 = ___0_current;
  17952. float L_2;
  17953. L_2 = Mathf_Repeat_m6F1560A163481BB311D685294E1B463C3E4EB3BA_inline(((float)il2cpp_codegen_subtract(L_0, L_1)), (360.0f), NULL);
  17954. V_0 = L_2;
  17955. float L_3 = V_0;
  17956. V_1 = (bool)((((float)L_3) > ((float)(180.0f)))? 1 : 0);
  17957. bool L_4 = V_1;
  17958. if (!L_4)
  17959. {
  17960. goto IL_0023;
  17961. }
  17962. }
  17963. {
  17964. float L_5 = V_0;
  17965. V_0 = ((float)il2cpp_codegen_subtract(L_5, (360.0f)));
  17966. }
  17967. IL_0023:
  17968. {
  17969. float L_6 = V_0;
  17970. V_2 = L_6;
  17971. goto IL_0027;
  17972. }
  17973. IL_0027:
  17974. {
  17975. float L_7 = V_2;
  17976. return L_7;
  17977. }
  17978. }
  17979. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Arm_get_rotation_m6A40C3166D9AA240930D675FCA778F08FE8A9E02_inline (Arm_t7B38A8240852DDD042E8A7DB45A3DD3D9855B16B* __this, const RuntimeMethod* method)
  17980. {
  17981. {
  17982. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___U3CrotationU3Ek__BackingField;
  17983. return L_0;
  17984. }
  17985. }
  17986. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method)
  17987. {
  17988. float V_0 = 0.0f;
  17989. {
  17990. float L_0 = ___0_a;
  17991. float L_1 = ___1_b;
  17992. float L_2 = ___0_a;
  17993. float L_3 = ___2_t;
  17994. float L_4;
  17995. L_4 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_3, NULL);
  17996. V_0 = ((float)il2cpp_codegen_add(L_0, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_1, L_2)), L_4))));
  17997. goto IL_0010;
  17998. }
  17999. IL_0010:
  18000. {
  18001. float L_5 = V_0;
  18002. return L_5;
  18003. }
  18004. }
  18005. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_down_mF62B2AE7C5AC31EAC9CB62797C7190C90A7A8599_inline (const RuntimeMethod* method)
  18006. {
  18007. static bool s_Il2CppMethodInitialized;
  18008. if (!s_Il2CppMethodInitialized)
  18009. {
  18010. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  18011. s_Il2CppMethodInitialized = true;
  18012. }
  18013. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  18014. memset((&V_0), 0, sizeof(V_0));
  18015. {
  18016. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___downVector;
  18017. V_0 = L_0;
  18018. goto IL_0009;
  18019. }
  18020. IL_0009:
  18021. {
  18022. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  18023. return L_1;
  18024. }
  18025. }
  18026. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline (const RuntimeMethod* method)
  18027. {
  18028. static bool s_Il2CppMethodInitialized;
  18029. if (!s_Il2CppMethodInitialized)
  18030. {
  18031. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
  18032. s_Il2CppMethodInitialized = true;
  18033. }
  18034. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  18035. memset((&V_0), 0, sizeof(V_0));
  18036. {
  18037. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___backVector;
  18038. V_0 = L_0;
  18039. goto IL_0009;
  18040. }
  18041. IL_0009:
  18042. {
  18043. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  18044. return L_1;
  18045. }
  18046. }
  18047. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void BodyPart_set_mag_m1E62A4147D4BB6D6358877F9E345800A74E40667_inline (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, float ___0_value, const RuntimeMethod* method)
  18048. {
  18049. {
  18050. float L_0 = ___0_value;
  18051. __this->___U3CmagU3Ek__BackingField = L_0;
  18052. return;
  18053. }
  18054. }
  18055. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void BodyPart_set_sqrMag_mE91CDBD2FA337A4E7888D119CCE7C29A2A7A72D4_inline (BodyPart_t00927C58520FEBB3B0728F216C7A5FCA61F967C6* __this, float ___0_value, const RuntimeMethod* method)
  18056. {
  18057. {
  18058. float L_0 = ___0_value;
  18059. __this->___U3CsqrMagU3Ek__BackingField = L_0;
  18060. return;
  18061. }
  18062. }
  18063. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method)
  18064. {
  18065. Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
  18066. memset((&V_0), 0, sizeof(V_0));
  18067. {
  18068. Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
  18069. memset((&L_0), 0, sizeof(L_0));
  18070. Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (1.0f), (1.0f), (1.0f), NULL);
  18071. V_0 = L_0;
  18072. goto IL_001d;
  18073. }
  18074. IL_001d:
  18075. {
  18076. Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
  18077. return L_1;
  18078. }
  18079. }
  18080. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Footstep_get_stepProgress_m52AFB016DD8592FF31E4EF261A9638ABE448DE3A_inline (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, const RuntimeMethod* method)
  18081. {
  18082. {
  18083. float L_0 = __this->___U3CstepProgressU3Ek__BackingField;
  18084. return L_0;
  18085. }
  18086. }
  18087. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Footstep_set_stepProgress_mA9354065BB9A02E1C8C6E1824B25D52DEB7EBC19_inline (Footstep_t3F6F2A0803AE0B8906151BC20556E723381A65F4* __this, float ___0_value, const RuntimeMethod* method)
  18088. {
  18089. {
  18090. float L_0 = ___0_value;
  18091. __this->___U3CstepProgressU3Ek__BackingField = L_0;
  18092. return;
  18093. }
  18094. }
  18095. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method)
  18096. {
  18097. static bool s_Il2CppMethodInitialized;
  18098. if (!s_Il2CppMethodInitialized)
  18099. {
  18100. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  18101. s_Il2CppMethodInitialized = true;
  18102. }
  18103. float V_0 = 0.0f;
  18104. {
  18105. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_vector;
  18106. float L_1 = L_0.___x;
  18107. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_vector;
  18108. float L_3 = L_2.___x;
  18109. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_vector;
  18110. float L_5 = L_4.___y;
  18111. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_vector;
  18112. float L_7 = L_6.___y;
  18113. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_vector;
  18114. float L_9 = L_8.___z;
  18115. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
  18116. float L_11 = L_10.___z;
  18117. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  18118. double L_12;
  18119. 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))))));
  18120. V_0 = ((float)L_12);
  18121. goto IL_0034;
  18122. }
  18123. IL_0034:
  18124. {
  18125. float L_13 = V_0;
  18126. return L_13;
  18127. }
  18128. }
  18129. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method)
  18130. {
  18131. float V_0 = 0.0f;
  18132. float V_1 = 0.0f;
  18133. float G_B3_0 = 0.0f;
  18134. {
  18135. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_a;
  18136. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ___1_b;
  18137. float L_2;
  18138. L_2 = Quaternion_Dot_mF9D3BE33940A47979DADA7E81650AEB356D5D12B_inline(L_0, L_1, NULL);
  18139. float L_3;
  18140. L_3 = fabsf(L_2);
  18141. float L_4;
  18142. L_4 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_3, (1.0f), NULL);
  18143. V_0 = L_4;
  18144. float L_5 = V_0;
  18145. bool L_6;
  18146. L_6 = Quaternion_IsEqualUsingDot_m9C672201C918C2D1E739F559DBE4406F95997CBD_inline(L_5, NULL);
  18147. if (L_6)
  18148. {
  18149. goto IL_0034;
  18150. }
  18151. }
  18152. {
  18153. float L_7 = V_0;
  18154. float L_8;
  18155. L_8 = acosf(L_7);
  18156. G_B3_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_8, (2.0f))), (57.2957802f)));
  18157. goto IL_0039;
  18158. }
  18159. IL_0034:
  18160. {
  18161. G_B3_0 = (0.0f);
  18162. }
  18163. IL_0039:
  18164. {
  18165. V_1 = G_B3_0;
  18166. goto IL_003c;
  18167. }
  18168. IL_003c:
  18169. {
  18170. float L_9 = V_1;
  18171. return L_9;
  18172. }
  18173. }
  18174. 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)
  18175. {
  18176. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  18177. memset((&V_0), 0, sizeof(V_0));
  18178. {
  18179. float L_0 = ___2_t;
  18180. float L_1;
  18181. L_1 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_0, NULL);
  18182. ___2_t = L_1;
  18183. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
  18184. float L_3 = L_2.___x;
  18185. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___1_b;
  18186. float L_5 = L_4.___x;
  18187. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
  18188. float L_7 = L_6.___x;
  18189. float L_8 = ___2_t;
  18190. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_a;
  18191. float L_10 = L_9.___y;
  18192. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___1_b;
  18193. float L_12 = L_11.___y;
  18194. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_a;
  18195. float L_14 = L_13.___y;
  18196. float L_15 = ___2_t;
  18197. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_a;
  18198. float L_17 = L_16.___z;
  18199. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_b;
  18200. float L_19 = L_18.___z;
  18201. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_a;
  18202. float L_21 = L_20.___z;
  18203. float L_22 = ___2_t;
  18204. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
  18205. memset((&L_23), 0, sizeof(L_23));
  18206. 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);
  18207. V_0 = L_23;
  18208. goto IL_0053;
  18209. }
  18210. IL_0053:
  18211. {
  18212. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
  18213. return L_24;
  18214. }
  18215. }
  18216. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
  18217. {
  18218. float V_0 = 0.0f;
  18219. float G_B3_0 = 0.0f;
  18220. {
  18221. float L_0 = ___0_a;
  18222. float L_1 = ___1_b;
  18223. if ((((float)L_0) < ((float)L_1)))
  18224. {
  18225. goto IL_0008;
  18226. }
  18227. }
  18228. {
  18229. float L_2 = ___1_b;
  18230. G_B3_0 = L_2;
  18231. goto IL_0009;
  18232. }
  18233. IL_0008:
  18234. {
  18235. float L_3 = ___0_a;
  18236. G_B3_0 = L_3;
  18237. }
  18238. IL_0009:
  18239. {
  18240. V_0 = G_B3_0;
  18241. goto IL_000c;
  18242. }
  18243. IL_000c:
  18244. {
  18245. float L_4 = V_0;
  18246. return L_4;
  18247. }
  18248. }
  18249. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_RotateTowards_m50EF9D609C80CD423CDA856EA3481DE2004633A3_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_from, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_to, float ___2_maxDegreesDelta, const RuntimeMethod* method)
  18250. {
  18251. float V_0 = 0.0f;
  18252. bool V_1 = false;
  18253. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
  18254. memset((&V_2), 0, sizeof(V_2));
  18255. {
  18256. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_from;
  18257. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ___1_to;
  18258. float L_2;
  18259. L_2 = Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline(L_0, L_1, NULL);
  18260. V_0 = L_2;
  18261. float L_3 = V_0;
  18262. V_1 = (bool)((((float)L_3) == ((float)(0.0f)))? 1 : 0);
  18263. bool L_4 = V_1;
  18264. if (!L_4)
  18265. {
  18266. goto IL_0019;
  18267. }
  18268. }
  18269. {
  18270. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ___1_to;
  18271. V_2 = L_5;
  18272. goto IL_0030;
  18273. }
  18274. IL_0019:
  18275. {
  18276. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___0_from;
  18277. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = ___1_to;
  18278. float L_8 = ___2_maxDegreesDelta;
  18279. float L_9 = V_0;
  18280. float L_10;
  18281. L_10 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline((1.0f), ((float)(L_8/L_9)), NULL);
  18282. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
  18283. L_11 = Quaternion_SlerpUnclamped_mAE7F4DF2F239831CCAA1DFB52F313E5AED52D32D(L_6, L_7, L_10, NULL);
  18284. V_2 = L_11;
  18285. goto IL_0030;
  18286. }
  18287. IL_0030:
  18288. {
  18289. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = V_2;
  18290. return L_12;
  18291. }
  18292. }
  18293. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_SmoothDamp_m3A255A356924421B4042AAD1623EF46F92A08C91_inline (float ___0_current, float ___1_target, float* ___2_currentVelocity, float ___3_smoothTime, const RuntimeMethod* method)
  18294. {
  18295. float V_0 = 0.0f;
  18296. float V_1 = 0.0f;
  18297. float V_2 = 0.0f;
  18298. {
  18299. float L_0;
  18300. L_0 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
  18301. V_0 = L_0;
  18302. V_1 = (std::numeric_limits<float>::infinity());
  18303. float L_1 = ___0_current;
  18304. float L_2 = ___1_target;
  18305. float* L_3 = ___2_currentVelocity;
  18306. float L_4 = ___3_smoothTime;
  18307. float L_5 = V_1;
  18308. float L_6 = V_0;
  18309. float L_7;
  18310. L_7 = Mathf_SmoothDamp_mBE7ABB6B59D198BE8ABE42942452CC7B813A5248(L_1, L_2, L_3, L_4, L_5, L_6, NULL);
  18311. V_2 = L_7;
  18312. goto IL_001b;
  18313. }
  18314. IL_001b:
  18315. {
  18316. float L_8 = V_2;
  18317. return L_8;
  18318. }
  18319. }
  18320. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_MoveTowards_m69751B5EC50D8E7127D4BB2C8D908E38808AF45D_inline (float ___0_current, float ___1_target, float ___2_maxDelta, const RuntimeMethod* method)
  18321. {
  18322. bool V_0 = false;
  18323. float V_1 = 0.0f;
  18324. {
  18325. float L_0 = ___1_target;
  18326. float L_1 = ___0_current;
  18327. float L_2;
  18328. L_2 = fabsf(((float)il2cpp_codegen_subtract(L_0, L_1)));
  18329. float L_3 = ___2_maxDelta;
  18330. V_0 = (bool)((((int32_t)((!(((float)L_2) <= ((float)L_3)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
  18331. bool L_4 = V_0;
  18332. if (!L_4)
  18333. {
  18334. goto IL_0017;
  18335. }
  18336. }
  18337. {
  18338. float L_5 = ___1_target;
  18339. V_1 = L_5;
  18340. goto IL_0026;
  18341. }
  18342. IL_0017:
  18343. {
  18344. float L_6 = ___0_current;
  18345. float L_7 = ___1_target;
  18346. float L_8 = ___0_current;
  18347. float L_9;
  18348. L_9 = Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline(((float)il2cpp_codegen_subtract(L_7, L_8)), NULL);
  18349. float L_10 = ___2_maxDelta;
  18350. V_1 = ((float)il2cpp_codegen_add(L_6, ((float)il2cpp_codegen_multiply(L_9, L_10))));
  18351. goto IL_0026;
  18352. }
  18353. IL_0026:
  18354. {
  18355. float L_11 = V_1;
  18356. return L_11;
  18357. }
  18358. }
  18359. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Leg_set_hasToes_m0E8B62C139858894C6165A29F472670E8A4A1117_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, bool ___0_value, const RuntimeMethod* method)
  18360. {
  18361. {
  18362. bool L_0 = ___0_value;
  18363. __this->___U3ChasToesU3Ek__BackingField = L_0;
  18364. return;
  18365. }
  18366. }
  18367. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Leg_set_rotation_m56608E1FBA3B4397428CB0C923C16048732104FC_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method)
  18368. {
  18369. {
  18370. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_value;
  18371. __this->___U3CrotationU3Ek__BackingField = L_0;
  18372. return;
  18373. }
  18374. }
  18375. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Leg_set_position_m4CB61ADC3BB9CD60A7815342D00CC04469171A63_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  18376. {
  18377. {
  18378. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  18379. __this->___U3CpositionU3Ek__BackingField = L_0;
  18380. return;
  18381. }
  18382. }
  18383. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Leg_get_rotation_mF1455C895FB47CC46BD7676D98B531A8DCD40F8B_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  18384. {
  18385. {
  18386. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___U3CrotationU3Ek__BackingField;
  18387. return L_0;
  18388. }
  18389. }
  18390. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Leg_get_position_m172DB25420182F93C1A9B99EA35A1B50F9942EF0_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  18391. {
  18392. {
  18393. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CpositionU3Ek__BackingField;
  18394. return L_0;
  18395. }
  18396. }
  18397. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Leg_set_thighRelativeToPelvis_m2603AD0CD664954B29E4900145E5EFF00A86ED6B_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  18398. {
  18399. {
  18400. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  18401. __this->___U3CthighRelativeToPelvisU3Ek__BackingField = L_0;
  18402. return;
  18403. }
  18404. }
  18405. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Leg_get_hasToes_m6FA0D47B1557EB3901C232B17716EA3019BCDA8A_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  18406. {
  18407. {
  18408. bool L_0 = __this->___U3ChasToesU3Ek__BackingField;
  18409. return L_0;
  18410. }
  18411. }
  18412. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline (float ___0_d, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, const RuntimeMethod* method)
  18413. {
  18414. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  18415. memset((&V_0), 0, sizeof(V_0));
  18416. {
  18417. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_a;
  18418. float L_1 = L_0.___x;
  18419. float L_2 = ___0_d;
  18420. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___1_a;
  18421. float L_4 = L_3.___y;
  18422. float L_5 = ___0_d;
  18423. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_a;
  18424. float L_7 = L_6.___z;
  18425. float L_8 = ___0_d;
  18426. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  18427. memset((&L_9), 0, sizeof(L_9));
  18428. 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);
  18429. V_0 = L_9;
  18430. goto IL_0021;
  18431. }
  18432. IL_0021:
  18433. {
  18434. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
  18435. return L_10;
  18436. }
  18437. }
  18438. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Leg_get_thighRelativeToPelvis_m2FAD48A130408E578941FDB03EFB3974F05246B8_inline (Leg_tAA61158903F26AB81288B3E92E6D56FC43B495E2* __this, const RuntimeMethod* method)
  18439. {
  18440. {
  18441. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CthighRelativeToPelvisU3Ek__BackingField;
  18442. return L_0;
  18443. }
  18444. }
  18445. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Locomotion_set_centerOfMass_mD783669B7A1956007E334E19BB7F1689AF7AC5DE_inline (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  18446. {
  18447. {
  18448. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  18449. __this->___U3CcenterOfMassU3Ek__BackingField = L_0;
  18450. return;
  18451. }
  18452. }
  18453. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Locomotion_get_centerOfMass_mFD73B5CE3D72D1F452C6E4D6C30E64BFDECC3D67_inline (Locomotion_tC79709DE95B9763CEEFD167926A53D86E07EB4BD* __this, const RuntimeMethod* method)
  18454. {
  18455. {
  18456. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CcenterOfMassU3Ek__BackingField;
  18457. return L_0;
  18458. }
  18459. }
  18460. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
  18461. {
  18462. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  18463. memset((&V_0), 0, sizeof(V_0));
  18464. {
  18465. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
  18466. float L_1 = L_0.___x;
  18467. float L_2 = ___1_d;
  18468. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
  18469. float L_4 = L_3.___y;
  18470. float L_5 = ___1_d;
  18471. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
  18472. float L_7 = L_6.___z;
  18473. float L_8 = ___1_d;
  18474. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
  18475. memset((&L_9), 0, sizeof(L_9));
  18476. Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)(L_1/L_2)), ((float)(L_4/L_5)), ((float)(L_7/L_8)), NULL);
  18477. V_0 = L_9;
  18478. goto IL_0021;
  18479. }
  18480. IL_0021:
  18481. {
  18482. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
  18483. return L_10;
  18484. }
  18485. }
  18486. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, float ___1_maxLength, const RuntimeMethod* method)
  18487. {
  18488. static bool s_Il2CppMethodInitialized;
  18489. if (!s_Il2CppMethodInitialized)
  18490. {
  18491. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  18492. s_Il2CppMethodInitialized = true;
  18493. }
  18494. float V_0 = 0.0f;
  18495. bool V_1 = false;
  18496. float V_2 = 0.0f;
  18497. float V_3 = 0.0f;
  18498. float V_4 = 0.0f;
  18499. float V_5 = 0.0f;
  18500. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
  18501. memset((&V_6), 0, sizeof(V_6));
  18502. {
  18503. float L_0;
  18504. L_0 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___0_vector), NULL);
  18505. V_0 = L_0;
  18506. float L_1 = V_0;
  18507. float L_2 = ___1_maxLength;
  18508. float L_3 = ___1_maxLength;
  18509. V_1 = (bool)((((float)L_1) > ((float)((float)il2cpp_codegen_multiply(L_2, L_3))))? 1 : 0);
  18510. bool L_4 = V_1;
  18511. if (!L_4)
  18512. {
  18513. goto IL_004e;
  18514. }
  18515. }
  18516. {
  18517. float L_5 = V_0;
  18518. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  18519. double L_6;
  18520. L_6 = sqrt(((double)L_5));
  18521. V_2 = ((float)L_6);
  18522. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___0_vector;
  18523. float L_8 = L_7.___x;
  18524. float L_9 = V_2;
  18525. V_3 = ((float)(L_8/L_9));
  18526. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
  18527. float L_11 = L_10.___y;
  18528. float L_12 = V_2;
  18529. V_4 = ((float)(L_11/L_12));
  18530. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_vector;
  18531. float L_14 = L_13.___z;
  18532. float L_15 = V_2;
  18533. V_5 = ((float)(L_14/L_15));
  18534. float L_16 = V_3;
  18535. float L_17 = ___1_maxLength;
  18536. float L_18 = V_4;
  18537. float L_19 = ___1_maxLength;
  18538. float L_20 = V_5;
  18539. float L_21 = ___1_maxLength;
  18540. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
  18541. memset((&L_22), 0, sizeof(L_22));
  18542. 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);
  18543. V_6 = L_22;
  18544. goto IL_0053;
  18545. }
  18546. IL_004e:
  18547. {
  18548. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = ___0_vector;
  18549. V_6 = L_23;
  18550. goto IL_0053;
  18551. }
  18552. IL_0053:
  18553. {
  18554. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_6;
  18555. return L_24;
  18556. }
  18557. }
  18558. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, const RuntimeMethod* method)
  18559. {
  18560. static bool s_Il2CppMethodInitialized;
  18561. if (!s_Il2CppMethodInitialized)
  18562. {
  18563. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  18564. s_Il2CppMethodInitialized = true;
  18565. }
  18566. float V_0 = 0.0f;
  18567. float V_1 = 0.0f;
  18568. bool V_2 = false;
  18569. float V_3 = 0.0f;
  18570. {
  18571. float L_0;
  18572. L_0 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___0_from), NULL);
  18573. float L_1;
  18574. L_1 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___1_to), NULL);
  18575. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  18576. double L_2;
  18577. L_2 = sqrt(((double)((float)il2cpp_codegen_multiply(L_0, L_1))));
  18578. V_0 = ((float)L_2);
  18579. float L_3 = V_0;
  18580. V_2 = (bool)((((float)L_3) < ((float)(1.0E-15f)))? 1 : 0);
  18581. bool L_4 = V_2;
  18582. if (!L_4)
  18583. {
  18584. goto IL_002c;
  18585. }
  18586. }
  18587. {
  18588. V_3 = (0.0f);
  18589. goto IL_0056;
  18590. }
  18591. IL_002c:
  18592. {
  18593. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___0_from;
  18594. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_to;
  18595. float L_7;
  18596. L_7 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_5, L_6, NULL);
  18597. float L_8 = V_0;
  18598. float L_9;
  18599. L_9 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)(L_7/L_8)), (-1.0f), (1.0f), NULL);
  18600. V_1 = L_9;
  18601. float L_10 = V_1;
  18602. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  18603. double L_11;
  18604. L_11 = acos(((double)L_10));
  18605. V_3 = ((float)il2cpp_codegen_multiply(((float)L_11), (57.2957802f)));
  18606. goto IL_0056;
  18607. }
  18608. IL_0056:
  18609. {
  18610. float L_12 = V_3;
  18611. return L_12;
  18612. }
  18613. }
  18614. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
  18615. {
  18616. float V_0 = 0.0f;
  18617. {
  18618. float L_0 = __this->___x;
  18619. float L_1 = __this->___x;
  18620. float L_2 = __this->___y;
  18621. float L_3 = __this->___y;
  18622. float L_4 = __this->___z;
  18623. float L_5 = __this->___z;
  18624. 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))));
  18625. goto IL_002d;
  18626. }
  18627. IL_002d:
  18628. {
  18629. float L_6 = V_0;
  18630. return L_6;
  18631. }
  18632. }
  18633. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
  18634. {
  18635. static bool s_Il2CppMethodInitialized;
  18636. if (!s_Il2CppMethodInitialized)
  18637. {
  18638. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  18639. s_Il2CppMethodInitialized = true;
  18640. }
  18641. float V_0 = 0.0f;
  18642. {
  18643. float L_0 = __this->___x;
  18644. float L_1 = __this->___x;
  18645. float L_2 = __this->___y;
  18646. float L_3 = __this->___y;
  18647. float L_4 = __this->___z;
  18648. float L_5 = __this->___z;
  18649. il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
  18650. double L_6;
  18651. 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))))));
  18652. V_0 = ((float)L_6);
  18653. goto IL_0034;
  18654. }
  18655. IL_0034:
  18656. {
  18657. float L_7 = V_0;
  18658. return L_7;
  18659. }
  18660. }
  18661. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Spine_set_anchorRelativeToHead_m81848111682758140D3E2C527C15E66A230A7CF1_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method)
  18662. {
  18663. {
  18664. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_value;
  18665. __this->___U3CanchorRelativeToHeadU3Ek__BackingField = L_0;
  18666. return;
  18667. }
  18668. }
  18669. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Spine_get_anchorRelativeToHead_mC024F027EC9B56BDC1454C414C6F343B0A1924FE_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  18670. {
  18671. {
  18672. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___U3CanchorRelativeToHeadU3Ek__BackingField;
  18673. return L_0;
  18674. }
  18675. }
  18676. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Spine_set_anchorRotation_m9DCC53962872B70682223384786A3443ADAEE75F_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method)
  18677. {
  18678. {
  18679. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_value;
  18680. __this->___U3CanchorRotationU3Ek__BackingField = L_0;
  18681. return;
  18682. }
  18683. }
  18684. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Spine_get_anchorRotation_m678C1386D10833551B3D31B96C831BBDB2D92527_inline (Spine_t0D40B76BC4B504AF701568EC2B9C4132C2E12CDA* __this, const RuntimeMethod* method)
  18685. {
  18686. {
  18687. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___U3CanchorRotationU3Ek__BackingField;
  18688. return L_0;
  18689. }
  18690. }
  18691. 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)
  18692. {
  18693. {
  18694. float L_0 = ___0_x;
  18695. __this->___x = L_0;
  18696. float L_1 = ___1_y;
  18697. __this->___y = L_1;
  18698. float L_2 = ___2_z;
  18699. __this->___z = L_2;
  18700. return;
  18701. }
  18702. }
  18703. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
  18704. {
  18705. float V_0 = 0.0f;
  18706. float G_B3_0 = 0.0f;
  18707. {
  18708. float L_0 = ___0_a;
  18709. float L_1 = ___1_b;
  18710. if ((((float)L_0) > ((float)L_1)))
  18711. {
  18712. goto IL_0008;
  18713. }
  18714. }
  18715. {
  18716. float L_2 = ___1_b;
  18717. G_B3_0 = L_2;
  18718. goto IL_0009;
  18719. }
  18720. IL_0008:
  18721. {
  18722. float L_3 = ___0_a;
  18723. G_B3_0 = L_3;
  18724. }
  18725. IL_0009:
  18726. {
  18727. V_0 = G_B3_0;
  18728. goto IL_000c;
  18729. }
  18730. IL_000c:
  18731. {
  18732. float L_4 = V_0;
  18733. return L_4;
  18734. }
  18735. }
  18736. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* InteractionEffector_get_interactionObject_mDDD3707F56995063912A8D7CE973CAF8CC7ABC8E_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  18737. {
  18738. {
  18739. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_0 = __this->___U3CinteractionObjectU3Ek__BackingField;
  18740. return L_0;
  18741. }
  18742. }
  18743. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionEffector_set_effectorType_mD3F1DDBC4A3BBB18CE2D36BF670A04492F9D6FFF_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, int32_t ___0_value, const RuntimeMethod* method)
  18744. {
  18745. {
  18746. int32_t L_0 = ___0_value;
  18747. __this->___U3CeffectorTypeU3Ek__BackingField = L_0;
  18748. return;
  18749. }
  18750. }
  18751. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* InteractionSystem_get_ik_m0BC05B14FD884836F4FF557B87D80EB33A2193E2_inline (InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* __this, const RuntimeMethod* method)
  18752. {
  18753. {
  18754. FullBodyBipedIK_tEAA419594BB900CAF1E781E6EC6223498A032822* L_0 = __this->___fullBody;
  18755. return L_0;
  18756. }
  18757. }
  18758. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t InteractionEffector_get_effectorType_mEB695BF6E8B1066DA76A1CA785B6A79E0C7FBCBB_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  18759. {
  18760. {
  18761. int32_t L_0 = __this->___U3CeffectorTypeU3Ek__BackingField;
  18762. return L_0;
  18763. }
  18764. }
  18765. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool InteractionEffector_get_isPaused_mA3F799B5F6A45C26B064DCB13E9E13D629E91678_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, const RuntimeMethod* method)
  18766. {
  18767. {
  18768. bool L_0 = __this->___U3CisPausedU3Ek__BackingField;
  18769. return L_0;
  18770. }
  18771. }
  18772. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool IKEffector_get_isEndEffector_m54200CE28232E1CED2790F2FC02DB411885F1F1B_inline (IKEffector_t9F145F13F381A462A8A2E5FC737C3032268C18FF* __this, const RuntimeMethod* method)
  18773. {
  18774. {
  18775. bool L_0 = __this->___U3CisEndEffectorU3Ek__BackingField;
  18776. return L_0;
  18777. }
  18778. }
  18779. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionEffector_set_isPaused_mB60B2B33B9E5988B3F120E307B21EEE57269CF14_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, bool ___0_value, const RuntimeMethod* method)
  18780. {
  18781. {
  18782. bool L_0 = ___0_value;
  18783. __this->___U3CisPausedU3Ek__BackingField = L_0;
  18784. return;
  18785. }
  18786. }
  18787. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionDelegate_Invoke_m2F62DF75255BA759101735960F4F8E35242E7730_inline (InteractionDelegate_t9331BFD9E10F5CC4056FACD1A998CC1101764156* __this, int32_t ___0_effectorType, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* ___1_interactionObject, const RuntimeMethod* method)
  18788. {
  18789. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60*, const RuntimeMethod*);
  18790. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_effectorType, ___1_interactionObject, reinterpret_cast<RuntimeMethod*>(__this->___method));
  18791. }
  18792. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionEffector_set_interactionObject_mDF7E92D00FA1651B49870389CF922A5D7A2D9AE0_inline (InteractionEffector_t6AFF62D7B5DA97B51B017D6CE7831484E43D0276* __this, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* ___0_value, const RuntimeMethod* method)
  18793. {
  18794. {
  18795. InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* L_0 = ___0_value;
  18796. __this->___U3CinteractionObjectU3Ek__BackingField = L_0;
  18797. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CinteractionObjectU3Ek__BackingField), (void*)L_0);
  18798. return;
  18799. }
  18800. }
  18801. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float InteractionObject_get_length_m8461CFF9DF97B5D525916F1E7F7B2BDC9A845D51_inline (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, const RuntimeMethod* method)
  18802. {
  18803. {
  18804. float L_0 = __this->___U3ClengthU3Ek__BackingField;
  18805. return L_0;
  18806. }
  18807. }
  18808. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionEventDelegate_Invoke_m7032F1CC92BBC3B7F3BF5F619624B225C2106C54_inline (InteractionEventDelegate_tC38EB2E99F478D06EBD5526282E9129A63A09885* __this, int32_t ___0_effectorType, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* ___1_interactionObject, InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033* ___2_interactionEvent, const RuntimeMethod* method)
  18809. {
  18810. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60*, InteractionEvent_tC2112DD5490B07ECA2CC426B69933B9E06DE1033*, const RuntimeMethod*);
  18811. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_effectorType, ___1_interactionObject, ___2_interactionEvent, reinterpret_cast<RuntimeMethod*>(__this->___method));
  18812. }
  18813. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* IKSolver_GetRoot_m7D24B02364E0D9A349363A7217C24205B3E84927_inline (IKSolver_t803D6EF1B41426324D09EB49BEDAA6BA2AB69D04* __this, const RuntimeMethod* method)
  18814. {
  18815. {
  18816. Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___root;
  18817. return L_0;
  18818. }
  18819. }
  18820. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionObject_set_length_m9A11285A8915A06BD9EA7D789A7942FD948ED21C_inline (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, float ___0_value, const RuntimeMethod* method)
  18821. {
  18822. {
  18823. float L_0 = ___0_value;
  18824. __this->___U3ClengthU3Ek__BackingField = L_0;
  18825. return;
  18826. }
  18827. }
  18828. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void InteractionObject_set_lastUsedInteractionSystem_m97E1A1386A44C5628D23020A0D4DC537CE1C0230_inline (InteractionObject_t479DAC8BE212F93A82A4F53CBE907FD5415D4C60* __this, InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* ___0_value, const RuntimeMethod* method)
  18829. {
  18830. {
  18831. InteractionSystem_t33F611FA4C175CD40C87ED3D5B6F046FF2F26B5F* L_0 = ___0_value;
  18832. __this->___U3ClastUsedInteractionSystemU3Ek__BackingField = L_0;
  18833. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3ClastUsedInteractionSystemU3Ek__BackingField), (void*)L_0);
  18834. return;
  18835. }
  18836. }
  18837. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mAD42099EBC7E640561281C5FEDF47997858D9073_gshared_inline (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, const RuntimeMethod* method)
  18838. {
  18839. int32_t V_0 = 0;
  18840. {
  18841. int32_t L_0 = __this->____version;
  18842. __this->____version = ((int32_t)il2cpp_codegen_add(L_0, 1));
  18843. goto IL_0035;
  18844. }
  18845. IL_0035:
  18846. {
  18847. __this->____size = 0;
  18848. }
  18849. IL_003c:
  18850. {
  18851. return;
  18852. }
  18853. }
  18854. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m5AAB6DCB6C30EB5769B4E8DB8170E50319F0A9ED_gshared_inline (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, bool ___0_item, const RuntimeMethod* method)
  18855. {
  18856. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* V_0 = NULL;
  18857. int32_t V_1 = 0;
  18858. {
  18859. int32_t L_0 = __this->____version;
  18860. __this->____version = ((int32_t)il2cpp_codegen_add(L_0, 1));
  18861. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_1 = __this->____items;
  18862. V_0 = L_1;
  18863. int32_t L_2 = __this->____size;
  18864. V_1 = L_2;
  18865. int32_t L_3 = V_1;
  18866. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_4 = V_0;
  18867. NullCheck(L_4);
  18868. if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
  18869. {
  18870. goto IL_0034;
  18871. }
  18872. }
  18873. {
  18874. int32_t L_5 = V_1;
  18875. __this->____size = ((int32_t)il2cpp_codegen_add(L_5, 1));
  18876. BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_6 = V_0;
  18877. int32_t L_7 = V_1;
  18878. bool L_8 = ___0_item;
  18879. NullCheck(L_6);
  18880. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (bool)L_8);
  18881. return;
  18882. }
  18883. IL_0034:
  18884. {
  18885. bool L_9 = ___0_item;
  18886. List_1_AddWithResize_mD783561518F916982595A58C9A148BA3AA8F9B10(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 14));
  18887. return;
  18888. }
  18889. }
  18890. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4573A12BFDA535926500C04E88A94540C95C395D_gshared_inline (List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* __this, const RuntimeMethod* method)
  18891. {
  18892. {
  18893. int32_t L_0 = __this->____size;
  18894. return L_0;
  18895. }
  18896. }
  18897. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
  18898. {
  18899. float V_0 = 0.0f;
  18900. bool V_1 = false;
  18901. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
  18902. memset((&V_2), 0, sizeof(V_2));
  18903. {
  18904. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
  18905. float L_1;
  18906. L_1 = Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline(L_0, NULL);
  18907. V_0 = L_1;
  18908. float L_2 = V_0;
  18909. V_1 = (bool)((((float)L_2) > ((float)(9.99999975E-06f)))? 1 : 0);
  18910. bool L_3 = V_1;
  18911. if (!L_3)
  18912. {
  18913. goto IL_001e;
  18914. }
  18915. }
  18916. {
  18917. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_value;
  18918. float L_5 = V_0;
  18919. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
  18920. L_6 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_4, L_5, NULL);
  18921. V_2 = L_6;
  18922. goto IL_0026;
  18923. }
  18924. IL_001e:
  18925. {
  18926. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
  18927. L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
  18928. V_2 = L_7;
  18929. goto IL_0026;
  18930. }
  18931. IL_0026:
  18932. {
  18933. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
  18934. return L_8;
  18935. }
  18936. }
  18937. 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)
  18938. {
  18939. {
  18940. float L_0 = ___0_x;
  18941. __this->___x = L_0;
  18942. float L_1 = ___1_y;
  18943. __this->___y = L_1;
  18944. float L_2 = ___2_z;
  18945. __this->___z = L_2;
  18946. float L_3 = ___3_w;
  18947. __this->___w = L_3;
  18948. return;
  18949. }
  18950. }
  18951. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Repeat_m6F1560A163481BB311D685294E1B463C3E4EB3BA_inline (float ___0_t, float ___1_length, const RuntimeMethod* method)
  18952. {
  18953. float V_0 = 0.0f;
  18954. {
  18955. float L_0 = ___0_t;
  18956. float L_1 = ___0_t;
  18957. float L_2 = ___1_length;
  18958. float L_3;
  18959. L_3 = floorf(((float)(L_1/L_2)));
  18960. float L_4 = ___1_length;
  18961. float L_5 = ___1_length;
  18962. float L_6;
  18963. 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);
  18964. V_0 = L_6;
  18965. goto IL_001b;
  18966. }
  18967. IL_001b:
  18968. {
  18969. float L_7 = V_0;
  18970. return L_7;
  18971. }
  18972. }
  18973. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method)
  18974. {
  18975. bool V_0 = false;
  18976. float V_1 = 0.0f;
  18977. bool V_2 = false;
  18978. {
  18979. float L_0 = ___0_value;
  18980. V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
  18981. bool L_1 = V_0;
  18982. if (!L_1)
  18983. {
  18984. goto IL_0015;
  18985. }
  18986. }
  18987. {
  18988. V_1 = (0.0f);
  18989. goto IL_002d;
  18990. }
  18991. IL_0015:
  18992. {
  18993. float L_2 = ___0_value;
  18994. V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
  18995. bool L_3 = V_2;
  18996. if (!L_3)
  18997. {
  18998. goto IL_0029;
  18999. }
  19000. }
  19001. {
  19002. V_1 = (1.0f);
  19003. goto IL_002d;
  19004. }
  19005. IL_0029:
  19006. {
  19007. float L_4 = ___0_value;
  19008. V_1 = L_4;
  19009. goto IL_002d;
  19010. }
  19011. IL_002d:
  19012. {
  19013. float L_5 = V_1;
  19014. return L_5;
  19015. }
  19016. }
  19017. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method)
  19018. {
  19019. {
  19020. float L_0 = ___0_r;
  19021. __this->___r = L_0;
  19022. float L_1 = ___1_g;
  19023. __this->___g = L_1;
  19024. float L_2 = ___2_b;
  19025. __this->___b = L_2;
  19026. float L_3 = ___3_a;
  19027. __this->___a = L_3;
  19028. return;
  19029. }
  19030. }
  19031. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Dot_mF9D3BE33940A47979DADA7E81650AEB356D5D12B_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method)
  19032. {
  19033. float V_0 = 0.0f;
  19034. {
  19035. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_a;
  19036. float L_1 = L_0.___x;
  19037. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___1_b;
  19038. float L_3 = L_2.___x;
  19039. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ___0_a;
  19040. float L_5 = L_4.___y;
  19041. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_b;
  19042. float L_7 = L_6.___y;
  19043. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ___0_a;
  19044. float L_9 = L_8.___z;
  19045. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ___1_b;
  19046. float L_11 = L_10.___z;
  19047. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___0_a;
  19048. float L_13 = L_12.___w;
  19049. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = ___1_b;
  19050. float L_15 = L_14.___w;
  19051. V_0 = ((float)il2cpp_codegen_add(((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))));
  19052. goto IL_003b;
  19053. }
  19054. IL_003b:
  19055. {
  19056. float L_16 = V_0;
  19057. return L_16;
  19058. }
  19059. }
  19060. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Quaternion_IsEqualUsingDot_m9C672201C918C2D1E739F559DBE4406F95997CBD_inline (float ___0_dot, const RuntimeMethod* method)
  19061. {
  19062. bool V_0 = false;
  19063. {
  19064. float L_0 = ___0_dot;
  19065. V_0 = (bool)((((float)L_0) > ((float)(0.999998987f)))? 1 : 0);
  19066. goto IL_000c;
  19067. }
  19068. IL_000c:
  19069. {
  19070. bool L_1 = V_0;
  19071. return L_1;
  19072. }
  19073. }
  19074. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline (float ___0_f, const RuntimeMethod* method)
  19075. {
  19076. float V_0 = 0.0f;
  19077. float G_B3_0 = 0.0f;
  19078. {
  19079. float L_0 = ___0_f;
  19080. if ((((float)L_0) >= ((float)(0.0f))))
  19081. {
  19082. goto IL_0010;
  19083. }
  19084. }
  19085. {
  19086. G_B3_0 = (-1.0f);
  19087. goto IL_0015;
  19088. }
  19089. IL_0010:
  19090. {
  19091. G_B3_0 = (1.0f);
  19092. }
  19093. IL_0015:
  19094. {
  19095. V_0 = G_B3_0;
  19096. goto IL_0018;
  19097. }
  19098. IL_0018:
  19099. {
  19100. float L_1 = V_0;
  19101. return L_1;
  19102. }
  19103. }