暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NativeCamera.Runtime.cpp 322KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045
  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 InterfaceActionInvoker0
  9. {
  10. typedef void (*Action)(void*, const RuntimeMethod*);
  11. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
  12. {
  13. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  14. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  15. }
  16. };
  17. template <typename T1>
  18. struct InvokerActionInvoker1
  19. {
  20. static inline void Invoke (Il2CppMethodPointer methodPtr, const RuntimeMethod* method, void* obj, T1 p1)
  21. {
  22. void* params[1] = { &p1 };
  23. method->invoker_method(methodPtr, method, obj, params, NULL);
  24. }
  25. };
  26. template <typename T1>
  27. struct InvokerActionInvoker1<T1*>
  28. {
  29. static inline void Invoke (Il2CppMethodPointer methodPtr, const RuntimeMethod* method, void* obj, T1* p1)
  30. {
  31. void* params[1] = { p1 };
  32. method->invoker_method(methodPtr, method, obj, params, NULL);
  33. }
  34. };
  35. template <typename T1, typename T2>
  36. struct InvokerActionInvoker2;
  37. template <typename T1, typename T2>
  38. struct InvokerActionInvoker2<T1*, T2>
  39. {
  40. static inline void Invoke (Il2CppMethodPointer methodPtr, const RuntimeMethod* method, void* obj, T1* p1, T2 p2)
  41. {
  42. void* params[2] = { p1, &p2 };
  43. method->invoker_method(methodPtr, method, obj, params, NULL);
  44. }
  45. };
  46. template <typename T1, typename T2>
  47. struct InvokerActionInvoker2<T1*, T2*>
  48. {
  49. static inline void Invoke (Il2CppMethodPointer methodPtr, const RuntimeMethod* method, void* obj, T1* p1, T2* p2)
  50. {
  51. void* params[2] = { p1, p2 };
  52. method->invoker_method(methodPtr, method, obj, params, NULL);
  53. }
  54. };
  55. // System.Action`1<UnityEngine.AsyncOperation>
  56. struct Action_1_tE8693FF0E67CDBA52BAFB211BFF1844D076ABAFB;
  57. // System.Action`1<System.Object>
  58. struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87;
  59. // System.Collections.Generic.Dictionary`2<System.Int32,System.Globalization.CultureInfo>
  60. struct Dictionary_2_t9FA6D82CAFC18769F7515BB51D1C56DAE09381C3;
  61. // System.Collections.Generic.Dictionary`2<System.Int32,System.Threading.Tasks.Task>
  62. struct Dictionary_2_t403063CE4960B4F46C688912237C6A27E550FF55;
  63. // System.Collections.Generic.Dictionary`2<System.String,System.Globalization.CultureInfo>
  64. struct Dictionary_2_tE1603CE612C16451D1E56FF4D4859D4FE4087C28;
  65. // System.Func`1<System.Object>
  66. struct Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4;
  67. // System.Func`1<System.String>
  68. struct Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C;
  69. // System.Func`1<System.Threading.Tasks.Task/ContingentProperties>
  70. struct Func_1_tD59A12717D79BFB403BF973694B1BE5B85474BD1;
  71. // System.Predicate`1<System.Object>
  72. struct Predicate_1_t8342C85FF4E41CD1F7024AC0CDC3E5312A32CB12;
  73. // System.Predicate`1<System.Threading.Tasks.Task>
  74. struct Predicate_1_t7F48518B008C1472339EEEBABA3DE203FE1F26ED;
  75. // System.Threading.Tasks.TaskCompletionSource`1<System.Int32Enum>
  76. struct TaskCompletionSource_1_tF8DA32849B904AE4F51ECAF6C6D7FA080481A35A;
  77. // System.Threading.Tasks.TaskCompletionSource`1<NativeCamera/Permission>
  78. struct TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531;
  79. // System.Threading.Tasks.TaskFactory`1<System.Int32Enum>
  80. struct TaskFactory_1_t96AF1AA119B568BA8916E7FD621B61B350B9BB49;
  81. // System.Threading.Tasks.TaskFactory`1<System.String>
  82. struct TaskFactory_1_t7ABCD7F9503486A075E0B072E6EB95956CFE3106;
  83. // System.Threading.Tasks.TaskFactory`1<UnityEngine.Texture2D>
  84. struct TaskFactory_1_tA02CD66EEE1C447BE2C3BDAF4821F919418AE5FF;
  85. // System.Threading.Tasks.TaskFactory`1<NativeCamera/Permission>
  86. struct TaskFactory_1_t7E63F6634D69B0FEA76FDA2DA921B250C00B353F;
  87. // System.Threading.Tasks.Task`1<System.Int32Enum>
  88. struct Task_1_t8DED34447688BFCF5112B0D05D5A80CED94E4BFB;
  89. // System.Threading.Tasks.Task`1<System.Object>
  90. struct Task_1_t0C4CD3A5BB93A184420D73218644C56C70FDA7E2;
  91. // System.Threading.Tasks.Task`1<System.String>
  92. struct Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0;
  93. // System.Threading.Tasks.Task`1<UnityEngine.Texture2D>
  94. struct Task_1_t95921EB64E237ACD28589D64B693C652268F225E;
  95. // System.Threading.Tasks.Task`1<NativeCamera/Permission>
  96. struct Task_1_t75D76B0D2A565B05D89753E60648134269CB6DED;
  97. // System.Byte[]
  98. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  99. // System.Delegate[]
  100. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  101. // System.IntPtr[]
  102. struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
  103. // System.Object[]
  104. struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
  105. // System.Diagnostics.StackTrace[]
  106. struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
  107. // System.String[]
  108. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
  109. // System.Action
  110. struct Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07;
  111. // UnityEngine.AndroidJavaClass
  112. struct AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03;
  113. // UnityEngine.AndroidJavaObject
  114. struct AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0;
  115. // UnityEngine.AndroidJavaProxy
  116. struct AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D;
  117. // System.ArgumentException
  118. struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263;
  119. // System.AsyncCallback
  120. struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C;
  121. // UnityEngine.AsyncOperation
  122. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C;
  123. // System.Globalization.Calendar
  124. struct Calendar_t0A117CC7532A54C17188C2EFEA1F79DB20DF3A3B;
  125. // UnityEngine.Networking.CertificateHandler
  126. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804;
  127. // System.Globalization.CompareInfo
  128. struct CompareInfo_t1B1A6AC3486B570C76ABA52149C9BD4CD82F9E57;
  129. // UnityEngine.Component
  130. struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
  131. // System.Threading.ContextCallback
  132. struct ContextCallback_tE8AFBDBFCC040FDA8DA8C1EEFE9BD66B16BDA007;
  133. // System.Globalization.CultureData
  134. struct CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D;
  135. // System.Globalization.CultureInfo
  136. struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0;
  137. // System.Globalization.DateTimeFormatInfo
  138. struct DateTimeFormatInfo_t0457520F9FA7B5C8EAAEB3AD50413B6AEEB7458A;
  139. // System.Delegate
  140. struct Delegate_t;
  141. // System.DelegateData
  142. struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
  143. // System.IO.DirectoryInfo
  144. struct DirectoryInfo_tEAEEC018EB49B4A71907FFEAFE935FAA8F9C1FE2;
  145. // UnityEngine.Networking.DownloadHandler
  146. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB;
  147. // System.Exception
  148. struct Exception_t;
  149. // System.IO.FileNotFoundException
  150. struct FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A;
  151. // UnityEngine.GameObject
  152. struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
  153. // UnityEngine.GlobalJavaObjectRef
  154. struct GlobalJavaObjectRef_t20D8E5AAFC2EB2518FCABBF40465855E797FF0D8;
  155. // System.IAsyncResult
  156. struct IAsyncResult_t7B9B5A0ECB35DCEC31B8A8122C37D687369253B5;
  157. // System.Runtime.CompilerServices.IAsyncStateMachine
  158. struct IAsyncStateMachine_t0680C7F905C553076B552D5A1A6E39E2F0F36AA2;
  159. // System.Collections.IDictionary
  160. struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
  161. // System.IFormatProvider
  162. struct IFormatProvider_tC202922D43BFF3525109ABF3FB79625F5646AB52;
  163. // System.Reflection.MethodInfo
  164. struct MethodInfo_t;
  165. // UnityEngine.MonoBehaviour
  166. struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
  167. // NativeCameraNamespace.NCCallbackHelper
  168. struct NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA;
  169. // NativeCameraNamespace.NCCameraCallbackAndroid
  170. struct NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378;
  171. // NativeCameraNamespace.NCPermissionCallbackAndroid
  172. struct NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91;
  173. // NativeCameraNamespace.NCPermissionCallbackAsyncAndroid
  174. struct NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B;
  175. // System.Globalization.NumberFormatInfo
  176. struct NumberFormatInfo_t8E26808B202927FEBF9064FCFEEA4D6E076E6472;
  177. // UnityEngine.Object
  178. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
  179. // System.Runtime.Serialization.SafeSerializationManager
  180. struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
  181. // System.Threading.SendOrPostCallback
  182. struct SendOrPostCallback_t5C292A12062F24027A98492F52ECFE9802AA6F0E;
  183. // System.Threading.Tasks.StackGuard
  184. struct StackGuard_tACE063A1B7374BDF4AD472DE4585D05AD8745352;
  185. // System.String
  186. struct String_t;
  187. // System.Threading.Tasks.TaskFactory
  188. struct TaskFactory_tF781BD37BE23917412AD83424D1497C7C1509DF0;
  189. // System.Threading.Tasks.TaskScheduler
  190. struct TaskScheduler_t3F0550EBEF7C41F74EC8C08FF4BED0D8CE66006E;
  191. // System.Globalization.TextInfo
  192. struct TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4;
  193. // UnityEngine.Texture2D
  194. struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4;
  195. // UnityEngine.Networking.UnityWebRequest
  196. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F;
  197. // UnityEngine.Networking.UnityWebRequestAsyncOperation
  198. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C;
  199. // UnityEngine.Networking.UploadHandler
  200. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6;
  201. // System.Uri
  202. struct Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E;
  203. // System.Void
  204. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  205. // System.Threading.WaitCallback
  206. struct WaitCallback_tFB2C7FD58D024BBC2B0333DC7A4CB63B8DEBD5D3;
  207. // NativeCameraNamespace.NCCameraCallbackAndroid/<>c__DisplayClass3_0
  208. struct U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850;
  209. // NativeCameraNamespace.NCPermissionCallbackAsyncAndroid/<>c__DisplayClass3_0
  210. struct U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32;
  211. // NativeCamera/<>c__DisplayClass20_0
  212. struct U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E;
  213. // NativeCamera/<>c__DisplayClass28_0
  214. struct U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB;
  215. // NativeCamera/<>c__DisplayClass30_0
  216. struct U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A;
  217. // NativeCamera/CameraCallback
  218. struct CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771;
  219. // NativeCamera/PermissionCallback
  220. struct PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001;
  221. // System.Threading.Tasks.Task/ContingentProperties
  222. struct ContingentProperties_t3FA59480914505CEA917B1002EC675F29D0CB540;
  223. IL2CPP_EXTERN_C RuntimeClass* Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var;
  224. IL2CPP_EXTERN_C RuntimeClass* AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03_il2cpp_TypeInfo_var;
  225. IL2CPP_EXTERN_C RuntimeClass* AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D_il2cpp_TypeInfo_var;
  226. IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var;
  227. IL2CPP_EXTERN_C RuntimeClass* AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F_il2cpp_TypeInfo_var;
  228. IL2CPP_EXTERN_C RuntimeClass* Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var;
  229. IL2CPP_EXTERN_C RuntimeClass* CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_il2cpp_TypeInfo_var;
  230. IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
  231. IL2CPP_EXTERN_C RuntimeClass* Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F_il2cpp_TypeInfo_var;
  232. IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
  233. IL2CPP_EXTERN_C RuntimeClass* FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A_il2cpp_TypeInfo_var;
  234. IL2CPP_EXTERN_C RuntimeClass* Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C_il2cpp_TypeInfo_var;
  235. IL2CPP_EXTERN_C RuntimeClass* GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var;
  236. IL2CPP_EXTERN_C RuntimeClass* IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var;
  237. IL2CPP_EXTERN_C RuntimeClass* Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var;
  238. IL2CPP_EXTERN_C RuntimeClass* Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3_il2cpp_TypeInfo_var;
  239. IL2CPP_EXTERN_C RuntimeClass* NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378_il2cpp_TypeInfo_var;
  240. IL2CPP_EXTERN_C RuntimeClass* NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91_il2cpp_TypeInfo_var;
  241. IL2CPP_EXTERN_C RuntimeClass* NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B_il2cpp_TypeInfo_var;
  242. IL2CPP_EXTERN_C RuntimeClass* NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var;
  243. IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var;
  244. IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
  245. IL2CPP_EXTERN_C RuntimeClass* Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var;
  246. IL2CPP_EXTERN_C RuntimeClass* PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001_il2cpp_TypeInfo_var;
  247. IL2CPP_EXTERN_C RuntimeClass* Permission_t1EEFB992D4BAC04AB077BD49556F33B8B6E0E9F8_il2cpp_TypeInfo_var;
  248. IL2CPP_EXTERN_C RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
  249. IL2CPP_EXTERN_C RuntimeClass* TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531_il2cpp_TypeInfo_var;
  250. IL2CPP_EXTERN_C RuntimeClass* Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572_il2cpp_TypeInfo_var;
  251. IL2CPP_EXTERN_C RuntimeClass* Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var;
  252. IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E_il2cpp_TypeInfo_var;
  253. IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB_il2cpp_TypeInfo_var;
  254. IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A_il2cpp_TypeInfo_var;
  255. IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32_il2cpp_TypeInfo_var;
  256. IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850_il2cpp_TypeInfo_var;
  257. IL2CPP_EXTERN_C String_t* _stringLiteral0443845674FDE6986E4ECC72A8C096004DF51FC6;
  258. IL2CPP_EXTERN_C String_t* _stringLiteral0A051229B6EA622EA0A0C01F91FB09E1623476AA;
  259. IL2CPP_EXTERN_C String_t* _stringLiteral0CA4721FC9D82D780671DE2AB61257837402697D;
  260. IL2CPP_EXTERN_C String_t* _stringLiteral1256BD059A8D156C0578EF505C83E5862F0EFCD2;
  261. IL2CPP_EXTERN_C String_t* _stringLiteral17A2974EBDD10F9D99410DD81D1AD62BFB8922B8;
  262. IL2CPP_EXTERN_C String_t* _stringLiteral18B82B6B7DC4FE1988BA61A3784D1768F6C925DF;
  263. IL2CPP_EXTERN_C String_t* _stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA;
  264. IL2CPP_EXTERN_C String_t* _stringLiteral22965B1EE1F6EB152925F32087BD48959BA8C1BC;
  265. IL2CPP_EXTERN_C String_t* _stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A;
  266. IL2CPP_EXTERN_C String_t* _stringLiteral3E96C9BB1B953A85290371E8CE7BB3F3ABB307CC;
  267. IL2CPP_EXTERN_C String_t* _stringLiteral491B4D9271839F0BD63211437BF7CEE5B2C6ADE9;
  268. IL2CPP_EXTERN_C String_t* _stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42;
  269. IL2CPP_EXTERN_C String_t* _stringLiteral4D613657609485AE586A3379BA0E3FC13C1E1078;
  270. IL2CPP_EXTERN_C String_t* _stringLiteral5D67C2D23D0E67BA40CD70B037A9F218807BB46F;
  271. IL2CPP_EXTERN_C String_t* _stringLiteral60765CA56083EB814A8E566B08E35D91D1000DEC;
  272. IL2CPP_EXTERN_C String_t* _stringLiteral660F6D5965E09393894520A3BBDDAE9F5DEF81D2;
  273. IL2CPP_EXTERN_C String_t* _stringLiteral75E05143EB132AAA8A22B48813DB8E6047380821;
  274. IL2CPP_EXTERN_C String_t* _stringLiteral76F1B85647641622FD867CE16AF6C584C5081BD4;
  275. IL2CPP_EXTERN_C String_t* _stringLiteral811A5CF8DF2E4D4CA546FECCBB9A503DC8D89283;
  276. IL2CPP_EXTERN_C String_t* _stringLiteral8A4D2503591255173AC6769BB8A784B9CC5B5BC6;
  277. IL2CPP_EXTERN_C String_t* _stringLiteral985B72B30ECE05DD4EF5FE142CEE0FB8BF53A98C;
  278. IL2CPP_EXTERN_C String_t* _stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26;
  279. IL2CPP_EXTERN_C String_t* _stringLiteralA3A21FB44DD18299A19A0B86BA27CEB4EDA6A941;
  280. IL2CPP_EXTERN_C String_t* _stringLiteralAFF4AA19F30B5DC5A240F413D92917103536F1AD;
  281. IL2CPP_EXTERN_C String_t* _stringLiteralBB89381AF6FA67A07F15BA3C2582693F59E071ED;
  282. IL2CPP_EXTERN_C String_t* _stringLiteralCB4507437E3E619ECBAD84410155675EBEB3DB3F;
  283. IL2CPP_EXTERN_C String_t* _stringLiteralDD146CE30524569A8784D1FFE34EA505C910727D;
  284. IL2CPP_EXTERN_C String_t* _stringLiteralE3287997374A5B6321B447152239EBE224279EB6;
  285. IL2CPP_EXTERN_C String_t* _stringLiteralF0750A05DD548EB8E0F9CD56A424497F03563B9D;
  286. IL2CPP_EXTERN_C String_t* _stringLiteralF811A8F3778A439E75478C3728BE25A7853EAF83;
  287. IL2CPP_EXTERN_C String_t* _stringLiteralFB4AE4F77150C3A8E8E4F8B23E734E0C7277B7D9;
  288. IL2CPP_EXTERN_C String_t* _stringLiteralFFB00AB07E4FD5417BED928D76EA5DBF492DFDAE;
  289. IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_CallStatic_TisBoolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_mE956BC9A30BEC746DE593C53C1B8DB6A685185A6_RuntimeMethod_var;
  290. IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_CallStatic_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m6619B03C8DA4F5A66785845A2E5B39DAEF36642A_RuntimeMethod_var;
  291. IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var;
  292. IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_GetStatic_TisAndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0_mD7D192A35EB2B2DA3775FAB081958B72088251DD_RuntimeMethod_var;
  293. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m4B4C82CEEADEF9B96CFD0819E9DA9DC931389FE4_RuntimeMethod_var;
  294. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mA065D9BD25C55B7B2630CA549183C4615FF27DFC_RuntimeMethod_var;
  295. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m850BD17D7C2BD7A37C5B5261B69E44A451533191_RuntimeMethod_var;
  296. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisYieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m56EC0B7A46A5E522CCEAB37456060C36E26CE731_RuntimeMethod_var;
  297. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_Create_mEBDA40894C43C50AA47346AC784F528C9CA1ABD4_RuntimeMethod_var;
  298. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_SetException_m1697D9F7BF9D11383EDE12CEE54A18AC24A7786B_RuntimeMethod_var;
  299. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_SetResult_mAB04B95B4490AB6E1FCB475391576D15606A2688_RuntimeMethod_var;
  300. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_SetStateMachine_m0ECA1B3B604CFFB8A5DE544E2A0A0025BFE6B6FD_RuntimeMethod_var;
  301. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_Start_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m59F56DB7F0E99D8EA793C64E8735398C0539DBE6_RuntimeMethod_var;
  302. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_Start_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mC08662C58644EB7E11271EF5EDFB23D1678CB978_RuntimeMethod_var;
  303. IL2CPP_EXTERN_C const RuntimeMethod* AsyncTaskMethodBuilder_1_get_Task_mC842CA788344F6A0EAB9EFDE97E0FAC79368245E_RuntimeMethod_var;
  304. IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisNCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA_m58F9A27F8E2E59C5DA67176DBC1DDEE4B50743EE_RuntimeMethod_var;
  305. IL2CPP_EXTERN_C const RuntimeMethod* NativeCamera_GetImageProperties_m906832D1F45ECF5821CFA3236192AE053761C050_RuntimeMethod_var;
  306. IL2CPP_EXTERN_C const RuntimeMethod* NativeCamera_GetVideoProperties_m2E7F06E4A9C55A06A5752F8337951217018250EB_RuntimeMethod_var;
  307. IL2CPP_EXTERN_C const RuntimeMethod* NativeCamera_LoadImageAtPath_m0F2B227CF63FE99A67155B8C52A719AF5949C747_RuntimeMethod_var;
  308. IL2CPP_EXTERN_C const RuntimeMethod* NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisString_t_m2AAA22C4B280E4D6C823F92ECDD3A395F62AFEEC_RuntimeMethod_var;
  309. IL2CPP_EXTERN_C const RuntimeMethod* TaskAwaiter_1_GetResult_m82A392802A854576DC9525B87B0053B56201ABB9_RuntimeMethod_var;
  310. IL2CPP_EXTERN_C const RuntimeMethod* TaskAwaiter_1_GetResult_mE4B8867B0D8DAA1317AD64FE09FBD26E825A654C_RuntimeMethod_var;
  311. IL2CPP_EXTERN_C const RuntimeMethod* TaskAwaiter_1_get_IsCompleted_m77FF413EE49A5859C0BC111104448D64F3C01911_RuntimeMethod_var;
  312. IL2CPP_EXTERN_C const RuntimeMethod* TaskAwaiter_1_get_IsCompleted_mE207C5509602B0BB59366E53CED6CC9B10A1F8A8_RuntimeMethod_var;
  313. IL2CPP_EXTERN_C const RuntimeMethod* TaskCompletionSource_1_SetResult_mE3BD8B51FE6830985D8550B8E7F71C413B087604_RuntimeMethod_var;
  314. IL2CPP_EXTERN_C const RuntimeMethod* TaskCompletionSource_1__ctor_m59FEBA96E2C649BB6B9E4A681806C7ED628834FB_RuntimeMethod_var;
  315. IL2CPP_EXTERN_C const RuntimeMethod* TaskCompletionSource_1_get_Task_mDCD7F80204B3108705062BD8783CD541E08A4157_RuntimeMethod_var;
  316. IL2CPP_EXTERN_C const RuntimeMethod* Task_1_GetAwaiter_m7727657658441E9D4CE9D3F8B532F9D65CB9CE1F_RuntimeMethod_var;
  317. IL2CPP_EXTERN_C const RuntimeMethod* Task_1_GetAwaiter_m88AFED53B032F7EDDB6F9746699970B9FFFC992C_RuntimeMethod_var;
  318. IL2CPP_EXTERN_C const RuntimeMethod* U3CLoadImageAtPathAsyncU3Ed__28_MoveNext_mDDC8FDCD0469319106B32AF4FD60D1EBF7CE804B_RuntimeMethod_var;
  319. IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass20_0_U3CRequestPermissionAsyncU3Eb__0_m5DF168C3CFBC1336DC14F7F3C6B889DF554A7ED1_RuntimeMethod_var;
  320. IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass28_0_U3CLoadImageAtPathAsyncU3Eb__0_m50534284F00FF8C07BABF2F72B8E9EA780CBF16E_RuntimeMethod_var;
  321. IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass30_0_U3CGetVideoThumbnailAsyncU3Eb__0_m5DAF2A26314559841D948DC75B130034596DF868_RuntimeMethod_var;
  322. IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass3_0_U3COnMediaReceivedU3Eb__0_m2F42366AEBB844734D6B392AF6A392BF2BF19458_RuntimeMethod_var;
  323. IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass3_0_U3COnPermissionResultU3Eb__0_m18426273EFEC1619EDB4B879CA210DD0957D2796_RuntimeMethod_var;
  324. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com;
  325. struct CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D_marshaled_com;
  326. struct CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D_marshaled_pinvoke;
  327. struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_com;
  328. struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_pinvoke;
  329. struct Delegate_t_marshaled_com;
  330. struct Delegate_t_marshaled_pinvoke;
  331. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com;
  332. struct Exception_t_marshaled_com;
  333. struct Exception_t_marshaled_pinvoke;
  334. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_com;
  335. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_pinvoke;
  336. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com;
  337. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  338. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  339. struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
  340. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
  341. IL2CPP_EXTERN_C_BEGIN
  342. IL2CPP_EXTERN_C_END
  343. #ifdef __clang__
  344. #pragma clang diagnostic push
  345. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  346. #pragma clang diagnostic ignored "-Wunused-variable"
  347. #endif
  348. // <Module>
  349. struct U3CModuleU3E_tF0E9D9D49305425E48612F9F1BC145ECE6B9E574
  350. {
  351. };
  352. // System.Threading.Tasks.TaskCompletionSource`1<System.Int32Enum>
  353. struct TaskCompletionSource_1_tF8DA32849B904AE4F51ECAF6C6D7FA080481A35A : public RuntimeObject
  354. {
  355. // System.Threading.Tasks.Task`1<TResult> System.Threading.Tasks.TaskCompletionSource`1::_task
  356. Task_1_t8DED34447688BFCF5112B0D05D5A80CED94E4BFB* ____task_0;
  357. };
  358. // System.Threading.Tasks.TaskCompletionSource`1<NativeCamera/Permission>
  359. struct TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531 : public RuntimeObject
  360. {
  361. // System.Threading.Tasks.Task`1<TResult> System.Threading.Tasks.TaskCompletionSource`1::_task
  362. Task_1_t75D76B0D2A565B05D89753E60648134269CB6DED* ____task_0;
  363. };
  364. // UnityEngine.AndroidJavaObject
  365. struct AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0 : public RuntimeObject
  366. {
  367. // UnityEngine.GlobalJavaObjectRef UnityEngine.AndroidJavaObject::m_jobject
  368. GlobalJavaObjectRef_t20D8E5AAFC2EB2518FCABBF40465855E797FF0D8* ___m_jobject_1;
  369. // UnityEngine.GlobalJavaObjectRef UnityEngine.AndroidJavaObject::m_jclass
  370. GlobalJavaObjectRef_t20D8E5AAFC2EB2518FCABBF40465855E797FF0D8* ___m_jclass_2;
  371. };
  372. // System.Globalization.CultureInfo
  373. struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 : public RuntimeObject
  374. {
  375. // System.Boolean System.Globalization.CultureInfo::m_isReadOnly
  376. bool ___m_isReadOnly_3;
  377. // System.Int32 System.Globalization.CultureInfo::cultureID
  378. int32_t ___cultureID_4;
  379. // System.Int32 System.Globalization.CultureInfo::parent_lcid
  380. int32_t ___parent_lcid_5;
  381. // System.Int32 System.Globalization.CultureInfo::datetime_index
  382. int32_t ___datetime_index_6;
  383. // System.Int32 System.Globalization.CultureInfo::number_index
  384. int32_t ___number_index_7;
  385. // System.Int32 System.Globalization.CultureInfo::default_calendar_type
  386. int32_t ___default_calendar_type_8;
  387. // System.Boolean System.Globalization.CultureInfo::m_useUserOverride
  388. bool ___m_useUserOverride_9;
  389. // System.Globalization.NumberFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::numInfo
  390. NumberFormatInfo_t8E26808B202927FEBF9064FCFEEA4D6E076E6472* ___numInfo_10;
  391. // System.Globalization.DateTimeFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::dateTimeInfo
  392. DateTimeFormatInfo_t0457520F9FA7B5C8EAAEB3AD50413B6AEEB7458A* ___dateTimeInfo_11;
  393. // System.Globalization.TextInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::textInfo
  394. TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* ___textInfo_12;
  395. // System.String System.Globalization.CultureInfo::m_name
  396. String_t* ___m_name_13;
  397. // System.String System.Globalization.CultureInfo::englishname
  398. String_t* ___englishname_14;
  399. // System.String System.Globalization.CultureInfo::nativename
  400. String_t* ___nativename_15;
  401. // System.String System.Globalization.CultureInfo::iso3lang
  402. String_t* ___iso3lang_16;
  403. // System.String System.Globalization.CultureInfo::iso2lang
  404. String_t* ___iso2lang_17;
  405. // System.String System.Globalization.CultureInfo::win3lang
  406. String_t* ___win3lang_18;
  407. // System.String System.Globalization.CultureInfo::territory
  408. String_t* ___territory_19;
  409. // System.String[] System.Globalization.CultureInfo::native_calendar_names
  410. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___native_calendar_names_20;
  411. // System.Globalization.CompareInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::compareInfo
  412. CompareInfo_t1B1A6AC3486B570C76ABA52149C9BD4CD82F9E57* ___compareInfo_21;
  413. // System.Void* System.Globalization.CultureInfo::textinfo_data
  414. void* ___textinfo_data_22;
  415. // System.Int32 System.Globalization.CultureInfo::m_dataItem
  416. int32_t ___m_dataItem_23;
  417. // System.Globalization.Calendar System.Globalization.CultureInfo::calendar
  418. Calendar_t0A117CC7532A54C17188C2EFEA1F79DB20DF3A3B* ___calendar_24;
  419. // System.Globalization.CultureInfo System.Globalization.CultureInfo::parent_culture
  420. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___parent_culture_25;
  421. // System.Boolean System.Globalization.CultureInfo::constructed
  422. bool ___constructed_26;
  423. // System.Byte[] System.Globalization.CultureInfo::cached_serialized_form
  424. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___cached_serialized_form_27;
  425. // System.Globalization.CultureData System.Globalization.CultureInfo::m_cultureData
  426. CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D* ___m_cultureData_28;
  427. // System.Boolean System.Globalization.CultureInfo::m_isInherited
  428. bool ___m_isInherited_29;
  429. };
  430. // Native definition for P/Invoke marshalling of System.Globalization.CultureInfo
  431. struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_pinvoke
  432. {
  433. int32_t ___m_isReadOnly_3;
  434. int32_t ___cultureID_4;
  435. int32_t ___parent_lcid_5;
  436. int32_t ___datetime_index_6;
  437. int32_t ___number_index_7;
  438. int32_t ___default_calendar_type_8;
  439. int32_t ___m_useUserOverride_9;
  440. NumberFormatInfo_t8E26808B202927FEBF9064FCFEEA4D6E076E6472* ___numInfo_10;
  441. DateTimeFormatInfo_t0457520F9FA7B5C8EAAEB3AD50413B6AEEB7458A* ___dateTimeInfo_11;
  442. TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* ___textInfo_12;
  443. char* ___m_name_13;
  444. char* ___englishname_14;
  445. char* ___nativename_15;
  446. char* ___iso3lang_16;
  447. char* ___iso2lang_17;
  448. char* ___win3lang_18;
  449. char* ___territory_19;
  450. char** ___native_calendar_names_20;
  451. CompareInfo_t1B1A6AC3486B570C76ABA52149C9BD4CD82F9E57* ___compareInfo_21;
  452. void* ___textinfo_data_22;
  453. int32_t ___m_dataItem_23;
  454. Calendar_t0A117CC7532A54C17188C2EFEA1F79DB20DF3A3B* ___calendar_24;
  455. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_pinvoke* ___parent_culture_25;
  456. int32_t ___constructed_26;
  457. Il2CppSafeArray/*NONE*/* ___cached_serialized_form_27;
  458. CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D_marshaled_pinvoke* ___m_cultureData_28;
  459. int32_t ___m_isInherited_29;
  460. };
  461. // Native definition for COM marshalling of System.Globalization.CultureInfo
  462. struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_com
  463. {
  464. int32_t ___m_isReadOnly_3;
  465. int32_t ___cultureID_4;
  466. int32_t ___parent_lcid_5;
  467. int32_t ___datetime_index_6;
  468. int32_t ___number_index_7;
  469. int32_t ___default_calendar_type_8;
  470. int32_t ___m_useUserOverride_9;
  471. NumberFormatInfo_t8E26808B202927FEBF9064FCFEEA4D6E076E6472* ___numInfo_10;
  472. DateTimeFormatInfo_t0457520F9FA7B5C8EAAEB3AD50413B6AEEB7458A* ___dateTimeInfo_11;
  473. TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* ___textInfo_12;
  474. Il2CppChar* ___m_name_13;
  475. Il2CppChar* ___englishname_14;
  476. Il2CppChar* ___nativename_15;
  477. Il2CppChar* ___iso3lang_16;
  478. Il2CppChar* ___iso2lang_17;
  479. Il2CppChar* ___win3lang_18;
  480. Il2CppChar* ___territory_19;
  481. Il2CppChar** ___native_calendar_names_20;
  482. CompareInfo_t1B1A6AC3486B570C76ABA52149C9BD4CD82F9E57* ___compareInfo_21;
  483. void* ___textinfo_data_22;
  484. int32_t ___m_dataItem_23;
  485. Calendar_t0A117CC7532A54C17188C2EFEA1F79DB20DF3A3B* ___calendar_24;
  486. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_com* ___parent_culture_25;
  487. int32_t ___constructed_26;
  488. Il2CppSafeArray/*NONE*/* ___cached_serialized_form_27;
  489. CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D_marshaled_com* ___m_cultureData_28;
  490. int32_t ___m_isInherited_29;
  491. };
  492. // System.MarshalByRefObject
  493. struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE : public RuntimeObject
  494. {
  495. // System.Object System.MarshalByRefObject::_identity
  496. RuntimeObject* ____identity_0;
  497. };
  498. // Native definition for P/Invoke marshalling of System.MarshalByRefObject
  499. struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_pinvoke
  500. {
  501. Il2CppIUnknown* ____identity_0;
  502. };
  503. // Native definition for COM marshalling of System.MarshalByRefObject
  504. struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_com
  505. {
  506. Il2CppIUnknown* ____identity_0;
  507. };
  508. // NativeCamera
  509. struct NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F : public RuntimeObject
  510. {
  511. };
  512. // System.String
  513. struct String_t : public RuntimeObject
  514. {
  515. // System.Int32 System.String::_stringLength
  516. int32_t ____stringLength_4;
  517. // System.Char System.String::_firstChar
  518. Il2CppChar ____firstChar_5;
  519. };
  520. // System.Threading.Tasks.Task
  521. struct Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572 : public RuntimeObject
  522. {
  523. // System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task::m_taskId
  524. int32_t ___m_taskId_1;
  525. // System.Delegate System.Threading.Tasks.Task::m_action
  526. Delegate_t* ___m_action_2;
  527. // System.Object System.Threading.Tasks.Task::m_stateObject
  528. RuntimeObject* ___m_stateObject_3;
  529. // System.Threading.Tasks.TaskScheduler System.Threading.Tasks.Task::m_taskScheduler
  530. TaskScheduler_t3F0550EBEF7C41F74EC8C08FF4BED0D8CE66006E* ___m_taskScheduler_4;
  531. // System.Threading.Tasks.Task System.Threading.Tasks.Task::m_parent
  532. Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572* ___m_parent_5;
  533. // System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task::m_stateFlags
  534. int32_t ___m_stateFlags_6;
  535. // System.Object modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task::m_continuationObject
  536. RuntimeObject* ___m_continuationObject_23;
  537. // System.Threading.Tasks.Task/ContingentProperties modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task::m_contingentProperties
  538. ContingentProperties_t3FA59480914505CEA917B1002EC675F29D0CB540* ___m_contingentProperties_26;
  539. };
  540. // System.ValueType
  541. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  542. {
  543. };
  544. // Native definition for P/Invoke marshalling of System.ValueType
  545. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  546. {
  547. };
  548. // Native definition for COM marshalling of System.ValueType
  549. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  550. {
  551. };
  552. // UnityEngine.YieldInstruction
  553. struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D : public RuntimeObject
  554. {
  555. };
  556. // Native definition for P/Invoke marshalling of UnityEngine.YieldInstruction
  557. struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
  558. {
  559. };
  560. // Native definition for COM marshalling of UnityEngine.YieldInstruction
  561. struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
  562. {
  563. };
  564. // NativeCameraNamespace.NCCameraCallbackAndroid/<>c__DisplayClass3_0
  565. struct U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850 : public RuntimeObject
  566. {
  567. // NativeCameraNamespace.NCCameraCallbackAndroid NativeCameraNamespace.NCCameraCallbackAndroid/<>c__DisplayClass3_0::<>4__this
  568. NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378* ___U3CU3E4__this_0;
  569. // System.String NativeCameraNamespace.NCCameraCallbackAndroid/<>c__DisplayClass3_0::path
  570. String_t* ___path_1;
  571. };
  572. // NativeCameraNamespace.NCPermissionCallbackAsyncAndroid/<>c__DisplayClass3_0
  573. struct U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32 : public RuntimeObject
  574. {
  575. // NativeCameraNamespace.NCPermissionCallbackAsyncAndroid NativeCameraNamespace.NCPermissionCallbackAsyncAndroid/<>c__DisplayClass3_0::<>4__this
  576. NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B* ___U3CU3E4__this_0;
  577. // System.Int32 NativeCameraNamespace.NCPermissionCallbackAsyncAndroid/<>c__DisplayClass3_0::result
  578. int32_t ___result_1;
  579. };
  580. // NativeCamera/<>c__DisplayClass20_0
  581. struct U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E : public RuntimeObject
  582. {
  583. // System.Threading.Tasks.TaskCompletionSource`1<NativeCamera/Permission> NativeCamera/<>c__DisplayClass20_0::tcs
  584. TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531* ___tcs_0;
  585. };
  586. // NativeCamera/<>c__DisplayClass28_0
  587. struct U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB : public RuntimeObject
  588. {
  589. // System.String NativeCamera/<>c__DisplayClass28_0::imagePath
  590. String_t* ___imagePath_0;
  591. // System.String NativeCamera/<>c__DisplayClass28_0::temporaryImagePath
  592. String_t* ___temporaryImagePath_1;
  593. // System.Int32 NativeCamera/<>c__DisplayClass28_0::maxSize
  594. int32_t ___maxSize_2;
  595. };
  596. // NativeCamera/<>c__DisplayClass30_0
  597. struct U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A : public RuntimeObject
  598. {
  599. // System.String NativeCamera/<>c__DisplayClass30_0::videoPath
  600. String_t* ___videoPath_0;
  601. // System.String NativeCamera/<>c__DisplayClass30_0::temporaryImagePath
  602. String_t* ___temporaryImagePath_1;
  603. // System.Int32 NativeCamera/<>c__DisplayClass30_0::maxSize
  604. int32_t ___maxSize_2;
  605. // System.Double NativeCamera/<>c__DisplayClass30_0::captureTimeInSeconds
  606. double ___captureTimeInSeconds_3;
  607. };
  608. // System.Runtime.CompilerServices.TaskAwaiter`1<System.Object>
  609. struct TaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA
  610. {
  611. // System.Threading.Tasks.Task`1<TResult> System.Runtime.CompilerServices.TaskAwaiter`1::m_task
  612. Task_1_t0C4CD3A5BB93A184420D73218644C56C70FDA7E2* ___m_task_0;
  613. };
  614. // System.Runtime.CompilerServices.TaskAwaiter`1<System.String>
  615. struct TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6
  616. {
  617. // System.Threading.Tasks.Task`1<TResult> System.Runtime.CompilerServices.TaskAwaiter`1::m_task
  618. Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0* ___m_task_0;
  619. };
  620. // System.Runtime.CompilerServices.TaskAwaiter`1<UnityEngine.Texture2D>
  621. struct TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B
  622. {
  623. // System.Threading.Tasks.Task`1<TResult> System.Runtime.CompilerServices.TaskAwaiter`1::m_task
  624. Task_1_t95921EB64E237ACD28589D64B693C652268F225E* ___m_task_0;
  625. };
  626. // System.Threading.Tasks.Task`1<System.Int32Enum>
  627. struct Task_1_t8DED34447688BFCF5112B0D05D5A80CED94E4BFB : public Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572
  628. {
  629. // TResult System.Threading.Tasks.Task`1::m_result
  630. int32_t ___m_result_38;
  631. };
  632. // System.Threading.Tasks.Task`1<System.String>
  633. struct Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0 : public Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572
  634. {
  635. // TResult System.Threading.Tasks.Task`1::m_result
  636. String_t* ___m_result_38;
  637. };
  638. // System.Threading.Tasks.Task`1<UnityEngine.Texture2D>
  639. struct Task_1_t95921EB64E237ACD28589D64B693C652268F225E : public Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572
  640. {
  641. // TResult System.Threading.Tasks.Task`1::m_result
  642. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___m_result_38;
  643. };
  644. // System.Threading.Tasks.Task`1<NativeCamera/Permission>
  645. struct Task_1_t75D76B0D2A565B05D89753E60648134269CB6DED : public Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572
  646. {
  647. // TResult System.Threading.Tasks.Task`1::m_result
  648. int32_t ___m_result_38;
  649. };
  650. // UnityEngine.AndroidJavaClass
  651. struct AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03 : public AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0
  652. {
  653. };
  654. // System.Runtime.CompilerServices.AsyncMethodBuilderCore
  655. struct AsyncMethodBuilderCore_tD5ABB3A2536319A3345B32A5481E37E23DD8CEDF
  656. {
  657. // System.Runtime.CompilerServices.IAsyncStateMachine System.Runtime.CompilerServices.AsyncMethodBuilderCore::m_stateMachine
  658. RuntimeObject* ___m_stateMachine_0;
  659. // System.Action System.Runtime.CompilerServices.AsyncMethodBuilderCore::m_defaultContextAction
  660. Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___m_defaultContextAction_1;
  661. };
  662. // Native definition for P/Invoke marshalling of System.Runtime.CompilerServices.AsyncMethodBuilderCore
  663. struct AsyncMethodBuilderCore_tD5ABB3A2536319A3345B32A5481E37E23DD8CEDF_marshaled_pinvoke
  664. {
  665. RuntimeObject* ___m_stateMachine_0;
  666. Il2CppMethodPointer ___m_defaultContextAction_1;
  667. };
  668. // Native definition for COM marshalling of System.Runtime.CompilerServices.AsyncMethodBuilderCore
  669. struct AsyncMethodBuilderCore_tD5ABB3A2536319A3345B32A5481E37E23DD8CEDF_marshaled_com
  670. {
  671. RuntimeObject* ___m_stateMachine_0;
  672. Il2CppMethodPointer ___m_defaultContextAction_1;
  673. };
  674. // System.Boolean
  675. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  676. {
  677. // System.Boolean System.Boolean::m_value
  678. bool ___m_value_0;
  679. };
  680. // System.Byte
  681. struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
  682. {
  683. // System.Byte System.Byte::m_value
  684. uint8_t ___m_value_0;
  685. };
  686. // System.Char
  687. struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
  688. {
  689. // System.Char System.Char::m_value
  690. Il2CppChar ___m_value_0;
  691. };
  692. // System.Double
  693. struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
  694. {
  695. // System.Double System.Double::m_value
  696. double ___m_value_0;
  697. };
  698. // System.Int32
  699. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  700. {
  701. // System.Int32 System.Int32::m_value
  702. int32_t ___m_value_0;
  703. };
  704. // System.Int64
  705. struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
  706. {
  707. // System.Int64 System.Int64::m_value
  708. int64_t ___m_value_0;
  709. };
  710. // System.IntPtr
  711. struct IntPtr_t
  712. {
  713. // System.Void* System.IntPtr::m_value
  714. void* ___m_value_0;
  715. };
  716. // System.Single
  717. struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
  718. {
  719. // System.Single System.Single::m_value
  720. float ___m_value_0;
  721. };
  722. // System.Void
  723. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  724. {
  725. union
  726. {
  727. struct
  728. {
  729. };
  730. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  731. };
  732. };
  733. // System.Runtime.CompilerServices.YieldAwaitable
  734. struct YieldAwaitable_tFEA898DB9022A953958C3CF531E1477D135D3DAB
  735. {
  736. union
  737. {
  738. struct
  739. {
  740. };
  741. uint8_t YieldAwaitable_tFEA898DB9022A953958C3CF531E1477D135D3DAB__padding[1];
  742. };
  743. };
  744. // NativeCamera/ImageProperties
  745. struct ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46
  746. {
  747. // System.Int32 NativeCamera/ImageProperties::width
  748. int32_t ___width_0;
  749. // System.Int32 NativeCamera/ImageProperties::height
  750. int32_t ___height_1;
  751. // System.String NativeCamera/ImageProperties::mimeType
  752. String_t* ___mimeType_2;
  753. // NativeCamera/ImageOrientation NativeCamera/ImageProperties::orientation
  754. int32_t ___orientation_3;
  755. };
  756. // Native definition for P/Invoke marshalling of NativeCamera/ImageProperties
  757. struct ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshaled_pinvoke
  758. {
  759. int32_t ___width_0;
  760. int32_t ___height_1;
  761. char* ___mimeType_2;
  762. int32_t ___orientation_3;
  763. };
  764. // Native definition for COM marshalling of NativeCamera/ImageProperties
  765. struct ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshaled_com
  766. {
  767. int32_t ___width_0;
  768. int32_t ___height_1;
  769. Il2CppChar* ___mimeType_2;
  770. int32_t ___orientation_3;
  771. };
  772. // NativeCamera/VideoProperties
  773. struct VideoProperties_t6D7A73E485C96B765AD8710810E46D38907DFC0E
  774. {
  775. // System.Int32 NativeCamera/VideoProperties::width
  776. int32_t ___width_0;
  777. // System.Int32 NativeCamera/VideoProperties::height
  778. int32_t ___height_1;
  779. // System.Int64 NativeCamera/VideoProperties::duration
  780. int64_t ___duration_2;
  781. // System.Single NativeCamera/VideoProperties::rotation
  782. float ___rotation_3;
  783. };
  784. // System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter
  785. struct YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A
  786. {
  787. union
  788. {
  789. struct
  790. {
  791. };
  792. uint8_t YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A__padding[1];
  793. };
  794. };
  795. // Interop/Sys/FileStatus
  796. struct FileStatus_tCB96EDE0D0F945F685B9BBED6DBF0731207458C2
  797. {
  798. // Interop/Sys/FileStatusFlags Interop/Sys/FileStatus::Flags
  799. int32_t ___Flags_0;
  800. // System.Int32 Interop/Sys/FileStatus::Mode
  801. int32_t ___Mode_1;
  802. // System.UInt32 Interop/Sys/FileStatus::Uid
  803. uint32_t ___Uid_2;
  804. // System.UInt32 Interop/Sys/FileStatus::Gid
  805. uint32_t ___Gid_3;
  806. // System.Int64 Interop/Sys/FileStatus::Size
  807. int64_t ___Size_4;
  808. // System.Int64 Interop/Sys/FileStatus::ATime
  809. int64_t ___ATime_5;
  810. // System.Int64 Interop/Sys/FileStatus::ATimeNsec
  811. int64_t ___ATimeNsec_6;
  812. // System.Int64 Interop/Sys/FileStatus::MTime
  813. int64_t ___MTime_7;
  814. // System.Int64 Interop/Sys/FileStatus::MTimeNsec
  815. int64_t ___MTimeNsec_8;
  816. // System.Int64 Interop/Sys/FileStatus::CTime
  817. int64_t ___CTime_9;
  818. // System.Int64 Interop/Sys/FileStatus::CTimeNsec
  819. int64_t ___CTimeNsec_10;
  820. // System.Int64 Interop/Sys/FileStatus::BirthTime
  821. int64_t ___BirthTime_11;
  822. // System.Int64 Interop/Sys/FileStatus::BirthTimeNsec
  823. int64_t ___BirthTimeNsec_12;
  824. // System.Int64 Interop/Sys/FileStatus::Dev
  825. int64_t ___Dev_13;
  826. // System.Int64 Interop/Sys/FileStatus::Ino
  827. int64_t ___Ino_14;
  828. // System.UInt32 Interop/Sys/FileStatus::UserFlags
  829. uint32_t ___UserFlags_15;
  830. };
  831. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>
  832. struct AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0
  833. {
  834. // System.Runtime.CompilerServices.AsyncMethodBuilderCore System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::m_coreState
  835. AsyncMethodBuilderCore_tD5ABB3A2536319A3345B32A5481E37E23DD8CEDF ___m_coreState_1;
  836. // System.Threading.Tasks.Task`1<TResult> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::m_task
  837. Task_1_t0C4CD3A5BB93A184420D73218644C56C70FDA7E2* ___m_task_2;
  838. };
  839. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>
  840. struct AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F
  841. {
  842. // System.Runtime.CompilerServices.AsyncMethodBuilderCore System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::m_coreState
  843. AsyncMethodBuilderCore_tD5ABB3A2536319A3345B32A5481E37E23DD8CEDF ___m_coreState_1;
  844. // System.Threading.Tasks.Task`1<TResult> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::m_task
  845. Task_1_t95921EB64E237ACD28589D64B693C652268F225E* ___m_task_2;
  846. };
  847. // UnityEngine.AndroidJavaProxy
  848. struct AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D : public RuntimeObject
  849. {
  850. // UnityEngine.AndroidJavaClass UnityEngine.AndroidJavaProxy::javaInterface
  851. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* ___javaInterface_0;
  852. // System.IntPtr UnityEngine.AndroidJavaProxy::proxyObject
  853. intptr_t ___proxyObject_1;
  854. };
  855. // UnityEngine.AsyncOperation
  856. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D
  857. {
  858. // System.IntPtr UnityEngine.AsyncOperation::m_Ptr
  859. intptr_t ___m_Ptr_0;
  860. // System.Action`1<UnityEngine.AsyncOperation> UnityEngine.AsyncOperation::m_completeCallback
  861. Action_1_tE8693FF0E67CDBA52BAFB211BFF1844D076ABAFB* ___m_completeCallback_1;
  862. };
  863. // Native definition for P/Invoke marshalling of UnityEngine.AsyncOperation
  864. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_pinvoke : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
  865. {
  866. intptr_t ___m_Ptr_0;
  867. Il2CppMethodPointer ___m_completeCallback_1;
  868. };
  869. // Native definition for COM marshalling of UnityEngine.AsyncOperation
  870. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_com : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
  871. {
  872. intptr_t ___m_Ptr_0;
  873. Il2CppMethodPointer ___m_completeCallback_1;
  874. };
  875. // UnityEngine.Networking.CertificateHandler
  876. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804 : public RuntimeObject
  877. {
  878. // System.IntPtr UnityEngine.Networking.CertificateHandler::m_Ptr
  879. intptr_t ___m_Ptr_0;
  880. };
  881. // Native definition for P/Invoke marshalling of UnityEngine.Networking.CertificateHandler
  882. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke
  883. {
  884. intptr_t ___m_Ptr_0;
  885. };
  886. // Native definition for COM marshalling of UnityEngine.Networking.CertificateHandler
  887. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com
  888. {
  889. intptr_t ___m_Ptr_0;
  890. };
  891. // System.Delegate
  892. struct Delegate_t : public RuntimeObject
  893. {
  894. // System.IntPtr System.Delegate::method_ptr
  895. Il2CppMethodPointer ___method_ptr_0;
  896. // System.IntPtr System.Delegate::invoke_impl
  897. intptr_t ___invoke_impl_1;
  898. // System.Object System.Delegate::m_target
  899. RuntimeObject* ___m_target_2;
  900. // System.IntPtr System.Delegate::method
  901. intptr_t ___method_3;
  902. // System.IntPtr System.Delegate::delegate_trampoline
  903. intptr_t ___delegate_trampoline_4;
  904. // System.IntPtr System.Delegate::extra_arg
  905. intptr_t ___extra_arg_5;
  906. // System.IntPtr System.Delegate::method_code
  907. intptr_t ___method_code_6;
  908. // System.IntPtr System.Delegate::interp_method
  909. intptr_t ___interp_method_7;
  910. // System.IntPtr System.Delegate::interp_invoke_impl
  911. intptr_t ___interp_invoke_impl_8;
  912. // System.Reflection.MethodInfo System.Delegate::method_info
  913. MethodInfo_t* ___method_info_9;
  914. // System.Reflection.MethodInfo System.Delegate::original_method_info
  915. MethodInfo_t* ___original_method_info_10;
  916. // System.DelegateData System.Delegate::data
  917. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
  918. // System.Boolean System.Delegate::method_is_virtual
  919. bool ___method_is_virtual_12;
  920. };
  921. // Native definition for P/Invoke marshalling of System.Delegate
  922. struct Delegate_t_marshaled_pinvoke
  923. {
  924. intptr_t ___method_ptr_0;
  925. intptr_t ___invoke_impl_1;
  926. Il2CppIUnknown* ___m_target_2;
  927. intptr_t ___method_3;
  928. intptr_t ___delegate_trampoline_4;
  929. intptr_t ___extra_arg_5;
  930. intptr_t ___method_code_6;
  931. intptr_t ___interp_method_7;
  932. intptr_t ___interp_invoke_impl_8;
  933. MethodInfo_t* ___method_info_9;
  934. MethodInfo_t* ___original_method_info_10;
  935. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
  936. int32_t ___method_is_virtual_12;
  937. };
  938. // Native definition for COM marshalling of System.Delegate
  939. struct Delegate_t_marshaled_com
  940. {
  941. intptr_t ___method_ptr_0;
  942. intptr_t ___invoke_impl_1;
  943. Il2CppIUnknown* ___m_target_2;
  944. intptr_t ___method_3;
  945. intptr_t ___delegate_trampoline_4;
  946. intptr_t ___extra_arg_5;
  947. intptr_t ___method_code_6;
  948. intptr_t ___interp_method_7;
  949. intptr_t ___interp_invoke_impl_8;
  950. MethodInfo_t* ___method_info_9;
  951. MethodInfo_t* ___original_method_info_10;
  952. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
  953. int32_t ___method_is_virtual_12;
  954. };
  955. // UnityEngine.Networking.DownloadHandler
  956. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB : public RuntimeObject
  957. {
  958. // System.IntPtr UnityEngine.Networking.DownloadHandler::m_Ptr
  959. intptr_t ___m_Ptr_0;
  960. };
  961. // Native definition for P/Invoke marshalling of UnityEngine.Networking.DownloadHandler
  962. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke
  963. {
  964. intptr_t ___m_Ptr_0;
  965. };
  966. // Native definition for COM marshalling of UnityEngine.Networking.DownloadHandler
  967. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com
  968. {
  969. intptr_t ___m_Ptr_0;
  970. };
  971. // System.Exception
  972. struct Exception_t : public RuntimeObject
  973. {
  974. // System.String System.Exception::_className
  975. String_t* ____className_1;
  976. // System.String System.Exception::_message
  977. String_t* ____message_2;
  978. // System.Collections.IDictionary System.Exception::_data
  979. RuntimeObject* ____data_3;
  980. // System.Exception System.Exception::_innerException
  981. Exception_t* ____innerException_4;
  982. // System.String System.Exception::_helpURL
  983. String_t* ____helpURL_5;
  984. // System.Object System.Exception::_stackTrace
  985. RuntimeObject* ____stackTrace_6;
  986. // System.String System.Exception::_stackTraceString
  987. String_t* ____stackTraceString_7;
  988. // System.String System.Exception::_remoteStackTraceString
  989. String_t* ____remoteStackTraceString_8;
  990. // System.Int32 System.Exception::_remoteStackIndex
  991. int32_t ____remoteStackIndex_9;
  992. // System.Object System.Exception::_dynamicMethods
  993. RuntimeObject* ____dynamicMethods_10;
  994. // System.Int32 System.Exception::_HResult
  995. int32_t ____HResult_11;
  996. // System.String System.Exception::_source
  997. String_t* ____source_12;
  998. // System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
  999. SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
  1000. // System.Diagnostics.StackTrace[] System.Exception::captured_traces
  1001. StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
  1002. // System.IntPtr[] System.Exception::native_trace_ips
  1003. IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
  1004. // System.Int32 System.Exception::caught_in_unmanaged
  1005. int32_t ___caught_in_unmanaged_16;
  1006. };
  1007. // Native definition for P/Invoke marshalling of System.Exception
  1008. struct Exception_t_marshaled_pinvoke
  1009. {
  1010. char* ____className_1;
  1011. char* ____message_2;
  1012. RuntimeObject* ____data_3;
  1013. Exception_t_marshaled_pinvoke* ____innerException_4;
  1014. char* ____helpURL_5;
  1015. Il2CppIUnknown* ____stackTrace_6;
  1016. char* ____stackTraceString_7;
  1017. char* ____remoteStackTraceString_8;
  1018. int32_t ____remoteStackIndex_9;
  1019. Il2CppIUnknown* ____dynamicMethods_10;
  1020. int32_t ____HResult_11;
  1021. char* ____source_12;
  1022. SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
  1023. StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
  1024. Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
  1025. int32_t ___caught_in_unmanaged_16;
  1026. };
  1027. // Native definition for COM marshalling of System.Exception
  1028. struct Exception_t_marshaled_com
  1029. {
  1030. Il2CppChar* ____className_1;
  1031. Il2CppChar* ____message_2;
  1032. RuntimeObject* ____data_3;
  1033. Exception_t_marshaled_com* ____innerException_4;
  1034. Il2CppChar* ____helpURL_5;
  1035. Il2CppIUnknown* ____stackTrace_6;
  1036. Il2CppChar* ____stackTraceString_7;
  1037. Il2CppChar* ____remoteStackTraceString_8;
  1038. int32_t ____remoteStackIndex_9;
  1039. Il2CppIUnknown* ____dynamicMethods_10;
  1040. int32_t ____HResult_11;
  1041. Il2CppChar* ____source_12;
  1042. SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
  1043. StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
  1044. Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
  1045. int32_t ___caught_in_unmanaged_16;
  1046. };
  1047. // System.IO.FileStatus
  1048. struct FileStatus_tABB5F252F1E597EC95E9041035DC424EF66712A5
  1049. {
  1050. // Interop/Sys/FileStatus System.IO.FileStatus::_fileStatus
  1051. FileStatus_tCB96EDE0D0F945F685B9BBED6DBF0731207458C2 ____fileStatus_0;
  1052. // System.Int32 System.IO.FileStatus::_fileStatusInitialized
  1053. int32_t ____fileStatusInitialized_1;
  1054. // System.Boolean System.IO.FileStatus::<InitiallyDirectory>k__BackingField
  1055. bool ___U3CInitiallyDirectoryU3Ek__BackingField_2;
  1056. // System.Boolean System.IO.FileStatus::_isDirectory
  1057. bool ____isDirectory_3;
  1058. // System.Boolean System.IO.FileStatus::_exists
  1059. bool ____exists_4;
  1060. };
  1061. // Native definition for P/Invoke marshalling of System.IO.FileStatus
  1062. struct FileStatus_tABB5F252F1E597EC95E9041035DC424EF66712A5_marshaled_pinvoke
  1063. {
  1064. FileStatus_tCB96EDE0D0F945F685B9BBED6DBF0731207458C2 ____fileStatus_0;
  1065. int32_t ____fileStatusInitialized_1;
  1066. int32_t ___U3CInitiallyDirectoryU3Ek__BackingField_2;
  1067. int32_t ____isDirectory_3;
  1068. int32_t ____exists_4;
  1069. };
  1070. // Native definition for COM marshalling of System.IO.FileStatus
  1071. struct FileStatus_tABB5F252F1E597EC95E9041035DC424EF66712A5_marshaled_com
  1072. {
  1073. FileStatus_tCB96EDE0D0F945F685B9BBED6DBF0731207458C2 ____fileStatus_0;
  1074. int32_t ____fileStatusInitialized_1;
  1075. int32_t ___U3CInitiallyDirectoryU3Ek__BackingField_2;
  1076. int32_t ____isDirectory_3;
  1077. int32_t ____exists_4;
  1078. };
  1079. // UnityEngine.Object
  1080. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  1081. {
  1082. // System.IntPtr UnityEngine.Object::m_CachedPtr
  1083. intptr_t ___m_CachedPtr_0;
  1084. };
  1085. // Native definition for P/Invoke marshalling of UnityEngine.Object
  1086. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  1087. {
  1088. intptr_t ___m_CachedPtr_0;
  1089. };
  1090. // Native definition for COM marshalling of UnityEngine.Object
  1091. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  1092. {
  1093. intptr_t ___m_CachedPtr_0;
  1094. };
  1095. // UnityEngine.Networking.UploadHandler
  1096. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6 : public RuntimeObject
  1097. {
  1098. // System.IntPtr UnityEngine.Networking.UploadHandler::m_Ptr
  1099. intptr_t ___m_Ptr_0;
  1100. };
  1101. // Native definition for P/Invoke marshalling of UnityEngine.Networking.UploadHandler
  1102. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_pinvoke
  1103. {
  1104. intptr_t ___m_Ptr_0;
  1105. };
  1106. // Native definition for COM marshalling of UnityEngine.Networking.UploadHandler
  1107. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com
  1108. {
  1109. intptr_t ___m_Ptr_0;
  1110. };
  1111. // UnityEngine.Component
  1112. struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  1113. {
  1114. };
  1115. // System.IO.FileSystemInfo
  1116. struct FileSystemInfo_tE3063B9229F46B05A5F6D018C8C4CA510104E8E9 : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE
  1117. {
  1118. // System.IO.FileStatus System.IO.FileSystemInfo::_fileStatus
  1119. FileStatus_tABB5F252F1E597EC95E9041035DC424EF66712A5 ____fileStatus_1;
  1120. // System.String System.IO.FileSystemInfo::FullPath
  1121. String_t* ___FullPath_2;
  1122. // System.String System.IO.FileSystemInfo::OriginalPath
  1123. String_t* ___OriginalPath_3;
  1124. // System.String System.IO.FileSystemInfo::_name
  1125. String_t* ____name_4;
  1126. };
  1127. // UnityEngine.GameObject
  1128. struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  1129. {
  1130. };
  1131. // System.MulticastDelegate
  1132. struct MulticastDelegate_t : public Delegate_t
  1133. {
  1134. // System.Delegate[] System.MulticastDelegate::delegates
  1135. DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
  1136. };
  1137. // Native definition for P/Invoke marshalling of System.MulticastDelegate
  1138. struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
  1139. {
  1140. Delegate_t_marshaled_pinvoke** ___delegates_13;
  1141. };
  1142. // Native definition for COM marshalling of System.MulticastDelegate
  1143. struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
  1144. {
  1145. Delegate_t_marshaled_com** ___delegates_13;
  1146. };
  1147. // NativeCameraNamespace.NCCameraCallbackAndroid
  1148. struct NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378 : public AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D
  1149. {
  1150. // NativeCamera/CameraCallback NativeCameraNamespace.NCCameraCallbackAndroid::callback
  1151. CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* ___callback_4;
  1152. // NativeCameraNamespace.NCCallbackHelper NativeCameraNamespace.NCCameraCallbackAndroid::callbackHelper
  1153. NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* ___callbackHelper_5;
  1154. };
  1155. // NativeCameraNamespace.NCPermissionCallbackAndroid
  1156. struct NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91 : public AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D
  1157. {
  1158. // System.Object NativeCameraNamespace.NCPermissionCallbackAndroid::threadLock
  1159. RuntimeObject* ___threadLock_4;
  1160. // System.Int32 NativeCameraNamespace.NCPermissionCallbackAndroid::<Result>k__BackingField
  1161. int32_t ___U3CResultU3Ek__BackingField_5;
  1162. };
  1163. // NativeCameraNamespace.NCPermissionCallbackAsyncAndroid
  1164. struct NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B : public AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D
  1165. {
  1166. // NativeCamera/PermissionCallback NativeCameraNamespace.NCPermissionCallbackAsyncAndroid::callback
  1167. PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* ___callback_4;
  1168. // NativeCameraNamespace.NCCallbackHelper NativeCameraNamespace.NCPermissionCallbackAsyncAndroid::callbackHelper
  1169. NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* ___callbackHelper_5;
  1170. };
  1171. // System.SystemException
  1172. struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
  1173. {
  1174. };
  1175. // UnityEngine.Texture
  1176. struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  1177. {
  1178. };
  1179. // UnityEngine.Networking.UnityWebRequest
  1180. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F : public RuntimeObject
  1181. {
  1182. // System.IntPtr UnityEngine.Networking.UnityWebRequest::m_Ptr
  1183. intptr_t ___m_Ptr_0;
  1184. // UnityEngine.Networking.DownloadHandler UnityEngine.Networking.UnityWebRequest::m_DownloadHandler
  1185. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* ___m_DownloadHandler_1;
  1186. // UnityEngine.Networking.UploadHandler UnityEngine.Networking.UnityWebRequest::m_UploadHandler
  1187. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6* ___m_UploadHandler_2;
  1188. // UnityEngine.Networking.CertificateHandler UnityEngine.Networking.UnityWebRequest::m_CertificateHandler
  1189. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804* ___m_CertificateHandler_3;
  1190. // System.Uri UnityEngine.Networking.UnityWebRequest::m_Uri
  1191. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri_4;
  1192. // System.Boolean UnityEngine.Networking.UnityWebRequest::<disposeCertificateHandlerOnDispose>k__BackingField
  1193. bool ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5;
  1194. // System.Boolean UnityEngine.Networking.UnityWebRequest::<disposeDownloadHandlerOnDispose>k__BackingField
  1195. bool ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6;
  1196. // System.Boolean UnityEngine.Networking.UnityWebRequest::<disposeUploadHandlerOnDispose>k__BackingField
  1197. bool ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7;
  1198. };
  1199. // Native definition for P/Invoke marshalling of UnityEngine.Networking.UnityWebRequest
  1200. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_pinvoke
  1201. {
  1202. intptr_t ___m_Ptr_0;
  1203. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke ___m_DownloadHandler_1;
  1204. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_pinvoke ___m_UploadHandler_2;
  1205. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke ___m_CertificateHandler_3;
  1206. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri_4;
  1207. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5;
  1208. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6;
  1209. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7;
  1210. };
  1211. // Native definition for COM marshalling of UnityEngine.Networking.UnityWebRequest
  1212. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_com
  1213. {
  1214. intptr_t ___m_Ptr_0;
  1215. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com* ___m_DownloadHandler_1;
  1216. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com* ___m_UploadHandler_2;
  1217. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com* ___m_CertificateHandler_3;
  1218. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri_4;
  1219. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5;
  1220. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6;
  1221. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7;
  1222. };
  1223. // UnityEngine.Networking.UnityWebRequestAsyncOperation
  1224. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C : public AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C
  1225. {
  1226. // UnityEngine.Networking.UnityWebRequest UnityEngine.Networking.UnityWebRequestAsyncOperation::<webRequest>k__BackingField
  1227. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ___U3CwebRequestU3Ek__BackingField_2;
  1228. };
  1229. // Native definition for P/Invoke marshalling of UnityEngine.Networking.UnityWebRequestAsyncOperation
  1230. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C_marshaled_pinvoke : public AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_pinvoke
  1231. {
  1232. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_pinvoke* ___U3CwebRequestU3Ek__BackingField_2;
  1233. };
  1234. // Native definition for COM marshalling of UnityEngine.Networking.UnityWebRequestAsyncOperation
  1235. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C_marshaled_com : public AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_com
  1236. {
  1237. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_com* ___U3CwebRequestU3Ek__BackingField_2;
  1238. };
  1239. // NativeCamera/<GetVideoThumbnailAsync>d__30
  1240. struct U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0
  1241. {
  1242. // System.Int32 NativeCamera/<GetVideoThumbnailAsync>d__30::<>1__state
  1243. int32_t ___U3CU3E1__state_0;
  1244. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D> NativeCamera/<GetVideoThumbnailAsync>d__30::<>t__builder
  1245. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F ___U3CU3Et__builder_1;
  1246. // System.String NativeCamera/<GetVideoThumbnailAsync>d__30::videoPath
  1247. String_t* ___videoPath_2;
  1248. // System.Int32 NativeCamera/<GetVideoThumbnailAsync>d__30::maxSize
  1249. int32_t ___maxSize_3;
  1250. // System.Double NativeCamera/<GetVideoThumbnailAsync>d__30::captureTimeInSeconds
  1251. double ___captureTimeInSeconds_4;
  1252. // NativeCamera/<>c__DisplayClass30_0 NativeCamera/<GetVideoThumbnailAsync>d__30::<>8__1
  1253. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* ___U3CU3E8__1_5;
  1254. // System.Boolean NativeCamera/<GetVideoThumbnailAsync>d__30::markTextureNonReadable
  1255. bool ___markTextureNonReadable_6;
  1256. // System.Runtime.CompilerServices.TaskAwaiter`1<System.String> NativeCamera/<GetVideoThumbnailAsync>d__30::<>u__1
  1257. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 ___U3CU3Eu__1_7;
  1258. // System.Runtime.CompilerServices.TaskAwaiter`1<UnityEngine.Texture2D> NativeCamera/<GetVideoThumbnailAsync>d__30::<>u__2
  1259. TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B ___U3CU3Eu__2_8;
  1260. };
  1261. // NativeCamera/<LoadImageAtPathAsync>d__28
  1262. struct U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9
  1263. {
  1264. // System.Int32 NativeCamera/<LoadImageAtPathAsync>d__28::<>1__state
  1265. int32_t ___U3CU3E1__state_0;
  1266. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D> NativeCamera/<LoadImageAtPathAsync>d__28::<>t__builder
  1267. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F ___U3CU3Et__builder_1;
  1268. // System.String NativeCamera/<LoadImageAtPathAsync>d__28::imagePath
  1269. String_t* ___imagePath_2;
  1270. // System.Int32 NativeCamera/<LoadImageAtPathAsync>d__28::maxSize
  1271. int32_t ___maxSize_3;
  1272. // System.Boolean NativeCamera/<LoadImageAtPathAsync>d__28::markTextureNonReadable
  1273. bool ___markTextureNonReadable_4;
  1274. // NativeCamera/<>c__DisplayClass28_0 NativeCamera/<LoadImageAtPathAsync>d__28::<>8__1
  1275. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* ___U3CU3E8__1_5;
  1276. // System.String NativeCamera/<LoadImageAtPathAsync>d__28::<loadPath>5__2
  1277. String_t* ___U3CloadPathU3E5__2_6;
  1278. // UnityEngine.Texture2D NativeCamera/<LoadImageAtPathAsync>d__28::<result>5__3
  1279. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___U3CresultU3E5__3_7;
  1280. // System.Runtime.CompilerServices.TaskAwaiter`1<System.String> NativeCamera/<LoadImageAtPathAsync>d__28::<>u__1
  1281. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 ___U3CU3Eu__1_8;
  1282. // UnityEngine.Networking.UnityWebRequest NativeCamera/<LoadImageAtPathAsync>d__28::<www>5__4
  1283. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ___U3CwwwU3E5__4_9;
  1284. // UnityEngine.Networking.UnityWebRequestAsyncOperation NativeCamera/<LoadImageAtPathAsync>d__28::<asyncOperation>5__5
  1285. UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C* ___U3CasyncOperationU3E5__5_10;
  1286. // System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter NativeCamera/<LoadImageAtPathAsync>d__28::<>u__2
  1287. YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A ___U3CU3Eu__2_11;
  1288. };
  1289. // System.Func`1<System.String>
  1290. struct Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C : public MulticastDelegate_t
  1291. {
  1292. };
  1293. // System.Action
  1294. struct Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07 : public MulticastDelegate_t
  1295. {
  1296. };
  1297. // System.ArgumentException
  1298. struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
  1299. {
  1300. // System.String System.ArgumentException::_paramName
  1301. String_t* ____paramName_18;
  1302. };
  1303. // System.AsyncCallback
  1304. struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C : public MulticastDelegate_t
  1305. {
  1306. };
  1307. // UnityEngine.Behaviour
  1308. struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  1309. {
  1310. };
  1311. // System.IO.DirectoryInfo
  1312. struct DirectoryInfo_tEAEEC018EB49B4A71907FFEAFE935FAA8F9C1FE2 : public FileSystemInfo_tE3063B9229F46B05A5F6D018C8C4CA510104E8E9
  1313. {
  1314. };
  1315. // System.IO.IOException
  1316. struct IOException_t5D599190B003D41D45D4839A9B6B9AB53A755910 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
  1317. {
  1318. };
  1319. // UnityEngine.Texture2D
  1320. struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
  1321. {
  1322. };
  1323. // NativeCamera/CameraCallback
  1324. struct CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771 : public MulticastDelegate_t
  1325. {
  1326. };
  1327. // NativeCamera/PermissionCallback
  1328. struct PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001 : public MulticastDelegate_t
  1329. {
  1330. };
  1331. // System.IO.FileNotFoundException
  1332. struct FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A : public IOException_t5D599190B003D41D45D4839A9B6B9AB53A755910
  1333. {
  1334. // System.String System.IO.FileNotFoundException::<FileName>k__BackingField
  1335. String_t* ___U3CFileNameU3Ek__BackingField_18;
  1336. // System.String System.IO.FileNotFoundException::<FusionLog>k__BackingField
  1337. String_t* ___U3CFusionLogU3Ek__BackingField_19;
  1338. };
  1339. // UnityEngine.MonoBehaviour
  1340. struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
  1341. {
  1342. };
  1343. // NativeCameraNamespace.NCCallbackHelper
  1344. struct NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
  1345. {
  1346. // System.Action NativeCameraNamespace.NCCallbackHelper::mainThreadAction
  1347. Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___mainThreadAction_4;
  1348. };
  1349. // <Module>
  1350. // <Module>
  1351. // System.Threading.Tasks.TaskCompletionSource`1<System.Int32Enum>
  1352. // System.Threading.Tasks.TaskCompletionSource`1<System.Int32Enum>
  1353. // System.Threading.Tasks.TaskCompletionSource`1<NativeCamera/Permission>
  1354. // System.Threading.Tasks.TaskCompletionSource`1<NativeCamera/Permission>
  1355. // UnityEngine.AndroidJavaObject
  1356. struct AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0_StaticFields
  1357. {
  1358. // System.Boolean UnityEngine.AndroidJavaObject::enableDebugPrints
  1359. bool ___enableDebugPrints_0;
  1360. };
  1361. // UnityEngine.AndroidJavaObject
  1362. // System.Globalization.CultureInfo
  1363. struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_StaticFields
  1364. {
  1365. // System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::invariant_culture_info
  1366. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___invariant_culture_info_0;
  1367. // System.Object System.Globalization.CultureInfo::shared_table_lock
  1368. RuntimeObject* ___shared_table_lock_1;
  1369. // System.Globalization.CultureInfo System.Globalization.CultureInfo::default_current_culture
  1370. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___default_current_culture_2;
  1371. // System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::s_DefaultThreadCurrentUICulture
  1372. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___s_DefaultThreadCurrentUICulture_34;
  1373. // System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::s_DefaultThreadCurrentCulture
  1374. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___s_DefaultThreadCurrentCulture_35;
  1375. // System.Collections.Generic.Dictionary`2<System.Int32,System.Globalization.CultureInfo> System.Globalization.CultureInfo::shared_by_number
  1376. Dictionary_2_t9FA6D82CAFC18769F7515BB51D1C56DAE09381C3* ___shared_by_number_36;
  1377. // System.Collections.Generic.Dictionary`2<System.String,System.Globalization.CultureInfo> System.Globalization.CultureInfo::shared_by_name
  1378. Dictionary_2_tE1603CE612C16451D1E56FF4D4859D4FE4087C28* ___shared_by_name_37;
  1379. // System.Globalization.CultureInfo System.Globalization.CultureInfo::s_UserPreferredCultureInfoInAppX
  1380. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___s_UserPreferredCultureInfoInAppX_38;
  1381. // System.Boolean System.Globalization.CultureInfo::IsTaiwanSku
  1382. bool ___IsTaiwanSku_39;
  1383. };
  1384. // System.Globalization.CultureInfo
  1385. // NativeCamera
  1386. struct NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields
  1387. {
  1388. // UnityEngine.AndroidJavaClass NativeCamera::m_ajc
  1389. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* ___m_ajc_0;
  1390. // UnityEngine.AndroidJavaObject NativeCamera::m_context
  1391. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* ___m_context_1;
  1392. // System.String NativeCamera::m_temporaryImagePath
  1393. String_t* ___m_temporaryImagePath_2;
  1394. };
  1395. // NativeCamera
  1396. // System.String
  1397. struct String_t_StaticFields
  1398. {
  1399. // System.String System.String::Empty
  1400. String_t* ___Empty_6;
  1401. };
  1402. // System.String
  1403. // NativeCameraNamespace.NCCameraCallbackAndroid/<>c__DisplayClass3_0
  1404. // NativeCameraNamespace.NCCameraCallbackAndroid/<>c__DisplayClass3_0
  1405. // NativeCameraNamespace.NCPermissionCallbackAsyncAndroid/<>c__DisplayClass3_0
  1406. // NativeCameraNamespace.NCPermissionCallbackAsyncAndroid/<>c__DisplayClass3_0
  1407. // NativeCamera/<>c__DisplayClass20_0
  1408. // NativeCamera/<>c__DisplayClass20_0
  1409. // NativeCamera/<>c__DisplayClass28_0
  1410. // NativeCamera/<>c__DisplayClass28_0
  1411. // NativeCamera/<>c__DisplayClass30_0
  1412. // NativeCamera/<>c__DisplayClass30_0
  1413. // System.Runtime.CompilerServices.TaskAwaiter`1<System.Object>
  1414. // System.Runtime.CompilerServices.TaskAwaiter`1<System.Object>
  1415. // System.Runtime.CompilerServices.TaskAwaiter`1<System.String>
  1416. // System.Runtime.CompilerServices.TaskAwaiter`1<System.String>
  1417. // System.Runtime.CompilerServices.TaskAwaiter`1<UnityEngine.Texture2D>
  1418. // System.Runtime.CompilerServices.TaskAwaiter`1<UnityEngine.Texture2D>
  1419. // System.Threading.Tasks.Task`1<System.Int32Enum>
  1420. struct Task_1_t8DED34447688BFCF5112B0D05D5A80CED94E4BFB_StaticFields
  1421. {
  1422. // System.Threading.Tasks.TaskFactory`1<TResult> System.Threading.Tasks.Task`1::s_defaultFactory
  1423. TaskFactory_1_t96AF1AA119B568BA8916E7FD621B61B350B9BB49* ___s_defaultFactory_39;
  1424. };
  1425. // System.Threading.Tasks.Task`1<System.Int32Enum>
  1426. // System.Threading.Tasks.Task`1<System.String>
  1427. struct Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0_StaticFields
  1428. {
  1429. // System.Threading.Tasks.TaskFactory`1<TResult> System.Threading.Tasks.Task`1::s_defaultFactory
  1430. TaskFactory_1_t7ABCD7F9503486A075E0B072E6EB95956CFE3106* ___s_defaultFactory_39;
  1431. };
  1432. // System.Threading.Tasks.Task`1<System.String>
  1433. // System.Threading.Tasks.Task`1<UnityEngine.Texture2D>
  1434. struct Task_1_t95921EB64E237ACD28589D64B693C652268F225E_StaticFields
  1435. {
  1436. // System.Threading.Tasks.TaskFactory`1<TResult> System.Threading.Tasks.Task`1::s_defaultFactory
  1437. TaskFactory_1_tA02CD66EEE1C447BE2C3BDAF4821F919418AE5FF* ___s_defaultFactory_39;
  1438. };
  1439. // System.Threading.Tasks.Task`1<UnityEngine.Texture2D>
  1440. // System.Threading.Tasks.Task`1<NativeCamera/Permission>
  1441. struct Task_1_t75D76B0D2A565B05D89753E60648134269CB6DED_StaticFields
  1442. {
  1443. // System.Threading.Tasks.TaskFactory`1<TResult> System.Threading.Tasks.Task`1::s_defaultFactory
  1444. TaskFactory_1_t7E63F6634D69B0FEA76FDA2DA921B250C00B353F* ___s_defaultFactory_39;
  1445. };
  1446. // System.Threading.Tasks.Task`1<NativeCamera/Permission>
  1447. // UnityEngine.AndroidJavaClass
  1448. // UnityEngine.AndroidJavaClass
  1449. // System.Boolean
  1450. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  1451. {
  1452. // System.String System.Boolean::TrueString
  1453. String_t* ___TrueString_5;
  1454. // System.String System.Boolean::FalseString
  1455. String_t* ___FalseString_6;
  1456. };
  1457. // System.Boolean
  1458. // System.Byte
  1459. // System.Byte
  1460. // System.Char
  1461. struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
  1462. {
  1463. // System.Byte[] System.Char::s_categoryForLatin1
  1464. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1_3;
  1465. };
  1466. // System.Char
  1467. // System.Double
  1468. // System.Double
  1469. // System.Int32
  1470. // System.Int32
  1471. // System.Int64
  1472. // System.Int64
  1473. // System.IntPtr
  1474. struct IntPtr_t_StaticFields
  1475. {
  1476. // System.IntPtr System.IntPtr::Zero
  1477. intptr_t ___Zero_1;
  1478. };
  1479. // System.IntPtr
  1480. // System.Single
  1481. // System.Single
  1482. // System.Void
  1483. // System.Void
  1484. // System.Runtime.CompilerServices.YieldAwaitable
  1485. // System.Runtime.CompilerServices.YieldAwaitable
  1486. // NativeCamera/ImageProperties
  1487. // NativeCamera/ImageProperties
  1488. // NativeCamera/VideoProperties
  1489. // NativeCamera/VideoProperties
  1490. // System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter
  1491. struct YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A_StaticFields
  1492. {
  1493. // System.Threading.WaitCallback System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter::s_waitCallbackRunAction
  1494. WaitCallback_tFB2C7FD58D024BBC2B0333DC7A4CB63B8DEBD5D3* ___s_waitCallbackRunAction_0;
  1495. // System.Threading.SendOrPostCallback System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter::s_sendOrPostCallbackRunAction
  1496. SendOrPostCallback_t5C292A12062F24027A98492F52ECFE9802AA6F0E* ___s_sendOrPostCallbackRunAction_1;
  1497. };
  1498. // System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter
  1499. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>
  1500. struct AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0_StaticFields
  1501. {
  1502. // System.Threading.Tasks.Task`1<TResult> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::s_defaultResultTask
  1503. Task_1_t0C4CD3A5BB93A184420D73218644C56C70FDA7E2* ___s_defaultResultTask_0;
  1504. };
  1505. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>
  1506. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>
  1507. struct AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F_StaticFields
  1508. {
  1509. // System.Threading.Tasks.Task`1<TResult> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::s_defaultResultTask
  1510. Task_1_t95921EB64E237ACD28589D64B693C652268F225E* ___s_defaultResultTask_0;
  1511. };
  1512. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>
  1513. // UnityEngine.AndroidJavaProxy
  1514. struct AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D_StaticFields
  1515. {
  1516. // UnityEngine.GlobalJavaObjectRef UnityEngine.AndroidJavaProxy::s_JavaLangSystemClass
  1517. GlobalJavaObjectRef_t20D8E5AAFC2EB2518FCABBF40465855E797FF0D8* ___s_JavaLangSystemClass_2;
  1518. // System.IntPtr UnityEngine.AndroidJavaProxy::s_HashCodeMethodID
  1519. intptr_t ___s_HashCodeMethodID_3;
  1520. };
  1521. // UnityEngine.AndroidJavaProxy
  1522. // UnityEngine.AsyncOperation
  1523. // UnityEngine.AsyncOperation
  1524. // System.Delegate
  1525. // System.Delegate
  1526. // System.Exception
  1527. struct Exception_t_StaticFields
  1528. {
  1529. // System.Object System.Exception::s_EDILock
  1530. RuntimeObject* ___s_EDILock_0;
  1531. };
  1532. // System.Exception
  1533. // UnityEngine.Object
  1534. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
  1535. {
  1536. // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
  1537. int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
  1538. };
  1539. // UnityEngine.Object
  1540. // UnityEngine.Component
  1541. // UnityEngine.Component
  1542. // UnityEngine.GameObject
  1543. // UnityEngine.GameObject
  1544. // NativeCameraNamespace.NCCameraCallbackAndroid
  1545. // NativeCameraNamespace.NCCameraCallbackAndroid
  1546. // NativeCameraNamespace.NCPermissionCallbackAndroid
  1547. // NativeCameraNamespace.NCPermissionCallbackAndroid
  1548. // NativeCameraNamespace.NCPermissionCallbackAsyncAndroid
  1549. // NativeCameraNamespace.NCPermissionCallbackAsyncAndroid
  1550. // UnityEngine.Networking.UnityWebRequest
  1551. // UnityEngine.Networking.UnityWebRequest
  1552. // UnityEngine.Networking.UnityWebRequestAsyncOperation
  1553. // UnityEngine.Networking.UnityWebRequestAsyncOperation
  1554. // NativeCamera/<GetVideoThumbnailAsync>d__30
  1555. // NativeCamera/<GetVideoThumbnailAsync>d__30
  1556. // NativeCamera/<LoadImageAtPathAsync>d__28
  1557. // NativeCamera/<LoadImageAtPathAsync>d__28
  1558. // System.Func`1<System.String>
  1559. // System.Func`1<System.String>
  1560. // System.Action
  1561. // System.Action
  1562. // System.ArgumentException
  1563. // System.ArgumentException
  1564. // System.AsyncCallback
  1565. // System.AsyncCallback
  1566. // System.IO.DirectoryInfo
  1567. // System.IO.DirectoryInfo
  1568. // UnityEngine.Texture2D
  1569. // UnityEngine.Texture2D
  1570. // NativeCamera/CameraCallback
  1571. // NativeCamera/CameraCallback
  1572. // NativeCamera/PermissionCallback
  1573. // NativeCamera/PermissionCallback
  1574. // System.IO.FileNotFoundException
  1575. // System.IO.FileNotFoundException
  1576. // UnityEngine.MonoBehaviour
  1577. // UnityEngine.MonoBehaviour
  1578. // NativeCameraNamespace.NCCallbackHelper
  1579. // NativeCameraNamespace.NCCallbackHelper
  1580. #ifdef __clang__
  1581. #pragma clang diagnostic pop
  1582. #endif
  1583. // System.Object[]
  1584. struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 : public RuntimeArray
  1585. {
  1586. ALIGN_FIELD (8) RuntimeObject* m_Items[1];
  1587. inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
  1588. {
  1589. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1590. return m_Items[index];
  1591. }
  1592. inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
  1593. {
  1594. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1595. return m_Items + index;
  1596. }
  1597. inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
  1598. {
  1599. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1600. m_Items[index] = value;
  1601. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1602. }
  1603. inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
  1604. {
  1605. return m_Items[index];
  1606. }
  1607. inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1608. {
  1609. return m_Items + index;
  1610. }
  1611. inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
  1612. {
  1613. m_Items[index] = value;
  1614. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1615. }
  1616. };
  1617. // System.Byte[]
  1618. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
  1619. {
  1620. ALIGN_FIELD (8) uint8_t m_Items[1];
  1621. inline uint8_t GetAt(il2cpp_array_size_t index) const
  1622. {
  1623. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1624. return m_Items[index];
  1625. }
  1626. inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
  1627. {
  1628. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1629. return m_Items + index;
  1630. }
  1631. inline void SetAt(il2cpp_array_size_t index, uint8_t value)
  1632. {
  1633. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1634. m_Items[index] = value;
  1635. }
  1636. inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
  1637. {
  1638. return m_Items[index];
  1639. }
  1640. inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  1641. {
  1642. return m_Items + index;
  1643. }
  1644. inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
  1645. {
  1646. m_Items[index] = value;
  1647. }
  1648. };
  1649. // System.String[]
  1650. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
  1651. {
  1652. ALIGN_FIELD (8) String_t* m_Items[1];
  1653. inline String_t* GetAt(il2cpp_array_size_t index) const
  1654. {
  1655. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1656. return m_Items[index];
  1657. }
  1658. inline String_t** GetAddressAt(il2cpp_array_size_t index)
  1659. {
  1660. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1661. return m_Items + index;
  1662. }
  1663. inline void SetAt(il2cpp_array_size_t index, String_t* value)
  1664. {
  1665. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1666. m_Items[index] = value;
  1667. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1668. }
  1669. inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
  1670. {
  1671. return m_Items[index];
  1672. }
  1673. inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1674. {
  1675. return m_Items + index;
  1676. }
  1677. inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
  1678. {
  1679. m_Items[index] = value;
  1680. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1681. }
  1682. };
  1683. // System.Delegate[]
  1684. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771 : public RuntimeArray
  1685. {
  1686. ALIGN_FIELD (8) Delegate_t* m_Items[1];
  1687. inline Delegate_t* GetAt(il2cpp_array_size_t index) const
  1688. {
  1689. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1690. return m_Items[index];
  1691. }
  1692. inline Delegate_t** GetAddressAt(il2cpp_array_size_t index)
  1693. {
  1694. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1695. return m_Items + index;
  1696. }
  1697. inline void SetAt(il2cpp_array_size_t index, Delegate_t* value)
  1698. {
  1699. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1700. m_Items[index] = value;
  1701. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1702. }
  1703. inline Delegate_t* GetAtUnchecked(il2cpp_array_size_t index) const
  1704. {
  1705. return m_Items[index];
  1706. }
  1707. inline Delegate_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
  1708. {
  1709. return m_Items + index;
  1710. }
  1711. inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t* value)
  1712. {
  1713. m_Items[index] = value;
  1714. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  1715. }
  1716. };
  1717. // FieldType UnityEngine.AndroidJavaObject::GetStatic<System.Object>(System.String)
  1718. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* AndroidJavaObject_GetStatic_TisRuntimeObject_m4EF4E4761A0A6E99E0A298F653E8129B1494E4C9_gshared (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* __this, String_t* ___0_fieldName, const RuntimeMethod* method) ;
  1719. // ReturnType UnityEngine.AndroidJavaObject::CallStatic<System.Int32>(System.String,System.Object[])
  1720. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJavaObject_CallStatic_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m6619B03C8DA4F5A66785845A2E5B39DAEF36642A_gshared (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* __this, String_t* ___0_methodName, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___1_args, const RuntimeMethod* method) ;
  1721. // System.Void System.Threading.Tasks.TaskCompletionSource`1<System.Int32Enum>::.ctor()
  1722. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskCompletionSource_1__ctor_m9FD8C5F5BF7CC119D6FF330BA42C60284DB47E65_gshared (TaskCompletionSource_1_tF8DA32849B904AE4F51ECAF6C6D7FA080481A35A* __this, const RuntimeMethod* method) ;
  1723. // System.Threading.Tasks.Task`1<TResult> System.Threading.Tasks.TaskCompletionSource`1<System.Int32Enum>::get_Task()
  1724. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Task_1_t8DED34447688BFCF5112B0D05D5A80CED94E4BFB* TaskCompletionSource_1_get_Task_mB4A2FF75AC28BB6E3B7A55129E9CD347E5F06FDC_gshared_inline (TaskCompletionSource_1_tF8DA32849B904AE4F51ECAF6C6D7FA080481A35A* __this, const RuntimeMethod* method) ;
  1725. // ReturnType UnityEngine.AndroidJavaObject::CallStatic<System.Boolean>(System.String,System.Object[])
  1726. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidJavaObject_CallStatic_TisBoolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_mE956BC9A30BEC746DE593C53C1B8DB6A685185A6_gshared (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* __this, String_t* ___0_methodName, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___1_args, const RuntimeMethod* method) ;
  1727. // ReturnType UnityEngine.AndroidJavaObject::CallStatic<System.Object>(System.String,System.Object[])
  1728. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* AndroidJavaObject_CallStatic_TisRuntimeObject_mCAFE27630F6092C4910E14592B050DACFCBE146F_gshared (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* __this, String_t* ___0_methodName, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___1_args, const RuntimeMethod* method) ;
  1729. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<TResult> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::Create()
  1730. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0 AsyncTaskMethodBuilder_1_Create_m6A59453D00C0143F178809ADFD98C90E8C291ABB_gshared (const RuntimeMethod* method) ;
  1731. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::Start<NativeCamera/<LoadImageAtPathAsync>d__28>(TStateMachine&)
  1732. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsyncTaskMethodBuilder_1_Start_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m68AEF628EEA88B9A47C135CC0B0D5490F50419FD_gshared (AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0* __this, U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* ___0_stateMachine, const RuntimeMethod* method) ;
  1733. // System.Threading.Tasks.Task`1<TResult> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::get_Task()
  1734. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t0C4CD3A5BB93A184420D73218644C56C70FDA7E2* AsyncTaskMethodBuilder_1_get_Task_mEA092EC6F1324A9D694CF6056FA8583F2A2BDC89_gshared (AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0* __this, const RuntimeMethod* method) ;
  1735. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::Start<NativeCamera/<GetVideoThumbnailAsync>d__30>(TStateMachine&)
  1736. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsyncTaskMethodBuilder_1_Start_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_mBC231C71460E6D9F479BB8A7606F05923ACA0BF9_gshared (AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0* __this, U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* ___0_stateMachine, const RuntimeMethod* method) ;
  1737. // System.Void System.Threading.Tasks.TaskCompletionSource`1<System.Int32Enum>::SetResult(TResult)
  1738. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskCompletionSource_1_SetResult_m9AEEE70A249C411C5DE39635EF35DAF9D5FAF458_gshared (TaskCompletionSource_1_tF8DA32849B904AE4F51ECAF6C6D7FA080481A35A* __this, int32_t ___0_result, const RuntimeMethod* method) ;
  1739. // System.Void System.Func`1<System.Object>::.ctor(System.Object,System.IntPtr)
  1740. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Func_1__ctor_m663374A863E492A515BE9626B6F0E444991834E8_gshared (Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
  1741. // System.Threading.Tasks.Task`1<T> NativeCamera::TryCallNativeAndroidFunctionOnSeparateThread<System.Object>(System.Func`1<T>)
  1742. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t0C4CD3A5BB93A184420D73218644C56C70FDA7E2* NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisRuntimeObject_mEE72D71E5EAD74CF3DC87613CBDEDE28166920DD_gshared (Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4* ___0_function, const RuntimeMethod* method) ;
  1743. // System.Runtime.CompilerServices.TaskAwaiter`1<TResult> System.Threading.Tasks.Task`1<System.Object>::GetAwaiter()
  1744. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA Task_1_GetAwaiter_mD80ED263BF3F1F8DBDBD177BA3401A0AAAFA38E3_gshared (Task_1_t0C4CD3A5BB93A184420D73218644C56C70FDA7E2* __this, const RuntimeMethod* method) ;
  1745. // System.Boolean System.Runtime.CompilerServices.TaskAwaiter`1<System.Object>::get_IsCompleted()
  1746. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskAwaiter_1_get_IsCompleted_mEEBB09E26F4165A0F864D92E1890CFCD2C8CFD54_gshared (TaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA* __this, const RuntimeMethod* method) ;
  1747. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.TaskAwaiter`1<System.Object>,NativeCamera/<LoadImageAtPathAsync>d__28>(TAwaiter&,TStateMachine&)
  1748. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m4C61C9BC605A10331CC647EAA21D6C71A2D46E65_gshared (AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0* __this, TaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA* ___0_awaiter, U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* ___1_stateMachine, const RuntimeMethod* method) ;
  1749. // TResult System.Runtime.CompilerServices.TaskAwaiter`1<System.Object>::GetResult()
  1750. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TaskAwaiter_1_GetResult_mA4A8A1F43A456B40DDA251D00026C60919AED85B_gshared (TaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA* __this, const RuntimeMethod* method) ;
  1751. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter,NativeCamera/<LoadImageAtPathAsync>d__28>(TAwaiter&,TStateMachine&)
  1752. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisYieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m99BD8C46583B19B483BD65F96417215FCB9D53ED_gshared (AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0* __this, YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A* ___0_awaiter, U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* ___1_stateMachine, const RuntimeMethod* method) ;
  1753. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::SetException(System.Exception)
  1754. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsyncTaskMethodBuilder_1_SetException_mC2F74B26F5303F9F960965220E2866D777F1A5C6_gshared (AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0* __this, Exception_t* ___0_exception, const RuntimeMethod* method) ;
  1755. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::SetResult(TResult)
  1756. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsyncTaskMethodBuilder_1_SetResult_m0D83195F995F9825D7A6DCDC3835D6917C43B5A6_gshared (AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0* __this, RuntimeObject* ___0_result, const RuntimeMethod* method) ;
  1757. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)
  1758. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsyncTaskMethodBuilder_1_SetStateMachine_m3BE54983634ABF5BE05200C7894AD0F9F20BDD65_gshared (AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0* __this, RuntimeObject* ___0_stateMachine, const RuntimeMethod* method) ;
  1759. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Object>::AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.TaskAwaiter`1<System.Object>,NativeCamera/<GetVideoThumbnailAsync>d__30>(TAwaiter&,TStateMachine&)
  1760. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m1C5D50DB1E9D3825F2C05237659D7DD0E83DB28F_gshared (AsyncTaskMethodBuilder_1_tE810F083929D7952F192036D298085BD4B048AD0* __this, TaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA* ___0_awaiter, U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* ___1_stateMachine, const RuntimeMethod* method) ;
  1761. // T UnityEngine.GameObject::AddComponent<System.Object>()
  1762. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
  1763. // System.Void UnityEngine.AndroidJavaClass::.ctor(System.String)
  1764. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaClass__ctor_mB5466169E1151B8CC44C8FED234D79984B431389 (AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* __this, String_t* ___0_className, const RuntimeMethod* method) ;
  1765. // FieldType UnityEngine.AndroidJavaObject::GetStatic<UnityEngine.AndroidJavaObject>(System.String)
  1766. inline AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* AndroidJavaObject_GetStatic_TisAndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0_mD7D192A35EB2B2DA3775FAB081958B72088251DD (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* __this, String_t* ___0_fieldName, const RuntimeMethod* method)
  1767. {
  1768. return (( AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* (*) (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0*, String_t*, const RuntimeMethod*))AndroidJavaObject_GetStatic_TisRuntimeObject_m4EF4E4761A0A6E99E0A298F653E8129B1494E4C9_gshared)(__this, ___0_fieldName, method);
  1769. }
  1770. // System.String UnityEngine.Application::get_temporaryCachePath()
  1771. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Application_get_temporaryCachePath_mE4483A939988E69570C19F8B31AB9FB17B0FD97D (const RuntimeMethod* method) ;
  1772. // System.String System.IO.Path::Combine(System.String,System.String)
  1773. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_Combine_m1ADAC05CDA2D1D61B172DF65A81E86592696BEAE (String_t* ___0_path1, String_t* ___1_path2, const RuntimeMethod* method) ;
  1774. // System.IO.DirectoryInfo System.IO.Directory::CreateDirectory(System.String)
  1775. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DirectoryInfo_tEAEEC018EB49B4A71907FFEAFE935FAA8F9C1FE2* Directory_CreateDirectory_m16EC5CE8561A997C6635E06DC24C77590F29D94F (String_t* ___0_path, const RuntimeMethod* method) ;
  1776. // UnityEngine.AndroidJavaClass NativeCamera::get_AJC()
  1777. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E (const RuntimeMethod* method) ;
  1778. // UnityEngine.AndroidJavaObject NativeCamera::get_Context()
  1779. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD (const RuntimeMethod* method) ;
  1780. // ReturnType UnityEngine.AndroidJavaObject::CallStatic<System.Int32>(System.String,System.Object[])
  1781. inline int32_t AndroidJavaObject_CallStatic_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m6619B03C8DA4F5A66785845A2E5B39DAEF36642A (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* __this, String_t* ___0_methodName, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___1_args, const RuntimeMethod* method)
  1782. {
  1783. return (( int32_t (*) (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0*, String_t*, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*, const RuntimeMethod*))AndroidJavaObject_CallStatic_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m6619B03C8DA4F5A66785845A2E5B39DAEF36642A_gshared)(__this, ___0_methodName, ___1_args, method);
  1784. }
  1785. // System.Int32 UnityEngine.PlayerPrefs::GetInt(System.String,System.Int32)
  1786. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PlayerPrefs_GetInt_m8AD1FA8BA54CC6CE2B2AEEE36B6D75587BB1692D (String_t* ___0_key, int32_t ___1_defaultValue, const RuntimeMethod* method) ;
  1787. // NativeCamera/Permission NativeCamera::CheckPermission(System.Boolean)
  1788. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NativeCamera_CheckPermission_m0445839C87DFBA62F088F4A2116FFA53173470CD (bool ___0_isPicturePermission, const RuntimeMethod* method) ;
  1789. // System.Void System.Object::.ctor()
  1790. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
  1791. // System.Void System.Threading.Monitor::Exit(System.Object)
  1792. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA (RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
  1793. // System.Void System.Threading.Monitor::Enter(System.Object,System.Boolean&)
  1794. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149 (RuntimeObject* ___0_obj, bool* ___1_lockTaken, const RuntimeMethod* method) ;
  1795. // System.Void NativeCameraNamespace.NCPermissionCallbackAndroid::.ctor(System.Object)
  1796. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCPermissionCallbackAndroid__ctor_mEE399CA43702611369BBFD6E72E3147E4C962FDC (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* __this, RuntimeObject* ___0_threadLock, const RuntimeMethod* method) ;
  1797. // System.Void UnityEngine.AndroidJavaObject::CallStatic(System.String,System.Object[])
  1798. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject_CallStatic_mB677DE04369EDD8E6DECAF2F233116EE1F06555C (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* __this, String_t* ___0_methodName, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___1_args, const RuntimeMethod* method) ;
  1799. // System.Int32 NativeCameraNamespace.NCPermissionCallbackAndroid::get_Result()
  1800. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t NCPermissionCallbackAndroid_get_Result_m0FBAA6C84093FCD7833C957E5C7CE381668100DF_inline (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* __this, const RuntimeMethod* method) ;
  1801. // System.Boolean System.Threading.Monitor::Wait(System.Object)
  1802. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Monitor_Wait_m322138959FFE3F4F3212658ACB0C30C981880D28 (RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
  1803. // System.Void UnityEngine.PlayerPrefs::SetInt(System.String,System.Int32)
  1804. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlayerPrefs_SetInt_m956D3E2DB966F20CF42F842880DDF9E2BE94D948 (String_t* ___0_key, int32_t ___1_value, const RuntimeMethod* method) ;
  1805. // System.Void UnityEngine.PlayerPrefs::Save()
  1806. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlayerPrefs_Save_m82567E045D69C838112EA204B60C144D4C1EA3AE (const RuntimeMethod* method) ;
  1807. // System.Void NativeCameraNamespace.NCPermissionCallbackAsyncAndroid::.ctor(NativeCamera/PermissionCallback)
  1808. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCPermissionCallbackAsyncAndroid__ctor_m148D3C8505CACDED882A222F2081610060ACF67F (NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B* __this, PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* ___0_callback, const RuntimeMethod* method) ;
  1809. // System.Void NativeCamera/<>c__DisplayClass20_0::.ctor()
  1810. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass20_0__ctor_mFBDEA24DAAE658B4CB10A30CA2C7BE3D5F8F8655 (U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E* __this, const RuntimeMethod* method) ;
  1811. // System.Void System.Threading.Tasks.TaskCompletionSource`1<NativeCamera/Permission>::.ctor()
  1812. inline void TaskCompletionSource_1__ctor_m59FEBA96E2C649BB6B9E4A681806C7ED628834FB (TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531* __this, const RuntimeMethod* method)
  1813. {
  1814. (( void (*) (TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531*, const RuntimeMethod*))TaskCompletionSource_1__ctor_m9FD8C5F5BF7CC119D6FF330BA42C60284DB47E65_gshared)(__this, method);
  1815. }
  1816. // System.Void NativeCamera/PermissionCallback::.ctor(System.Object,System.IntPtr)
  1817. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PermissionCallback__ctor_m7CA919F20741081C2F81A209707B998CCC4D3782 (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
  1818. // System.Void NativeCamera::RequestPermissionAsync(NativeCamera/PermissionCallback,System.Boolean)
  1819. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeCamera_RequestPermissionAsync_mC8600A67BB4F1B65AB202009AA15E8A1406395F3 (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* ___0_callback, bool ___1_isPicturePermission, const RuntimeMethod* method) ;
  1820. // System.Threading.Tasks.Task`1<TResult> System.Threading.Tasks.TaskCompletionSource`1<NativeCamera/Permission>::get_Task()
  1821. inline Task_1_t75D76B0D2A565B05D89753E60648134269CB6DED* TaskCompletionSource_1_get_Task_mDCD7F80204B3108705062BD8783CD541E08A4157_inline (TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531* __this, const RuntimeMethod* method)
  1822. {
  1823. return (( Task_1_t75D76B0D2A565B05D89753E60648134269CB6DED* (*) (TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531*, const RuntimeMethod*))TaskCompletionSource_1_get_Task_mB4A2FF75AC28BB6E3B7A55129E9CD347E5F06FDC_gshared_inline)(__this, method);
  1824. }
  1825. // NativeCamera/Permission NativeCamera::RequestPermission(System.Boolean)
  1826. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NativeCamera_RequestPermission_m22C7DBA897A6DB77BFB1C2DF886FC1F331CFEDB1 (bool ___0_isPicturePermission, const RuntimeMethod* method) ;
  1827. // System.Boolean NativeCamera::IsCameraBusy()
  1828. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NativeCamera_IsCameraBusy_m3373F1A16F70303B7F53D47A1143BED4152C2F54 (const RuntimeMethod* method) ;
  1829. // System.Void NativeCameraNamespace.NCCameraCallbackAndroid::.ctor(NativeCamera/CameraCallback)
  1830. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCCameraCallbackAndroid__ctor_m7A49A723EBFBFC7215432493733AFCF632A8F5AA (NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378* __this, CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* ___0_callback, const RuntimeMethod* method) ;
  1831. // ReturnType UnityEngine.AndroidJavaObject::CallStatic<System.Boolean>(System.String,System.Object[])
  1832. inline bool AndroidJavaObject_CallStatic_TisBoolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_mE956BC9A30BEC746DE593C53C1B8DB6A685185A6 (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* __this, String_t* ___0_methodName, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___1_args, const RuntimeMethod* method)
  1833. {
  1834. return (( bool (*) (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0*, String_t*, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*, const RuntimeMethod*))AndroidJavaObject_CallStatic_TisBoolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_mE956BC9A30BEC746DE593C53C1B8DB6A685185A6_gshared)(__this, ___0_methodName, ___1_args, method);
  1835. }
  1836. // System.Boolean System.String::IsNullOrEmpty(System.String)
  1837. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478 (String_t* ___0_value, const RuntimeMethod* method) ;
  1838. // System.Void System.ArgumentException::.ctor(System.String)
  1839. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465 (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* __this, String_t* ___0_message, const RuntimeMethod* method) ;
  1840. // System.Boolean System.IO.File::Exists(System.String)
  1841. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool File_Exists_m95E329ABBE3EAD6750FE1989BBA6884457136D4A (String_t* ___0_path, const RuntimeMethod* method) ;
  1842. // System.String System.String::Concat(System.String,System.String)
  1843. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___0_str0, String_t* ___1_str1, const RuntimeMethod* method) ;
  1844. // System.Void System.IO.FileNotFoundException::.ctor(System.String)
  1845. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FileNotFoundException__ctor_mA8C9C93DB8C5B96D6B5E59B2AE07154F265FB1A1 (FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A* __this, String_t* ___0_message, const RuntimeMethod* method) ;
  1846. // System.Int32 UnityEngine.SystemInfo::get_maxTextureSize()
  1847. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SystemInfo_get_maxTextureSize_mEE557C09643222591C6F4D3F561D7A60CD403991 (const RuntimeMethod* method) ;
  1848. // System.String NativeCamera::get_TemporaryImagePath()
  1849. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NativeCamera_get_TemporaryImagePath_m8697D60DFA6387A8227ABEE74C34C46FDC14E027 (const RuntimeMethod* method) ;
  1850. // ReturnType UnityEngine.AndroidJavaObject::CallStatic<System.String>(System.String,System.Object[])
  1851. inline String_t* AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3 (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* __this, String_t* ___0_methodName, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___1_args, const RuntimeMethod* method)
  1852. {
  1853. return (( String_t* (*) (AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0*, String_t*, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*, const RuntimeMethod*))AndroidJavaObject_CallStatic_TisRuntimeObject_mCAFE27630F6092C4910E14592B050DACFCBE146F_gshared)(__this, ___0_methodName, ___1_args, method);
  1854. }
  1855. // System.String System.IO.Path::GetExtension(System.String)
  1856. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_GetExtension_m6FEAA9E14451BFD210B9D1AEC2430C813F570FE5 (String_t* ___0_path, const RuntimeMethod* method) ;
  1857. // System.String System.String::ToLowerInvariant()
  1858. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_ToLowerInvariant_mBE32C93DE27C5353FEA3FA654FC1DDBE3D0EB0F2 (String_t* __this, const RuntimeMethod* method) ;
  1859. // System.Boolean System.String::op_Equality(System.String,System.String)
  1860. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1 (String_t* ___0_a, String_t* ___1_b, const RuntimeMethod* method) ;
  1861. // System.Void UnityEngine.Texture2D::.ctor(System.Int32,System.Int32,UnityEngine.TextureFormat,System.Boolean,System.Boolean)
  1862. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture2D__ctor_mC3F84195D1DCEFC0536B3FBD40A8F8E865A4F32A (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* __this, int32_t ___0_width, int32_t ___1_height, int32_t ___2_textureFormat, bool ___3_mipChain, bool ___4_linear, const RuntimeMethod* method) ;
  1863. // System.Boolean System.String::op_Inequality(System.String,System.String)
  1864. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6 (String_t* ___0_a, String_t* ___1_b, const RuntimeMethod* method) ;
  1865. // System.Void System.IO.File::Delete(System.String)
  1866. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void File_Delete_mE29829DA504F3E1B8BCB78F21E2862C9ED7EC386 (String_t* ___0_path, const RuntimeMethod* method) ;
  1867. // System.Byte[] System.IO.File::ReadAllBytes(System.String)
  1868. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* File_ReadAllBytes_m704CBBA3F130C94F5A3E0BE2A93D9E9D79DC3E24 (String_t* ___0_path, const RuntimeMethod* method) ;
  1869. // System.Boolean UnityEngine.ImageConversion::LoadImage(UnityEngine.Texture2D,System.Byte[],System.Boolean)
  1870. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ImageConversion_LoadImage_m292ADCEED268A0A0AAD532BAB8D1710CF0FC8AEF (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_tex, ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___1_data, bool ___2_markNonReadable, const RuntimeMethod* method) ;
  1871. // System.Void UnityEngine.Debug::LogWarning(System.Object)
  1872. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
  1873. // System.Void UnityEngine.Object::DestroyImmediate(UnityEngine.Object)
  1874. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_obj, const RuntimeMethod* method) ;
  1875. // System.Void UnityEngine.Debug::LogException(System.Exception)
  1876. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogException_mAB3F4DC7297ED8FBB49DAA718B70E59A6B0171B0 (Exception_t* ___0_exception, const RuntimeMethod* method) ;
  1877. // System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<TResult> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::Create()
  1878. inline AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F AsyncTaskMethodBuilder_1_Create_mEBDA40894C43C50AA47346AC784F528C9CA1ABD4 (const RuntimeMethod* method)
  1879. {
  1880. return (( AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F (*) (const RuntimeMethod*))AsyncTaskMethodBuilder_1_Create_m6A59453D00C0143F178809ADFD98C90E8C291ABB_gshared)(method);
  1881. }
  1882. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::Start<NativeCamera/<LoadImageAtPathAsync>d__28>(TStateMachine&)
  1883. inline void AsyncTaskMethodBuilder_1_Start_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mC08662C58644EB7E11271EF5EDFB23D1678CB978 (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* ___0_stateMachine, const RuntimeMethod* method)
  1884. {
  1885. (( void (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_Start_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m68AEF628EEA88B9A47C135CC0B0D5490F50419FD_gshared)(__this, ___0_stateMachine, method);
  1886. }
  1887. // System.Threading.Tasks.Task`1<TResult> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::get_Task()
  1888. inline Task_1_t95921EB64E237ACD28589D64B693C652268F225E* AsyncTaskMethodBuilder_1_get_Task_mC842CA788344F6A0EAB9EFDE97E0FAC79368245E (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, const RuntimeMethod* method)
  1889. {
  1890. return (( Task_1_t95921EB64E237ACD28589D64B693C652268F225E* (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_get_Task_mEA092EC6F1324A9D694CF6056FA8583F2A2BDC89_gshared)(__this, method);
  1891. }
  1892. // UnityEngine.Texture2D NativeCamera::LoadImageAtPath(System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean)
  1893. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* NativeCamera_LoadImageAtPath_m0F2B227CF63FE99A67155B8C52A719AF5949C747 (String_t* ___0_imagePath, int32_t ___1_maxSize, bool ___2_markTextureNonReadable, bool ___3_generateMipmaps, bool ___4_linearColorSpace, const RuntimeMethod* method) ;
  1894. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::Start<NativeCamera/<GetVideoThumbnailAsync>d__30>(TStateMachine&)
  1895. inline void AsyncTaskMethodBuilder_1_Start_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m59F56DB7F0E99D8EA793C64E8735398C0539DBE6 (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* ___0_stateMachine, const RuntimeMethod* method)
  1896. {
  1897. (( void (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_Start_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_mBC231C71460E6D9F479BB8A7606F05923ACA0BF9_gshared)(__this, ___0_stateMachine, method);
  1898. }
  1899. // System.String[] System.String::Split(System.Char,System.StringSplitOptions)
  1900. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* String_Split_m9530B73D02054692283BF35C3A27C8F2230946F4 (String_t* __this, Il2CppChar ___0_separator, int32_t ___1_options, const RuntimeMethod* method) ;
  1901. // System.String System.String::Trim()
  1902. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5 (String_t* __this, const RuntimeMethod* method) ;
  1903. // System.Boolean System.Int32::TryParse(System.String,System.Int32&)
  1904. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Int32_TryParse_mC928DE2FEC1C35ED5298BDDCA9868076E94B8A21 (String_t* ___0_s, int32_t* ___1_result, const RuntimeMethod* method) ;
  1905. // System.Int32 System.String::get_Length()
  1906. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method) ;
  1907. // System.Void NativeCamera/ImageProperties::.ctor(System.Int32,System.Int32,System.String,NativeCamera/ImageOrientation)
  1908. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ImageProperties__ctor_mDB1459622F0FFEEA741B63898D7CE5B41AA4F9EC (ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46* __this, int32_t ___0_width, int32_t ___1_height, String_t* ___2_mimeType, int32_t ___3_orientation, const RuntimeMethod* method) ;
  1909. // System.Boolean System.Int64::TryParse(System.String,System.Int64&)
  1910. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Int64_TryParse_m3FC0128C89CC2331239FC2A0A749BF33455F03D2 (String_t* ___0_s, int64_t* ___1_result, const RuntimeMethod* method) ;
  1911. // System.String System.String::Replace(System.Char,System.Char)
  1912. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Replace_m86403DC5F422D8D5E1CFAAF255B103CB807EDAAF (String_t* __this, Il2CppChar ___0_oldChar, Il2CppChar ___1_newChar, const RuntimeMethod* method) ;
  1913. // System.Globalization.CultureInfo System.Globalization.CultureInfo::get_InvariantCulture()
  1914. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* CultureInfo_get_InvariantCulture_mD1E96DC845E34B10F78CB744B0CB5D7D63CEB1E6 (const RuntimeMethod* method) ;
  1915. // System.Boolean System.Single::TryParse(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Single&)
  1916. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Single_TryParse_mFB8CC32F0016FBB6EFCB97953CF3515767EB6431 (String_t* ___0_s, int32_t ___1_style, RuntimeObject* ___2_provider, float* ___3_result, const RuntimeMethod* method) ;
  1917. // System.Void NativeCamera/VideoProperties::.ctor(System.Int32,System.Int32,System.Int64,System.Single)
  1918. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoProperties__ctor_m61A493A9C32C95FE9B3F84709AC0A2E92283F97D (VideoProperties_t6D7A73E485C96B765AD8710810E46D38907DFC0E* __this, int32_t ___0_width, int32_t ___1_height, int64_t ___2_duration, float ___3_rotation, const RuntimeMethod* method) ;
  1919. // System.Void System.Threading.Tasks.TaskCompletionSource`1<NativeCamera/Permission>::SetResult(TResult)
  1920. inline void TaskCompletionSource_1_SetResult_mE3BD8B51FE6830985D8550B8E7F71C413B087604 (TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531* __this, int32_t ___0_result, const RuntimeMethod* method)
  1921. {
  1922. (( void (*) (TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531*, int32_t, const RuntimeMethod*))TaskCompletionSource_1_SetResult_m9AEEE70A249C411C5DE39635EF35DAF9D5FAF458_gshared)(__this, ___0_result, method);
  1923. }
  1924. // System.Void NativeCamera/<>c__DisplayClass28_0::.ctor()
  1925. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass28_0__ctor_mF21CA894004F6525050D93D9D5332A514261D347 (U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* __this, const RuntimeMethod* method) ;
  1926. // System.Void System.Func`1<System.String>::.ctor(System.Object,System.IntPtr)
  1927. inline void Func_1__ctor_m27A68E928C1D9158EAAD261086B9BC424339327B (Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  1928. {
  1929. (( void (*) (Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C*, RuntimeObject*, intptr_t, const RuntimeMethod*))Func_1__ctor_m663374A863E492A515BE9626B6F0E444991834E8_gshared)(__this, ___0_object, ___1_method, method);
  1930. }
  1931. // System.Threading.Tasks.Task`1<T> NativeCamera::TryCallNativeAndroidFunctionOnSeparateThread<System.String>(System.Func`1<T>)
  1932. inline Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0* NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisString_t_m2AAA22C4B280E4D6C823F92ECDD3A395F62AFEEC (Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C* ___0_function, const RuntimeMethod* method)
  1933. {
  1934. return (( Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0* (*) (Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C*, const RuntimeMethod*))NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisRuntimeObject_mEE72D71E5EAD74CF3DC87613CBDEDE28166920DD_gshared)(___0_function, method);
  1935. }
  1936. // System.Runtime.CompilerServices.TaskAwaiter`1<TResult> System.Threading.Tasks.Task`1<System.String>::GetAwaiter()
  1937. inline TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 Task_1_GetAwaiter_m7727657658441E9D4CE9D3F8B532F9D65CB9CE1F (Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0* __this, const RuntimeMethod* method)
  1938. {
  1939. return (( TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 (*) (Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0*, const RuntimeMethod*))Task_1_GetAwaiter_mD80ED263BF3F1F8DBDBD177BA3401A0AAAFA38E3_gshared)(__this, method);
  1940. }
  1941. // System.Boolean System.Runtime.CompilerServices.TaskAwaiter`1<System.String>::get_IsCompleted()
  1942. inline bool TaskAwaiter_1_get_IsCompleted_mE207C5509602B0BB59366E53CED6CC9B10A1F8A8 (TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6* __this, const RuntimeMethod* method)
  1943. {
  1944. return (( bool (*) (TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6*, const RuntimeMethod*))TaskAwaiter_1_get_IsCompleted_mEEBB09E26F4165A0F864D92E1890CFCD2C8CFD54_gshared)(__this, method);
  1945. }
  1946. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.TaskAwaiter`1<System.String>,NativeCamera/<LoadImageAtPathAsync>d__28>(TAwaiter&,TStateMachine&)
  1947. inline void AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mA065D9BD25C55B7B2630CA549183C4615FF27DFC (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6* ___0_awaiter, U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* ___1_stateMachine, const RuntimeMethod* method)
  1948. {
  1949. (( void (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6*, U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m4C61C9BC605A10331CC647EAA21D6C71A2D46E65_gshared)(__this, ___0_awaiter, ___1_stateMachine, method);
  1950. }
  1951. // TResult System.Runtime.CompilerServices.TaskAwaiter`1<System.String>::GetResult()
  1952. inline String_t* TaskAwaiter_1_GetResult_m82A392802A854576DC9525B87B0053B56201ABB9 (TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6* __this, const RuntimeMethod* method)
  1953. {
  1954. return (( String_t* (*) (TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6*, const RuntimeMethod*))TaskAwaiter_1_GetResult_mA4A8A1F43A456B40DDA251D00026C60919AED85B_gshared)(__this, method);
  1955. }
  1956. // UnityEngine.Networking.UnityWebRequest UnityEngine.Networking.UnityWebRequestTexture::GetTexture(System.String,System.Boolean)
  1957. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* UnityWebRequestTexture_GetTexture_m45F855106C834021AC0DFA25FE31BA14C42693CA (String_t* ___0_uri, bool ___1_nonReadable, const RuntimeMethod* method) ;
  1958. // UnityEngine.Networking.UnityWebRequestAsyncOperation UnityEngine.Networking.UnityWebRequest::SendWebRequest()
  1959. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C* UnityWebRequest_SendWebRequest_mA3CD13983BAA5074A0640EDD661B1E46E6DB6C13 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  1960. // System.Runtime.CompilerServices.YieldAwaitable System.Threading.Tasks.Task::Yield()
  1961. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR YieldAwaitable_tFEA898DB9022A953958C3CF531E1477D135D3DAB Task_Yield_m27EE257EF53788244C5B2E874C514C24C693F9B1 (const RuntimeMethod* method) ;
  1962. // System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter System.Runtime.CompilerServices.YieldAwaitable::GetAwaiter()
  1963. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A YieldAwaitable_GetAwaiter_m359A05B8C1B9F3F1E9CAE29AD231C0987718DE5E (YieldAwaitable_tFEA898DB9022A953958C3CF531E1477D135D3DAB* __this, const RuntimeMethod* method) ;
  1964. // System.Boolean System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter::get_IsCompleted()
  1965. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool YieldAwaiter_get_IsCompleted_m783B6E67654FDBF490A65AC59972AF6B985A9286 (YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A* __this, const RuntimeMethod* method) ;
  1966. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter,NativeCamera/<LoadImageAtPathAsync>d__28>(TAwaiter&,TStateMachine&)
  1967. inline void AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisYieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m56EC0B7A46A5E522CCEAB37456060C36E26CE731 (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A* ___0_awaiter, U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* ___1_stateMachine, const RuntimeMethod* method)
  1968. {
  1969. (( void (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A*, U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisYieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m99BD8C46583B19B483BD65F96417215FCB9D53ED_gshared)(__this, ___0_awaiter, ___1_stateMachine, method);
  1970. }
  1971. // System.Void System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter::GetResult()
  1972. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void YieldAwaiter_GetResult_m83C9B35D4BBEB09AC5B560912436454D69794F07 (YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A* __this, const RuntimeMethod* method) ;
  1973. // System.Boolean UnityEngine.AsyncOperation::get_isDone()
  1974. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AsyncOperation_get_isDone_m68A0682777E2132FC033182E9F50303566AA354D (AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C* __this, const RuntimeMethod* method) ;
  1975. // UnityEngine.Networking.UnityWebRequest/Result UnityEngine.Networking.UnityWebRequest::get_result()
  1976. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t UnityWebRequest_get_result_mEF83848C5FCFB5E307CE4B57E42BF02FC9AED449 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  1977. // System.String UnityEngine.Networking.UnityWebRequest::get_error()
  1978. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UnityWebRequest_get_error_m20A5D813ED59118B7AA1D1E2EB5250178B1F5B6F (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  1979. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::GetContent(UnityEngine.Networking.UnityWebRequest)
  1980. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* DownloadHandlerTexture_GetContent_m86BC88F58305A1B21C21CE7D82658197932EFB18 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ___0_www, const RuntimeMethod* method) ;
  1981. // System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
  1982. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_exists, const RuntimeMethod* method) ;
  1983. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::SetException(System.Exception)
  1984. inline void AsyncTaskMethodBuilder_1_SetException_m1697D9F7BF9D11383EDE12CEE54A18AC24A7786B (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, Exception_t* ___0_exception, const RuntimeMethod* method)
  1985. {
  1986. (( void (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, Exception_t*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_SetException_mC2F74B26F5303F9F960965220E2866D777F1A5C6_gshared)(__this, ___0_exception, method);
  1987. }
  1988. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::SetResult(TResult)
  1989. inline void AsyncTaskMethodBuilder_1_SetResult_mAB04B95B4490AB6E1FCB475391576D15606A2688 (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_result, const RuntimeMethod* method)
  1990. {
  1991. (( void (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_SetResult_m0D83195F995F9825D7A6DCDC3835D6917C43B5A6_gshared)(__this, ___0_result, method);
  1992. }
  1993. // System.Void NativeCamera/<LoadImageAtPathAsync>d__28::MoveNext()
  1994. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CLoadImageAtPathAsyncU3Ed__28_MoveNext_mDDC8FDCD0469319106B32AF4FD60D1EBF7CE804B (U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* __this, const RuntimeMethod* method) ;
  1995. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)
  1996. inline void AsyncTaskMethodBuilder_1_SetStateMachine_m0ECA1B3B604CFFB8A5DE544E2A0A0025BFE6B6FD (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, RuntimeObject* ___0_stateMachine, const RuntimeMethod* method)
  1997. {
  1998. (( void (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, RuntimeObject*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_SetStateMachine_m3BE54983634ABF5BE05200C7894AD0F9F20BDD65_gshared)(__this, ___0_stateMachine, method);
  1999. }
  2000. // System.Void NativeCamera/<LoadImageAtPathAsync>d__28::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)
  2001. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CLoadImageAtPathAsyncU3Ed__28_SetStateMachine_mCC03A217715E97CF709DD6F9646EE16946B331B1 (U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* __this, RuntimeObject* ___0_stateMachine, const RuntimeMethod* method) ;
  2002. // System.Void NativeCamera/<>c__DisplayClass30_0::.ctor()
  2003. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass30_0__ctor_m1FE9FD5C2A2C59BAB3B1BD833EE7F70A5D49DACE (U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* __this, const RuntimeMethod* method) ;
  2004. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.TaskAwaiter`1<System.String>,NativeCamera/<GetVideoThumbnailAsync>d__30>(TAwaiter&,TStateMachine&)
  2005. inline void AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m4B4C82CEEADEF9B96CFD0819E9DA9DC931389FE4 (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6* ___0_awaiter, U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* ___1_stateMachine, const RuntimeMethod* method)
  2006. {
  2007. (( void (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6*, U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m1C5D50DB1E9D3825F2C05237659D7DD0E83DB28F_gshared)(__this, ___0_awaiter, ___1_stateMachine, method);
  2008. }
  2009. // System.Threading.Tasks.Task`1<UnityEngine.Texture2D> NativeCamera::LoadImageAtPathAsync(System.String,System.Int32,System.Boolean)
  2010. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t95921EB64E237ACD28589D64B693C652268F225E* NativeCamera_LoadImageAtPathAsync_m7B912F60F0DF9C36558976E4F53701CF76073FC0 (String_t* ___0_imagePath, int32_t ___1_maxSize, bool ___2_markTextureNonReadable, const RuntimeMethod* method) ;
  2011. // System.Runtime.CompilerServices.TaskAwaiter`1<TResult> System.Threading.Tasks.Task`1<UnityEngine.Texture2D>::GetAwaiter()
  2012. inline TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B Task_1_GetAwaiter_m88AFED53B032F7EDDB6F9746699970B9FFFC992C (Task_1_t95921EB64E237ACD28589D64B693C652268F225E* __this, const RuntimeMethod* method)
  2013. {
  2014. return (( TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B (*) (Task_1_t95921EB64E237ACD28589D64B693C652268F225E*, const RuntimeMethod*))Task_1_GetAwaiter_mD80ED263BF3F1F8DBDBD177BA3401A0AAAFA38E3_gshared)(__this, method);
  2015. }
  2016. // System.Boolean System.Runtime.CompilerServices.TaskAwaiter`1<UnityEngine.Texture2D>::get_IsCompleted()
  2017. inline bool TaskAwaiter_1_get_IsCompleted_m77FF413EE49A5859C0BC111104448D64F3C01911 (TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B* __this, const RuntimeMethod* method)
  2018. {
  2019. return (( bool (*) (TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B*, const RuntimeMethod*))TaskAwaiter_1_get_IsCompleted_mEEBB09E26F4165A0F864D92E1890CFCD2C8CFD54_gshared)(__this, method);
  2020. }
  2021. // System.Void System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<UnityEngine.Texture2D>::AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.TaskAwaiter`1<UnityEngine.Texture2D>,NativeCamera/<GetVideoThumbnailAsync>d__30>(TAwaiter&,TStateMachine&)
  2022. inline void AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m850BD17D7C2BD7A37C5B5261B69E44A451533191 (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* __this, TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B* ___0_awaiter, U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* ___1_stateMachine, const RuntimeMethod* method)
  2023. {
  2024. (( void (*) (AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F*, TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B*, U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0*, const RuntimeMethod*))AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t0B808409CD8201F13AAC85F29D646518C4857BEA_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m1C5D50DB1E9D3825F2C05237659D7DD0E83DB28F_gshared)(__this, ___0_awaiter, ___1_stateMachine, method);
  2025. }
  2026. // TResult System.Runtime.CompilerServices.TaskAwaiter`1<UnityEngine.Texture2D>::GetResult()
  2027. inline Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* TaskAwaiter_1_GetResult_mE4B8867B0D8DAA1317AD64FE09FBD26E825A654C (TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B* __this, const RuntimeMethod* method)
  2028. {
  2029. return (( Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* (*) (TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B*, const RuntimeMethod*))TaskAwaiter_1_GetResult_mA4A8A1F43A456B40DDA251D00026C60919AED85B_gshared)(__this, method);
  2030. }
  2031. // System.Void NativeCamera/<GetVideoThumbnailAsync>d__30::MoveNext()
  2032. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CGetVideoThumbnailAsyncU3Ed__30_MoveNext_mDBB890CADFAADFBF703E0257D74428E64FE6FDA6 (U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* __this, const RuntimeMethod* method) ;
  2033. // System.Void NativeCamera/<GetVideoThumbnailAsync>d__30::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)
  2034. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CGetVideoThumbnailAsyncU3Ed__30_SetStateMachine_m3D9A0912DB18DF40ACC898395143BBF274B31AEB (U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* __this, RuntimeObject* ___0_stateMachine, const RuntimeMethod* method) ;
  2035. // UnityEngine.GameObject UnityEngine.Component::get_gameObject()
  2036. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
  2037. // System.Void UnityEngine.Object::DontDestroyOnLoad(UnityEngine.Object)
  2038. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_DontDestroyOnLoad_m4B70C3AEF886C176543D1295507B6455C9DCAEA7 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_target, const RuntimeMethod* method) ;
  2039. // System.Void UnityEngine.Object::Destroy(UnityEngine.Object)
  2040. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Destroy_mE97D0A766419A81296E8D4E5C23D01D3FE91ACBB (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_obj, const RuntimeMethod* method) ;
  2041. // System.Void System.Action::Invoke()
  2042. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_Invoke_m7126A54DACA72B845424072887B5F3A51FC3808E_inline (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* __this, const RuntimeMethod* method) ;
  2043. // System.Void UnityEngine.MonoBehaviour::.ctor()
  2044. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
  2045. // System.Void UnityEngine.AndroidJavaProxy::.ctor(System.String)
  2046. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaProxy__ctor_m2832886A0E1BBF6702653A7C6A4609F11FB712C7 (AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D* __this, String_t* ___0_javaInterface, const RuntimeMethod* method) ;
  2047. // System.Void UnityEngine.GameObject::.ctor(System.String)
  2048. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, String_t* ___0_name, const RuntimeMethod* method) ;
  2049. // T UnityEngine.GameObject::AddComponent<NativeCameraNamespace.NCCallbackHelper>()
  2050. inline NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* GameObject_AddComponent_TisNCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA_m58F9A27F8E2E59C5DA67176DBC1DDEE4B50743EE (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
  2051. {
  2052. return (( NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
  2053. }
  2054. // System.Void NativeCameraNamespace.NCCameraCallbackAndroid/<>c__DisplayClass3_0::.ctor()
  2055. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0__ctor_mAEE97D12D327C8C28EAB45ACDCB50E5DC04F50FB (U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850* __this, const RuntimeMethod* method) ;
  2056. // System.Void System.Action::.ctor(System.Object,System.IntPtr)
  2057. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action__ctor_mBDC7B0B4A3F583B64C2896F01BDED360772F67DC (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
  2058. // System.Void NativeCameraNamespace.NCCallbackHelper::CallOnMainThread(System.Action)
  2059. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void NCCallbackHelper_CallOnMainThread_mF4C7C68F199FEE8034F6E1EFFE293DB4D92D5192_inline (NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___0_function, const RuntimeMethod* method) ;
  2060. // System.Void NativeCamera/CameraCallback::Invoke(System.String)
  2061. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_inline (CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, const RuntimeMethod* method) ;
  2062. // System.Void NativeCameraNamespace.NCPermissionCallbackAndroid::set_Result(System.Int32)
  2063. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void NCPermissionCallbackAndroid_set_Result_m875E1D987FD8099207FD71BC8FCCE424DEA1DC6A_inline (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* __this, int32_t ___0_value, const RuntimeMethod* method) ;
  2064. // System.Void System.Threading.Monitor::Pulse(System.Object)
  2065. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Pulse_mA8279943D6C2913ADFAF661E35C4951BDFACE43D (RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
  2066. // System.Void NativeCameraNamespace.NCPermissionCallbackAsyncAndroid/<>c__DisplayClass3_0::.ctor()
  2067. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0__ctor_mD3F7CC1873EDBE61E4E200563157CFB5895A4563 (U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32* __this, const RuntimeMethod* method) ;
  2068. // System.Void NativeCamera/PermissionCallback::Invoke(NativeCamera/Permission)
  2069. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_inline (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, const RuntimeMethod* method) ;
  2070. #ifdef __clang__
  2071. #pragma clang diagnostic push
  2072. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2073. #pragma clang diagnostic ignored "-Wunused-variable"
  2074. #endif
  2075. #ifdef __clang__
  2076. #pragma clang diagnostic pop
  2077. #endif
  2078. #ifdef __clang__
  2079. #pragma clang diagnostic push
  2080. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2081. #pragma clang diagnostic ignored "-Wunused-variable"
  2082. #endif
  2083. // UnityEngine.AndroidJavaClass NativeCamera::get_AJC()
  2084. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E (const RuntimeMethod* method)
  2085. {
  2086. static bool s_Il2CppMethodInitialized;
  2087. if (!s_Il2CppMethodInitialized)
  2088. {
  2089. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03_il2cpp_TypeInfo_var);
  2090. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var);
  2091. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral60765CA56083EB814A8E566B08E35D91D1000DEC);
  2092. s_Il2CppMethodInitialized = true;
  2093. }
  2094. {
  2095. // if( m_ajc == null )
  2096. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_0 = ((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_ajc_0;
  2097. if (L_0)
  2098. {
  2099. goto IL_0016;
  2100. }
  2101. }
  2102. {
  2103. // m_ajc = new AndroidJavaClass( "com.yasirkula.unity.NativeCamera" );
  2104. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_1 = (AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03*)il2cpp_codegen_object_new(AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03_il2cpp_TypeInfo_var);
  2105. NullCheck(L_1);
  2106. AndroidJavaClass__ctor_mB5466169E1151B8CC44C8FED234D79984B431389(L_1, _stringLiteral60765CA56083EB814A8E566B08E35D91D1000DEC, NULL);
  2107. ((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_ajc_0 = L_1;
  2108. Il2CppCodeGenWriteBarrier((void**)(&((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_ajc_0), (void*)L_1);
  2109. }
  2110. IL_0016:
  2111. {
  2112. // return m_ajc;
  2113. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_2 = ((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_ajc_0;
  2114. return L_2;
  2115. }
  2116. }
  2117. // UnityEngine.AndroidJavaObject NativeCamera::get_Context()
  2118. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD (const RuntimeMethod* method)
  2119. {
  2120. static bool s_Il2CppMethodInitialized;
  2121. if (!s_Il2CppMethodInitialized)
  2122. {
  2123. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03_il2cpp_TypeInfo_var);
  2124. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_GetStatic_TisAndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0_mD7D192A35EB2B2DA3775FAB081958B72088251DD_RuntimeMethod_var);
  2125. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
  2126. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var);
  2127. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4D613657609485AE586A3379BA0E3FC13C1E1078);
  2128. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFB4AE4F77150C3A8E8E4F8B23E734E0C7277B7D9);
  2129. s_Il2CppMethodInitialized = true;
  2130. }
  2131. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* V_0 = NULL;
  2132. {
  2133. // if( m_context == null )
  2134. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_0 = ((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_context_1;
  2135. if (L_0)
  2136. {
  2137. goto IL_002e;
  2138. }
  2139. }
  2140. {
  2141. // using( AndroidJavaObject unityClass = new AndroidJavaClass( "com.unity3d.player.UnityPlayer" ) )
  2142. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_1 = (AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03*)il2cpp_codegen_object_new(AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03_il2cpp_TypeInfo_var);
  2143. NullCheck(L_1);
  2144. AndroidJavaClass__ctor_mB5466169E1151B8CC44C8FED234D79984B431389(L_1, _stringLiteral4D613657609485AE586A3379BA0E3FC13C1E1078, NULL);
  2145. V_0 = L_1;
  2146. }
  2147. {
  2148. auto __finallyBlock = il2cpp::utils::Finally([&]
  2149. {
  2150. FINALLY_0024:
  2151. {// begin finally (depth: 1)
  2152. {
  2153. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_2 = V_0;
  2154. if (!L_2)
  2155. {
  2156. goto IL_002d;
  2157. }
  2158. }
  2159. {
  2160. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_3 = V_0;
  2161. NullCheck(L_3);
  2162. InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_3);
  2163. }
  2164. IL_002d:
  2165. {
  2166. return;
  2167. }
  2168. }// end finally (depth: 1)
  2169. });
  2170. try
  2171. {// begin try (depth: 1)
  2172. // m_context = unityClass.GetStatic<AndroidJavaObject>( "currentActivity" );
  2173. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_4 = V_0;
  2174. NullCheck(L_4);
  2175. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_5;
  2176. L_5 = AndroidJavaObject_GetStatic_TisAndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0_mD7D192A35EB2B2DA3775FAB081958B72088251DD(L_4, _stringLiteralFB4AE4F77150C3A8E8E4F8B23E734E0C7277B7D9, AndroidJavaObject_GetStatic_TisAndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0_mD7D192A35EB2B2DA3775FAB081958B72088251DD_RuntimeMethod_var);
  2177. ((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_context_1 = L_5;
  2178. Il2CppCodeGenWriteBarrier((void**)(&((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_context_1), (void*)L_5);
  2179. // }
  2180. goto IL_002e;
  2181. }// end try (depth: 1)
  2182. catch(Il2CppExceptionWrapper& e)
  2183. {
  2184. __finallyBlock.StoreException(e.ex);
  2185. }
  2186. }
  2187. IL_002e:
  2188. {
  2189. // return m_context;
  2190. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_6 = ((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_context_1;
  2191. return L_6;
  2192. }
  2193. }
  2194. // System.String NativeCamera::get_TemporaryImagePath()
  2195. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NativeCamera_get_TemporaryImagePath_m8697D60DFA6387A8227ABEE74C34C46FDC14E027 (const RuntimeMethod* method)
  2196. {
  2197. static bool s_Il2CppMethodInitialized;
  2198. if (!s_Il2CppMethodInitialized)
  2199. {
  2200. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var);
  2201. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
  2202. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1256BD059A8D156C0578EF505C83E5862F0EFCD2);
  2203. s_Il2CppMethodInitialized = true;
  2204. }
  2205. {
  2206. // if( m_temporaryImagePath == null )
  2207. String_t* L_0 = ((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_temporaryImagePath_2;
  2208. if (L_0)
  2209. {
  2210. goto IL_0026;
  2211. }
  2212. }
  2213. {
  2214. // m_temporaryImagePath = Path.Combine( Application.temporaryCachePath, "tmpImg" );
  2215. String_t* L_1;
  2216. L_1 = Application_get_temporaryCachePath_mE4483A939988E69570C19F8B31AB9FB17B0FD97D(NULL);
  2217. il2cpp_codegen_runtime_class_init_inline(Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
  2218. String_t* L_2;
  2219. L_2 = Path_Combine_m1ADAC05CDA2D1D61B172DF65A81E86592696BEAE(L_1, _stringLiteral1256BD059A8D156C0578EF505C83E5862F0EFCD2, NULL);
  2220. ((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_temporaryImagePath_2 = L_2;
  2221. Il2CppCodeGenWriteBarrier((void**)(&((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_temporaryImagePath_2), (void*)L_2);
  2222. // Directory.CreateDirectory( Application.temporaryCachePath );
  2223. String_t* L_3;
  2224. L_3 = Application_get_temporaryCachePath_mE4483A939988E69570C19F8B31AB9FB17B0FD97D(NULL);
  2225. DirectoryInfo_tEAEEC018EB49B4A71907FFEAFE935FAA8F9C1FE2* L_4;
  2226. L_4 = Directory_CreateDirectory_m16EC5CE8561A997C6635E06DC24C77590F29D94F(L_3, NULL);
  2227. }
  2228. IL_0026:
  2229. {
  2230. // return m_temporaryImagePath;
  2231. String_t* L_5 = ((NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_StaticFields*)il2cpp_codegen_static_fields_for(NativeCamera_tE85F6A2EFD4BDD17480FD3FC273A67753E6C629F_il2cpp_TypeInfo_var))->___m_temporaryImagePath_2;
  2232. return L_5;
  2233. }
  2234. }
  2235. // NativeCamera/Permission NativeCamera::CheckPermission(System.Boolean)
  2236. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NativeCamera_CheckPermission_m0445839C87DFBA62F088F4A2116FFA53173470CD (bool ___0_isPicturePermission, const RuntimeMethod* method)
  2237. {
  2238. static bool s_Il2CppMethodInitialized;
  2239. if (!s_Il2CppMethodInitialized)
  2240. {
  2241. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m6619B03C8DA4F5A66785845A2E5B39DAEF36642A_RuntimeMethod_var);
  2242. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var);
  2243. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  2244. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral17A2974EBDD10F9D99410DD81D1AD62BFB8922B8);
  2245. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral660F6D5965E09393894520A3BBDDAE9F5DEF81D2);
  2246. s_Il2CppMethodInitialized = true;
  2247. }
  2248. int32_t V_0 = 0;
  2249. {
  2250. // Permission result = (Permission) AJC.CallStatic<int>( "CheckPermission", Context, isPicturePermission );
  2251. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_0;
  2252. L_0 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  2253. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)2);
  2254. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_2 = L_1;
  2255. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_3;
  2256. L_3 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  2257. NullCheck(L_2);
  2258. ArrayElementTypeCheck (L_2, L_3);
  2259. (L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_3);
  2260. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = L_2;
  2261. bool L_5 = ___0_isPicturePermission;
  2262. bool L_6 = L_5;
  2263. RuntimeObject* L_7 = Box(Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var, &L_6);
  2264. NullCheck(L_4);
  2265. ArrayElementTypeCheck (L_4, L_7);
  2266. (L_4)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_7);
  2267. NullCheck(L_0);
  2268. int32_t L_8;
  2269. L_8 = AndroidJavaObject_CallStatic_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m6619B03C8DA4F5A66785845A2E5B39DAEF36642A(L_0, _stringLiteral660F6D5965E09393894520A3BBDDAE9F5DEF81D2, L_4, AndroidJavaObject_CallStatic_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m6619B03C8DA4F5A66785845A2E5B39DAEF36642A_RuntimeMethod_var);
  2270. V_0 = L_8;
  2271. // if( result == Permission.Denied && (Permission) PlayerPrefs.GetInt( "NativeCameraPermission", (int) Permission.ShouldAsk ) == Permission.ShouldAsk )
  2272. int32_t L_9 = V_0;
  2273. if (L_9)
  2274. {
  2275. goto IL_003a;
  2276. }
  2277. }
  2278. {
  2279. int32_t L_10;
  2280. L_10 = PlayerPrefs_GetInt_m8AD1FA8BA54CC6CE2B2AEEE36B6D75587BB1692D(_stringLiteral17A2974EBDD10F9D99410DD81D1AD62BFB8922B8, 2, NULL);
  2281. if ((!(((uint32_t)L_10) == ((uint32_t)2))))
  2282. {
  2283. goto IL_003a;
  2284. }
  2285. }
  2286. {
  2287. // result = Permission.ShouldAsk;
  2288. V_0 = 2;
  2289. }
  2290. IL_003a:
  2291. {
  2292. // return result;
  2293. int32_t L_11 = V_0;
  2294. return L_11;
  2295. }
  2296. }
  2297. // NativeCamera/Permission NativeCamera::RequestPermission(System.Boolean)
  2298. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NativeCamera_RequestPermission_m22C7DBA897A6DB77BFB1C2DF886FC1F331CFEDB1 (bool ___0_isPicturePermission, const RuntimeMethod* method)
  2299. {
  2300. static bool s_Il2CppMethodInitialized;
  2301. if (!s_Il2CppMethodInitialized)
  2302. {
  2303. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var);
  2304. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
  2305. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91_il2cpp_TypeInfo_var);
  2306. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  2307. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var);
  2308. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0443845674FDE6986E4ECC72A8C096004DF51FC6);
  2309. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral17A2974EBDD10F9D99410DD81D1AD62BFB8922B8);
  2310. s_Il2CppMethodInitialized = true;
  2311. }
  2312. RuntimeObject* V_0 = NULL;
  2313. RuntimeObject* V_1 = NULL;
  2314. bool V_2 = false;
  2315. NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* V_3 = NULL;
  2316. int32_t V_4 = 0;
  2317. {
  2318. // if( CheckPermission( isPicturePermission ) == Permission.Granted )
  2319. bool L_0 = ___0_isPicturePermission;
  2320. int32_t L_1;
  2321. L_1 = NativeCamera_CheckPermission_m0445839C87DFBA62F088F4A2116FFA53173470CD(L_0, NULL);
  2322. if ((!(((uint32_t)L_1) == ((uint32_t)1))))
  2323. {
  2324. goto IL_000b;
  2325. }
  2326. }
  2327. {
  2328. // return Permission.Granted;
  2329. return (int32_t)(1);
  2330. }
  2331. IL_000b:
  2332. {
  2333. // object threadLock = new object();
  2334. RuntimeObject* L_2 = (RuntimeObject*)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
  2335. NullCheck(L_2);
  2336. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(L_2, NULL);
  2337. V_0 = L_2;
  2338. // lock( threadLock )
  2339. RuntimeObject* L_3 = V_0;
  2340. V_1 = L_3;
  2341. V_2 = (bool)0;
  2342. }
  2343. {
  2344. auto __finallyBlock = il2cpp::utils::Finally([&]
  2345. {
  2346. FINALLY_00a2:
  2347. {// begin finally (depth: 1)
  2348. {
  2349. bool L_4 = V_2;
  2350. if (!L_4)
  2351. {
  2352. goto IL_00ab;
  2353. }
  2354. }
  2355. {
  2356. RuntimeObject* L_5 = V_1;
  2357. Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_5, NULL);
  2358. }
  2359. IL_00ab:
  2360. {
  2361. return;
  2362. }
  2363. }// end finally (depth: 1)
  2364. });
  2365. try
  2366. {// begin try (depth: 1)
  2367. {
  2368. RuntimeObject* L_6 = V_1;
  2369. Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_6, (&V_2), NULL);
  2370. // NCPermissionCallbackAndroid nativeCallback = new NCPermissionCallbackAndroid( threadLock );
  2371. RuntimeObject* L_7 = V_0;
  2372. NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* L_8 = (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91*)il2cpp_codegen_object_new(NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91_il2cpp_TypeInfo_var);
  2373. NullCheck(L_8);
  2374. NCPermissionCallbackAndroid__ctor_mEE399CA43702611369BBFD6E72E3147E4C962FDC(L_8, L_7, NULL);
  2375. V_3 = L_8;
  2376. // AJC.CallStatic( "RequestPermission", Context, nativeCallback, isPicturePermission, (int) Permission.ShouldAsk );
  2377. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_9;
  2378. L_9 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  2379. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_10 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)4);
  2380. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_11 = L_10;
  2381. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_12;
  2382. L_12 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  2383. NullCheck(L_11);
  2384. ArrayElementTypeCheck (L_11, L_12);
  2385. (L_11)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_12);
  2386. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_13 = L_11;
  2387. NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* L_14 = V_3;
  2388. NullCheck(L_13);
  2389. ArrayElementTypeCheck (L_13, L_14);
  2390. (L_13)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_14);
  2391. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_15 = L_13;
  2392. bool L_16 = ___0_isPicturePermission;
  2393. bool L_17 = L_16;
  2394. RuntimeObject* L_18 = Box(Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var, &L_17);
  2395. NullCheck(L_15);
  2396. ArrayElementTypeCheck (L_15, L_18);
  2397. (L_15)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_18);
  2398. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_19 = L_15;
  2399. int32_t L_20 = 2;
  2400. RuntimeObject* L_21 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_20);
  2401. NullCheck(L_19);
  2402. ArrayElementTypeCheck (L_19, L_21);
  2403. (L_19)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_21);
  2404. NullCheck(L_9);
  2405. AndroidJavaObject_CallStatic_mB677DE04369EDD8E6DECAF2F233116EE1F06555C(L_9, _stringLiteral0443845674FDE6986E4ECC72A8C096004DF51FC6, L_19, NULL);
  2406. // if( nativeCallback.Result == -1 )
  2407. NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* L_22 = V_3;
  2408. NullCheck(L_22);
  2409. int32_t L_23;
  2410. L_23 = NCPermissionCallbackAndroid_get_Result_m0FBAA6C84093FCD7833C957E5C7CE381668100DF_inline(L_22, NULL);
  2411. if ((!(((uint32_t)L_23) == ((uint32_t)(-1)))))
  2412. {
  2413. goto IL_0067_1;
  2414. }
  2415. }
  2416. {
  2417. // System.Threading.Monitor.Wait( threadLock );
  2418. RuntimeObject* L_24 = V_0;
  2419. bool L_25;
  2420. L_25 = Monitor_Wait_m322138959FFE3F4F3212658ACB0C30C981880D28(L_24, NULL);
  2421. }
  2422. IL_0067_1:
  2423. {
  2424. // if( (Permission) nativeCallback.Result != Permission.ShouldAsk && PlayerPrefs.GetInt( "NativeCameraPermission", -1 ) != nativeCallback.Result )
  2425. NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* L_26 = V_3;
  2426. NullCheck(L_26);
  2427. int32_t L_27;
  2428. L_27 = NCPermissionCallbackAndroid_get_Result_m0FBAA6C84093FCD7833C957E5C7CE381668100DF_inline(L_26, NULL);
  2429. if ((((int32_t)L_27) == ((int32_t)2)))
  2430. {
  2431. goto IL_0098_1;
  2432. }
  2433. }
  2434. {
  2435. int32_t L_28;
  2436. L_28 = PlayerPrefs_GetInt_m8AD1FA8BA54CC6CE2B2AEEE36B6D75587BB1692D(_stringLiteral17A2974EBDD10F9D99410DD81D1AD62BFB8922B8, (-1), NULL);
  2437. NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* L_29 = V_3;
  2438. NullCheck(L_29);
  2439. int32_t L_30;
  2440. L_30 = NCPermissionCallbackAndroid_get_Result_m0FBAA6C84093FCD7833C957E5C7CE381668100DF_inline(L_29, NULL);
  2441. if ((((int32_t)L_28) == ((int32_t)L_30)))
  2442. {
  2443. goto IL_0098_1;
  2444. }
  2445. }
  2446. {
  2447. // PlayerPrefs.SetInt( "NativeCameraPermission", nativeCallback.Result );
  2448. NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* L_31 = V_3;
  2449. NullCheck(L_31);
  2450. int32_t L_32;
  2451. L_32 = NCPermissionCallbackAndroid_get_Result_m0FBAA6C84093FCD7833C957E5C7CE381668100DF_inline(L_31, NULL);
  2452. PlayerPrefs_SetInt_m956D3E2DB966F20CF42F842880DDF9E2BE94D948(_stringLiteral17A2974EBDD10F9D99410DD81D1AD62BFB8922B8, L_32, NULL);
  2453. // PlayerPrefs.Save();
  2454. PlayerPrefs_Save_m82567E045D69C838112EA204B60C144D4C1EA3AE(NULL);
  2455. }
  2456. IL_0098_1:
  2457. {
  2458. // return (Permission) nativeCallback.Result;
  2459. NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* L_33 = V_3;
  2460. NullCheck(L_33);
  2461. int32_t L_34;
  2462. L_34 = NCPermissionCallbackAndroid_get_Result_m0FBAA6C84093FCD7833C957E5C7CE381668100DF_inline(L_33, NULL);
  2463. V_4 = L_34;
  2464. goto IL_00ac;
  2465. }
  2466. }// end try (depth: 1)
  2467. catch(Il2CppExceptionWrapper& e)
  2468. {
  2469. __finallyBlock.StoreException(e.ex);
  2470. }
  2471. }
  2472. IL_00ac:
  2473. {
  2474. // }
  2475. int32_t L_35 = V_4;
  2476. return L_35;
  2477. }
  2478. }
  2479. // System.Void NativeCamera::RequestPermissionAsync(NativeCamera/PermissionCallback,System.Boolean)
  2480. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeCamera_RequestPermissionAsync_mC8600A67BB4F1B65AB202009AA15E8A1406395F3 (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* ___0_callback, bool ___1_isPicturePermission, const RuntimeMethod* method)
  2481. {
  2482. static bool s_Il2CppMethodInitialized;
  2483. if (!s_Il2CppMethodInitialized)
  2484. {
  2485. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var);
  2486. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
  2487. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B_il2cpp_TypeInfo_var);
  2488. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  2489. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0443845674FDE6986E4ECC72A8C096004DF51FC6);
  2490. s_Il2CppMethodInitialized = true;
  2491. }
  2492. NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B* V_0 = NULL;
  2493. {
  2494. // NCPermissionCallbackAsyncAndroid nativeCallback = new NCPermissionCallbackAsyncAndroid( callback );
  2495. PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* L_0 = ___0_callback;
  2496. NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B* L_1 = (NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B*)il2cpp_codegen_object_new(NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B_il2cpp_TypeInfo_var);
  2497. NullCheck(L_1);
  2498. NCPermissionCallbackAsyncAndroid__ctor_m148D3C8505CACDED882A222F2081610060ACF67F(L_1, L_0, NULL);
  2499. V_0 = L_1;
  2500. // AJC.CallStatic( "RequestPermission", Context, nativeCallback, isPicturePermission, (int) Permission.ShouldAsk );
  2501. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_2;
  2502. L_2 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  2503. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_3 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)4);
  2504. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = L_3;
  2505. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_5;
  2506. L_5 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  2507. NullCheck(L_4);
  2508. ArrayElementTypeCheck (L_4, L_5);
  2509. (L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_5);
  2510. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = L_4;
  2511. NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B* L_7 = V_0;
  2512. NullCheck(L_6);
  2513. ArrayElementTypeCheck (L_6, L_7);
  2514. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_7);
  2515. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_8 = L_6;
  2516. bool L_9 = ___1_isPicturePermission;
  2517. bool L_10 = L_9;
  2518. RuntimeObject* L_11 = Box(Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var, &L_10);
  2519. NullCheck(L_8);
  2520. ArrayElementTypeCheck (L_8, L_11);
  2521. (L_8)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_11);
  2522. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_12 = L_8;
  2523. int32_t L_13 = 2;
  2524. RuntimeObject* L_14 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_13);
  2525. NullCheck(L_12);
  2526. ArrayElementTypeCheck (L_12, L_14);
  2527. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_14);
  2528. NullCheck(L_2);
  2529. AndroidJavaObject_CallStatic_mB677DE04369EDD8E6DECAF2F233116EE1F06555C(L_2, _stringLiteral0443845674FDE6986E4ECC72A8C096004DF51FC6, L_12, NULL);
  2530. // }
  2531. return;
  2532. }
  2533. }
  2534. // System.Threading.Tasks.Task`1<NativeCamera/Permission> NativeCamera::RequestPermissionAsync(System.Boolean)
  2535. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t75D76B0D2A565B05D89753E60648134269CB6DED* NativeCamera_RequestPermissionAsync_m6DF2C8CC7726FC872CA507EA8312314CF89A8A40 (bool ___0_isPicturePermission, const RuntimeMethod* method)
  2536. {
  2537. static bool s_Il2CppMethodInitialized;
  2538. if (!s_Il2CppMethodInitialized)
  2539. {
  2540. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001_il2cpp_TypeInfo_var);
  2541. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskCompletionSource_1__ctor_m59FEBA96E2C649BB6B9E4A681806C7ED628834FB_RuntimeMethod_var);
  2542. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskCompletionSource_1_get_Task_mDCD7F80204B3108705062BD8783CD541E08A4157_RuntimeMethod_var);
  2543. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531_il2cpp_TypeInfo_var);
  2544. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass20_0_U3CRequestPermissionAsyncU3Eb__0_m5DF168C3CFBC1336DC14F7F3C6B889DF554A7ED1_RuntimeMethod_var);
  2545. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E_il2cpp_TypeInfo_var);
  2546. s_Il2CppMethodInitialized = true;
  2547. }
  2548. {
  2549. U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E* L_0 = (U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E_il2cpp_TypeInfo_var);
  2550. NullCheck(L_0);
  2551. U3CU3Ec__DisplayClass20_0__ctor_mFBDEA24DAAE658B4CB10A30CA2C7BE3D5F8F8655(L_0, NULL);
  2552. // TaskCompletionSource<Permission> tcs = new TaskCompletionSource<Permission>();
  2553. U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E* L_1 = L_0;
  2554. TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531* L_2 = (TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531*)il2cpp_codegen_object_new(TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531_il2cpp_TypeInfo_var);
  2555. NullCheck(L_2);
  2556. TaskCompletionSource_1__ctor_m59FEBA96E2C649BB6B9E4A681806C7ED628834FB(L_2, TaskCompletionSource_1__ctor_m59FEBA96E2C649BB6B9E4A681806C7ED628834FB_RuntimeMethod_var);
  2557. NullCheck(L_1);
  2558. L_1->___tcs_0 = L_2;
  2559. Il2CppCodeGenWriteBarrier((void**)(&L_1->___tcs_0), (void*)L_2);
  2560. // RequestPermissionAsync( ( permission ) => tcs.SetResult( permission ), isPicturePermission );
  2561. U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E* L_3 = L_1;
  2562. PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* L_4 = (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001*)il2cpp_codegen_object_new(PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001_il2cpp_TypeInfo_var);
  2563. NullCheck(L_4);
  2564. PermissionCallback__ctor_m7CA919F20741081C2F81A209707B998CCC4D3782(L_4, L_3, (intptr_t)((void*)U3CU3Ec__DisplayClass20_0_U3CRequestPermissionAsyncU3Eb__0_m5DF168C3CFBC1336DC14F7F3C6B889DF554A7ED1_RuntimeMethod_var), NULL);
  2565. bool L_5 = ___0_isPicturePermission;
  2566. NativeCamera_RequestPermissionAsync_mC8600A67BB4F1B65AB202009AA15E8A1406395F3(L_4, L_5, NULL);
  2567. // return tcs.Task;
  2568. NullCheck(L_3);
  2569. TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531* L_6 = L_3->___tcs_0;
  2570. NullCheck(L_6);
  2571. Task_1_t75D76B0D2A565B05D89753E60648134269CB6DED* L_7;
  2572. L_7 = TaskCompletionSource_1_get_Task_mDCD7F80204B3108705062BD8783CD541E08A4157_inline(L_6, TaskCompletionSource_1_get_Task_mDCD7F80204B3108705062BD8783CD541E08A4157_RuntimeMethod_var);
  2573. return L_7;
  2574. }
  2575. }
  2576. // System.Boolean NativeCamera::CanOpenSettings()
  2577. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NativeCamera_CanOpenSettings_m56BCC77D77E381E5181E956C018F4BBFB4E102BA (const RuntimeMethod* method)
  2578. {
  2579. {
  2580. // return true;
  2581. return (bool)1;
  2582. }
  2583. }
  2584. // System.Void NativeCamera::OpenSettings()
  2585. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeCamera_OpenSettings_m8732D49A39F244910C6722CB78FD44694C0C254B (const RuntimeMethod* method)
  2586. {
  2587. static bool s_Il2CppMethodInitialized;
  2588. if (!s_Il2CppMethodInitialized)
  2589. {
  2590. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  2591. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8A4D2503591255173AC6769BB8A784B9CC5B5BC6);
  2592. s_Il2CppMethodInitialized = true;
  2593. }
  2594. {
  2595. // AJC.CallStatic( "OpenSettings", Context );
  2596. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_0;
  2597. L_0 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  2598. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)1);
  2599. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_2 = L_1;
  2600. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_3;
  2601. L_3 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  2602. NullCheck(L_2);
  2603. ArrayElementTypeCheck (L_2, L_3);
  2604. (L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_3);
  2605. NullCheck(L_0);
  2606. AndroidJavaObject_CallStatic_mB677DE04369EDD8E6DECAF2F233116EE1F06555C(L_0, _stringLiteral8A4D2503591255173AC6769BB8A784B9CC5B5BC6, L_2, NULL);
  2607. // }
  2608. return;
  2609. }
  2610. }
  2611. // NativeCamera/Permission NativeCamera::TakePicture(NativeCamera/CameraCallback,System.Int32,System.Boolean,NativeCamera/PreferredCamera)
  2612. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NativeCamera_TakePicture_mC2A748E023DC5C34D19AF571325AF952A714AAD4 (CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* ___0_callback, int32_t ___1_maxSize, bool ___2_saveAsJPEG, int32_t ___3_preferredCamera, const RuntimeMethod* method)
  2613. {
  2614. static bool s_Il2CppMethodInitialized;
  2615. if (!s_Il2CppMethodInitialized)
  2616. {
  2617. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
  2618. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378_il2cpp_TypeInfo_var);
  2619. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  2620. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral811A5CF8DF2E4D4CA546FECCBB9A503DC8D89283);
  2621. s_Il2CppMethodInitialized = true;
  2622. }
  2623. int32_t V_0 = 0;
  2624. {
  2625. // Permission result = RequestPermission( true );
  2626. int32_t L_0;
  2627. L_0 = NativeCamera_RequestPermission_m22C7DBA897A6DB77BFB1C2DF886FC1F331CFEDB1((bool)1, NULL);
  2628. V_0 = L_0;
  2629. // if( result == Permission.Granted && !IsCameraBusy() )
  2630. int32_t L_1 = V_0;
  2631. if ((!(((uint32_t)L_1) == ((uint32_t)1))))
  2632. {
  2633. goto IL_0041;
  2634. }
  2635. }
  2636. {
  2637. bool L_2;
  2638. L_2 = NativeCamera_IsCameraBusy_m3373F1A16F70303B7F53D47A1143BED4152C2F54(NULL);
  2639. if (L_2)
  2640. {
  2641. goto IL_0041;
  2642. }
  2643. }
  2644. {
  2645. // AJC.CallStatic( "TakePicture", Context, new NCCameraCallbackAndroid( callback ), (int) preferredCamera );
  2646. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_3;
  2647. L_3 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  2648. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)3);
  2649. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_5 = L_4;
  2650. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_6;
  2651. L_6 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  2652. NullCheck(L_5);
  2653. ArrayElementTypeCheck (L_5, L_6);
  2654. (L_5)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_6);
  2655. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_7 = L_5;
  2656. CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* L_8 = ___0_callback;
  2657. NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378* L_9 = (NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378*)il2cpp_codegen_object_new(NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378_il2cpp_TypeInfo_var);
  2658. NullCheck(L_9);
  2659. NCCameraCallbackAndroid__ctor_m7A49A723EBFBFC7215432493733AFCF632A8F5AA(L_9, L_8, NULL);
  2660. NullCheck(L_7);
  2661. ArrayElementTypeCheck (L_7, L_9);
  2662. (L_7)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_9);
  2663. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_10 = L_7;
  2664. int32_t L_11 = ___3_preferredCamera;
  2665. int32_t L_12 = ((int32_t)L_11);
  2666. RuntimeObject* L_13 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_12);
  2667. NullCheck(L_10);
  2668. ArrayElementTypeCheck (L_10, L_13);
  2669. (L_10)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_13);
  2670. NullCheck(L_3);
  2671. AndroidJavaObject_CallStatic_mB677DE04369EDD8E6DECAF2F233116EE1F06555C(L_3, _stringLiteral811A5CF8DF2E4D4CA546FECCBB9A503DC8D89283, L_10, NULL);
  2672. }
  2673. IL_0041:
  2674. {
  2675. // return result;
  2676. int32_t L_14 = V_0;
  2677. return L_14;
  2678. }
  2679. }
  2680. // NativeCamera/Permission NativeCamera::RecordVideo(NativeCamera/CameraCallback,NativeCamera/Quality,System.Int32,System.Int64,NativeCamera/PreferredCamera)
  2681. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NativeCamera_RecordVideo_mFC9802F5F9A52504C23E339018820D8CED325292 (CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* ___0_callback, int32_t ___1_quality, int32_t ___2_maxDuration, int64_t ___3_maxSizeBytes, int32_t ___4_preferredCamera, const RuntimeMethod* method)
  2682. {
  2683. static bool s_Il2CppMethodInitialized;
  2684. if (!s_Il2CppMethodInitialized)
  2685. {
  2686. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
  2687. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3_il2cpp_TypeInfo_var);
  2688. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378_il2cpp_TypeInfo_var);
  2689. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  2690. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFFB00AB07E4FD5417BED928D76EA5DBF492DFDAE);
  2691. s_Il2CppMethodInitialized = true;
  2692. }
  2693. int32_t V_0 = 0;
  2694. {
  2695. // Permission result = RequestPermission( false );
  2696. int32_t L_0;
  2697. L_0 = NativeCamera_RequestPermission_m22C7DBA897A6DB77BFB1C2DF886FC1F331CFEDB1((bool)0, NULL);
  2698. V_0 = L_0;
  2699. // if( result == Permission.Granted && !IsCameraBusy() )
  2700. int32_t L_1 = V_0;
  2701. if ((!(((uint32_t)L_1) == ((uint32_t)1))))
  2702. {
  2703. goto IL_005d;
  2704. }
  2705. }
  2706. {
  2707. bool L_2;
  2708. L_2 = NativeCamera_IsCameraBusy_m3373F1A16F70303B7F53D47A1143BED4152C2F54(NULL);
  2709. if (L_2)
  2710. {
  2711. goto IL_005d;
  2712. }
  2713. }
  2714. {
  2715. // AJC.CallStatic( "RecordVideo", Context, new NCCameraCallbackAndroid( callback ), (int) preferredCamera, (int) quality, maxDuration, maxSizeBytes );
  2716. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_3;
  2717. L_3 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  2718. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)6);
  2719. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_5 = L_4;
  2720. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_6;
  2721. L_6 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  2722. NullCheck(L_5);
  2723. ArrayElementTypeCheck (L_5, L_6);
  2724. (L_5)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_6);
  2725. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_7 = L_5;
  2726. CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* L_8 = ___0_callback;
  2727. NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378* L_9 = (NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378*)il2cpp_codegen_object_new(NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378_il2cpp_TypeInfo_var);
  2728. NullCheck(L_9);
  2729. NCCameraCallbackAndroid__ctor_m7A49A723EBFBFC7215432493733AFCF632A8F5AA(L_9, L_8, NULL);
  2730. NullCheck(L_7);
  2731. ArrayElementTypeCheck (L_7, L_9);
  2732. (L_7)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_9);
  2733. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_10 = L_7;
  2734. int32_t L_11 = ___4_preferredCamera;
  2735. int32_t L_12 = ((int32_t)L_11);
  2736. RuntimeObject* L_13 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_12);
  2737. NullCheck(L_10);
  2738. ArrayElementTypeCheck (L_10, L_13);
  2739. (L_10)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_13);
  2740. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_14 = L_10;
  2741. int32_t L_15 = ___1_quality;
  2742. int32_t L_16 = ((int32_t)L_15);
  2743. RuntimeObject* L_17 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_16);
  2744. NullCheck(L_14);
  2745. ArrayElementTypeCheck (L_14, L_17);
  2746. (L_14)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_17);
  2747. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_18 = L_14;
  2748. int32_t L_19 = ___2_maxDuration;
  2749. int32_t L_20 = L_19;
  2750. RuntimeObject* L_21 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_20);
  2751. NullCheck(L_18);
  2752. ArrayElementTypeCheck (L_18, L_21);
  2753. (L_18)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject*)L_21);
  2754. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_22 = L_18;
  2755. int64_t L_23 = ___3_maxSizeBytes;
  2756. int64_t L_24 = L_23;
  2757. RuntimeObject* L_25 = Box(Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3_il2cpp_TypeInfo_var, &L_24);
  2758. NullCheck(L_22);
  2759. ArrayElementTypeCheck (L_22, L_25);
  2760. (L_22)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject*)L_25);
  2761. NullCheck(L_3);
  2762. AndroidJavaObject_CallStatic_mB677DE04369EDD8E6DECAF2F233116EE1F06555C(L_3, _stringLiteralFFB00AB07E4FD5417BED928D76EA5DBF492DFDAE, L_22, NULL);
  2763. }
  2764. IL_005d:
  2765. {
  2766. // return result;
  2767. int32_t L_26 = V_0;
  2768. return L_26;
  2769. }
  2770. }
  2771. // System.Boolean NativeCamera::DeviceHasCamera()
  2772. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NativeCamera_DeviceHasCamera_m73F0E99DB7C414EA95D5600918FFC502373E41E7 (const RuntimeMethod* method)
  2773. {
  2774. static bool s_Il2CppMethodInitialized;
  2775. if (!s_Il2CppMethodInitialized)
  2776. {
  2777. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisBoolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_mE956BC9A30BEC746DE593C53C1B8DB6A685185A6_RuntimeMethod_var);
  2778. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  2779. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBB89381AF6FA67A07F15BA3C2582693F59E071ED);
  2780. s_Il2CppMethodInitialized = true;
  2781. }
  2782. {
  2783. // return AJC.CallStatic<bool>( "HasCamera", Context );
  2784. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_0;
  2785. L_0 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  2786. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)1);
  2787. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_2 = L_1;
  2788. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_3;
  2789. L_3 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  2790. NullCheck(L_2);
  2791. ArrayElementTypeCheck (L_2, L_3);
  2792. (L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_3);
  2793. NullCheck(L_0);
  2794. bool L_4;
  2795. L_4 = AndroidJavaObject_CallStatic_TisBoolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_mE956BC9A30BEC746DE593C53C1B8DB6A685185A6(L_0, _stringLiteralBB89381AF6FA67A07F15BA3C2582693F59E071ED, L_2, AndroidJavaObject_CallStatic_TisBoolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_mE956BC9A30BEC746DE593C53C1B8DB6A685185A6_RuntimeMethod_var);
  2796. return L_4;
  2797. }
  2798. }
  2799. // System.Boolean NativeCamera::IsCameraBusy()
  2800. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NativeCamera_IsCameraBusy_m3373F1A16F70303B7F53D47A1143BED4152C2F54 (const RuntimeMethod* method)
  2801. {
  2802. {
  2803. // return false;
  2804. return (bool)0;
  2805. }
  2806. }
  2807. // UnityEngine.Texture2D NativeCamera::LoadImageAtPath(System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean)
  2808. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* NativeCamera_LoadImageAtPath_m0F2B227CF63FE99A67155B8C52A719AF5949C747 (String_t* ___0_imagePath, int32_t ___1_maxSize, bool ___2_markTextureNonReadable, bool ___3_generateMipmaps, bool ___4_linearColorSpace, const RuntimeMethod* method)
  2809. {
  2810. static bool s_Il2CppMethodInitialized;
  2811. if (!s_Il2CppMethodInitialized)
  2812. {
  2813. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  2814. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  2815. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
  2816. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  2817. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  2818. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
  2819. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
  2820. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A);
  2821. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42);
  2822. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral76F1B85647641622FD867CE16AF6C584C5081BD4);
  2823. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDD146CE30524569A8784D1FFE34EA505C910727D);
  2824. s_Il2CppMethodInitialized = true;
  2825. }
  2826. String_t* V_0 = NULL;
  2827. String_t* V_1 = NULL;
  2828. int32_t V_2 = 0;
  2829. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* V_3 = NULL;
  2830. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* V_4 = NULL;
  2831. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  2832. int32_t G_B10_0 = 0;
  2833. {
  2834. // if( string.IsNullOrEmpty( imagePath ) )
  2835. String_t* L_0 = ___0_imagePath;
  2836. bool L_1;
  2837. L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
  2838. if (!L_1)
  2839. {
  2840. goto IL_0013;
  2841. }
  2842. }
  2843. {
  2844. // throw new ArgumentException( "Parameter 'imagePath' is null or empty!" );
  2845. ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_2 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
  2846. NullCheck(L_2);
  2847. ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_2, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral18B82B6B7DC4FE1988BA61A3784D1768F6C925DF)), NULL);
  2848. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NativeCamera_LoadImageAtPath_m0F2B227CF63FE99A67155B8C52A719AF5949C747_RuntimeMethod_var)));
  2849. }
  2850. IL_0013:
  2851. {
  2852. // if( !File.Exists( imagePath ) )
  2853. String_t* L_3 = ___0_imagePath;
  2854. bool L_4;
  2855. L_4 = File_Exists_m95E329ABBE3EAD6750FE1989BBA6884457136D4A(L_3, NULL);
  2856. if (L_4)
  2857. {
  2858. goto IL_002c;
  2859. }
  2860. }
  2861. {
  2862. // throw new FileNotFoundException( "File not found at " + imagePath );
  2863. String_t* L_5 = ___0_imagePath;
  2864. String_t* L_6;
  2865. L_6 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral491B4D9271839F0BD63211437BF7CEE5B2C6ADE9)), L_5, NULL);
  2866. FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A* L_7 = (FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A_il2cpp_TypeInfo_var)));
  2867. NullCheck(L_7);
  2868. FileNotFoundException__ctor_mA8C9C93DB8C5B96D6B5E59B2AE07154F265FB1A1(L_7, L_6, NULL);
  2869. IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NativeCamera_LoadImageAtPath_m0F2B227CF63FE99A67155B8C52A719AF5949C747_RuntimeMethod_var)));
  2870. }
  2871. IL_002c:
  2872. {
  2873. // if( maxSize <= 0 )
  2874. int32_t L_8 = ___1_maxSize;
  2875. if ((((int32_t)L_8) > ((int32_t)0)))
  2876. {
  2877. goto IL_0037;
  2878. }
  2879. }
  2880. {
  2881. // maxSize = SystemInfo.maxTextureSize;
  2882. int32_t L_9;
  2883. L_9 = SystemInfo_get_maxTextureSize_mEE557C09643222591C6F4D3F561D7A60CD403991(NULL);
  2884. ___1_maxSize = L_9;
  2885. }
  2886. IL_0037:
  2887. {
  2888. // string loadPath = AJC.CallStatic<string>( "LoadImageAtPath", Context, imagePath, TemporaryImagePath, maxSize );
  2889. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_10;
  2890. L_10 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  2891. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_11 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)4);
  2892. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_12 = L_11;
  2893. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_13;
  2894. L_13 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  2895. NullCheck(L_12);
  2896. ArrayElementTypeCheck (L_12, L_13);
  2897. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_13);
  2898. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_14 = L_12;
  2899. String_t* L_15 = ___0_imagePath;
  2900. NullCheck(L_14);
  2901. ArrayElementTypeCheck (L_14, L_15);
  2902. (L_14)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_15);
  2903. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_16 = L_14;
  2904. String_t* L_17;
  2905. L_17 = NativeCamera_get_TemporaryImagePath_m8697D60DFA6387A8227ABEE74C34C46FDC14E027(NULL);
  2906. NullCheck(L_16);
  2907. ArrayElementTypeCheck (L_16, L_17);
  2908. (L_16)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_17);
  2909. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_18 = L_16;
  2910. int32_t L_19 = ___1_maxSize;
  2911. int32_t L_20 = L_19;
  2912. RuntimeObject* L_21 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_20);
  2913. NullCheck(L_18);
  2914. ArrayElementTypeCheck (L_18, L_21);
  2915. (L_18)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_21);
  2916. NullCheck(L_10);
  2917. String_t* L_22;
  2918. L_22 = AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3(L_10, _stringLiteralDD146CE30524569A8784D1FFE34EA505C910727D, L_18, AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  2919. V_0 = L_22;
  2920. // string extension = Path.GetExtension( imagePath ).ToLowerInvariant();
  2921. String_t* L_23 = ___0_imagePath;
  2922. il2cpp_codegen_runtime_class_init_inline(Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
  2923. String_t* L_24;
  2924. L_24 = Path_GetExtension_m6FEAA9E14451BFD210B9D1AEC2430C813F570FE5(L_23, NULL);
  2925. NullCheck(L_24);
  2926. String_t* L_25;
  2927. L_25 = String_ToLowerInvariant_mBE32C93DE27C5353FEA3FA654FC1DDBE3D0EB0F2(L_24, NULL);
  2928. V_1 = L_25;
  2929. // TextureFormat format = ( extension == ".jpg" || extension == ".jpeg" ) ? TextureFormat.RGB24 : TextureFormat.RGBA32;
  2930. String_t* L_26 = V_1;
  2931. bool L_27;
  2932. L_27 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_26, _stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A, NULL);
  2933. if (L_27)
  2934. {
  2935. goto IL_0093;
  2936. }
  2937. }
  2938. {
  2939. String_t* L_28 = V_1;
  2940. bool L_29;
  2941. L_29 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_28, _stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42, NULL);
  2942. if (L_29)
  2943. {
  2944. goto IL_0093;
  2945. }
  2946. }
  2947. {
  2948. G_B10_0 = 4;
  2949. goto IL_0094;
  2950. }
  2951. IL_0093:
  2952. {
  2953. G_B10_0 = 3;
  2954. }
  2955. IL_0094:
  2956. {
  2957. V_2 = G_B10_0;
  2958. // Texture2D result = new Texture2D( 2, 2, format, generateMipmaps, linearColorSpace );
  2959. int32_t L_30 = V_2;
  2960. bool L_31 = ___3_generateMipmaps;
  2961. bool L_32 = ___4_linearColorSpace;
  2962. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_33 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)il2cpp_codegen_object_new(Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
  2963. NullCheck(L_33);
  2964. Texture2D__ctor_mC3F84195D1DCEFC0536B3FBD40A8F8E865A4F32A(L_33, 2, 2, L_30, L_31, L_32, NULL);
  2965. V_3 = L_33;
  2966. }
  2967. {
  2968. auto __finallyBlock = il2cpp::utils::Finally([&]
  2969. {
  2970. FINALLY_00dd:
  2971. {// begin finally (depth: 1)
  2972. {
  2973. // if( loadPath != imagePath )
  2974. String_t* L_34 = V_0;
  2975. String_t* L_35 = ___0_imagePath;
  2976. bool L_36;
  2977. L_36 = String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6(L_34, L_35, NULL);
  2978. if (!L_36)
  2979. {
  2980. goto IL_00f1;
  2981. }
  2982. }
  2983. try
  2984. {// begin try (depth: 2)
  2985. // File.Delete( loadPath );
  2986. String_t* L_37 = V_0;
  2987. File_Delete_mE29829DA504F3E1B8BCB78F21E2862C9ED7EC386(L_37, NULL);
  2988. // }
  2989. goto IL_00f1;
  2990. }// end try (depth: 2)
  2991. catch(Il2CppExceptionWrapper& e)
  2992. {
  2993. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  2994. {
  2995. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  2996. goto CATCH_00ee;
  2997. }
  2998. throw e;
  2999. }
  3000. CATCH_00ee:
  3001. {// begin catch(System.Object)
  3002. // catch { }
  3003. // catch { }
  3004. IL2CPP_POP_ACTIVE_EXCEPTION();
  3005. goto IL_00f1;
  3006. }// end catch (depth: 2)
  3007. IL_00f1:
  3008. {
  3009. // }
  3010. return;
  3011. }
  3012. }// end finally (depth: 1)
  3013. });
  3014. try
  3015. {// begin try (depth: 1)
  3016. try
  3017. {// begin try (depth: 2)
  3018. {
  3019. // if( !result.LoadImage( File.ReadAllBytes( loadPath ), markTextureNonReadable ) )
  3020. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_38 = V_3;
  3021. String_t* L_39 = V_0;
  3022. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_40;
  3023. L_40 = File_ReadAllBytes_m704CBBA3F130C94F5A3E0BE2A93D9E9D79DC3E24(L_39, NULL);
  3024. bool L_41 = ___2_markTextureNonReadable;
  3025. bool L_42;
  3026. L_42 = ImageConversion_LoadImage_m292ADCEED268A0A0AAD532BAB8D1710CF0FC8AEF(L_38, L_40, L_41, NULL);
  3027. if (L_42)
  3028. {
  3029. goto IL_00cb_2;
  3030. }
  3031. }
  3032. {
  3033. // Debug.LogWarning( "Couldn't load image at path: " + loadPath );
  3034. String_t* L_43 = V_0;
  3035. String_t* L_44;
  3036. L_44 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral76F1B85647641622FD867CE16AF6C584C5081BD4, L_43, NULL);
  3037. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  3038. Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(L_44, NULL);
  3039. // Object.DestroyImmediate( result );
  3040. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_45 = V_3;
  3041. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  3042. Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705(L_45, NULL);
  3043. // return null;
  3044. V_4 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
  3045. goto IL_00f4;
  3046. }
  3047. IL_00cb_2:
  3048. {
  3049. // }
  3050. goto IL_00f2;
  3051. }
  3052. }// end try (depth: 2)
  3053. catch(Il2CppExceptionWrapper& e)
  3054. {
  3055. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  3056. {
  3057. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  3058. goto CATCH_00cd_1;
  3059. }
  3060. throw e;
  3061. }
  3062. CATCH_00cd_1:
  3063. {// begin catch(System.Exception)
  3064. // Debug.LogException( e );
  3065. il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var)));
  3066. Debug_LogException_mAB3F4DC7297ED8FBB49DAA718B70E59A6B0171B0(((Exception_t*)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t*)), NULL);
  3067. // Object.DestroyImmediate( result );
  3068. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_46 = V_3;
  3069. il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var)));
  3070. Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705(L_46, NULL);
  3071. // return null;
  3072. V_4 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
  3073. IL2CPP_POP_ACTIVE_EXCEPTION();
  3074. goto IL_00f4;
  3075. }// end catch (depth: 2)
  3076. }// end try (depth: 1)
  3077. catch(Il2CppExceptionWrapper& e)
  3078. {
  3079. __finallyBlock.StoreException(e.ex);
  3080. }
  3081. }
  3082. IL_00f2:
  3083. {
  3084. // return result;
  3085. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_47 = V_3;
  3086. return L_47;
  3087. }
  3088. IL_00f4:
  3089. {
  3090. // }
  3091. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_48 = V_4;
  3092. return L_48;
  3093. }
  3094. }
  3095. // System.Threading.Tasks.Task`1<UnityEngine.Texture2D> NativeCamera::LoadImageAtPathAsync(System.String,System.Int32,System.Boolean)
  3096. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t95921EB64E237ACD28589D64B693C652268F225E* NativeCamera_LoadImageAtPathAsync_m7B912F60F0DF9C36558976E4F53701CF76073FC0 (String_t* ___0_imagePath, int32_t ___1_maxSize, bool ___2_markTextureNonReadable, const RuntimeMethod* method)
  3097. {
  3098. static bool s_Il2CppMethodInitialized;
  3099. if (!s_Il2CppMethodInitialized)
  3100. {
  3101. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_Create_mEBDA40894C43C50AA47346AC784F528C9CA1ABD4_RuntimeMethod_var);
  3102. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_Start_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mC08662C58644EB7E11271EF5EDFB23D1678CB978_RuntimeMethod_var);
  3103. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_get_Task_mC842CA788344F6A0EAB9EFDE97E0FAC79368245E_RuntimeMethod_var);
  3104. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F_il2cpp_TypeInfo_var);
  3105. s_Il2CppMethodInitialized = true;
  3106. }
  3107. U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9 V_0;
  3108. memset((&V_0), 0, sizeof(V_0));
  3109. {
  3110. il2cpp_codegen_runtime_class_init_inline(AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F_il2cpp_TypeInfo_var);
  3111. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F L_0;
  3112. L_0 = AsyncTaskMethodBuilder_1_Create_mEBDA40894C43C50AA47346AC784F528C9CA1ABD4(AsyncTaskMethodBuilder_1_Create_mEBDA40894C43C50AA47346AC784F528C9CA1ABD4_RuntimeMethod_var);
  3113. (&V_0)->___U3CU3Et__builder_1 = L_0;
  3114. Il2CppCodeGenWriteBarrier((void**)&((&(((&(&V_0)->___U3CU3Et__builder_1))->___m_coreState_1))->___m_stateMachine_0), (void*)NULL);
  3115. #if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
  3116. Il2CppCodeGenWriteBarrier((void**)&((&(((&(&V_0)->___U3CU3Et__builder_1))->___m_coreState_1))->___m_defaultContextAction_1), (void*)NULL);
  3117. #endif
  3118. #if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
  3119. Il2CppCodeGenWriteBarrier((void**)&(((&(&V_0)->___U3CU3Et__builder_1))->___m_task_2), (void*)NULL);
  3120. #endif
  3121. String_t* L_1 = ___0_imagePath;
  3122. (&V_0)->___imagePath_2 = L_1;
  3123. Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___imagePath_2), (void*)L_1);
  3124. int32_t L_2 = ___1_maxSize;
  3125. (&V_0)->___maxSize_3 = L_2;
  3126. bool L_3 = ___2_markTextureNonReadable;
  3127. (&V_0)->___markTextureNonReadable_4 = L_3;
  3128. (&V_0)->___U3CU3E1__state_0 = (-1);
  3129. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_4 = (&(&V_0)->___U3CU3Et__builder_1);
  3130. AsyncTaskMethodBuilder_1_Start_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mC08662C58644EB7E11271EF5EDFB23D1678CB978(L_4, (&V_0), AsyncTaskMethodBuilder_1_Start_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mC08662C58644EB7E11271EF5EDFB23D1678CB978_RuntimeMethod_var);
  3131. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_5 = (&(&V_0)->___U3CU3Et__builder_1);
  3132. Task_1_t95921EB64E237ACD28589D64B693C652268F225E* L_6;
  3133. L_6 = AsyncTaskMethodBuilder_1_get_Task_mC842CA788344F6A0EAB9EFDE97E0FAC79368245E(L_5, AsyncTaskMethodBuilder_1_get_Task_mC842CA788344F6A0EAB9EFDE97E0FAC79368245E_RuntimeMethod_var);
  3134. return L_6;
  3135. }
  3136. }
  3137. // UnityEngine.Texture2D NativeCamera::GetVideoThumbnail(System.String,System.Int32,System.Double,System.Boolean,System.Boolean,System.Boolean)
  3138. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* NativeCamera_GetVideoThumbnail_m7568A298D0A3BEABBDD10C973A4F9EB657C8644B (String_t* ___0_videoPath, int32_t ___1_maxSize, double ___2_captureTimeInSeconds, bool ___3_markTextureNonReadable, bool ___4_generateMipmaps, bool ___5_linearColorSpace, const RuntimeMethod* method)
  3139. {
  3140. static bool s_Il2CppMethodInitialized;
  3141. if (!s_Il2CppMethodInitialized)
  3142. {
  3143. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  3144. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var);
  3145. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F_il2cpp_TypeInfo_var);
  3146. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
  3147. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  3148. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5D67C2D23D0E67BA40CD70B037A9F218807BB46F);
  3149. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26);
  3150. s_Il2CppMethodInitialized = true;
  3151. }
  3152. String_t* V_0 = NULL;
  3153. {
  3154. // if( maxSize <= 0 )
  3155. int32_t L_0 = ___1_maxSize;
  3156. if ((((int32_t)L_0) > ((int32_t)0)))
  3157. {
  3158. goto IL_000b;
  3159. }
  3160. }
  3161. {
  3162. // maxSize = SystemInfo.maxTextureSize;
  3163. int32_t L_1;
  3164. L_1 = SystemInfo_get_maxTextureSize_mEE557C09643222591C6F4D3F561D7A60CD403991(NULL);
  3165. ___1_maxSize = L_1;
  3166. }
  3167. IL_000b:
  3168. {
  3169. // string thumbnailPath = AJC.CallStatic<string>( "GetVideoThumbnail", Context, videoPath, TemporaryImagePath + ".png", false, maxSize, captureTimeInSeconds );
  3170. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_2;
  3171. L_2 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  3172. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_3 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)6);
  3173. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = L_3;
  3174. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_5;
  3175. L_5 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  3176. NullCheck(L_4);
  3177. ArrayElementTypeCheck (L_4, L_5);
  3178. (L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_5);
  3179. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = L_4;
  3180. String_t* L_7 = ___0_videoPath;
  3181. NullCheck(L_6);
  3182. ArrayElementTypeCheck (L_6, L_7);
  3183. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_7);
  3184. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_8 = L_6;
  3185. String_t* L_9;
  3186. L_9 = NativeCamera_get_TemporaryImagePath_m8697D60DFA6387A8227ABEE74C34C46FDC14E027(NULL);
  3187. String_t* L_10;
  3188. L_10 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_9, _stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26, NULL);
  3189. NullCheck(L_8);
  3190. ArrayElementTypeCheck (L_8, L_10);
  3191. (L_8)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_10);
  3192. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_11 = L_8;
  3193. bool L_12 = ((bool)0);
  3194. RuntimeObject* L_13 = Box(Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var, &L_12);
  3195. NullCheck(L_11);
  3196. ArrayElementTypeCheck (L_11, L_13);
  3197. (L_11)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_13);
  3198. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_14 = L_11;
  3199. int32_t L_15 = ___1_maxSize;
  3200. int32_t L_16 = L_15;
  3201. RuntimeObject* L_17 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_16);
  3202. NullCheck(L_14);
  3203. ArrayElementTypeCheck (L_14, L_17);
  3204. (L_14)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject*)L_17);
  3205. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_18 = L_14;
  3206. double L_19 = ___2_captureTimeInSeconds;
  3207. double L_20 = L_19;
  3208. RuntimeObject* L_21 = Box(Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F_il2cpp_TypeInfo_var, &L_20);
  3209. NullCheck(L_18);
  3210. ArrayElementTypeCheck (L_18, L_21);
  3211. (L_18)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject*)L_21);
  3212. NullCheck(L_2);
  3213. String_t* L_22;
  3214. L_22 = AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3(L_2, _stringLiteral5D67C2D23D0E67BA40CD70B037A9F218807BB46F, L_18, AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  3215. V_0 = L_22;
  3216. // if( !string.IsNullOrEmpty( thumbnailPath ) )
  3217. String_t* L_23 = V_0;
  3218. bool L_24;
  3219. L_24 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_23, NULL);
  3220. if (L_24)
  3221. {
  3222. goto IL_006f;
  3223. }
  3224. }
  3225. {
  3226. // return LoadImageAtPath( thumbnailPath, maxSize, markTextureNonReadable, generateMipmaps, linearColorSpace );
  3227. String_t* L_25 = V_0;
  3228. int32_t L_26 = ___1_maxSize;
  3229. bool L_27 = ___3_markTextureNonReadable;
  3230. bool L_28 = ___4_generateMipmaps;
  3231. bool L_29 = ___5_linearColorSpace;
  3232. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_30;
  3233. L_30 = NativeCamera_LoadImageAtPath_m0F2B227CF63FE99A67155B8C52A719AF5949C747(L_25, L_26, L_27, L_28, L_29, NULL);
  3234. return L_30;
  3235. }
  3236. IL_006f:
  3237. {
  3238. // return null;
  3239. return (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
  3240. }
  3241. }
  3242. // System.Threading.Tasks.Task`1<UnityEngine.Texture2D> NativeCamera::GetVideoThumbnailAsync(System.String,System.Int32,System.Double,System.Boolean)
  3243. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t95921EB64E237ACD28589D64B693C652268F225E* NativeCamera_GetVideoThumbnailAsync_mED350F6F164784DF8E762509F0B22C0BC7EB7A89 (String_t* ___0_videoPath, int32_t ___1_maxSize, double ___2_captureTimeInSeconds, bool ___3_markTextureNonReadable, const RuntimeMethod* method)
  3244. {
  3245. static bool s_Il2CppMethodInitialized;
  3246. if (!s_Il2CppMethodInitialized)
  3247. {
  3248. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_Create_mEBDA40894C43C50AA47346AC784F528C9CA1ABD4_RuntimeMethod_var);
  3249. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_Start_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m59F56DB7F0E99D8EA793C64E8735398C0539DBE6_RuntimeMethod_var);
  3250. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_get_Task_mC842CA788344F6A0EAB9EFDE97E0FAC79368245E_RuntimeMethod_var);
  3251. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F_il2cpp_TypeInfo_var);
  3252. s_Il2CppMethodInitialized = true;
  3253. }
  3254. U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0 V_0;
  3255. memset((&V_0), 0, sizeof(V_0));
  3256. {
  3257. il2cpp_codegen_runtime_class_init_inline(AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F_il2cpp_TypeInfo_var);
  3258. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F L_0;
  3259. L_0 = AsyncTaskMethodBuilder_1_Create_mEBDA40894C43C50AA47346AC784F528C9CA1ABD4(AsyncTaskMethodBuilder_1_Create_mEBDA40894C43C50AA47346AC784F528C9CA1ABD4_RuntimeMethod_var);
  3260. (&V_0)->___U3CU3Et__builder_1 = L_0;
  3261. Il2CppCodeGenWriteBarrier((void**)&((&(((&(&V_0)->___U3CU3Et__builder_1))->___m_coreState_1))->___m_stateMachine_0), (void*)NULL);
  3262. #if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
  3263. Il2CppCodeGenWriteBarrier((void**)&((&(((&(&V_0)->___U3CU3Et__builder_1))->___m_coreState_1))->___m_defaultContextAction_1), (void*)NULL);
  3264. #endif
  3265. #if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
  3266. Il2CppCodeGenWriteBarrier((void**)&(((&(&V_0)->___U3CU3Et__builder_1))->___m_task_2), (void*)NULL);
  3267. #endif
  3268. String_t* L_1 = ___0_videoPath;
  3269. (&V_0)->___videoPath_2 = L_1;
  3270. Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___videoPath_2), (void*)L_1);
  3271. int32_t L_2 = ___1_maxSize;
  3272. (&V_0)->___maxSize_3 = L_2;
  3273. double L_3 = ___2_captureTimeInSeconds;
  3274. (&V_0)->___captureTimeInSeconds_4 = L_3;
  3275. bool L_4 = ___3_markTextureNonReadable;
  3276. (&V_0)->___markTextureNonReadable_6 = L_4;
  3277. (&V_0)->___U3CU3E1__state_0 = (-1);
  3278. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_5 = (&(&V_0)->___U3CU3Et__builder_1);
  3279. AsyncTaskMethodBuilder_1_Start_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m59F56DB7F0E99D8EA793C64E8735398C0539DBE6(L_5, (&V_0), AsyncTaskMethodBuilder_1_Start_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m59F56DB7F0E99D8EA793C64E8735398C0539DBE6_RuntimeMethod_var);
  3280. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_6 = (&(&V_0)->___U3CU3Et__builder_1);
  3281. Task_1_t95921EB64E237ACD28589D64B693C652268F225E* L_7;
  3282. L_7 = AsyncTaskMethodBuilder_1_get_Task_mC842CA788344F6A0EAB9EFDE97E0FAC79368245E(L_6, AsyncTaskMethodBuilder_1_get_Task_mC842CA788344F6A0EAB9EFDE97E0FAC79368245E_RuntimeMethod_var);
  3283. return L_7;
  3284. }
  3285. }
  3286. // NativeCamera/ImageProperties NativeCamera::GetImageProperties(System.String)
  3287. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46 NativeCamera_GetImageProperties_m906832D1F45ECF5821CFA3236192AE053761C050 (String_t* ___0_imagePath, const RuntimeMethod* method)
  3288. {
  3289. static bool s_Il2CppMethodInitialized;
  3290. if (!s_Il2CppMethodInitialized)
  3291. {
  3292. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  3293. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  3294. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
  3295. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0CA4721FC9D82D780671DE2AB61257837402697D);
  3296. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A);
  3297. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3E96C9BB1B953A85290371E8CE7BB3F3ABB307CC);
  3298. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42);
  3299. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral75E05143EB132AAA8A22B48813DB8E6047380821);
  3300. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral985B72B30ECE05DD4EF5FE142CEE0FB8BF53A98C);
  3301. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26);
  3302. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA3A21FB44DD18299A19A0B86BA27CEB4EDA6A941);
  3303. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAFF4AA19F30B5DC5A240F413D92917103536F1AD);
  3304. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCB4507437E3E619ECBAD84410155675EBEB3DB3F);
  3305. s_Il2CppMethodInitialized = true;
  3306. }
  3307. String_t* V_0 = NULL;
  3308. int32_t V_1 = 0;
  3309. int32_t V_2 = 0;
  3310. String_t* V_3 = NULL;
  3311. int32_t V_4 = 0;
  3312. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* V_5 = NULL;
  3313. int32_t V_6 = 0;
  3314. String_t* V_7 = NULL;
  3315. {
  3316. // if( !File.Exists( imagePath ) )
  3317. String_t* L_0 = ___0_imagePath;
  3318. bool L_1;
  3319. L_1 = File_Exists_m95E329ABBE3EAD6750FE1989BBA6884457136D4A(L_0, NULL);
  3320. if (L_1)
  3321. {
  3322. goto IL_0019;
  3323. }
  3324. }
  3325. {
  3326. // throw new FileNotFoundException( "File not found at " + imagePath );
  3327. String_t* L_2 = ___0_imagePath;
  3328. String_t* L_3;
  3329. L_3 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral491B4D9271839F0BD63211437BF7CEE5B2C6ADE9)), L_2, NULL);
  3330. FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A* L_4 = (FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A_il2cpp_TypeInfo_var)));
  3331. NullCheck(L_4);
  3332. FileNotFoundException__ctor_mA8C9C93DB8C5B96D6B5E59B2AE07154F265FB1A1(L_4, L_3, NULL);
  3333. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NativeCamera_GetImageProperties_m906832D1F45ECF5821CFA3236192AE053761C050_RuntimeMethod_var)));
  3334. }
  3335. IL_0019:
  3336. {
  3337. // string value = AJC.CallStatic<string>( "GetImageProperties", Context, imagePath );
  3338. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_5;
  3339. L_5 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  3340. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)2);
  3341. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_7 = L_6;
  3342. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_8;
  3343. L_8 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  3344. NullCheck(L_7);
  3345. ArrayElementTypeCheck (L_7, L_8);
  3346. (L_7)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_8);
  3347. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_9 = L_7;
  3348. String_t* L_10 = ___0_imagePath;
  3349. NullCheck(L_9);
  3350. ArrayElementTypeCheck (L_9, L_10);
  3351. (L_9)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_10);
  3352. NullCheck(L_5);
  3353. String_t* L_11;
  3354. L_11 = AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3(L_5, _stringLiteralA3A21FB44DD18299A19A0B86BA27CEB4EDA6A941, L_9, AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  3355. V_0 = L_11;
  3356. // int width = 0, height = 0;
  3357. V_1 = 0;
  3358. // int width = 0, height = 0;
  3359. V_2 = 0;
  3360. // string mimeType = null;
  3361. V_3 = (String_t*)NULL;
  3362. // ImageOrientation orientation = ImageOrientation.Unknown;
  3363. V_4 = (-1);
  3364. // if( !string.IsNullOrEmpty( value ) )
  3365. String_t* L_12 = V_0;
  3366. bool L_13;
  3367. L_13 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_12, NULL);
  3368. if (L_13)
  3369. {
  3370. goto IL_0130;
  3371. }
  3372. }
  3373. {
  3374. // string[] properties = value.Split( '>' );
  3375. String_t* L_14 = V_0;
  3376. NullCheck(L_14);
  3377. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_15;
  3378. L_15 = String_Split_m9530B73D02054692283BF35C3A27C8F2230946F4(L_14, ((int32_t)62), 0, NULL);
  3379. V_5 = L_15;
  3380. // if( properties != null && properties.Length >= 4 )
  3381. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_16 = V_5;
  3382. if (!L_16)
  3383. {
  3384. goto IL_0130;
  3385. }
  3386. }
  3387. {
  3388. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_17 = V_5;
  3389. NullCheck(L_17);
  3390. if ((((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))) < ((int32_t)4)))
  3391. {
  3392. goto IL_0130;
  3393. }
  3394. }
  3395. {
  3396. // if( !int.TryParse( properties[0].Trim(), out width ) )
  3397. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_18 = V_5;
  3398. NullCheck(L_18);
  3399. int32_t L_19 = 0;
  3400. String_t* L_20 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  3401. NullCheck(L_20);
  3402. String_t* L_21;
  3403. L_21 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_20, NULL);
  3404. bool L_22;
  3405. L_22 = Int32_TryParse_mC928DE2FEC1C35ED5298BDDCA9868076E94B8A21(L_21, (&V_1), NULL);
  3406. if (L_22)
  3407. {
  3408. goto IL_007f;
  3409. }
  3410. }
  3411. {
  3412. // width = 0;
  3413. V_1 = 0;
  3414. }
  3415. IL_007f:
  3416. {
  3417. // if( !int.TryParse( properties[1].Trim(), out height ) )
  3418. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_23 = V_5;
  3419. NullCheck(L_23);
  3420. int32_t L_24 = 1;
  3421. String_t* L_25 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  3422. NullCheck(L_25);
  3423. String_t* L_26;
  3424. L_26 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_25, NULL);
  3425. bool L_27;
  3426. L_27 = Int32_TryParse_mC928DE2FEC1C35ED5298BDDCA9868076E94B8A21(L_26, (&V_2), NULL);
  3427. if (L_27)
  3428. {
  3429. goto IL_0093;
  3430. }
  3431. }
  3432. {
  3433. // height = 0;
  3434. V_2 = 0;
  3435. }
  3436. IL_0093:
  3437. {
  3438. // mimeType = properties[2].Trim();
  3439. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_28 = V_5;
  3440. NullCheck(L_28);
  3441. int32_t L_29 = 2;
  3442. String_t* L_30 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  3443. NullCheck(L_30);
  3444. String_t* L_31;
  3445. L_31 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_30, NULL);
  3446. V_3 = L_31;
  3447. // if( mimeType.Length == 0 )
  3448. String_t* L_32 = V_3;
  3449. NullCheck(L_32);
  3450. int32_t L_33;
  3451. L_33 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_32, NULL);
  3452. if (L_33)
  3453. {
  3454. goto IL_011a;
  3455. }
  3456. }
  3457. {
  3458. // string extension = Path.GetExtension( imagePath ).ToLowerInvariant();
  3459. String_t* L_34 = ___0_imagePath;
  3460. il2cpp_codegen_runtime_class_init_inline(Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
  3461. String_t* L_35;
  3462. L_35 = Path_GetExtension_m6FEAA9E14451BFD210B9D1AEC2430C813F570FE5(L_34, NULL);
  3463. NullCheck(L_35);
  3464. String_t* L_36;
  3465. L_36 = String_ToLowerInvariant_mBE32C93DE27C5353FEA3FA654FC1DDBE3D0EB0F2(L_35, NULL);
  3466. V_7 = L_36;
  3467. // if( extension == ".png" )
  3468. String_t* L_37 = V_7;
  3469. bool L_38;
  3470. L_38 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_37, _stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26, NULL);
  3471. if (!L_38)
  3472. {
  3473. goto IL_00c8;
  3474. }
  3475. }
  3476. {
  3477. // mimeType = "image/png";
  3478. V_3 = _stringLiteral75E05143EB132AAA8A22B48813DB8E6047380821;
  3479. goto IL_011a;
  3480. }
  3481. IL_00c8:
  3482. {
  3483. // else if( extension == ".jpg" || extension == ".jpeg" )
  3484. String_t* L_39 = V_7;
  3485. bool L_40;
  3486. L_40 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_39, _stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A, NULL);
  3487. if (L_40)
  3488. {
  3489. goto IL_00e4;
  3490. }
  3491. }
  3492. {
  3493. String_t* L_41 = V_7;
  3494. bool L_42;
  3495. L_42 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_41, _stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42, NULL);
  3496. if (!L_42)
  3497. {
  3498. goto IL_00ec;
  3499. }
  3500. }
  3501. IL_00e4:
  3502. {
  3503. // mimeType = "image/jpeg";
  3504. V_3 = _stringLiteral3E96C9BB1B953A85290371E8CE7BB3F3ABB307CC;
  3505. goto IL_011a;
  3506. }
  3507. IL_00ec:
  3508. {
  3509. // else if( extension == ".gif" )
  3510. String_t* L_43 = V_7;
  3511. bool L_44;
  3512. L_44 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_43, _stringLiteral0CA4721FC9D82D780671DE2AB61257837402697D, NULL);
  3513. if (!L_44)
  3514. {
  3515. goto IL_0102;
  3516. }
  3517. }
  3518. {
  3519. // mimeType = "image/gif";
  3520. V_3 = _stringLiteralAFF4AA19F30B5DC5A240F413D92917103536F1AD;
  3521. goto IL_011a;
  3522. }
  3523. IL_0102:
  3524. {
  3525. // else if( extension == ".bmp" )
  3526. String_t* L_45 = V_7;
  3527. bool L_46;
  3528. L_46 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_45, _stringLiteral985B72B30ECE05DD4EF5FE142CEE0FB8BF53A98C, NULL);
  3529. if (!L_46)
  3530. {
  3531. goto IL_0118;
  3532. }
  3533. }
  3534. {
  3535. // mimeType = "image/bmp";
  3536. V_3 = _stringLiteralCB4507437E3E619ECBAD84410155675EBEB3DB3F;
  3537. goto IL_011a;
  3538. }
  3539. IL_0118:
  3540. {
  3541. // mimeType = null;
  3542. V_3 = (String_t*)NULL;
  3543. }
  3544. IL_011a:
  3545. {
  3546. // if( int.TryParse( properties[3].Trim(), out orientationInt ) )
  3547. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_47 = V_5;
  3548. NullCheck(L_47);
  3549. int32_t L_48 = 3;
  3550. String_t* L_49 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
  3551. NullCheck(L_49);
  3552. String_t* L_50;
  3553. L_50 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_49, NULL);
  3554. bool L_51;
  3555. L_51 = Int32_TryParse_mC928DE2FEC1C35ED5298BDDCA9868076E94B8A21(L_50, (&V_6), NULL);
  3556. if (!L_51)
  3557. {
  3558. goto IL_0130;
  3559. }
  3560. }
  3561. {
  3562. // orientation = (ImageOrientation) orientationInt;
  3563. int32_t L_52 = V_6;
  3564. V_4 = L_52;
  3565. }
  3566. IL_0130:
  3567. {
  3568. // return new ImageProperties( width, height, mimeType, orientation );
  3569. int32_t L_53 = V_1;
  3570. int32_t L_54 = V_2;
  3571. String_t* L_55 = V_3;
  3572. int32_t L_56 = V_4;
  3573. ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46 L_57;
  3574. memset((&L_57), 0, sizeof(L_57));
  3575. ImageProperties__ctor_mDB1459622F0FFEEA741B63898D7CE5B41AA4F9EC((&L_57), L_53, L_54, L_55, L_56, /*hidden argument*/NULL);
  3576. return L_57;
  3577. }
  3578. }
  3579. // NativeCamera/VideoProperties NativeCamera::GetVideoProperties(System.String)
  3580. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VideoProperties_t6D7A73E485C96B765AD8710810E46D38907DFC0E NativeCamera_GetVideoProperties_m2E7F06E4A9C55A06A5752F8337951217018250EB (String_t* ___0_videoPath, const RuntimeMethod* method)
  3581. {
  3582. static bool s_Il2CppMethodInitialized;
  3583. if (!s_Il2CppMethodInitialized)
  3584. {
  3585. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  3586. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_il2cpp_TypeInfo_var);
  3587. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  3588. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF811A8F3778A439E75478C3728BE25A7853EAF83);
  3589. s_Il2CppMethodInitialized = true;
  3590. }
  3591. String_t* V_0 = NULL;
  3592. int32_t V_1 = 0;
  3593. int32_t V_2 = 0;
  3594. int64_t V_3 = 0;
  3595. float V_4 = 0.0f;
  3596. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* V_5 = NULL;
  3597. {
  3598. // if( !File.Exists( videoPath ) )
  3599. String_t* L_0 = ___0_videoPath;
  3600. bool L_1;
  3601. L_1 = File_Exists_m95E329ABBE3EAD6750FE1989BBA6884457136D4A(L_0, NULL);
  3602. if (L_1)
  3603. {
  3604. goto IL_0019;
  3605. }
  3606. }
  3607. {
  3608. // throw new FileNotFoundException( "File not found at " + videoPath );
  3609. String_t* L_2 = ___0_videoPath;
  3610. String_t* L_3;
  3611. L_3 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral491B4D9271839F0BD63211437BF7CEE5B2C6ADE9)), L_2, NULL);
  3612. FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A* L_4 = (FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A_il2cpp_TypeInfo_var)));
  3613. NullCheck(L_4);
  3614. FileNotFoundException__ctor_mA8C9C93DB8C5B96D6B5E59B2AE07154F265FB1A1(L_4, L_3, NULL);
  3615. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NativeCamera_GetVideoProperties_m2E7F06E4A9C55A06A5752F8337951217018250EB_RuntimeMethod_var)));
  3616. }
  3617. IL_0019:
  3618. {
  3619. // string value = AJC.CallStatic<string>( "GetVideoProperties", Context, videoPath );
  3620. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_5;
  3621. L_5 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  3622. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)2);
  3623. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_7 = L_6;
  3624. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_8;
  3625. L_8 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  3626. NullCheck(L_7);
  3627. ArrayElementTypeCheck (L_7, L_8);
  3628. (L_7)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_8);
  3629. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_9 = L_7;
  3630. String_t* L_10 = ___0_videoPath;
  3631. NullCheck(L_9);
  3632. ArrayElementTypeCheck (L_9, L_10);
  3633. (L_9)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_10);
  3634. NullCheck(L_5);
  3635. String_t* L_11;
  3636. L_11 = AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3(L_5, _stringLiteralF811A8F3778A439E75478C3728BE25A7853EAF83, L_9, AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  3637. V_0 = L_11;
  3638. // int width = 0, height = 0;
  3639. V_1 = 0;
  3640. // int width = 0, height = 0;
  3641. V_2 = 0;
  3642. // long duration = 0L;
  3643. V_3 = ((int64_t)0);
  3644. // float rotation = 0f;
  3645. V_4 = (0.0f);
  3646. // if( !string.IsNullOrEmpty( value ) )
  3647. String_t* L_12 = V_0;
  3648. bool L_13;
  3649. L_13 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_12, NULL);
  3650. if (L_13)
  3651. {
  3652. goto IL_00d0;
  3653. }
  3654. }
  3655. {
  3656. // string[] properties = value.Split( '>' );
  3657. String_t* L_14 = V_0;
  3658. NullCheck(L_14);
  3659. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_15;
  3660. L_15 = String_Split_m9530B73D02054692283BF35C3A27C8F2230946F4(L_14, ((int32_t)62), 0, NULL);
  3661. V_5 = L_15;
  3662. // if( properties != null && properties.Length >= 4 )
  3663. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_16 = V_5;
  3664. if (!L_16)
  3665. {
  3666. goto IL_00d0;
  3667. }
  3668. }
  3669. {
  3670. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_17 = V_5;
  3671. NullCheck(L_17);
  3672. if ((((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))) < ((int32_t)4)))
  3673. {
  3674. goto IL_00d0;
  3675. }
  3676. }
  3677. {
  3678. // if( !int.TryParse( properties[0].Trim(), out width ) )
  3679. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_18 = V_5;
  3680. NullCheck(L_18);
  3681. int32_t L_19 = 0;
  3682. String_t* L_20 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
  3683. NullCheck(L_20);
  3684. String_t* L_21;
  3685. L_21 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_20, NULL);
  3686. bool L_22;
  3687. L_22 = Int32_TryParse_mC928DE2FEC1C35ED5298BDDCA9868076E94B8A21(L_21, (&V_1), NULL);
  3688. if (L_22)
  3689. {
  3690. goto IL_007b;
  3691. }
  3692. }
  3693. {
  3694. // width = 0;
  3695. V_1 = 0;
  3696. }
  3697. IL_007b:
  3698. {
  3699. // if( !int.TryParse( properties[1].Trim(), out height ) )
  3700. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_23 = V_5;
  3701. NullCheck(L_23);
  3702. int32_t L_24 = 1;
  3703. String_t* L_25 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
  3704. NullCheck(L_25);
  3705. String_t* L_26;
  3706. L_26 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_25, NULL);
  3707. bool L_27;
  3708. L_27 = Int32_TryParse_mC928DE2FEC1C35ED5298BDDCA9868076E94B8A21(L_26, (&V_2), NULL);
  3709. if (L_27)
  3710. {
  3711. goto IL_008f;
  3712. }
  3713. }
  3714. {
  3715. // height = 0;
  3716. V_2 = 0;
  3717. }
  3718. IL_008f:
  3719. {
  3720. // if( !long.TryParse( properties[2].Trim(), out duration ) )
  3721. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_28 = V_5;
  3722. NullCheck(L_28);
  3723. int32_t L_29 = 2;
  3724. String_t* L_30 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  3725. NullCheck(L_30);
  3726. String_t* L_31;
  3727. L_31 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_30, NULL);
  3728. bool L_32;
  3729. L_32 = Int64_TryParse_m3FC0128C89CC2331239FC2A0A749BF33455F03D2(L_31, (&V_3), NULL);
  3730. if (L_32)
  3731. {
  3732. goto IL_00a4;
  3733. }
  3734. }
  3735. {
  3736. // duration = 0L;
  3737. V_3 = ((int64_t)0);
  3738. }
  3739. IL_00a4:
  3740. {
  3741. // if( !float.TryParse( properties[3].Trim().Replace( ',', '.' ), NumberStyles.Float, CultureInfo.InvariantCulture, out rotation ) )
  3742. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_33 = V_5;
  3743. NullCheck(L_33);
  3744. int32_t L_34 = 3;
  3745. String_t* L_35 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
  3746. NullCheck(L_35);
  3747. String_t* L_36;
  3748. L_36 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_35, NULL);
  3749. NullCheck(L_36);
  3750. String_t* L_37;
  3751. L_37 = String_Replace_m86403DC5F422D8D5E1CFAAF255B103CB807EDAAF(L_36, ((int32_t)44), ((int32_t)46), NULL);
  3752. il2cpp_codegen_runtime_class_init_inline(CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_il2cpp_TypeInfo_var);
  3753. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* L_38;
  3754. L_38 = CultureInfo_get_InvariantCulture_mD1E96DC845E34B10F78CB744B0CB5D7D63CEB1E6(NULL);
  3755. bool L_39;
  3756. L_39 = Single_TryParse_mFB8CC32F0016FBB6EFCB97953CF3515767EB6431(L_37, ((int32_t)167), L_38, (&V_4), NULL);
  3757. if (L_39)
  3758. {
  3759. goto IL_00d0;
  3760. }
  3761. }
  3762. {
  3763. // rotation = 0f;
  3764. V_4 = (0.0f);
  3765. }
  3766. IL_00d0:
  3767. {
  3768. // if( rotation == -90f )
  3769. float L_40 = V_4;
  3770. if ((!(((float)L_40) == ((float)(-90.0f)))))
  3771. {
  3772. goto IL_00e0;
  3773. }
  3774. }
  3775. {
  3776. // rotation = 270f;
  3777. V_4 = (270.0f);
  3778. }
  3779. IL_00e0:
  3780. {
  3781. // return new VideoProperties( width, height, duration, rotation );
  3782. int32_t L_41 = V_1;
  3783. int32_t L_42 = V_2;
  3784. int64_t L_43 = V_3;
  3785. float L_44 = V_4;
  3786. VideoProperties_t6D7A73E485C96B765AD8710810E46D38907DFC0E L_45;
  3787. memset((&L_45), 0, sizeof(L_45));
  3788. VideoProperties__ctor_m61A493A9C32C95FE9B3F84709AC0A2E92283F97D((&L_45), L_41, L_42, L_43, L_44, /*hidden argument*/NULL);
  3789. return L_45;
  3790. }
  3791. }
  3792. #ifdef __clang__
  3793. #pragma clang diagnostic pop
  3794. #endif
  3795. #ifdef __clang__
  3796. #pragma clang diagnostic push
  3797. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  3798. #pragma clang diagnostic ignored "-Wunused-variable"
  3799. #endif
  3800. // Conversion methods for marshalling of: NativeCamera/ImageProperties
  3801. IL2CPP_EXTERN_C void ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshal_pinvoke(const ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46& unmarshaled, ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshaled_pinvoke& marshaled)
  3802. {
  3803. marshaled.___width_0 = unmarshaled.___width_0;
  3804. marshaled.___height_1 = unmarshaled.___height_1;
  3805. marshaled.___mimeType_2 = il2cpp_codegen_marshal_string(unmarshaled.___mimeType_2);
  3806. marshaled.___orientation_3 = unmarshaled.___orientation_3;
  3807. }
  3808. IL2CPP_EXTERN_C void ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshal_pinvoke_back(const ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshaled_pinvoke& marshaled, ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46& unmarshaled)
  3809. {
  3810. int32_t unmarshaledwidth_temp_0 = 0;
  3811. unmarshaledwidth_temp_0 = marshaled.___width_0;
  3812. unmarshaled.___width_0 = unmarshaledwidth_temp_0;
  3813. int32_t unmarshaledheight_temp_1 = 0;
  3814. unmarshaledheight_temp_1 = marshaled.___height_1;
  3815. unmarshaled.___height_1 = unmarshaledheight_temp_1;
  3816. unmarshaled.___mimeType_2 = il2cpp_codegen_marshal_string_result(marshaled.___mimeType_2);
  3817. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___mimeType_2), (void*)il2cpp_codegen_marshal_string_result(marshaled.___mimeType_2));
  3818. int32_t unmarshaledorientation_temp_3 = 0;
  3819. unmarshaledorientation_temp_3 = marshaled.___orientation_3;
  3820. unmarshaled.___orientation_3 = unmarshaledorientation_temp_3;
  3821. }
  3822. // Conversion method for clean up from marshalling of: NativeCamera/ImageProperties
  3823. IL2CPP_EXTERN_C void ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshal_pinvoke_cleanup(ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshaled_pinvoke& marshaled)
  3824. {
  3825. il2cpp_codegen_marshal_free(marshaled.___mimeType_2);
  3826. marshaled.___mimeType_2 = NULL;
  3827. }
  3828. // Conversion methods for marshalling of: NativeCamera/ImageProperties
  3829. IL2CPP_EXTERN_C void ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshal_com(const ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46& unmarshaled, ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshaled_com& marshaled)
  3830. {
  3831. marshaled.___width_0 = unmarshaled.___width_0;
  3832. marshaled.___height_1 = unmarshaled.___height_1;
  3833. marshaled.___mimeType_2 = il2cpp_codegen_marshal_bstring(unmarshaled.___mimeType_2);
  3834. marshaled.___orientation_3 = unmarshaled.___orientation_3;
  3835. }
  3836. IL2CPP_EXTERN_C void ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshal_com_back(const ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshaled_com& marshaled, ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46& unmarshaled)
  3837. {
  3838. int32_t unmarshaledwidth_temp_0 = 0;
  3839. unmarshaledwidth_temp_0 = marshaled.___width_0;
  3840. unmarshaled.___width_0 = unmarshaledwidth_temp_0;
  3841. int32_t unmarshaledheight_temp_1 = 0;
  3842. unmarshaledheight_temp_1 = marshaled.___height_1;
  3843. unmarshaled.___height_1 = unmarshaledheight_temp_1;
  3844. unmarshaled.___mimeType_2 = il2cpp_codegen_marshal_bstring_result(marshaled.___mimeType_2);
  3845. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___mimeType_2), (void*)il2cpp_codegen_marshal_bstring_result(marshaled.___mimeType_2));
  3846. int32_t unmarshaledorientation_temp_3 = 0;
  3847. unmarshaledorientation_temp_3 = marshaled.___orientation_3;
  3848. unmarshaled.___orientation_3 = unmarshaledorientation_temp_3;
  3849. }
  3850. // Conversion method for clean up from marshalling of: NativeCamera/ImageProperties
  3851. IL2CPP_EXTERN_C void ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshal_com_cleanup(ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46_marshaled_com& marshaled)
  3852. {
  3853. il2cpp_codegen_marshal_free_bstring(marshaled.___mimeType_2);
  3854. marshaled.___mimeType_2 = NULL;
  3855. }
  3856. // System.Void NativeCamera/ImageProperties::.ctor(System.Int32,System.Int32,System.String,NativeCamera/ImageOrientation)
  3857. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ImageProperties__ctor_mDB1459622F0FFEEA741B63898D7CE5B41AA4F9EC (ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46* __this, int32_t ___0_width, int32_t ___1_height, String_t* ___2_mimeType, int32_t ___3_orientation, const RuntimeMethod* method)
  3858. {
  3859. {
  3860. // this.width = width;
  3861. int32_t L_0 = ___0_width;
  3862. __this->___width_0 = L_0;
  3863. // this.height = height;
  3864. int32_t L_1 = ___1_height;
  3865. __this->___height_1 = L_1;
  3866. // this.mimeType = mimeType;
  3867. String_t* L_2 = ___2_mimeType;
  3868. __this->___mimeType_2 = L_2;
  3869. Il2CppCodeGenWriteBarrier((void**)(&__this->___mimeType_2), (void*)L_2);
  3870. // this.orientation = orientation;
  3871. int32_t L_3 = ___3_orientation;
  3872. __this->___orientation_3 = L_3;
  3873. // }
  3874. return;
  3875. }
  3876. }
  3877. IL2CPP_EXTERN_C void ImageProperties__ctor_mDB1459622F0FFEEA741B63898D7CE5B41AA4F9EC_AdjustorThunk (RuntimeObject* __this, int32_t ___0_width, int32_t ___1_height, String_t* ___2_mimeType, int32_t ___3_orientation, const RuntimeMethod* method)
  3878. {
  3879. ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46* _thisAdjusted;
  3880. int32_t _offset = 1;
  3881. _thisAdjusted = reinterpret_cast<ImageProperties_t58867341A9993287DFFDD26325DE0EE68DD52E46*>(__this + _offset);
  3882. ImageProperties__ctor_mDB1459622F0FFEEA741B63898D7CE5B41AA4F9EC(_thisAdjusted, ___0_width, ___1_height, ___2_mimeType, ___3_orientation, method);
  3883. }
  3884. #ifdef __clang__
  3885. #pragma clang diagnostic pop
  3886. #endif
  3887. #ifdef __clang__
  3888. #pragma clang diagnostic push
  3889. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  3890. #pragma clang diagnostic ignored "-Wunused-variable"
  3891. #endif
  3892. // System.Void NativeCamera/VideoProperties::.ctor(System.Int32,System.Int32,System.Int64,System.Single)
  3893. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoProperties__ctor_m61A493A9C32C95FE9B3F84709AC0A2E92283F97D (VideoProperties_t6D7A73E485C96B765AD8710810E46D38907DFC0E* __this, int32_t ___0_width, int32_t ___1_height, int64_t ___2_duration, float ___3_rotation, const RuntimeMethod* method)
  3894. {
  3895. {
  3896. // this.width = width;
  3897. int32_t L_0 = ___0_width;
  3898. __this->___width_0 = L_0;
  3899. // this.height = height;
  3900. int32_t L_1 = ___1_height;
  3901. __this->___height_1 = L_1;
  3902. // this.duration = duration;
  3903. int64_t L_2 = ___2_duration;
  3904. __this->___duration_2 = L_2;
  3905. // this.rotation = rotation;
  3906. float L_3 = ___3_rotation;
  3907. __this->___rotation_3 = L_3;
  3908. // }
  3909. return;
  3910. }
  3911. }
  3912. IL2CPP_EXTERN_C void VideoProperties__ctor_m61A493A9C32C95FE9B3F84709AC0A2E92283F97D_AdjustorThunk (RuntimeObject* __this, int32_t ___0_width, int32_t ___1_height, int64_t ___2_duration, float ___3_rotation, const RuntimeMethod* method)
  3913. {
  3914. VideoProperties_t6D7A73E485C96B765AD8710810E46D38907DFC0E* _thisAdjusted;
  3915. int32_t _offset = 1;
  3916. _thisAdjusted = reinterpret_cast<VideoProperties_t6D7A73E485C96B765AD8710810E46D38907DFC0E*>(__this + _offset);
  3917. VideoProperties__ctor_m61A493A9C32C95FE9B3F84709AC0A2E92283F97D(_thisAdjusted, ___0_width, ___1_height, ___2_duration, ___3_rotation, method);
  3918. }
  3919. #ifdef __clang__
  3920. #pragma clang diagnostic pop
  3921. #endif
  3922. #ifdef __clang__
  3923. #pragma clang diagnostic push
  3924. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  3925. #pragma clang diagnostic ignored "-Wunused-variable"
  3926. #endif
  3927. void PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_Multicast(PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, const RuntimeMethod* method)
  3928. {
  3929. il2cpp_array_size_t length = __this->___delegates_13->max_length;
  3930. Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates_13->GetAddressAtUnchecked(0));
  3931. for (il2cpp_array_size_t i = 0; i < length; i++)
  3932. {
  3933. PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* currentDelegate = reinterpret_cast<PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001*>(delegatesToInvoke[i]);
  3934. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, const RuntimeMethod*);
  3935. ((FunctionPointerType)currentDelegate->___invoke_impl_1)((Il2CppObject*)currentDelegate->___method_code_6, ___0_permission, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method_3));
  3936. }
  3937. }
  3938. void PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_OpenInst(PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, const RuntimeMethod* method)
  3939. {
  3940. typedef void (*FunctionPointerType) (int32_t, const RuntimeMethod*);
  3941. ((FunctionPointerType)__this->___method_ptr_0)(___0_permission, method);
  3942. }
  3943. void PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_OpenStatic(PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, const RuntimeMethod* method)
  3944. {
  3945. typedef void (*FunctionPointerType) (int32_t, const RuntimeMethod*);
  3946. ((FunctionPointerType)__this->___method_ptr_0)(___0_permission, method);
  3947. }
  3948. void PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_OpenStaticInvoker(PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, const RuntimeMethod* method)
  3949. {
  3950. InvokerActionInvoker1< int32_t >::Invoke(__this->___method_ptr_0, method, NULL, ___0_permission);
  3951. }
  3952. void PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_ClosedStaticInvoker(PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, const RuntimeMethod* method)
  3953. {
  3954. InvokerActionInvoker2< RuntimeObject*, int32_t >::Invoke(__this->___method_ptr_0, method, NULL, __this->___m_target_2, ___0_permission);
  3955. }
  3956. IL2CPP_EXTERN_C void DelegatePInvokeWrapper_PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001 (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, const RuntimeMethod* method)
  3957. {
  3958. typedef void (DEFAULT_CALL *PInvokeFunc)(int32_t);
  3959. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_reverse_pinvoke_function_ptr(__this));
  3960. // Native function invocation
  3961. il2cppPInvokeFunc(___0_permission);
  3962. }
  3963. // System.Void NativeCamera/PermissionCallback::.ctor(System.Object,System.IntPtr)
  3964. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PermissionCallback__ctor_m7CA919F20741081C2F81A209707B998CCC4D3782 (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  3965. {
  3966. __this->___method_ptr_0 = il2cpp_codegen_get_virtual_call_method_pointer((RuntimeMethod*)___1_method);
  3967. __this->___method_3 = ___1_method;
  3968. __this->___m_target_2 = ___0_object;
  3969. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target_2), (void*)___0_object);
  3970. int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
  3971. __this->___method_code_6 = (intptr_t)__this;
  3972. if (MethodIsStatic((RuntimeMethod*)___1_method))
  3973. {
  3974. bool isOpen = parameterCount == 1;
  3975. if (il2cpp_codegen_call_method_via_invoker((RuntimeMethod*)___1_method))
  3976. if (isOpen)
  3977. __this->___invoke_impl_1 = (intptr_t)&PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_OpenStaticInvoker;
  3978. else
  3979. __this->___invoke_impl_1 = (intptr_t)&PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_ClosedStaticInvoker;
  3980. else
  3981. if (isOpen)
  3982. __this->___invoke_impl_1 = (intptr_t)&PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_OpenStatic;
  3983. else
  3984. {
  3985. __this->___invoke_impl_1 = (intptr_t)__this->___method_ptr_0;
  3986. __this->___method_code_6 = (intptr_t)__this->___m_target_2;
  3987. }
  3988. }
  3989. else
  3990. {
  3991. if (___0_object == NULL)
  3992. il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
  3993. __this->___invoke_impl_1 = (intptr_t)__this->___method_ptr_0;
  3994. __this->___method_code_6 = (intptr_t)__this->___m_target_2;
  3995. }
  3996. __this->___extra_arg_5 = (intptr_t)&PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_Multicast;
  3997. }
  3998. // System.Void NativeCamera/PermissionCallback::Invoke(NativeCamera/Permission)
  3999. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47 (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, const RuntimeMethod* method)
  4000. {
  4001. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, const RuntimeMethod*);
  4002. ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_permission, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
  4003. }
  4004. // System.IAsyncResult NativeCamera/PermissionCallback::BeginInvoke(NativeCamera/Permission,System.AsyncCallback,System.Object)
  4005. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PermissionCallback_BeginInvoke_m2623016C072980DFF99367F96400C8B37C88B839 (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C* ___1_callback, RuntimeObject* ___2_object, const RuntimeMethod* method)
  4006. {
  4007. static bool s_Il2CppMethodInitialized;
  4008. if (!s_Il2CppMethodInitialized)
  4009. {
  4010. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Permission_t1EEFB992D4BAC04AB077BD49556F33B8B6E0E9F8_il2cpp_TypeInfo_var);
  4011. s_Il2CppMethodInitialized = true;
  4012. }
  4013. void *__d_args[2] = {0};
  4014. __d_args[0] = Box(Permission_t1EEFB992D4BAC04AB077BD49556F33B8B6E0E9F8_il2cpp_TypeInfo_var, &___0_permission);
  4015. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___1_callback, (RuntimeObject*)___2_object);
  4016. }
  4017. // System.Void NativeCamera/PermissionCallback::EndInvoke(System.IAsyncResult)
  4018. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PermissionCallback_EndInvoke_m2B8461AD4BEF74F43786926160BA150D32090E78 (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, RuntimeObject* ___0_result, const RuntimeMethod* method)
  4019. {
  4020. il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___0_result, 0);
  4021. }
  4022. #ifdef __clang__
  4023. #pragma clang diagnostic pop
  4024. #endif
  4025. #ifdef __clang__
  4026. #pragma clang diagnostic push
  4027. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4028. #pragma clang diagnostic ignored "-Wunused-variable"
  4029. #endif
  4030. void CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_Multicast(CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, const RuntimeMethod* method)
  4031. {
  4032. il2cpp_array_size_t length = __this->___delegates_13->max_length;
  4033. Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates_13->GetAddressAtUnchecked(0));
  4034. for (il2cpp_array_size_t i = 0; i < length; i++)
  4035. {
  4036. CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* currentDelegate = reinterpret_cast<CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771*>(delegatesToInvoke[i]);
  4037. typedef void (*FunctionPointerType) (RuntimeObject*, String_t*, const RuntimeMethod*);
  4038. ((FunctionPointerType)currentDelegate->___invoke_impl_1)((Il2CppObject*)currentDelegate->___method_code_6, ___0_path, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method_3));
  4039. }
  4040. }
  4041. void CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_OpenInst(CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, const RuntimeMethod* method)
  4042. {
  4043. NullCheck(___0_path);
  4044. typedef void (*FunctionPointerType) (String_t*, const RuntimeMethod*);
  4045. ((FunctionPointerType)__this->___method_ptr_0)(___0_path, method);
  4046. }
  4047. void CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_OpenStatic(CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, const RuntimeMethod* method)
  4048. {
  4049. typedef void (*FunctionPointerType) (String_t*, const RuntimeMethod*);
  4050. ((FunctionPointerType)__this->___method_ptr_0)(___0_path, method);
  4051. }
  4052. void CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_OpenStaticInvoker(CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, const RuntimeMethod* method)
  4053. {
  4054. InvokerActionInvoker1< String_t* >::Invoke(__this->___method_ptr_0, method, NULL, ___0_path);
  4055. }
  4056. void CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_ClosedStaticInvoker(CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, const RuntimeMethod* method)
  4057. {
  4058. InvokerActionInvoker2< RuntimeObject*, String_t* >::Invoke(__this->___method_ptr_0, method, NULL, __this->___m_target_2, ___0_path);
  4059. }
  4060. IL2CPP_EXTERN_C void DelegatePInvokeWrapper_CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771 (CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, const RuntimeMethod* method)
  4061. {
  4062. typedef void (DEFAULT_CALL *PInvokeFunc)(char*);
  4063. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_reverse_pinvoke_function_ptr(__this));
  4064. // Marshaling of parameter '___0_path' to native representation
  4065. char* ____0_path_marshaled = NULL;
  4066. ____0_path_marshaled = il2cpp_codegen_marshal_string(___0_path);
  4067. // Native function invocation
  4068. il2cppPInvokeFunc(____0_path_marshaled);
  4069. // Marshaling cleanup of parameter '___0_path' native representation
  4070. il2cpp_codegen_marshal_free(____0_path_marshaled);
  4071. ____0_path_marshaled = NULL;
  4072. }
  4073. // System.Void NativeCamera/CameraCallback::.ctor(System.Object,System.IntPtr)
  4074. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraCallback__ctor_m39376148047C9B1A537BC5DB202E142431A77AFE (CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  4075. {
  4076. __this->___method_ptr_0 = il2cpp_codegen_get_virtual_call_method_pointer((RuntimeMethod*)___1_method);
  4077. __this->___method_3 = ___1_method;
  4078. __this->___m_target_2 = ___0_object;
  4079. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target_2), (void*)___0_object);
  4080. int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
  4081. __this->___method_code_6 = (intptr_t)__this;
  4082. if (MethodIsStatic((RuntimeMethod*)___1_method))
  4083. {
  4084. bool isOpen = parameterCount == 1;
  4085. if (il2cpp_codegen_call_method_via_invoker((RuntimeMethod*)___1_method))
  4086. if (isOpen)
  4087. __this->___invoke_impl_1 = (intptr_t)&CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_OpenStaticInvoker;
  4088. else
  4089. __this->___invoke_impl_1 = (intptr_t)&CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_ClosedStaticInvoker;
  4090. else
  4091. if (isOpen)
  4092. __this->___invoke_impl_1 = (intptr_t)&CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_OpenStatic;
  4093. else
  4094. {
  4095. __this->___invoke_impl_1 = (intptr_t)__this->___method_ptr_0;
  4096. __this->___method_code_6 = (intptr_t)__this->___m_target_2;
  4097. }
  4098. }
  4099. else
  4100. {
  4101. bool isOpen = parameterCount == 0;
  4102. if (isOpen)
  4103. {
  4104. __this->___invoke_impl_1 = (intptr_t)&CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_OpenInst;
  4105. }
  4106. else
  4107. {
  4108. if (___0_object == NULL)
  4109. il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
  4110. __this->___invoke_impl_1 = (intptr_t)__this->___method_ptr_0;
  4111. __this->___method_code_6 = (intptr_t)__this->___m_target_2;
  4112. }
  4113. }
  4114. __this->___extra_arg_5 = (intptr_t)&CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_Multicast;
  4115. }
  4116. // System.Void NativeCamera/CameraCallback::Invoke(System.String)
  4117. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A (CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, const RuntimeMethod* method)
  4118. {
  4119. typedef void (*FunctionPointerType) (RuntimeObject*, String_t*, const RuntimeMethod*);
  4120. ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_path, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
  4121. }
  4122. // System.IAsyncResult NativeCamera/CameraCallback::BeginInvoke(System.String,System.AsyncCallback,System.Object)
  4123. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* CameraCallback_BeginInvoke_m690E44108A53130266E7C1A57DC6E62F2B0BDCDF (CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C* ___1_callback, RuntimeObject* ___2_object, const RuntimeMethod* method)
  4124. {
  4125. void *__d_args[2] = {0};
  4126. __d_args[0] = ___0_path;
  4127. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___1_callback, (RuntimeObject*)___2_object);
  4128. }
  4129. // System.Void NativeCamera/CameraCallback::EndInvoke(System.IAsyncResult)
  4130. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraCallback_EndInvoke_m64D370EA45BBA56CF1B29C19E1B766B43542D7A6 (CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, RuntimeObject* ___0_result, const RuntimeMethod* method)
  4131. {
  4132. il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___0_result, 0);
  4133. }
  4134. #ifdef __clang__
  4135. #pragma clang diagnostic pop
  4136. #endif
  4137. #ifdef __clang__
  4138. #pragma clang diagnostic push
  4139. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4140. #pragma clang diagnostic ignored "-Wunused-variable"
  4141. #endif
  4142. // System.Void NativeCamera/<>c__DisplayClass20_0::.ctor()
  4143. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass20_0__ctor_mFBDEA24DAAE658B4CB10A30CA2C7BE3D5F8F8655 (U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E* __this, const RuntimeMethod* method)
  4144. {
  4145. {
  4146. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  4147. return;
  4148. }
  4149. }
  4150. // System.Void NativeCamera/<>c__DisplayClass20_0::<RequestPermissionAsync>b__0(NativeCamera/Permission)
  4151. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass20_0_U3CRequestPermissionAsyncU3Eb__0_m5DF168C3CFBC1336DC14F7F3C6B889DF554A7ED1 (U3CU3Ec__DisplayClass20_0_t503722069E2F619D174A299988A5C1F3B96FF18E* __this, int32_t ___0_permission, const RuntimeMethod* method)
  4152. {
  4153. static bool s_Il2CppMethodInitialized;
  4154. if (!s_Il2CppMethodInitialized)
  4155. {
  4156. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskCompletionSource_1_SetResult_mE3BD8B51FE6830985D8550B8E7F71C413B087604_RuntimeMethod_var);
  4157. s_Il2CppMethodInitialized = true;
  4158. }
  4159. {
  4160. // RequestPermissionAsync( ( permission ) => tcs.SetResult( permission ), isPicturePermission );
  4161. TaskCompletionSource_1_t64795F3ED695AC716712D41FC9F573ADE5F71531* L_0 = __this->___tcs_0;
  4162. int32_t L_1 = ___0_permission;
  4163. NullCheck(L_0);
  4164. TaskCompletionSource_1_SetResult_mE3BD8B51FE6830985D8550B8E7F71C413B087604(L_0, L_1, TaskCompletionSource_1_SetResult_mE3BD8B51FE6830985D8550B8E7F71C413B087604_RuntimeMethod_var);
  4165. return;
  4166. }
  4167. }
  4168. #ifdef __clang__
  4169. #pragma clang diagnostic pop
  4170. #endif
  4171. #ifdef __clang__
  4172. #pragma clang diagnostic push
  4173. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4174. #pragma clang diagnostic ignored "-Wunused-variable"
  4175. #endif
  4176. // System.Void NativeCamera/<>c__DisplayClass28_0::.ctor()
  4177. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass28_0__ctor_mF21CA894004F6525050D93D9D5332A514261D347 (U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* __this, const RuntimeMethod* method)
  4178. {
  4179. {
  4180. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  4181. return;
  4182. }
  4183. }
  4184. // System.String NativeCamera/<>c__DisplayClass28_0::<LoadImageAtPathAsync>b__0()
  4185. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* U3CU3Ec__DisplayClass28_0_U3CLoadImageAtPathAsyncU3Eb__0_m50534284F00FF8C07BABF2F72B8E9EA780CBF16E (U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* __this, const RuntimeMethod* method)
  4186. {
  4187. static bool s_Il2CppMethodInitialized;
  4188. if (!s_Il2CppMethodInitialized)
  4189. {
  4190. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  4191. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
  4192. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  4193. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDD146CE30524569A8784D1FFE34EA505C910727D);
  4194. s_Il2CppMethodInitialized = true;
  4195. }
  4196. {
  4197. // string loadPath = await TryCallNativeAndroidFunctionOnSeparateThread( () => AJC.CallStatic<string>( "LoadImageAtPath", Context, imagePath, temporaryImagePath, maxSize ) );
  4198. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_0;
  4199. L_0 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  4200. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)4);
  4201. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_2 = L_1;
  4202. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_3;
  4203. L_3 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  4204. NullCheck(L_2);
  4205. ArrayElementTypeCheck (L_2, L_3);
  4206. (L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_3);
  4207. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = L_2;
  4208. String_t* L_5 = __this->___imagePath_0;
  4209. NullCheck(L_4);
  4210. ArrayElementTypeCheck (L_4, L_5);
  4211. (L_4)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_5);
  4212. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = L_4;
  4213. String_t* L_7 = __this->___temporaryImagePath_1;
  4214. NullCheck(L_6);
  4215. ArrayElementTypeCheck (L_6, L_7);
  4216. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_7);
  4217. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_8 = L_6;
  4218. int32_t L_9 = __this->___maxSize_2;
  4219. int32_t L_10 = L_9;
  4220. RuntimeObject* L_11 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_10);
  4221. NullCheck(L_8);
  4222. ArrayElementTypeCheck (L_8, L_11);
  4223. (L_8)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_11);
  4224. NullCheck(L_0);
  4225. String_t* L_12;
  4226. L_12 = AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3(L_0, _stringLiteralDD146CE30524569A8784D1FFE34EA505C910727D, L_8, AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  4227. return L_12;
  4228. }
  4229. }
  4230. #ifdef __clang__
  4231. #pragma clang diagnostic pop
  4232. #endif
  4233. #ifdef __clang__
  4234. #pragma clang diagnostic push
  4235. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4236. #pragma clang diagnostic ignored "-Wunused-variable"
  4237. #endif
  4238. // System.Void NativeCamera/<LoadImageAtPathAsync>d__28::MoveNext()
  4239. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CLoadImageAtPathAsyncU3Ed__28_MoveNext_mDDC8FDCD0469319106B32AF4FD60D1EBF7CE804B (U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* __this, const RuntimeMethod* method)
  4240. {
  4241. static bool s_Il2CppMethodInitialized;
  4242. if (!s_Il2CppMethodInitialized)
  4243. {
  4244. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mA065D9BD25C55B7B2630CA549183C4615FF27DFC_RuntimeMethod_var);
  4245. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisYieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m56EC0B7A46A5E522CCEAB37456060C36E26CE731_RuntimeMethod_var);
  4246. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_SetResult_mAB04B95B4490AB6E1FCB475391576D15606A2688_RuntimeMethod_var);
  4247. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  4248. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C_il2cpp_TypeInfo_var);
  4249. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
  4250. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisString_t_m2AAA22C4B280E4D6C823F92ECDD3A395F62AFEEC_RuntimeMethod_var);
  4251. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4252. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
  4253. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskAwaiter_1_GetResult_m82A392802A854576DC9525B87B0053B56201ABB9_RuntimeMethod_var);
  4254. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskAwaiter_1_get_IsCompleted_mE207C5509602B0BB59366E53CED6CC9B10A1F8A8_RuntimeMethod_var);
  4255. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Task_1_GetAwaiter_m7727657658441E9D4CE9D3F8B532F9D65CB9CE1F_RuntimeMethod_var);
  4256. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572_il2cpp_TypeInfo_var);
  4257. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
  4258. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass28_0_U3CLoadImageAtPathAsyncU3Eb__0_m50534284F00FF8C07BABF2F72B8E9EA780CBF16E_RuntimeMethod_var);
  4259. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB_il2cpp_TypeInfo_var);
  4260. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA);
  4261. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A);
  4262. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42);
  4263. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral76F1B85647641622FD867CE16AF6C584C5081BD4);
  4264. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE3287997374A5B6321B447152239EBE224279EB6);
  4265. s_Il2CppMethodInitialized = true;
  4266. }
  4267. int32_t V_0 = 0;
  4268. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* V_1 = NULL;
  4269. String_t* V_2 = NULL;
  4270. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 V_3;
  4271. memset((&V_3), 0, sizeof(V_3));
  4272. YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A V_4;
  4273. memset((&V_4), 0, sizeof(V_4));
  4274. YieldAwaitable_tFEA898DB9022A953958C3CF531E1477D135D3DAB V_5;
  4275. memset((&V_5), 0, sizeof(V_5));
  4276. String_t* V_6 = NULL;
  4277. int32_t V_7 = 0;
  4278. Exception_t* V_8 = NULL;
  4279. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 2> __active_exceptions;
  4280. int32_t G_B34_0 = 0;
  4281. {
  4282. int32_t L_0 = __this->___U3CU3E1__state_0;
  4283. V_0 = L_0;
  4284. }
  4285. try
  4286. {// begin try (depth: 1)
  4287. {
  4288. int32_t L_1 = V_0;
  4289. if (!L_1)
  4290. {
  4291. goto IL_0101_1;
  4292. }
  4293. }
  4294. {
  4295. int32_t L_2 = V_0;
  4296. if ((((int32_t)L_2) == ((int32_t)1)))
  4297. {
  4298. goto IL_0154_1;
  4299. }
  4300. }
  4301. {
  4302. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_3 = (U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB_il2cpp_TypeInfo_var);
  4303. NullCheck(L_3);
  4304. U3CU3Ec__DisplayClass28_0__ctor_mF21CA894004F6525050D93D9D5332A514261D347(L_3, NULL);
  4305. __this->___U3CU3E8__1_5 = L_3;
  4306. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E8__1_5), (void*)L_3);
  4307. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_4 = __this->___U3CU3E8__1_5;
  4308. String_t* L_5 = __this->___imagePath_2;
  4309. NullCheck(L_4);
  4310. L_4->___imagePath_0 = L_5;
  4311. Il2CppCodeGenWriteBarrier((void**)(&L_4->___imagePath_0), (void*)L_5);
  4312. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_6 = __this->___U3CU3E8__1_5;
  4313. int32_t L_7 = __this->___maxSize_3;
  4314. NullCheck(L_6);
  4315. L_6->___maxSize_2 = L_7;
  4316. // if( string.IsNullOrEmpty( imagePath ) )
  4317. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_8 = __this->___U3CU3E8__1_5;
  4318. NullCheck(L_8);
  4319. String_t* L_9 = L_8->___imagePath_0;
  4320. bool L_10;
  4321. L_10 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_9, NULL);
  4322. if (!L_10)
  4323. {
  4324. goto IL_005e_1;
  4325. }
  4326. }
  4327. {
  4328. // throw new ArgumentException( "Parameter 'imagePath' is null or empty!" );
  4329. ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_11 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
  4330. NullCheck(L_11);
  4331. ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_11, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral18B82B6B7DC4FE1988BA61A3784D1768F6C925DF)), NULL);
  4332. IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CLoadImageAtPathAsyncU3Ed__28_MoveNext_mDDC8FDCD0469319106B32AF4FD60D1EBF7CE804B_RuntimeMethod_var)));
  4333. }
  4334. IL_005e_1:
  4335. {
  4336. // if( !File.Exists( imagePath ) )
  4337. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_12 = __this->___U3CU3E8__1_5;
  4338. NullCheck(L_12);
  4339. String_t* L_13 = L_12->___imagePath_0;
  4340. bool L_14;
  4341. L_14 = File_Exists_m95E329ABBE3EAD6750FE1989BBA6884457136D4A(L_13, NULL);
  4342. if (L_14)
  4343. {
  4344. goto IL_008b_1;
  4345. }
  4346. }
  4347. {
  4348. // throw new FileNotFoundException( "File not found at " + imagePath );
  4349. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_15 = __this->___U3CU3E8__1_5;
  4350. NullCheck(L_15);
  4351. String_t* L_16 = L_15->___imagePath_0;
  4352. String_t* L_17;
  4353. L_17 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral491B4D9271839F0BD63211437BF7CEE5B2C6ADE9)), L_16, NULL);
  4354. FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A* L_18 = (FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&FileNotFoundException_t17F1B49AD996E4A60C87C7ADC9D3A25EB5808A9A_il2cpp_TypeInfo_var)));
  4355. NullCheck(L_18);
  4356. FileNotFoundException__ctor_mA8C9C93DB8C5B96D6B5E59B2AE07154F265FB1A1(L_18, L_17, NULL);
  4357. IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CLoadImageAtPathAsyncU3Ed__28_MoveNext_mDDC8FDCD0469319106B32AF4FD60D1EBF7CE804B_RuntimeMethod_var)));
  4358. }
  4359. IL_008b_1:
  4360. {
  4361. // if( maxSize <= 0 )
  4362. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_19 = __this->___U3CU3E8__1_5;
  4363. NullCheck(L_19);
  4364. int32_t L_20 = L_19->___maxSize_2;
  4365. if ((((int32_t)L_20) > ((int32_t)0)))
  4366. {
  4367. goto IL_00a9_1;
  4368. }
  4369. }
  4370. {
  4371. // maxSize = SystemInfo.maxTextureSize;
  4372. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_21 = __this->___U3CU3E8__1_5;
  4373. int32_t L_22;
  4374. L_22 = SystemInfo_get_maxTextureSize_mEE557C09643222591C6F4D3F561D7A60CD403991(NULL);
  4375. NullCheck(L_21);
  4376. L_21->___maxSize_2 = L_22;
  4377. }
  4378. IL_00a9_1:
  4379. {
  4380. // string temporaryImagePath = TemporaryImagePath; // Must be accessed from main thread
  4381. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_23 = __this->___U3CU3E8__1_5;
  4382. String_t* L_24;
  4383. L_24 = NativeCamera_get_TemporaryImagePath_m8697D60DFA6387A8227ABEE74C34C46FDC14E027(NULL);
  4384. NullCheck(L_23);
  4385. L_23->___temporaryImagePath_1 = L_24;
  4386. Il2CppCodeGenWriteBarrier((void**)(&L_23->___temporaryImagePath_1), (void*)L_24);
  4387. // string loadPath = await TryCallNativeAndroidFunctionOnSeparateThread( () => AJC.CallStatic<string>( "LoadImageAtPath", Context, imagePath, temporaryImagePath, maxSize ) );
  4388. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_25 = __this->___U3CU3E8__1_5;
  4389. Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C* L_26 = (Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C*)il2cpp_codegen_object_new(Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C_il2cpp_TypeInfo_var);
  4390. NullCheck(L_26);
  4391. Func_1__ctor_m27A68E928C1D9158EAAD261086B9BC424339327B(L_26, L_25, (intptr_t)((void*)U3CU3Ec__DisplayClass28_0_U3CLoadImageAtPathAsyncU3Eb__0_m50534284F00FF8C07BABF2F72B8E9EA780CBF16E_RuntimeMethod_var), NULL);
  4392. Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0* L_27;
  4393. L_27 = NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisString_t_m2AAA22C4B280E4D6C823F92ECDD3A395F62AFEEC(L_26, NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisString_t_m2AAA22C4B280E4D6C823F92ECDD3A395F62AFEEC_RuntimeMethod_var);
  4394. NullCheck(L_27);
  4395. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 L_28;
  4396. L_28 = Task_1_GetAwaiter_m7727657658441E9D4CE9D3F8B532F9D65CB9CE1F(L_27, Task_1_GetAwaiter_m7727657658441E9D4CE9D3F8B532F9D65CB9CE1F_RuntimeMethod_var);
  4397. V_3 = L_28;
  4398. bool L_29;
  4399. L_29 = TaskAwaiter_1_get_IsCompleted_mE207C5509602B0BB59366E53CED6CC9B10A1F8A8((&V_3), TaskAwaiter_1_get_IsCompleted_mE207C5509602B0BB59366E53CED6CC9B10A1F8A8_RuntimeMethod_var);
  4400. if (L_29)
  4401. {
  4402. goto IL_011d_1;
  4403. }
  4404. }
  4405. {
  4406. int32_t L_30 = 0;
  4407. V_0 = L_30;
  4408. __this->___U3CU3E1__state_0 = L_30;
  4409. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 L_31 = V_3;
  4410. __this->___U3CU3Eu__1_8 = L_31;
  4411. Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3Eu__1_8))->___m_task_0), (void*)NULL);
  4412. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_32 = (&__this->___U3CU3Et__builder_1);
  4413. AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mA065D9BD25C55B7B2630CA549183C4615FF27DFC(L_32, (&V_3), __this, AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_mA065D9BD25C55B7B2630CA549183C4615FF27DFC_RuntimeMethod_var);
  4414. goto IL_037e;
  4415. }
  4416. IL_0101_1:
  4417. {
  4418. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 L_33 = __this->___U3CU3Eu__1_8;
  4419. V_3 = L_33;
  4420. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6* L_34 = (&__this->___U3CU3Eu__1_8);
  4421. il2cpp_codegen_initobj(L_34, sizeof(TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6));
  4422. int32_t L_35 = (-1);
  4423. V_0 = L_35;
  4424. __this->___U3CU3E1__state_0 = L_35;
  4425. }
  4426. IL_011d_1:
  4427. {
  4428. String_t* L_36;
  4429. L_36 = TaskAwaiter_1_GetResult_m82A392802A854576DC9525B87B0053B56201ABB9((&V_3), TaskAwaiter_1_GetResult_m82A392802A854576DC9525B87B0053B56201ABB9_RuntimeMethod_var);
  4430. V_2 = L_36;
  4431. String_t* L_37 = V_2;
  4432. __this->___U3CloadPathU3E5__2_6 = L_37;
  4433. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CloadPathU3E5__2_6), (void*)L_37);
  4434. // Texture2D result = null;
  4435. __this->___U3CresultU3E5__3_7 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
  4436. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CresultU3E5__3_7), (void*)(Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL);
  4437. // using( UnityWebRequest www = UnityWebRequestTexture.GetTexture( "file://" + loadPath, markTextureNonReadable ) )
  4438. String_t* L_38 = __this->___U3CloadPathU3E5__2_6;
  4439. String_t* L_39;
  4440. L_39 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA, L_38, NULL);
  4441. bool L_40 = __this->___markTextureNonReadable_4;
  4442. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_41;
  4443. L_41 = UnityWebRequestTexture_GetTexture_m45F855106C834021AC0DFA25FE31BA14C42693CA(L_39, L_40, NULL);
  4444. __this->___U3CwwwU3E5__4_9 = L_41;
  4445. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CwwwU3E5__4_9), (void*)L_41);
  4446. }
  4447. IL_0154_1:
  4448. {
  4449. }
  4450. {
  4451. auto __finallyBlock = il2cpp::utils::Finally([&]
  4452. {
  4453. FINALLY_021e_1:
  4454. {// begin finally (depth: 2)
  4455. {
  4456. int32_t L_42 = V_0;
  4457. if ((((int32_t)L_42) >= ((int32_t)0)))
  4458. {
  4459. goto IL_0235_1;
  4460. }
  4461. }
  4462. {
  4463. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_43 = __this->___U3CwwwU3E5__4_9;
  4464. if (!L_43)
  4465. {
  4466. goto IL_0235_1;
  4467. }
  4468. }
  4469. {
  4470. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_44 = __this->___U3CwwwU3E5__4_9;
  4471. NullCheck(L_44);
  4472. InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_44);
  4473. }
  4474. IL_0235_1:
  4475. {
  4476. return;
  4477. }
  4478. }// end finally (depth: 2)
  4479. });
  4480. try
  4481. {// begin try (depth: 2)
  4482. {
  4483. int32_t L_45 = V_0;
  4484. if ((((int32_t)L_45) == ((int32_t)1)))
  4485. {
  4486. goto IL_01a9_2;
  4487. }
  4488. }
  4489. {
  4490. // UnityWebRequestAsyncOperation asyncOperation = www.SendWebRequest();
  4491. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_46 = __this->___U3CwwwU3E5__4_9;
  4492. NullCheck(L_46);
  4493. UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C* L_47;
  4494. L_47 = UnityWebRequest_SendWebRequest_mA3CD13983BAA5074A0640EDD661B1E46E6DB6C13(L_46, NULL);
  4495. __this->___U3CasyncOperationU3E5__5_10 = L_47;
  4496. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CasyncOperationU3E5__5_10), (void*)L_47);
  4497. goto IL_01cd_2;
  4498. }
  4499. IL_016c_2:
  4500. {
  4501. // await Task.Yield();
  4502. il2cpp_codegen_runtime_class_init_inline(Task_t751C4CC3ECD055BABA8A0B6A5DFBB4283DCA8572_il2cpp_TypeInfo_var);
  4503. YieldAwaitable_tFEA898DB9022A953958C3CF531E1477D135D3DAB L_48;
  4504. L_48 = Task_Yield_m27EE257EF53788244C5B2E874C514C24C693F9B1(NULL);
  4505. V_5 = L_48;
  4506. YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A L_49;
  4507. L_49 = YieldAwaitable_GetAwaiter_m359A05B8C1B9F3F1E9CAE29AD231C0987718DE5E((&V_5), NULL);
  4508. V_4 = L_49;
  4509. bool L_50;
  4510. L_50 = YieldAwaiter_get_IsCompleted_m783B6E67654FDBF490A65AC59972AF6B985A9286((&V_4), NULL);
  4511. if (L_50)
  4512. {
  4513. goto IL_01c6_2;
  4514. }
  4515. }
  4516. {
  4517. int32_t L_51 = 1;
  4518. V_0 = L_51;
  4519. __this->___U3CU3E1__state_0 = L_51;
  4520. YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A L_52 = V_4;
  4521. __this->___U3CU3Eu__2_11 = L_52;
  4522. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_53 = (&__this->___U3CU3Et__builder_1);
  4523. AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisYieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m56EC0B7A46A5E522CCEAB37456060C36E26CE731(L_53, (&V_4), __this, AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisYieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A_TisU3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9_m56EC0B7A46A5E522CCEAB37456060C36E26CE731_RuntimeMethod_var);
  4524. goto IL_037e;
  4525. }
  4526. IL_01a9_2:
  4527. {
  4528. YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A L_54 = __this->___U3CU3Eu__2_11;
  4529. V_4 = L_54;
  4530. YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A* L_55 = (&__this->___U3CU3Eu__2_11);
  4531. il2cpp_codegen_initobj(L_55, sizeof(YieldAwaiter_t5F0A81DC85227C01FFC38D53139B5C19D920B52A));
  4532. int32_t L_56 = (-1);
  4533. V_0 = L_56;
  4534. __this->___U3CU3E1__state_0 = L_56;
  4535. }
  4536. IL_01c6_2:
  4537. {
  4538. YieldAwaiter_GetResult_m83C9B35D4BBEB09AC5B560912436454D69794F07((&V_4), NULL);
  4539. }
  4540. IL_01cd_2:
  4541. {
  4542. // while( !asyncOperation.isDone )
  4543. UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C* L_57 = __this->___U3CasyncOperationU3E5__5_10;
  4544. NullCheck(L_57);
  4545. bool L_58;
  4546. L_58 = AsyncOperation_get_isDone_m68A0682777E2132FC033182E9F50303566AA354D(L_57, NULL);
  4547. if (!L_58)
  4548. {
  4549. goto IL_016c_2;
  4550. }
  4551. }
  4552. {
  4553. // if( www.result != UnityWebRequest.Result.Success )
  4554. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_59 = __this->___U3CwwwU3E5__4_9;
  4555. NullCheck(L_59);
  4556. int32_t L_60;
  4557. L_60 = UnityWebRequest_get_result_mEF83848C5FCFB5E307CE4B57E42BF02FC9AED449(L_59, NULL);
  4558. if ((((int32_t)L_60) == ((int32_t)1)))
  4559. {
  4560. goto IL_0204_2;
  4561. }
  4562. }
  4563. {
  4564. // Debug.LogWarning( "Couldn't use UnityWebRequest to load image, falling back to LoadImage: " + www.error );
  4565. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_61 = __this->___U3CwwwU3E5__4_9;
  4566. NullCheck(L_61);
  4567. String_t* L_62;
  4568. L_62 = UnityWebRequest_get_error_m20A5D813ED59118B7AA1D1E2EB5250178B1F5B6F(L_61, NULL);
  4569. String_t* L_63;
  4570. L_63 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteralE3287997374A5B6321B447152239EBE224279EB6, L_62, NULL);
  4571. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  4572. Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(L_63, NULL);
  4573. goto IL_0215_2;
  4574. }
  4575. IL_0204_2:
  4576. {
  4577. // result = DownloadHandlerTexture.GetContent( www );
  4578. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_64 = __this->___U3CwwwU3E5__4_9;
  4579. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_65;
  4580. L_65 = DownloadHandlerTexture_GetContent_m86BC88F58305A1B21C21CE7D82658197932EFB18(L_64, NULL);
  4581. __this->___U3CresultU3E5__3_7 = L_65;
  4582. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CresultU3E5__3_7), (void*)L_65);
  4583. }
  4584. IL_0215_2:
  4585. {
  4586. // }
  4587. __this->___U3CasyncOperationU3E5__5_10 = (UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C*)NULL;
  4588. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CasyncOperationU3E5__5_10), (void*)(UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C*)NULL);
  4589. goto IL_0236_1;
  4590. }
  4591. }// end try (depth: 2)
  4592. catch(Il2CppExceptionWrapper& e)
  4593. {
  4594. __finallyBlock.StoreException(e.ex);
  4595. }
  4596. }
  4597. IL_0236_1:
  4598. {
  4599. __this->___U3CwwwU3E5__4_9 = (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*)NULL;
  4600. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CwwwU3E5__4_9), (void*)(UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*)NULL);
  4601. // if( !result ) // Fallback to Texture2D.LoadImage if something goes wrong
  4602. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_66 = __this->___U3CresultU3E5__3_7;
  4603. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4604. bool L_67;
  4605. L_67 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_66, NULL);
  4606. if (L_67)
  4607. {
  4608. goto IL_031e_1;
  4609. }
  4610. }
  4611. {
  4612. // string extension = Path.GetExtension( imagePath ).ToLowerInvariant();
  4613. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_68 = __this->___U3CU3E8__1_5;
  4614. NullCheck(L_68);
  4615. String_t* L_69 = L_68->___imagePath_0;
  4616. il2cpp_codegen_runtime_class_init_inline(Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
  4617. String_t* L_70;
  4618. L_70 = Path_GetExtension_m6FEAA9E14451BFD210B9D1AEC2430C813F570FE5(L_69, NULL);
  4619. NullCheck(L_70);
  4620. String_t* L_71;
  4621. L_71 = String_ToLowerInvariant_mBE32C93DE27C5353FEA3FA654FC1DDBE3D0EB0F2(L_70, NULL);
  4622. V_6 = L_71;
  4623. // TextureFormat format = ( extension == ".jpg" || extension == ".jpeg" ) ? TextureFormat.RGB24 : TextureFormat.RGBA32;
  4624. String_t* L_72 = V_6;
  4625. bool L_73;
  4626. L_73 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_72, _stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A, NULL);
  4627. if (L_73)
  4628. {
  4629. goto IL_0283_1;
  4630. }
  4631. }
  4632. {
  4633. String_t* L_74 = V_6;
  4634. bool L_75;
  4635. L_75 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_74, _stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42, NULL);
  4636. if (L_75)
  4637. {
  4638. goto IL_0283_1;
  4639. }
  4640. }
  4641. {
  4642. G_B34_0 = 4;
  4643. goto IL_0284_1;
  4644. }
  4645. IL_0283_1:
  4646. {
  4647. G_B34_0 = 3;
  4648. }
  4649. IL_0284_1:
  4650. {
  4651. V_7 = G_B34_0;
  4652. // result = new Texture2D( 2, 2, format, true, false );
  4653. int32_t L_76 = V_7;
  4654. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_77 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)il2cpp_codegen_object_new(Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
  4655. NullCheck(L_77);
  4656. Texture2D__ctor_mC3F84195D1DCEFC0536B3FBD40A8F8E865A4F32A(L_77, 2, 2, L_76, (bool)1, (bool)0, NULL);
  4657. __this->___U3CresultU3E5__3_7 = L_77;
  4658. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CresultU3E5__3_7), (void*)L_77);
  4659. }
  4660. {
  4661. auto __finallyBlock = il2cpp::utils::Finally([&]
  4662. {
  4663. FINALLY_02f1_1:
  4664. {// begin finally (depth: 2)
  4665. {
  4666. int32_t L_78 = V_0;
  4667. if ((((int32_t)L_78) >= ((int32_t)0)))
  4668. {
  4669. goto IL_031d_1;
  4670. }
  4671. }
  4672. {
  4673. // if( loadPath != imagePath )
  4674. String_t* L_79 = __this->___U3CloadPathU3E5__2_6;
  4675. U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB* L_80 = __this->___U3CU3E8__1_5;
  4676. NullCheck(L_80);
  4677. String_t* L_81 = L_80->___imagePath_0;
  4678. bool L_82;
  4679. L_82 = String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6(L_79, L_81, NULL);
  4680. if (!L_82)
  4681. {
  4682. goto IL_031d_1;
  4683. }
  4684. }
  4685. try
  4686. {// begin try (depth: 3)
  4687. // File.Delete( loadPath );
  4688. String_t* L_83 = __this->___U3CloadPathU3E5__2_6;
  4689. File_Delete_mE29829DA504F3E1B8BCB78F21E2862C9ED7EC386(L_83, NULL);
  4690. // }
  4691. goto IL_031d_1;
  4692. }// end try (depth: 3)
  4693. catch(Il2CppExceptionWrapper& e)
  4694. {
  4695. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  4696. {
  4697. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  4698. goto CATCH_031a_1;
  4699. }
  4700. throw e;
  4701. }
  4702. CATCH_031a_1:
  4703. {// begin catch(System.Object)
  4704. // catch { }
  4705. // catch { }
  4706. IL2CPP_POP_ACTIVE_EXCEPTION();
  4707. goto IL_031d_1;
  4708. }// end catch (depth: 3)
  4709. IL_031d_1:
  4710. {
  4711. return;
  4712. }
  4713. }// end finally (depth: 2)
  4714. });
  4715. try
  4716. {// begin try (depth: 2)
  4717. try
  4718. {// begin try (depth: 3)
  4719. {
  4720. // if( !result.LoadImage( File.ReadAllBytes( loadPath ), markTextureNonReadable ) )
  4721. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_84 = __this->___U3CresultU3E5__3_7;
  4722. String_t* L_85 = __this->___U3CloadPathU3E5__2_6;
  4723. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_86;
  4724. L_86 = File_ReadAllBytes_m704CBBA3F130C94F5A3E0BE2A93D9E9D79DC3E24(L_85, NULL);
  4725. bool L_87 = __this->___markTextureNonReadable_4;
  4726. bool L_88;
  4727. L_88 = ImageConversion_LoadImage_m292ADCEED268A0A0AAD532BAB8D1710CF0FC8AEF(L_84, L_86, L_87, NULL);
  4728. if (L_88)
  4729. {
  4730. goto IL_02d9_3;
  4731. }
  4732. }
  4733. {
  4734. // Debug.LogWarning( "Couldn't load image at path: " + loadPath );
  4735. String_t* L_89 = __this->___U3CloadPathU3E5__2_6;
  4736. String_t* L_90;
  4737. L_90 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral76F1B85647641622FD867CE16AF6C584C5081BD4, L_89, NULL);
  4738. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  4739. Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(L_90, NULL);
  4740. // Object.DestroyImmediate( result );
  4741. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_91 = __this->___U3CresultU3E5__3_7;
  4742. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  4743. Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705(L_91, NULL);
  4744. // return null;
  4745. V_1 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
  4746. goto IL_0355;
  4747. }
  4748. IL_02d9_3:
  4749. {
  4750. // }
  4751. goto IL_02ef_2;
  4752. }
  4753. }// end try (depth: 3)
  4754. catch(Il2CppExceptionWrapper& e)
  4755. {
  4756. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  4757. {
  4758. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  4759. goto CATCH_02db_2;
  4760. }
  4761. throw e;
  4762. }
  4763. CATCH_02db_2:
  4764. {// begin catch(System.Exception)
  4765. // Debug.LogException( e );
  4766. il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var)));
  4767. Debug_LogException_mAB3F4DC7297ED8FBB49DAA718B70E59A6B0171B0(((Exception_t*)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t*)), NULL);
  4768. // Object.DestroyImmediate( result );
  4769. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_92 = __this->___U3CresultU3E5__3_7;
  4770. il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var)));
  4771. Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705(L_92, NULL);
  4772. // return null;
  4773. V_1 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
  4774. IL2CPP_POP_ACTIVE_EXCEPTION();
  4775. goto IL_0355;
  4776. }// end catch (depth: 3)
  4777. IL_02ef_2:
  4778. {
  4779. goto IL_031e_1;
  4780. }
  4781. }// end try (depth: 2)
  4782. catch(Il2CppExceptionWrapper& e)
  4783. {
  4784. __finallyBlock.StoreException(e.ex);
  4785. }
  4786. }
  4787. IL_031e_1:
  4788. {
  4789. // return result;
  4790. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_93 = __this->___U3CresultU3E5__3_7;
  4791. V_1 = L_93;
  4792. goto IL_0355;
  4793. }
  4794. }// end try (depth: 1)
  4795. catch(Il2CppExceptionWrapper& e)
  4796. {
  4797. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  4798. {
  4799. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  4800. goto CATCH_0327;
  4801. }
  4802. throw e;
  4803. }
  4804. CATCH_0327:
  4805. {// begin catch(System.Exception)
  4806. V_8 = ((Exception_t*)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t*));
  4807. __this->___U3CU3E1__state_0 = ((int32_t)-2);
  4808. __this->___U3CU3E8__1_5 = (U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB*)NULL;
  4809. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E8__1_5), (void*)(U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB*)NULL);
  4810. __this->___U3CloadPathU3E5__2_6 = (String_t*)NULL;
  4811. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CloadPathU3E5__2_6), (void*)(String_t*)NULL);
  4812. __this->___U3CresultU3E5__3_7 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
  4813. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CresultU3E5__3_7), (void*)(Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL);
  4814. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_94 = (&__this->___U3CU3Et__builder_1);
  4815. Exception_t* L_95 = V_8;
  4816. AsyncTaskMethodBuilder_1_SetException_m1697D9F7BF9D11383EDE12CEE54A18AC24A7786B(L_94, L_95, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&AsyncTaskMethodBuilder_1_SetException_m1697D9F7BF9D11383EDE12CEE54A18AC24A7786B_RuntimeMethod_var)));
  4817. IL2CPP_POP_ACTIVE_EXCEPTION();
  4818. goto IL_037e;
  4819. }// end catch (depth: 1)
  4820. IL_0355:
  4821. {
  4822. // }
  4823. __this->___U3CU3E1__state_0 = ((int32_t)-2);
  4824. __this->___U3CU3E8__1_5 = (U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB*)NULL;
  4825. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E8__1_5), (void*)(U3CU3Ec__DisplayClass28_0_tDD86543B59AF0A67FEC563A522F809F8C9492FCB*)NULL);
  4826. __this->___U3CloadPathU3E5__2_6 = (String_t*)NULL;
  4827. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CloadPathU3E5__2_6), (void*)(String_t*)NULL);
  4828. __this->___U3CresultU3E5__3_7 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
  4829. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CresultU3E5__3_7), (void*)(Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL);
  4830. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_96 = (&__this->___U3CU3Et__builder_1);
  4831. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_97 = V_1;
  4832. AsyncTaskMethodBuilder_1_SetResult_mAB04B95B4490AB6E1FCB475391576D15606A2688(L_96, L_97, AsyncTaskMethodBuilder_1_SetResult_mAB04B95B4490AB6E1FCB475391576D15606A2688_RuntimeMethod_var);
  4833. }
  4834. IL_037e:
  4835. {
  4836. return;
  4837. }
  4838. }
  4839. IL2CPP_EXTERN_C void U3CLoadImageAtPathAsyncU3Ed__28_MoveNext_mDDC8FDCD0469319106B32AF4FD60D1EBF7CE804B_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
  4840. {
  4841. U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* _thisAdjusted;
  4842. int32_t _offset = 1;
  4843. _thisAdjusted = reinterpret_cast<U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9*>(__this + _offset);
  4844. U3CLoadImageAtPathAsyncU3Ed__28_MoveNext_mDDC8FDCD0469319106B32AF4FD60D1EBF7CE804B(_thisAdjusted, method);
  4845. }
  4846. // System.Void NativeCamera/<LoadImageAtPathAsync>d__28::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)
  4847. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CLoadImageAtPathAsyncU3Ed__28_SetStateMachine_mCC03A217715E97CF709DD6F9646EE16946B331B1 (U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* __this, RuntimeObject* ___0_stateMachine, const RuntimeMethod* method)
  4848. {
  4849. static bool s_Il2CppMethodInitialized;
  4850. if (!s_Il2CppMethodInitialized)
  4851. {
  4852. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_SetStateMachine_m0ECA1B3B604CFFB8A5DE544E2A0A0025BFE6B6FD_RuntimeMethod_var);
  4853. s_Il2CppMethodInitialized = true;
  4854. }
  4855. {
  4856. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_0 = (&__this->___U3CU3Et__builder_1);
  4857. RuntimeObject* L_1 = ___0_stateMachine;
  4858. AsyncTaskMethodBuilder_1_SetStateMachine_m0ECA1B3B604CFFB8A5DE544E2A0A0025BFE6B6FD(L_0, L_1, AsyncTaskMethodBuilder_1_SetStateMachine_m0ECA1B3B604CFFB8A5DE544E2A0A0025BFE6B6FD_RuntimeMethod_var);
  4859. return;
  4860. }
  4861. }
  4862. IL2CPP_EXTERN_C void U3CLoadImageAtPathAsyncU3Ed__28_SetStateMachine_mCC03A217715E97CF709DD6F9646EE16946B331B1_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_stateMachine, const RuntimeMethod* method)
  4863. {
  4864. U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9* _thisAdjusted;
  4865. int32_t _offset = 1;
  4866. _thisAdjusted = reinterpret_cast<U3CLoadImageAtPathAsyncU3Ed__28_t75F66238DD26F927D10159C0541013DEC4979AD9*>(__this + _offset);
  4867. U3CLoadImageAtPathAsyncU3Ed__28_SetStateMachine_mCC03A217715E97CF709DD6F9646EE16946B331B1(_thisAdjusted, ___0_stateMachine, method);
  4868. }
  4869. #ifdef __clang__
  4870. #pragma clang diagnostic pop
  4871. #endif
  4872. #ifdef __clang__
  4873. #pragma clang diagnostic push
  4874. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4875. #pragma clang diagnostic ignored "-Wunused-variable"
  4876. #endif
  4877. // System.Void NativeCamera/<>c__DisplayClass30_0::.ctor()
  4878. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass30_0__ctor_m1FE9FD5C2A2C59BAB3B1BD833EE7F70A5D49DACE (U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* __this, const RuntimeMethod* method)
  4879. {
  4880. {
  4881. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  4882. return;
  4883. }
  4884. }
  4885. // System.String NativeCamera/<>c__DisplayClass30_0::<GetVideoThumbnailAsync>b__0()
  4886. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* U3CU3Ec__DisplayClass30_0_U3CGetVideoThumbnailAsyncU3Eb__0_m5DAF2A26314559841D948DC75B130034596DF868 (U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* __this, const RuntimeMethod* method)
  4887. {
  4888. static bool s_Il2CppMethodInitialized;
  4889. if (!s_Il2CppMethodInitialized)
  4890. {
  4891. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  4892. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var);
  4893. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F_il2cpp_TypeInfo_var);
  4894. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var);
  4895. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
  4896. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5D67C2D23D0E67BA40CD70B037A9F218807BB46F);
  4897. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26);
  4898. s_Il2CppMethodInitialized = true;
  4899. }
  4900. {
  4901. // string thumbnailPath = await TryCallNativeAndroidFunctionOnSeparateThread( () => AJC.CallStatic<string>( "GetVideoThumbnail", Context, videoPath, temporaryImagePath + ".png", false, maxSize, captureTimeInSeconds ) );
  4902. AndroidJavaClass_tE6296B30CC4BF84434A9B765267F3FD0DD8DDB03* L_0;
  4903. L_0 = NativeCamera_get_AJC_m06EF6C7725A276AC3F2639007C713591FE194E5E(NULL);
  4904. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)6);
  4905. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_2 = L_1;
  4906. AndroidJavaObject_t8FFB930F335C1178405B82AC2BF512BB1EEF9EB0* L_3;
  4907. L_3 = NativeCamera_get_Context_m4851E6BDFBF25FC16C4B48CE8F966336BE0BADFD(NULL);
  4908. NullCheck(L_2);
  4909. ArrayElementTypeCheck (L_2, L_3);
  4910. (L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_3);
  4911. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = L_2;
  4912. String_t* L_5 = __this->___videoPath_0;
  4913. NullCheck(L_4);
  4914. ArrayElementTypeCheck (L_4, L_5);
  4915. (L_4)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_5);
  4916. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = L_4;
  4917. String_t* L_7 = __this->___temporaryImagePath_1;
  4918. String_t* L_8;
  4919. L_8 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_7, _stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26, NULL);
  4920. NullCheck(L_6);
  4921. ArrayElementTypeCheck (L_6, L_8);
  4922. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_8);
  4923. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_9 = L_6;
  4924. bool L_10 = ((bool)0);
  4925. RuntimeObject* L_11 = Box(Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_il2cpp_TypeInfo_var, &L_10);
  4926. NullCheck(L_9);
  4927. ArrayElementTypeCheck (L_9, L_11);
  4928. (L_9)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_11);
  4929. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_12 = L_9;
  4930. int32_t L_13 = __this->___maxSize_2;
  4931. int32_t L_14 = L_13;
  4932. RuntimeObject* L_15 = Box(Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_il2cpp_TypeInfo_var, &L_14);
  4933. NullCheck(L_12);
  4934. ArrayElementTypeCheck (L_12, L_15);
  4935. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject*)L_15);
  4936. ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_16 = L_12;
  4937. double L_17 = __this->___captureTimeInSeconds_3;
  4938. double L_18 = L_17;
  4939. RuntimeObject* L_19 = Box(Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F_il2cpp_TypeInfo_var, &L_18);
  4940. NullCheck(L_16);
  4941. ArrayElementTypeCheck (L_16, L_19);
  4942. (L_16)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject*)L_19);
  4943. NullCheck(L_0);
  4944. String_t* L_20;
  4945. L_20 = AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3(L_0, _stringLiteral5D67C2D23D0E67BA40CD70B037A9F218807BB46F, L_16, AndroidJavaObject_CallStatic_TisString_t_mB5DC41208BD7C326A089C20F4F1C2B8B2444ACC3_RuntimeMethod_var);
  4946. return L_20;
  4947. }
  4948. }
  4949. #ifdef __clang__
  4950. #pragma clang diagnostic pop
  4951. #endif
  4952. #ifdef __clang__
  4953. #pragma clang diagnostic push
  4954. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  4955. #pragma clang diagnostic ignored "-Wunused-variable"
  4956. #endif
  4957. // System.Void NativeCamera/<GetVideoThumbnailAsync>d__30::MoveNext()
  4958. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CGetVideoThumbnailAsyncU3Ed__30_MoveNext_mDBB890CADFAADFBF703E0257D74428E64FE6FDA6 (U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* __this, const RuntimeMethod* method)
  4959. {
  4960. static bool s_Il2CppMethodInitialized;
  4961. if (!s_Il2CppMethodInitialized)
  4962. {
  4963. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m4B4C82CEEADEF9B96CFD0819E9DA9DC931389FE4_RuntimeMethod_var);
  4964. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m850BD17D7C2BD7A37C5B5261B69E44A451533191_RuntimeMethod_var);
  4965. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_SetResult_mAB04B95B4490AB6E1FCB475391576D15606A2688_RuntimeMethod_var);
  4966. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C_il2cpp_TypeInfo_var);
  4967. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisString_t_m2AAA22C4B280E4D6C823F92ECDD3A395F62AFEEC_RuntimeMethod_var);
  4968. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskAwaiter_1_GetResult_m82A392802A854576DC9525B87B0053B56201ABB9_RuntimeMethod_var);
  4969. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskAwaiter_1_GetResult_mE4B8867B0D8DAA1317AD64FE09FBD26E825A654C_RuntimeMethod_var);
  4970. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskAwaiter_1_get_IsCompleted_m77FF413EE49A5859C0BC111104448D64F3C01911_RuntimeMethod_var);
  4971. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TaskAwaiter_1_get_IsCompleted_mE207C5509602B0BB59366E53CED6CC9B10A1F8A8_RuntimeMethod_var);
  4972. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Task_1_GetAwaiter_m7727657658441E9D4CE9D3F8B532F9D65CB9CE1F_RuntimeMethod_var);
  4973. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Task_1_GetAwaiter_m88AFED53B032F7EDDB6F9746699970B9FFFC992C_RuntimeMethod_var);
  4974. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass30_0_U3CGetVideoThumbnailAsyncU3Eb__0_m5DAF2A26314559841D948DC75B130034596DF868_RuntimeMethod_var);
  4975. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A_il2cpp_TypeInfo_var);
  4976. s_Il2CppMethodInitialized = true;
  4977. }
  4978. int32_t V_0 = 0;
  4979. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* V_1 = NULL;
  4980. String_t* V_2 = NULL;
  4981. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 V_3;
  4982. memset((&V_3), 0, sizeof(V_3));
  4983. TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B V_4;
  4984. memset((&V_4), 0, sizeof(V_4));
  4985. Exception_t* V_5 = NULL;
  4986. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  4987. {
  4988. int32_t L_0 = __this->___U3CU3E1__state_0;
  4989. V_0 = L_0;
  4990. }
  4991. try
  4992. {// begin try (depth: 1)
  4993. {
  4994. int32_t L_1 = V_0;
  4995. if (!L_1)
  4996. {
  4997. goto IL_00c8_1;
  4998. }
  4999. }
  5000. {
  5001. int32_t L_2 = V_0;
  5002. if ((((int32_t)L_2) == ((int32_t)1)))
  5003. {
  5004. goto IL_013c_1;
  5005. }
  5006. }
  5007. {
  5008. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* L_3 = (U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A_il2cpp_TypeInfo_var);
  5009. NullCheck(L_3);
  5010. U3CU3Ec__DisplayClass30_0__ctor_m1FE9FD5C2A2C59BAB3B1BD833EE7F70A5D49DACE(L_3, NULL);
  5011. __this->___U3CU3E8__1_5 = L_3;
  5012. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E8__1_5), (void*)L_3);
  5013. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* L_4 = __this->___U3CU3E8__1_5;
  5014. String_t* L_5 = __this->___videoPath_2;
  5015. NullCheck(L_4);
  5016. L_4->___videoPath_0 = L_5;
  5017. Il2CppCodeGenWriteBarrier((void**)(&L_4->___videoPath_0), (void*)L_5);
  5018. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* L_6 = __this->___U3CU3E8__1_5;
  5019. int32_t L_7 = __this->___maxSize_3;
  5020. NullCheck(L_6);
  5021. L_6->___maxSize_2 = L_7;
  5022. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* L_8 = __this->___U3CU3E8__1_5;
  5023. double L_9 = __this->___captureTimeInSeconds_4;
  5024. NullCheck(L_8);
  5025. L_8->___captureTimeInSeconds_3 = L_9;
  5026. // if( maxSize <= 0 )
  5027. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* L_10 = __this->___U3CU3E8__1_5;
  5028. NullCheck(L_10);
  5029. int32_t L_11 = L_10->___maxSize_2;
  5030. if ((((int32_t)L_11) > ((int32_t)0)))
  5031. {
  5032. goto IL_0070_1;
  5033. }
  5034. }
  5035. {
  5036. // maxSize = SystemInfo.maxTextureSize;
  5037. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* L_12 = __this->___U3CU3E8__1_5;
  5038. int32_t L_13;
  5039. L_13 = SystemInfo_get_maxTextureSize_mEE557C09643222591C6F4D3F561D7A60CD403991(NULL);
  5040. NullCheck(L_12);
  5041. L_12->___maxSize_2 = L_13;
  5042. }
  5043. IL_0070_1:
  5044. {
  5045. // string temporaryImagePath = TemporaryImagePath; // Must be accessed from main thread
  5046. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* L_14 = __this->___U3CU3E8__1_5;
  5047. String_t* L_15;
  5048. L_15 = NativeCamera_get_TemporaryImagePath_m8697D60DFA6387A8227ABEE74C34C46FDC14E027(NULL);
  5049. NullCheck(L_14);
  5050. L_14->___temporaryImagePath_1 = L_15;
  5051. Il2CppCodeGenWriteBarrier((void**)(&L_14->___temporaryImagePath_1), (void*)L_15);
  5052. // string thumbnailPath = await TryCallNativeAndroidFunctionOnSeparateThread( () => AJC.CallStatic<string>( "GetVideoThumbnail", Context, videoPath, temporaryImagePath + ".png", false, maxSize, captureTimeInSeconds ) );
  5053. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* L_16 = __this->___U3CU3E8__1_5;
  5054. Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C* L_17 = (Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C*)il2cpp_codegen_object_new(Func_1_t367387BB2C476D3F32DB12161B5FDC128DC3231C_il2cpp_TypeInfo_var);
  5055. NullCheck(L_17);
  5056. Func_1__ctor_m27A68E928C1D9158EAAD261086B9BC424339327B(L_17, L_16, (intptr_t)((void*)U3CU3Ec__DisplayClass30_0_U3CGetVideoThumbnailAsyncU3Eb__0_m5DAF2A26314559841D948DC75B130034596DF868_RuntimeMethod_var), NULL);
  5057. Task_1_t3D7638C82ED289AF156EDBAE76842D8DF4C4A9E0* L_18;
  5058. L_18 = NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisString_t_m2AAA22C4B280E4D6C823F92ECDD3A395F62AFEEC(L_17, NativeCamera_TryCallNativeAndroidFunctionOnSeparateThread_TisString_t_m2AAA22C4B280E4D6C823F92ECDD3A395F62AFEEC_RuntimeMethod_var);
  5059. NullCheck(L_18);
  5060. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 L_19;
  5061. L_19 = Task_1_GetAwaiter_m7727657658441E9D4CE9D3F8B532F9D65CB9CE1F(L_18, Task_1_GetAwaiter_m7727657658441E9D4CE9D3F8B532F9D65CB9CE1F_RuntimeMethod_var);
  5062. V_3 = L_19;
  5063. bool L_20;
  5064. L_20 = TaskAwaiter_1_get_IsCompleted_mE207C5509602B0BB59366E53CED6CC9B10A1F8A8((&V_3), TaskAwaiter_1_get_IsCompleted_mE207C5509602B0BB59366E53CED6CC9B10A1F8A8_RuntimeMethod_var);
  5065. if (L_20)
  5066. {
  5067. goto IL_00e4_1;
  5068. }
  5069. }
  5070. {
  5071. int32_t L_21 = 0;
  5072. V_0 = L_21;
  5073. __this->___U3CU3E1__state_0 = L_21;
  5074. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 L_22 = V_3;
  5075. __this->___U3CU3Eu__1_7 = L_22;
  5076. Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3Eu__1_7))->___m_task_0), (void*)NULL);
  5077. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_23 = (&__this->___U3CU3Et__builder_1);
  5078. AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m4B4C82CEEADEF9B96CFD0819E9DA9DC931389FE4(L_23, (&V_3), __this, AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m4B4C82CEEADEF9B96CFD0819E9DA9DC931389FE4_RuntimeMethod_var);
  5079. goto IL_01a2;
  5080. }
  5081. IL_00c8_1:
  5082. {
  5083. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6 L_24 = __this->___U3CU3Eu__1_7;
  5084. V_3 = L_24;
  5085. TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6* L_25 = (&__this->___U3CU3Eu__1_7);
  5086. il2cpp_codegen_initobj(L_25, sizeof(TaskAwaiter_1_t254638BB1FAD695D9A9542E098A189D438A000F6));
  5087. int32_t L_26 = (-1);
  5088. V_0 = L_26;
  5089. __this->___U3CU3E1__state_0 = L_26;
  5090. }
  5091. IL_00e4_1:
  5092. {
  5093. String_t* L_27;
  5094. L_27 = TaskAwaiter_1_GetResult_m82A392802A854576DC9525B87B0053B56201ABB9((&V_3), TaskAwaiter_1_GetResult_m82A392802A854576DC9525B87B0053B56201ABB9_RuntimeMethod_var);
  5095. V_2 = L_27;
  5096. // if( !string.IsNullOrEmpty( thumbnailPath ) )
  5097. String_t* L_28 = V_2;
  5098. bool L_29;
  5099. L_29 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_28, NULL);
  5100. if (L_29)
  5101. {
  5102. goto IL_0163_1;
  5103. }
  5104. }
  5105. {
  5106. // return await LoadImageAtPathAsync( thumbnailPath, maxSize, markTextureNonReadable );
  5107. String_t* L_30 = V_2;
  5108. U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A* L_31 = __this->___U3CU3E8__1_5;
  5109. NullCheck(L_31);
  5110. int32_t L_32 = L_31->___maxSize_2;
  5111. bool L_33 = __this->___markTextureNonReadable_6;
  5112. Task_1_t95921EB64E237ACD28589D64B693C652268F225E* L_34;
  5113. L_34 = NativeCamera_LoadImageAtPathAsync_m7B912F60F0DF9C36558976E4F53701CF76073FC0(L_30, L_32, L_33, NULL);
  5114. NullCheck(L_34);
  5115. TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B L_35;
  5116. L_35 = Task_1_GetAwaiter_m88AFED53B032F7EDDB6F9746699970B9FFFC992C(L_34, Task_1_GetAwaiter_m88AFED53B032F7EDDB6F9746699970B9FFFC992C_RuntimeMethod_var);
  5117. V_4 = L_35;
  5118. bool L_36;
  5119. L_36 = TaskAwaiter_1_get_IsCompleted_m77FF413EE49A5859C0BC111104448D64F3C01911((&V_4), TaskAwaiter_1_get_IsCompleted_m77FF413EE49A5859C0BC111104448D64F3C01911_RuntimeMethod_var);
  5120. if (L_36)
  5121. {
  5122. goto IL_0159_1;
  5123. }
  5124. }
  5125. {
  5126. int32_t L_37 = 1;
  5127. V_0 = L_37;
  5128. __this->___U3CU3E1__state_0 = L_37;
  5129. TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B L_38 = V_4;
  5130. __this->___U3CU3Eu__2_8 = L_38;
  5131. Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3Eu__2_8))->___m_task_0), (void*)NULL);
  5132. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_39 = (&__this->___U3CU3Et__builder_1);
  5133. AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m850BD17D7C2BD7A37C5B5261B69E44A451533191(L_39, (&V_4), __this, AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisTaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B_TisU3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0_m850BD17D7C2BD7A37C5B5261B69E44A451533191_RuntimeMethod_var);
  5134. goto IL_01a2;
  5135. }
  5136. IL_013c_1:
  5137. {
  5138. TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B L_40 = __this->___U3CU3Eu__2_8;
  5139. V_4 = L_40;
  5140. TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B* L_41 = (&__this->___U3CU3Eu__2_8);
  5141. il2cpp_codegen_initobj(L_41, sizeof(TaskAwaiter_1_t6D65E8305E8A65AA4939559CBC191F5C2238F74B));
  5142. int32_t L_42 = (-1);
  5143. V_0 = L_42;
  5144. __this->___U3CU3E1__state_0 = L_42;
  5145. }
  5146. IL_0159_1:
  5147. {
  5148. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_43;
  5149. L_43 = TaskAwaiter_1_GetResult_mE4B8867B0D8DAA1317AD64FE09FBD26E825A654C((&V_4), TaskAwaiter_1_GetResult_mE4B8867B0D8DAA1317AD64FE09FBD26E825A654C_RuntimeMethod_var);
  5150. V_1 = L_43;
  5151. goto IL_0187;
  5152. }
  5153. IL_0163_1:
  5154. {
  5155. // return null;
  5156. V_1 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
  5157. goto IL_0187;
  5158. }
  5159. }// end try (depth: 1)
  5160. catch(Il2CppExceptionWrapper& e)
  5161. {
  5162. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  5163. {
  5164. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  5165. goto CATCH_0167;
  5166. }
  5167. throw e;
  5168. }
  5169. CATCH_0167:
  5170. {// begin catch(System.Exception)
  5171. V_5 = ((Exception_t*)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t*));
  5172. __this->___U3CU3E1__state_0 = ((int32_t)-2);
  5173. __this->___U3CU3E8__1_5 = (U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A*)NULL;
  5174. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E8__1_5), (void*)(U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A*)NULL);
  5175. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_44 = (&__this->___U3CU3Et__builder_1);
  5176. Exception_t* L_45 = V_5;
  5177. AsyncTaskMethodBuilder_1_SetException_m1697D9F7BF9D11383EDE12CEE54A18AC24A7786B(L_44, L_45, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&AsyncTaskMethodBuilder_1_SetException_m1697D9F7BF9D11383EDE12CEE54A18AC24A7786B_RuntimeMethod_var)));
  5178. IL2CPP_POP_ACTIVE_EXCEPTION();
  5179. goto IL_01a2;
  5180. }// end catch (depth: 1)
  5181. IL_0187:
  5182. {
  5183. // }
  5184. __this->___U3CU3E1__state_0 = ((int32_t)-2);
  5185. __this->___U3CU3E8__1_5 = (U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A*)NULL;
  5186. Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E8__1_5), (void*)(U3CU3Ec__DisplayClass30_0_t60C21183057F871D199E7A529924F58CC2FFAB2A*)NULL);
  5187. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_46 = (&__this->___U3CU3Et__builder_1);
  5188. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_47 = V_1;
  5189. AsyncTaskMethodBuilder_1_SetResult_mAB04B95B4490AB6E1FCB475391576D15606A2688(L_46, L_47, AsyncTaskMethodBuilder_1_SetResult_mAB04B95B4490AB6E1FCB475391576D15606A2688_RuntimeMethod_var);
  5190. }
  5191. IL_01a2:
  5192. {
  5193. return;
  5194. }
  5195. }
  5196. IL2CPP_EXTERN_C void U3CGetVideoThumbnailAsyncU3Ed__30_MoveNext_mDBB890CADFAADFBF703E0257D74428E64FE6FDA6_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
  5197. {
  5198. U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* _thisAdjusted;
  5199. int32_t _offset = 1;
  5200. _thisAdjusted = reinterpret_cast<U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0*>(__this + _offset);
  5201. U3CGetVideoThumbnailAsyncU3Ed__30_MoveNext_mDBB890CADFAADFBF703E0257D74428E64FE6FDA6(_thisAdjusted, method);
  5202. }
  5203. // System.Void NativeCamera/<GetVideoThumbnailAsync>d__30::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)
  5204. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CGetVideoThumbnailAsyncU3Ed__30_SetStateMachine_m3D9A0912DB18DF40ACC898395143BBF274B31AEB (U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* __this, RuntimeObject* ___0_stateMachine, const RuntimeMethod* method)
  5205. {
  5206. static bool s_Il2CppMethodInitialized;
  5207. if (!s_Il2CppMethodInitialized)
  5208. {
  5209. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AsyncTaskMethodBuilder_1_SetStateMachine_m0ECA1B3B604CFFB8A5DE544E2A0A0025BFE6B6FD_RuntimeMethod_var);
  5210. s_Il2CppMethodInitialized = true;
  5211. }
  5212. {
  5213. AsyncTaskMethodBuilder_1_t05B41371EF0E362ABCB54C56063FAA1E00C69A8F* L_0 = (&__this->___U3CU3Et__builder_1);
  5214. RuntimeObject* L_1 = ___0_stateMachine;
  5215. AsyncTaskMethodBuilder_1_SetStateMachine_m0ECA1B3B604CFFB8A5DE544E2A0A0025BFE6B6FD(L_0, L_1, AsyncTaskMethodBuilder_1_SetStateMachine_m0ECA1B3B604CFFB8A5DE544E2A0A0025BFE6B6FD_RuntimeMethod_var);
  5216. return;
  5217. }
  5218. }
  5219. IL2CPP_EXTERN_C void U3CGetVideoThumbnailAsyncU3Ed__30_SetStateMachine_m3D9A0912DB18DF40ACC898395143BBF274B31AEB_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_stateMachine, const RuntimeMethod* method)
  5220. {
  5221. U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0* _thisAdjusted;
  5222. int32_t _offset = 1;
  5223. _thisAdjusted = reinterpret_cast<U3CGetVideoThumbnailAsyncU3Ed__30_tAC754D082B2D3C667BEED95E73E4FAB32F5D8BB0*>(__this + _offset);
  5224. U3CGetVideoThumbnailAsyncU3Ed__30_SetStateMachine_m3D9A0912DB18DF40ACC898395143BBF274B31AEB(_thisAdjusted, ___0_stateMachine, method);
  5225. }
  5226. #ifdef __clang__
  5227. #pragma clang diagnostic pop
  5228. #endif
  5229. #ifdef __clang__
  5230. #pragma clang diagnostic push
  5231. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  5232. #pragma clang diagnostic ignored "-Wunused-variable"
  5233. #endif
  5234. // System.Void NativeCameraNamespace.NCCallbackHelper::Awake()
  5235. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCCallbackHelper_Awake_mE3A63B5B9F2BF8D9380A10938C023518513C42DA (NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* __this, const RuntimeMethod* method)
  5236. {
  5237. static bool s_Il2CppMethodInitialized;
  5238. if (!s_Il2CppMethodInitialized)
  5239. {
  5240. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  5241. s_Il2CppMethodInitialized = true;
  5242. }
  5243. {
  5244. // DontDestroyOnLoad( gameObject );
  5245. GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_0;
  5246. L_0 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
  5247. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  5248. Object_DontDestroyOnLoad_m4B70C3AEF886C176543D1295507B6455C9DCAEA7(L_0, NULL);
  5249. // }
  5250. return;
  5251. }
  5252. }
  5253. // System.Void NativeCameraNamespace.NCCallbackHelper::Update()
  5254. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCCallbackHelper_Update_mB751E20E799C93573FD3AF0BE18DECA33BAA6A9C (NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* __this, const RuntimeMethod* method)
  5255. {
  5256. static bool s_Il2CppMethodInitialized;
  5257. if (!s_Il2CppMethodInitialized)
  5258. {
  5259. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  5260. s_Il2CppMethodInitialized = true;
  5261. }
  5262. {
  5263. // if( mainThreadAction != null )
  5264. Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_0 = __this->___mainThreadAction_4;
  5265. if (!L_0)
  5266. {
  5267. goto IL_0028;
  5268. }
  5269. }
  5270. {
  5271. auto __finallyBlock = il2cpp::utils::Finally([&]
  5272. {
  5273. FINALLY_001c:
  5274. {// begin finally (depth: 1)
  5275. // Destroy( gameObject );
  5276. GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_1;
  5277. L_1 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
  5278. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  5279. Object_Destroy_mE97D0A766419A81296E8D4E5C23D01D3FE91ACBB(L_1, NULL);
  5280. // }
  5281. return;
  5282. }// end finally (depth: 1)
  5283. });
  5284. try
  5285. {// begin try (depth: 1)
  5286. // System.Action temp = mainThreadAction;
  5287. Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_2 = __this->___mainThreadAction_4;
  5288. // mainThreadAction = null;
  5289. __this->___mainThreadAction_4 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL;
  5290. Il2CppCodeGenWriteBarrier((void**)(&__this->___mainThreadAction_4), (void*)(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL);
  5291. // temp();
  5292. NullCheck(L_2);
  5293. Action_Invoke_m7126A54DACA72B845424072887B5F3A51FC3808E_inline(L_2, NULL);
  5294. // }
  5295. goto IL_0028;
  5296. }// end try (depth: 1)
  5297. catch(Il2CppExceptionWrapper& e)
  5298. {
  5299. __finallyBlock.StoreException(e.ex);
  5300. }
  5301. }
  5302. IL_0028:
  5303. {
  5304. // }
  5305. return;
  5306. }
  5307. }
  5308. // System.Void NativeCameraNamespace.NCCallbackHelper::CallOnMainThread(System.Action)
  5309. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCCallbackHelper_CallOnMainThread_mF4C7C68F199FEE8034F6E1EFFE293DB4D92D5192 (NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___0_function, const RuntimeMethod* method)
  5310. {
  5311. {
  5312. // mainThreadAction = function;
  5313. Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_0 = ___0_function;
  5314. __this->___mainThreadAction_4 = L_0;
  5315. Il2CppCodeGenWriteBarrier((void**)(&__this->___mainThreadAction_4), (void*)L_0);
  5316. // }
  5317. return;
  5318. }
  5319. }
  5320. // System.Void NativeCameraNamespace.NCCallbackHelper::.ctor()
  5321. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCCallbackHelper__ctor_m079DDE184188CCFE394DA8337BB081D1E9E087A5 (NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* __this, const RuntimeMethod* method)
  5322. {
  5323. {
  5324. MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
  5325. return;
  5326. }
  5327. }
  5328. #ifdef __clang__
  5329. #pragma clang diagnostic pop
  5330. #endif
  5331. #ifdef __clang__
  5332. #pragma clang diagnostic push
  5333. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  5334. #pragma clang diagnostic ignored "-Wunused-variable"
  5335. #endif
  5336. // System.Void NativeCameraNamespace.NCCameraCallbackAndroid::.ctor(NativeCamera/CameraCallback)
  5337. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCCameraCallbackAndroid__ctor_m7A49A723EBFBFC7215432493733AFCF632A8F5AA (NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378* __this, CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* ___0_callback, const RuntimeMethod* method)
  5338. {
  5339. static bool s_Il2CppMethodInitialized;
  5340. if (!s_Il2CppMethodInitialized)
  5341. {
  5342. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D_il2cpp_TypeInfo_var);
  5343. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisNCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA_m58F9A27F8E2E59C5DA67176DBC1DDEE4B50743EE_RuntimeMethod_var);
  5344. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
  5345. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0A051229B6EA622EA0A0C01F91FB09E1623476AA);
  5346. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral22965B1EE1F6EB152925F32087BD48959BA8C1BC);
  5347. s_Il2CppMethodInitialized = true;
  5348. }
  5349. {
  5350. // public NCCameraCallbackAndroid( NativeCamera.CameraCallback callback ) : base( "com.yasirkula.unity.NativeCameraMediaReceiver" )
  5351. il2cpp_codegen_runtime_class_init_inline(AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D_il2cpp_TypeInfo_var);
  5352. AndroidJavaProxy__ctor_m2832886A0E1BBF6702653A7C6A4609F11FB712C7(__this, _stringLiteral0A051229B6EA622EA0A0C01F91FB09E1623476AA, NULL);
  5353. // this.callback = callback;
  5354. CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* L_0 = ___0_callback;
  5355. __this->___callback_4 = L_0;
  5356. Il2CppCodeGenWriteBarrier((void**)(&__this->___callback_4), (void*)L_0);
  5357. // callbackHelper = new GameObject( "NCCallbackHelper" ).AddComponent<NCCallbackHelper>();
  5358. GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_1 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
  5359. NullCheck(L_1);
  5360. GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_1, _stringLiteral22965B1EE1F6EB152925F32087BD48959BA8C1BC, NULL);
  5361. NullCheck(L_1);
  5362. NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* L_2;
  5363. L_2 = GameObject_AddComponent_TisNCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA_m58F9A27F8E2E59C5DA67176DBC1DDEE4B50743EE(L_1, GameObject_AddComponent_TisNCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA_m58F9A27F8E2E59C5DA67176DBC1DDEE4B50743EE_RuntimeMethod_var);
  5364. __this->___callbackHelper_5 = L_2;
  5365. Il2CppCodeGenWriteBarrier((void**)(&__this->___callbackHelper_5), (void*)L_2);
  5366. // }
  5367. return;
  5368. }
  5369. }
  5370. // System.Void NativeCameraNamespace.NCCameraCallbackAndroid::OnMediaReceived(System.String)
  5371. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCCameraCallbackAndroid_OnMediaReceived_mA794170C46D6C0CB63A52483CDA830D08530E62A (NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378* __this, String_t* ___0_path, const RuntimeMethod* method)
  5372. {
  5373. static bool s_Il2CppMethodInitialized;
  5374. if (!s_Il2CppMethodInitialized)
  5375. {
  5376. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
  5377. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass3_0_U3COnMediaReceivedU3Eb__0_m2F42366AEBB844734D6B392AF6A392BF2BF19458_RuntimeMethod_var);
  5378. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850_il2cpp_TypeInfo_var);
  5379. s_Il2CppMethodInitialized = true;
  5380. }
  5381. U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850* V_0 = NULL;
  5382. {
  5383. U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850* L_0 = (U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850_il2cpp_TypeInfo_var);
  5384. NullCheck(L_0);
  5385. U3CU3Ec__DisplayClass3_0__ctor_mAEE97D12D327C8C28EAB45ACDCB50E5DC04F50FB(L_0, NULL);
  5386. V_0 = L_0;
  5387. U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850* L_1 = V_0;
  5388. NullCheck(L_1);
  5389. L_1->___U3CU3E4__this_0 = __this;
  5390. Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_0), (void*)__this);
  5391. U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850* L_2 = V_0;
  5392. String_t* L_3 = ___0_path;
  5393. NullCheck(L_2);
  5394. L_2->___path_1 = L_3;
  5395. Il2CppCodeGenWriteBarrier((void**)(&L_2->___path_1), (void*)L_3);
  5396. // callbackHelper.CallOnMainThread( () => callback( !string.IsNullOrEmpty( path ) ? path : null ) );
  5397. NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* L_4 = __this->___callbackHelper_5;
  5398. U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850* L_5 = V_0;
  5399. Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_6 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)il2cpp_codegen_object_new(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
  5400. NullCheck(L_6);
  5401. Action__ctor_mBDC7B0B4A3F583B64C2896F01BDED360772F67DC(L_6, L_5, (intptr_t)((void*)U3CU3Ec__DisplayClass3_0_U3COnMediaReceivedU3Eb__0_m2F42366AEBB844734D6B392AF6A392BF2BF19458_RuntimeMethod_var), NULL);
  5402. NullCheck(L_4);
  5403. NCCallbackHelper_CallOnMainThread_mF4C7C68F199FEE8034F6E1EFFE293DB4D92D5192_inline(L_4, L_6, NULL);
  5404. // }
  5405. return;
  5406. }
  5407. }
  5408. #ifdef __clang__
  5409. #pragma clang diagnostic pop
  5410. #endif
  5411. #ifdef __clang__
  5412. #pragma clang diagnostic push
  5413. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  5414. #pragma clang diagnostic ignored "-Wunused-variable"
  5415. #endif
  5416. // System.Void NativeCameraNamespace.NCCameraCallbackAndroid/<>c__DisplayClass3_0::.ctor()
  5417. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0__ctor_mAEE97D12D327C8C28EAB45ACDCB50E5DC04F50FB (U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850* __this, const RuntimeMethod* method)
  5418. {
  5419. {
  5420. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  5421. return;
  5422. }
  5423. }
  5424. // System.Void NativeCameraNamespace.NCCameraCallbackAndroid/<>c__DisplayClass3_0::<OnMediaReceived>b__0()
  5425. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0_U3COnMediaReceivedU3Eb__0_m2F42366AEBB844734D6B392AF6A392BF2BF19458 (U3CU3Ec__DisplayClass3_0_t6F61CA2BBD832CB410C9365B047308C3CAC6B850* __this, const RuntimeMethod* method)
  5426. {
  5427. CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* G_B2_0 = NULL;
  5428. CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* G_B1_0 = NULL;
  5429. String_t* G_B3_0 = NULL;
  5430. CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* G_B3_1 = NULL;
  5431. {
  5432. // callbackHelper.CallOnMainThread( () => callback( !string.IsNullOrEmpty( path ) ? path : null ) );
  5433. NCCameraCallbackAndroid_t6321AB2CC0C23E0A0A06CD0D72847CE9149F9378* L_0 = __this->___U3CU3E4__this_0;
  5434. NullCheck(L_0);
  5435. CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* L_1 = L_0->___callback_4;
  5436. String_t* L_2 = __this->___path_1;
  5437. bool L_3;
  5438. L_3 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_2, NULL);
  5439. G_B1_0 = L_1;
  5440. if (!L_3)
  5441. {
  5442. G_B2_0 = L_1;
  5443. goto IL_001b;
  5444. }
  5445. }
  5446. {
  5447. G_B3_0 = ((String_t*)(NULL));
  5448. G_B3_1 = G_B1_0;
  5449. goto IL_0021;
  5450. }
  5451. IL_001b:
  5452. {
  5453. String_t* L_4 = __this->___path_1;
  5454. G_B3_0 = L_4;
  5455. G_B3_1 = G_B2_0;
  5456. }
  5457. IL_0021:
  5458. {
  5459. NullCheck(G_B3_1);
  5460. CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_inline(G_B3_1, G_B3_0, NULL);
  5461. return;
  5462. }
  5463. }
  5464. #ifdef __clang__
  5465. #pragma clang diagnostic pop
  5466. #endif
  5467. #ifdef __clang__
  5468. #pragma clang diagnostic push
  5469. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  5470. #pragma clang diagnostic ignored "-Wunused-variable"
  5471. #endif
  5472. // System.Int32 NativeCameraNamespace.NCPermissionCallbackAndroid::get_Result()
  5473. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NCPermissionCallbackAndroid_get_Result_m0FBAA6C84093FCD7833C957E5C7CE381668100DF (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* __this, const RuntimeMethod* method)
  5474. {
  5475. {
  5476. // public int Result { get; private set; }
  5477. int32_t L_0 = __this->___U3CResultU3Ek__BackingField_5;
  5478. return L_0;
  5479. }
  5480. }
  5481. // System.Void NativeCameraNamespace.NCPermissionCallbackAndroid::set_Result(System.Int32)
  5482. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCPermissionCallbackAndroid_set_Result_m875E1D987FD8099207FD71BC8FCCE424DEA1DC6A (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* __this, int32_t ___0_value, const RuntimeMethod* method)
  5483. {
  5484. {
  5485. // public int Result { get; private set; }
  5486. int32_t L_0 = ___0_value;
  5487. __this->___U3CResultU3Ek__BackingField_5 = L_0;
  5488. return;
  5489. }
  5490. }
  5491. // System.Void NativeCameraNamespace.NCPermissionCallbackAndroid::.ctor(System.Object)
  5492. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCPermissionCallbackAndroid__ctor_mEE399CA43702611369BBFD6E72E3147E4C962FDC (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* __this, RuntimeObject* ___0_threadLock, const RuntimeMethod* method)
  5493. {
  5494. static bool s_Il2CppMethodInitialized;
  5495. if (!s_Il2CppMethodInitialized)
  5496. {
  5497. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D_il2cpp_TypeInfo_var);
  5498. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF0750A05DD548EB8E0F9CD56A424497F03563B9D);
  5499. s_Il2CppMethodInitialized = true;
  5500. }
  5501. {
  5502. // public NCPermissionCallbackAndroid( object threadLock ) : base( "com.yasirkula.unity.NativeCameraPermissionReceiver" )
  5503. il2cpp_codegen_runtime_class_init_inline(AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D_il2cpp_TypeInfo_var);
  5504. AndroidJavaProxy__ctor_m2832886A0E1BBF6702653A7C6A4609F11FB712C7(__this, _stringLiteralF0750A05DD548EB8E0F9CD56A424497F03563B9D, NULL);
  5505. // Result = -1;
  5506. NCPermissionCallbackAndroid_set_Result_m875E1D987FD8099207FD71BC8FCCE424DEA1DC6A_inline(__this, (-1), NULL);
  5507. // this.threadLock = threadLock;
  5508. RuntimeObject* L_0 = ___0_threadLock;
  5509. __this->___threadLock_4 = L_0;
  5510. Il2CppCodeGenWriteBarrier((void**)(&__this->___threadLock_4), (void*)L_0);
  5511. // }
  5512. return;
  5513. }
  5514. }
  5515. // System.Void NativeCameraNamespace.NCPermissionCallbackAndroid::OnPermissionResult(System.Int32)
  5516. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCPermissionCallbackAndroid_OnPermissionResult_m1133986BD48E36D9A799B42BD73C67EC51D3319D (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* __this, int32_t ___0_result, const RuntimeMethod* method)
  5517. {
  5518. RuntimeObject* V_0 = NULL;
  5519. bool V_1 = false;
  5520. {
  5521. // Result = result;
  5522. int32_t L_0 = ___0_result;
  5523. NCPermissionCallbackAndroid_set_Result_m875E1D987FD8099207FD71BC8FCCE424DEA1DC6A_inline(__this, L_0, NULL);
  5524. // lock( threadLock )
  5525. RuntimeObject* L_1 = __this->___threadLock_4;
  5526. V_0 = L_1;
  5527. V_1 = (bool)0;
  5528. }
  5529. {
  5530. auto __finallyBlock = il2cpp::utils::Finally([&]
  5531. {
  5532. FINALLY_0025:
  5533. {// begin finally (depth: 1)
  5534. {
  5535. bool L_2 = V_1;
  5536. if (!L_2)
  5537. {
  5538. goto IL_002e;
  5539. }
  5540. }
  5541. {
  5542. RuntimeObject* L_3 = V_0;
  5543. Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_3, NULL);
  5544. }
  5545. IL_002e:
  5546. {
  5547. return;
  5548. }
  5549. }// end finally (depth: 1)
  5550. });
  5551. try
  5552. {// begin try (depth: 1)
  5553. RuntimeObject* L_4 = V_0;
  5554. Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_4, (&V_1), NULL);
  5555. // Monitor.Pulse( threadLock );
  5556. RuntimeObject* L_5 = __this->___threadLock_4;
  5557. Monitor_Pulse_mA8279943D6C2913ADFAF661E35C4951BDFACE43D(L_5, NULL);
  5558. // }
  5559. goto IL_002f;
  5560. }// end try (depth: 1)
  5561. catch(Il2CppExceptionWrapper& e)
  5562. {
  5563. __finallyBlock.StoreException(e.ex);
  5564. }
  5565. }
  5566. IL_002f:
  5567. {
  5568. // }
  5569. return;
  5570. }
  5571. }
  5572. #ifdef __clang__
  5573. #pragma clang diagnostic pop
  5574. #endif
  5575. #ifdef __clang__
  5576. #pragma clang diagnostic push
  5577. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  5578. #pragma clang diagnostic ignored "-Wunused-variable"
  5579. #endif
  5580. // System.Void NativeCameraNamespace.NCPermissionCallbackAsyncAndroid::.ctor(NativeCamera/PermissionCallback)
  5581. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCPermissionCallbackAsyncAndroid__ctor_m148D3C8505CACDED882A222F2081610060ACF67F (NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B* __this, PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* ___0_callback, const RuntimeMethod* method)
  5582. {
  5583. static bool s_Il2CppMethodInitialized;
  5584. if (!s_Il2CppMethodInitialized)
  5585. {
  5586. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D_il2cpp_TypeInfo_var);
  5587. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisNCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA_m58F9A27F8E2E59C5DA67176DBC1DDEE4B50743EE_RuntimeMethod_var);
  5588. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
  5589. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral22965B1EE1F6EB152925F32087BD48959BA8C1BC);
  5590. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF0750A05DD548EB8E0F9CD56A424497F03563B9D);
  5591. s_Il2CppMethodInitialized = true;
  5592. }
  5593. {
  5594. // public NCPermissionCallbackAsyncAndroid( NativeCamera.PermissionCallback callback ) : base( "com.yasirkula.unity.NativeCameraPermissionReceiver" )
  5595. il2cpp_codegen_runtime_class_init_inline(AndroidJavaProxy_tE5521F9761F7B95444B9C39FB15FDFC23F80A78D_il2cpp_TypeInfo_var);
  5596. AndroidJavaProxy__ctor_m2832886A0E1BBF6702653A7C6A4609F11FB712C7(__this, _stringLiteralF0750A05DD548EB8E0F9CD56A424497F03563B9D, NULL);
  5597. // this.callback = callback;
  5598. PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* L_0 = ___0_callback;
  5599. __this->___callback_4 = L_0;
  5600. Il2CppCodeGenWriteBarrier((void**)(&__this->___callback_4), (void*)L_0);
  5601. // callbackHelper = new GameObject( "NCCallbackHelper" ).AddComponent<NCCallbackHelper>();
  5602. GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_1 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
  5603. NullCheck(L_1);
  5604. GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_1, _stringLiteral22965B1EE1F6EB152925F32087BD48959BA8C1BC, NULL);
  5605. NullCheck(L_1);
  5606. NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* L_2;
  5607. L_2 = GameObject_AddComponent_TisNCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA_m58F9A27F8E2E59C5DA67176DBC1DDEE4B50743EE(L_1, GameObject_AddComponent_TisNCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA_m58F9A27F8E2E59C5DA67176DBC1DDEE4B50743EE_RuntimeMethod_var);
  5608. __this->___callbackHelper_5 = L_2;
  5609. Il2CppCodeGenWriteBarrier((void**)(&__this->___callbackHelper_5), (void*)L_2);
  5610. // }
  5611. return;
  5612. }
  5613. }
  5614. // System.Void NativeCameraNamespace.NCPermissionCallbackAsyncAndroid::OnPermissionResult(System.Int32)
  5615. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NCPermissionCallbackAsyncAndroid_OnPermissionResult_m6B0F4D6DF5E150921526D15C51C80583166F62D5 (NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B* __this, int32_t ___0_result, const RuntimeMethod* method)
  5616. {
  5617. static bool s_Il2CppMethodInitialized;
  5618. if (!s_Il2CppMethodInitialized)
  5619. {
  5620. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
  5621. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass3_0_U3COnPermissionResultU3Eb__0_m18426273EFEC1619EDB4B879CA210DD0957D2796_RuntimeMethod_var);
  5622. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32_il2cpp_TypeInfo_var);
  5623. s_Il2CppMethodInitialized = true;
  5624. }
  5625. U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32* V_0 = NULL;
  5626. {
  5627. U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32* L_0 = (U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32_il2cpp_TypeInfo_var);
  5628. NullCheck(L_0);
  5629. U3CU3Ec__DisplayClass3_0__ctor_mD3F7CC1873EDBE61E4E200563157CFB5895A4563(L_0, NULL);
  5630. V_0 = L_0;
  5631. U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32* L_1 = V_0;
  5632. NullCheck(L_1);
  5633. L_1->___U3CU3E4__this_0 = __this;
  5634. Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_0), (void*)__this);
  5635. U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32* L_2 = V_0;
  5636. int32_t L_3 = ___0_result;
  5637. NullCheck(L_2);
  5638. L_2->___result_1 = L_3;
  5639. // callbackHelper.CallOnMainThread( () => callback( (NativeCamera.Permission) result ) );
  5640. NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* L_4 = __this->___callbackHelper_5;
  5641. U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32* L_5 = V_0;
  5642. Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_6 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)il2cpp_codegen_object_new(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
  5643. NullCheck(L_6);
  5644. Action__ctor_mBDC7B0B4A3F583B64C2896F01BDED360772F67DC(L_6, L_5, (intptr_t)((void*)U3CU3Ec__DisplayClass3_0_U3COnPermissionResultU3Eb__0_m18426273EFEC1619EDB4B879CA210DD0957D2796_RuntimeMethod_var), NULL);
  5645. NullCheck(L_4);
  5646. NCCallbackHelper_CallOnMainThread_mF4C7C68F199FEE8034F6E1EFFE293DB4D92D5192_inline(L_4, L_6, NULL);
  5647. // }
  5648. return;
  5649. }
  5650. }
  5651. #ifdef __clang__
  5652. #pragma clang diagnostic pop
  5653. #endif
  5654. #ifdef __clang__
  5655. #pragma clang diagnostic push
  5656. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  5657. #pragma clang diagnostic ignored "-Wunused-variable"
  5658. #endif
  5659. // System.Void NativeCameraNamespace.NCPermissionCallbackAsyncAndroid/<>c__DisplayClass3_0::.ctor()
  5660. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0__ctor_mD3F7CC1873EDBE61E4E200563157CFB5895A4563 (U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32* __this, const RuntimeMethod* method)
  5661. {
  5662. {
  5663. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  5664. return;
  5665. }
  5666. }
  5667. // System.Void NativeCameraNamespace.NCPermissionCallbackAsyncAndroid/<>c__DisplayClass3_0::<OnPermissionResult>b__0()
  5668. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0_U3COnPermissionResultU3Eb__0_m18426273EFEC1619EDB4B879CA210DD0957D2796 (U3CU3Ec__DisplayClass3_0_t319D4DE1A7D6F305652D5D71076DAF715F3E8B32* __this, const RuntimeMethod* method)
  5669. {
  5670. {
  5671. // callbackHelper.CallOnMainThread( () => callback( (NativeCamera.Permission) result ) );
  5672. NCPermissionCallbackAsyncAndroid_t08CB3D1F1CFC48A9095CDF5D34D1947C97A27B8B* L_0 = __this->___U3CU3E4__this_0;
  5673. NullCheck(L_0);
  5674. PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* L_1 = L_0->___callback_4;
  5675. int32_t L_2 = __this->___result_1;
  5676. NullCheck(L_1);
  5677. PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_inline(L_1, L_2, NULL);
  5678. return;
  5679. }
  5680. }
  5681. #ifdef __clang__
  5682. #pragma clang diagnostic pop
  5683. #endif
  5684. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t NCPermissionCallbackAndroid_get_Result_m0FBAA6C84093FCD7833C957E5C7CE381668100DF_inline (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* __this, const RuntimeMethod* method)
  5685. {
  5686. {
  5687. // public int Result { get; private set; }
  5688. int32_t L_0 = __this->___U3CResultU3Ek__BackingField_5;
  5689. return L_0;
  5690. }
  5691. }
  5692. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method)
  5693. {
  5694. {
  5695. int32_t L_0 = __this->____stringLength_4;
  5696. return L_0;
  5697. }
  5698. }
  5699. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_Invoke_m7126A54DACA72B845424072887B5F3A51FC3808E_inline (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* __this, const RuntimeMethod* method)
  5700. {
  5701. typedef void (*FunctionPointerType) (RuntimeObject*, const RuntimeMethod*);
  5702. ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
  5703. }
  5704. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void NCCallbackHelper_CallOnMainThread_mF4C7C68F199FEE8034F6E1EFFE293DB4D92D5192_inline (NCCallbackHelper_tBA518C908F8A8D4DD1D896CC9C11AE23888F67CA* __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___0_function, const RuntimeMethod* method)
  5705. {
  5706. {
  5707. // mainThreadAction = function;
  5708. Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_0 = ___0_function;
  5709. __this->___mainThreadAction_4 = L_0;
  5710. Il2CppCodeGenWriteBarrier((void**)(&__this->___mainThreadAction_4), (void*)L_0);
  5711. // }
  5712. return;
  5713. }
  5714. }
  5715. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void CameraCallback_Invoke_mE8BD077A2F42B9DBC93521F630A1461381D3BB1A_inline (CameraCallback_tF33A274B891CCEC46FF206A2C3907F370B4FF771* __this, String_t* ___0_path, const RuntimeMethod* method)
  5716. {
  5717. typedef void (*FunctionPointerType) (RuntimeObject*, String_t*, const RuntimeMethod*);
  5718. ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_path, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
  5719. }
  5720. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void NCPermissionCallbackAndroid_set_Result_m875E1D987FD8099207FD71BC8FCCE424DEA1DC6A_inline (NCPermissionCallbackAndroid_t018A82939BD516F7AC1B1295721A0EDB10B55D91* __this, int32_t ___0_value, const RuntimeMethod* method)
  5721. {
  5722. {
  5723. // public int Result { get; private set; }
  5724. int32_t L_0 = ___0_value;
  5725. __this->___U3CResultU3Ek__BackingField_5 = L_0;
  5726. return;
  5727. }
  5728. }
  5729. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PermissionCallback_Invoke_m0D631ECACFB70385F4288017D881CFB459CACA47_inline (PermissionCallback_tF9BB768D4EF01EF761635D5227FC907EFC8EA001* __this, int32_t ___0_permission, const RuntimeMethod* method)
  5730. {
  5731. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, const RuntimeMethod*);
  5732. ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_permission, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
  5733. }
  5734. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Task_1_t8DED34447688BFCF5112B0D05D5A80CED94E4BFB* TaskCompletionSource_1_get_Task_mB4A2FF75AC28BB6E3B7A55129E9CD347E5F06FDC_gshared_inline (TaskCompletionSource_1_tF8DA32849B904AE4F51ECAF6C6D7FA080481A35A* __this, const RuntimeMethod* method)
  5735. {
  5736. {
  5737. Task_1_t8DED34447688BFCF5112B0D05D5A80CED94E4BFB* L_0 = (Task_1_t8DED34447688BFCF5112B0D05D5A80CED94E4BFB*)__this->____task_0;
  5738. return L_0;
  5739. }
  5740. }