blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
acaf38ecefdc378857c07eae1db6e4eb3474fe12
c178ae1aca27da874998279b1fb207036f6525b2
/Game/GameManager.h
2b8c3dea7622ac0c52070d7dbb43a645b1c16a72
[]
no_license
tomlerendu/Slug-Runner
1b51c9f5e98b7ab9f52c3eb9db37174d13e9af28
f4e01d3833c17999e943b73e7e2202d6731fdc8b
refs/heads/master
2021-01-01T05:25:34.924519
2016-04-25T09:58:55
2016-04-25T09:58:55
57,031,083
0
0
null
null
null
null
UTF-8
C++
false
false
1,340
h
#ifndef GAMEMANAGER_HEADER #define GAMEMANAGER_HEADER #include "TextureManager.h" #include "InputManager.h" class GameObject; /* * Manages the game. * In charge of scenes, textures and inputs. */ class GameManager { public: GameManager(); /* Names of scenes in the game */ enum Scene { menu, play }; /* Imports the textures from disk into openGL using the texture manager */ void setupTextures(); /* Returns the texture manager */ TextureManager& getTextureManager(); /* Returns the input manager */ InputManager& getInputManager(); /* Change the scene * Scene sceneName - the enumerated name of the scene * long data - any data that needs to be passed to the scene */ void changeScene(Scene sceneName, long data); /* Return the current tick of the game */ int getTick(); /* Update the game before rendering */ void update(int tick); /* Render the game to the screen*/ void render(); private: /* Manages textures (loads textures from disk, assigns string ID to each texture)*/ TextureManager textureManager; /* Manages user input (key presses, mouse clicks) */ InputManager inputManager; /* The current tick of the game*/ int tick; /* A reference to the currently active seen that should be updated and rendered */ GameObject *activeScene; }; #endif
[ "tom.lerendu@gmail.com" ]
tom.lerendu@gmail.com
57eee8d5af03d7f0842513783aebcecc889c77ef
2203f9e82de6157d337aae1fdffcbb11def70a62
/testdata/samplecdp/config/qanat/submissions/accepted/per.cc
9647c94fd13eb3137b5d0d7f1d8923b7980791a9
[]
no_license
Kamo98/DIPLOM_NEW
c55b59ccd0610d4d2867619ca40c9fed0957a786
4434a43acedc44fc7b041214f66204a4936ffe6b
refs/heads/master
2023-04-27T18:22:32.869058
2020-05-21T13:21:30
2020-05-21T13:21:30
265,855,486
0
0
null
2021-05-12T00:29:54
2020-05-21T13:27:35
Java
UTF-8
C++
false
false
650
cc
#include <cstdio> #include <vector> using namespace std; typedef vector<double> vd; double H, opt[2000], pos[2000]; double sqr(double x) { return x*x; } int main(void) { int w, h, n; scanf("%d%d%d", &w, &h, &n); H = 1.0*h/w; opt[0] = sqr(1+H)/4 - sqr(H)/2; for (int i = 1; i <= n; ++i) { double x = (1+H)*(1-H)/2/(2*opt[i-1] + sqr(1-H)/2); opt[i] = opt[i-1]*sqr(x) + sqr(1 - x + H*(1+x))/4 - sqr(H)/2; pos[i] = x; } printf("%.9lf\n", (opt[n]+sqr(H)/2)*w*w); vd res; res.push_back(pos[n]); for (int i = n-1; i > 0; --i) res.push_back(res.back()*pos[i]); for (int i = 0; i < min(n, 10); ++i) printf("%.9lf\n", res[n-i-1]*w); }
[ "avanesjan.k@gmail.com" ]
avanesjan.k@gmail.com
f63d5a73167f274e34e941e766ac40640af4415b
5456502f97627278cbd6e16d002d50f1de3da7bb
/components/sync/engine/commit_queue.h
c90f63dc695fe7fc602696df32fa0ed8a1a16839
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/Chromium_7C66
72d108a413909eb3bd36c73a6c2f98de1573b6e5
c8649ab2a0f5a747369ed50351209a42f59672ee
refs/heads/master
2023-03-16T12:51:40.231959
2017-12-20T10:38:26
2017-12-20T10:38:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
738
h
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYNC_ENGINE_COMMIT_QUEUE_H_ #define COMPONENTS_SYNC_ENGINE_COMMIT_QUEUE_H_ #include "components/sync/engine/non_blocking_sync_common.h" namespace syncer { // Interface used by a synced data type to issue requests to the sync backend. class CommitQueue { public: CommitQueue(); virtual ~CommitQueue(); // Entry point for the ModelTypeProcessor to send commit requests. virtual void EnqueueForCommit(const CommitRequestDataList& list) = 0; }; } // namespace syncer #endif // COMPONENTS_SYNC_ENGINE_COMMIT_QUEUE_H_
[ "lixiaodonglove7@aliyun.com" ]
lixiaodonglove7@aliyun.com
d4075de33cae12909f6240bc0ce82a1fbfd90560
d86efed0d847ad2851ec14140ab9732af3693489
/include/net/client.hpp
05e942b0c8da935721f0cb4a1016075307644ffc
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
quantrocket/networking
6b292df2c3ede1dd29490d15ed1806f1c75f0abd
e1f6c5f072e5062526edb024a81b19ee6e58b2f3
refs/heads/master
2020-04-14T03:53:31.754275
2013-06-22T08:16:13
2013-06-22T08:16:13
20,859,907
2
1
null
null
null
null
UTF-8
C++
false
false
7,883
hpp
/* Copyright (c) 2013 Christian Glöckner <cgloeckner@freenet.de> This file is part of the networking module: https://github.com/cgloeckner/networking It offers a tcp-based server-client framework for games and other software. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #pragma once #ifndef NET_CLIENT_INCLUDE_GUARD #define NET_CLIENT_INCLUDE_GUARD #include <set> #include <map> #include <cstdint> #include <thread> #include <SFML/Network.hpp> #include <net/common.hpp> #include <net/callbacks.hpp> namespace net { /// Client /** * The client provides communication with a given server. Sending and * receiving data are handled in two seperate threads. */ template <typename Protocol> class Client: public CallbackManager<CommandID, Protocol &> { protected: /// Threads std::thread networker; std::thread handler; /// Queues utils::SyncQueue<Protocol> out; utils::SyncQueue<Protocol> in; /// Link to the server sf::TcpSocket link; /// Client ID ClientID id; /// Send / Receive next data bool sendNext(); bool receiveNext(); /// Threaded loops void network_loop(); void handle_loop(); public: /// Constructor Client(); /// Destructor /** * Will disconnect from the server */ virtual ~Client(); /// Establish connection to the server at the given IP and port /** * @param ip: IP-address or hostname of the remote server * @param port: port number of the remove server * @return: true for success */ bool connect(std::string const & ip, std::uint16_t const port); /// Returns whether the client is online /** * @return true if connected */ inline bool isOnline() { return (this->link.getRemoteAddress() != sf::IpAddress::None); } /// Disconnect safely /** * This will wait for an empty outgoing queue and then disconnects. */ virtual void shutdown(); /// Disconnect the current connection /** * This will close the current link to the server and safely stop * the thread loops. */ void disconnect(); /// Push data for sending /** * @param data: data */ inline void push(Protocol & data){ this->out.push(data); } }; template <typename Protocol> Client<Protocol>::Client() : CallbackManager<CommandID, Protocol &>() { // Workaround for Tcp Socket Crash utils::SocketCrashWorkaround(); } template <typename Protocol> Client<Protocol>::~Client() { if (this->isOnline()) { this->disconnect(); } } template <typename Protocol> bool Client<Protocol>::sendNext() { // Pick next from outgoing queue Protocol object; if (!this->out.pop(object)) { return false; } // Send to server if (!object.send(this->link)) { // Cannot send if (!this->isOnline()) { // Pipe broken this->link.disconnect(); } return false; } return true; } template <typename Protocol> bool Client<Protocol>::receiveNext() { // Try to receive next Protocol object; if (!object.receive(this->link)) { // Cannot receive if (!this->isOnline()) { // Pipe broken this->link.disconnect(); } return false; } // Push to incomming queue this->in.push(object); return true; } template <typename Protocol> void Client<Protocol>::network_loop() { do { // Send all objects while (this->sendNext()) {} // Receive all objects while (this->receiveNext()) {} // delay a bit utils::delay(25); } while (this->isOnline()); std::cerr << "Connection to the server was lost" << std::endl << std::flush; } template <typename Protocol> void Client<Protocol>::handle_loop() { do { // Pick next from incomming queue Protocol object; if (!this->in.pop(object)) { // Nothing to do utils::delay(25); continue; } // Trigger callback method this->trigger(object.command, object); } while (this->isOnline()); } template <typename Protocol> bool Client<Protocol>::connect(std::string const & ip, std::uint16_t const port) { if (this->isOnline()) { // Already connected return true; } // Connect auto status = this->link.connect(sf::IpAddress(ip), port); if (status != sf::Socket::Done) { return false; } // Receive ClientID sf::Packet packet; status = this->link.receive(packet); if (status != sf::Socket::Done) { // Got invalid ClientID or nothing this->link.disconnect(); return false; } packet >> this->id; std::cerr << "Authed as #" << this->id << " by the server at " << ip << ":" << port << std::endl << std::flush; this->link.setBlocking(false); // Start Threads this->networker = std::thread(&Client<Protocol>::network_loop, this); this->handler = std::thread(&Client<Protocol>::handle_loop, this); return true; } template <typename Protocol> void Client<Protocol>::shutdown() { // wait until outgoing queue is empty // @note: data that is pushed while this queue is waiting might be lost while (this->isOnline() && !this->out.isEmpty()) { utils::delay(15); } this->disconnect(); } template <typename Protocol> void Client<Protocol>::disconnect() { // close connection this->link.disconnect(); // shutdown threads (try-catched, because they might have been stopped, yet) try { this->networker.join(); } catch (std::system_error const & se) {} try { this->handler.join(); } catch (std::system_error const & se) {} // clear queues this->in.clear(); this->out.clear(); } } #endif
[ "cgloeckner@freenet.de" ]
cgloeckner@freenet.de
ee79118f309e647488c5ef63a5000e29e09d0192
acc2f5336d768a7d86dbd2eec441283cfd11d52d
/src/server/gameserver/SlayerCorpse.cpp
7d623de3df1ea2158f9989f0493da842d22d7813
[]
no_license
stevexk/server
86df9e8c2448ad97db9c3ab86820beec507ef092
4ddb6e7cfa510bb13ccd87f56db008aa1be1baad
refs/heads/master
2020-01-23T22:00:57.359964
2015-09-18T14:58:27
2015-09-18T14:58:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
767
cpp
////////////////////////////////////////////////////////////////////////////// // Filename : SlayerCorpse.cpp // Written by : Reiot // Description : ////////////////////////////////////////////////////////////////////////////// #include "SlayerCorpse.h" #include "Creature.h" #include "Slayer.h" SlayerCorpse::SlayerCorpse (Slayer* pSlayer) throw(Error) { __BEGIN_TRY Assert(pSlayer != NULL); m_SlayerInfo = pSlayer->getSlayerInfo3(); setObjectID(m_SlayerInfo.getObjectID()); __END_CATCH } SlayerCorpse::~SlayerCorpse() throw() { __BEGIN_TRY __END_CATCH } string SlayerCorpse::toString () const throw() { __BEGIN_TRY StringStream msg; msg << "SlayerCorpse(" << m_SlayerInfo.toString() << ")"; return msg.toString(); __END_CATCH }
[ "tiancaiamao@gmail.com" ]
tiancaiamao@gmail.com
9be3e84cab8909cdf6f64ae74592541fd16bc594
72dbd64c404c27ca56b6c0e35582720bbc6dbc84
/src/main.cpp
dd00dfa2434ad56d7d4bc0898a9e1c5e88c18bb4
[]
no_license
RavNowak/Soundex
f70bb78800a5f3610339bac0bbb116aca12cdc56
8ea375bfba8761d415e39a7f0d669ae047215cc3
refs/heads/master
2020-04-01T07:17:38.018063
2018-10-15T17:27:27
2018-10-15T17:27:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
#include <iostream> #include "Soundex.hpp" int main() { std::cout << "Soundex!" << std::endl; return 0; }
[ "nowak9.private@gmail.com" ]
nowak9.private@gmail.com
00be03948f9ad9da7140007be0bec21eea442e4a
e04f3bebf39ff6ea8be005182e0d98d395b15337
/org.xtext.alma.sdmdsl/generated/include/SquareLawDetectorTable.h
c12fe86ce237608ab95e1b620f7f88767b1ffe15
[]
no_license
loriebi/SDMDSL
edb457caf440baa6638ba6997be3d81c613a0049
0a41e8d2c1b7c3f1eef1fbc39c793b347f7e9b2b
refs/heads/master
2021-01-23T20:32:13.222533
2017-09-08T14:05:53
2017-09-08T14:05:53
102,865,767
0
0
null
null
null
null
UTF-8
C++
false
false
13,645
h
/* * ALMA - Atacama Large Millimeter Array * (c) European Southern Observatory, 2002 * (c) Associated Universities Inc., 2002 * Copyright by ESO (in the framework of the ALMA collaboration), * Copyright by AUI (in the framework of the ALMA collaboration), * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY, without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA * * Warning! * -------------------------------------------------------------------- * | This is generated code! Do not modify this file. | * | If you do, all changes will be lost when the file is re-generated. | * -------------------------------------------------------------------- * * File SquareLawDetectorTable.h */ #ifndef SquareLawDetectorTable_CLASS #define SquareLawDetectorTable_CLASS #include <string> #include <vector> #include <map> #include <Tag.h> #include "CDetectorBandType.h" #include <ConversionException.h> #include <DuplicateKey.h> #include <UniquenessViolationException.h> #include <NoSuchRow.h> #include <DuplicateKey.h> #ifndef WITHOUT_ACS #include <asdmIDLC.h> #endif #include <Representable.h> #include <pthread.h> namespace asdm { //class asdm::ASDM; //class asdm::SquareLawDetectorRow; class ASDM; class SquareLawDetectorRow; /** * The SquareLawDetectorTable class is an Alma table. * <BR> * * \par Role * Processor information for total power detectors. * <BR> * Generated from model's revision "-1", branch * * <TABLE BORDER="1"> * <CAPTION> Attributes of SquareLawDetector </CAPTION> * <TR BGCOLOR="#AAAAAA"> <TH> Name </TH> <TH> Type </TH> <TH> Expected shape </TH> <TH> Comment </TH></TR> * <TR> <TH BGCOLOR="#CCCCCC" colspan="4" align="center"> Key </TD></TR> * <TR> * <TD><I> squareLawDetectorId </I></TD> * <TD> Tag</TD> * <TD> &nbsp; </TD> * <TD> &nbsp; identifies a unique row in the table. </TD> * </TR> * <TR> <TH BGCOLOR="#CCCCCC" colspan="4" valign="center"> Value <br> (Mandatory) </TH></TR> * <TR> * <TD> numBand (\f$N_{Band}\f$)</TD> * <TD> int </TD> * <TD> &nbsp; </TD> * <TD> &nbsp; the number of bands. </TD> * </TR> * <TR> * <TD> bandType </TD> * <TD> DetectorBandTypeMod::DetectorBandType </TD> * <TD> &nbsp; </TD> * <TD> &nbsp; identifies the band type. </TD> * </TR> * </TABLE> */ class SquareLawDetectorTable : public Representable { friend class ASDM; public: /** * Return the list of field names that make up key key * as an array of strings. * @return a vector of string. */ static const std::vector<std::string>& getKeyName(); virtual ~SquareLawDetectorTable(); /** * Return the container to which this table belongs. * * @return the ASDM containing this table. */ ASDM &getContainer() const; /** * Return the number of rows in the table. * * @return the number of rows in an unsigned int. */ unsigned int size() const; /** * Return the name of this table. * * This is a instance method of the class. * * @return the name of this table in a string. */ std::string getName() const; /** * Return the name of this table. * * This is a static method of the class. * * @return the name of this table in a string. */ static std::string name() ; /** * Return the version information about this table. * */ std::string getVersion() const ; /** * Return the names of the attributes of this table. * * @return a vector of string */ static const std::vector<std::string>& getAttributesNames(); /** * Return the default sorted list of attributes names in the binary representation of the table. * * @return a const reference to a vector of string */ static const std::vector<std::string>& defaultAttributesNamesInBin(); /** * Return this table's Entity. */ Entity getEntity() const; /** * Set this table's Entity. * @param e An entity. */ void setEntity(Entity e); /** * Produces an XML representation conform * to the schema defined for SquareLawDetector (SquareLawDetectorTable.xsd). * * @returns a string containing the XML representation. * @throws ConversionException */ std::string toXML() ; #ifndef WITHOUT_ACS // Conversion Methods /** * Convert this table into a SquareLawDetectorTableIDL CORBA structure. * * @return a pointer to a SquareLawDetectorTableIDL */ asdmIDL::SquareLawDetectorTableIDL *toIDL() ; /** * Fills the CORBA data structure passed in parameter * with the content of this table. * * @param x a reference to the asdmIDL::SquareLawDetectorTableIDL to be populated * with the content of this. */ void toIDL(asdmIDL::SquareLawDetectorTableIDL& x) const; #endif #ifndef WITHOUT_ACS /** * Populate this table from the content of a SquareLawDetectorTableIDL Corba structure. * * @throws DuplicateKey Thrown if the method tries to add a row having a key that is already in the table. * @throws ConversionException */ void fromIDL(asdmIDL::SquareLawDetectorTableIDL x) ; #endif // // ====> Row creation. // /** * Create a new row with default values. * @return a pointer on a SquareLawDetectorRow */ SquareLawDetectorRow *newRow(); /** * Create a new row initialized to the specified values. * @return a pointer on the created and initialized row. * @param numBand * @param bandType */ SquareLawDetectorRow *newRow(int numBand, DetectorBandTypeMod::DetectorBandType bandType); /** * Create a new row using a copy constructor mechanism. * * The method creates a new SquareLawDetectorRow owned by this. Each attribute of the created row * is a (deep) copy of the corresponding attribute of row. The method does not add * the created row to this, its simply parents it to this, a call to the add method * has to be done in order to get the row added (very likely after having modified * some of its attributes). * If row is null then the method returns a new SquareLawDetectorRow with default values for its attributes. * * @param row the row which is to be copied. */ SquareLawDetectorRow *newRow(SquareLawDetectorRow *row); // // ====> Append a row to its table. // /** * Add a row. * If there table contains a row whose key's fields are equal * to x's ones then return a pointer on this row (i.e. no actual insertion is performed) * otherwise add x to the table and return x. * @param x . A pointer on the row to be added. * @returns a pointer to a SquareLawDetectorRow. */ SquareLawDetectorRow* add(SquareLawDetectorRow* x) ; // // ====> Methods returning rows. // /** * Get a collection of pointers on the rows of the table. * @return Alls rows in a vector of pointers of SquareLawDetectorRow. The elements of this vector are stored in the order * in which they have been added to the SquareLawDetectorTable. */ std::vector<SquareLawDetectorRow *> get() ; /** * Get a const reference on the collection of rows pointers internally hold by the table. * @return A const reference of a vector of pointers of SquareLawDetectorRow. The elements of this vector are stored in the order * in which they have been added to the SquareLawDetectorTable. * */ const std::vector<SquareLawDetectorRow *>& get() const ; /** * Returns a SquareLawDetectorRow* given a key. * @return a pointer to the row having the key whose values are passed as parameters, or 0 if * no row exists for that key. * @param squareLawDetectorId * */ SquareLawDetectorRow* getRowByKey(Tag squareLawDetectorId); /** * Look up the table for a row whose all attributes except the autoincrementable one * are equal to the corresponding parameters of the method. * @return a pointer on this row if any, null otherwise. * * @param numBand * @param bandType */ SquareLawDetectorRow* lookup(int numBand, DetectorBandTypeMod::DetectorBandType bandType); void setUnknownAttributeBinaryReader(const std::string& attributeName, BinaryAttributeReaderFunctor* barFctr); BinaryAttributeReaderFunctor* getUnknownAttributeBinaryReader(const std::string& attributeName) const; private: /** * Create a SquareLawDetectorTable. * <p> * This constructor is private because only the * container can create tables. All tables must know the container * to which they belong. * @param container The container to which this table belongs. */ SquareLawDetectorTable (ASDM & container); ASDM & container; bool archiveAsBin; // If true archive binary else archive XML bool fileAsBin ; // If true file binary else file XML std::string version ; Entity entity; // A map for the autoincrementation algorithm std::map<std::string,int> noAutoIncIds; void autoIncrement(std::string key, SquareLawDetectorRow* x); /** * If this table has an autoincrementable attribute then check if *x verifies the rule of uniqueness and throw exception if not. * Check if *x verifies the key uniqueness rule and throw an exception if not. * Append x to its table. * @throws DuplicateKey * @throws UniquenessViolationException */ SquareLawDetectorRow* checkAndAdd(SquareLawDetectorRow* x, bool skipCheckUniqueness=false) ; /** * Brutally append an SquareLawDetectorRow x to the collection of rows already stored in this table. No uniqueness check is done ! * * @param SquareLawDetectorRow* x a pointer onto the SquareLawDetectorRow to be appended. */ void append(SquareLawDetectorRow* x) ; /** * Brutally append an SquareLawDetectorRow x to the collection of rows already stored in this table. No uniqueness check is done ! * * @param SquareLawDetectorRow* x a pointer onto the SquareLawDetectorRow to be appended. */ void addWithoutCheckingUnique(SquareLawDetectorRow* x) ; // A data structure to store the pointers on the table's rows. // In all cases we maintain a private vector of SquareLawDetectorRow s. std::vector<SquareLawDetectorRow * > privateRows; std::vector<SquareLawDetectorRow *> row; void error() ; //throw(ConversionException); /** * Populate this table from the content of a XML document that is required to * be conform to the XML schema defined for a SquareLawDetector (SquareLawDetectorTable.xsd). * @throws ConversionException * */ void fromXML(std::string& xmlDoc) ; std::map<std::string, BinaryAttributeReaderFunctor *> unknownAttributes2Functors; /** * Private methods involved during the build of this table out of the content * of file(s) containing an external representation of a SquareLawDetector table. */ void setFromMIMEFile(const std::string& directory); /* void openMIMEFile(const std::string& directory); */ void setFromXMLFile(const std::string& directory); /** * Serialize this into a stream of bytes and encapsulates that stream into a MIME message. * @returns a string containing the MIME message. * * @param byteOrder a const pointer to a static instance of the class ByteOrder. * */ std::string toMIME(const asdm::ByteOrder* byteOrder=asdm::ByteOrder::Machine_Endianity); /** * Extracts the binary part of a MIME message and deserialize its content * to fill this with the result of the deserialization. * @param mimeMsg the string containing the MIME message. * @throws ConversionException */ void setFromMIME(const std::string & mimeMsg); /** * Private methods involved during the export of this table into disk file(s). */ std::string MIMEXMLPart(const asdm::ByteOrder* byteOrder=asdm::ByteOrder::Machine_Endianity); /** * Stores a representation (binary or XML) of this table into a file. * * Depending on the boolean value of its private field fileAsBin a binary serialization of this (fileAsBin==true) * will be saved in a file "SquareLawDetector.bin" or an XML representation (fileAsBin==false) will be saved in a file "SquareLawDetector.xml". * The file is always written in a directory whose name is passed as a parameter. * @param directory The name of directory where the file containing the table's representation will be saved. * */ void toFile(std::string directory); /** * Load the table in memory if necessary. */ bool loadInProgress; void checkPresenceInMemory() { if (!presentInMemory && !loadInProgress) { loadInProgress = true; setFromFile(getContainer().getDirectory()); presentInMemory = true; loadInProgress = false; } } /** * Reads and parses a file containing a representation of a SquareLawDetectorTable as those produced by the toFile method. * This table is populated with the result of the parsing. * @param directory The name of the directory containing the file te be read and parsed. * @throws ConversionException If any error occurs while reading the * files in the directory or parsing them. * */ void setFromFile(const std::string& directory); }; } // End namespace asdm #endif /* SquareLawDetectorTable_CLASS */
[ "levan.l2ria@gmail.com" ]
levan.l2ria@gmail.com
61b8dbd2dbac9e5481fe5d1e58e34d19a82daa61
5ab2709e952b3e5154284993878fbf07c992b3fd
/MestelAriana_Assignment_002.cpp
eba19e8f60ee9cd190e1bc3a991cdcee194ade0e
[]
no_license
mnasafi/CSCI211
44ce99a37996c7f26775205bc72ab44a376333f6
1146b4c58245cdda734d808e78ba98db460f123e
refs/heads/master
2021-04-26T23:40:10.417343
2018-01-14T15:43:12
2018-01-14T15:43:12
123,835,378
1
0
null
2018-03-04T22:31:33
2018-03-04T22:31:33
null
UTF-8
C++
false
false
1,093
cpp
//MstelAriana_Assignment_002.cpp /***** Problem: Write a function: bool equivalent(int a[], int b[], int n) which takes two arrays a and b of length n and returns true is they are shift equivalent and false otherwise. Ideas: Use nested loops to figure out if the arrays are shift equivalent. Set up a testing variable that will count if the values in the arrays are the same. in the nested for loop test each number of the first array by a variable plus one modulo capacity to shift through everything. If they are equal it will return true. *****/ #include <iostream> using namespace std; bool equivalent(int a[], int b[], int n) { int test; for (int x = 0; x < n; x++) { test = 0; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if (a[i] == b[(j + 1) % n]) test++; } } if (test == n) return true; } return false; } int main () { int a[5] = {1, 2, 3, 4, 5}; int b[5] = {3, 4, 5, 1, 2}; if (equivalent(a, b, 5)) { cout << "They are equal." << endl; } else { cout << "They are not equal." << endl; } return 0; }
[ "arianamestel@Arianas-MBP.fios-router.home" ]
arianamestel@Arianas-MBP.fios-router.home
42549a8fec851ff01f80bdc057f8d1545550f5b1
7cffa9b29f855c68ec5efcf049f596dc7be6bff6
/example/make_red_in_cmy.cpp
64e06025ec10673c4234b355df469afb63d51598
[ "Apache-2.0" ]
permissive
lzs4073/color
c4e12e26cfe96022e0a5e6736a7abaadf9912c14
290c2c1550c499465f814ba89a214cbec19a72df
refs/heads/master
2020-04-03T07:16:33.120894
2016-02-02T16:18:25
2016-02-02T16:18:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
717
cpp
#include <iostream> #include <iomanip> #include <cstdint> #include "color/color.hpp" int main( int argc, char *argv[] ) { // Make instance of RGB in different formats //color::cmy<bool> c0( { true, false, false } ); //!< Not yet supported color::cmy<std::uint64_t> c2; color::cmy<std::uint32_t> c3; color::cmy<std::uint16_t> c4; color::cmy<std::uint8_t> c5; color::cmy<float> c6; color::cmy<double> c7; color::cmy<long double> c8; // make it red color::make::red( c2 ); color::make::red( c3 ); color::make::red( c4 ); color::make::red( c5 ); color::make::red( c6 ); color::make::red( c7 ); color::make::red( c8 ); return EXIT_SUCCESS; }
[ "dmilos@gmail.com" ]
dmilos@gmail.com
0c518497d1ab639acd8f18dd84d3bb1fcb7a131b
d4240a19b3a97e8c4a39a7925e8046ead6642d19
/2016/Enceladus/Temp/StagingArea/Data/il2cppOutput/Bulk_mscorlib_1.cpp
177e646e5d71ff2b1e84edc55a71493ba0f23bc9
[]
no_license
mgoadric/csci370
05561a24a8a6c3ace4d9ab673b20c03fc40686e9
9ffd5d0e373c8a415cd23799fc29a6f6d83c08af
refs/heads/master
2023-03-17T18:51:45.095212
2023-03-13T19:45:59
2023-03-13T19:45:59
81,270,581
2
3
null
null
null
null
UTF-8
C++
false
false
2,033,507
cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> // System.ArithmeticException struct ArithmeticException_t3261462543; // System.String struct String_t; // System.Runtime.Serialization.SerializationInfo struct SerializationInfo_t228987430; // System.Array struct Il2CppArray; // System.Object struct Il2CppObject; // System.Int32[] struct Int32U5BU5D_t3030399641; // System.Type struct Type_t; // System.Collections.IEnumerator struct IEnumerator_t1466026749; // System.Int64[] struct Int64U5BU5D_t717125112; // System.Collections.IComparer struct IComparer_t3952557350; // System.Array/Swapper struct Swapper_t2637371637; // System.Double[] struct DoubleU5BU5D_t1889952540; // System.Char[] struct CharU5BU5D_t1328083999; // System.Array/SimpleEnumerator struct SimpleEnumerator_t4019359169; // System.IAsyncResult struct IAsyncResult_t1999651008; // System.AsyncCallback struct AsyncCallback_t163412349; // System.ArrayTypeMismatchException struct ArrayTypeMismatchException_t2071164632; // System.AssemblyLoadEventHandler struct AssemblyLoadEventHandler_t2169307382; // System.AssemblyLoadEventArgs struct AssemblyLoadEventArgs_t4233815743; // System.Attribute struct Attribute_t542643598; // System.Reflection.MemberInfo struct MemberInfo_t; // System.Reflection.ParameterInfo struct ParameterInfo_t2249040075; // System.AttributeUsageAttribute struct AttributeUsageAttribute_t1057435127; // System.Byte[] struct ByteU5BU5D_t3397334013; // System.IFormatProvider struct IFormatProvider_t2849799027; // System.Globalization.CultureInfo struct CultureInfo_t3500843524; // System.CharEnumerator struct CharEnumerator_t1926099410; // System.CLSCompliantAttribute struct CLSCompliantAttribute_t809966061; // System.Collections.ArrayList struct ArrayList_t4252133567; // System.Collections.ICollection struct ICollection_t91669223; // System.Object[] struct ObjectU5BU5D_t3614634134; // System.Collections.ArrayList/ArrayListWrapper struct ArrayListWrapper_t3918858854; // System.Collections.ArrayList/FixedSizeArrayListWrapper struct FixedSizeArrayListWrapper_t3816042801; // System.Collections.ArrayList/ReadOnlyArrayListWrapper struct ReadOnlyArrayListWrapper_t4044524772; // System.Collections.ArrayList/SimpleEnumerator struct SimpleEnumerator_t579048438; // System.Collections.ArrayList/SynchronizedArrayListWrapper struct SynchronizedArrayListWrapper_t3317806524; // System.Collections.BitArray struct BitArray_t4180138994; // System.Collections.BitArray/BitArrayEnumerator struct BitArrayEnumerator_t4029388769; // System.Collections.CaseInsensitiveComparer struct CaseInsensitiveComparer_t157661140; // System.Collections.CaseInsensitiveHashCodeProvider struct CaseInsensitiveHashCodeProvider_t2307530285; // System.Globalization.TextInfo struct TextInfo_t3620182823; // System.Collections.CollectionBase struct CollectionBase_t1101587467; // System.Collections.IList struct IList_t3321498491; // System.Collections.Comparer struct Comparer_t3673668605; // System.Collections.Generic.KeyNotFoundException struct KeyNotFoundException_t1722175009; // System.Collections.Hashtable struct Hashtable_t909839986; // System.Collections.IHashCodeProvider struct IHashCodeProvider_t1980576455; // System.Collections.IDictionary struct IDictionary_t596158605; // System.Collections.IEqualityComparer struct IEqualityComparer_t2716208158; // System.Collections.IDictionaryEnumerator struct IDictionaryEnumerator_t259680273; // System.Collections.Hashtable/Slot[] struct SlotU5BU5D_t3166395312; // System.Collections.Hashtable/Enumerator struct Enumerator_t2466348361; // System.Collections.Hashtable/HashKeys struct HashKeys_t187688763; // System.Collections.Hashtable/HashValues struct HashValues_t2390200547; // System.Collections.Hashtable/KeyMarker struct KeyMarker_t4029226070; // System.Collections.Hashtable/SyncHashtable struct SyncHashtable_t1343674558; // System.Collections.SortedList struct SortedList_t3004938869; // System.Collections.SortedList/Enumerator struct Enumerator_t1531140124; // System.Collections.Stack struct Stack_t1043988394; // System.Collections.Stack/Enumerator struct Enumerator_t3156535659; // System.Text.Encoding struct Encoding_t663144255; // System.IO.TextWriter struct TextWriter_t4027217640; // System.IO.Stream struct Stream_t3255436806; // System.ContextBoundObject struct ContextBoundObject_t4264702438; // System.CultureAwareComparer struct CultureAwareComparer_t1533343251; // System.CurrentSystemTimeZone struct CurrentSystemTimeZone_t1172150369; // System.String[] struct StringU5BU5D_t1642385972; // System.Globalization.DaylightTime struct DaylightTime_t3800227331; // System.Exception struct Exception_t1927440687; // System.Globalization.DateTimeFormatInfo struct DateTimeFormatInfo_t2187473504; // System.Text.StringBuilder struct StringBuilder_t1221177846; // System.DBNull struct DBNull_t972229383; // System.Globalization.NumberFormatInfo struct NumberFormatInfo_t104580544; // System.Delegate struct Delegate_t3022476291; // System.Reflection.MethodInfo struct MethodInfo_t; // System.Delegate[] struct DelegateU5BU5D_t1606206610; // System.DelegateSerializationHolder struct DelegateSerializationHolder_t753405077; // System.DelegateSerializationHolder/DelegateEntry struct DelegateEntry_t3215410094; // System.Diagnostics.DebuggableAttribute struct DebuggableAttribute_t994551506; // System.Diagnostics.DebuggerBrowsableAttribute struct DebuggerBrowsableAttribute_t1386379234; // System.Diagnostics.DebuggerDisplayAttribute struct DebuggerDisplayAttribute_t1528914581; // System.Diagnostics.DebuggerHiddenAttribute struct DebuggerHiddenAttribute_t638884887; // System.Diagnostics.DebuggerStepThroughAttribute struct DebuggerStepThroughAttribute_t518825354; // System.Diagnostics.DebuggerTypeProxyAttribute struct DebuggerTypeProxyAttribute_t970972087; // System.Diagnostics.StackFrame struct StackFrame_t2050294881; // System.Reflection.MethodBase struct MethodBase_t904190842; // System.Diagnostics.StackTrace struct StackTrace_t2500644597; // System.Diagnostics.StackFrame[] struct StackFrameU5BU5D_t4208599292; // System.DivideByZeroException struct DivideByZeroException_t1660837001; // System.DllNotFoundException struct DllNotFoundException_t3636280042; // System.EntryPointNotFoundException struct EntryPointNotFoundException_t3956266210; // System.Enum struct Enum_t2459695545; // System.OperatingSystem struct OperatingSystem_t290860502; // System.EventArgs struct EventArgs_t3289624707; // System.EventHandler struct EventHandler_t277755526; // System.ExecutionEngineException struct ExecutionEngineException_t1360775125; // System.FieldAccessException struct FieldAccessException_t1797813379; // System.FlagsAttribute struct FlagsAttribute_t859561169; // System.FormatException struct FormatException_t2948921286; // System.Globalization.Calendar struct Calendar_t585061108; // System.Globalization.CompareInfo struct CompareInfo_t2310920157; // System.Globalization.SortKey struct SortKey_t1270563137; #include "class-internals.h" #include "codegen/il2cpp-codegen.h" #include "mscorlib_System_Array3829468939.h" #include "mscorlib_System_ArithmeticException3261462543.h" #include "mscorlib_System_ArithmeticException3261462543MethodDeclarations.h" #include "mscorlib_System_Void1841601450.h" #include "mscorlib_Locale4255929014MethodDeclarations.h" #include "mscorlib_System_SystemException3877406272MethodDeclarations.h" #include "mscorlib_System_Exception1927440687MethodDeclarations.h" #include "mscorlib_System_String2029220233.h" #include "mscorlib_System_Int322071877448.h" #include "mscorlib_System_Runtime_Serialization_Serialization228987430.h" #include "mscorlib_System_Runtime_Serialization_StreamingCon1417235061.h" #include "mscorlib_System_Array3829468939MethodDeclarations.h" #include "mscorlib_System_Object2689449295MethodDeclarations.h" #include "mscorlib_System_Object2689449295.h" #include "mscorlib_System_IndexOutOfRangeException3527622107MethodDeclarations.h" #include "mscorlib_System_ArgumentException3259014390MethodDeclarations.h" #include "mscorlib_System_IndexOutOfRangeException3527622107.h" #include "mscorlib_System_ArgumentException3259014390.h" #include "mscorlib_System_NotSupportedException1793819818MethodDeclarations.h" #include "mscorlib_System_NotSupportedException1793819818.h" #include "mscorlib_System_Boolean3825574718.h" #include "mscorlib_System_RankException1539875949MethodDeclarations.h" #include "mscorlib_System_RankException1539875949.h" #include "mscorlib_System_Int64909078037.h" #include "mscorlib_ArrayTypes.h" #include "mscorlib_System_Type1303803226.h" #include "mscorlib_System_Array_SimpleEnumerator4019359169MethodDeclarations.h" #include "mscorlib_System_Array_SimpleEnumerator4019359169.h" #include "mscorlib_System_ArgumentOutOfRangeException279959794MethodDeclarations.h" #include "mscorlib_System_ArgumentOutOfRangeException279959794.h" #include "mscorlib_System_ArgumentNullException628810857MethodDeclarations.h" #include "mscorlib_System_TypeLoadException723359155MethodDeclarations.h" #include "mscorlib_System_Type1303803226MethodDeclarations.h" #include "mscorlib_System_ArgumentNullException628810857.h" #include "mscorlib_System_TypeLoadException723359155.h" #include "mscorlib_System_RuntimeTypeHandle2330101084.h" #include "mscorlib_System_InvalidOperationException721527559MethodDeclarations.h" #include "mscorlib_System_Exception1927440687.h" #include "mscorlib_System_Collections_Comparer3673668605.h" #include "mscorlib_System_Collections_Comparer3673668605MethodDeclarations.h" #include "mscorlib_System_InvalidOperationException721527559.h" #include "mscorlib_System_InvalidCastException3625212209MethodDeclarations.h" #include "mscorlib_System_String2029220233MethodDeclarations.h" #include "mscorlib_System_ArrayTypeMismatchException2071164632MethodDeclarations.h" #include "mscorlib_System_InvalidCastException3625212209.h" #include "mscorlib_System_ArrayTypeMismatchException2071164632.h" #include "mscorlib_System_Array_Swapper2637371637.h" #include "mscorlib_System_Array_Swapper2637371637MethodDeclarations.h" #include "mscorlib_System_IntPtr2504060609.h" #include "mscorlib_System_Double4078015681.h" #include "mscorlib_System_UInt322149682021.h" #include "mscorlib_System_Char3454481338.h" #include "mscorlib_System_AsyncCallback163412349.h" #include "mscorlib_System_AssemblyLoadEventArgs4233815743.h" #include "mscorlib_System_AssemblyLoadEventArgs4233815743MethodDeclarations.h" #include "mscorlib_System_AssemblyLoadEventHandler2169307382.h" #include "mscorlib_System_AssemblyLoadEventHandler2169307382MethodDeclarations.h" #include "mscorlib_System_AsyncCallback163412349MethodDeclarations.h" #include "mscorlib_System_Attribute542643598.h" #include "mscorlib_System_Attribute542643598MethodDeclarations.h" #include "mscorlib_System_Reflection_MemberInfo4043097260.h" #include "mscorlib_System_MonoCustomAttrs2976585698MethodDeclarations.h" #include "mscorlib_System_Reflection_ParameterInfo2249040075.h" #include "mscorlib_System_Reflection_MemberTypes3343038963.h" #include "mscorlib_System_Reflection_MemberInfo4043097260MethodDeclarations.h" #include "mscorlib_System_Reflection_ParameterInfo2249040075MethodDeclarations.h" #include "mscorlib_System_ValueType3507792607MethodDeclarations.h" #include "mscorlib_System_AttributeTargets1984597432.h" #include "mscorlib_System_AttributeTargets1984597432MethodDeclarations.h" #include "mscorlib_System_AttributeUsageAttribute1057435127.h" #include "mscorlib_System_AttributeUsageAttribute1057435127MethodDeclarations.h" #include "mscorlib_System_BitConverter3195628829.h" #include "mscorlib_System_BitConverter3195628829MethodDeclarations.h" #include "mscorlib_System_Byte3683104436.h" #include "mscorlib_System_Text_StringBuilder1221177846MethodDeclarations.h" #include "mscorlib_System_Text_StringBuilder1221177846.h" #include "mscorlib_System_Boolean3825574718MethodDeclarations.h" #include "mscorlib_System_Convert2607082565MethodDeclarations.h" #include "mscorlib_System_DateTime693205669.h" #include "mscorlib_System_Decimal724701077.h" #include "mscorlib_System_Int164041245914.h" #include "mscorlib_System_SByte454417549.h" #include "mscorlib_System_Single2076509932.h" #include "mscorlib_System_UInt16986882611.h" #include "mscorlib_System_UInt642909196914.h" #include "mscorlib_System_Globalization_CultureInfo3500843524MethodDeclarations.h" #include "mscorlib_System_FormatException2948921286MethodDeclarations.h" #include "mscorlib_System_Globalization_CultureInfo3500843524.h" #include "mscorlib_System_FormatException2948921286.h" #include "mscorlib_System_TypeCode2536926201.h" #include "mscorlib_System_Buffer3497320070.h" #include "mscorlib_System_Buffer3497320070MethodDeclarations.h" #include "mscorlib_System_Byte3683104436MethodDeclarations.h" #include "mscorlib_System_Globalization_NumberStyles3408984435.h" #include "mscorlib_System_UInt322149682021MethodDeclarations.h" #include "mscorlib_System_OverflowException1075868493MethodDeclarations.h" #include "mscorlib_System_OverflowException1075868493.h" #include "mscorlib_System_NumberFormatter2933946347MethodDeclarations.h" #include "mscorlib_System_Char3454481338MethodDeclarations.h" #include "mscorlib_System_Globalization_UnicodeCategory682236799.h" #include "mscorlib_System_Globalization_TextInfo3620182823.h" #include "mscorlib_System_Globalization_TextInfo3620182823MethodDeclarations.h" #include "mscorlib_System_CharEnumerator1926099410.h" #include "mscorlib_System_CharEnumerator1926099410MethodDeclarations.h" #include "mscorlib_System_CLSCompliantAttribute809966061.h" #include "mscorlib_System_CLSCompliantAttribute809966061MethodDeclarations.h" #include "mscorlib_System_Collections_ArrayList4252133567.h" #include "mscorlib_System_Collections_ArrayList4252133567MethodDeclarations.h" #include "mscorlib_System_Collections_ArrayList_SimpleEnumera579048438MethodDeclarations.h" #include "mscorlib_System_Collections_ArrayList_SimpleEnumera579048438.h" #include "mscorlib_System_Collections_ArrayList_Synchronized3317806524MethodDeclarations.h" #include "mscorlib_System_Collections_ArrayList_Synchronized3317806524.h" #include "mscorlib_System_Collections_ArrayList_ReadOnlyArra4044524772MethodDeclarations.h" #include "mscorlib_System_Collections_ArrayList_ReadOnlyArra4044524772.h" #include "mscorlib_System_Collections_ArrayList_ArrayListWra3918858854.h" #include "mscorlib_System_Collections_ArrayList_ArrayListWra3918858854MethodDeclarations.h" #include "mscorlib_System_Collections_ArrayList_FixedSizeArr3816042801.h" #include "mscorlib_System_Collections_ArrayList_FixedSizeArr3816042801MethodDeclarations.h" #include "mscorlib_System_Threading_Monitor3228523394MethodDeclarations.h" #include "mscorlib_System_Collections_BitArray4180138994.h" #include "mscorlib_System_Collections_BitArray4180138994MethodDeclarations.h" #include "mscorlib_System_Collections_BitArray_BitArrayEnume4029388769MethodDeclarations.h" #include "mscorlib_System_Collections_BitArray_BitArrayEnume4029388769.h" #include "mscorlib_System_Collections_CaseInsensitiveComparer157661140.h" #include "mscorlib_System_Collections_CaseInsensitiveComparer157661140MethodDeclarations.h" #include "mscorlib_System_Globalization_CompareInfo2310920157.h" #include "mscorlib_System_Globalization_CompareInfo2310920157MethodDeclarations.h" #include "mscorlib_System_Globalization_CompareOptions2829943955.h" #include "mscorlib_System_Collections_CaseInsensitiveHashCod2307530285.h" #include "mscorlib_System_Collections_CaseInsensitiveHashCod2307530285MethodDeclarations.h" #include "mscorlib_System_Collections_CollectionBase1101587467.h" #include "mscorlib_System_Collections_CollectionBase1101587467MethodDeclarations.h" #include "mscorlib_System_Collections_CollectionDebuggerView1643796100.h" #include "mscorlib_System_Collections_CollectionDebuggerView1643796100MethodDeclarations.h" #include "mscorlib_System_Runtime_Serialization_Serialization228987430MethodDeclarations.h" #include "mscorlib_System_Collections_DictionaryEntry3048875398.h" #include "mscorlib_System_Collections_DictionaryEntry3048875398MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_KeyNotFoundExc1722175009.h" #include "mscorlib_System_Collections_Generic_KeyNotFoundExc1722175009MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Link2723257478.h" #include "mscorlib_System_Collections_Generic_Link2723257478MethodDeclarations.h" #include "mscorlib_System_Collections_Hashtable909839986.h" #include "mscorlib_System_Collections_Hashtable909839986MethodDeclarations.h" #include "mscorlib_System_Single2076509932MethodDeclarations.h" #include "mscorlib_System_Collections_Hashtable_Slot2022531261.h" #include "mscorlib_System_Runtime_CompilerServices_RuntimeHel266230107MethodDeclarations.h" #include "mscorlib_U3CPrivateImplementationDetailsU3E1486305137.h" #include "mscorlib_U3CPrivateImplementationDetailsU3E1486305137MethodDeclarations.h" #include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2844921915.h" #include "mscorlib_System_RuntimeFieldHandle2331729674.h" #include "mscorlib_System_Collections_Hashtable_Enumerator2466348361MethodDeclarations.h" #include "mscorlib_System_Collections_Hashtable_Enumerator2466348361.h" #include "mscorlib_System_Collections_Hashtable_EnumeratorMo2734922732.h" #include "mscorlib_System_Collections_Hashtable_HashKeys187688763MethodDeclarations.h" #include "mscorlib_System_Collections_Hashtable_HashKeys187688763.h" #include "mscorlib_System_Collections_Hashtable_HashValues2390200547MethodDeclarations.h" #include "mscorlib_System_Collections_Hashtable_HashValues2390200547.h" #include "mscorlib_System_Collections_Hashtable_KeyMarker4029226070.h" #include "mscorlib_System_Collections_Hashtable_KeyMarker4029226070MethodDeclarations.h" #include "mscorlib_System_Runtime_Serialization_Serialization753258759MethodDeclarations.h" #include "mscorlib_System_Runtime_Serialization_Serialization753258759.h" #include "mscorlib_System_Collections_Hashtable_SyncHashtabl1343674558MethodDeclarations.h" #include "mscorlib_System_Collections_Hashtable_SyncHashtabl1343674558.h" #include "mscorlib_System_Math2022911894MethodDeclarations.h" #include "mscorlib_System_Collections_Hashtable_EnumeratorMo2734922732MethodDeclarations.h" #include "mscorlib_System_Collections_Hashtable_Slot2022531261MethodDeclarations.h" #include "mscorlib_System_Collections_SortedList3004938869.h" #include "mscorlib_System_Collections_SortedList3004938869MethodDeclarations.h" #include "mscorlib_System_Collections_SortedList_Enumerator1531140124MethodDeclarations.h" #include "mscorlib_System_Collections_SortedList_Enumerator1531140124.h" #include "mscorlib_System_Collections_SortedList_EnumeratorM4029123303.h" #include "mscorlib_System_Collections_SortedList_Slot2267560602.h" #include "mscorlib_System_Collections_SortedList_EnumeratorM4029123303MethodDeclarations.h" #include "mscorlib_System_Collections_SortedList_Slot2267560602MethodDeclarations.h" #include "mscorlib_System_Collections_Stack1043988394.h" #include "mscorlib_System_Collections_Stack1043988394MethodDeclarations.h" #include "mscorlib_System_Collections_Stack_Enumerator3156535659MethodDeclarations.h" #include "mscorlib_System_Collections_Stack_Enumerator3156535659.h" #include "mscorlib_System_Configuration_Assemblies_AssemblyH4147282775.h" #include "mscorlib_System_Configuration_Assemblies_AssemblyH4147282775MethodDeclarations.h" #include "mscorlib_System_Configuration_Assemblies_AssemblyV1223556284.h" #include "mscorlib_System_Configuration_Assemblies_AssemblyV1223556284MethodDeclarations.h" #include "mscorlib_System_Console2311202731.h" #include "mscorlib_System_Console2311202731MethodDeclarations.h" #include "mscorlib_System_Environment3662374671MethodDeclarations.h" #include "mscorlib_System_Text_Encoding663144255MethodDeclarations.h" #include "mscorlib_System_Text_Encoding663144255.h" #include "mscorlib_System_IO_UnexceptionalStreamWriter1485343520MethodDeclarations.h" #include "mscorlib_System_IO_TextWriter4027217640MethodDeclarations.h" #include "mscorlib_System_IO_UnexceptionalStreamReader683371910MethodDeclarations.h" #include "mscorlib_System_IO_TextReader1561828458MethodDeclarations.h" #include "mscorlib_System_GC2902933594MethodDeclarations.h" #include "mscorlib_System_IO_Stream3255436806.h" #include "mscorlib_System_IO_UnexceptionalStreamWriter1485343520.h" #include "mscorlib_System_IO_TextWriter4027217640.h" #include "mscorlib_System_IO_StreamWriter3858580635.h" #include "mscorlib_System_IO_StreamWriter3858580635MethodDeclarations.h" #include "mscorlib_System_IO_UnexceptionalStreamReader683371910.h" #include "mscorlib_System_IO_TextReader1561828458.h" #include "mscorlib_System_IO_FileAccess4282042064.h" #include "mscorlib_System_IO_FileStream1695958676MethodDeclarations.h" #include "mscorlib_System_IO_NullStream322566869MethodDeclarations.h" #include "mscorlib_System_IO_IOException2458421087.h" #include "mscorlib_System_IO_FileStream1695958676.h" #include "mscorlib_System_IO_NullStream322566869.h" #include "mscorlib_System_IO_MonoIO2170088987MethodDeclarations.h" #include "mscorlib_System_ContextBoundObject4264702438.h" #include "mscorlib_System_ContextBoundObject4264702438MethodDeclarations.h" #include "mscorlib_System_MarshalByRefObject1285298191MethodDeclarations.h" #include "mscorlib_System_Convert2607082565.h" #include "mscorlib_System_DBNull972229383.h" #include "mscorlib_System_DBNull972229383MethodDeclarations.h" #include "mscorlib_System_Security_Cryptography_ToBase64Trans625739466MethodDeclarations.h" #include "mscorlib_System_Text_ASCIIEncoding3022927988MethodDeclarations.h" #include "mscorlib_System_Text_ASCIIEncoding3022927988.h" #include "mscorlib_System_Decimal724701077MethodDeclarations.h" #include "mscorlib_System_Double4078015681MethodDeclarations.h" #include "mscorlib_System_DateTime693205669MethodDeclarations.h" #include "mscorlib_System_Int164041245914MethodDeclarations.h" #include "mscorlib_System_Int322071877448MethodDeclarations.h" #include "mscorlib_System_Int64909078037MethodDeclarations.h" #include "mscorlib_System_SByte454417549MethodDeclarations.h" #include "mscorlib_System_UInt16986882611MethodDeclarations.h" #include "mscorlib_System_UInt642909196914MethodDeclarations.h" #include "mscorlib_System_Globalization_DateTimeFormatInfo2187473504.h" #include "mscorlib_System_Globalization_NumberFormatInfo104580544.h" #include "mscorlib_System_CultureAwareComparer1533343251.h" #include "mscorlib_System_CultureAwareComparer1533343251MethodDeclarations.h" #include "mscorlib_System_StringComparer1574862926MethodDeclarations.h" #include "mscorlib_System_Globalization_SortKey1270563137.h" #include "mscorlib_System_Globalization_SortKey1270563137MethodDeclarations.h" #include "mscorlib_System_CurrentSystemTimeZone1172150369.h" #include "mscorlib_System_CurrentSystemTimeZone1172150369MethodDeclarations.h" #include "mscorlib_System_TimeZone4008205267MethodDeclarations.h" #include "mscorlib_System_Globalization_DaylightTime3800227331.h" #include "mscorlib_System_TimeSpan3430258949.h" #include "mscorlib_System_TimeZone4008205267.h" #include "mscorlib_System_Globalization_DaylightTime3800227331MethodDeclarations.h" #include "mscorlib_System_TimeSpan3430258949MethodDeclarations.h" #include "mscorlib_System_DateTimeKind2186819611.h" #include "mscorlib_System_Collections_Generic_GenericCompare2726148469MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_GenericEqualit3972055101MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_GenericCompare2726148469.h" #include "mscorlib_System_Collections_Generic_GenericEqualit3972055101.h" #include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3672778798.h" #include "mscorlib_System_MonoTouchAOTHelper2464748856.h" #include "mscorlib_System_MonoTouchAOTHelper2464748856MethodDeclarations.h" #include "mscorlib_System_DateTime_Which4078252770.h" #include "mscorlib_System_DayOfWeek721777893.h" #include "mscorlib_System_Globalization_DateTimeStyles370343085.h" #include "mscorlib_System_DateTimeOffset1362988906.h" #include "mscorlib_System_Globalization_DateTimeFormatInfo2187473504MethodDeclarations.h" #include "mscorlib_System_DateTimeOffset1362988906MethodDeclarations.h" #include "mscorlib_System_DateTimeUtils1974353808MethodDeclarations.h" #include "mscorlib_System_DateTime_Which4078252770MethodDeclarations.h" #include "mscorlib_System_DateTimeKind2186819611MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_GenericCompare3395931706MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_GenericEquality346871042MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_GenericCompare3395931706.h" #include "mscorlib_System_Collections_Generic_GenericEquality346871042.h" #include "mscorlib_System_Nullable_1_gen1693325264.h" #include "mscorlib_System_Nullable_1_gen1693325264MethodDeclarations.h" #include "mscorlib_System_DateTimeUtils1974353808.h" #include "mscorlib_System_Globalization_Calendar585061108.h" #include "mscorlib_System_Globalization_Calendar585061108MethodDeclarations.h" #include "mscorlib_System_DayOfWeek721777893MethodDeclarations.h" #include "mscorlib_System_UnitySerializationHolder2045574117MethodDeclarations.h" #include "mscorlib_System_DivideByZeroException1660837001MethodDeclarations.h" #include "mscorlib_System_DivideByZeroException1660837001.h" #include "mscorlib_System_Globalization_NumberFormatInfo104580544MethodDeclarations.h" #include "mscorlib_System_Delegate3022476291.h" #include "mscorlib_System_Delegate3022476291MethodDeclarations.h" #include "mscorlib_System_Reflection_MethodInfo3330546337.h" #include "mscorlib_System_IntPtr2504060609MethodDeclarations.h" #include "mscorlib_System_Reflection_MethodBase904190842MethodDeclarations.h" #include "mscorlib_System_RuntimeMethodHandle894824333.h" #include "mscorlib_System_RuntimeMethodHandle894824333MethodDeclarations.h" #include "mscorlib_System_Reflection_MethodBase904190842.h" #include "mscorlib_System_Reflection_MethodInfo3330546337MethodDeclarations.h" #include "mscorlib_System_Reflection_BindingFlags1082350898.h" #include "mscorlib_System_Reflection_ParameterModifier1820634920.h" #include "mscorlib_System_Reflection_Binder3404612058.h" #include "mscorlib_System_DelegateData1572802995.h" #include "mscorlib_System_DelegateSerializationHolder753405077MethodDeclarations.h" #include "mscorlib_System_MulticastNotSupportedException1815247018MethodDeclarations.h" #include "mscorlib_System_MulticastNotSupportedException1815247018.h" #include "mscorlib_System_DelegateData1572802995MethodDeclarations.h" #include "mscorlib_System_DelegateSerializationHolder753405077.h" #include "mscorlib_System_DelegateSerializationHolder_Delega3215410094MethodDeclarations.h" #include "mscorlib_System_DelegateSerializationHolder_Delega3215410094.h" #include "mscorlib_System_Reflection_Assembly4268412390.h" #include "mscorlib_System_Reflection_Assembly4268412390MethodDeclarations.h" #include "mscorlib_System_Runtime_Remoting_RemotingServices2399536837MethodDeclarations.h" #include "mscorlib_System_Runtime_Remoting_RemotingException109604560MethodDeclarations.h" #include "mscorlib_System_Runtime_Remoting_RemotingException109604560.h" #include "mscorlib_System_Diagnostics_DebuggableAttribute994551506.h" #include "mscorlib_System_Diagnostics_DebuggableAttribute994551506MethodDeclarations.h" #include "mscorlib_System_Diagnostics_DebuggableAttribute_De2073970606.h" #include "mscorlib_System_Diagnostics_DebuggableAttribute_De2073970606MethodDeclarations.h" #include "mscorlib_System_Diagnostics_DebuggerBrowsableAttri1386379234.h" #include "mscorlib_System_Diagnostics_DebuggerBrowsableAttri1386379234MethodDeclarations.h" #include "mscorlib_System_Diagnostics_DebuggerBrowsableState944457511.h" #include "mscorlib_System_Diagnostics_DebuggerBrowsableState944457511MethodDeclarations.h" #include "mscorlib_System_Diagnostics_DebuggerDisplayAttribu1528914581.h" #include "mscorlib_System_Diagnostics_DebuggerDisplayAttribu1528914581MethodDeclarations.h" #include "mscorlib_System_Diagnostics_DebuggerHiddenAttribute638884887.h" #include "mscorlib_System_Diagnostics_DebuggerHiddenAttribute638884887MethodDeclarations.h" #include "mscorlib_System_Diagnostics_DebuggerStepThroughAttr518825354.h" #include "mscorlib_System_Diagnostics_DebuggerStepThroughAttr518825354MethodDeclarations.h" #include "mscorlib_System_Diagnostics_DebuggerTypeProxyAttrib970972087.h" #include "mscorlib_System_Diagnostics_DebuggerTypeProxyAttrib970972087MethodDeclarations.h" #include "mscorlib_System_Diagnostics_StackFrame2050294881.h" #include "mscorlib_System_Diagnostics_StackFrame2050294881MethodDeclarations.h" #include "mscorlib_System_Security_SecurityException887327375.h" #include "mscorlib_System_Diagnostics_StackTrace2500644597.h" #include "mscorlib_System_Diagnostics_StackTrace2500644597MethodDeclarations.h" #include "mscorlib_System_DllNotFoundException3636280042.h" #include "mscorlib_System_DllNotFoundException3636280042MethodDeclarations.h" #include "mscorlib_System_EntryPointNotFoundException3956266210.h" #include "mscorlib_System_EntryPointNotFoundException3956266210MethodDeclarations.h" #include "mscorlib_System_Enum2459695545.h" #include "mscorlib_System_Enum2459695545MethodDeclarations.h" #include "mscorlib_System_MonoEnumInfo2335995564.h" #include "mscorlib_System_MonoEnumInfo2335995564MethodDeclarations.h" #include "mscorlib_System_MonoEnumInfo_IntComparer1754594706.h" #include "mscorlib_System_MonoEnumInfo_ShortComparer1280224355.h" #include "mscorlib_System_MonoEnumInfo_SByteComparer4284068120.h" #include "mscorlib_System_MonoEnumInfo_LongComparer3923115571.h" #include "mscorlib_System_Environment3662374671.h" #include "mscorlib_System_PlatformID1006634368.h" #include "mscorlib_System_OperatingSystem290860502.h" #include "mscorlib_System_Version1755874712MethodDeclarations.h" #include "mscorlib_System_OperatingSystem290860502MethodDeclarations.h" #include "mscorlib_System_Version1755874712.h" #include "mscorlib_System_Environment_SpecialFolder1519540278.h" #include "mscorlib_System_IO_Path41728875MethodDeclarations.h" #include "mscorlib_System_IO_File1930543328MethodDeclarations.h" #include "mscorlib_System_IO_StreamReader2360341767MethodDeclarations.h" #include "mscorlib_System_IO_StreamReader2360341767.h" #include "mscorlib_System_IO_FileNotFoundException4200667904.h" #include "mscorlib_System_Environment_SpecialFolder1519540278MethodDeclarations.h" #include "mscorlib_System_EventArgs3289624707.h" #include "mscorlib_System_EventArgs3289624707MethodDeclarations.h" #include "mscorlib_System_EventHandler277755526.h" #include "mscorlib_System_EventHandler277755526MethodDeclarations.h" #include "mscorlib_System_Reflection_AssemblyName894705941MethodDeclarations.h" #include "mscorlib_System_Reflection_AssemblyName894705941.h" #include "mscorlib_System_ExecutionEngineException1360775125.h" #include "mscorlib_System_ExecutionEngineException1360775125MethodDeclarations.h" #include "mscorlib_System_FieldAccessException1797813379.h" #include "mscorlib_System_FieldAccessException1797813379MethodDeclarations.h" #include "mscorlib_System_MemberAccessException2005094827MethodDeclarations.h" #include "mscorlib_System_FlagsAttribute859561169.h" #include "mscorlib_System_FlagsAttribute859561169MethodDeclarations.h" #include "mscorlib_System_GC2902933594.h" #include "mscorlib_System_Globalization_CCFixed2263957954.h" #include "mscorlib_System_Globalization_CCFixed2263957954MethodDeclarations.h" #include "mscorlib_System_Globalization_CCMath656981594MethodDeclarations.h" #include "mscorlib_System_Globalization_CCGregorianCalendar852423602.h" #include "mscorlib_System_Globalization_CCGregorianCalendar852423602MethodDeclarations.h" #include "mscorlib_System_Globalization_CCMath656981594.h" #include "mscorlib_Mono_Globalization_Unicode_SimpleCollator4081201584MethodDeclarations.h" #include "mscorlib_Mono_Globalization_Unicode_SimpleCollator4081201584.h" #include "mscorlib_Mono_Globalization_Unicode_MSCompatUnicod1231687219MethodDeclarations.h" #include "mscorlib_System_Globalization_CompareOptions2829943955MethodDeclarations.h" #include "mscorlib_System_Threading_Thread241561612MethodDeclarations.h" #include "mscorlib_System_Threading_Thread241561612.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g3986656710MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g3986656710.h" #include "mscorlib_System_Globalization_DateTimeFormatFlags3140910561.h" #include "mscorlib_System_Globalization_DateTimeFormatFlags3140910561MethodDeclarations.h" // System.Int32 System.Array::IndexOf<System.Object>(!!0[],!!0,System.Int32,System.Int32) extern "C" int32_t Array_IndexOf_TisIl2CppObject_m1815604637_gshared (Il2CppObject * __this /* static, unused */, ObjectU5BU5D_t3614634134* p0, Il2CppObject * p1, int32_t p2, int32_t p3, const MethodInfo* method); #define Array_IndexOf_TisIl2CppObject_m1815604637(__this /* static, unused */, p0, p1, p2, p3, method) (( int32_t (*) (Il2CppObject * /* static, unused */, ObjectU5BU5D_t3614634134*, Il2CppObject *, int32_t, int32_t, const MethodInfo*))Array_IndexOf_TisIl2CppObject_m1815604637_gshared)(__this /* static, unused */, p0, p1, p2, p3, method) // System.Void System.Array::Sort<System.Object>(!!0[],System.Int32,System.Int32) extern "C" void Array_Sort_TisIl2CppObject_m143182644_gshared (Il2CppObject * __this /* static, unused */, ObjectU5BU5D_t3614634134* p0, int32_t p1, int32_t p2, const MethodInfo* method); #define Array_Sort_TisIl2CppObject_m143182644(__this /* static, unused */, p0, p1, p2, method) (( void (*) (Il2CppObject * /* static, unused */, ObjectU5BU5D_t3614634134*, int32_t, int32_t, const MethodInfo*))Array_Sort_TisIl2CppObject_m143182644_gshared)(__this /* static, unused */, p0, p1, p2, method) #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Void System.ArithmeticException::.ctor() extern Il2CppCodeGenString* _stringLiteral1357342140; extern const uint32_t ArithmeticException__ctor_m134979386_MetadataUsageId; extern "C" void ArithmeticException__ctor_m134979386 (ArithmeticException_t3261462543 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArithmeticException__ctor_m134979386_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1357342140, /*hidden argument*/NULL); SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2147024362), /*hidden argument*/NULL); return; } } // System.Void System.ArithmeticException::.ctor(System.String) extern "C" void ArithmeticException__ctor_m4208398840 (ArithmeticException_t3261462543 * __this, String_t* ___message0, const MethodInfo* method) { { String_t* L_0 = ___message0; SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2147024362), /*hidden argument*/NULL); return; } } // System.Void System.ArithmeticException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void ArithmeticException__ctor_m104771799 (ArithmeticException_t3261462543 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; SystemException__ctor_m2688248668(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.Array::.ctor() extern "C" void Array__ctor_m531674930 (Il2CppArray * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Object System.Array::System.Collections.IList.get_Item(System.Int32) extern Il2CppClass* IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral3431013888; extern const uint32_t Array_System_Collections_IList_get_Item_m2088124007_MetadataUsageId; extern "C" Il2CppObject * Array_System_Collections_IList_get_Item_m2088124007 (Il2CppArray * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_System_Collections_IList_get_Item_m2088124007_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___index0; int32_t L_1 = Array_get_Length_m1498215565(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_0) >= ((uint32_t)L_1)))) { goto IL_0017; } } { IndexOutOfRangeException_t3527622107 * L_2 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var); IndexOutOfRangeException__ctor_m1847153122(L_2, _stringLiteral1460639766, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0017: { int32_t L_3 = Array_get_Rank_m3837250695(__this, /*hidden argument*/NULL); if ((((int32_t)L_3) <= ((int32_t)1))) { goto IL_0033; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_5 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0033: { int32_t L_6 = ___index0; Il2CppObject * L_7 = Array_GetValueImpl_m2679649099(__this, L_6, /*hidden argument*/NULL); return L_7; } } // System.Void System.Array::System.Collections.IList.set_Item(System.Int32,System.Object) extern Il2CppClass* IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral3431013888; extern const uint32_t Array_System_Collections_IList_set_Item_m4290470392_MetadataUsageId; extern "C" void Array_System_Collections_IList_set_Item_m4290470392 (Il2CppArray * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_System_Collections_IList_set_Item_m4290470392_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___index0; int32_t L_1 = Array_get_Length_m1498215565(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_0) >= ((uint32_t)L_1)))) { goto IL_0017; } } { IndexOutOfRangeException_t3527622107 * L_2 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var); IndexOutOfRangeException__ctor_m1847153122(L_2, _stringLiteral1460639766, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0017: { int32_t L_3 = Array_get_Rank_m3837250695(__this, /*hidden argument*/NULL); if ((((int32_t)L_3) <= ((int32_t)1))) { goto IL_0033; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_5 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0033: { Il2CppObject * L_6 = ___value1; int32_t L_7 = ___index0; Array_SetValueImpl_m1292741952(__this, L_6, L_7, /*hidden argument*/NULL); return; } } // System.Int32 System.Array::System.Collections.IList.Add(System.Object) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t Array_System_Collections_IList_Add_m1693837354_MetadataUsageId; extern "C" int32_t Array_System_Collections_IList_Add_m1693837354 (Il2CppArray * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_System_Collections_IList_Add_m1693837354_MetadataUsageId); s_Il2CppMethodInitialized = true; } { NotSupportedException_t1793819818 * L_0 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m3232764727(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void System.Array::System.Collections.IList.Clear() extern "C" void Array_System_Collections_IList_Clear_m2184190880 (Il2CppArray * __this, const MethodInfo* method) { { int32_t L_0 = Array_GetLowerBound_m3733237204(__this, 0, /*hidden argument*/NULL); int32_t L_1 = Array_get_Length_m1498215565(__this, /*hidden argument*/NULL); Array_Clear_m782967417(NULL /*static, unused*/, __this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Boolean System.Array::System.Collections.IList.Contains(System.Object) extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3431013888; extern const uint32_t Array_System_Collections_IList_Contains_m2996619020_MetadataUsageId; extern "C" bool Array_System_Collections_IList_Contains_m2996619020 (Il2CppArray * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_System_Collections_IList_Contains_m2996619020_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; { int32_t L_0 = Array_get_Rank_m3837250695(__this, /*hidden argument*/NULL); if ((((int32_t)L_0) <= ((int32_t)1))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_2 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { int32_t L_3 = Array_get_Length_m1498215565(__this, /*hidden argument*/NULL); V_0 = L_3; V_1 = 0; goto IL_0042; } IL_002a: { int32_t L_4 = V_1; Il2CppObject * L_5 = Array_GetValueImpl_m2679649099(__this, L_4, /*hidden argument*/NULL); Il2CppObject * L_6 = ___value0; bool L_7 = Object_Equals_m969736273(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_003e; } } { return (bool)1; } IL_003e: { int32_t L_8 = V_1; V_1 = ((int32_t)((int32_t)L_8+(int32_t)1)); } IL_0042: { int32_t L_9 = V_1; int32_t L_10 = V_0; if ((((int32_t)L_9) < ((int32_t)L_10))) { goto IL_002a; } } { return (bool)0; } } // System.Int32 System.Array::System.Collections.IList.IndexOf(System.Object) extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3431013888; extern const uint32_t Array_System_Collections_IList_IndexOf_m3525625060_MetadataUsageId; extern "C" int32_t Array_System_Collections_IList_IndexOf_m3525625060 (Il2CppArray * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_System_Collections_IList_IndexOf_m3525625060_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; { int32_t L_0 = Array_get_Rank_m3837250695(__this, /*hidden argument*/NULL); if ((((int32_t)L_0) <= ((int32_t)1))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_2 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { int32_t L_3 = Array_get_Length_m1498215565(__this, /*hidden argument*/NULL); V_0 = L_3; V_1 = 0; goto IL_004a; } IL_002a: { int32_t L_4 = V_1; Il2CppObject * L_5 = Array_GetValueImpl_m2679649099(__this, L_4, /*hidden argument*/NULL); Il2CppObject * L_6 = ___value0; bool L_7 = Object_Equals_m969736273(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_0046; } } { int32_t L_8 = V_1; int32_t L_9 = Array_GetLowerBound_m3733237204(__this, 0, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_8+(int32_t)L_9)); } IL_0046: { int32_t L_10 = V_1; V_1 = ((int32_t)((int32_t)L_10+(int32_t)1)); } IL_004a: { int32_t L_11 = V_1; int32_t L_12 = V_0; if ((((int32_t)L_11) < ((int32_t)L_12))) { goto IL_002a; } } { int32_t L_13 = Array_GetLowerBound_m3733237204(__this, 0, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_13-(int32_t)1)); } } // System.Void System.Array::System.Collections.IList.Insert(System.Int32,System.Object) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t Array_System_Collections_IList_Insert_m756977623_MetadataUsageId; extern "C" void Array_System_Collections_IList_Insert_m756977623 (Il2CppArray * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_System_Collections_IList_Insert_m756977623_MetadataUsageId); s_Il2CppMethodInitialized = true; } { NotSupportedException_t1793819818 * L_0 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m3232764727(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void System.Array::System.Collections.IList.Remove(System.Object) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t Array_System_Collections_IList_Remove_m2438892375_MetadataUsageId; extern "C" void Array_System_Collections_IList_Remove_m2438892375 (Il2CppArray * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_System_Collections_IList_Remove_m2438892375_MetadataUsageId); s_Il2CppMethodInitialized = true; } { NotSupportedException_t1793819818 * L_0 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m3232764727(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void System.Array::System.Collections.IList.RemoveAt(System.Int32) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t Array_System_Collections_IList_RemoveAt_m3212908653_MetadataUsageId; extern "C" void Array_System_Collections_IList_RemoveAt_m3212908653 (Il2CppArray * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_System_Collections_IList_RemoveAt_m3212908653_MetadataUsageId); s_Il2CppMethodInitialized = true; } { NotSupportedException_t1793819818 * L_0 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m3232764727(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Int32 System.Array::System.Collections.ICollection.get_Count() extern "C" int32_t Array_System_Collections_ICollection_get_Count_m2897196527 (Il2CppArray * __this, const MethodInfo* method) { { int32_t L_0 = Array_get_Length_m1498215565(__this, /*hidden argument*/NULL); return L_0; } } // System.Int32 System.Array::InternalArray__ICollection_get_Count() extern "C" int32_t Array_InternalArray__ICollection_get_Count_m2593513816 (Il2CppArray * __this, const MethodInfo* method) { { int32_t L_0 = Array_get_Length_m1498215565(__this, /*hidden argument*/NULL); return L_0; } } // System.Boolean System.Array::InternalArray__ICollection_get_IsReadOnly() extern "C" bool Array_InternalArray__ICollection_get_IsReadOnly_m3781285045 (Il2CppArray * __this, const MethodInfo* method) { { return (bool)1; } } // System.Void System.Array::InternalArray__ICollection_Clear() extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1461460571; extern const uint32_t Array_InternalArray__ICollection_Clear_m1939687317_MetadataUsageId; extern "C" void Array_InternalArray__ICollection_Clear_m1939687317 (Il2CppArray * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_InternalArray__ICollection_Clear_m1939687317_MetadataUsageId); s_Il2CppMethodInitialized = true; } { NotSupportedException_t1793819818 * L_0 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_0, _stringLiteral1461460571, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void System.Array::InternalArray__RemoveAt(System.Int32) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1461460571; extern const uint32_t Array_InternalArray__RemoveAt_m1126483634_MetadataUsageId; extern "C" void Array_InternalArray__RemoveAt_m1126483634 (Il2CppArray * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_InternalArray__RemoveAt_m1126483634_MetadataUsageId); s_Il2CppMethodInitialized = true; } { NotSupportedException_t1793819818 * L_0 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_0, _stringLiteral1461460571, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Int32 System.Array::get_Length() extern "C" int32_t Array_get_Length_m1498215565 (Il2CppArray * __this, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; { int32_t L_0 = Array_GetLength_m2083296647(__this, 0, /*hidden argument*/NULL); V_0 = L_0; V_1 = 1; goto IL_001d; } IL_000f: { int32_t L_1 = V_0; int32_t L_2 = V_1; int32_t L_3 = Array_GetLength_m2083296647(__this, L_2, /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_1*(int32_t)L_3)); int32_t L_4 = V_1; V_1 = ((int32_t)((int32_t)L_4+(int32_t)1)); } IL_001d: { int32_t L_5 = V_1; int32_t L_6 = Array_get_Rank_m3837250695(__this, /*hidden argument*/NULL); if ((((int32_t)L_5) < ((int32_t)L_6))) { goto IL_000f; } } { int32_t L_7 = V_0; return L_7; } } // System.Int64 System.Array::get_LongLength() extern "C" int64_t Array_get_LongLength_m2538298538 (Il2CppArray * __this, const MethodInfo* method) { { int32_t L_0 = Array_get_Length_m1498215565(__this, /*hidden argument*/NULL); return (((int64_t)((int64_t)L_0))); } } // System.Int32 System.Array::get_Rank() extern "C" int32_t Array_get_Rank_m3837250695 (Il2CppArray * __this, const MethodInfo* method) { { int32_t L_0 = Array_GetRank_m4129149560(__this, /*hidden argument*/NULL); return L_0; } } // System.Int32 System.Array::GetRank() extern "C" int32_t Array_GetRank_m4129149560 (Il2CppArray * __this, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Array_GetRank_m4129149560_ftn) (Il2CppArray *); return ((Array_GetRank_m4129149560_ftn)mscorlib::System::Array::GetRank) (__this); } // System.Int32 System.Array::GetLength(System.Int32) extern "C" int32_t Array_GetLength_m2083296647 (Il2CppArray * __this, int32_t ___dimension0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Array_GetLength_m2083296647_ftn) (Il2CppArray *, int32_t); return ((Array_GetLength_m2083296647_ftn)mscorlib::System::Array::GetLength) (__this, ___dimension0); } // System.Int64 System.Array::GetLongLength(System.Int32) extern "C" int64_t Array_GetLongLength_m3005360186 (Il2CppArray * __this, int32_t ___dimension0, const MethodInfo* method) { { int32_t L_0 = ___dimension0; int32_t L_1 = Array_GetLength_m2083296647(__this, L_0, /*hidden argument*/NULL); return (((int64_t)((int64_t)L_1))); } } // System.Int32 System.Array::GetLowerBound(System.Int32) extern "C" int32_t Array_GetLowerBound_m3733237204 (Il2CppArray * __this, int32_t ___dimension0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Array_GetLowerBound_m3733237204_ftn) (Il2CppArray *, int32_t); return ((Array_GetLowerBound_m3733237204_ftn)mscorlib::System::Array::GetLowerBound) (__this, ___dimension0); } // System.Object System.Array::GetValue(System.Int32[]) extern "C" Il2CppObject * Array_GetValue_m3550694941 (Il2CppArray * __this, Int32U5BU5D_t3030399641* ___indices0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef Il2CppObject * (*Array_GetValue_m3550694941_ftn) (Il2CppArray *, Int32U5BU5D_t3030399641*); return ((Array_GetValue_m3550694941_ftn)mscorlib::System::Array::GetValue) (__this, ___indices0); } // System.Void System.Array::SetValue(System.Object,System.Int32[]) extern "C" void Array_SetValue_m2421438042 (Il2CppArray * __this, Il2CppObject * ___value0, Int32U5BU5D_t3030399641* ___indices1, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*Array_SetValue_m2421438042_ftn) (Il2CppArray *, Il2CppObject *, Int32U5BU5D_t3030399641*); ((Array_SetValue_m2421438042_ftn)mscorlib::System::Array::SetValue) (__this, ___value0, ___indices1); } // System.Object System.Array::GetValueImpl(System.Int32) extern "C" Il2CppObject * Array_GetValueImpl_m2679649099 (Il2CppArray * __this, int32_t ___pos0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef Il2CppObject * (*Array_GetValueImpl_m2679649099_ftn) (Il2CppArray *, int32_t); return ((Array_GetValueImpl_m2679649099_ftn)mscorlib::System::Array::GetValueImpl) (__this, ___pos0); } // System.Void System.Array::SetValueImpl(System.Object,System.Int32) extern "C" void Array_SetValueImpl_m1292741952 (Il2CppArray * __this, Il2CppObject * ___value0, int32_t ___pos1, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*Array_SetValueImpl_m1292741952_ftn) (Il2CppArray *, Il2CppObject *, int32_t); ((Array_SetValueImpl_m1292741952_ftn)mscorlib::System::Array::SetValueImpl) (__this, ___value0, ___pos1); } // System.Boolean System.Array::FastCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32) extern "C" bool Array_FastCopy_m933468106 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___source0, int32_t ___source_idx1, Il2CppArray * ___dest2, int32_t ___dest_idx3, int32_t ___length4, const MethodInfo* method) { using namespace il2cpp::icalls; typedef bool (*Array_FastCopy_m933468106_ftn) (Il2CppArray *, int32_t, Il2CppArray *, int32_t, int32_t); return ((Array_FastCopy_m933468106_ftn)mscorlib::System::Array::FastCopy) (___source0, ___source_idx1, ___dest2, ___dest_idx3, ___length4); } // System.Array System.Array::CreateInstanceImpl(System.Type,System.Int32[],System.Int32[]) extern "C" Il2CppArray * Array_CreateInstanceImpl_m614034505 (Il2CppObject * __this /* static, unused */, Type_t * ___elementType0, Int32U5BU5D_t3030399641* ___lengths1, Int32U5BU5D_t3030399641* ___bounds2, const MethodInfo* method) { using namespace il2cpp::icalls; typedef Il2CppArray * (*Array_CreateInstanceImpl_m614034505_ftn) (Type_t *, Int32U5BU5D_t3030399641*, Int32U5BU5D_t3030399641*); return ((Array_CreateInstanceImpl_m614034505_ftn)mscorlib::System::Array::CreateInstanceImpl) (___elementType0, ___lengths1, ___bounds2); } // System.Boolean System.Array::get_IsSynchronized() extern "C" bool Array_get_IsSynchronized_m1423050723 (Il2CppArray * __this, const MethodInfo* method) { { return (bool)0; } } // System.Object System.Array::get_SyncRoot() extern "C" Il2CppObject * Array_get_SyncRoot_m2127481503 (Il2CppArray * __this, const MethodInfo* method) { { return __this; } } // System.Boolean System.Array::get_IsFixedSize() extern "C" bool Array_get_IsFixedSize_m2250877846 (Il2CppArray * __this, const MethodInfo* method) { { return (bool)1; } } // System.Boolean System.Array::get_IsReadOnly() extern "C" bool Array_get_IsReadOnly_m1341198107 (Il2CppArray * __this, const MethodInfo* method) { { return (bool)0; } } // System.Collections.IEnumerator System.Array::GetEnumerator() extern Il2CppClass* SimpleEnumerator_t4019359169_il2cpp_TypeInfo_var; extern const uint32_t Array_GetEnumerator_m2284404958_MetadataUsageId; extern "C" Il2CppObject * Array_GetEnumerator_m2284404958 (Il2CppArray * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_GetEnumerator_m2284404958_MetadataUsageId); s_Il2CppMethodInitialized = true; } { SimpleEnumerator_t4019359169 * L_0 = (SimpleEnumerator_t4019359169 *)il2cpp_codegen_object_new(SimpleEnumerator_t4019359169_il2cpp_TypeInfo_var); SimpleEnumerator__ctor_m2272112645(L_0, __this, /*hidden argument*/NULL); return L_0; } } // System.Int32 System.Array::GetUpperBound(System.Int32) extern "C" int32_t Array_GetUpperBound_m1352329707 (Il2CppArray * __this, int32_t ___dimension0, const MethodInfo* method) { { int32_t L_0 = ___dimension0; int32_t L_1 = Array_GetLowerBound_m3733237204(__this, L_0, /*hidden argument*/NULL); int32_t L_2 = ___dimension0; int32_t L_3 = Array_GetLength_m2083296647(__this, L_2, /*hidden argument*/NULL); return ((int32_t)((int32_t)((int32_t)((int32_t)L_1+(int32_t)L_3))-(int32_t)1)); } } // System.Object System.Array::GetValue(System.Int32) extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3907469583; extern Il2CppCodeGenString* _stringLiteral2848055309; extern const uint32_t Array_GetValue_m3284370071_MetadataUsageId; extern "C" Il2CppObject * Array_GetValue_m3284370071 (Il2CppArray * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_GetValue_m3284370071_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = Array_get_Rank_m3837250695(__this, /*hidden argument*/NULL); if ((((int32_t)L_0) == ((int32_t)1))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3907469583, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_2 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { int32_t L_3 = ___index0; int32_t L_4 = Array_GetLowerBound_m3733237204(__this, 0, /*hidden argument*/NULL); if ((((int32_t)L_3) < ((int32_t)L_4))) { goto IL_0036; } } { int32_t L_5 = ___index0; int32_t L_6 = Array_GetUpperBound_m1352329707(__this, 0, /*hidden argument*/NULL); if ((((int32_t)L_5) <= ((int32_t)L_6))) { goto IL_0046; } } IL_0036: { String_t* L_7 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2848055309, /*hidden argument*/NULL); IndexOutOfRangeException_t3527622107 * L_8 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var); IndexOutOfRangeException__ctor_m1847153122(L_8, L_7, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_0046: { int32_t L_9 = ___index0; int32_t L_10 = Array_GetLowerBound_m3733237204(__this, 0, /*hidden argument*/NULL); Il2CppObject * L_11 = Array_GetValueImpl_m2679649099(__this, ((int32_t)((int32_t)L_9-(int32_t)L_10)), /*hidden argument*/NULL); return L_11; } } // System.Object System.Array::GetValue(System.Int32,System.Int32) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Array_GetValue_m3431538774_MetadataUsageId; extern "C" Il2CppObject * Array_GetValue_m3431538774 (Il2CppArray * __this, int32_t ___index10, int32_t ___index21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_GetValue_m3431538774_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)2)); int32_t L_1 = ___index10; (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)L_1); Int32U5BU5D_t3030399641* L_2 = L_0; int32_t L_3 = ___index21; (L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (int32_t)L_3); V_0 = L_2; Int32U5BU5D_t3030399641* L_4 = V_0; Il2CppObject * L_5 = Array_GetValue_m3550694941(__this, L_4, /*hidden argument*/NULL); return L_5; } } // System.Object System.Array::GetValue(System.Int32,System.Int32,System.Int32) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Array_GetValue_m1302935803_MetadataUsageId; extern "C" Il2CppObject * Array_GetValue_m1302935803 (Il2CppArray * __this, int32_t ___index10, int32_t ___index21, int32_t ___index32, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_GetValue_m1302935803_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3)); int32_t L_1 = ___index10; (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)L_1); Int32U5BU5D_t3030399641* L_2 = L_0; int32_t L_3 = ___index21; (L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (int32_t)L_3); Int32U5BU5D_t3030399641* L_4 = L_2; int32_t L_5 = ___index32; (L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (int32_t)L_5); V_0 = L_4; Int32U5BU5D_t3030399641* L_6 = V_0; Il2CppObject * L_7 = Array_GetValue_m3550694941(__this, L_6, /*hidden argument*/NULL); return L_7; } } // System.Object System.Array::GetValue(System.Int64) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral3370991523; extern const uint32_t Array_GetValue_m152202090_MetadataUsageId; extern "C" Il2CppObject * Array_GetValue_m152202090 (Il2CppArray * __this, int64_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_GetValue_m152202090_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___index0; if ((((int64_t)L_0) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0014; } } { int64_t L_1 = ___index0; if ((((int64_t)L_1) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0029; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral1460639766, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0029: { int64_t L_4 = ___index0; Il2CppObject * L_5 = Array_GetValue_m3284370071(__this, (((int32_t)((int32_t)L_4))), /*hidden argument*/NULL); return L_5; } } // System.Object System.Array::GetValue(System.Int64,System.Int64) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2785722155; extern Il2CppCodeGenString* _stringLiteral3370991523; extern Il2CppCodeGenString* _stringLiteral2382437628; extern const uint32_t Array_GetValue_m518505780_MetadataUsageId; extern "C" Il2CppObject * Array_GetValue_m518505780 (Il2CppArray * __this, int64_t ___index10, int64_t ___index21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_GetValue_m518505780_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___index10; if ((((int64_t)L_0) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0014; } } { int64_t L_1 = ___index10; if ((((int64_t)L_1) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0029; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral2785722155, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0029: { int64_t L_4 = ___index21; if ((((int64_t)L_4) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_003d; } } { int64_t L_5 = ___index21; if ((((int64_t)L_5) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0052; } } IL_003d: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_7 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_7, _stringLiteral2382437628, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0052: { int64_t L_8 = ___index10; int64_t L_9 = ___index21; Il2CppObject * L_10 = Array_GetValue_m3431538774(__this, (((int32_t)((int32_t)L_8))), (((int32_t)((int32_t)L_9))), /*hidden argument*/NULL); return L_10; } } // System.Object System.Array::GetValue(System.Int64,System.Int64,System.Int64) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2785722155; extern Il2CppCodeGenString* _stringLiteral3370991523; extern Il2CppCodeGenString* _stringLiteral2382437628; extern Il2CppCodeGenString* _stringLiteral3948521569; extern const uint32_t Array_GetValue_m3182152438_MetadataUsageId; extern "C" Il2CppObject * Array_GetValue_m3182152438 (Il2CppArray * __this, int64_t ___index10, int64_t ___index21, int64_t ___index32, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_GetValue_m3182152438_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___index10; if ((((int64_t)L_0) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0014; } } { int64_t L_1 = ___index10; if ((((int64_t)L_1) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0029; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral2785722155, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0029: { int64_t L_4 = ___index21; if ((((int64_t)L_4) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_003d; } } { int64_t L_5 = ___index21; if ((((int64_t)L_5) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0052; } } IL_003d: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_7 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_7, _stringLiteral2382437628, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0052: { int64_t L_8 = ___index32; if ((((int64_t)L_8) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0066; } } { int64_t L_9 = ___index32; if ((((int64_t)L_9) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_007b; } } IL_0066: { String_t* L_10 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_11 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_11, _stringLiteral3948521569, L_10, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_007b: { int64_t L_12 = ___index10; int64_t L_13 = ___index21; int64_t L_14 = ___index32; Il2CppObject * L_15 = Array_GetValue_m1302935803(__this, (((int32_t)((int32_t)L_12))), (((int32_t)((int32_t)L_13))), (((int32_t)((int32_t)L_14))), /*hidden argument*/NULL); return L_15; } } // System.Void System.Array::SetValue(System.Object,System.Int64) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral3370991523; extern const uint32_t Array_SetValue_m1489959987_MetadataUsageId; extern "C" void Array_SetValue_m1489959987 (Il2CppArray * __this, Il2CppObject * ___value0, int64_t ___index1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_SetValue_m1489959987_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___index1; if ((((int64_t)L_0) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0014; } } { int64_t L_1 = ___index1; if ((((int64_t)L_1) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0029; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral1460639766, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0029: { Il2CppObject * L_4 = ___value0; int64_t L_5 = ___index1; Array_SetValue_m2652759566(__this, L_4, (((int32_t)((int32_t)L_5))), /*hidden argument*/NULL); return; } } // System.Void System.Array::SetValue(System.Object,System.Int64,System.Int64) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2785722155; extern Il2CppCodeGenString* _stringLiteral3370991523; extern Il2CppCodeGenString* _stringLiteral2382437628; extern const uint32_t Array_SetValue_m2671138705_MetadataUsageId; extern "C" void Array_SetValue_m2671138705 (Il2CppArray * __this, Il2CppObject * ___value0, int64_t ___index11, int64_t ___index22, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_SetValue_m2671138705_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { int64_t L_0 = ___index11; if ((((int64_t)L_0) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0014; } } { int64_t L_1 = ___index11; if ((((int64_t)L_1) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0029; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral2785722155, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0029: { int64_t L_4 = ___index22; if ((((int64_t)L_4) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_003d; } } { int64_t L_5 = ___index22; if ((((int64_t)L_5) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0052; } } IL_003d: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_7 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_7, _stringLiteral2382437628, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0052: { Int32U5BU5D_t3030399641* L_8 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)2)); int64_t L_9 = ___index11; (L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)(((int32_t)((int32_t)L_9)))); Int32U5BU5D_t3030399641* L_10 = L_8; int64_t L_11 = ___index22; (L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (int32_t)(((int32_t)((int32_t)L_11)))); V_0 = L_10; Il2CppObject * L_12 = ___value0; Int32U5BU5D_t3030399641* L_13 = V_0; Array_SetValue_m2421438042(__this, L_12, L_13, /*hidden argument*/NULL); return; } } // System.Void System.Array::SetValue(System.Object,System.Int64,System.Int64,System.Int64) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2785722155; extern Il2CppCodeGenString* _stringLiteral3370991523; extern Il2CppCodeGenString* _stringLiteral2382437628; extern Il2CppCodeGenString* _stringLiteral3948521569; extern const uint32_t Array_SetValue_m2039608971_MetadataUsageId; extern "C" void Array_SetValue_m2039608971 (Il2CppArray * __this, Il2CppObject * ___value0, int64_t ___index11, int64_t ___index22, int64_t ___index33, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_SetValue_m2039608971_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { int64_t L_0 = ___index11; if ((((int64_t)L_0) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0014; } } { int64_t L_1 = ___index11; if ((((int64_t)L_1) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0029; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral2785722155, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0029: { int64_t L_4 = ___index22; if ((((int64_t)L_4) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_003d; } } { int64_t L_5 = ___index22; if ((((int64_t)L_5) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0052; } } IL_003d: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_7 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_7, _stringLiteral2382437628, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0052: { int64_t L_8 = ___index33; if ((((int64_t)L_8) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0068; } } { int64_t L_9 = ___index33; if ((((int64_t)L_9) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_007d; } } IL_0068: { String_t* L_10 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_11 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_11, _stringLiteral3948521569, L_10, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_007d: { Int32U5BU5D_t3030399641* L_12 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3)); int64_t L_13 = ___index11; (L_12)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)(((int32_t)((int32_t)L_13)))); Int32U5BU5D_t3030399641* L_14 = L_12; int64_t L_15 = ___index22; (L_14)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (int32_t)(((int32_t)((int32_t)L_15)))); Int32U5BU5D_t3030399641* L_16 = L_14; int64_t L_17 = ___index33; (L_16)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (int32_t)(((int32_t)((int32_t)L_17)))); V_0 = L_16; Il2CppObject * L_18 = ___value0; Int32U5BU5D_t3030399641* L_19 = V_0; Array_SetValue_m2421438042(__this, L_18, L_19, /*hidden argument*/NULL); return; } } // System.Void System.Array::SetValue(System.Object,System.Int32) extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3907469583; extern Il2CppCodeGenString* _stringLiteral3882085323; extern const uint32_t Array_SetValue_m2652759566_MetadataUsageId; extern "C" void Array_SetValue_m2652759566 (Il2CppArray * __this, Il2CppObject * ___value0, int32_t ___index1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_SetValue_m2652759566_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = Array_get_Rank_m3837250695(__this, /*hidden argument*/NULL); if ((((int32_t)L_0) == ((int32_t)1))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3907469583, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_2 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { int32_t L_3 = ___index1; int32_t L_4 = Array_GetLowerBound_m3733237204(__this, 0, /*hidden argument*/NULL); if ((((int32_t)L_3) < ((int32_t)L_4))) { goto IL_0036; } } { int32_t L_5 = ___index1; int32_t L_6 = Array_GetUpperBound_m1352329707(__this, 0, /*hidden argument*/NULL); if ((((int32_t)L_5) <= ((int32_t)L_6))) { goto IL_0046; } } IL_0036: { String_t* L_7 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3882085323, /*hidden argument*/NULL); IndexOutOfRangeException_t3527622107 * L_8 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var); IndexOutOfRangeException__ctor_m1847153122(L_8, L_7, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_0046: { Il2CppObject * L_9 = ___value0; int32_t L_10 = ___index1; int32_t L_11 = Array_GetLowerBound_m3733237204(__this, 0, /*hidden argument*/NULL); Array_SetValueImpl_m1292741952(__this, L_9, ((int32_t)((int32_t)L_10-(int32_t)L_11)), /*hidden argument*/NULL); return; } } // System.Void System.Array::SetValue(System.Object,System.Int32,System.Int32) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Array_SetValue_m2469980129_MetadataUsageId; extern "C" void Array_SetValue_m2469980129 (Il2CppArray * __this, Il2CppObject * ___value0, int32_t ___index11, int32_t ___index22, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_SetValue_m2469980129_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)2)); int32_t L_1 = ___index11; (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)L_1); Int32U5BU5D_t3030399641* L_2 = L_0; int32_t L_3 = ___index22; (L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (int32_t)L_3); V_0 = L_2; Il2CppObject * L_4 = ___value0; Int32U5BU5D_t3030399641* L_5 = V_0; Array_SetValue_m2421438042(__this, L_4, L_5, /*hidden argument*/NULL); return; } } // System.Void System.Array::SetValue(System.Object,System.Int32,System.Int32,System.Int32) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Array_SetValue_m3301692024_MetadataUsageId; extern "C" void Array_SetValue_m3301692024 (Il2CppArray * __this, Il2CppObject * ___value0, int32_t ___index11, int32_t ___index22, int32_t ___index33, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_SetValue_m3301692024_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3)); int32_t L_1 = ___index11; (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)L_1); Int32U5BU5D_t3030399641* L_2 = L_0; int32_t L_3 = ___index22; (L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (int32_t)L_3); Int32U5BU5D_t3030399641* L_4 = L_2; int32_t L_5 = ___index33; (L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (int32_t)L_5); V_0 = L_4; Il2CppObject * L_6 = ___value0; Int32U5BU5D_t3030399641* L_7 = V_0; Array_SetValue_m2421438042(__this, L_6, L_7, /*hidden argument*/NULL); return; } } // System.Array System.Array::CreateInstance(System.Type,System.Int32) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Array_CreateInstance_m138919384_MetadataUsageId; extern "C" Il2CppArray * Array_CreateInstance_m138919384 (Il2CppObject * __this /* static, unused */, Type_t * ___elementType0, int32_t ___length1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_CreateInstance_m138919384_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)1)); int32_t L_1 = ___length1; (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)L_1); V_0 = L_0; Type_t * L_2 = ___elementType0; Int32U5BU5D_t3030399641* L_3 = V_0; Il2CppArray * L_4 = Array_CreateInstance_m3327690220(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); return L_4; } } // System.Array System.Array::CreateInstance(System.Type,System.Int32,System.Int32) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Array_CreateInstance_m15016505_MetadataUsageId; extern "C" Il2CppArray * Array_CreateInstance_m15016505 (Il2CppObject * __this /* static, unused */, Type_t * ___elementType0, int32_t ___length11, int32_t ___length22, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_CreateInstance_m15016505_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)2)); int32_t L_1 = ___length11; (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)L_1); Int32U5BU5D_t3030399641* L_2 = L_0; int32_t L_3 = ___length22; (L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (int32_t)L_3); V_0 = L_2; Type_t * L_4 = ___elementType0; Int32U5BU5D_t3030399641* L_5 = V_0; Il2CppArray * L_6 = Array_CreateInstance_m3327690220(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL); return L_6; } } // System.Array System.Array::CreateInstance(System.Type,System.Int32,System.Int32,System.Int32) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Array_CreateInstance_m3310016470_MetadataUsageId; extern "C" Il2CppArray * Array_CreateInstance_m3310016470 (Il2CppObject * __this /* static, unused */, Type_t * ___elementType0, int32_t ___length11, int32_t ___length22, int32_t ___length33, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_CreateInstance_m3310016470_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3)); int32_t L_1 = ___length11; (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)L_1); Int32U5BU5D_t3030399641* L_2 = L_0; int32_t L_3 = ___length22; (L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (int32_t)L_3); Int32U5BU5D_t3030399641* L_4 = L_2; int32_t L_5 = ___length33; (L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (int32_t)L_5); V_0 = L_4; Type_t * L_6 = ___elementType0; Int32U5BU5D_t3030399641* L_7 = V_0; Il2CppArray * L_8 = Array_CreateInstance_m3327690220(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); return L_8; } } // System.Array System.Array::CreateInstance(System.Type,System.Int32[]) extern const Il2CppType* Void_t1841601450_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* TypeLoadException_t723359155_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2690051438; extern Il2CppCodeGenString* _stringLiteral1038069323; extern Il2CppCodeGenString* _stringLiteral4081503116; extern Il2CppCodeGenString* _stringLiteral595888867; extern Il2CppCodeGenString* _stringLiteral3176636489; extern const uint32_t Array_CreateInstance_m3327690220_MetadataUsageId; extern "C" Il2CppArray * Array_CreateInstance_m3327690220 (Il2CppObject * __this /* static, unused */, Type_t * ___elementType0, Int32U5BU5D_t3030399641* ___lengths1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_CreateInstance_m3327690220_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; { Type_t * L_0 = ___elementType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2690051438, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Int32U5BU5D_t3030399641* L_2 = ___lengths1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1038069323, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { Int32U5BU5D_t3030399641* L_4 = ___lengths1; if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length))))) <= ((int32_t)((int32_t)255)))) { goto IL_0035; } } { TypeLoadException_t723359155 * L_5 = (TypeLoadException_t723359155 *)il2cpp_codegen_object_new(TypeLoadException_t723359155_il2cpp_TypeInfo_var); TypeLoadException__ctor_m3218688554(L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0035: { V_0 = (Int32U5BU5D_t3030399641*)NULL; Type_t * L_6 = ___elementType0; Type_t * L_7 = VirtFuncInvoker0< Type_t * >::Invoke(36 /* System.Type System.Type::get_UnderlyingSystemType() */, L_6); ___elementType0 = L_7; Type_t * L_8 = ___elementType0; bool L_9 = Type_get_IsSystemType_m2276830817(L_8, /*hidden argument*/NULL); if (L_9) { goto IL_005a; } } { ArgumentException_t3259014390 * L_10 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_10, _stringLiteral4081503116, _stringLiteral2690051438, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } IL_005a: { Type_t * L_11 = ___elementType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_12 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Void_t1841601450_0_0_0_var), /*hidden argument*/NULL); bool L_13 = Type_Equals_m1326467719(L_11, L_12, /*hidden argument*/NULL); if (!L_13) { goto IL_007a; } } { NotSupportedException_t1793819818 * L_14 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_14, _stringLiteral595888867, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_14); } IL_007a: { Type_t * L_15 = ___elementType0; bool L_16 = VirtFuncInvoker0< bool >::Invoke(76 /* System.Boolean System.Type::get_ContainsGenericParameters() */, L_15); if (!L_16) { goto IL_0090; } } { NotSupportedException_t1793819818 * L_17 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_17, _stringLiteral3176636489, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_17); } IL_0090: { Type_t * L_18 = ___elementType0; Int32U5BU5D_t3030399641* L_19 = ___lengths1; Int32U5BU5D_t3030399641* L_20 = V_0; Il2CppArray * L_21 = Array_CreateInstanceImpl_m614034505(NULL /*static, unused*/, L_18, L_19, L_20, /*hidden argument*/NULL); return L_21; } } // System.Array System.Array::CreateInstance(System.Type,System.Int32[],System.Int32[]) extern const Il2CppType* Void_t1841601450_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* TypeLoadException_t723359155_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2690051438; extern Il2CppCodeGenString* _stringLiteral1038069323; extern Il2CppCodeGenString* _stringLiteral1014596810; extern Il2CppCodeGenString* _stringLiteral4081503116; extern Il2CppCodeGenString* _stringLiteral595888867; extern Il2CppCodeGenString* _stringLiteral3176636489; extern Il2CppCodeGenString* _stringLiteral2383951408; extern Il2CppCodeGenString* _stringLiteral2110321650; extern Il2CppCodeGenString* _stringLiteral4213008451; extern Il2CppCodeGenString* _stringLiteral3599604514; extern const uint32_t Array_CreateInstance_m1054139389_MetadataUsageId; extern "C" Il2CppArray * Array_CreateInstance_m1054139389 (Il2CppObject * __this /* static, unused */, Type_t * ___elementType0, Int32U5BU5D_t3030399641* ___lengths1, Int32U5BU5D_t3030399641* ___lowerBounds2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_CreateInstance_m1054139389_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { Type_t * L_0 = ___elementType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2690051438, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Int32U5BU5D_t3030399641* L_2 = ___lengths1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1038069323, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { Int32U5BU5D_t3030399641* L_4 = ___lowerBounds2; if (L_4) { goto IL_0033; } } { ArgumentNullException_t628810857 * L_5 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_5, _stringLiteral1014596810, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0033: { Type_t * L_6 = ___elementType0; Type_t * L_7 = VirtFuncInvoker0< Type_t * >::Invoke(36 /* System.Type System.Type::get_UnderlyingSystemType() */, L_6); ___elementType0 = L_7; Type_t * L_8 = ___elementType0; bool L_9 = Type_get_IsSystemType_m2276830817(L_8, /*hidden argument*/NULL); if (L_9) { goto IL_0056; } } { ArgumentException_t3259014390 * L_10 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_10, _stringLiteral4081503116, _stringLiteral2690051438, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } IL_0056: { Type_t * L_11 = ___elementType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_12 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Void_t1841601450_0_0_0_var), /*hidden argument*/NULL); bool L_13 = Type_Equals_m1326467719(L_11, L_12, /*hidden argument*/NULL); if (!L_13) { goto IL_0076; } } { NotSupportedException_t1793819818 * L_14 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_14, _stringLiteral595888867, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_14); } IL_0076: { Type_t * L_15 = ___elementType0; bool L_16 = VirtFuncInvoker0< bool >::Invoke(76 /* System.Boolean System.Type::get_ContainsGenericParameters() */, L_15); if (!L_16) { goto IL_008c; } } { NotSupportedException_t1793819818 * L_17 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_17, _stringLiteral3176636489, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_17); } IL_008c: { Int32U5BU5D_t3030399641* L_18 = ___lengths1; if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_18)->max_length))))) >= ((int32_t)1))) { goto IL_00a5; } } { String_t* L_19 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2383951408, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_20 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_20, L_19, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_20); } IL_00a5: { Int32U5BU5D_t3030399641* L_21 = ___lengths1; Int32U5BU5D_t3030399641* L_22 = ___lowerBounds2; if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_21)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_22)->max_length))))))) { goto IL_00c0; } } { String_t* L_23 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2110321650, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_24 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_24, L_23, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_24); } IL_00c0: { V_0 = 0; goto IL_0112; } IL_00c7: { Int32U5BU5D_t3030399641* L_25 = ___lengths1; int32_t L_26 = V_0; int32_t L_27 = L_26; int32_t L_28 = (L_25)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_27)); if ((((int32_t)L_28) >= ((int32_t)0))) { goto IL_00e5; } } { String_t* L_29 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4213008451, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_30 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_30, _stringLiteral1038069323, L_29, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_30); } IL_00e5: { Int32U5BU5D_t3030399641* L_31 = ___lowerBounds2; int32_t L_32 = V_0; int32_t L_33 = L_32; int32_t L_34 = (L_31)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_33)); Int32U5BU5D_t3030399641* L_35 = ___lengths1; int32_t L_36 = V_0; int32_t L_37 = L_36; int32_t L_38 = (L_35)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_37)); if ((((int64_t)((int64_t)((int64_t)(((int64_t)((int64_t)L_34)))+(int64_t)(((int64_t)((int64_t)L_38)))))) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_010e; } } { String_t* L_39 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3599604514, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_40 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_40, _stringLiteral1038069323, L_39, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_40); } IL_010e: { int32_t L_41 = V_0; V_0 = ((int32_t)((int32_t)L_41+(int32_t)1)); } IL_0112: { int32_t L_42 = V_0; Int32U5BU5D_t3030399641* L_43 = ___lowerBounds2; if ((((int32_t)L_42) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_43)->max_length))))))) { goto IL_00c7; } } { Int32U5BU5D_t3030399641* L_44 = ___lengths1; if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_44)->max_length))))) <= ((int32_t)((int32_t)255)))) { goto IL_012e; } } { TypeLoadException_t723359155 * L_45 = (TypeLoadException_t723359155 *)il2cpp_codegen_object_new(TypeLoadException_t723359155_il2cpp_TypeInfo_var); TypeLoadException__ctor_m3218688554(L_45, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_45); } IL_012e: { Type_t * L_46 = ___elementType0; Int32U5BU5D_t3030399641* L_47 = ___lengths1; Int32U5BU5D_t3030399641* L_48 = ___lowerBounds2; Il2CppArray * L_49 = Array_CreateInstanceImpl_m614034505(NULL /*static, unused*/, L_46, L_47, L_48, /*hidden argument*/NULL); return L_49; } } // System.Int32[] System.Array::GetIntArray(System.Int64[]) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1188922308; extern Il2CppCodeGenString* _stringLiteral1559569414; extern const uint32_t Array_GetIntArray_m71808116_MetadataUsageId; extern "C" Int32U5BU5D_t3030399641* Array_GetIntArray_m71808116 (Il2CppObject * __this /* static, unused */, Int64U5BU5D_t717125112* ___values0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_GetIntArray_m71808116_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; Int32U5BU5D_t3030399641* V_1 = NULL; int32_t V_2 = 0; int64_t V_3 = 0; { Int64U5BU5D_t717125112* L_0 = ___values0; V_0 = (((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length)))); int32_t L_1 = V_0; V_1 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)L_1)); V_2 = 0; goto IL_0048; } IL_0012: { Int64U5BU5D_t717125112* L_2 = ___values0; int32_t L_3 = V_2; int32_t L_4 = L_3; int64_t L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4)); V_3 = L_5; int64_t L_6 = V_3; if ((((int64_t)L_6) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_002a; } } { int64_t L_7 = V_3; if ((((int64_t)L_7) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_003f; } } IL_002a: { String_t* L_8 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1559569414, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_9 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_9, _stringLiteral1188922308, L_8, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_9); } IL_003f: { Int32U5BU5D_t3030399641* L_10 = V_1; int32_t L_11 = V_2; int64_t L_12 = V_3; (L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11), (int32_t)(((int32_t)((int32_t)L_12)))); int32_t L_13 = V_2; V_2 = ((int32_t)((int32_t)L_13+(int32_t)1)); } IL_0048: { int32_t L_14 = V_2; int32_t L_15 = V_0; if ((((int32_t)L_14) < ((int32_t)L_15))) { goto IL_0012; } } { Int32U5BU5D_t3030399641* L_16 = V_1; return L_16; } } // System.Array System.Array::CreateInstance(System.Type,System.Int64[]) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1038069323; extern const uint32_t Array_CreateInstance_m679102425_MetadataUsageId; extern "C" Il2CppArray * Array_CreateInstance_m679102425 (Il2CppObject * __this /* static, unused */, Type_t * ___elementType0, Int64U5BU5D_t717125112* ___lengths1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_CreateInstance_m679102425_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Int64U5BU5D_t717125112* L_0 = ___lengths1; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1038069323, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Type_t * L_2 = ___elementType0; Int64U5BU5D_t717125112* L_3 = ___lengths1; Int32U5BU5D_t3030399641* L_4 = Array_GetIntArray_m71808116(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); Il2CppArray * L_5 = Array_CreateInstance_m3327690220(NULL /*static, unused*/, L_2, L_4, /*hidden argument*/NULL); return L_5; } } // System.Object System.Array::GetValue(System.Int64[]) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2818177275; extern const uint32_t Array_GetValue_m1507415734_MetadataUsageId; extern "C" Il2CppObject * Array_GetValue_m1507415734 (Il2CppArray * __this, Int64U5BU5D_t717125112* ___indices0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_GetValue_m1507415734_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Int64U5BU5D_t717125112* L_0 = ___indices0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2818177275, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Int64U5BU5D_t717125112* L_2 = ___indices0; Int32U5BU5D_t3030399641* L_3 = Array_GetIntArray_m71808116(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); Il2CppObject * L_4 = Array_GetValue_m3550694941(__this, L_3, /*hidden argument*/NULL); return L_4; } } // System.Void System.Array::SetValue(System.Object,System.Int64[]) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2818177275; extern const uint32_t Array_SetValue_m169741241_MetadataUsageId; extern "C" void Array_SetValue_m169741241 (Il2CppArray * __this, Il2CppObject * ___value0, Int64U5BU5D_t717125112* ___indices1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_SetValue_m169741241_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Int64U5BU5D_t717125112* L_0 = ___indices1; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2818177275, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppObject * L_2 = ___value0; Int64U5BU5D_t717125112* L_3 = ___indices1; Int32U5BU5D_t3030399641* L_4 = Array_GetIntArray_m71808116(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); Array_SetValue_m2421438042(__this, L_2, L_4, /*hidden argument*/NULL); return; } } // System.Int32 System.Array::BinarySearch(System.Array,System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* IComparable_t1857082765_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3431013888; extern Il2CppCodeGenString* _stringLiteral2314593195; extern const uint32_t Array_BinarySearch_m3522310993_MetadataUsageId; extern "C" int32_t Array_BinarySearch_m3522310993 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_BinarySearch_m3522310993_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppObject * L_2 = ___value1; if (L_2) { goto IL_0019; } } { return (-1); } IL_0019: { Il2CppArray * L_3 = ___array0; int32_t L_4 = Array_get_Rank_m3837250695(L_3, /*hidden argument*/NULL); if ((((int32_t)L_4) <= ((int32_t)1))) { goto IL_0035; } } { String_t* L_5 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_6 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_6, L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_0035: { Il2CppArray * L_7 = ___array0; int32_t L_8 = Array_get_Length_m1498215565(L_7, /*hidden argument*/NULL); if (L_8) { goto IL_0042; } } { return (-1); } IL_0042: { Il2CppObject * L_9 = ___value1; if (((Il2CppObject *)IsInst(L_9, IComparable_t1857082765_il2cpp_TypeInfo_var))) { goto IL_005d; } } { String_t* L_10 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2314593195, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_11 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_11, L_10, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_005d: { Il2CppArray * L_12 = ___array0; Il2CppArray * L_13 = ___array0; int32_t L_14 = Array_GetLowerBound_m3733237204(L_13, 0, /*hidden argument*/NULL); Il2CppArray * L_15 = ___array0; int32_t L_16 = Array_GetLength_m2083296647(L_15, 0, /*hidden argument*/NULL); Il2CppObject * L_17 = ___value1; int32_t L_18 = Array_DoBinarySearch_m4044895912(NULL /*static, unused*/, L_12, L_14, L_16, L_17, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_18; } } // System.Int32 System.Array::BinarySearch(System.Array,System.Object,System.Collections.IComparer) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* IComparable_t1857082765_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3431013888; extern Il2CppCodeGenString* _stringLiteral2191194226; extern const uint32_t Array_BinarySearch_m1368352453_MetadataUsageId; extern "C" int32_t Array_BinarySearch_m1368352453 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, Il2CppObject * ___value1, Il2CppObject * ___comparer2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_BinarySearch_m1368352453_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) <= ((int32_t)1))) { goto IL_002d; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_5 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002d: { Il2CppArray * L_6 = ___array0; int32_t L_7 = Array_get_Length_m1498215565(L_6, /*hidden argument*/NULL); if (L_7) { goto IL_003a; } } { return (-1); } IL_003a: { Il2CppObject * L_8 = ___comparer2; if (L_8) { goto IL_0061; } } { Il2CppObject * L_9 = ___value1; if (!L_9) { goto IL_0061; } } { Il2CppObject * L_10 = ___value1; if (((Il2CppObject *)IsInst(L_10, IComparable_t1857082765_il2cpp_TypeInfo_var))) { goto IL_0061; } } { String_t* L_11 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2191194226, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_12 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_12, L_11, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_0061: { Il2CppArray * L_13 = ___array0; Il2CppArray * L_14 = ___array0; int32_t L_15 = Array_GetLowerBound_m3733237204(L_14, 0, /*hidden argument*/NULL); Il2CppArray * L_16 = ___array0; int32_t L_17 = Array_GetLength_m2083296647(L_16, 0, /*hidden argument*/NULL); Il2CppObject * L_18 = ___value1; Il2CppObject * L_19 = ___comparer2; int32_t L_20 = Array_DoBinarySearch_m4044895912(NULL /*static, unused*/, L_13, L_15, L_17, L_18, L_19, /*hidden argument*/NULL); return L_20; } } // System.Int32 System.Array::BinarySearch(System.Array,System.Int32,System.Int32,System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* IComparable_t1857082765_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3431013888; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral965936358; extern Il2CppCodeGenString* _stringLiteral3438791774; extern Il2CppCodeGenString* _stringLiteral2072701712; extern Il2CppCodeGenString* _stringLiteral3617868472; extern Il2CppCodeGenString* _stringLiteral1479280477; extern const uint32_t Array_BinarySearch_m2287427837_MetadataUsageId; extern "C" int32_t Array_BinarySearch_m2287427837 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, int32_t ___index1, int32_t ___length2, Il2CppObject * ___value3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_BinarySearch_m2287427837_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) <= ((int32_t)1))) { goto IL_002d; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_5 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002d: { int32_t L_6 = ___index1; Il2CppArray * L_7 = ___array0; int32_t L_8 = Array_GetLowerBound_m3733237204(L_7, 0, /*hidden argument*/NULL); if ((((int32_t)L_6) >= ((int32_t)L_8))) { goto IL_004f; } } { String_t* L_9 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral965936358, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_10 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_10, _stringLiteral1460639766, L_9, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } IL_004f: { int32_t L_11 = ___length2; if ((((int32_t)L_11) >= ((int32_t)0))) { goto IL_006b; } } { String_t* L_12 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2072701712, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_13 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_13, _stringLiteral3438791774, L_12, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } IL_006b: { int32_t L_14 = ___index1; Il2CppArray * L_15 = ___array0; int32_t L_16 = Array_GetLowerBound_m3733237204(L_15, 0, /*hidden argument*/NULL); Il2CppArray * L_17 = ___array0; int32_t L_18 = Array_GetLength_m2083296647(L_17, 0, /*hidden argument*/NULL); int32_t L_19 = ___length2; if ((((int32_t)L_14) <= ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_16+(int32_t)L_18))-(int32_t)L_19))))) { goto IL_0092; } } { String_t* L_20 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3617868472, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_21 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_21, L_20, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_21); } IL_0092: { Il2CppArray * L_22 = ___array0; int32_t L_23 = Array_get_Length_m1498215565(L_22, /*hidden argument*/NULL); if (L_23) { goto IL_009f; } } { return (-1); } IL_009f: { Il2CppObject * L_24 = ___value3; if (!L_24) { goto IL_00c0; } } { Il2CppObject * L_25 = ___value3; if (((Il2CppObject *)IsInst(L_25, IComparable_t1857082765_il2cpp_TypeInfo_var))) { goto IL_00c0; } } { String_t* L_26 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1479280477, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_27 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_27, L_26, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_27); } IL_00c0: { Il2CppArray * L_28 = ___array0; int32_t L_29 = ___index1; int32_t L_30 = ___length2; Il2CppObject * L_31 = ___value3; int32_t L_32 = Array_DoBinarySearch_m4044895912(NULL /*static, unused*/, L_28, L_29, L_30, L_31, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_32; } } // System.Int32 System.Array::BinarySearch(System.Array,System.Int32,System.Int32,System.Object,System.Collections.IComparer) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* IComparable_t1857082765_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3431013888; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral965936358; extern Il2CppCodeGenString* _stringLiteral3438791774; extern Il2CppCodeGenString* _stringLiteral2072701712; extern Il2CppCodeGenString* _stringLiteral3617868472; extern Il2CppCodeGenString* _stringLiteral2191194226; extern const uint32_t Array_BinarySearch_m3270245097_MetadataUsageId; extern "C" int32_t Array_BinarySearch_m3270245097 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, int32_t ___index1, int32_t ___length2, Il2CppObject * ___value3, Il2CppObject * ___comparer4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_BinarySearch_m3270245097_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) <= ((int32_t)1))) { goto IL_002d; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_5 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002d: { int32_t L_6 = ___index1; Il2CppArray * L_7 = ___array0; int32_t L_8 = Array_GetLowerBound_m3733237204(L_7, 0, /*hidden argument*/NULL); if ((((int32_t)L_6) >= ((int32_t)L_8))) { goto IL_004f; } } { String_t* L_9 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral965936358, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_10 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_10, _stringLiteral1460639766, L_9, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } IL_004f: { int32_t L_11 = ___length2; if ((((int32_t)L_11) >= ((int32_t)0))) { goto IL_006b; } } { String_t* L_12 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2072701712, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_13 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_13, _stringLiteral3438791774, L_12, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } IL_006b: { int32_t L_14 = ___index1; Il2CppArray * L_15 = ___array0; int32_t L_16 = Array_GetLowerBound_m3733237204(L_15, 0, /*hidden argument*/NULL); Il2CppArray * L_17 = ___array0; int32_t L_18 = Array_GetLength_m2083296647(L_17, 0, /*hidden argument*/NULL); int32_t L_19 = ___length2; if ((((int32_t)L_14) <= ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_16+(int32_t)L_18))-(int32_t)L_19))))) { goto IL_0092; } } { String_t* L_20 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3617868472, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_21 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_21, L_20, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_21); } IL_0092: { Il2CppArray * L_22 = ___array0; int32_t L_23 = Array_get_Length_m1498215565(L_22, /*hidden argument*/NULL); if (L_23) { goto IL_009f; } } { return (-1); } IL_009f: { Il2CppObject * L_24 = ___comparer4; if (L_24) { goto IL_00c7; } } { Il2CppObject * L_25 = ___value3; if (!L_25) { goto IL_00c7; } } { Il2CppObject * L_26 = ___value3; if (((Il2CppObject *)IsInst(L_26, IComparable_t1857082765_il2cpp_TypeInfo_var))) { goto IL_00c7; } } { String_t* L_27 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2191194226, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_28 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_28, L_27, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_28); } IL_00c7: { Il2CppArray * L_29 = ___array0; int32_t L_30 = ___index1; int32_t L_31 = ___length2; Il2CppObject * L_32 = ___value3; Il2CppObject * L_33 = ___comparer4; int32_t L_34 = Array_DoBinarySearch_m4044895912(NULL /*static, unused*/, L_29, L_30, L_31, L_32, L_33, /*hidden argument*/NULL); return L_34; } } // System.Int32 System.Array::DoBinarySearch(System.Array,System.Int32,System.Int32,System.Object,System.Collections.IComparer) extern Il2CppClass* Comparer_t3673668605_il2cpp_TypeInfo_var; extern Il2CppClass* IComparer_t3952557350_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2727073511; extern const uint32_t Array_DoBinarySearch_m4044895912_MetadataUsageId; extern "C" int32_t Array_DoBinarySearch_m4044895912 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, int32_t ___index1, int32_t ___length2, Il2CppObject * ___value3, Il2CppObject * ___comparer4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_DoBinarySearch_m4044895912_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; int32_t V_3 = 0; Il2CppObject * V_4 = NULL; Exception_t1927440687 * V_5 = NULL; int32_t V_6 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = ___comparer4; if (L_0) { goto IL_000e; } } { IL2CPP_RUNTIME_CLASS_INIT(Comparer_t3673668605_il2cpp_TypeInfo_var); Comparer_t3673668605 * L_1 = ((Comparer_t3673668605_StaticFields*)Comparer_t3673668605_il2cpp_TypeInfo_var->static_fields)->get_Default_0(); ___comparer4 = L_1; } IL_000e: { int32_t L_2 = ___index1; V_0 = L_2; int32_t L_3 = ___index1; int32_t L_4 = ___length2; V_1 = ((int32_t)((int32_t)((int32_t)((int32_t)L_3+(int32_t)L_4))-(int32_t)1)); V_2 = 0; } IL_0018: try { // begin try (depth: 1) { goto IL_005b; } IL_001d: { int32_t L_5 = V_0; int32_t L_6 = V_1; int32_t L_7 = V_0; V_3 = ((int32_t)((int32_t)L_5+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_6-(int32_t)L_7))/(int32_t)2)))); Il2CppArray * L_8 = ___array0; int32_t L_9 = V_3; Il2CppObject * L_10 = Array_GetValueImpl_m2679649099(L_8, L_9, /*hidden argument*/NULL); V_4 = L_10; Il2CppObject * L_11 = ___comparer4; Il2CppObject * L_12 = V_4; Il2CppObject * L_13 = ___value3; int32_t L_14 = InterfaceFuncInvoker2< int32_t, Il2CppObject *, Il2CppObject * >::Invoke(0 /* System.Int32 System.Collections.IComparer::Compare(System.Object,System.Object) */, IComparer_t3952557350_il2cpp_TypeInfo_var, L_11, L_12, L_13); V_2 = L_14; int32_t L_15 = V_2; if (L_15) { goto IL_0047; } } IL_003f: { int32_t L_16 = V_3; V_6 = L_16; goto IL_0083; } IL_0047: { int32_t L_17 = V_2; if ((((int32_t)L_17) <= ((int32_t)0))) { goto IL_0057; } } IL_004e: { int32_t L_18 = V_3; V_1 = ((int32_t)((int32_t)L_18-(int32_t)1)); goto IL_005b; } IL_0057: { int32_t L_19 = V_3; V_0 = ((int32_t)((int32_t)L_19+(int32_t)1)); } IL_005b: { int32_t L_20 = V_0; int32_t L_21 = V_1; if ((((int32_t)L_20) <= ((int32_t)L_21))) { goto IL_001d; } } IL_0062: { goto IL_0080; } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Exception_t1927440687_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0067; throw e; } CATCH_0067: { // begin catch(System.Exception) { V_5 = ((Exception_t1927440687 *)__exception_local); String_t* L_22 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2727073511, /*hidden argument*/NULL); Exception_t1927440687 * L_23 = V_5; InvalidOperationException_t721527559 * L_24 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m725121084(L_24, L_22, L_23, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_24); } IL_007b: { goto IL_0080; } } // end catch (depth: 1) IL_0080: { int32_t L_25 = V_0; return ((~L_25)); } IL_0083: { int32_t L_26 = V_6; return L_26; } } // System.Void System.Array::Clear(System.Array,System.Int32,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral4002148002; extern Il2CppCodeGenString* _stringLiteral489803567; extern Il2CppCodeGenString* _stringLiteral1207486720; extern const uint32_t Array_Clear_m782967417_MetadataUsageId; extern "C" void Array_Clear_m782967417 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, int32_t ___index1, int32_t ___length2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Clear_m782967417_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___length2; if ((((int32_t)L_2) >= ((int32_t)0))) { goto IL_0023; } } { IndexOutOfRangeException_t3527622107 * L_3 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var); IndexOutOfRangeException__ctor_m1847153122(L_3, _stringLiteral4002148002, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppArray * L_4 = ___array0; int32_t L_5 = Array_GetLowerBound_m3733237204(L_4, 0, /*hidden argument*/NULL); V_0 = L_5; int32_t L_6 = ___index1; int32_t L_7 = V_0; if ((((int32_t)L_6) >= ((int32_t)L_7))) { goto IL_003d; } } { IndexOutOfRangeException_t3527622107 * L_8 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var); IndexOutOfRangeException__ctor_m1847153122(L_8, _stringLiteral489803567, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_003d: { int32_t L_9 = ___index1; int32_t L_10 = V_0; ___index1 = ((int32_t)((int32_t)L_9-(int32_t)L_10)); int32_t L_11 = ___index1; Il2CppArray * L_12 = ___array0; int32_t L_13 = Array_get_Length_m1498215565(L_12, /*hidden argument*/NULL); int32_t L_14 = ___length2; if ((((int32_t)L_11) <= ((int32_t)((int32_t)((int32_t)L_13-(int32_t)L_14))))) { goto IL_005b; } } { IndexOutOfRangeException_t3527622107 * L_15 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var); IndexOutOfRangeException__ctor_m1847153122(L_15, _stringLiteral1207486720, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_15); } IL_005b: { Il2CppArray * L_16 = ___array0; int32_t L_17 = ___index1; int32_t L_18 = ___length2; Array_ClearInternal_m4175625514(NULL /*static, unused*/, L_16, L_17, L_18, /*hidden argument*/NULL); return; } } // System.Void System.Array::ClearInternal(System.Array,System.Int32,System.Int32) extern "C" void Array_ClearInternal_m4175625514 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___a0, int32_t ___index1, int32_t ___count2, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*Array_ClearInternal_m4175625514_ftn) (Il2CppArray *, int32_t, int32_t); ((Array_ClearInternal_m4175625514_ftn)mscorlib::System::Array::ClearInternal) (___a0, ___index1, ___count2); } // System.Object System.Array::Clone() extern "C" Il2CppObject * Array_Clone_m768574314 (Il2CppArray * __this, const MethodInfo* method) { using namespace il2cpp::icalls; typedef Il2CppObject * (*Array_Clone_m768574314_ftn) (Il2CppArray *); return ((Array_Clone_m768574314_ftn)mscorlib::System::Array::Clone) (__this); } // System.Void System.Array::Copy(System.Array,System.Array,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral439037552; extern Il2CppCodeGenString* _stringLiteral600769861; extern const uint32_t Array_Copy_m2363740072_MetadataUsageId; extern "C" void Array_Copy_m2363740072 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___sourceArray0, Il2CppArray * ___destinationArray1, int32_t ___length2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Copy_m2363740072_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___sourceArray0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral439037552, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___destinationArray1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral600769861, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { Il2CppArray * L_4 = ___sourceArray0; Il2CppArray * L_5 = ___sourceArray0; int32_t L_6 = Array_GetLowerBound_m3733237204(L_5, 0, /*hidden argument*/NULL); Il2CppArray * L_7 = ___destinationArray1; Il2CppArray * L_8 = ___destinationArray1; int32_t L_9 = Array_GetLowerBound_m3733237204(L_8, 0, /*hidden argument*/NULL); int32_t L_10 = ___length2; Array_Copy_m3808317496(NULL /*static, unused*/, L_4, L_6, L_7, L_9, L_10, /*hidden argument*/NULL); return; } } // System.Void System.Array::Copy(System.Array,System.Int32,System.Array,System.Int32,System.Int32) extern const Il2CppType* Il2CppObject_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayTypeMismatchException_t2071164632_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral439037552; extern Il2CppCodeGenString* _stringLiteral600769861; extern Il2CppCodeGenString* _stringLiteral3438791774; extern Il2CppCodeGenString* _stringLiteral2072701712; extern Il2CppCodeGenString* _stringLiteral2973064419; extern Il2CppCodeGenString* _stringLiteral657830682; extern Il2CppCodeGenString* _stringLiteral1504815063; extern Il2CppCodeGenString* _stringLiteral2110321650; extern Il2CppCodeGenString* _stringLiteral1494225854; extern const uint32_t Array_Copy_m3808317496_MetadataUsageId; extern "C" void Array_Copy_m3808317496 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___sourceArray0, int32_t ___sourceIndex1, Il2CppArray * ___destinationArray2, int32_t ___destinationIndex3, int32_t ___length4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Copy_m3808317496_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; String_t* V_2 = NULL; Type_t * V_3 = NULL; Type_t * V_4 = NULL; int32_t V_5 = 0; Il2CppObject * V_6 = NULL; int32_t V_7 = 0; Il2CppObject * V_8 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppArray * L_0 = ___sourceArray0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral439037552, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___destinationArray2; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral600769861, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int32_t L_4 = ___length4; if ((((int32_t)L_4) >= ((int32_t)0))) { goto IL_003f; } } { String_t* L_5 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2072701712, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_6 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_6, _stringLiteral3438791774, L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003f: { int32_t L_7 = ___sourceIndex1; if ((((int32_t)L_7) >= ((int32_t)0))) { goto IL_005b; } } { String_t* L_8 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2072701712, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_9 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_9, _stringLiteral2973064419, L_8, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_9); } IL_005b: { int32_t L_10 = ___destinationIndex3; if ((((int32_t)L_10) >= ((int32_t)0))) { goto IL_0077; } } { String_t* L_11 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2072701712, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_12 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_12, _stringLiteral657830682, L_11, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_0077: { Il2CppArray * L_13 = ___sourceArray0; int32_t L_14 = ___sourceIndex1; Il2CppArray * L_15 = ___destinationArray2; int32_t L_16 = ___destinationIndex3; int32_t L_17 = ___length4; bool L_18 = Array_FastCopy_m933468106(NULL /*static, unused*/, L_13, L_14, L_15, L_16, L_17, /*hidden argument*/NULL); if (!L_18) { goto IL_0088; } } { return; } IL_0088: { int32_t L_19 = ___sourceIndex1; Il2CppArray * L_20 = ___sourceArray0; int32_t L_21 = Array_GetLowerBound_m3733237204(L_20, 0, /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_19-(int32_t)L_21)); int32_t L_22 = ___destinationIndex3; Il2CppArray * L_23 = ___destinationArray2; int32_t L_24 = Array_GetLowerBound_m3733237204(L_23, 0, /*hidden argument*/NULL); V_1 = ((int32_t)((int32_t)L_22-(int32_t)L_24)); int32_t L_25 = V_0; Il2CppArray * L_26 = ___sourceArray0; int32_t L_27 = Array_get_Length_m1498215565(L_26, /*hidden argument*/NULL); int32_t L_28 = ___length4; if ((((int32_t)L_25) <= ((int32_t)((int32_t)((int32_t)L_27-(int32_t)L_28))))) { goto IL_00b6; } } { ArgumentException_t3259014390 * L_29 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_29, _stringLiteral3438791774, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_29); } IL_00b6: { int32_t L_30 = V_1; Il2CppArray * L_31 = ___destinationArray2; int32_t L_32 = Array_get_Length_m1498215565(L_31, /*hidden argument*/NULL); int32_t L_33 = ___length4; if ((((int32_t)L_30) <= ((int32_t)((int32_t)((int32_t)L_32-(int32_t)L_33))))) { goto IL_00d7; } } { V_2 = _stringLiteral1504815063; String_t* L_34 = V_2; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_35 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); ArgumentException_t3259014390 * L_36 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_36, L_34, L_35, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_36); } IL_00d7: { Il2CppArray * L_37 = ___sourceArray0; int32_t L_38 = Array_get_Rank_m3837250695(L_37, /*hidden argument*/NULL); Il2CppArray * L_39 = ___destinationArray2; int32_t L_40 = Array_get_Rank_m3837250695(L_39, /*hidden argument*/NULL); if ((((int32_t)L_38) == ((int32_t)L_40))) { goto IL_00f8; } } { String_t* L_41 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2110321650, /*hidden argument*/NULL); RankException_t1539875949 * L_42 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_42, L_41, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_42); } IL_00f8: { Il2CppArray * L_43 = ___sourceArray0; Type_t * L_44 = Object_GetType_m191970594(L_43, /*hidden argument*/NULL); Type_t * L_45 = VirtFuncInvoker0< Type_t * >::Invoke(42 /* System.Type System.Type::GetElementType() */, L_44); V_3 = L_45; Il2CppArray * L_46 = ___destinationArray2; Type_t * L_47 = Object_GetType_m191970594(L_46, /*hidden argument*/NULL); Type_t * L_48 = VirtFuncInvoker0< Type_t * >::Invoke(42 /* System.Type System.Type::GetElementType() */, L_47); V_4 = L_48; Il2CppArray * L_49 = ___sourceArray0; Il2CppArray * L_50 = ___destinationArray2; bool L_51 = Object_ReferenceEquals_m3900584722(NULL /*static, unused*/, L_49, L_50, /*hidden argument*/NULL); if (!L_51) { goto IL_0124; } } { int32_t L_52 = V_0; int32_t L_53 = V_1; if ((((int32_t)L_52) <= ((int32_t)L_53))) { goto IL_01a0; } } IL_0124: { V_5 = 0; goto IL_0192; } IL_012c: { Il2CppArray * L_54 = ___sourceArray0; int32_t L_55 = V_0; int32_t L_56 = V_5; Il2CppObject * L_57 = Array_GetValueImpl_m2679649099(L_54, ((int32_t)((int32_t)L_55+(int32_t)L_56)), /*hidden argument*/NULL); V_6 = L_57; } IL_0138: try { // begin try (depth: 1) Il2CppArray * L_58 = ___destinationArray2; Il2CppObject * L_59 = V_6; int32_t L_60 = V_1; int32_t L_61 = V_5; Array_SetValueImpl_m1292741952(L_58, L_59, ((int32_t)((int32_t)L_60+(int32_t)L_61)), /*hidden argument*/NULL); goto IL_018c; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0149; throw e; } CATCH_0149: { // begin catch(System.Object) { Type_t * L_62 = V_3; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_63 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Il2CppObject_0_0_0_var), /*hidden argument*/NULL); bool L_64 = Type_Equals_m1326467719(L_62, L_63, /*hidden argument*/NULL); if (!L_64) { goto IL_0165; } } IL_015f: { InvalidCastException_t3625212209 * L_65 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_65, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_65); } IL_0165: { String_t* L_66 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1494225854, /*hidden argument*/NULL); Type_t * L_67 = V_3; String_t* L_68 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_67); Type_t * L_69 = V_4; String_t* L_70 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_69); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_71 = String_Format_m1811873526(NULL /*static, unused*/, L_66, L_68, L_70, /*hidden argument*/NULL); ArrayTypeMismatchException_t2071164632 * L_72 = (ArrayTypeMismatchException_t2071164632 *)il2cpp_codegen_object_new(ArrayTypeMismatchException_t2071164632_il2cpp_TypeInfo_var); ArrayTypeMismatchException__ctor_m1898555879(L_72, L_71, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_72); } IL_0187: { goto IL_018c; } } // end catch (depth: 1) IL_018c: { int32_t L_73 = V_5; V_5 = ((int32_t)((int32_t)L_73+(int32_t)1)); } IL_0192: { int32_t L_74 = V_5; int32_t L_75 = ___length4; if ((((int32_t)L_74) < ((int32_t)L_75))) { goto IL_012c; } } { goto IL_0219; } IL_01a0: { int32_t L_76 = ___length4; V_7 = ((int32_t)((int32_t)L_76-(int32_t)1)); goto IL_0211; } IL_01ab: { Il2CppArray * L_77 = ___sourceArray0; int32_t L_78 = V_0; int32_t L_79 = V_7; Il2CppObject * L_80 = Array_GetValueImpl_m2679649099(L_77, ((int32_t)((int32_t)L_78+(int32_t)L_79)), /*hidden argument*/NULL); V_8 = L_80; } IL_01b7: try { // begin try (depth: 1) Il2CppArray * L_81 = ___destinationArray2; Il2CppObject * L_82 = V_8; int32_t L_83 = V_1; int32_t L_84 = V_7; Array_SetValueImpl_m1292741952(L_81, L_82, ((int32_t)((int32_t)L_83+(int32_t)L_84)), /*hidden argument*/NULL); goto IL_020b; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_01c8; throw e; } CATCH_01c8: { // begin catch(System.Object) { Type_t * L_85 = V_3; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_86 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Il2CppObject_0_0_0_var), /*hidden argument*/NULL); bool L_87 = Type_Equals_m1326467719(L_85, L_86, /*hidden argument*/NULL); if (!L_87) { goto IL_01e4; } } IL_01de: { InvalidCastException_t3625212209 * L_88 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_88, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_88); } IL_01e4: { String_t* L_89 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1494225854, /*hidden argument*/NULL); Type_t * L_90 = V_3; String_t* L_91 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_90); Type_t * L_92 = V_4; String_t* L_93 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_92); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_94 = String_Format_m1811873526(NULL /*static, unused*/, L_89, L_91, L_93, /*hidden argument*/NULL); ArrayTypeMismatchException_t2071164632 * L_95 = (ArrayTypeMismatchException_t2071164632 *)il2cpp_codegen_object_new(ArrayTypeMismatchException_t2071164632_il2cpp_TypeInfo_var); ArrayTypeMismatchException__ctor_m1898555879(L_95, L_94, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_95); } IL_0206: { goto IL_020b; } } // end catch (depth: 1) IL_020b: { int32_t L_96 = V_7; V_7 = ((int32_t)((int32_t)L_96-(int32_t)1)); } IL_0211: { int32_t L_97 = V_7; if ((((int32_t)L_97) >= ((int32_t)0))) { goto IL_01ab; } } IL_0219: { return; } } // System.Void System.Array::Copy(System.Array,System.Int64,System.Array,System.Int64,System.Int64) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral439037552; extern Il2CppCodeGenString* _stringLiteral600769861; extern Il2CppCodeGenString* _stringLiteral2973064419; extern Il2CppCodeGenString* _stringLiteral2757878581; extern Il2CppCodeGenString* _stringLiteral657830682; extern Il2CppCodeGenString* _stringLiteral3438791774; extern Il2CppCodeGenString* _stringLiteral3370991523; extern const uint32_t Array_Copy_m1969461849_MetadataUsageId; extern "C" void Array_Copy_m1969461849 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___sourceArray0, int64_t ___sourceIndex1, Il2CppArray * ___destinationArray2, int64_t ___destinationIndex3, int64_t ___length4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Copy_m1969461849_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___sourceArray0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral439037552, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___destinationArray2; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral600769861, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int64_t L_4 = ___sourceIndex1; if ((((int64_t)L_4) < ((int64_t)(((int64_t)((int64_t)((int32_t)-2147483648LL))))))) { goto IL_003a; } } { int64_t L_5 = ___sourceIndex1; if ((((int64_t)L_5) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_004f; } } IL_003a: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2757878581, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_7 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_7, _stringLiteral2973064419, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_004f: { int64_t L_8 = ___destinationIndex3; if ((((int64_t)L_8) < ((int64_t)(((int64_t)((int64_t)((int32_t)-2147483648LL))))))) { goto IL_0067; } } { int64_t L_9 = ___destinationIndex3; if ((((int64_t)L_9) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_007c; } } IL_0067: { String_t* L_10 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2757878581, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_11 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_11, _stringLiteral657830682, L_10, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_007c: { int64_t L_12 = ___length4; if ((((int64_t)L_12) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0092; } } { int64_t L_13 = ___length4; if ((((int64_t)L_13) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_00a7; } } IL_0092: { String_t* L_14 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_15 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_15, _stringLiteral3438791774, L_14, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_15); } IL_00a7: { Il2CppArray * L_16 = ___sourceArray0; int64_t L_17 = ___sourceIndex1; Il2CppArray * L_18 = ___destinationArray2; int64_t L_19 = ___destinationIndex3; int64_t L_20 = ___length4; Array_Copy_m3808317496(NULL /*static, unused*/, L_16, (((int32_t)((int32_t)L_17))), L_18, (((int32_t)((int32_t)L_19))), (((int32_t)((int32_t)L_20))), /*hidden argument*/NULL); return; } } // System.Void System.Array::Copy(System.Array,System.Array,System.Int64) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3438791774; extern Il2CppCodeGenString* _stringLiteral3370991523; extern const uint32_t Array_Copy_m1557170853_MetadataUsageId; extern "C" void Array_Copy_m1557170853 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___sourceArray0, Il2CppArray * ___destinationArray1, int64_t ___length2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Copy_m1557170853_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___length2; if ((((int64_t)L_0) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0014; } } { int64_t L_1 = ___length2; if ((((int64_t)L_1) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0029; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral3438791774, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0029: { Il2CppArray * L_4 = ___sourceArray0; Il2CppArray * L_5 = ___destinationArray1; int64_t L_6 = ___length2; Array_Copy_m2363740072(NULL /*static, unused*/, L_4, L_5, (((int32_t)((int32_t)L_6))), /*hidden argument*/NULL); return; } } // System.Int32 System.Array::IndexOf(System.Array,System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern const uint32_t Array_IndexOf_m77084779_MetadataUsageId; extern "C" int32_t Array_IndexOf_m77084779 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_IndexOf_m77084779_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; Il2CppObject * L_3 = ___value1; Il2CppArray * L_4 = ___array0; int32_t L_5 = Array_get_Length_m1498215565(L_4, /*hidden argument*/NULL); int32_t L_6 = Array_IndexOf_m2447301431(NULL /*static, unused*/, L_2, L_3, 0, L_5, /*hidden argument*/NULL); return L_6; } } // System.Int32 System.Array::IndexOf(System.Array,System.Object,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern const uint32_t Array_IndexOf_m2819632474_MetadataUsageId; extern "C" int32_t Array_IndexOf_m2819632474 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, Il2CppObject * ___value1, int32_t ___startIndex2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_IndexOf_m2819632474_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; Il2CppObject * L_3 = ___value1; int32_t L_4 = ___startIndex2; Il2CppArray * L_5 = ___array0; int32_t L_6 = Array_get_Length_m1498215565(L_5, /*hidden argument*/NULL); int32_t L_7 = ___startIndex2; int32_t L_8 = Array_IndexOf_m2447301431(NULL /*static, unused*/, L_2, L_3, L_4, ((int32_t)((int32_t)L_6-(int32_t)L_7)), /*hidden argument*/NULL); return L_8; } } // System.Int32 System.Array::IndexOf(System.Array,System.Object,System.Int32,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3431013888; extern const uint32_t Array_IndexOf_m2447301431_MetadataUsageId; extern "C" int32_t Array_IndexOf_m2447301431 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, Il2CppObject * ___value1, int32_t ___startIndex2, int32_t ___count3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_IndexOf_m2447301431_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) <= ((int32_t)1))) { goto IL_002d; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_5 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002d: { int32_t L_6 = ___count3; if ((((int32_t)L_6) < ((int32_t)0))) { goto IL_0052; } } { int32_t L_7 = ___startIndex2; Il2CppArray * L_8 = ___array0; int32_t L_9 = Array_GetLowerBound_m3733237204(L_8, 0, /*hidden argument*/NULL); if ((((int32_t)L_7) < ((int32_t)L_9))) { goto IL_0052; } } { int32_t L_10 = ___startIndex2; Il2CppArray * L_11 = ___array0; int32_t L_12 = Array_GetUpperBound_m1352329707(L_11, 0, /*hidden argument*/NULL); int32_t L_13 = ___count3; if ((((int32_t)((int32_t)((int32_t)L_10-(int32_t)1))) <= ((int32_t)((int32_t)((int32_t)L_12-(int32_t)L_13))))) { goto IL_0058; } } IL_0052: { ArgumentOutOfRangeException_t279959794 * L_14 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_14, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_14); } IL_0058: { int32_t L_15 = ___startIndex2; int32_t L_16 = ___count3; V_0 = ((int32_t)((int32_t)L_15+(int32_t)L_16)); int32_t L_17 = ___startIndex2; V_1 = L_17; goto IL_007b; } IL_0063: { Il2CppArray * L_18 = ___array0; int32_t L_19 = V_1; Il2CppObject * L_20 = Array_GetValueImpl_m2679649099(L_18, L_19, /*hidden argument*/NULL); Il2CppObject * L_21 = ___value1; bool L_22 = Object_Equals_m969736273(NULL /*static, unused*/, L_20, L_21, /*hidden argument*/NULL); if (!L_22) { goto IL_0077; } } { int32_t L_23 = V_1; return L_23; } IL_0077: { int32_t L_24 = V_1; V_1 = ((int32_t)((int32_t)L_24+(int32_t)1)); } IL_007b: { int32_t L_25 = V_1; int32_t L_26 = V_0; if ((((int32_t)L_25) < ((int32_t)L_26))) { goto IL_0063; } } { Il2CppArray * L_27 = ___array0; int32_t L_28 = Array_GetLowerBound_m3733237204(L_27, 0, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_28-(int32_t)1)); } } // System.Void System.Array::Initialize() extern "C" void Array_Initialize_m3086099726 (Il2CppArray * __this, const MethodInfo* method) { { return; } } // System.Int32 System.Array::LastIndexOf(System.Array,System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern const uint32_t Array_LastIndexOf_m229510321_MetadataUsageId; extern "C" int32_t Array_LastIndexOf_m229510321 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_LastIndexOf_m229510321_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Array_get_Length_m1498215565(L_2, /*hidden argument*/NULL); if (L_3) { goto IL_0026; } } { Il2CppArray * L_4 = ___array0; int32_t L_5 = Array_GetLowerBound_m3733237204(L_4, 0, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_5-(int32_t)1)); } IL_0026: { Il2CppArray * L_6 = ___array0; Il2CppObject * L_7 = ___value1; Il2CppArray * L_8 = ___array0; int32_t L_9 = Array_get_Length_m1498215565(L_8, /*hidden argument*/NULL); int32_t L_10 = Array_LastIndexOf_m4096535198(NULL /*static, unused*/, L_6, L_7, ((int32_t)((int32_t)L_9-(int32_t)1)), /*hidden argument*/NULL); return L_10; } } // System.Int32 System.Array::LastIndexOf(System.Array,System.Object,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern const uint32_t Array_LastIndexOf_m4096535198_MetadataUsageId; extern "C" int32_t Array_LastIndexOf_m4096535198 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, Il2CppObject * ___value1, int32_t ___startIndex2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_LastIndexOf_m4096535198_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; Il2CppObject * L_3 = ___value1; int32_t L_4 = ___startIndex2; int32_t L_5 = ___startIndex2; Il2CppArray * L_6 = ___array0; int32_t L_7 = Array_GetLowerBound_m3733237204(L_6, 0, /*hidden argument*/NULL); int32_t L_8 = Array_LastIndexOf_m512887013(NULL /*static, unused*/, L_2, L_3, L_4, ((int32_t)((int32_t)((int32_t)((int32_t)L_5-(int32_t)L_7))+(int32_t)1)), /*hidden argument*/NULL); return L_8; } } // System.Int32 System.Array::LastIndexOf(System.Array,System.Object,System.Int32,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3431013888; extern const uint32_t Array_LastIndexOf_m512887013_MetadataUsageId; extern "C" int32_t Array_LastIndexOf_m512887013 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, Il2CppObject * ___value1, int32_t ___startIndex2, int32_t ___count3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_LastIndexOf_m512887013_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) <= ((int32_t)1))) { goto IL_002d; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_5 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002d: { Il2CppArray * L_6 = ___array0; int32_t L_7 = Array_GetLowerBound_m3733237204(L_6, 0, /*hidden argument*/NULL); V_0 = L_7; Il2CppArray * L_8 = ___array0; int32_t L_9 = Array_get_Length_m1498215565(L_8, /*hidden argument*/NULL); if (L_9) { goto IL_0044; } } { int32_t L_10 = V_0; return ((int32_t)((int32_t)L_10-(int32_t)1)); } IL_0044: { int32_t L_11 = ___count3; if ((((int32_t)L_11) < ((int32_t)0))) { goto IL_006a; } } { int32_t L_12 = ___startIndex2; int32_t L_13 = V_0; if ((((int32_t)L_12) < ((int32_t)L_13))) { goto IL_006a; } } { int32_t L_14 = ___startIndex2; Il2CppArray * L_15 = ___array0; int32_t L_16 = Array_GetUpperBound_m1352329707(L_15, 0, /*hidden argument*/NULL); if ((((int32_t)L_14) > ((int32_t)L_16))) { goto IL_006a; } } { int32_t L_17 = ___startIndex2; int32_t L_18 = ___count3; int32_t L_19 = V_0; if ((((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_17-(int32_t)L_18))+(int32_t)1))) >= ((int32_t)L_19))) { goto IL_0070; } } IL_006a: { ArgumentOutOfRangeException_t279959794 * L_20 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_20, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_20); } IL_0070: { int32_t L_21 = ___startIndex2; V_1 = L_21; goto IL_008f; } IL_0077: { Il2CppArray * L_22 = ___array0; int32_t L_23 = V_1; Il2CppObject * L_24 = Array_GetValueImpl_m2679649099(L_22, L_23, /*hidden argument*/NULL); Il2CppObject * L_25 = ___value1; bool L_26 = Object_Equals_m969736273(NULL /*static, unused*/, L_24, L_25, /*hidden argument*/NULL); if (!L_26) { goto IL_008b; } } { int32_t L_27 = V_1; return L_27; } IL_008b: { int32_t L_28 = V_1; V_1 = ((int32_t)((int32_t)L_28-(int32_t)1)); } IL_008f: { int32_t L_29 = V_1; int32_t L_30 = ___startIndex2; int32_t L_31 = ___count3; if ((((int32_t)L_29) >= ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_30-(int32_t)L_31))+(int32_t)1))))) { goto IL_0077; } } { int32_t L_32 = V_0; return ((int32_t)((int32_t)L_32-(int32_t)1)); } } // System.Array/Swapper System.Array::get_swapper(System.Array) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppClass* Swapper_t2637371637_il2cpp_TypeInfo_var; extern Il2CppClass* DoubleU5BU5D_t1889952540_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern const MethodInfo* Array_int_swapper_m2498629762_MethodInfo_var; extern const MethodInfo* Array_double_swapper_m1175307080_MethodInfo_var; extern const MethodInfo* Array_obj_swapper_m2156282294_MethodInfo_var; extern const MethodInfo* Array_slow_swapper_m1728818032_MethodInfo_var; extern const uint32_t Array_get_swapper_m2927604103_MetadataUsageId; extern "C" Swapper_t2637371637 * Array_get_swapper_m2927604103 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_get_swapper_m2927604103_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (!((Int32U5BU5D_t3030399641*)IsInst(L_0, Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var))) { goto IL_0018; } } { Il2CppArray * L_1 = ___array0; IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)Array_int_swapper_m2498629762_MethodInfo_var); Swapper_t2637371637 * L_3 = (Swapper_t2637371637 *)il2cpp_codegen_object_new(Swapper_t2637371637_il2cpp_TypeInfo_var); Swapper__ctor_m1954582975(L_3, L_1, L_2, /*hidden argument*/NULL); return L_3; } IL_0018: { Il2CppArray * L_4 = ___array0; if (!((DoubleU5BU5D_t1889952540*)IsInst(L_4, DoubleU5BU5D_t1889952540_il2cpp_TypeInfo_var))) { goto IL_0030; } } { Il2CppArray * L_5 = ___array0; IntPtr_t L_6; L_6.set_m_value_0((void*)(void*)Array_double_swapper_m1175307080_MethodInfo_var); Swapper_t2637371637 * L_7 = (Swapper_t2637371637 *)il2cpp_codegen_object_new(Swapper_t2637371637_il2cpp_TypeInfo_var); Swapper__ctor_m1954582975(L_7, L_5, L_6, /*hidden argument*/NULL); return L_7; } IL_0030: { Il2CppArray * L_8 = ___array0; if (!((ObjectU5BU5D_t3614634134*)IsInst(L_8, ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var))) { goto IL_0048; } } { Il2CppArray * L_9 = ___array0; IntPtr_t L_10; L_10.set_m_value_0((void*)(void*)Array_obj_swapper_m2156282294_MethodInfo_var); Swapper_t2637371637 * L_11 = (Swapper_t2637371637 *)il2cpp_codegen_object_new(Swapper_t2637371637_il2cpp_TypeInfo_var); Swapper__ctor_m1954582975(L_11, L_9, L_10, /*hidden argument*/NULL); return L_11; } IL_0048: { Il2CppArray * L_12 = ___array0; IntPtr_t L_13; L_13.set_m_value_0((void*)(void*)Array_slow_swapper_m1728818032_MethodInfo_var); Swapper_t2637371637 * L_14 = (Swapper_t2637371637 *)il2cpp_codegen_object_new(Swapper_t2637371637_il2cpp_TypeInfo_var); Swapper__ctor_m1954582975(L_14, L_12, L_13, /*hidden argument*/NULL); return L_14; } } // System.Void System.Array::Reverse(System.Array) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern const uint32_t Array_Reverse_m3883292526_MetadataUsageId; extern "C" void Array_Reverse_m3883292526 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Reverse_m3883292526_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; Il2CppArray * L_3 = ___array0; int32_t L_4 = Array_GetLowerBound_m3733237204(L_3, 0, /*hidden argument*/NULL); Il2CppArray * L_5 = ___array0; int32_t L_6 = Array_GetLength_m2083296647(L_5, 0, /*hidden argument*/NULL); Array_Reverse_m3433347928(NULL /*static, unused*/, L_2, L_4, L_6, /*hidden argument*/NULL); return; } } // System.Void System.Array::Reverse(System.Array,System.Int32,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppClass* DoubleU5BU5D_t1889952540_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3431013888; extern const uint32_t Array_Reverse_m3433347928_MetadataUsageId; extern "C" void Array_Reverse_m3433347928 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, int32_t ___index1, int32_t ___length2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Reverse_m3433347928_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; ObjectU5BU5D_t3614634134* V_1 = NULL; Il2CppObject * V_2 = NULL; Int32U5BU5D_t3030399641* V_3 = NULL; int32_t V_4 = 0; DoubleU5BU5D_t1889952540* V_5 = NULL; double V_6 = 0.0; Swapper_t2637371637 * V_7 = NULL; { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) <= ((int32_t)1))) { goto IL_002d; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_5 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002d: { int32_t L_6 = ___index1; Il2CppArray * L_7 = ___array0; int32_t L_8 = Array_GetLowerBound_m3733237204(L_7, 0, /*hidden argument*/NULL); if ((((int32_t)L_6) < ((int32_t)L_8))) { goto IL_0041; } } { int32_t L_9 = ___length2; if ((((int32_t)L_9) >= ((int32_t)0))) { goto IL_0047; } } IL_0041: { ArgumentOutOfRangeException_t279959794 * L_10 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_10, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } IL_0047: { int32_t L_11 = ___index1; Il2CppArray * L_12 = ___array0; int32_t L_13 = Array_GetUpperBound_m1352329707(L_12, 0, /*hidden argument*/NULL); int32_t L_14 = ___length2; if ((((int32_t)L_11) <= ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_13+(int32_t)1))-(int32_t)L_14))))) { goto IL_005e; } } { ArgumentException_t3259014390 * L_15 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m2105824819(L_15, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_15); } IL_005e: { int32_t L_16 = ___index1; int32_t L_17 = ___length2; V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_16+(int32_t)L_17))-(int32_t)1)); Il2CppArray * L_18 = ___array0; V_1 = ((ObjectU5BU5D_t3614634134*)IsInst(L_18, ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var)); ObjectU5BU5D_t3614634134* L_19 = V_1; if (!L_19) { goto IL_0095; } } { goto IL_008d; } IL_0076: { ObjectU5BU5D_t3614634134* L_20 = V_1; int32_t L_21 = ___index1; int32_t L_22 = L_21; Il2CppObject * L_23 = (L_20)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22)); V_2 = L_23; ObjectU5BU5D_t3614634134* L_24 = V_1; int32_t L_25 = ___index1; ObjectU5BU5D_t3614634134* L_26 = V_1; int32_t L_27 = V_0; int32_t L_28 = L_27; Il2CppObject * L_29 = (L_26)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_28)); ArrayElementTypeCheck (L_24, L_29); (L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25), (Il2CppObject *)L_29); ObjectU5BU5D_t3614634134* L_30 = V_1; int32_t L_31 = V_0; Il2CppObject * L_32 = V_2; ArrayElementTypeCheck (L_30, L_32); (L_30)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_31), (Il2CppObject *)L_32); int32_t L_33 = ___index1; ___index1 = ((int32_t)((int32_t)L_33+(int32_t)1)); int32_t L_34 = V_0; V_0 = ((int32_t)((int32_t)L_34-(int32_t)1)); } IL_008d: { int32_t L_35 = ___index1; int32_t L_36 = V_0; if ((((int32_t)L_35) < ((int32_t)L_36))) { goto IL_0076; } } { return; } IL_0095: { Il2CppArray * L_37 = ___array0; V_3 = ((Int32U5BU5D_t3030399641*)IsInst(L_37, Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var)); Int32U5BU5D_t3030399641* L_38 = V_3; if (!L_38) { goto IL_00c8; } } { goto IL_00c0; } IL_00a7: { Int32U5BU5D_t3030399641* L_39 = V_3; int32_t L_40 = ___index1; int32_t L_41 = L_40; int32_t L_42 = (L_39)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_41)); V_4 = L_42; Int32U5BU5D_t3030399641* L_43 = V_3; int32_t L_44 = ___index1; Int32U5BU5D_t3030399641* L_45 = V_3; int32_t L_46 = V_0; int32_t L_47 = L_46; int32_t L_48 = (L_45)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_47)); (L_43)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_44), (int32_t)L_48); Int32U5BU5D_t3030399641* L_49 = V_3; int32_t L_50 = V_0; int32_t L_51 = V_4; (L_49)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_50), (int32_t)L_51); int32_t L_52 = ___index1; ___index1 = ((int32_t)((int32_t)L_52+(int32_t)1)); int32_t L_53 = V_0; V_0 = ((int32_t)((int32_t)L_53-(int32_t)1)); } IL_00c0: { int32_t L_54 = ___index1; int32_t L_55 = V_0; if ((((int32_t)L_54) < ((int32_t)L_55))) { goto IL_00a7; } } { return; } IL_00c8: { Il2CppArray * L_56 = ___array0; V_5 = ((DoubleU5BU5D_t1889952540*)IsInst(L_56, DoubleU5BU5D_t1889952540_il2cpp_TypeInfo_var)); DoubleU5BU5D_t1889952540* L_57 = V_5; if (!L_57) { goto IL_0101; } } { goto IL_00f9; } IL_00dc: { DoubleU5BU5D_t1889952540* L_58 = V_5; int32_t L_59 = ___index1; int32_t L_60 = L_59; double L_61 = (L_58)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_60)); V_6 = L_61; DoubleU5BU5D_t1889952540* L_62 = V_5; int32_t L_63 = ___index1; DoubleU5BU5D_t1889952540* L_64 = V_5; int32_t L_65 = V_0; int32_t L_66 = L_65; double L_67 = (L_64)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_66)); (L_62)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_63), (double)L_67); DoubleU5BU5D_t1889952540* L_68 = V_5; int32_t L_69 = V_0; double L_70 = V_6; (L_68)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_69), (double)L_70); int32_t L_71 = ___index1; ___index1 = ((int32_t)((int32_t)L_71+(int32_t)1)); int32_t L_72 = V_0; V_0 = ((int32_t)((int32_t)L_72-(int32_t)1)); } IL_00f9: { int32_t L_73 = ___index1; int32_t L_74 = V_0; if ((((int32_t)L_73) < ((int32_t)L_74))) { goto IL_00dc; } } { return; } IL_0101: { Il2CppArray * L_75 = ___array0; Swapper_t2637371637 * L_76 = Array_get_swapper_m2927604103(NULL /*static, unused*/, L_75, /*hidden argument*/NULL); V_7 = L_76; goto IL_0120; } IL_010e: { Swapper_t2637371637 * L_77 = V_7; int32_t L_78 = ___index1; int32_t L_79 = V_0; Swapper_Invoke_m4145335919(L_77, L_78, L_79, /*hidden argument*/NULL); int32_t L_80 = ___index1; ___index1 = ((int32_t)((int32_t)L_80+(int32_t)1)); int32_t L_81 = V_0; V_0 = ((int32_t)((int32_t)L_81-(int32_t)1)); } IL_0120: { int32_t L_82 = ___index1; int32_t L_83 = V_0; if ((((int32_t)L_82) < ((int32_t)L_83))) { goto IL_010e; } } { return; } } // System.Void System.Array::Sort(System.Array) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern const uint32_t Array_Sort_m2994254654_MetadataUsageId; extern "C" void Array_Sort_m2994254654 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Sort_m2994254654_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; Il2CppArray * L_3 = ___array0; int32_t L_4 = Array_GetLowerBound_m3733237204(L_3, 0, /*hidden argument*/NULL); Il2CppArray * L_5 = ___array0; int32_t L_6 = Array_GetLength_m2083296647(L_5, 0, /*hidden argument*/NULL); Array_Sort_m3742784266(NULL /*static, unused*/, L_2, (Il2CppArray *)NULL, L_4, L_6, (Il2CppObject *)NULL, /*hidden argument*/NULL); return; } } // System.Void System.Array::Sort(System.Array,System.Array) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1857677462; extern const uint32_t Array_Sort_m3002148658_MetadataUsageId; extern "C" void Array_Sort_m3002148658 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___keys0, Il2CppArray * ___items1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Sort_m3002148658_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___keys0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1857677462, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___keys0; Il2CppArray * L_3 = ___items1; Il2CppArray * L_4 = ___keys0; int32_t L_5 = Array_GetLowerBound_m3733237204(L_4, 0, /*hidden argument*/NULL); Il2CppArray * L_6 = ___keys0; int32_t L_7 = Array_GetLength_m2083296647(L_6, 0, /*hidden argument*/NULL); Array_Sort_m3742784266(NULL /*static, unused*/, L_2, L_3, L_5, L_7, (Il2CppObject *)NULL, /*hidden argument*/NULL); return; } } // System.Void System.Array::Sort(System.Array,System.Collections.IComparer) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern const uint32_t Array_Sort_m1417611156_MetadataUsageId; extern "C" void Array_Sort_m1417611156 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, Il2CppObject * ___comparer1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Sort_m1417611156_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; Il2CppArray * L_3 = ___array0; int32_t L_4 = Array_GetLowerBound_m3733237204(L_3, 0, /*hidden argument*/NULL); Il2CppArray * L_5 = ___array0; int32_t L_6 = Array_GetLength_m2083296647(L_5, 0, /*hidden argument*/NULL); Il2CppObject * L_7 = ___comparer1; Array_Sort_m3742784266(NULL /*static, unused*/, L_2, (Il2CppArray *)NULL, L_4, L_6, L_7, /*hidden argument*/NULL); return; } } // System.Void System.Array::Sort(System.Array,System.Int32,System.Int32) extern "C" void Array_Sort_m3645766612 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, int32_t ___index1, int32_t ___length2, const MethodInfo* method) { { Il2CppArray * L_0 = ___array0; int32_t L_1 = ___index1; int32_t L_2 = ___length2; Array_Sort_m3742784266(NULL /*static, unused*/, L_0, (Il2CppArray *)NULL, L_1, L_2, (Il2CppObject *)NULL, /*hidden argument*/NULL); return; } } // System.Void System.Array::Sort(System.Array,System.Array,System.Collections.IComparer) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1857677462; extern const uint32_t Array_Sort_m4096942812_MetadataUsageId; extern "C" void Array_Sort_m4096942812 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___keys0, Il2CppArray * ___items1, Il2CppObject * ___comparer2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Sort_m4096942812_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___keys0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1857677462, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___keys0; Il2CppArray * L_3 = ___items1; Il2CppArray * L_4 = ___keys0; int32_t L_5 = Array_GetLowerBound_m3733237204(L_4, 0, /*hidden argument*/NULL); Il2CppArray * L_6 = ___keys0; int32_t L_7 = Array_GetLength_m2083296647(L_6, 0, /*hidden argument*/NULL); Il2CppObject * L_8 = ___comparer2; Array_Sort_m3742784266(NULL /*static, unused*/, L_2, L_3, L_5, L_7, L_8, /*hidden argument*/NULL); return; } } // System.Void System.Array::Sort(System.Array,System.Array,System.Int32,System.Int32) extern "C" void Array_Sort_m3500510484 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___keys0, Il2CppArray * ___items1, int32_t ___index2, int32_t ___length3, const MethodInfo* method) { { Il2CppArray * L_0 = ___keys0; Il2CppArray * L_1 = ___items1; int32_t L_2 = ___index2; int32_t L_3 = ___length3; Array_Sort_m3742784266(NULL /*static, unused*/, L_0, L_1, L_2, L_3, (Il2CppObject *)NULL, /*hidden argument*/NULL); return; } } // System.Void System.Array::Sort(System.Array,System.Int32,System.Int32,System.Collections.IComparer) extern "C" void Array_Sort_m2323017822 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, int32_t ___index1, int32_t ___length2, Il2CppObject * ___comparer3, const MethodInfo* method) { { Il2CppArray * L_0 = ___array0; int32_t L_1 = ___index1; int32_t L_2 = ___length2; Il2CppObject * L_3 = ___comparer3; Array_Sort_m3742784266(NULL /*static, unused*/, L_0, (Il2CppArray *)NULL, L_1, L_2, L_3, /*hidden argument*/NULL); return; } } // System.Void System.Array::Sort(System.Array,System.Array,System.Int32,System.Int32,System.Collections.IComparer) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* DoubleU5BU5D_t1889952540_il2cpp_TypeInfo_var; extern Il2CppClass* UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppClass* CharU5BU5D_t1328083999_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1857677462; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral3438791774; extern Il2CppCodeGenString* _stringLiteral2072701712; extern Il2CppCodeGenString* _stringLiteral1288497662; extern const uint32_t Array_Sort_m3742784266_MetadataUsageId; extern "C" void Array_Sort_m3742784266 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___keys0, Il2CppArray * ___items1, int32_t ___index2, int32_t ___length3, Il2CppObject * ___comparer4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_Sort_m3742784266_MetadataUsageId); s_Il2CppMethodInitialized = true; } Swapper_t2637371637 * V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; Exception_t1927440687 * V_3 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppArray * L_0 = ___keys0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1857677462, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___keys0; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) > ((int32_t)1))) { goto IL_002f; } } { Il2CppArray * L_4 = ___items1; if (!L_4) { goto IL_0035; } } { Il2CppArray * L_5 = ___items1; int32_t L_6 = Array_get_Rank_m3837250695(L_5, /*hidden argument*/NULL); if ((((int32_t)L_6) <= ((int32_t)1))) { goto IL_0035; } } IL_002f: { RankException_t1539875949 * L_7 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m2119191472(L_7, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0035: { Il2CppArray * L_8 = ___items1; if (!L_8) { goto IL_0054; } } { Il2CppArray * L_9 = ___keys0; int32_t L_10 = Array_GetLowerBound_m3733237204(L_9, 0, /*hidden argument*/NULL); Il2CppArray * L_11 = ___items1; int32_t L_12 = Array_GetLowerBound_m3733237204(L_11, 0, /*hidden argument*/NULL); if ((((int32_t)L_10) == ((int32_t)L_12))) { goto IL_0054; } } { ArgumentException_t3259014390 * L_13 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m2105824819(L_13, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } IL_0054: { int32_t L_14 = ___index2; Il2CppArray * L_15 = ___keys0; int32_t L_16 = Array_GetLowerBound_m3733237204(L_15, 0, /*hidden argument*/NULL); if ((((int32_t)L_14) >= ((int32_t)L_16))) { goto IL_006c; } } { ArgumentOutOfRangeException_t279959794 * L_17 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_17, _stringLiteral1460639766, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_17); } IL_006c: { int32_t L_18 = ___length3; if ((((int32_t)L_18) >= ((int32_t)0))) { goto IL_0088; } } { String_t* L_19 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2072701712, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_20 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_20, _stringLiteral3438791774, L_19, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_20); } IL_0088: { Il2CppArray * L_21 = ___keys0; int32_t L_22 = Array_get_Length_m1498215565(L_21, /*hidden argument*/NULL); int32_t L_23 = ___index2; Il2CppArray * L_24 = ___keys0; int32_t L_25 = Array_GetLowerBound_m3733237204(L_24, 0, /*hidden argument*/NULL); int32_t L_26 = ___length3; if ((((int32_t)((int32_t)((int32_t)L_22-(int32_t)((int32_t)((int32_t)L_23+(int32_t)L_25))))) < ((int32_t)L_26))) { goto IL_00b2; } } { Il2CppArray * L_27 = ___items1; if (!L_27) { goto IL_00b8; } } { int32_t L_28 = ___index2; Il2CppArray * L_29 = ___items1; int32_t L_30 = Array_get_Length_m1498215565(L_29, /*hidden argument*/NULL); int32_t L_31 = ___length3; if ((((int32_t)L_28) <= ((int32_t)((int32_t)((int32_t)L_30-(int32_t)L_31))))) { goto IL_00b8; } } IL_00b2: { ArgumentException_t3259014390 * L_32 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m2105824819(L_32, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_32); } IL_00b8: { int32_t L_33 = ___length3; if ((((int32_t)L_33) > ((int32_t)1))) { goto IL_00c0; } } { return; } IL_00c0: { Il2CppObject * L_34 = ___comparer4; if (L_34) { goto IL_0134; } } { Il2CppArray * L_35 = ___items1; if (L_35) { goto IL_00d4; } } { V_0 = (Swapper_t2637371637 *)NULL; goto IL_00db; } IL_00d4: { Il2CppArray * L_36 = ___items1; Swapper_t2637371637 * L_37 = Array_get_swapper_m2927604103(NULL /*static, unused*/, L_36, /*hidden argument*/NULL); V_0 = L_37; } IL_00db: { Il2CppArray * L_38 = ___keys0; if (!((DoubleU5BU5D_t1889952540*)IsInst(L_38, DoubleU5BU5D_t1889952540_il2cpp_TypeInfo_var))) { goto IL_00f5; } } { Il2CppArray * L_39 = ___keys0; int32_t L_40 = ___index2; int32_t L_41 = ___length3; Swapper_t2637371637 * L_42 = V_0; Array_combsort_m2084527518(NULL /*static, unused*/, ((DoubleU5BU5D_t1889952540*)IsInst(L_39, DoubleU5BU5D_t1889952540_il2cpp_TypeInfo_var)), L_40, L_41, L_42, /*hidden argument*/NULL); return; } IL_00f5: { Il2CppArray * L_43 = ___keys0; if (((UInt32U5BU5D_t59386216*)IsInst(L_43, UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var))) { goto IL_011a; } } { Il2CppArray * L_44 = ___keys0; if (!((Int32U5BU5D_t3030399641*)IsInst(L_44, Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var))) { goto IL_011a; } } { Il2CppArray * L_45 = ___keys0; int32_t L_46 = ___index2; int32_t L_47 = ___length3; Swapper_t2637371637 * L_48 = V_0; Array_combsort_m2976623007(NULL /*static, unused*/, ((Int32U5BU5D_t3030399641*)IsInst(L_45, Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var)), L_46, L_47, L_48, /*hidden argument*/NULL); return; } IL_011a: { Il2CppArray * L_49 = ___keys0; if (!((CharU5BU5D_t1328083999*)IsInst(L_49, CharU5BU5D_t1328083999_il2cpp_TypeInfo_var))) { goto IL_0134; } } { Il2CppArray * L_50 = ___keys0; int32_t L_51 = ___index2; int32_t L_52 = ___length3; Swapper_t2637371637 * L_53 = V_0; Array_combsort_m2486643569(NULL /*static, unused*/, ((CharU5BU5D_t1328083999*)IsInst(L_50, CharU5BU5D_t1328083999_il2cpp_TypeInfo_var)), L_51, L_52, L_53, /*hidden argument*/NULL); return; } IL_0134: try { // begin try (depth: 1) int32_t L_54 = ___index2; V_1 = L_54; int32_t L_55 = ___index2; int32_t L_56 = ___length3; V_2 = ((int32_t)((int32_t)((int32_t)((int32_t)L_55+(int32_t)L_56))-(int32_t)1)); Il2CppArray * L_57 = ___keys0; Il2CppArray * L_58 = ___items1; int32_t L_59 = V_1; int32_t L_60 = V_2; Il2CppObject * L_61 = ___comparer4; Array_qsort_m2724316709(NULL /*static, unused*/, L_57, L_58, L_59, L_60, L_61, /*hidden argument*/NULL); goto IL_0163; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Exception_t1927440687_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_014c; throw e; } CATCH_014c: { // begin catch(System.Exception) { V_3 = ((Exception_t1927440687 *)__exception_local); String_t* L_62 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1288497662, /*hidden argument*/NULL); Exception_t1927440687 * L_63 = V_3; InvalidOperationException_t721527559 * L_64 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m725121084(L_64, L_62, L_63, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_64); } IL_015e: { goto IL_0163; } } // end catch (depth: 1) IL_0163: { return; } } // System.Void System.Array::int_swapper(System.Int32,System.Int32) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Array_int_swapper_m2498629762_MetadataUsageId; extern "C" void Array_int_swapper_m2498629762 (Il2CppArray * __this, int32_t ___i0, int32_t ___j1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_int_swapper_m2498629762_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; int32_t V_1 = 0; { V_0 = ((Int32U5BU5D_t3030399641*)IsInst(__this, Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var)); Int32U5BU5D_t3030399641* L_0 = V_0; int32_t L_1 = ___i0; int32_t L_2 = L_1; int32_t L_3 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_2)); V_1 = L_3; Int32U5BU5D_t3030399641* L_4 = V_0; int32_t L_5 = ___i0; Int32U5BU5D_t3030399641* L_6 = V_0; int32_t L_7 = ___j1; int32_t L_8 = L_7; int32_t L_9 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8)); (L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5), (int32_t)L_9); Int32U5BU5D_t3030399641* L_10 = V_0; int32_t L_11 = ___j1; int32_t L_12 = V_1; (L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11), (int32_t)L_12); return; } } // System.Void System.Array::obj_swapper(System.Int32,System.Int32) extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern const uint32_t Array_obj_swapper_m2156282294_MetadataUsageId; extern "C" void Array_obj_swapper_m2156282294 (Il2CppArray * __this, int32_t ___i0, int32_t ___j1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_obj_swapper_m2156282294_MetadataUsageId); s_Il2CppMethodInitialized = true; } ObjectU5BU5D_t3614634134* V_0 = NULL; Il2CppObject * V_1 = NULL; { V_0 = ((ObjectU5BU5D_t3614634134*)IsInst(__this, ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var)); ObjectU5BU5D_t3614634134* L_0 = V_0; int32_t L_1 = ___i0; int32_t L_2 = L_1; Il2CppObject * L_3 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_2)); V_1 = L_3; ObjectU5BU5D_t3614634134* L_4 = V_0; int32_t L_5 = ___i0; ObjectU5BU5D_t3614634134* L_6 = V_0; int32_t L_7 = ___j1; int32_t L_8 = L_7; Il2CppObject * L_9 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8)); ArrayElementTypeCheck (L_4, L_9); (L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5), (Il2CppObject *)L_9); ObjectU5BU5D_t3614634134* L_10 = V_0; int32_t L_11 = ___j1; Il2CppObject * L_12 = V_1; ArrayElementTypeCheck (L_10, L_12); (L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11), (Il2CppObject *)L_12); return; } } // System.Void System.Array::slow_swapper(System.Int32,System.Int32) extern "C" void Array_slow_swapper_m1728818032 (Il2CppArray * __this, int32_t ___i0, int32_t ___j1, const MethodInfo* method) { Il2CppObject * V_0 = NULL; { int32_t L_0 = ___i0; Il2CppObject * L_1 = Array_GetValueImpl_m2679649099(__this, L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = ___j1; Il2CppObject * L_3 = Array_GetValue_m3284370071(__this, L_2, /*hidden argument*/NULL); int32_t L_4 = ___i0; Array_SetValueImpl_m1292741952(__this, L_3, L_4, /*hidden argument*/NULL); Il2CppObject * L_5 = V_0; int32_t L_6 = ___j1; Array_SetValueImpl_m1292741952(__this, L_5, L_6, /*hidden argument*/NULL); return; } } // System.Void System.Array::double_swapper(System.Int32,System.Int32) extern Il2CppClass* DoubleU5BU5D_t1889952540_il2cpp_TypeInfo_var; extern const uint32_t Array_double_swapper_m1175307080_MetadataUsageId; extern "C" void Array_double_swapper_m1175307080 (Il2CppArray * __this, int32_t ___i0, int32_t ___j1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_double_swapper_m1175307080_MetadataUsageId); s_Il2CppMethodInitialized = true; } DoubleU5BU5D_t1889952540* V_0 = NULL; double V_1 = 0.0; { V_0 = ((DoubleU5BU5D_t1889952540*)IsInst(__this, DoubleU5BU5D_t1889952540_il2cpp_TypeInfo_var)); DoubleU5BU5D_t1889952540* L_0 = V_0; int32_t L_1 = ___i0; int32_t L_2 = L_1; double L_3 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_2)); V_1 = L_3; DoubleU5BU5D_t1889952540* L_4 = V_0; int32_t L_5 = ___i0; DoubleU5BU5D_t1889952540* L_6 = V_0; int32_t L_7 = ___j1; int32_t L_8 = L_7; double L_9 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8)); (L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5), (double)L_9); DoubleU5BU5D_t1889952540* L_10 = V_0; int32_t L_11 = ___j1; double L_12 = V_1; (L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11), (double)L_12); return; } } // System.Int32 System.Array::new_gap(System.Int32) extern "C" int32_t Array_new_gap_m3938262218 (Il2CppObject * __this /* static, unused */, int32_t ___gap0, const MethodInfo* method) { { int32_t L_0 = ___gap0; ___gap0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_0*(int32_t)((int32_t)10)))/(int32_t)((int32_t)13))); int32_t L_1 = ___gap0; if ((((int32_t)L_1) == ((int32_t)((int32_t)9)))) { goto IL_0019; } } { int32_t L_2 = ___gap0; if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)10))))) { goto IL_001c; } } IL_0019: { return ((int32_t)11); } IL_001c: { int32_t L_3 = ___gap0; if ((((int32_t)L_3) >= ((int32_t)1))) { goto IL_0025; } } { return 1; } IL_0025: { int32_t L_4 = ___gap0; return L_4; } } // System.Void System.Array::combsort(System.Double[],System.Int32,System.Int32,System.Array/Swapper) extern "C" void Array_combsort_m2084527518 (Il2CppObject * __this /* static, unused */, DoubleU5BU5D_t1889952540* ___array0, int32_t ___start1, int32_t ___size2, Swapper_t2637371637 * ___swap_items3, const MethodInfo* method) { int32_t V_0 = 0; bool V_1 = false; int32_t V_2 = 0; int32_t V_3 = 0; int32_t V_4 = 0; double V_5 = 0.0; { int32_t L_0 = ___size2; V_0 = L_0; } IL_0002: { int32_t L_1 = V_0; int32_t L_2 = Array_new_gap_m3938262218(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); V_0 = L_2; V_1 = (bool)0; int32_t L_3 = ___start1; int32_t L_4 = ___size2; int32_t L_5 = V_0; V_2 = ((int32_t)((int32_t)((int32_t)((int32_t)L_3+(int32_t)L_4))-(int32_t)L_5)); int32_t L_6 = ___start1; V_3 = L_6; goto IL_0050; } IL_0018: { int32_t L_7 = V_3; int32_t L_8 = V_0; V_4 = ((int32_t)((int32_t)L_7+(int32_t)L_8)); DoubleU5BU5D_t1889952540* L_9 = ___array0; int32_t L_10 = V_3; int32_t L_11 = L_10; double L_12 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11)); DoubleU5BU5D_t1889952540* L_13 = ___array0; int32_t L_14 = V_4; int32_t L_15 = L_14; double L_16 = (L_13)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15)); if ((!(((double)L_12) > ((double)L_16)))) { goto IL_004c; } } { DoubleU5BU5D_t1889952540* L_17 = ___array0; int32_t L_18 = V_3; int32_t L_19 = L_18; double L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19)); V_5 = L_20; DoubleU5BU5D_t1889952540* L_21 = ___array0; int32_t L_22 = V_3; DoubleU5BU5D_t1889952540* L_23 = ___array0; int32_t L_24 = V_4; int32_t L_25 = L_24; double L_26 = (L_23)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25)); (L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22), (double)L_26); DoubleU5BU5D_t1889952540* L_27 = ___array0; int32_t L_28 = V_4; double L_29 = V_5; (L_27)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_28), (double)L_29); V_1 = (bool)1; Swapper_t2637371637 * L_30 = ___swap_items3; if (!L_30) { goto IL_004c; } } { Swapper_t2637371637 * L_31 = ___swap_items3; int32_t L_32 = V_3; int32_t L_33 = V_4; Swapper_Invoke_m4145335919(L_31, L_32, L_33, /*hidden argument*/NULL); } IL_004c: { int32_t L_34 = V_3; V_3 = ((int32_t)((int32_t)L_34+(int32_t)1)); } IL_0050: { int32_t L_35 = V_3; int32_t L_36 = V_2; if ((((int32_t)L_35) < ((int32_t)L_36))) { goto IL_0018; } } { int32_t L_37 = V_0; if ((!(((uint32_t)L_37) == ((uint32_t)1)))) { goto IL_0069; } } { bool L_38 = V_1; if (L_38) { goto IL_0069; } } { goto IL_006e; } IL_0069: { goto IL_0002; } IL_006e: { return; } } // System.Void System.Array::combsort(System.Int32[],System.Int32,System.Int32,System.Array/Swapper) extern "C" void Array_combsort_m2976623007 (Il2CppObject * __this /* static, unused */, Int32U5BU5D_t3030399641* ___array0, int32_t ___start1, int32_t ___size2, Swapper_t2637371637 * ___swap_items3, const MethodInfo* method) { int32_t V_0 = 0; bool V_1 = false; int32_t V_2 = 0; int32_t V_3 = 0; int32_t V_4 = 0; int32_t V_5 = 0; { int32_t L_0 = ___size2; V_0 = L_0; } IL_0002: { int32_t L_1 = V_0; int32_t L_2 = Array_new_gap_m3938262218(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); V_0 = L_2; V_1 = (bool)0; int32_t L_3 = ___start1; int32_t L_4 = ___size2; int32_t L_5 = V_0; V_2 = ((int32_t)((int32_t)((int32_t)((int32_t)L_3+(int32_t)L_4))-(int32_t)L_5)); int32_t L_6 = ___start1; V_3 = L_6; goto IL_0050; } IL_0018: { int32_t L_7 = V_3; int32_t L_8 = V_0; V_4 = ((int32_t)((int32_t)L_7+(int32_t)L_8)); Int32U5BU5D_t3030399641* L_9 = ___array0; int32_t L_10 = V_3; int32_t L_11 = L_10; int32_t L_12 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11)); Int32U5BU5D_t3030399641* L_13 = ___array0; int32_t L_14 = V_4; int32_t L_15 = L_14; int32_t L_16 = (L_13)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15)); if ((((int32_t)L_12) <= ((int32_t)L_16))) { goto IL_004c; } } { Int32U5BU5D_t3030399641* L_17 = ___array0; int32_t L_18 = V_3; int32_t L_19 = L_18; int32_t L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19)); V_5 = L_20; Int32U5BU5D_t3030399641* L_21 = ___array0; int32_t L_22 = V_3; Int32U5BU5D_t3030399641* L_23 = ___array0; int32_t L_24 = V_4; int32_t L_25 = L_24; int32_t L_26 = (L_23)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25)); (L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22), (int32_t)L_26); Int32U5BU5D_t3030399641* L_27 = ___array0; int32_t L_28 = V_4; int32_t L_29 = V_5; (L_27)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_28), (int32_t)L_29); V_1 = (bool)1; Swapper_t2637371637 * L_30 = ___swap_items3; if (!L_30) { goto IL_004c; } } { Swapper_t2637371637 * L_31 = ___swap_items3; int32_t L_32 = V_3; int32_t L_33 = V_4; Swapper_Invoke_m4145335919(L_31, L_32, L_33, /*hidden argument*/NULL); } IL_004c: { int32_t L_34 = V_3; V_3 = ((int32_t)((int32_t)L_34+(int32_t)1)); } IL_0050: { int32_t L_35 = V_3; int32_t L_36 = V_2; if ((((int32_t)L_35) < ((int32_t)L_36))) { goto IL_0018; } } { int32_t L_37 = V_0; if ((!(((uint32_t)L_37) == ((uint32_t)1)))) { goto IL_0069; } } { bool L_38 = V_1; if (L_38) { goto IL_0069; } } { goto IL_006e; } IL_0069: { goto IL_0002; } IL_006e: { return; } } // System.Void System.Array::combsort(System.Char[],System.Int32,System.Int32,System.Array/Swapper) extern "C" void Array_combsort_m2486643569 (Il2CppObject * __this /* static, unused */, CharU5BU5D_t1328083999* ___array0, int32_t ___start1, int32_t ___size2, Swapper_t2637371637 * ___swap_items3, const MethodInfo* method) { int32_t V_0 = 0; bool V_1 = false; int32_t V_2 = 0; int32_t V_3 = 0; int32_t V_4 = 0; Il2CppChar V_5 = 0x0; { int32_t L_0 = ___size2; V_0 = L_0; } IL_0002: { int32_t L_1 = V_0; int32_t L_2 = Array_new_gap_m3938262218(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); V_0 = L_2; V_1 = (bool)0; int32_t L_3 = ___start1; int32_t L_4 = ___size2; int32_t L_5 = V_0; V_2 = ((int32_t)((int32_t)((int32_t)((int32_t)L_3+(int32_t)L_4))-(int32_t)L_5)); int32_t L_6 = ___start1; V_3 = L_6; goto IL_0050; } IL_0018: { int32_t L_7 = V_3; int32_t L_8 = V_0; V_4 = ((int32_t)((int32_t)L_7+(int32_t)L_8)); CharU5BU5D_t1328083999* L_9 = ___array0; int32_t L_10 = V_3; int32_t L_11 = L_10; uint16_t L_12 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11)); CharU5BU5D_t1328083999* L_13 = ___array0; int32_t L_14 = V_4; int32_t L_15 = L_14; uint16_t L_16 = (L_13)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15)); if ((((int32_t)L_12) <= ((int32_t)L_16))) { goto IL_004c; } } { CharU5BU5D_t1328083999* L_17 = ___array0; int32_t L_18 = V_3; int32_t L_19 = L_18; uint16_t L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19)); V_5 = L_20; CharU5BU5D_t1328083999* L_21 = ___array0; int32_t L_22 = V_3; CharU5BU5D_t1328083999* L_23 = ___array0; int32_t L_24 = V_4; int32_t L_25 = L_24; uint16_t L_26 = (L_23)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25)); (L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22), (Il2CppChar)L_26); CharU5BU5D_t1328083999* L_27 = ___array0; int32_t L_28 = V_4; Il2CppChar L_29 = V_5; (L_27)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_28), (Il2CppChar)L_29); V_1 = (bool)1; Swapper_t2637371637 * L_30 = ___swap_items3; if (!L_30) { goto IL_004c; } } { Swapper_t2637371637 * L_31 = ___swap_items3; int32_t L_32 = V_3; int32_t L_33 = V_4; Swapper_Invoke_m4145335919(L_31, L_32, L_33, /*hidden argument*/NULL); } IL_004c: { int32_t L_34 = V_3; V_3 = ((int32_t)((int32_t)L_34+(int32_t)1)); } IL_0050: { int32_t L_35 = V_3; int32_t L_36 = V_2; if ((((int32_t)L_35) < ((int32_t)L_36))) { goto IL_0018; } } { int32_t L_37 = V_0; if ((!(((uint32_t)L_37) == ((uint32_t)1)))) { goto IL_0069; } } { bool L_38 = V_1; if (L_38) { goto IL_0069; } } { goto IL_006e; } IL_0069: { goto IL_0002; } IL_006e: { return; } } // System.Void System.Array::qsort(System.Array,System.Array,System.Int32,System.Int32,System.Collections.IComparer) extern "C" void Array_qsort_m2724316709 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___keys0, Il2CppArray * ___items1, int32_t ___low02, int32_t ___high03, Il2CppObject * ___comparer4, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; Il2CppObject * V_3 = NULL; { int32_t L_0 = ___low02; int32_t L_1 = ___high03; if ((((int32_t)L_0) < ((int32_t)L_1))) { goto IL_0008; } } { return; } IL_0008: { int32_t L_2 = ___low02; V_0 = L_2; int32_t L_3 = ___high03; V_1 = L_3; int32_t L_4 = V_0; int32_t L_5 = V_1; int32_t L_6 = V_0; V_2 = ((int32_t)((int32_t)L_4+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_5-(int32_t)L_6))/(int32_t)2)))); Il2CppArray * L_7 = ___keys0; int32_t L_8 = V_2; Il2CppObject * L_9 = Array_GetValueImpl_m2679649099(L_7, L_8, /*hidden argument*/NULL); V_3 = L_9; } IL_001c: { goto IL_0025; } IL_0021: { int32_t L_10 = V_0; V_0 = ((int32_t)((int32_t)L_10+(int32_t)1)); } IL_0025: { int32_t L_11 = V_0; int32_t L_12 = ___high03; if ((((int32_t)L_11) >= ((int32_t)L_12))) { goto IL_0041; } } { Il2CppArray * L_13 = ___keys0; int32_t L_14 = V_0; Il2CppObject * L_15 = Array_GetValueImpl_m2679649099(L_13, L_14, /*hidden argument*/NULL); Il2CppObject * L_16 = V_3; Il2CppObject * L_17 = ___comparer4; int32_t L_18 = Array_compare_m1449679507(NULL /*static, unused*/, L_15, L_16, L_17, /*hidden argument*/NULL); if ((((int32_t)L_18) < ((int32_t)0))) { goto IL_0021; } } IL_0041: { goto IL_004a; } IL_0046: { int32_t L_19 = V_1; V_1 = ((int32_t)((int32_t)L_19-(int32_t)1)); } IL_004a: { int32_t L_20 = V_1; int32_t L_21 = ___low02; if ((((int32_t)L_20) <= ((int32_t)L_21))) { goto IL_0066; } } { Il2CppObject * L_22 = V_3; Il2CppArray * L_23 = ___keys0; int32_t L_24 = V_1; Il2CppObject * L_25 = Array_GetValueImpl_m2679649099(L_23, L_24, /*hidden argument*/NULL); Il2CppObject * L_26 = ___comparer4; int32_t L_27 = Array_compare_m1449679507(NULL /*static, unused*/, L_22, L_25, L_26, /*hidden argument*/NULL); if ((((int32_t)L_27) < ((int32_t)0))) { goto IL_0046; } } IL_0066: { int32_t L_28 = V_0; int32_t L_29 = V_1; if ((((int32_t)L_28) > ((int32_t)L_29))) { goto IL_0083; } } { Il2CppArray * L_30 = ___keys0; Il2CppArray * L_31 = ___items1; int32_t L_32 = V_0; int32_t L_33 = V_1; Array_swap_m2899996059(NULL /*static, unused*/, L_30, L_31, L_32, L_33, /*hidden argument*/NULL); int32_t L_34 = V_0; V_0 = ((int32_t)((int32_t)L_34+(int32_t)1)); int32_t L_35 = V_1; V_1 = ((int32_t)((int32_t)L_35-(int32_t)1)); goto IL_0088; } IL_0083: { goto IL_008d; } IL_0088: { goto IL_001c; } IL_008d: { int32_t L_36 = ___low02; int32_t L_37 = V_1; if ((((int32_t)L_36) >= ((int32_t)L_37))) { goto IL_009f; } } { Il2CppArray * L_38 = ___keys0; Il2CppArray * L_39 = ___items1; int32_t L_40 = ___low02; int32_t L_41 = V_1; Il2CppObject * L_42 = ___comparer4; Array_qsort_m2724316709(NULL /*static, unused*/, L_38, L_39, L_40, L_41, L_42, /*hidden argument*/NULL); } IL_009f: { int32_t L_43 = V_0; int32_t L_44 = ___high03; if ((((int32_t)L_43) >= ((int32_t)L_44))) { goto IL_00b1; } } { Il2CppArray * L_45 = ___keys0; Il2CppArray * L_46 = ___items1; int32_t L_47 = V_0; int32_t L_48 = ___high03; Il2CppObject * L_49 = ___comparer4; Array_qsort_m2724316709(NULL /*static, unused*/, L_45, L_46, L_47, L_48, L_49, /*hidden argument*/NULL); } IL_00b1: { return; } } // System.Void System.Array::swap(System.Array,System.Array,System.Int32,System.Int32) extern "C" void Array_swap_m2899996059 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___keys0, Il2CppArray * ___items1, int32_t ___i2, int32_t ___j3, const MethodInfo* method) { Il2CppObject * V_0 = NULL; { Il2CppArray * L_0 = ___keys0; int32_t L_1 = ___i2; Il2CppObject * L_2 = Array_GetValueImpl_m2679649099(L_0, L_1, /*hidden argument*/NULL); V_0 = L_2; Il2CppArray * L_3 = ___keys0; Il2CppArray * L_4 = ___keys0; int32_t L_5 = ___j3; Il2CppObject * L_6 = Array_GetValue_m3284370071(L_4, L_5, /*hidden argument*/NULL); int32_t L_7 = ___i2; Array_SetValueImpl_m1292741952(L_3, L_6, L_7, /*hidden argument*/NULL); Il2CppArray * L_8 = ___keys0; Il2CppObject * L_9 = V_0; int32_t L_10 = ___j3; Array_SetValueImpl_m1292741952(L_8, L_9, L_10, /*hidden argument*/NULL); Il2CppArray * L_11 = ___items1; if (!L_11) { goto IL_0042; } } { Il2CppArray * L_12 = ___items1; int32_t L_13 = ___i2; Il2CppObject * L_14 = Array_GetValueImpl_m2679649099(L_12, L_13, /*hidden argument*/NULL); V_0 = L_14; Il2CppArray * L_15 = ___items1; Il2CppArray * L_16 = ___items1; int32_t L_17 = ___j3; Il2CppObject * L_18 = Array_GetValueImpl_m2679649099(L_16, L_17, /*hidden argument*/NULL); int32_t L_19 = ___i2; Array_SetValueImpl_m1292741952(L_15, L_18, L_19, /*hidden argument*/NULL); Il2CppArray * L_20 = ___items1; Il2CppObject * L_21 = V_0; int32_t L_22 = ___j3; Array_SetValueImpl_m1292741952(L_20, L_21, L_22, /*hidden argument*/NULL); } IL_0042: { return; } } // System.Int32 System.Array::compare(System.Object,System.Object,System.Collections.IComparer) extern Il2CppClass* IComparable_t1857082765_il2cpp_TypeInfo_var; extern Il2CppClass* IComparer_t3952557350_il2cpp_TypeInfo_var; extern const uint32_t Array_compare_m1449679507_MetadataUsageId; extern "C" int32_t Array_compare_m1449679507 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value10, Il2CppObject * ___value21, Il2CppObject * ___comparer2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_compare_m1449679507_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t G_B4_0 = 0; { Il2CppObject * L_0 = ___value10; if (L_0) { goto IL_0014; } } { Il2CppObject * L_1 = ___value21; if (L_1) { goto IL_0012; } } { G_B4_0 = 0; goto IL_0013; } IL_0012: { G_B4_0 = (-1); } IL_0013: { return G_B4_0; } IL_0014: { Il2CppObject * L_2 = ___value21; if (L_2) { goto IL_001c; } } { return 1; } IL_001c: { Il2CppObject * L_3 = ___comparer2; if (L_3) { goto IL_002f; } } { Il2CppObject * L_4 = ___value10; Il2CppObject * L_5 = ___value21; int32_t L_6 = InterfaceFuncInvoker1< int32_t, Il2CppObject * >::Invoke(0 /* System.Int32 System.IComparable::CompareTo(System.Object) */, IComparable_t1857082765_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_4, IComparable_t1857082765_il2cpp_TypeInfo_var)), L_5); return L_6; } IL_002f: { Il2CppObject * L_7 = ___comparer2; Il2CppObject * L_8 = ___value10; Il2CppObject * L_9 = ___value21; int32_t L_10 = InterfaceFuncInvoker2< int32_t, Il2CppObject *, Il2CppObject * >::Invoke(0 /* System.Int32 System.Collections.IComparer::Compare(System.Object,System.Object) */, IComparer_t3952557350_il2cpp_TypeInfo_var, L_7, L_8, L_9); return L_10; } } // System.Void System.Array::CopyTo(System.Array,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3431013888; extern Il2CppCodeGenString* _stringLiteral2724855293; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral2072701712; extern const uint32_t Array_CopyTo_m4061033315_MetadataUsageId; extern "C" void Array_CopyTo_m4061033315 (Il2CppArray * __this, Il2CppArray * ___array0, int32_t ___index1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_CopyTo_m4061033315_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = Array_get_Rank_m3837250695(__this, /*hidden argument*/NULL); if ((((int32_t)L_2) <= ((int32_t)1))) { goto IL_002d; } } { String_t* L_3 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_4 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_4, L_3, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_002d: { int32_t L_5 = ___index1; int32_t L_6 = Array_GetLength_m2083296647(__this, 0, /*hidden argument*/NULL); Il2CppArray * L_7 = ___array0; int32_t L_8 = Array_GetLowerBound_m3733237204(L_7, 0, /*hidden argument*/NULL); Il2CppArray * L_9 = ___array0; int32_t L_10 = Array_GetLength_m2083296647(L_9, 0, /*hidden argument*/NULL); if ((((int32_t)((int32_t)((int32_t)L_5+(int32_t)L_6))) <= ((int32_t)((int32_t)((int32_t)L_8+(int32_t)L_10))))) { goto IL_0055; } } { ArgumentException_t3259014390 * L_11 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_11, _stringLiteral2724855293, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_0055: { Il2CppArray * L_12 = ___array0; int32_t L_13 = Array_get_Rank_m3837250695(L_12, /*hidden argument*/NULL); if ((((int32_t)L_13) <= ((int32_t)1))) { goto IL_0071; } } { String_t* L_14 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3431013888, /*hidden argument*/NULL); RankException_t1539875949 * L_15 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m998508686(L_15, L_14, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_15); } IL_0071: { int32_t L_16 = ___index1; if ((((int32_t)L_16) >= ((int32_t)0))) { goto IL_008d; } } { String_t* L_17 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2072701712, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_18 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_18, _stringLiteral1460639766, L_17, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_18); } IL_008d: { int32_t L_19 = Array_GetLowerBound_m3733237204(__this, 0, /*hidden argument*/NULL); Il2CppArray * L_20 = ___array0; int32_t L_21 = ___index1; int32_t L_22 = Array_GetLength_m2083296647(__this, 0, /*hidden argument*/NULL); Array_Copy_m3808317496(NULL /*static, unused*/, __this, L_19, L_20, L_21, L_22, /*hidden argument*/NULL); return; } } // System.Void System.Array::CopyTo(System.Array,System.Int64) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral3370991523; extern const uint32_t Array_CopyTo_m1950502352_MetadataUsageId; extern "C" void Array_CopyTo_m1950502352 (Il2CppArray * __this, Il2CppArray * ___array0, int64_t ___index1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Array_CopyTo_m1950502352_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___index1; if ((((int64_t)L_0) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0014; } } { int64_t L_1 = ___index1; if ((((int64_t)L_1) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0029; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3370991523, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral1460639766, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0029: { Il2CppArray * L_4 = ___array0; int64_t L_5 = ___index1; Array_CopyTo_m4061033315(__this, L_4, (((int32_t)((int32_t)L_5))), /*hidden argument*/NULL); return; } } // System.Void System.Array::ConstrainedCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32) extern "C" void Array_ConstrainedCopy_m1922927602 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___sourceArray0, int32_t ___sourceIndex1, Il2CppArray * ___destinationArray2, int32_t ___destinationIndex3, int32_t ___length4, const MethodInfo* method) { { Il2CppArray * L_0 = ___sourceArray0; int32_t L_1 = ___sourceIndex1; Il2CppArray * L_2 = ___destinationArray2; int32_t L_3 = ___destinationIndex3; int32_t L_4 = ___length4; Array_Copy_m3808317496(NULL /*static, unused*/, L_0, L_1, L_2, L_3, L_4, /*hidden argument*/NULL); return; } } // System.Void System.Array/SimpleEnumerator::.ctor(System.Array) extern "C" void SimpleEnumerator__ctor_m2272112645 (SimpleEnumerator_t4019359169 * __this, Il2CppArray * ___arrayToEnumerate0, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Il2CppArray * L_0 = ___arrayToEnumerate0; __this->set_enumeratee_0(L_0); __this->set_currentpos_1((-1)); Il2CppArray * L_1 = ___arrayToEnumerate0; int32_t L_2 = Array_get_Length_m1498215565(L_1, /*hidden argument*/NULL); __this->set_length_2(L_2); return; } } // System.Object System.Array/SimpleEnumerator::get_Current() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3213056945; extern Il2CppCodeGenString* _stringLiteral2435240907; extern const uint32_t SimpleEnumerator_get_Current_m482975946_MetadataUsageId; extern "C" Il2CppObject * SimpleEnumerator_get_Current_m482975946 (SimpleEnumerator_t4019359169 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SimpleEnumerator_get_Current_m482975946_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get_currentpos_1(); if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3213056945, /*hidden argument*/NULL); InvalidOperationException_t721527559 * L_2 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { int32_t L_3 = __this->get_currentpos_1(); int32_t L_4 = __this->get_length_2(); if ((((int32_t)L_3) < ((int32_t)L_4))) { goto IL_003d; } } { String_t* L_5 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2435240907, /*hidden argument*/NULL); InvalidOperationException_t721527559 * L_6 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_6, L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003d: { Il2CppArray * L_7 = __this->get_enumeratee_0(); int32_t L_8 = __this->get_currentpos_1(); Il2CppObject * L_9 = Array_GetValueImpl_m2679649099(L_7, L_8, /*hidden argument*/NULL); return L_9; } } // System.Boolean System.Array/SimpleEnumerator::MoveNext() extern "C" bool SimpleEnumerator_MoveNext_m1696906961 (SimpleEnumerator_t4019359169 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_currentpos_1(); int32_t L_1 = __this->get_length_2(); if ((((int32_t)L_0) >= ((int32_t)L_1))) { goto IL_001f; } } { int32_t L_2 = __this->get_currentpos_1(); __this->set_currentpos_1(((int32_t)((int32_t)L_2+(int32_t)1))); } IL_001f: { int32_t L_3 = __this->get_currentpos_1(); int32_t L_4 = __this->get_length_2(); if ((((int32_t)L_3) >= ((int32_t)L_4))) { goto IL_0032; } } { return (bool)1; } IL_0032: { return (bool)0; } } // System.Void System.Array/SimpleEnumerator::Reset() extern "C" void SimpleEnumerator_Reset_m1341779532 (SimpleEnumerator_t4019359169 * __this, const MethodInfo* method) { { __this->set_currentpos_1((-1)); return; } } // System.Object System.Array/SimpleEnumerator::Clone() extern "C" Il2CppObject * SimpleEnumerator_Clone_m3032847657 (SimpleEnumerator_t4019359169 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = Object_MemberwiseClone_m2655589444(__this, /*hidden argument*/NULL); return L_0; } } // System.Void System.Array/Swapper::.ctor(System.Object,System.IntPtr) extern "C" void Swapper__ctor_m1954582975 (Swapper_t2637371637 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) { __this->set_method_ptr_0((Il2CppMethodPointer)((MethodInfo*)___method1.get_m_value_0())->methodPointer); __this->set_method_3(___method1); __this->set_m_target_2(___object0); } // System.Void System.Array/Swapper::Invoke(System.Int32,System.Int32) extern "C" void Swapper_Invoke_m4145335919 (Swapper_t2637371637 * __this, int32_t ___i0, int32_t ___j1, const MethodInfo* method) { if(__this->get_prev_9() != NULL) { Swapper_Invoke_m4145335919((Swapper_t2637371637 *)__this->get_prev_9(),___i0, ___j1, method); } il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((MethodInfo*)(__this->get_method_3().get_m_value_0())); bool ___methodIsStatic = MethodIsStatic((MethodInfo*)(__this->get_method_3().get_m_value_0())); if (__this->get_m_target_2() != NULL && ___methodIsStatic) { typedef void (*FunctionPointerType) (Il2CppObject *, void* __this, int32_t ___i0, int32_t ___j1, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___i0, ___j1,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } else { typedef void (*FunctionPointerType) (void* __this, int32_t ___i0, int32_t ___j1, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___i0, ___j1,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } } extern "C" void DelegatePInvokeWrapper_Swapper_t2637371637 (Swapper_t2637371637 * __this, int32_t ___i0, int32_t ___j1, const MethodInfo* method) { typedef void (STDCALL *PInvokeFunc)(int32_t, int32_t); PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer); // Native function invocation il2cppPInvokeFunc(___i0, ___j1); } // System.IAsyncResult System.Array/Swapper::BeginInvoke(System.Int32,System.Int32,System.AsyncCallback,System.Object) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern const uint32_t Swapper_BeginInvoke_m2652511022_MetadataUsageId; extern "C" Il2CppObject * Swapper_BeginInvoke_m2652511022 (Swapper_t2637371637 * __this, int32_t ___i0, int32_t ___j1, AsyncCallback_t163412349 * ___callback2, Il2CppObject * ___object3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Swapper_BeginInvoke_m2652511022_MetadataUsageId); s_Il2CppMethodInitialized = true; } void *__d_args[3] = {0}; __d_args[0] = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &___i0); __d_args[1] = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &___j1); return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback2, (Il2CppObject*)___object3); } // System.Void System.Array/Swapper::EndInvoke(System.IAsyncResult) extern "C" void Swapper_EndInvoke_m677693941 (Swapper_t2637371637 * __this, Il2CppObject * ___result0, const MethodInfo* method) { il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0); } // System.Void System.ArrayTypeMismatchException::.ctor() extern Il2CppCodeGenString* _stringLiteral98711176; extern const uint32_t ArrayTypeMismatchException__ctor_m1923871345_MetadataUsageId; extern "C" void ArrayTypeMismatchException__ctor_m1923871345 (ArrayTypeMismatchException_t2071164632 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayTypeMismatchException__ctor_m1923871345_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral98711176, /*hidden argument*/NULL); SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233085), /*hidden argument*/NULL); return; } } // System.Void System.ArrayTypeMismatchException::.ctor(System.String) extern "C" void ArrayTypeMismatchException__ctor_m1898555879 (ArrayTypeMismatchException_t2071164632 * __this, String_t* ___message0, const MethodInfo* method) { { String_t* L_0 = ___message0; SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233085), /*hidden argument*/NULL); return; } } // System.Void System.ArrayTypeMismatchException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void ArrayTypeMismatchException__ctor_m2892687300 (ArrayTypeMismatchException_t2071164632 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; SystemException__ctor_m2688248668(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.AssemblyLoadEventHandler::.ctor(System.Object,System.IntPtr) extern "C" void AssemblyLoadEventHandler__ctor_m2819610451 (AssemblyLoadEventHandler_t2169307382 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) { __this->set_method_ptr_0((Il2CppMethodPointer)((MethodInfo*)___method1.get_m_value_0())->methodPointer); __this->set_method_3(___method1); __this->set_m_target_2(___object0); } // System.Void System.AssemblyLoadEventHandler::Invoke(System.Object,System.AssemblyLoadEventArgs) extern "C" void AssemblyLoadEventHandler_Invoke_m108373765 (AssemblyLoadEventHandler_t2169307382 * __this, Il2CppObject * ___sender0, AssemblyLoadEventArgs_t4233815743 * ___args1, const MethodInfo* method) { if(__this->get_prev_9() != NULL) { AssemblyLoadEventHandler_Invoke_m108373765((AssemblyLoadEventHandler_t2169307382 *)__this->get_prev_9(),___sender0, ___args1, method); } il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((MethodInfo*)(__this->get_method_3().get_m_value_0())); bool ___methodIsStatic = MethodIsStatic((MethodInfo*)(__this->get_method_3().get_m_value_0())); if (__this->get_m_target_2() != NULL && ___methodIsStatic) { typedef void (*FunctionPointerType) (Il2CppObject *, void* __this, Il2CppObject * ___sender0, AssemblyLoadEventArgs_t4233815743 * ___args1, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___sender0, ___args1,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } else if (__this->get_m_target_2() != NULL || ___methodIsStatic) { typedef void (*FunctionPointerType) (void* __this, Il2CppObject * ___sender0, AssemblyLoadEventArgs_t4233815743 * ___args1, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___sender0, ___args1,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } else { typedef void (*FunctionPointerType) (void* __this, AssemblyLoadEventArgs_t4233815743 * ___args1, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(___sender0, ___args1,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } } // System.IAsyncResult System.AssemblyLoadEventHandler::BeginInvoke(System.Object,System.AssemblyLoadEventArgs,System.AsyncCallback,System.Object) extern "C" Il2CppObject * AssemblyLoadEventHandler_BeginInvoke_m1930267734 (AssemblyLoadEventHandler_t2169307382 * __this, Il2CppObject * ___sender0, AssemblyLoadEventArgs_t4233815743 * ___args1, AsyncCallback_t163412349 * ___callback2, Il2CppObject * ___object3, const MethodInfo* method) { void *__d_args[3] = {0}; __d_args[0] = ___sender0; __d_args[1] = ___args1; return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback2, (Il2CppObject*)___object3); } // System.Void System.AssemblyLoadEventHandler::EndInvoke(System.IAsyncResult) extern "C" void AssemblyLoadEventHandler_EndInvoke_m707253317 (AssemblyLoadEventHandler_t2169307382 * __this, Il2CppObject * ___result0, const MethodInfo* method) { il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0); } // System.Void System.AsyncCallback::.ctor(System.Object,System.IntPtr) extern "C" void AsyncCallback__ctor_m3071689932 (AsyncCallback_t163412349 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) { __this->set_method_ptr_0((Il2CppMethodPointer)((MethodInfo*)___method1.get_m_value_0())->methodPointer); __this->set_method_3(___method1); __this->set_m_target_2(___object0); } // System.Void System.AsyncCallback::Invoke(System.IAsyncResult) extern "C" void AsyncCallback_Invoke_m1217672441 (AsyncCallback_t163412349 * __this, Il2CppObject * ___ar0, const MethodInfo* method) { if(__this->get_prev_9() != NULL) { AsyncCallback_Invoke_m1217672441((AsyncCallback_t163412349 *)__this->get_prev_9(),___ar0, method); } il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((MethodInfo*)(__this->get_method_3().get_m_value_0())); bool ___methodIsStatic = MethodIsStatic((MethodInfo*)(__this->get_method_3().get_m_value_0())); if (__this->get_m_target_2() != NULL && ___methodIsStatic) { typedef void (*FunctionPointerType) (Il2CppObject *, void* __this, Il2CppObject * ___ar0, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___ar0,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } else if (__this->get_m_target_2() != NULL || ___methodIsStatic) { typedef void (*FunctionPointerType) (void* __this, Il2CppObject * ___ar0, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___ar0,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } else { typedef void (*FunctionPointerType) (void* __this, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(___ar0,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } } // System.IAsyncResult System.AsyncCallback::BeginInvoke(System.IAsyncResult,System.AsyncCallback,System.Object) extern "C" Il2CppObject * AsyncCallback_BeginInvoke_m3304700608 (AsyncCallback_t163412349 * __this, Il2CppObject * ___ar0, AsyncCallback_t163412349 * ___callback1, Il2CppObject * ___object2, const MethodInfo* method) { void *__d_args[2] = {0}; __d_args[0] = ___ar0; return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback1, (Il2CppObject*)___object2); } // System.Void System.AsyncCallback::EndInvoke(System.IAsyncResult) extern "C" void AsyncCallback_EndInvoke_m2522475826 (AsyncCallback_t163412349 * __this, Il2CppObject * ___result0, const MethodInfo* method) { il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0); } // System.Void System.Attribute::.ctor() extern "C" void Attribute__ctor_m1730479323 (Attribute_t542643598 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Void System.Attribute::CheckParameters(System.Object,System.Type) extern const Il2CppType* Attribute_t542643598_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3332765990; extern Il2CppCodeGenString* _stringLiteral1513373802; extern Il2CppCodeGenString* _stringLiteral2979939797; extern const uint32_t Attribute_CheckParameters_m1754681684_MetadataUsageId; extern "C" void Attribute_CheckParameters_m1754681684 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___element0, Type_t * ___attributeType1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Attribute_CheckParameters_m1754681684_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___element0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3332765990, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Type_t * L_2 = ___attributeType1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1513373802, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_4 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Attribute_t542643598_0_0_0_var), /*hidden argument*/NULL); Type_t * L_5 = ___attributeType1; bool L_6 = VirtFuncInvoker1< bool, Type_t * >::Invoke(40 /* System.Boolean System.Type::IsAssignableFrom(System.Type) */, L_4, L_5); if (L_6) { goto IL_004c; } } { String_t* L_7 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2979939797, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_8 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_8, L_7, _stringLiteral1513373802, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_004c: { return; } } // System.Attribute System.Attribute::GetCustomAttribute(System.Reflection.MemberInfo,System.Type) extern "C" Attribute_t542643598 * Attribute_GetCustomAttribute_m2157205805 (Il2CppObject * __this /* static, unused */, MemberInfo_t * ___element0, Type_t * ___attributeType1, const MethodInfo* method) { { MemberInfo_t * L_0 = ___element0; Type_t * L_1 = ___attributeType1; Attribute_t542643598 * L_2 = Attribute_GetCustomAttribute_m3988539922(NULL /*static, unused*/, L_0, L_1, (bool)1, /*hidden argument*/NULL); return L_2; } } // System.Attribute System.Attribute::GetCustomAttribute(System.Reflection.MemberInfo,System.Type,System.Boolean) extern Il2CppClass* MonoCustomAttrs_t2976585698_il2cpp_TypeInfo_var; extern const uint32_t Attribute_GetCustomAttribute_m3988539922_MetadataUsageId; extern "C" Attribute_t542643598 * Attribute_GetCustomAttribute_m3988539922 (Il2CppObject * __this /* static, unused */, MemberInfo_t * ___element0, Type_t * ___attributeType1, bool ___inherit2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Attribute_GetCustomAttribute_m3988539922_MetadataUsageId); s_Il2CppMethodInitialized = true; } { MemberInfo_t * L_0 = ___element0; Type_t * L_1 = ___attributeType1; Attribute_CheckParameters_m1754681684(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); MemberInfo_t * L_2 = ___element0; Type_t * L_3 = ___attributeType1; bool L_4 = ___inherit2; IL2CPP_RUNTIME_CLASS_INIT(MonoCustomAttrs_t2976585698_il2cpp_TypeInfo_var); Attribute_t542643598 * L_5 = MonoCustomAttrs_GetCustomAttribute_m100274015(NULL /*static, unused*/, L_2, L_3, L_4, /*hidden argument*/NULL); return L_5; } } // System.Int32 System.Attribute::GetHashCode() extern "C" int32_t Attribute_GetHashCode_m2653962112 (Attribute_t542643598 * __this, const MethodInfo* method) { { int32_t L_0 = Object_GetHashCode_m1715190285(__this, /*hidden argument*/NULL); return L_0; } } // System.Boolean System.Attribute::IsDefined(System.Reflection.ParameterInfo,System.Type) extern "C" bool Attribute_IsDefined_m2186700650 (Il2CppObject * __this /* static, unused */, ParameterInfo_t2249040075 * ___element0, Type_t * ___attributeType1, const MethodInfo* method) { { ParameterInfo_t2249040075 * L_0 = ___element0; Type_t * L_1 = ___attributeType1; bool L_2 = Attribute_IsDefined_m2118467641(NULL /*static, unused*/, L_0, L_1, (bool)1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.Attribute::IsDefined(System.Reflection.MemberInfo,System.Type) extern "C" bool Attribute_IsDefined_m1350918959 (Il2CppObject * __this /* static, unused */, MemberInfo_t * ___element0, Type_t * ___attributeType1, const MethodInfo* method) { { MemberInfo_t * L_0 = ___element0; Type_t * L_1 = ___attributeType1; bool L_2 = Attribute_IsDefined_m216577166(NULL /*static, unused*/, L_0, L_1, (bool)1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.Attribute::IsDefined(System.Reflection.MemberInfo,System.Type,System.Boolean) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern Il2CppClass* MonoCustomAttrs_t2976585698_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2984276105; extern const uint32_t Attribute_IsDefined_m216577166_MetadataUsageId; extern "C" bool Attribute_IsDefined_m216577166 (Il2CppObject * __this /* static, unused */, MemberInfo_t * ___element0, Type_t * ___attributeType1, bool ___inherit2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Attribute_IsDefined_m216577166_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { MemberInfo_t * L_0 = ___element0; Type_t * L_1 = ___attributeType1; Attribute_CheckParameters_m1754681684(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); MemberInfo_t * L_2 = ___element0; int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Reflection.MemberTypes System.Reflection.MemberInfo::get_MemberType() */, L_2); V_0 = L_3; int32_t L_4 = V_0; if ((((int32_t)L_4) == ((int32_t)1))) { goto IL_0055; } } { int32_t L_5 = V_0; if ((((int32_t)L_5) == ((int32_t)2))) { goto IL_0055; } } { int32_t L_6 = V_0; if ((((int32_t)L_6) == ((int32_t)4))) { goto IL_0055; } } { int32_t L_7 = V_0; if ((((int32_t)L_7) == ((int32_t)8))) { goto IL_0055; } } { int32_t L_8 = V_0; if ((((int32_t)L_8) == ((int32_t)((int32_t)16)))) { goto IL_0055; } } { int32_t L_9 = V_0; if ((((int32_t)L_9) == ((int32_t)((int32_t)32)))) { goto IL_0055; } } { int32_t L_10 = V_0; if ((((int32_t)L_10) == ((int32_t)((int32_t)128)))) { goto IL_0055; } } { String_t* L_11 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2984276105, /*hidden argument*/NULL); NotSupportedException_t1793819818 * L_12 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_12, L_11, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_0055: { int32_t L_13 = V_0; if ((!(((uint32_t)L_13) == ((uint32_t)((int32_t)16))))) { goto IL_0066; } } { MemberInfo_t * L_14 = ___element0; Type_t * L_15 = ___attributeType1; bool L_16 = ___inherit2; IL2CPP_RUNTIME_CLASS_INIT(MonoCustomAttrs_t2976585698_il2cpp_TypeInfo_var); bool L_17 = MonoCustomAttrs_IsDefined_m3820363041(NULL /*static, unused*/, L_14, L_15, L_16, /*hidden argument*/NULL); return L_17; } IL_0066: { MemberInfo_t * L_18 = ___element0; Type_t * L_19 = ___attributeType1; bool L_20 = ___inherit2; bool L_21 = VirtFuncInvoker2< bool, Type_t *, bool >::Invoke(11 /* System.Boolean System.Reflection.MemberInfo::IsDefined(System.Type,System.Boolean) */, L_18, L_19, L_20); return L_21; } } // System.Boolean System.Attribute::IsDefined(System.Reflection.ParameterInfo,System.Type,System.Boolean) extern "C" bool Attribute_IsDefined_m2118467641 (Il2CppObject * __this /* static, unused */, ParameterInfo_t2249040075 * ___element0, Type_t * ___attributeType1, bool ___inherit2, const MethodInfo* method) { { ParameterInfo_t2249040075 * L_0 = ___element0; Type_t * L_1 = ___attributeType1; Attribute_CheckParameters_m1754681684(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); ParameterInfo_t2249040075 * L_2 = ___element0; Type_t * L_3 = ___attributeType1; bool L_4 = ___inherit2; bool L_5 = VirtFuncInvoker2< bool, Type_t *, bool >::Invoke(12 /* System.Boolean System.Reflection.ParameterInfo::IsDefined(System.Type,System.Boolean) */, L_2, L_3, L_4); if (!L_5) { goto IL_0016; } } { return (bool)1; } IL_0016: { ParameterInfo_t2249040075 * L_6 = ___element0; MemberInfo_t * L_7 = VirtFuncInvoker0< MemberInfo_t * >::Invoke(8 /* System.Reflection.MemberInfo System.Reflection.ParameterInfo::get_Member() */, L_6); Type_t * L_8 = ___attributeType1; bool L_9 = ___inherit2; bool L_10 = Attribute_IsDefined_m216577166(NULL /*static, unused*/, L_7, L_8, L_9, /*hidden argument*/NULL); return L_10; } } // System.Boolean System.Attribute::Equals(System.Object) extern Il2CppClass* Attribute_t542643598_il2cpp_TypeInfo_var; extern const uint32_t Attribute_Equals_m3576905816_MetadataUsageId; extern "C" bool Attribute_Equals_m3576905816 (Attribute_t542643598 * __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Attribute_Equals_m3576905816_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___obj0; if (!L_0) { goto IL_0011; } } { Il2CppObject * L_1 = ___obj0; if (((Attribute_t542643598 *)IsInstClass(L_1, Attribute_t542643598_il2cpp_TypeInfo_var))) { goto IL_0013; } } IL_0011: { return (bool)0; } IL_0013: { Il2CppObject * L_2 = ___obj0; bool L_3 = ValueType_DefaultEquals_m2245650968(NULL /*static, unused*/, __this, L_2, /*hidden argument*/NULL); return L_3; } } // System.Void System.AttributeUsageAttribute::.ctor(System.AttributeTargets) extern "C" void AttributeUsageAttribute__ctor_m2873156923 (AttributeUsageAttribute_t1057435127 * __this, int32_t ___validOn0, const MethodInfo* method) { { __this->set_inherited_2((bool)1); Attribute__ctor_m1730479323(__this, /*hidden argument*/NULL); int32_t L_0 = ___validOn0; __this->set_valid_on_0(L_0); return; } } // System.Boolean System.AttributeUsageAttribute::get_AllowMultiple() extern "C" bool AttributeUsageAttribute_get_AllowMultiple_m3513337664 (AttributeUsageAttribute_t1057435127 * __this, const MethodInfo* method) { { bool L_0 = __this->get_allow_multiple_1(); return L_0; } } // System.Void System.AttributeUsageAttribute::set_AllowMultiple(System.Boolean) extern "C" void AttributeUsageAttribute_set_AllowMultiple_m683830749 (AttributeUsageAttribute_t1057435127 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_allow_multiple_1(L_0); return; } } // System.Boolean System.AttributeUsageAttribute::get_Inherited() extern "C" bool AttributeUsageAttribute_get_Inherited_m3830925363 (AttributeUsageAttribute_t1057435127 * __this, const MethodInfo* method) { { bool L_0 = __this->get_inherited_2(); return L_0; } } // System.Void System.AttributeUsageAttribute::set_Inherited(System.Boolean) extern "C" void AttributeUsageAttribute_set_Inherited_m4085818998 (AttributeUsageAttribute_t1057435127 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_inherited_2(L_0); return; } } // System.Void System.BitConverter::.cctor() extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var; extern const uint32_t BitConverter__cctor_m2650018227_MetadataUsageId; extern "C" void BitConverter__cctor_m2650018227 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitConverter__cctor_m2650018227_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = BitConverter_DoubleWordsAreSwapped_m2697726202(NULL /*static, unused*/, /*hidden argument*/NULL); ((BitConverter_t3195628829_StaticFields*)BitConverter_t3195628829_il2cpp_TypeInfo_var->static_fields)->set_SwappedWordsInDouble_0(L_0); bool L_1 = BitConverter_AmILittleEndian_m2716658112(NULL /*static, unused*/, /*hidden argument*/NULL); ((BitConverter_t3195628829_StaticFields*)BitConverter_t3195628829_il2cpp_TypeInfo_var->static_fields)->set_IsLittleEndian_1(L_1); return; } } // System.Boolean System.BitConverter::AmILittleEndian() extern "C" bool BitConverter_AmILittleEndian_m2716658112 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { double V_0 = 0.0; uint8_t* V_1 = NULL; { V_0 = (1.0); V_1 = (uint8_t*)(&V_0); uint8_t* L_0 = V_1; return (bool)((((int32_t)(*((uint8_t*)L_0))) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.BitConverter::DoubleWordsAreSwapped() extern "C" bool BitConverter_DoubleWordsAreSwapped_m2697726202 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { double V_0 = 0.0; uint8_t* V_1 = NULL; { V_0 = (1.0); V_1 = (uint8_t*)(&V_0); uint8_t* L_0 = V_1; return (bool)((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)2))))) == ((int32_t)((int32_t)240)))? 1 : 0); } } // System.Int64 System.BitConverter::DoubleToInt64Bits(System.Double) extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var; extern const uint32_t BitConverter_DoubleToInt64Bits_m3672024538_MetadataUsageId; extern "C" int64_t BitConverter_DoubleToInt64Bits_m3672024538 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitConverter_DoubleToInt64Bits_m3672024538_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var); ByteU5BU5D_t3397334013* L_1 = BitConverter_GetBytes_m4115681617(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); int64_t L_2 = BitConverter_ToInt64_m1329623425(NULL /*static, unused*/, L_1, 0, /*hidden argument*/NULL); return L_2; } } // System.Byte[] System.BitConverter::GetBytes(System.Byte*,System.Int32) extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var; extern const uint32_t BitConverter_GetBytes_m252990073_MetadataUsageId; extern "C" ByteU5BU5D_t3397334013* BitConverter_GetBytes_m252990073 (Il2CppObject * __this /* static, unused */, uint8_t* ___ptr0, int32_t ___count1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitConverter_GetBytes_m252990073_MetadataUsageId); s_Il2CppMethodInitialized = true; } ByteU5BU5D_t3397334013* V_0 = NULL; int32_t V_1 = 0; { int32_t L_0 = ___count1; V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_0)); V_1 = 0; goto IL_0019; } IL_000e: { ByteU5BU5D_t3397334013* L_1 = V_0; int32_t L_2 = V_1; uint8_t* L_3 = ___ptr0; int32_t L_4 = V_1; (L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_2), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_3+(int32_t)L_4))))); int32_t L_5 = V_1; V_1 = ((int32_t)((int32_t)L_5+(int32_t)1)); } IL_0019: { int32_t L_6 = V_1; int32_t L_7 = ___count1; if ((((int32_t)L_6) < ((int32_t)L_7))) { goto IL_000e; } } { ByteU5BU5D_t3397334013* L_8 = V_0; return L_8; } } // System.Byte[] System.BitConverter::GetBytes(System.Double) extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var; extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var; extern const uint32_t BitConverter_GetBytes_m4115681617_MetadataUsageId; extern "C" ByteU5BU5D_t3397334013* BitConverter_GetBytes_m4115681617 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitConverter_GetBytes_m4115681617_MetadataUsageId); s_Il2CppMethodInitialized = true; } ByteU5BU5D_t3397334013* V_0 = NULL; uint8_t* V_1 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var); bool L_0 = ((BitConverter_t3195628829_StaticFields*)BitConverter_t3195628829_il2cpp_TypeInfo_var->static_fields)->get_SwappedWordsInDouble_0(); if (!L_0) { goto IL_004c; } } { V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)8)); V_1 = (uint8_t*)(&___value0); ByteU5BU5D_t3397334013* L_1 = V_0; uint8_t* L_2 = V_1; (L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_2+(int32_t)4))))); ByteU5BU5D_t3397334013* L_3 = V_0; uint8_t* L_4 = V_1; (L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_4+(int32_t)5))))); ByteU5BU5D_t3397334013* L_5 = V_0; uint8_t* L_6 = V_1; (L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_6+(int32_t)6))))); ByteU5BU5D_t3397334013* L_7 = V_0; uint8_t* L_8 = V_1; (L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_8+(int32_t)7))))); ByteU5BU5D_t3397334013* L_9 = V_0; uint8_t* L_10 = V_1; (L_9)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (uint8_t)(*((uint8_t*)L_10))); ByteU5BU5D_t3397334013* L_11 = V_0; uint8_t* L_12 = V_1; (L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_12+(int32_t)1))))); ByteU5BU5D_t3397334013* L_13 = V_0; uint8_t* L_14 = V_1; (L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_14+(int32_t)2))))); ByteU5BU5D_t3397334013* L_15 = V_0; uint8_t* L_16 = V_1; (L_15)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(7), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_16+(int32_t)3))))); ByteU5BU5D_t3397334013* L_17 = V_0; return L_17; } IL_004c: { IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var); ByteU5BU5D_t3397334013* L_18 = BitConverter_GetBytes_m252990073(NULL /*static, unused*/, (uint8_t*)(uint8_t*)(&___value0), 8, /*hidden argument*/NULL); return L_18; } } // System.Void System.BitConverter::PutBytes(System.Byte*,System.Byte[],System.Int32,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1803325615; extern Il2CppCodeGenString* _stringLiteral2445621174; extern Il2CppCodeGenString* _stringLiteral1692793009; extern Il2CppCodeGenString* _stringLiteral1796441724; extern const uint32_t BitConverter_PutBytes_m1441606178_MetadataUsageId; extern "C" void BitConverter_PutBytes_m1441606178 (Il2CppObject * __this /* static, unused */, uint8_t* ___dst0, ByteU5BU5D_t3397334013* ___src1, int32_t ___start_index2, int32_t ___count3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitConverter_PutBytes_m1441606178_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { ByteU5BU5D_t3397334013* L_0 = ___src1; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___start_index2; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_0023; } } { int32_t L_3 = ___start_index2; ByteU5BU5D_t3397334013* L_4 = ___src1; if ((((int32_t)L_3) <= ((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length))))-(int32_t)1))))) { goto IL_0033; } } IL_0023: { ArgumentOutOfRangeException_t279959794 * L_5 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_5, _stringLiteral2445621174, _stringLiteral1692793009, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0033: { ByteU5BU5D_t3397334013* L_6 = ___src1; int32_t L_7 = ___count3; int32_t L_8 = ___start_index2; if ((((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length))))-(int32_t)L_7))) >= ((int32_t)L_8))) { goto IL_0049; } } { ArgumentException_t3259014390 * L_9 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_9, _stringLiteral1796441724, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_9); } IL_0049: { V_0 = 0; goto IL_005d; } IL_0050: { uint8_t* L_10 = ___dst0; int32_t L_11 = V_0; ByteU5BU5D_t3397334013* L_12 = ___src1; int32_t L_13 = V_0; int32_t L_14 = ___start_index2; int32_t L_15 = ((int32_t)((int32_t)L_13+(int32_t)L_14)); uint8_t L_16 = (L_12)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15)); *((int8_t*)(((uint8_t*)((intptr_t)L_10+(int32_t)L_11)))) = (int8_t)L_16; int32_t L_17 = V_0; V_0 = ((int32_t)((int32_t)L_17+(int32_t)1)); } IL_005d: { int32_t L_18 = V_0; int32_t L_19 = ___count3; if ((((int32_t)L_18) < ((int32_t)L_19))) { goto IL_0050; } } { return; } } // System.Int64 System.BitConverter::ToInt64(System.Byte[],System.Int32) extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var; extern const uint32_t BitConverter_ToInt64_m1329623425_MetadataUsageId; extern "C" int64_t BitConverter_ToInt64_m1329623425 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___value0, int32_t ___startIndex1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitConverter_ToInt64_m1329623425_MetadataUsageId); s_Il2CppMethodInitialized = true; } int64_t V_0 = 0; { ByteU5BU5D_t3397334013* L_0 = ___value0; int32_t L_1 = ___startIndex1; IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var); BitConverter_PutBytes_m1441606178(NULL /*static, unused*/, (uint8_t*)(uint8_t*)(&V_0), L_0, L_1, 8, /*hidden argument*/NULL); int64_t L_2 = V_0; return L_2; } } // System.String System.BitConverter::ToString(System.Byte[]) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1803325615; extern const uint32_t BitConverter_ToString_m927173850_MetadataUsageId; extern "C" String_t* BitConverter_ToString_m927173850 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitConverter_ToString_m927173850_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ByteU5BU5D_t3397334013* L_0 = ___value0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { ByteU5BU5D_t3397334013* L_2 = ___value0; ByteU5BU5D_t3397334013* L_3 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var); String_t* L_4 = BitConverter_ToString_m2246696988(NULL /*static, unused*/, L_2, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_3)->max_length)))), /*hidden argument*/NULL); return L_4; } } // System.String System.BitConverter::ToString(System.Byte[],System.Int32,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral84790027; extern Il2CppCodeGenString* _stringLiteral2445621174; extern Il2CppCodeGenString* _stringLiteral1692793009; extern Il2CppCodeGenString* _stringLiteral3438791774; extern Il2CppCodeGenString* _stringLiteral1137652902; extern Il2CppCodeGenString* _stringLiteral1406895356; extern const uint32_t BitConverter_ToString_m2246696988_MetadataUsageId; extern "C" String_t* BitConverter_ToString_m2246696988 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___value0, int32_t ___startIndex1, int32_t ___length2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitConverter_ToString_m2246696988_MetadataUsageId); s_Il2CppMethodInitialized = true; } StringBuilder_t1221177846 * V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; Il2CppChar V_3 = 0x0; Il2CppChar V_4 = 0x0; { ByteU5BU5D_t3397334013* L_0 = ___value0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral84790027, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___startIndex1; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_0021; } } { int32_t L_3 = ___startIndex1; ByteU5BU5D_t3397334013* L_4 = ___value0; if ((((int32_t)L_3) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length))))))) { goto IL_0045; } } IL_0021: { int32_t L_5 = ___startIndex1; if (L_5) { goto IL_0035; } } { ByteU5BU5D_t3397334013* L_6 = ___value0; if ((((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length))))) { goto IL_0035; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_7 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_7; } IL_0035: { ArgumentOutOfRangeException_t279959794 * L_8 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_8, _stringLiteral2445621174, _stringLiteral1692793009, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_0045: { int32_t L_9 = ___length2; if ((((int32_t)L_9) >= ((int32_t)0))) { goto IL_005c; } } { ArgumentOutOfRangeException_t279959794 * L_10 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_10, _stringLiteral3438791774, _stringLiteral1137652902, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } IL_005c: { int32_t L_11 = ___startIndex1; ByteU5BU5D_t3397334013* L_12 = ___value0; int32_t L_13 = ___length2; if ((((int32_t)L_11) <= ((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_12)->max_length))))-(int32_t)L_13))))) { goto IL_0072; } } { ArgumentException_t3259014390 * L_14 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_14, _stringLiteral1406895356, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_14); } IL_0072: { int32_t L_15 = ___length2; if (L_15) { goto IL_007e; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_16 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_16; } IL_007e: { int32_t L_17 = ___length2; StringBuilder_t1221177846 * L_18 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var); StringBuilder__ctor_m536337337(L_18, ((int32_t)((int32_t)((int32_t)((int32_t)L_17*(int32_t)3))-(int32_t)1)), /*hidden argument*/NULL); V_0 = L_18; int32_t L_19 = ___startIndex1; int32_t L_20 = ___length2; V_1 = ((int32_t)((int32_t)L_19+(int32_t)L_20)); int32_t L_21 = ___startIndex1; V_2 = L_21; goto IL_0111; } IL_0094: { int32_t L_22 = V_2; int32_t L_23 = ___startIndex1; if ((((int32_t)L_22) <= ((int32_t)L_23))) { goto IL_00a4; } } { StringBuilder_t1221177846 * L_24 = V_0; StringBuilder_Append_m3618697540(L_24, ((int32_t)45), /*hidden argument*/NULL); } IL_00a4: { ByteU5BU5D_t3397334013* L_25 = ___value0; int32_t L_26 = V_2; int32_t L_27 = L_26; uint8_t L_28 = (L_25)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_27)); V_3 = (((int32_t)((uint16_t)((int32_t)((int32_t)((int32_t)((int32_t)L_28>>(int32_t)4))&(int32_t)((int32_t)15)))))); ByteU5BU5D_t3397334013* L_29 = ___value0; int32_t L_30 = V_2; int32_t L_31 = L_30; uint8_t L_32 = (L_29)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_31)); V_4 = (((int32_t)((uint16_t)((int32_t)((int32_t)L_32&(int32_t)((int32_t)15)))))); Il2CppChar L_33 = V_3; if ((((int32_t)L_33) >= ((int32_t)((int32_t)10)))) { goto IL_00ca; } } { Il2CppChar L_34 = V_3; V_3 = (((int32_t)((uint16_t)((int32_t)((int32_t)L_34+(int32_t)((int32_t)48)))))); goto IL_00d6; } IL_00ca: { Il2CppChar L_35 = V_3; V_3 = (((int32_t)((uint16_t)((int32_t)((int32_t)L_35-(int32_t)((int32_t)10)))))); Il2CppChar L_36 = V_3; V_3 = (((int32_t)((uint16_t)((int32_t)((int32_t)L_36+(int32_t)((int32_t)65)))))); } IL_00d6: { Il2CppChar L_37 = V_4; if ((((int32_t)L_37) >= ((int32_t)((int32_t)10)))) { goto IL_00ec; } } { Il2CppChar L_38 = V_4; V_4 = (((int32_t)((uint16_t)((int32_t)((int32_t)L_38+(int32_t)((int32_t)48)))))); goto IL_00fc; } IL_00ec: { Il2CppChar L_39 = V_4; V_4 = (((int32_t)((uint16_t)((int32_t)((int32_t)L_39-(int32_t)((int32_t)10)))))); Il2CppChar L_40 = V_4; V_4 = (((int32_t)((uint16_t)((int32_t)((int32_t)L_40+(int32_t)((int32_t)65)))))); } IL_00fc: { StringBuilder_t1221177846 * L_41 = V_0; Il2CppChar L_42 = V_3; StringBuilder_Append_m3618697540(L_41, L_42, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_43 = V_0; Il2CppChar L_44 = V_4; StringBuilder_Append_m3618697540(L_43, L_44, /*hidden argument*/NULL); int32_t L_45 = V_2; V_2 = ((int32_t)((int32_t)L_45+(int32_t)1)); } IL_0111: { int32_t L_46 = V_2; int32_t L_47 = V_1; if ((((int32_t)L_46) < ((int32_t)L_47))) { goto IL_0094; } } { StringBuilder_t1221177846 * L_48 = V_0; String_t* L_49 = StringBuilder_ToString_m1507807375(L_48, /*hidden argument*/NULL); return L_49; } } // System.Void System.Boolean::.cctor() extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2609910045; extern Il2CppCodeGenString* _stringLiteral3323264318; extern const uint32_t Boolean__cctor_m1656420992_MetadataUsageId; extern "C" void Boolean__cctor_m1656420992 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean__cctor_m1656420992_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ((Boolean_t3825574718_StaticFields*)Boolean_t3825574718_il2cpp_TypeInfo_var->static_fields)->set_FalseString_0(_stringLiteral2609910045); ((Boolean_t3825574718_StaticFields*)Boolean_t3825574718_il2cpp_TypeInfo_var->static_fields)->set_TrueString_1(_stringLiteral3323264318); return; } } // System.Object System.Boolean::System.IConvertible.ToType(System.Type,System.IFormatProvider) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3040989817; extern const uint32_t Boolean_System_IConvertible_ToType_m3990189691_MetadataUsageId; extern "C" Il2CppObject * Boolean_System_IConvertible_ToType_m3990189691 (bool* __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToType_m3990189691_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___targetType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3040989817, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { bool L_2 = ((bool)(*((int8_t*)__this))); Il2CppObject * L_3 = Box(Boolean_t3825574718_il2cpp_TypeInfo_var, &L_2); Type_t * L_4 = ___targetType0; Il2CppObject * L_5 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Il2CppObject * L_6 = Convert_ToType_m1408903144(NULL /*static, unused*/, L_3, L_4, L_5, (bool)0, /*hidden argument*/NULL); return L_6; } } extern "C" Il2CppObject * Boolean_System_IConvertible_ToType_m3990189691_AdjustorThunk (Il2CppObject * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToType_m3990189691(_thisAdjusted, ___targetType0, ___provider1, method); } // System.Boolean System.Boolean::System.IConvertible.ToBoolean(System.IFormatProvider) extern "C" bool Boolean_System_IConvertible_ToBoolean_m1810519221 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { { return (bool)(*((int8_t*)__this)); } } extern "C" bool Boolean_System_IConvertible_ToBoolean_m1810519221_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToBoolean_m1810519221(_thisAdjusted, ___provider0, method); } // System.Byte System.Boolean::System.IConvertible.ToByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToByte_m1443044213_MetadataUsageId; extern "C" uint8_t Boolean_System_IConvertible_ToByte_m1443044213 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToByte_m1443044213_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint8_t L_0 = Convert_ToByte_m3220387780(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint8_t Boolean_System_IConvertible_ToByte_m1443044213_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToByte_m1443044213(_thisAdjusted, ___provider0, method); } // System.Char System.Boolean::System.IConvertible.ToChar(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToChar_m2637404801_MetadataUsageId; extern "C" Il2CppChar Boolean_System_IConvertible_ToChar_m2637404801 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToChar_m2637404801_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" Il2CppChar Boolean_System_IConvertible_ToChar_m2637404801_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToChar_m2637404801(_thisAdjusted, ___provider0, method); } // System.DateTime System.Boolean::System.IConvertible.ToDateTime(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToDateTime_m2613818037_MetadataUsageId; extern "C" DateTime_t693205669 Boolean_System_IConvertible_ToDateTime_m2613818037 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToDateTime_m2613818037_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" DateTime_t693205669 Boolean_System_IConvertible_ToDateTime_m2613818037_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToDateTime_m2613818037(_thisAdjusted, ___provider0, method); } // System.Decimal System.Boolean::System.IConvertible.ToDecimal(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToDecimal_m3930079893_MetadataUsageId; extern "C" Decimal_t724701077 Boolean_System_IConvertible_ToDecimal_m3930079893 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToDecimal_m3930079893_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Decimal_t724701077 L_0 = Convert_ToDecimal_m3155136770(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" Decimal_t724701077 Boolean_System_IConvertible_ToDecimal_m3930079893_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToDecimal_m3930079893(_thisAdjusted, ___provider0, method); } // System.Double System.Boolean::System.IConvertible.ToDouble(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToDouble_m624978277_MetadataUsageId; extern "C" double Boolean_System_IConvertible_ToDouble_m624978277 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToDouble_m624978277_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); double L_0 = Convert_ToDouble_m204912726(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" double Boolean_System_IConvertible_ToDouble_m624978277_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToDouble_m624978277(_thisAdjusted, ___provider0, method); } // System.Int16 System.Boolean::System.IConvertible.ToInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToInt16_m977801621_MetadataUsageId; extern "C" int16_t Boolean_System_IConvertible_ToInt16_m977801621 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToInt16_m977801621_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int16_t L_0 = Convert_ToInt16_m1787678274(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int16_t Boolean_System_IConvertible_ToInt16_m977801621_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToInt16_m977801621(_thisAdjusted, ___provider0, method); } // System.Int32 System.Boolean::System.IConvertible.ToInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToInt32_m363493013_MetadataUsageId; extern "C" int32_t Boolean_System_IConvertible_ToInt32_m363493013 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToInt32_m363493013_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int32_t L_0 = Convert_ToInt32_m55151042(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int32_t Boolean_System_IConvertible_ToInt32_m363493013_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToInt32_m363493013(_thisAdjusted, ___provider0, method); } // System.Int64 System.Boolean::System.IConvertible.ToInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToInt64_m4142756949_MetadataUsageId; extern "C" int64_t Boolean_System_IConvertible_ToInt64_m4142756949 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToInt64_m4142756949_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int64_t L_0 = Convert_ToInt64_m1988035458(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int64_t Boolean_System_IConvertible_ToInt64_m4142756949_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToInt64_m4142756949(_thisAdjusted, ___provider0, method); } // System.SByte System.Boolean::System.IConvertible.ToSByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToSByte_m1114429589_MetadataUsageId; extern "C" int8_t Boolean_System_IConvertible_ToSByte_m1114429589 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToSByte_m1114429589_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int8_t L_0 = Convert_ToSByte_m615207682(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int8_t Boolean_System_IConvertible_ToSByte_m1114429589_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToSByte_m1114429589(_thisAdjusted, ___provider0, method); } // System.Single System.Boolean::System.IConvertible.ToSingle(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToSingle_m374029173_MetadataUsageId; extern "C" float Boolean_System_IConvertible_ToSingle_m374029173 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToSingle_m374029173_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); float L_0 = Convert_ToSingle_m3854251972(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" float Boolean_System_IConvertible_ToSingle_m374029173_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToSingle_m374029173(_thisAdjusted, ___provider0, method); } // System.UInt16 System.Boolean::System.IConvertible.ToUInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToUInt16_m3504918613_MetadataUsageId; extern "C" uint16_t Boolean_System_IConvertible_ToUInt16_m3504918613 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToUInt16_m3504918613_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint16_t L_0 = Convert_ToUInt16_m1043031438(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint16_t Boolean_System_IConvertible_ToUInt16_m3504918613_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToUInt16_m3504918613(_thisAdjusted, ___provider0, method); } // System.UInt32 System.Boolean::System.IConvertible.ToUInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToUInt32_m2714060857_MetadataUsageId; extern "C" uint32_t Boolean_System_IConvertible_ToUInt32_m2714060857 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToUInt32_m2714060857_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint32_t L_0 = Convert_ToUInt32_m3686071170(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint32_t Boolean_System_IConvertible_ToUInt32_m2714060857_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToUInt32_m2714060857(_thisAdjusted, ___provider0, method); } // System.UInt64 System.Boolean::System.IConvertible.ToUInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Boolean_System_IConvertible_ToUInt64_m3594533761_MetadataUsageId; extern "C" uint64_t Boolean_System_IConvertible_ToUInt64_m3594533761 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_System_IConvertible_ToUInt64_m3594533761_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint64_t L_0 = Convert_ToUInt64_m1479404080(NULL /*static, unused*/, (bool)(*((int8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint64_t Boolean_System_IConvertible_ToUInt64_m3594533761_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_System_IConvertible_ToUInt64_m3594533761(_thisAdjusted, ___provider0, method); } // System.Int32 System.Boolean::CompareTo(System.Object) extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2147588761; extern const uint32_t Boolean_CompareTo_m3691698947_MetadataUsageId; extern "C" int32_t Boolean_CompareTo_m3691698947 (bool* __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_CompareTo_m3691698947_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; int32_t G_B10_0 = 0; { Il2CppObject * L_0 = ___obj0; if (L_0) { goto IL_0008; } } { return 1; } IL_0008: { Il2CppObject * L_1 = ___obj0; if (((Il2CppObject *)IsInstSealed(L_1, Boolean_t3825574718_il2cpp_TypeInfo_var))) { goto IL_0023; } } { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2147588761, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppObject * L_4 = ___obj0; V_0 = ((*(bool*)((bool*)UnBox (L_4, Boolean_t3825574718_il2cpp_TypeInfo_var)))); if (!(*((int8_t*)__this))) { goto IL_0039; } } { bool L_5 = V_0; if (L_5) { goto IL_0039; } } { return 1; } IL_0039: { bool L_6 = V_0; if ((!(((uint32_t)(*((int8_t*)__this))) == ((uint32_t)L_6)))) { goto IL_0047; } } { G_B10_0 = 0; goto IL_0048; } IL_0047: { G_B10_0 = (-1); } IL_0048: { return G_B10_0; } } extern "C" int32_t Boolean_CompareTo_m3691698947_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___obj0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_CompareTo_m3691698947(_thisAdjusted, ___obj0, method); } // System.Boolean System.Boolean::Equals(System.Object) extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var; extern const uint32_t Boolean_Equals_m2118901528_MetadataUsageId; extern "C" bool Boolean_Equals_m2118901528 (bool* __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_Equals_m2118901528_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; int32_t G_B6_0 = 0; { Il2CppObject * L_0 = ___obj0; if (!L_0) { goto IL_0011; } } { Il2CppObject * L_1 = ___obj0; if (((Il2CppObject *)IsInstSealed(L_1, Boolean_t3825574718_il2cpp_TypeInfo_var))) { goto IL_0013; } } IL_0011: { return (bool)0; } IL_0013: { Il2CppObject * L_2 = ___obj0; V_0 = ((*(bool*)((bool*)UnBox (L_2, Boolean_t3825574718_il2cpp_TypeInfo_var)))); if (!(*((int8_t*)__this))) { goto IL_0027; } } { bool L_3 = V_0; G_B6_0 = ((int32_t)(L_3)); goto IL_002b; } IL_0027: { bool L_4 = V_0; G_B6_0 = ((((int32_t)L_4) == ((int32_t)0))? 1 : 0); } IL_002b: { return (bool)G_B6_0; } } extern "C" bool Boolean_Equals_m2118901528_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___obj0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_Equals_m2118901528(_thisAdjusted, ___obj0, method); } // System.Int32 System.Boolean::CompareTo(System.Boolean) extern "C" int32_t Boolean_CompareTo_m1086129598 (bool* __this, bool ___value0, const MethodInfo* method) { int32_t G_B5_0 = 0; { bool L_0 = ___value0; if ((!(((uint32_t)(*((int8_t*)__this))) == ((uint32_t)L_0)))) { goto IL_000a; } } { return 0; } IL_000a: { if ((*((int8_t*)__this))) { goto IL_0017; } } { G_B5_0 = (-1); goto IL_0018; } IL_0017: { G_B5_0 = 1; } IL_0018: { return G_B5_0; } } extern "C" int32_t Boolean_CompareTo_m1086129598_AdjustorThunk (Il2CppObject * __this, bool ___value0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_CompareTo_m1086129598(_thisAdjusted, ___value0, method); } // System.Boolean System.Boolean::Equals(System.Boolean) extern "C" bool Boolean_Equals_m294106711 (bool* __this, bool ___obj0, const MethodInfo* method) { { bool L_0 = ___obj0; return (bool)((((int32_t)(*((int8_t*)__this))) == ((int32_t)L_0))? 1 : 0); } } extern "C" bool Boolean_Equals_m294106711_AdjustorThunk (Il2CppObject * __this, bool ___obj0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_Equals_m294106711(_thisAdjusted, ___obj0, method); } // System.Int32 System.Boolean::GetHashCode() extern "C" int32_t Boolean_GetHashCode_m1894638460 (bool* __this, const MethodInfo* method) { int32_t G_B3_0 = 0; { if (!(*((int8_t*)__this))) { goto IL_000d; } } { G_B3_0 = 1; goto IL_000e; } IL_000d: { G_B3_0 = 0; } IL_000e: { return G_B3_0; } } extern "C" int32_t Boolean_GetHashCode_m1894638460_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_GetHashCode_m1894638460(_thisAdjusted, method); } // System.Boolean System.Boolean::Parse(System.String) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1803325615; extern Il2CppCodeGenString* _stringLiteral3244803272; extern const uint32_t Boolean_Parse_m3612710908_MetadataUsageId; extern "C" bool Boolean_Parse_m3612710908 (Il2CppObject * __this /* static, unused */, String_t* ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_Parse_m3612710908_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___value0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___value0; String_t* L_3 = String_Trim_m2668767713(L_2, /*hidden argument*/NULL); ___value0 = L_3; String_t* L_4 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Boolean_t3825574718_il2cpp_TypeInfo_var); String_t* L_5 = ((Boolean_t3825574718_StaticFields*)Boolean_t3825574718_il2cpp_TypeInfo_var->static_fields)->get_TrueString_1(); IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_6 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); int32_t L_7 = String_Compare_m1847873744(NULL /*static, unused*/, L_4, L_5, (bool)1, L_6, /*hidden argument*/NULL); if (L_7) { goto IL_0031; } } { return (bool)1; } IL_0031: { String_t* L_8 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Boolean_t3825574718_il2cpp_TypeInfo_var); String_t* L_9 = ((Boolean_t3825574718_StaticFields*)Boolean_t3825574718_il2cpp_TypeInfo_var->static_fields)->get_FalseString_0(); IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_10 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); int32_t L_11 = String_Compare_m1847873744(NULL /*static, unused*/, L_8, L_9, (bool)1, L_10, /*hidden argument*/NULL); if (L_11) { goto IL_0049; } } { return (bool)0; } IL_0049: { String_t* L_12 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3244803272, /*hidden argument*/NULL); FormatException_t2948921286 * L_13 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_13, L_12, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } } // System.String System.Boolean::ToString() extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var; extern const uint32_t Boolean_ToString_m1253164328_MetadataUsageId; extern "C" String_t* Boolean_ToString_m1253164328 (bool* __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Boolean_ToString_m1253164328_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* G_B3_0 = NULL; { if (!(*((int8_t*)__this))) { goto IL_0011; } } { IL2CPP_RUNTIME_CLASS_INIT(Boolean_t3825574718_il2cpp_TypeInfo_var); String_t* L_0 = ((Boolean_t3825574718_StaticFields*)Boolean_t3825574718_il2cpp_TypeInfo_var->static_fields)->get_TrueString_1(); G_B3_0 = L_0; goto IL_0016; } IL_0011: { IL2CPP_RUNTIME_CLASS_INIT(Boolean_t3825574718_il2cpp_TypeInfo_var); String_t* L_1 = ((Boolean_t3825574718_StaticFields*)Boolean_t3825574718_il2cpp_TypeInfo_var->static_fields)->get_FalseString_0(); G_B3_0 = L_1; } IL_0016: { return G_B3_0; } } extern "C" String_t* Boolean_ToString_m1253164328_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_ToString_m1253164328(_thisAdjusted, method); } // System.TypeCode System.Boolean::GetTypeCode() extern "C" int32_t Boolean_GetTypeCode_m1314695117 (bool* __this, const MethodInfo* method) { { return (int32_t)(3); } } extern "C" int32_t Boolean_GetTypeCode_m1314695117_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_GetTypeCode_m1314695117(_thisAdjusted, method); } // System.String System.Boolean::ToString(System.IFormatProvider) extern "C" String_t* Boolean_ToString_m229469662 (bool* __this, Il2CppObject * ___provider0, const MethodInfo* method) { { String_t* L_0 = Boolean_ToString_m1253164328(__this, /*hidden argument*/NULL); return L_0; } } extern "C" String_t* Boolean_ToString_m229469662_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { bool* _thisAdjusted = reinterpret_cast<bool*>(__this + 1); return Boolean_ToString_m229469662(_thisAdjusted, ___provider0, method); } // System.Int32 System.Buffer::ByteLength(System.Array) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral452280316; extern const uint32_t Buffer_ByteLength_m2561508581_MetadataUsageId; extern "C" int32_t Buffer_ByteLength_m2561508581 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Buffer_ByteLength_m2561508581_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Buffer_ByteLengthInternal_m2613416786(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); V_0 = L_3; int32_t L_4 = V_0; if ((((int32_t)L_4) >= ((int32_t)0))) { goto IL_002f; } } { String_t* L_5 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral452280316, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_6 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_6, L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_002f: { int32_t L_7 = V_0; return L_7; } } // System.Void System.Buffer::BlockCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral386853832; extern Il2CppCodeGenString* _stringLiteral3115736323; extern Il2CppCodeGenString* _stringLiteral2904891803; extern Il2CppCodeGenString* _stringLiteral3618406965; extern Il2CppCodeGenString* _stringLiteral4211099126; extern Il2CppCodeGenString* _stringLiteral1554746267; extern Il2CppCodeGenString* _stringLiteral3184805901; extern const uint32_t Buffer_BlockCopy_m1586717258_MetadataUsageId; extern "C" void Buffer_BlockCopy_m1586717258 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___src0, int32_t ___srcOffset1, Il2CppArray * ___dst2, int32_t ___dstOffset3, int32_t ___count4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Buffer_BlockCopy_m1586717258_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; { Il2CppArray * L_0 = ___src0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral386853832, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___dst2; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral3115736323, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int32_t L_4 = ___srcOffset1; if ((((int32_t)L_4) >= ((int32_t)0))) { goto IL_003e; } } { String_t* L_5 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3618406965, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_6 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_6, _stringLiteral2904891803, L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003e: { int32_t L_7 = ___dstOffset3; if ((((int32_t)L_7) >= ((int32_t)0))) { goto IL_005a; } } { String_t* L_8 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3618406965, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_9 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_9, _stringLiteral4211099126, L_8, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_9); } IL_005a: { int32_t L_10 = ___count4; if ((((int32_t)L_10) >= ((int32_t)0))) { goto IL_0077; } } { String_t* L_11 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3618406965, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_12 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_12, _stringLiteral1554746267, L_11, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_0077: { Il2CppArray * L_13 = ___src0; int32_t L_14 = ___srcOffset1; Il2CppArray * L_15 = ___dst2; int32_t L_16 = ___dstOffset3; int32_t L_17 = ___count4; bool L_18 = Buffer_BlockCopyInternal_m2627156229(NULL /*static, unused*/, L_13, L_14, L_15, L_16, L_17, /*hidden argument*/NULL); V_0 = L_18; bool L_19 = V_0; if (L_19) { goto IL_00b7; } } { int32_t L_20 = ___srcOffset1; Il2CppArray * L_21 = ___src0; int32_t L_22 = Buffer_ByteLength_m2561508581(NULL /*static, unused*/, L_21, /*hidden argument*/NULL); int32_t L_23 = ___count4; if ((((int32_t)L_20) > ((int32_t)((int32_t)((int32_t)L_22-(int32_t)L_23))))) { goto IL_00a7; } } { int32_t L_24 = ___dstOffset3; Il2CppArray * L_25 = ___dst2; int32_t L_26 = Buffer_ByteLength_m2561508581(NULL /*static, unused*/, L_25, /*hidden argument*/NULL); int32_t L_27 = ___count4; if ((((int32_t)L_24) <= ((int32_t)((int32_t)((int32_t)L_26-(int32_t)L_27))))) { goto IL_00b7; } } IL_00a7: { String_t* L_28 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3184805901, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_29 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_29, L_28, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_29); } IL_00b7: { return; } } // System.Int32 System.Buffer::ByteLengthInternal(System.Array) extern "C" int32_t Buffer_ByteLengthInternal_m2613416786 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___array0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Buffer_ByteLengthInternal_m2613416786_ftn) (Il2CppArray *); return ((Buffer_ByteLengthInternal_m2613416786_ftn)mscorlib::System::Buffer::ByteLengthInternal) (___array0); } // System.Boolean System.Buffer::BlockCopyInternal(System.Array,System.Int32,System.Array,System.Int32,System.Int32) extern "C" bool Buffer_BlockCopyInternal_m2627156229 (Il2CppObject * __this /* static, unused */, Il2CppArray * ___src0, int32_t ___src_offset1, Il2CppArray * ___dest2, int32_t ___dest_offset3, int32_t ___count4, const MethodInfo* method) { using namespace il2cpp::icalls; typedef bool (*Buffer_BlockCopyInternal_m2627156229_ftn) (Il2CppArray *, int32_t, Il2CppArray *, int32_t, int32_t); return ((Buffer_BlockCopyInternal_m2627156229_ftn)mscorlib::System::Buffer::BlockCopyInternal) (___src0, ___src_offset1, ___dest2, ___dest_offset3, ___count4); } // System.Object System.Byte::System.IConvertible.ToType(System.Type,System.IFormatProvider) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Byte_t3683104436_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3040989817; extern const uint32_t Byte_System_IConvertible_ToType_m3186424345_MetadataUsageId; extern "C" Il2CppObject * Byte_System_IConvertible_ToType_m3186424345 (uint8_t* __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToType_m3186424345_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___targetType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3040989817, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { uint8_t L_2 = ((uint8_t)(*((uint8_t*)__this))); Il2CppObject * L_3 = Box(Byte_t3683104436_il2cpp_TypeInfo_var, &L_2); Type_t * L_4 = ___targetType0; Il2CppObject * L_5 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Il2CppObject * L_6 = Convert_ToType_m1408903144(NULL /*static, unused*/, L_3, L_4, L_5, (bool)0, /*hidden argument*/NULL); return L_6; } } extern "C" Il2CppObject * Byte_System_IConvertible_ToType_m3186424345_AdjustorThunk (Il2CppObject * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToType_m3186424345(_thisAdjusted, ___targetType0, ___provider1, method); } // System.Boolean System.Byte::System.IConvertible.ToBoolean(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToBoolean_m2812478835_MetadataUsageId; extern "C" bool Byte_System_IConvertible_ToBoolean_m2812478835 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToBoolean_m2812478835_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); bool L_0 = Convert_ToBoolean_m2032547942(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" bool Byte_System_IConvertible_ToBoolean_m2812478835_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToBoolean_m2812478835(_thisAdjusted, ___provider0, method); } // System.Byte System.Byte::System.IConvertible.ToByte(System.IFormatProvider) extern "C" uint8_t Byte_System_IConvertible_ToByte_m3165185607 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { { return (*((uint8_t*)__this)); } } extern "C" uint8_t Byte_System_IConvertible_ToByte_m3165185607_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToByte_m3165185607(_thisAdjusted, ___provider0, method); } // System.Char System.Byte::System.IConvertible.ToChar(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToChar_m4188836679_MetadataUsageId; extern "C" Il2CppChar Byte_System_IConvertible_ToChar_m4188836679 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToChar_m4188836679_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Il2CppChar L_0 = Convert_ToChar_m2170787796(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" Il2CppChar Byte_System_IConvertible_ToChar_m4188836679_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToChar_m4188836679(_thisAdjusted, ___provider0, method); } // System.DateTime System.Byte::System.IConvertible.ToDateTime(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToDateTime_m1583041031_MetadataUsageId; extern "C" DateTime_t693205669 Byte_System_IConvertible_ToDateTime_m1583041031 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToDateTime_m1583041031_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" DateTime_t693205669 Byte_System_IConvertible_ToDateTime_m1583041031_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToDateTime_m1583041031(_thisAdjusted, ___provider0, method); } // System.Decimal System.Byte::System.IConvertible.ToDecimal(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToDecimal_m1036493607_MetadataUsageId; extern "C" Decimal_t724701077 Byte_System_IConvertible_ToDecimal_m1036493607 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToDecimal_m1036493607_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Decimal_t724701077 L_0 = Convert_ToDecimal_m255741126(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" Decimal_t724701077 Byte_System_IConvertible_ToDecimal_m1036493607_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToDecimal_m1036493607(_thisAdjusted, ___provider0, method); } // System.Double System.Byte::System.IConvertible.ToDouble(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToDouble_m4224320007_MetadataUsageId; extern "C" double Byte_System_IConvertible_ToDouble_m4224320007 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToDouble_m4224320007_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); double L_0 = Convert_ToDouble_m2673807774(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" double Byte_System_IConvertible_ToDouble_m4224320007_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToDouble_m4224320007(_thisAdjusted, ___provider0, method); } // System.Int16 System.Byte::System.IConvertible.ToInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToInt16_m1575115635_MetadataUsageId; extern "C" int16_t Byte_System_IConvertible_ToInt16_m1575115635 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToInt16_m1575115635_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int16_t L_0 = Convert_ToInt16_m755091206(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int16_t Byte_System_IConvertible_ToInt16_m1575115635_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToInt16_m1575115635(_thisAdjusted, ___provider0, method); } // System.Int32 System.Byte::System.IConvertible.ToInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToInt32_m1032609763_MetadataUsageId; extern "C" int32_t Byte_System_IConvertible_ToInt32_m1032609763 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToInt32_m1032609763_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int32_t L_0 = Convert_ToInt32_m3487847046(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int32_t Byte_System_IConvertible_ToInt32_m1032609763_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToInt32_m1032609763(_thisAdjusted, ___provider0, method); } // System.Int64 System.Byte::System.IConvertible.ToInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToInt64_m4227959007_MetadataUsageId; extern "C" int64_t Byte_System_IConvertible_ToInt64_m4227959007 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToInt64_m4227959007_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int64_t L_0 = Convert_ToInt64_m1786777414(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int64_t Byte_System_IConvertible_ToInt64_m4227959007_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToInt64_m4227959007(_thisAdjusted, ___provider0, method); } // System.SByte System.Byte::System.IConvertible.ToSByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToSByte_m2306605695_MetadataUsageId; extern "C" int8_t Byte_System_IConvertible_ToSByte_m2306605695 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToSByte_m2306605695_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int8_t L_0 = Convert_ToSByte_m2470292806(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int8_t Byte_System_IConvertible_ToSByte_m2306605695_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToSByte_m2306605695(_thisAdjusted, ___provider0, method); } // System.Single System.Byte::System.IConvertible.ToSingle(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToSingle_m3251860967_MetadataUsageId; extern "C" float Byte_System_IConvertible_ToSingle_m3251860967 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToSingle_m3251860967_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); float L_0 = Convert_ToSingle_m1780409948(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" float Byte_System_IConvertible_ToSingle_m3251860967_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToSingle_m3251860967(_thisAdjusted, ___provider0, method); } // System.UInt16 System.Byte::System.IConvertible.ToUInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToUInt16_m2275325191_MetadataUsageId; extern "C" uint16_t Byte_System_IConvertible_ToUInt16_m2275325191 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToUInt16_m2275325191_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint16_t L_0 = Convert_ToUInt16_m3860123086(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint16_t Byte_System_IConvertible_ToUInt16_m2275325191_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToUInt16_m2275325191(_thisAdjusted, ___provider0, method); } // System.UInt32 System.Byte::System.IConvertible.ToUInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToUInt32_m3950610247_MetadataUsageId; extern "C" uint32_t Byte_System_IConvertible_ToUInt32_m3950610247 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToUInt32_m3950610247_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint32_t L_0 = Convert_ToUInt32_m3492113030(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint32_t Byte_System_IConvertible_ToUInt32_m3950610247_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToUInt32_m3950610247(_thisAdjusted, ___provider0, method); } // System.UInt64 System.Byte::System.IConvertible.ToUInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Byte_System_IConvertible_ToUInt64_m2667486567_MetadataUsageId; extern "C" uint64_t Byte_System_IConvertible_ToUInt64_m2667486567 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_System_IConvertible_ToUInt64_m2667486567_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint64_t L_0 = Convert_ToUInt64_m1568624612(NULL /*static, unused*/, (*((uint8_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint64_t Byte_System_IConvertible_ToUInt64_m2667486567_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_System_IConvertible_ToUInt64_m2667486567(_thisAdjusted, ___provider0, method); } // System.Int32 System.Byte::CompareTo(System.Object) extern Il2CppClass* Byte_t3683104436_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3931054378; extern const uint32_t Byte_CompareTo_m3718617257_MetadataUsageId; extern "C" int32_t Byte_CompareTo_m3718617257 (uint8_t* __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_CompareTo_m3718617257_MetadataUsageId); s_Il2CppMethodInitialized = true; } uint8_t V_0 = 0x0; { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 1; } IL_0008: { Il2CppObject * L_1 = ___value0; if (((Il2CppObject *)IsInstSealed(L_1, Byte_t3683104436_il2cpp_TypeInfo_var))) { goto IL_0023; } } { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3931054378, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppObject * L_4 = ___value0; V_0 = ((*(uint8_t*)((uint8_t*)UnBox (L_4, Byte_t3683104436_il2cpp_TypeInfo_var)))); uint8_t L_5 = V_0; if ((!(((uint32_t)(*((uint8_t*)__this))) == ((uint32_t)L_5)))) { goto IL_0034; } } { return 0; } IL_0034: { uint8_t L_6 = V_0; if ((((int32_t)(*((uint8_t*)__this))) <= ((int32_t)L_6))) { goto IL_003e; } } { return 1; } IL_003e: { return (-1); } } extern "C" int32_t Byte_CompareTo_m3718617257_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___value0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_CompareTo_m3718617257(_thisAdjusted, ___value0, method); } // System.Boolean System.Byte::Equals(System.Object) extern Il2CppClass* Byte_t3683104436_il2cpp_TypeInfo_var; extern const uint32_t Byte_Equals_m3803173058_MetadataUsageId; extern "C" bool Byte_Equals_m3803173058 (uint8_t* __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_Equals_m3803173058_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___obj0; if (((Il2CppObject *)IsInstSealed(L_0, Byte_t3683104436_il2cpp_TypeInfo_var))) { goto IL_000d; } } { return (bool)0; } IL_000d: { Il2CppObject * L_1 = ___obj0; return (bool)((((int32_t)((*(uint8_t*)((uint8_t*)UnBox (L_1, Byte_t3683104436_il2cpp_TypeInfo_var))))) == ((int32_t)(*((uint8_t*)__this))))? 1 : 0); } } extern "C" bool Byte_Equals_m3803173058_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___obj0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_Equals_m3803173058(_thisAdjusted, ___obj0, method); } // System.Int32 System.Byte::GetHashCode() extern "C" int32_t Byte_GetHashCode_m2885528842 (uint8_t* __this, const MethodInfo* method) { { return (*((uint8_t*)__this)); } } extern "C" int32_t Byte_GetHashCode_m2885528842_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_GetHashCode_m2885528842(_thisAdjusted, method); } // System.Int32 System.Byte::CompareTo(System.Byte) extern "C" int32_t Byte_CompareTo_m1850579028 (uint8_t* __this, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; if ((!(((uint32_t)(*((uint8_t*)__this))) == ((uint32_t)L_0)))) { goto IL_000a; } } { return 0; } IL_000a: { uint8_t L_1 = ___value0; if ((((int32_t)(*((uint8_t*)__this))) <= ((int32_t)L_1))) { goto IL_0014; } } { return 1; } IL_0014: { return (-1); } } extern "C" int32_t Byte_CompareTo_m1850579028_AdjustorThunk (Il2CppObject * __this, uint8_t ___value0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_CompareTo_m1850579028(_thisAdjusted, ___value0, method); } // System.Boolean System.Byte::Equals(System.Byte) extern "C" bool Byte_Equals_m368616327 (uint8_t* __this, uint8_t ___obj0, const MethodInfo* method) { { uint8_t L_0 = ___obj0; return (bool)((((int32_t)(*((uint8_t*)__this))) == ((int32_t)L_0))? 1 : 0); } } extern "C" bool Byte_Equals_m368616327_AdjustorThunk (Il2CppObject * __this, uint8_t ___obj0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_Equals_m368616327(_thisAdjusted, ___obj0, method); } // System.Byte System.Byte::Parse(System.String,System.IFormatProvider) extern "C" uint8_t Byte_Parse_m3219659706 (Il2CppObject * __this /* static, unused */, String_t* ___s0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___s0; Il2CppObject * L_1 = ___provider1; uint8_t L_2 = Byte_Parse_m2794793287(NULL /*static, unused*/, L_0, 7, L_1, /*hidden argument*/NULL); return L_2; } } // System.Byte System.Byte::Parse(System.String,System.Globalization.NumberStyles,System.IFormatProvider) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2502694184; extern const uint32_t Byte_Parse_m2794793287_MetadataUsageId; extern "C" uint8_t Byte_Parse_m2794793287 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___style1, Il2CppObject * ___provider2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_Parse_m2794793287_MetadataUsageId); s_Il2CppMethodInitialized = true; } uint32_t V_0 = 0; { String_t* L_0 = ___s0; int32_t L_1 = ___style1; Il2CppObject * L_2 = ___provider2; uint32_t L_3 = UInt32_Parse_m3371984903(NULL /*static, unused*/, L_0, L_1, L_2, /*hidden argument*/NULL); V_0 = L_3; uint32_t L_4 = V_0; if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)255))))) { goto IL_0024; } } { String_t* L_5 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2502694184, /*hidden argument*/NULL); OverflowException_t1075868493 * L_6 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_6, L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_0024: { uint32_t L_7 = V_0; return (((int32_t)((uint8_t)L_7))); } } // System.Byte System.Byte::Parse(System.String) extern "C" uint8_t Byte_Parse_m1442736478 (Il2CppObject * __this /* static, unused */, String_t* ___s0, const MethodInfo* method) { { String_t* L_0 = ___s0; uint8_t L_1 = Byte_Parse_m2794793287(NULL /*static, unused*/, L_0, 7, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_1; } } // System.Boolean System.Byte::TryParse(System.String,System.Byte&) extern "C" bool Byte_TryParse_m3515996530 (Il2CppObject * __this /* static, unused */, String_t* ___s0, uint8_t* ___result1, const MethodInfo* method) { { String_t* L_0 = ___s0; uint8_t* L_1 = ___result1; bool L_2 = Byte_TryParse_m1432549041(NULL /*static, unused*/, L_0, 7, (Il2CppObject *)NULL, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.Byte::TryParse(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Byte&) extern "C" bool Byte_TryParse_m1432549041 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___style1, Il2CppObject * ___provider2, uint8_t* ___result3, const MethodInfo* method) { uint32_t V_0 = 0; { uint8_t* L_0 = ___result3; *((int8_t*)(L_0)) = (int8_t)0; String_t* L_1 = ___s0; int32_t L_2 = ___style1; Il2CppObject * L_3 = ___provider2; bool L_4 = UInt32_TryParse_m3987111861(NULL /*static, unused*/, L_1, L_2, L_3, (&V_0), /*hidden argument*/NULL); if (L_4) { goto IL_0014; } } { return (bool)0; } IL_0014: { uint32_t L_5 = V_0; if ((!(((uint32_t)L_5) > ((uint32_t)((int32_t)255))))) { goto IL_0021; } } { return (bool)0; } IL_0021: { uint8_t* L_6 = ___result3; uint32_t L_7 = V_0; *((int8_t*)(L_6)) = (int8_t)(((int32_t)((uint8_t)L_7))); return (bool)1; } } // System.String System.Byte::ToString() extern Il2CppClass* NumberFormatter_t2933946347_il2cpp_TypeInfo_var; extern const uint32_t Byte_ToString_m1526839480_MetadataUsageId; extern "C" String_t* Byte_ToString_m1526839480 (uint8_t* __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_ToString_m1526839480_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(NumberFormatter_t2933946347_il2cpp_TypeInfo_var); String_t* L_0 = NumberFormatter_NumberToString_m668979517(NULL /*static, unused*/, (*((uint8_t*)__this)), (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_0; } } extern "C" String_t* Byte_ToString_m1526839480_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_ToString_m1526839480(_thisAdjusted, method); } // System.String System.Byte::ToString(System.String) extern "C" String_t* Byte_ToString_m1309661918 (uint8_t* __this, String_t* ___format0, const MethodInfo* method) { { String_t* L_0 = ___format0; String_t* L_1 = Byte_ToString_m3956930818(__this, L_0, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_1; } } extern "C" String_t* Byte_ToString_m1309661918_AdjustorThunk (Il2CppObject * __this, String_t* ___format0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_ToString_m1309661918(_thisAdjusted, ___format0, method); } // System.String System.Byte::ToString(System.IFormatProvider) extern Il2CppClass* NumberFormatter_t2933946347_il2cpp_TypeInfo_var; extern const uint32_t Byte_ToString_m3547765450_MetadataUsageId; extern "C" String_t* Byte_ToString_m3547765450 (uint8_t* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_ToString_m3547765450_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(NumberFormatter_t2933946347_il2cpp_TypeInfo_var); String_t* L_1 = NumberFormatter_NumberToString_m668979517(NULL /*static, unused*/, (*((uint8_t*)__this)), L_0, /*hidden argument*/NULL); return L_1; } } extern "C" String_t* Byte_ToString_m3547765450_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_ToString_m3547765450(_thisAdjusted, ___provider0, method); } // System.String System.Byte::ToString(System.String,System.IFormatProvider) extern Il2CppClass* NumberFormatter_t2933946347_il2cpp_TypeInfo_var; extern const uint32_t Byte_ToString_m3956930818_MetadataUsageId; extern "C" String_t* Byte_ToString_m3956930818 (uint8_t* __this, String_t* ___format0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Byte_ToString_m3956930818_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___format0; Il2CppObject * L_1 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(NumberFormatter_t2933946347_il2cpp_TypeInfo_var); String_t* L_2 = NumberFormatter_NumberToString_m3684675463(NULL /*static, unused*/, L_0, (*((uint8_t*)__this)), L_1, /*hidden argument*/NULL); return L_2; } } extern "C" String_t* Byte_ToString_m3956930818_AdjustorThunk (Il2CppObject * __this, String_t* ___format0, Il2CppObject * ___provider1, const MethodInfo* method) { uint8_t* _thisAdjusted = reinterpret_cast<uint8_t*>(__this + 1); return Byte_ToString_m3956930818(_thisAdjusted, ___format0, ___provider1, method); } // System.Void System.Char::.cctor() extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char__cctor_m1761604920_MetadataUsageId; extern "C" void Char__cctor_m1761604920 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char__cctor_m1761604920_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Char_GetDataTablePointers_m3052092189(NULL /*static, unused*/, (((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_address_of_category_data_3()), (((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_address_of_numeric_data_4()), (((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_address_of_numeric_data_values_5()), (((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_address_of_to_lower_data_low_6()), (((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_address_of_to_lower_data_high_7()), (((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_address_of_to_upper_data_low_8()), (((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_address_of_to_upper_data_high_9()), /*hidden argument*/NULL); return; } } // System.Object System.Char::System.IConvertible.ToType(System.Type,System.IFormatProvider) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3040989817; extern const uint32_t Char_System_IConvertible_ToType_m3106771703_MetadataUsageId; extern "C" Il2CppObject * Char_System_IConvertible_ToType_m3106771703 (Il2CppChar* __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToType_m3106771703_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___targetType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3040989817, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppChar L_2 = ((Il2CppChar)(*((uint16_t*)__this))); Il2CppObject * L_3 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_2); Type_t * L_4 = ___targetType0; Il2CppObject * L_5 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Il2CppObject * L_6 = Convert_ToType_m1408903144(NULL /*static, unused*/, L_3, L_4, L_5, (bool)0, /*hidden argument*/NULL); return L_6; } } extern "C" Il2CppObject * Char_System_IConvertible_ToType_m3106771703_AdjustorThunk (Il2CppObject * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToType_m3106771703(_thisAdjusted, ___targetType0, ___provider1, method); } // System.Boolean System.Char::System.IConvertible.ToBoolean(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToBoolean_m1492656201_MetadataUsageId; extern "C" bool Char_System_IConvertible_ToBoolean_m1492656201 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToBoolean_m1492656201_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" bool Char_System_IConvertible_ToBoolean_m1492656201_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToBoolean_m1492656201(_thisAdjusted, ___provider0, method); } // System.Byte System.Char::System.IConvertible.ToByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToByte_m3292269413_MetadataUsageId; extern "C" uint8_t Char_System_IConvertible_ToByte_m3292269413 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToByte_m3292269413_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint8_t L_0 = Convert_ToByte_m1730472478(NULL /*static, unused*/, (*((uint16_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint8_t Char_System_IConvertible_ToByte_m3292269413_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToByte_m3292269413(_thisAdjusted, ___provider0, method); } // System.Char System.Char::System.IConvertible.ToChar(System.IFormatProvider) extern "C" Il2CppChar Char_System_IConvertible_ToChar_m1489061093 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { { return (*((uint16_t*)__this)); } } extern "C" Il2CppChar Char_System_IConvertible_ToChar_m1489061093_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToChar_m1489061093(_thisAdjusted, ___provider0, method); } // System.DateTime System.Char::System.IConvertible.ToDateTime(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToDateTime_m4119710117_MetadataUsageId; extern "C" DateTime_t693205669 Char_System_IConvertible_ToDateTime_m4119710117 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToDateTime_m4119710117_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" DateTime_t693205669 Char_System_IConvertible_ToDateTime_m4119710117_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToDateTime_m4119710117(_thisAdjusted, ___provider0, method); } // System.Decimal System.Char::System.IConvertible.ToDecimal(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToDecimal_m636588657_MetadataUsageId; extern "C" Decimal_t724701077 Char_System_IConvertible_ToDecimal_m636588657 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToDecimal_m636588657_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" Decimal_t724701077 Char_System_IConvertible_ToDecimal_m636588657_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToDecimal_m636588657(_thisAdjusted, ___provider0, method); } // System.Double System.Char::System.IConvertible.ToDouble(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToDouble_m2303782053_MetadataUsageId; extern "C" double Char_System_IConvertible_ToDouble_m2303782053 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToDouble_m2303782053_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" double Char_System_IConvertible_ToDouble_m2303782053_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToDouble_m2303782053(_thisAdjusted, ___provider0, method); } // System.Int16 System.Char::System.IConvertible.ToInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToInt16_m2741348777_MetadataUsageId; extern "C" int16_t Char_System_IConvertible_ToInt16_m2741348777 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToInt16_m2741348777_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int16_t L_0 = Convert_ToInt16_m950730600(NULL /*static, unused*/, (*((uint16_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int16_t Char_System_IConvertible_ToInt16_m2741348777_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToInt16_m2741348777(_thisAdjusted, ___provider0, method); } // System.Int32 System.Char::System.IConvertible.ToInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToInt32_m1648438349_MetadataUsageId; extern "C" int32_t Char_System_IConvertible_ToInt32_m1648438349 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToInt32_m1648438349_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int32_t L_0 = Convert_ToInt32_m3683486440(NULL /*static, unused*/, (*((uint16_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int32_t Char_System_IConvertible_ToInt32_m1648438349_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToInt32_m1648438349(_thisAdjusted, ___provider0, method); } // System.Int64 System.Char::System.IConvertible.ToInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToInt64_m1805894533_MetadataUsageId; extern "C" int64_t Char_System_IConvertible_ToInt64_m1805894533 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToInt64_m1805894533_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int64_t L_0 = Convert_ToInt64_m1982416808(NULL /*static, unused*/, (*((uint16_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int64_t Char_System_IConvertible_ToInt64_m1805894533_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToInt64_m1805894533(_thisAdjusted, ___provider0, method); } // System.SByte System.Char::System.IConvertible.ToSByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToSByte_m2054294501_MetadataUsageId; extern "C" int8_t Char_System_IConvertible_ToSByte_m2054294501 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToSByte_m2054294501_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int8_t L_0 = Convert_ToSByte_m2665932200(NULL /*static, unused*/, (*((uint16_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int8_t Char_System_IConvertible_ToSByte_m2054294501_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToSByte_m2054294501(_thisAdjusted, ___provider0, method); } // System.Single System.Char::System.IConvertible.ToSingle(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToSingle_m2547558725_MetadataUsageId; extern "C" float Char_System_IConvertible_ToSingle_m2547558725 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToSingle_m2547558725_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" float Char_System_IConvertible_ToSingle_m2547558725_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToSingle_m2547558725(_thisAdjusted, ___provider0, method); } // System.UInt16 System.Char::System.IConvertible.ToUInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToUInt16_m615593957_MetadataUsageId; extern "C" uint16_t Char_System_IConvertible_ToUInt16_m615593957 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToUInt16_m615593957_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint16_t L_0 = Convert_ToUInt16_m36213644(NULL /*static, unused*/, (*((uint16_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint16_t Char_System_IConvertible_ToUInt16_m615593957_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToUInt16_m615593957(_thisAdjusted, ___provider0, method); } // System.UInt32 System.Char::System.IConvertible.ToUInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToUInt32_m1557991717_MetadataUsageId; extern "C" uint32_t Char_System_IConvertible_ToUInt32_m1557991717 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToUInt32_m1557991717_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint32_t L_0 = Convert_ToUInt32_m797503336(NULL /*static, unused*/, (*((uint16_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint32_t Char_System_IConvertible_ToUInt32_m1557991717_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToUInt32_m1557991717(_thisAdjusted, ___provider0, method); } // System.UInt64 System.Char::System.IConvertible.ToUInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Char_System_IConvertible_ToUInt64_m1857416965_MetadataUsageId; extern "C" uint64_t Char_System_IConvertible_ToUInt64_m1857416965 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_System_IConvertible_ToUInt64_m1857416965_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint64_t L_0 = Convert_ToUInt64_m1319798722(NULL /*static, unused*/, (*((uint16_t*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint64_t Char_System_IConvertible_ToUInt64_m1857416965_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_System_IConvertible_ToUInt64_m1857416965(_thisAdjusted, ___provider0, method); } // System.Void System.Char::GetDataTablePointers(System.Byte*&,System.Byte*&,System.Double*&,System.UInt16*&,System.UInt16*&,System.UInt16*&,System.UInt16*&) extern "C" void Char_GetDataTablePointers_m3052092189 (Il2CppObject * __this /* static, unused */, uint8_t** ___category_data0, uint8_t** ___numeric_data1, double** ___numeric_data_values2, uint16_t** ___to_lower_data_low3, uint16_t** ___to_lower_data_high4, uint16_t** ___to_upper_data_low5, uint16_t** ___to_upper_data_high6, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*Char_GetDataTablePointers_m3052092189_ftn) (uint8_t**, uint8_t**, double**, uint16_t**, uint16_t**, uint16_t**, uint16_t**); ((Char_GetDataTablePointers_m3052092189_ftn)mscorlib::System::Char::GetDataTablePointers) (___category_data0, ___numeric_data1, ___numeric_data_values2, ___to_lower_data_low3, ___to_lower_data_high4, ___to_upper_data_low5, ___to_upper_data_high6); } // System.Int32 System.Char::CompareTo(System.Object) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1439888134; extern const uint32_t Char_CompareTo_m3044885427_MetadataUsageId; extern "C" int32_t Char_CompareTo_m3044885427 (Il2CppChar* __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_CompareTo_m3044885427_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppChar V_0 = 0x0; { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 1; } IL_0008: { Il2CppObject * L_1 = ___value0; if (((Il2CppObject *)IsInstSealed(L_1, Char_t3454481338_il2cpp_TypeInfo_var))) { goto IL_0023; } } { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1439888134, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppObject * L_4 = ___value0; V_0 = ((*(Il2CppChar*)((Il2CppChar*)UnBox (L_4, Char_t3454481338_il2cpp_TypeInfo_var)))); Il2CppChar L_5 = V_0; if ((!(((uint32_t)(*((uint16_t*)__this))) == ((uint32_t)L_5)))) { goto IL_0034; } } { return 0; } IL_0034: { Il2CppChar L_6 = V_0; if ((((int32_t)(*((uint16_t*)__this))) <= ((int32_t)L_6))) { goto IL_003e; } } { return 1; } IL_003e: { return (-1); } } extern "C" int32_t Char_CompareTo_m3044885427_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___value0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_CompareTo_m3044885427(_thisAdjusted, ___value0, method); } // System.Boolean System.Char::Equals(System.Object) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_Equals_m1374454116_MetadataUsageId; extern "C" bool Char_Equals_m1374454116 (Il2CppChar* __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_Equals_m1374454116_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___obj0; if (((Il2CppObject *)IsInstSealed(L_0, Char_t3454481338_il2cpp_TypeInfo_var))) { goto IL_000d; } } { return (bool)0; } IL_000d: { Il2CppObject * L_1 = ___obj0; return (bool)((((int32_t)((*(Il2CppChar*)((Il2CppChar*)UnBox (L_1, Char_t3454481338_il2cpp_TypeInfo_var))))) == ((int32_t)(*((uint16_t*)__this))))? 1 : 0); } } extern "C" bool Char_Equals_m1374454116_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___obj0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_Equals_m1374454116(_thisAdjusted, ___obj0, method); } // System.Int32 System.Char::CompareTo(System.Char) extern "C" int32_t Char_CompareTo_m3169412556 (Il2CppChar* __this, Il2CppChar ___value0, const MethodInfo* method) { { Il2CppChar L_0 = ___value0; if ((!(((uint32_t)(*((uint16_t*)__this))) == ((uint32_t)L_0)))) { goto IL_000a; } } { return 0; } IL_000a: { Il2CppChar L_1 = ___value0; if ((((int32_t)(*((uint16_t*)__this))) <= ((int32_t)L_1))) { goto IL_0014; } } { return 1; } IL_0014: { return (-1); } } extern "C" int32_t Char_CompareTo_m3169412556_AdjustorThunk (Il2CppObject * __this, Il2CppChar ___value0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_CompareTo_m3169412556(_thisAdjusted, ___value0, method); } // System.Int32 System.Char::ConvertToUtf32(System.Char,System.Char) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1944984528; extern Il2CppCodeGenString* _stringLiteral4290496426; extern const uint32_t Char_ConvertToUtf32_m3409104703_MetadataUsageId; extern "C" int32_t Char_ConvertToUtf32_m3409104703 (Il2CppObject * __this /* static, unused */, Il2CppChar ___highSurrogate0, Il2CppChar ___lowSurrogate1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_ConvertToUtf32_m3409104703_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppChar L_0 = ___highSurrogate0; if ((((int32_t)L_0) < ((int32_t)((int32_t)55296)))) { goto IL_0016; } } { Il2CppChar L_1 = ___highSurrogate0; if ((((int32_t)((int32_t)56319)) >= ((int32_t)L_1))) { goto IL_0021; } } IL_0016: { ArgumentOutOfRangeException_t279959794 * L_2 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_2, _stringLiteral1944984528, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0021: { Il2CppChar L_3 = ___lowSurrogate1; if ((((int32_t)L_3) < ((int32_t)((int32_t)56320)))) { goto IL_0037; } } { Il2CppChar L_4 = ___lowSurrogate1; if ((((int32_t)((int32_t)57343)) >= ((int32_t)L_4))) { goto IL_0042; } } IL_0037: { ArgumentOutOfRangeException_t279959794 * L_5 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_5, _stringLiteral4290496426, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0042: { Il2CppChar L_6 = ___highSurrogate0; Il2CppChar L_7 = ___lowSurrogate1; return ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)65536)+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_6-(int32_t)((int32_t)55296)))<<(int32_t)((int32_t)10)))))+(int32_t)((int32_t)((int32_t)L_7-(int32_t)((int32_t)56320))))); } } // System.Boolean System.Char::Equals(System.Char) extern "C" bool Char_Equals_m1098469063 (Il2CppChar* __this, Il2CppChar ___obj0, const MethodInfo* method) { { Il2CppChar L_0 = ___obj0; return (bool)((((int32_t)(*((uint16_t*)__this))) == ((int32_t)L_0))? 1 : 0); } } extern "C" bool Char_Equals_m1098469063_AdjustorThunk (Il2CppObject * __this, Il2CppChar ___obj0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_Equals_m1098469063(_thisAdjusted, ___obj0, method); } // System.Int32 System.Char::GetHashCode() extern "C" int32_t Char_GetHashCode_m2343577184 (Il2CppChar* __this, const MethodInfo* method) { { return (*((uint16_t*)__this)); } } extern "C" int32_t Char_GetHashCode_m2343577184_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_GetHashCode_m2343577184(_thisAdjusted, method); } // System.Globalization.UnicodeCategory System.Char::GetUnicodeCategory(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_GetUnicodeCategory_m4273361321_MetadataUsageId; extern "C" int32_t Char_GetUnicodeCategory_m4273361321 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_GetUnicodeCategory_m4273361321_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; return (int32_t)((*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1))))); } } // System.Boolean System.Char::IsControl(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsControl_m1153924125_MetadataUsageId; extern "C" bool Char_IsControl_m1153924125 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsControl_m1153924125_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; return (bool)((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1))))) == ((int32_t)((int32_t)14)))? 1 : 0); } } // System.Boolean System.Char::IsDigit(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsDigit_m751559221_MetadataUsageId; extern "C" bool Char_IsDigit_m751559221 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsDigit_m751559221_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; return (bool)((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1))))) == ((int32_t)8))? 1 : 0); } } // System.Boolean System.Char::IsHighSurrogate(System.Char) extern "C" bool Char_IsHighSurrogate_m361050852 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { int32_t G_B3_0 = 0; { Il2CppChar L_0 = ___c0; if ((((int32_t)L_0) < ((int32_t)((int32_t)55296)))) { goto IL_0018; } } { Il2CppChar L_1 = ___c0; G_B3_0 = ((((int32_t)((((int32_t)L_1) > ((int32_t)((int32_t)56319)))? 1 : 0)) == ((int32_t)0))? 1 : 0); goto IL_0019; } IL_0018: { G_B3_0 = 0; } IL_0019: { return (bool)G_B3_0; } } // System.Boolean System.Char::IsLetter(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsLetter_m562021054_MetadataUsageId; extern "C" bool Char_IsLetter_m562021054 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsLetter_m562021054_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; return (bool)((((int32_t)((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1))))) > ((int32_t)4))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Char::IsLetterOrDigit(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsLetterOrDigit_m2164758816_MetadataUsageId; extern "C" bool Char_IsLetterOrDigit_m2164758816 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsLetterOrDigit_m2164758816_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t G_B3_0 = 0; { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; V_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1)))); int32_t L_2 = V_0; if ((((int32_t)L_2) <= ((int32_t)4))) { goto IL_0016; } } { int32_t L_3 = V_0; G_B3_0 = ((((int32_t)L_3) == ((int32_t)8))? 1 : 0); goto IL_0017; } IL_0016: { G_B3_0 = 1; } IL_0017: { return (bool)G_B3_0; } } // System.Boolean System.Char::IsLower(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsLower_m569373973_MetadataUsageId; extern "C" bool Char_IsLower_m569373973 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsLower_m569373973_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; return (bool)((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1))))) == ((int32_t)1))? 1 : 0); } } // System.Boolean System.Char::IsLowSurrogate(System.Char) extern "C" bool Char_IsLowSurrogate_m534472094 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { int32_t G_B3_0 = 0; { Il2CppChar L_0 = ___c0; if ((((int32_t)L_0) < ((int32_t)((int32_t)56320)))) { goto IL_0018; } } { Il2CppChar L_1 = ___c0; G_B3_0 = ((((int32_t)((((int32_t)L_1) > ((int32_t)((int32_t)57343)))? 1 : 0)) == ((int32_t)0))? 1 : 0); goto IL_0019; } IL_0018: { G_B3_0 = 0; } IL_0019: { return (bool)G_B3_0; } } // System.Boolean System.Char::IsPunctuation(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsPunctuation_m4250911882_MetadataUsageId; extern "C" bool Char_IsPunctuation_m4250911882 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsPunctuation_m4250911882_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t G_B3_0 = 0; { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; V_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1)))); int32_t L_2 = V_0; if ((((int32_t)L_2) < ((int32_t)((int32_t)18)))) { goto IL_001b; } } { int32_t L_3 = V_0; G_B3_0 = ((((int32_t)((((int32_t)L_3) > ((int32_t)((int32_t)24)))? 1 : 0)) == ((int32_t)0))? 1 : 0); goto IL_001c; } IL_001b: { G_B3_0 = 0; } IL_001c: { return (bool)G_B3_0; } } // System.Boolean System.Char::IsSeparator(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsSeparator_m3296027263_MetadataUsageId; extern "C" bool Char_IsSeparator_m3296027263 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsSeparator_m3296027263_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t G_B3_0 = 0; { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; V_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1)))); int32_t L_2 = V_0; if ((((int32_t)L_2) < ((int32_t)((int32_t)11)))) { goto IL_001b; } } { int32_t L_3 = V_0; G_B3_0 = ((((int32_t)((((int32_t)L_3) > ((int32_t)((int32_t)13)))? 1 : 0)) == ((int32_t)0))? 1 : 0); goto IL_001c; } IL_001b: { G_B3_0 = 0; } IL_001c: { return (bool)G_B3_0; } } // System.Boolean System.Char::IsSurrogate(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsSurrogate_m2088974128_MetadataUsageId; extern "C" bool Char_IsSurrogate_m2088974128 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsSurrogate_m2088974128_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; return (bool)((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1))))) == ((int32_t)((int32_t)16)))? 1 : 0); } } // System.Boolean System.Char::IsUpper(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsUpper_m4083577610_MetadataUsageId; extern "C" bool Char_IsUpper_m4083577610 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsUpper_m4083577610_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; return (bool)((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1))))) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Char::IsWhiteSpace(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsWhiteSpace_m1507160293_MetadataUsageId; extern "C" bool Char_IsWhiteSpace_m1507160293 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsWhiteSpace_m1507160293_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t G_B9_0 = 0; { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint8_t* L_0 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_category_data_3(); Il2CppChar L_1 = ___c0; V_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_1)))); int32_t L_2 = V_0; if ((((int32_t)L_2) > ((int32_t)((int32_t)10)))) { goto IL_0013; } } { return (bool)0; } IL_0013: { int32_t L_3 = V_0; if ((((int32_t)L_3) > ((int32_t)((int32_t)13)))) { goto IL_001d; } } { return (bool)1; } IL_001d: { Il2CppChar L_4 = ___c0; if ((((int32_t)L_4) < ((int32_t)((int32_t)9)))) { goto IL_002d; } } { Il2CppChar L_5 = ___c0; if ((((int32_t)L_5) <= ((int32_t)((int32_t)13)))) { goto IL_0042; } } IL_002d: { Il2CppChar L_6 = ___c0; if ((((int32_t)L_6) == ((int32_t)((int32_t)133)))) { goto IL_0042; } } { Il2CppChar L_7 = ___c0; G_B9_0 = ((((int32_t)L_7) == ((int32_t)((int32_t)8287)))? 1 : 0); goto IL_0043; } IL_0042: { G_B9_0 = 1; } IL_0043: { return (bool)G_B9_0; } } // System.Boolean System.Char::IsWhiteSpace(System.String,System.Int32) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_IsWhiteSpace_m1797813613_MetadataUsageId; extern "C" bool Char_IsWhiteSpace_m1797813613 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___index1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_IsWhiteSpace_m1797813613_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___s0; int32_t L_1 = ___index1; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); Char_CheckParameter_m740446331(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); String_t* L_2 = ___s0; int32_t L_3 = ___index1; Il2CppChar L_4 = String_get_Chars_m4230566705(L_2, L_3, /*hidden argument*/NULL); bool L_5 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); return L_5; } } // System.Void System.Char::CheckParameter(System.String,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029391; extern Il2CppCodeGenString* _stringLiteral1968562956; extern const uint32_t Char_CheckParameter_m740446331_MetadataUsageId; extern "C" void Char_CheckParameter_m740446331 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___index1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_CheckParameter_m740446331_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___s0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral372029391, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___index1; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_0024; } } { int32_t L_3 = ___index1; String_t* L_4 = ___s0; int32_t L_5 = String_get_Length_m1606060069(L_4, /*hidden argument*/NULL); if ((((int32_t)L_3) < ((int32_t)L_5))) { goto IL_0034; } } IL_0024: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1968562956, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_7 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_7, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0034: { return; } } // System.Char System.Char::Parse(System.String) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029391; extern Il2CppCodeGenString* _stringLiteral1346539057; extern const uint32_t Char_Parse_m2121403806_MetadataUsageId; extern "C" Il2CppChar Char_Parse_m2121403806 (Il2CppObject * __this /* static, unused */, String_t* ___s0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_Parse_m2121403806_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___s0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral372029391, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___s0; int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) == ((int32_t)1))) { goto IL_002d; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1346539057, /*hidden argument*/NULL); FormatException_t2948921286 * L_5 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002d: { String_t* L_6 = ___s0; Il2CppChar L_7 = String_get_Chars_m4230566705(L_6, 0, /*hidden argument*/NULL); return L_7; } } // System.Char System.Char::ToLower(System.Char) extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t Char_ToLower_m2719897546_MetadataUsageId; extern "C" Il2CppChar Char_ToLower_m2719897546 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_ToLower_m2719897546_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_0 = CultureInfo_get_CurrentCulture_m711066087(NULL /*static, unused*/, /*hidden argument*/NULL); TextInfo_t3620182823 * L_1 = VirtFuncInvoker0< TextInfo_t3620182823 * >::Invoke(9 /* System.Globalization.TextInfo System.Globalization.CultureInfo::get_TextInfo() */, L_0); Il2CppChar L_2 = ___c0; Il2CppChar L_3 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_1, L_2); return L_3; } } // System.Char System.Char::ToLowerInvariant(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_ToLowerInvariant_m2418373518_MetadataUsageId; extern "C" Il2CppChar Char_ToLowerInvariant_m2418373518 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_ToLowerInvariant_m2418373518_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppChar L_0 = ___c0; if ((((int32_t)L_0) > ((int32_t)((int32_t)9423)))) { goto IL_0016; } } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint16_t* L_1 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_to_lower_data_low_6(); Il2CppChar L_2 = ___c0; return (*((uint16_t*)((uint16_t*)((intptr_t)L_1+(int32_t)((int32_t)((int32_t)L_2*(int32_t)2)))))); } IL_0016: { Il2CppChar L_3 = ___c0; if ((((int32_t)L_3) < ((int32_t)((int32_t)65313)))) { goto IL_0032; } } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint16_t* L_4 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_to_lower_data_high_7(); Il2CppChar L_5 = ___c0; return (*((uint16_t*)((uint16_t*)((intptr_t)L_4+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_5-(int32_t)((int32_t)65313)))*(int32_t)2)))))); } IL_0032: { Il2CppChar L_6 = ___c0; return L_6; } } // System.Char System.Char::ToLower(System.Char,System.Globalization.CultureInfo) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1206263880; extern const uint32_t Char_ToLower_m3456131102_MetadataUsageId; extern "C" Il2CppChar Char_ToLower_m3456131102 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, CultureInfo_t3500843524 * ___culture1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_ToLower_m3456131102_MetadataUsageId); s_Il2CppMethodInitialized = true; } { CultureInfo_t3500843524 * L_0 = ___culture1; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1206263880, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { CultureInfo_t3500843524 * L_2 = ___culture1; int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Globalization.CultureInfo::get_LCID() */, L_2); if ((!(((uint32_t)L_3) == ((uint32_t)((int32_t)127))))) { goto IL_0025; } } { Il2CppChar L_4 = ___c0; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); Il2CppChar L_5 = Char_ToLowerInvariant_m2418373518(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); return L_5; } IL_0025: { CultureInfo_t3500843524 * L_6 = ___culture1; TextInfo_t3620182823 * L_7 = VirtFuncInvoker0< TextInfo_t3620182823 * >::Invoke(9 /* System.Globalization.TextInfo System.Globalization.CultureInfo::get_TextInfo() */, L_6); Il2CppChar L_8 = ___c0; Il2CppChar L_9 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_7, L_8); return L_9; } } // System.Char System.Char::ToUpper(System.Char) extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t Char_ToUpper_m109978609_MetadataUsageId; extern "C" Il2CppChar Char_ToUpper_m109978609 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_ToUpper_m109978609_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_0 = CultureInfo_get_CurrentCulture_m711066087(NULL /*static, unused*/, /*hidden argument*/NULL); TextInfo_t3620182823 * L_1 = VirtFuncInvoker0< TextInfo_t3620182823 * >::Invoke(9 /* System.Globalization.TextInfo System.Globalization.CultureInfo::get_TextInfo() */, L_0); Il2CppChar L_2 = ___c0; Il2CppChar L_3 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(8 /* System.Char System.Globalization.TextInfo::ToUpper(System.Char) */, L_1, L_2); return L_3; } } // System.Char System.Char::ToUpperInvariant(System.Char) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Char_ToUpperInvariant_m3983736813_MetadataUsageId; extern "C" Il2CppChar Char_ToUpperInvariant_m3983736813 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Char_ToUpperInvariant_m3983736813_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppChar L_0 = ___c0; if ((((int32_t)L_0) > ((int32_t)((int32_t)9449)))) { goto IL_0016; } } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint16_t* L_1 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_to_upper_data_low_8(); Il2CppChar L_2 = ___c0; return (*((uint16_t*)((uint16_t*)((intptr_t)L_1+(int32_t)((int32_t)((int32_t)L_2*(int32_t)2)))))); } IL_0016: { Il2CppChar L_3 = ___c0; if ((((int32_t)L_3) < ((int32_t)((int32_t)65313)))) { goto IL_0032; } } { IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); uint16_t* L_4 = ((Char_t3454481338_StaticFields*)Char_t3454481338_il2cpp_TypeInfo_var->static_fields)->get_to_upper_data_high_9(); Il2CppChar L_5 = ___c0; return (*((uint16_t*)((uint16_t*)((intptr_t)L_4+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_5-(int32_t)((int32_t)65313)))*(int32_t)2)))))); } IL_0032: { Il2CppChar L_6 = ___c0; return L_6; } } // System.String System.Char::ToString() extern "C" String_t* Char_ToString_m1976753030 (Il2CppChar* __this, const MethodInfo* method) { { String_t* L_0 = String_CreateString_m2556700934(NULL, (*((uint16_t*)__this)), 1, /*hidden argument*/NULL); return L_0; } } extern "C" String_t* Char_ToString_m1976753030_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_ToString_m1976753030(_thisAdjusted, method); } // System.String System.Char::ToString(System.IFormatProvider) extern "C" String_t* Char_ToString_m1401375624 (Il2CppChar* __this, Il2CppObject * ___provider0, const MethodInfo* method) { { String_t* L_0 = String_CreateString_m2556700934(NULL, (*((uint16_t*)__this)), 1, /*hidden argument*/NULL); return L_0; } } extern "C" String_t* Char_ToString_m1401375624_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_ToString_m1401375624(_thisAdjusted, ___provider0, method); } // System.TypeCode System.Char::GetTypeCode() extern "C" int32_t Char_GetTypeCode_m2251277629 (Il2CppChar* __this, const MethodInfo* method) { { return (int32_t)(4); } } extern "C" int32_t Char_GetTypeCode_m2251277629_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { Il2CppChar* _thisAdjusted = reinterpret_cast<Il2CppChar*>(__this + 1); return Char_GetTypeCode_m2251277629(_thisAdjusted, method); } // System.Void System.CharEnumerator::.ctor(System.String) extern "C" void CharEnumerator__ctor_m1874747821 (CharEnumerator_t1926099410 * __this, String_t* ___s0, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); String_t* L_0 = ___s0; __this->set_str_0(L_0); __this->set_index_1((-1)); String_t* L_1 = ___s0; int32_t L_2 = String_get_Length_m1606060069(L_1, /*hidden argument*/NULL); __this->set_length_2(L_2); return; } } // System.Object System.CharEnumerator::System.Collections.IEnumerator.get_Current() extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t CharEnumerator_System_Collections_IEnumerator_get_Current_m1338581333_MetadataUsageId; extern "C" Il2CppObject * CharEnumerator_System_Collections_IEnumerator_get_Current_m1338581333 (CharEnumerator_t1926099410 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CharEnumerator_System_Collections_IEnumerator_get_Current_m1338581333_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppChar L_0 = CharEnumerator_get_Current_m225561603(__this, /*hidden argument*/NULL); Il2CppChar L_1 = L_0; Il2CppObject * L_2 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_1); return L_2; } } // System.Void System.CharEnumerator::System.IDisposable.Dispose() extern "C" void CharEnumerator_System_IDisposable_Dispose_m899004930 (CharEnumerator_t1926099410 * __this, const MethodInfo* method) { { return; } } // System.Char System.CharEnumerator::get_Current() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1145708215; extern const uint32_t CharEnumerator_get_Current_m225561603_MetadataUsageId; extern "C" Il2CppChar CharEnumerator_get_Current_m225561603 (CharEnumerator_t1926099410 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CharEnumerator_get_Current_m225561603_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get_index_1(); if ((((int32_t)L_0) == ((int32_t)(-1)))) { goto IL_001d; } } { int32_t L_1 = __this->get_index_1(); int32_t L_2 = __this->get_length_2(); if ((((int32_t)L_1) < ((int32_t)L_2))) { goto IL_002d; } } IL_001d: { String_t* L_3 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1145708215, /*hidden argument*/NULL); InvalidOperationException_t721527559 * L_4 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_4, L_3, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_002d: { String_t* L_5 = __this->get_str_0(); int32_t L_6 = __this->get_index_1(); Il2CppChar L_7 = String_get_Chars_m4230566705(L_5, L_6, /*hidden argument*/NULL); return L_7; } } // System.Object System.CharEnumerator::Clone() extern Il2CppClass* CharEnumerator_t1926099410_il2cpp_TypeInfo_var; extern const uint32_t CharEnumerator_Clone_m3844021309_MetadataUsageId; extern "C" Il2CppObject * CharEnumerator_Clone_m3844021309 (CharEnumerator_t1926099410 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CharEnumerator_Clone_m3844021309_MetadataUsageId); s_Il2CppMethodInitialized = true; } CharEnumerator_t1926099410 * V_0 = NULL; { String_t* L_0 = __this->get_str_0(); CharEnumerator_t1926099410 * L_1 = (CharEnumerator_t1926099410 *)il2cpp_codegen_object_new(CharEnumerator_t1926099410_il2cpp_TypeInfo_var); CharEnumerator__ctor_m1874747821(L_1, L_0, /*hidden argument*/NULL); V_0 = L_1; CharEnumerator_t1926099410 * L_2 = V_0; int32_t L_3 = __this->get_index_1(); L_2->set_index_1(L_3); CharEnumerator_t1926099410 * L_4 = V_0; return L_4; } } // System.Boolean System.CharEnumerator::MoveNext() extern "C" bool CharEnumerator_MoveNext_m3125697877 (CharEnumerator_t1926099410 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_index_1(); __this->set_index_1(((int32_t)((int32_t)L_0+(int32_t)1))); int32_t L_1 = __this->get_index_1(); int32_t L_2 = __this->get_length_2(); if ((((int32_t)L_1) < ((int32_t)L_2))) { goto IL_002d; } } { int32_t L_3 = __this->get_length_2(); __this->set_index_1(L_3); return (bool)0; } IL_002d: { return (bool)1; } } // System.Void System.CharEnumerator::Reset() extern "C" void CharEnumerator_Reset_m2412204068 (CharEnumerator_t1926099410 * __this, const MethodInfo* method) { { __this->set_index_1((-1)); return; } } // System.Void System.CLSCompliantAttribute::.ctor(System.Boolean) extern "C" void CLSCompliantAttribute__ctor_m1113299407 (CLSCompliantAttribute_t809966061 * __this, bool ___isCompliant0, const MethodInfo* method) { { Attribute__ctor_m1730479323(__this, /*hidden argument*/NULL); bool L_0 = ___isCompliant0; __this->set_is_compliant_0(L_0); return; } } // System.Void System.Collections.ArrayList::.ctor() extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern const uint32_t ArrayList__ctor_m4012174379_MetadataUsageId; extern "C" void ArrayList__ctor_m4012174379 (ArrayList_t4252133567 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList__ctor_m4012174379_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ObjectU5BU5D_t3614634134* L_0 = ((ArrayList_t4252133567_StaticFields*)ArrayList_t4252133567_il2cpp_TypeInfo_var->static_fields)->get_EmptyArray_4(); __this->set__items_2(L_0); return; } } // System.Void System.Collections.ArrayList::.ctor(System.Collections.ICollection) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Il2CppArray_il2cpp_TypeInfo_var; extern Il2CppClass* RankException_t1539875949_il2cpp_TypeInfo_var; extern Il2CppClass* ICollection_t91669223_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029375; extern const uint32_t ArrayList__ctor_m194094802_MetadataUsageId; extern "C" void ArrayList__ctor_m194094802 (ArrayList_t4252133567 * __this, Il2CppObject * ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList__ctor_m194094802_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppArray * V_0 = NULL; { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Il2CppObject * L_0 = ___c0; if (L_0) { goto IL_0017; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral372029375, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0017: { Il2CppObject * L_2 = ___c0; V_0 = ((Il2CppArray *)IsInstClass(L_2, Il2CppArray_il2cpp_TypeInfo_var)); Il2CppArray * L_3 = V_0; if (!L_3) { goto IL_0036; } } { Il2CppArray * L_4 = V_0; int32_t L_5 = Array_get_Rank_m3837250695(L_4, /*hidden argument*/NULL); if ((((int32_t)L_5) == ((int32_t)1))) { goto IL_0036; } } { RankException_t1539875949 * L_6 = (RankException_t1539875949 *)il2cpp_codegen_object_new(RankException_t1539875949_il2cpp_TypeInfo_var); RankException__ctor_m2119191472(L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_0036: { Il2CppObject * L_7 = ___c0; int32_t L_8 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_t91669223_il2cpp_TypeInfo_var, L_7); __this->set__items_2(((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_8))); Il2CppObject * L_9 = ___c0; VirtActionInvoker1< Il2CppObject * >::Invoke(44 /* System.Void System.Collections.ArrayList::AddRange(System.Collections.ICollection) */, __this, L_9); return; } } // System.Void System.Collections.ArrayList::.ctor(System.Int32) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3404069002; extern Il2CppCodeGenString* _stringLiteral218890914; extern const uint32_t ArrayList__ctor_m1467563650_MetadataUsageId; extern "C" void ArrayList__ctor_m1467563650 (ArrayList_t4252133567 * __this, int32_t ___capacity0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList__ctor_m1467563650_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); int32_t L_0 = ___capacity0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_0022; } } { int32_t L_1 = ___capacity0; int32_t L_2 = L_1; Il2CppObject * L_3 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535(NULL /*static, unused*/, _stringLiteral3404069002, L_3, _stringLiteral218890914, /*hidden argument*/NULL); } IL_0022: { int32_t L_4 = ___capacity0; if (L_4) { goto IL_002b; } } { ___capacity0 = 4; } IL_002b: { int32_t L_5 = ___capacity0; __this->set__items_2(((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_5))); return; } } // System.Void System.Collections.ArrayList::.ctor(System.Object[],System.Int32,System.Int32) extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern const uint32_t ArrayList__ctor_m1909233271_MetadataUsageId; extern "C" void ArrayList__ctor_m1909233271 (ArrayList_t4252133567 * __this, ObjectU5BU5D_t3614634134* ___array0, int32_t ___index1, int32_t ___count2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList__ctor_m1909233271_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); int32_t L_0 = ___count2; if (L_0) { goto IL_001d; } } { __this->set__items_2(((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)4))); goto IL_0029; } IL_001d: { int32_t L_1 = ___count2; __this->set__items_2(((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_1))); } IL_0029: { ObjectU5BU5D_t3614634134* L_2 = ___array0; int32_t L_3 = ___index1; ObjectU5BU5D_t3614634134* L_4 = __this->get__items_2(); int32_t L_5 = ___count2; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_2, L_3, (Il2CppArray *)(Il2CppArray *)L_4, 0, L_5, /*hidden argument*/NULL); int32_t L_6 = ___count2; __this->set__size_1(L_6); return; } } // System.Void System.Collections.ArrayList::.cctor() extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern const uint32_t ArrayList__cctor_m2090802806_MetadataUsageId; extern "C" void ArrayList__cctor_m2090802806 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList__cctor_m2090802806_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ((ArrayList_t4252133567_StaticFields*)ArrayList_t4252133567_il2cpp_TypeInfo_var->static_fields)->set_EmptyArray_4(((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)0))); return; } } // System.Object System.Collections.ArrayList::get_Item(System.Int32) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral2136558189; extern const uint32_t ArrayList_get_Item_m2796150991_MetadataUsageId; extern "C" Il2CppObject * ArrayList_get_Item_m2796150991 (ArrayList_t4252133567 * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_get_Item_m2796150991_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___index0; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0013; } } { int32_t L_1 = ___index0; int32_t L_2 = __this->get__size_1(); if ((((int32_t)L_1) < ((int32_t)L_2))) { goto IL_0028; } } IL_0013: { int32_t L_3 = ___index0; int32_t L_4 = L_3; Il2CppObject * L_5 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_4); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535(NULL /*static, unused*/, _stringLiteral1460639766, L_5, _stringLiteral2136558189, /*hidden argument*/NULL); } IL_0028: { ObjectU5BU5D_t3614634134* L_6 = __this->get__items_2(); int32_t L_7 = ___index0; int32_t L_8 = L_7; Il2CppObject * L_9 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8)); return L_9; } } // System.Void System.Collections.ArrayList::set_Item(System.Int32,System.Object) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral2136558189; extern const uint32_t ArrayList_set_Item_m1858827078_MetadataUsageId; extern "C" void ArrayList_set_Item_m1858827078 (ArrayList_t4252133567 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_set_Item_m1858827078_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___index0; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0013; } } { int32_t L_1 = ___index0; int32_t L_2 = __this->get__size_1(); if ((((int32_t)L_1) < ((int32_t)L_2))) { goto IL_0028; } } IL_0013: { int32_t L_3 = ___index0; int32_t L_4 = L_3; Il2CppObject * L_5 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_4); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535(NULL /*static, unused*/, _stringLiteral1460639766, L_5, _stringLiteral2136558189, /*hidden argument*/NULL); } IL_0028: { ObjectU5BU5D_t3614634134* L_6 = __this->get__items_2(); int32_t L_7 = ___index0; Il2CppObject * L_8 = ___value1; ArrayElementTypeCheck (L_6, L_8); (L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7), (Il2CppObject *)L_8); int32_t L_9 = __this->get__version_3(); __this->set__version_3(((int32_t)((int32_t)L_9+(int32_t)1))); return; } } // System.Int32 System.Collections.ArrayList::get_Count() extern "C" int32_t ArrayList_get_Count_m523955479 (ArrayList_t4252133567 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get__size_1(); return L_0; } } // System.Int32 System.Collections.ArrayList::get_Capacity() extern "C" int32_t ArrayList_get_Capacity_m1776194914 (ArrayList_t4252133567 * __this, const MethodInfo* method) { { ObjectU5BU5D_t3614634134* L_0 = __this->get__items_2(); return (((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length)))); } } // System.Void System.Collections.ArrayList::set_Capacity(System.Int32) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3405151594; extern Il2CppCodeGenString* _stringLiteral578124851; extern const uint32_t ArrayList_set_Capacity_m592558035_MetadataUsageId; extern "C" void ArrayList_set_Capacity_m592558035 (ArrayList_t4252133567 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_set_Capacity_m592558035_MetadataUsageId); s_Il2CppMethodInitialized = true; } ObjectU5BU5D_t3614634134* V_0 = NULL; { int32_t L_0 = ___value0; int32_t L_1 = __this->get__size_1(); if ((((int32_t)L_0) >= ((int32_t)L_1))) { goto IL_0021; } } { int32_t L_2 = ___value0; int32_t L_3 = L_2; Il2CppObject * L_4 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_3); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535(NULL /*static, unused*/, _stringLiteral3405151594, L_4, _stringLiteral578124851, /*hidden argument*/NULL); } IL_0021: { int32_t L_5 = ___value0; V_0 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_5)); ObjectU5BU5D_t3614634134* L_6 = __this->get__items_2(); ObjectU5BU5D_t3614634134* L_7 = V_0; int32_t L_8 = __this->get__size_1(); Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_6, 0, (Il2CppArray *)(Il2CppArray *)L_7, 0, L_8, /*hidden argument*/NULL); ObjectU5BU5D_t3614634134* L_9 = V_0; __this->set__items_2(L_9); return; } } // System.Boolean System.Collections.ArrayList::get_IsFixedSize() extern "C" bool ArrayList_get_IsFixedSize_m1344869099 (ArrayList_t4252133567 * __this, const MethodInfo* method) { { return (bool)0; } } // System.Boolean System.Collections.ArrayList::get_IsReadOnly() extern "C" bool ArrayList_get_IsReadOnly_m2706543912 (ArrayList_t4252133567 * __this, const MethodInfo* method) { { return (bool)0; } } // System.Boolean System.Collections.ArrayList::get_IsSynchronized() extern "C" bool ArrayList_get_IsSynchronized_m481976864 (ArrayList_t4252133567 * __this, const MethodInfo* method) { { return (bool)0; } } // System.Object System.Collections.ArrayList::get_SyncRoot() extern "C" Il2CppObject * ArrayList_get_SyncRoot_m2860154814 (ArrayList_t4252133567 * __this, const MethodInfo* method) { { return __this; } } // System.Void System.Collections.ArrayList::EnsureCapacity(System.Int32) extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern const uint32_t ArrayList_EnsureCapacity_m2769428424_MetadataUsageId; extern "C" void ArrayList_EnsureCapacity_m2769428424 (ArrayList_t4252133567 * __this, int32_t ___count0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_EnsureCapacity_m2769428424_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; ObjectU5BU5D_t3614634134* V_1 = NULL; { int32_t L_0 = ___count0; ObjectU5BU5D_t3614634134* L_1 = __this->get__items_2(); if ((((int32_t)L_0) > ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))))) { goto IL_000f; } } { return; } IL_000f: { ObjectU5BU5D_t3614634134* L_2 = __this->get__items_2(); V_0 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))))<<(int32_t)1)); int32_t L_3 = V_0; if (L_3) { goto IL_0022; } } { V_0 = 4; } IL_0022: { goto IL_002b; } IL_0027: { int32_t L_4 = V_0; V_0 = ((int32_t)((int32_t)L_4<<(int32_t)1)); } IL_002b: { int32_t L_5 = V_0; int32_t L_6 = ___count0; if ((((int32_t)L_5) < ((int32_t)L_6))) { goto IL_0027; } } { int32_t L_7 = V_0; V_1 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_7)); ObjectU5BU5D_t3614634134* L_8 = __this->get__items_2(); ObjectU5BU5D_t3614634134* L_9 = V_1; ObjectU5BU5D_t3614634134* L_10 = __this->get__items_2(); Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_8, 0, (Il2CppArray *)(Il2CppArray *)L_9, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_10)->max_length)))), /*hidden argument*/NULL); ObjectU5BU5D_t3614634134* L_11 = V_1; __this->set__items_2(L_11); return; } } // System.Void System.Collections.ArrayList::Shift(System.Int32,System.Int32) extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern const uint32_t ArrayList_Shift_m2896765499_MetadataUsageId; extern "C" void ArrayList_Shift_m2896765499 (ArrayList_t4252133567 * __this, int32_t ___index0, int32_t ___count1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_Shift_m2896765499_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; ObjectU5BU5D_t3614634134* V_1 = NULL; int32_t V_2 = 0; int32_t G_B5_0 = 0; { int32_t L_0 = ___count1; if ((((int32_t)L_0) <= ((int32_t)0))) { goto IL_00ae; } } { int32_t L_1 = __this->get__size_1(); int32_t L_2 = ___count1; ObjectU5BU5D_t3614634134* L_3 = __this->get__items_2(); if ((((int32_t)((int32_t)((int32_t)L_1+(int32_t)L_2))) <= ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_3)->max_length))))))) { goto IL_008c; } } { ObjectU5BU5D_t3614634134* L_4 = __this->get__items_2(); if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length))))) <= ((int32_t)0))) { goto IL_0039; } } { ObjectU5BU5D_t3614634134* L_5 = __this->get__items_2(); G_B5_0 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_5)->max_length))))<<(int32_t)1)); goto IL_003a; } IL_0039: { G_B5_0 = 1; } IL_003a: { V_0 = G_B5_0; goto IL_0044; } IL_0040: { int32_t L_6 = V_0; V_0 = ((int32_t)((int32_t)L_6<<(int32_t)1)); } IL_0044: { int32_t L_7 = V_0; int32_t L_8 = __this->get__size_1(); int32_t L_9 = ___count1; if ((((int32_t)L_7) < ((int32_t)((int32_t)((int32_t)L_8+(int32_t)L_9))))) { goto IL_0040; } } { int32_t L_10 = V_0; V_1 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_10)); ObjectU5BU5D_t3614634134* L_11 = __this->get__items_2(); ObjectU5BU5D_t3614634134* L_12 = V_1; int32_t L_13 = ___index0; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_11, 0, (Il2CppArray *)(Il2CppArray *)L_12, 0, L_13, /*hidden argument*/NULL); ObjectU5BU5D_t3614634134* L_14 = __this->get__items_2(); int32_t L_15 = ___index0; ObjectU5BU5D_t3614634134* L_16 = V_1; int32_t L_17 = ___index0; int32_t L_18 = ___count1; int32_t L_19 = __this->get__size_1(); int32_t L_20 = ___index0; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_14, L_15, (Il2CppArray *)(Il2CppArray *)L_16, ((int32_t)((int32_t)L_17+(int32_t)L_18)), ((int32_t)((int32_t)L_19-(int32_t)L_20)), /*hidden argument*/NULL); ObjectU5BU5D_t3614634134* L_21 = V_1; __this->set__items_2(L_21); goto IL_00a9; } IL_008c: { ObjectU5BU5D_t3614634134* L_22 = __this->get__items_2(); int32_t L_23 = ___index0; ObjectU5BU5D_t3614634134* L_24 = __this->get__items_2(); int32_t L_25 = ___index0; int32_t L_26 = ___count1; int32_t L_27 = __this->get__size_1(); int32_t L_28 = ___index0; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_22, L_23, (Il2CppArray *)(Il2CppArray *)L_24, ((int32_t)((int32_t)L_25+(int32_t)L_26)), ((int32_t)((int32_t)L_27-(int32_t)L_28)), /*hidden argument*/NULL); } IL_00a9: { goto IL_00e9; } IL_00ae: { int32_t L_29 = ___count1; if ((((int32_t)L_29) >= ((int32_t)0))) { goto IL_00e9; } } { int32_t L_30 = ___index0; int32_t L_31 = ___count1; V_2 = ((int32_t)((int32_t)L_30-(int32_t)L_31)); ObjectU5BU5D_t3614634134* L_32 = __this->get__items_2(); int32_t L_33 = V_2; ObjectU5BU5D_t3614634134* L_34 = __this->get__items_2(); int32_t L_35 = ___index0; int32_t L_36 = __this->get__size_1(); int32_t L_37 = V_2; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_32, L_33, (Il2CppArray *)(Il2CppArray *)L_34, L_35, ((int32_t)((int32_t)L_36-(int32_t)L_37)), /*hidden argument*/NULL); ObjectU5BU5D_t3614634134* L_38 = __this->get__items_2(); int32_t L_39 = __this->get__size_1(); int32_t L_40 = ___count1; int32_t L_41 = ___count1; Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_38, ((int32_t)((int32_t)L_39+(int32_t)L_40)), ((-L_41)), /*hidden argument*/NULL); } IL_00e9: { return; } } // System.Int32 System.Collections.ArrayList::Add(System.Object) extern "C" int32_t ArrayList_Add_m1719188324 (ArrayList_t4252133567 * __this, Il2CppObject * ___value0, const MethodInfo* method) { int32_t V_0 = 0; { ObjectU5BU5D_t3614634134* L_0 = __this->get__items_2(); int32_t L_1 = __this->get__size_1(); if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))))) > ((int32_t)L_1))) { goto IL_0021; } } { int32_t L_2 = __this->get__size_1(); ArrayList_EnsureCapacity_m2769428424(__this, ((int32_t)((int32_t)L_2+(int32_t)1)), /*hidden argument*/NULL); } IL_0021: { ObjectU5BU5D_t3614634134* L_3 = __this->get__items_2(); int32_t L_4 = __this->get__size_1(); Il2CppObject * L_5 = ___value0; ArrayElementTypeCheck (L_3, L_5); (L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4), (Il2CppObject *)L_5); int32_t L_6 = __this->get__version_3(); __this->set__version_3(((int32_t)((int32_t)L_6+(int32_t)1))); int32_t L_7 = __this->get__size_1(); int32_t L_8 = L_7; V_0 = L_8; __this->set__size_1(((int32_t)((int32_t)L_8+(int32_t)1))); int32_t L_9 = V_0; return L_9; } } // System.Void System.Collections.ArrayList::Clear() extern "C" void ArrayList_Clear_m3834604134 (ArrayList_t4252133567 * __this, const MethodInfo* method) { { ObjectU5BU5D_t3614634134* L_0 = __this->get__items_2(); int32_t L_1 = __this->get__size_1(); Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, 0, L_1, /*hidden argument*/NULL); __this->set__size_1(0); int32_t L_2 = __this->get__version_3(); __this->set__version_3(((int32_t)((int32_t)L_2+(int32_t)1))); return; } } // System.Boolean System.Collections.ArrayList::Contains(System.Object) extern "C" bool ArrayList_Contains_m1505633338 (ArrayList_t4252133567 * __this, Il2CppObject * ___item0, const MethodInfo* method) { { Il2CppObject * L_0 = ___item0; int32_t L_1 = __this->get__size_1(); int32_t L_2 = VirtFuncInvoker3< int32_t, Il2CppObject *, int32_t, int32_t >::Invoke(35 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object,System.Int32,System.Int32) */, __this, L_0, 0, L_1); return (bool)((((int32_t)L_2) > ((int32_t)(-1)))? 1 : 0); } } // System.Int32 System.Collections.ArrayList::IndexOf(System.Object) extern "C" int32_t ArrayList_IndexOf_m2092981366 (ArrayList_t4252133567 * __this, Il2CppObject * ___value0, const MethodInfo* method) { { Il2CppObject * L_0 = ___value0; int32_t L_1 = VirtFuncInvoker2< int32_t, Il2CppObject *, int32_t >::Invoke(34 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object,System.Int32) */, __this, L_0, 0); return L_1; } } // System.Int32 System.Collections.ArrayList::IndexOf(System.Object,System.Int32) extern "C" int32_t ArrayList_IndexOf_m3156287629 (ArrayList_t4252133567 * __this, Il2CppObject * ___value0, int32_t ___startIndex1, const MethodInfo* method) { { Il2CppObject * L_0 = ___value0; int32_t L_1 = ___startIndex1; int32_t L_2 = __this->get__size_1(); int32_t L_3 = ___startIndex1; int32_t L_4 = VirtFuncInvoker3< int32_t, Il2CppObject *, int32_t, int32_t >::Invoke(35 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object,System.Int32,System.Int32) */, __this, L_0, L_1, ((int32_t)((int32_t)L_2-(int32_t)L_3))); return L_4; } } // System.Int32 System.Collections.ArrayList::IndexOf(System.Object,System.Int32,System.Int32) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern const MethodInfo* Array_IndexOf_TisIl2CppObject_m1815604637_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2445621174; extern Il2CppCodeGenString* _stringLiteral1265757017; extern Il2CppCodeGenString* _stringLiteral1554746267; extern Il2CppCodeGenString* _stringLiteral3917867358; extern Il2CppCodeGenString* _stringLiteral3077861417; extern const uint32_t ArrayList_IndexOf_m4035947896_MetadataUsageId; extern "C" int32_t ArrayList_IndexOf_m4035947896 (ArrayList_t4252133567 * __this, Il2CppObject * ___value0, int32_t ___startIndex1, int32_t ___count2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_IndexOf_m4035947896_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___startIndex1; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0013; } } { int32_t L_1 = ___startIndex1; int32_t L_2 = __this->get__size_1(); if ((((int32_t)L_1) <= ((int32_t)L_2))) { goto IL_0028; } } IL_0013: { int32_t L_3 = ___startIndex1; int32_t L_4 = L_3; Il2CppObject * L_5 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_4); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535(NULL /*static, unused*/, _stringLiteral2445621174, L_5, _stringLiteral1265757017, /*hidden argument*/NULL); } IL_0028: { int32_t L_6 = ___count2; if ((((int32_t)L_6) >= ((int32_t)0))) { goto IL_0044; } } { int32_t L_7 = ___count2; int32_t L_8 = L_7; Il2CppObject * L_9 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_8); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535(NULL /*static, unused*/, _stringLiteral1554746267, L_9, _stringLiteral3917867358, /*hidden argument*/NULL); } IL_0044: { int32_t L_10 = ___startIndex1; int32_t L_11 = __this->get__size_1(); int32_t L_12 = ___count2; if ((((int32_t)L_10) <= ((int32_t)((int32_t)((int32_t)L_11-(int32_t)L_12))))) { goto IL_0062; } } { ArgumentOutOfRangeException_t279959794 * L_13 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_13, _stringLiteral1554746267, _stringLiteral3077861417, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } IL_0062: { ObjectU5BU5D_t3614634134* L_14 = __this->get__items_2(); Il2CppObject * L_15 = ___value0; int32_t L_16 = ___startIndex1; int32_t L_17 = ___count2; int32_t L_18 = Array_IndexOf_TisIl2CppObject_m1815604637(NULL /*static, unused*/, L_14, L_15, L_16, L_17, /*hidden argument*/Array_IndexOf_TisIl2CppObject_m1815604637_MethodInfo_var); return L_18; } } // System.Void System.Collections.ArrayList::Insert(System.Int32,System.Object) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral1877494162; extern const uint32_t ArrayList_Insert_m351709155_MetadataUsageId; extern "C" void ArrayList_Insert_m351709155 (ArrayList_t4252133567 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_Insert_m351709155_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___index0; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0013; } } { int32_t L_1 = ___index0; int32_t L_2 = __this->get__size_1(); if ((((int32_t)L_1) <= ((int32_t)L_2))) { goto IL_0028; } } IL_0013: { int32_t L_3 = ___index0; int32_t L_4 = L_3; Il2CppObject * L_5 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_4); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535(NULL /*static, unused*/, _stringLiteral1460639766, L_5, _stringLiteral1877494162, /*hidden argument*/NULL); } IL_0028: { int32_t L_6 = ___index0; ArrayList_Shift_m2896765499(__this, L_6, 1, /*hidden argument*/NULL); ObjectU5BU5D_t3614634134* L_7 = __this->get__items_2(); int32_t L_8 = ___index0; Il2CppObject * L_9 = ___value1; ArrayElementTypeCheck (L_7, L_9); (L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8), (Il2CppObject *)L_9); int32_t L_10 = __this->get__size_1(); __this->set__size_1(((int32_t)((int32_t)L_10+(int32_t)1))); int32_t L_11 = __this->get__version_3(); __this->set__version_3(((int32_t)((int32_t)L_11+(int32_t)1))); return; } } // System.Void System.Collections.ArrayList::InsertRange(System.Int32,System.Collections.ICollection) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppClass* ICollection_t91669223_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029375; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral1877494162; extern const uint32_t ArrayList_InsertRange_m1478230997_MetadataUsageId; extern "C" void ArrayList_InsertRange_m1478230997 (ArrayList_t4252133567 * __this, int32_t ___index0, Il2CppObject * ___c1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_InsertRange_m1478230997_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { Il2CppObject * L_0 = ___c1; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral372029375, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___index0; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_0024; } } { int32_t L_3 = ___index0; int32_t L_4 = __this->get__size_1(); if ((((int32_t)L_3) <= ((int32_t)L_4))) { goto IL_0039; } } IL_0024: { int32_t L_5 = ___index0; int32_t L_6 = L_5; Il2CppObject * L_7 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_6); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535(NULL /*static, unused*/, _stringLiteral1460639766, L_7, _stringLiteral1877494162, /*hidden argument*/NULL); } IL_0039: { Il2CppObject * L_8 = ___c1; int32_t L_9 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_t91669223_il2cpp_TypeInfo_var, L_8); V_0 = L_9; ObjectU5BU5D_t3614634134* L_10 = __this->get__items_2(); int32_t L_11 = __this->get__size_1(); int32_t L_12 = V_0; if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_10)->max_length))))) >= ((int32_t)((int32_t)((int32_t)L_11+(int32_t)L_12))))) { goto IL_0063; } } { int32_t L_13 = __this->get__size_1(); int32_t L_14 = V_0; ArrayList_EnsureCapacity_m2769428424(__this, ((int32_t)((int32_t)L_13+(int32_t)L_14)), /*hidden argument*/NULL); } IL_0063: { int32_t L_15 = ___index0; int32_t L_16 = __this->get__size_1(); if ((((int32_t)L_15) >= ((int32_t)L_16))) { goto IL_008c; } } { ObjectU5BU5D_t3614634134* L_17 = __this->get__items_2(); int32_t L_18 = ___index0; ObjectU5BU5D_t3614634134* L_19 = __this->get__items_2(); int32_t L_20 = ___index0; int32_t L_21 = V_0; int32_t L_22 = __this->get__size_1(); int32_t L_23 = ___index0; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_17, L_18, (Il2CppArray *)(Il2CppArray *)L_19, ((int32_t)((int32_t)L_20+(int32_t)L_21)), ((int32_t)((int32_t)L_22-(int32_t)L_23)), /*hidden argument*/NULL); } IL_008c: { Il2CppObject * L_24 = ___c1; Il2CppObject * L_25 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(2 /* System.Object System.Collections.ICollection::get_SyncRoot() */, ICollection_t91669223_il2cpp_TypeInfo_var, L_24); if ((!(((Il2CppObject*)(ArrayList_t4252133567 *)__this) == ((Il2CppObject*)(Il2CppObject *)L_25)))) { goto IL_00d0; } } { ObjectU5BU5D_t3614634134* L_26 = __this->get__items_2(); ObjectU5BU5D_t3614634134* L_27 = __this->get__items_2(); int32_t L_28 = ___index0; int32_t L_29 = ___index0; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_26, 0, (Il2CppArray *)(Il2CppArray *)L_27, L_28, L_29, /*hidden argument*/NULL); ObjectU5BU5D_t3614634134* L_30 = __this->get__items_2(); int32_t L_31 = ___index0; int32_t L_32 = V_0; ObjectU5BU5D_t3614634134* L_33 = __this->get__items_2(); int32_t L_34 = ___index0; int32_t L_35 = __this->get__size_1(); int32_t L_36 = ___index0; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_30, ((int32_t)((int32_t)L_31+(int32_t)L_32)), (Il2CppArray *)(Il2CppArray *)L_33, ((int32_t)((int32_t)L_34<<(int32_t)1)), ((int32_t)((int32_t)L_35-(int32_t)L_36)), /*hidden argument*/NULL); goto IL_00dd; } IL_00d0: { Il2CppObject * L_37 = ___c1; ObjectU5BU5D_t3614634134* L_38 = __this->get__items_2(); int32_t L_39 = ___index0; InterfaceActionInvoker2< Il2CppArray *, int32_t >::Invoke(3 /* System.Void System.Collections.ICollection::CopyTo(System.Array,System.Int32) */, ICollection_t91669223_il2cpp_TypeInfo_var, L_37, (Il2CppArray *)(Il2CppArray *)L_38, L_39); } IL_00dd: { int32_t L_40 = __this->get__size_1(); Il2CppObject * L_41 = ___c1; int32_t L_42 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_t91669223_il2cpp_TypeInfo_var, L_41); __this->set__size_1(((int32_t)((int32_t)L_40+(int32_t)L_42))); int32_t L_43 = __this->get__version_3(); __this->set__version_3(((int32_t)((int32_t)L_43+(int32_t)1))); return; } } // System.Void System.Collections.ArrayList::Remove(System.Object) extern "C" void ArrayList_Remove_m3941780739 (ArrayList_t4252133567 * __this, Il2CppObject * ___obj0, const MethodInfo* method) { int32_t V_0 = 0; { Il2CppObject * L_0 = ___obj0; int32_t L_1 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(33 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object) */, __this, L_0); V_0 = L_1; int32_t L_2 = V_0; if ((((int32_t)L_2) <= ((int32_t)(-1)))) { goto IL_0016; } } { int32_t L_3 = V_0; VirtActionInvoker1< int32_t >::Invoke(39 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, __this, L_3); } IL_0016: { int32_t L_4 = __this->get__version_3(); __this->set__version_3(((int32_t)((int32_t)L_4+(int32_t)1))); return; } } // System.Void System.Collections.ArrayList::RemoveAt(System.Int32) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral1850942100; extern const uint32_t ArrayList_RemoveAt_m2578928333_MetadataUsageId; extern "C" void ArrayList_RemoveAt_m2578928333 (ArrayList_t4252133567 * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_RemoveAt_m2578928333_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___index0; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0013; } } { int32_t L_1 = ___index0; int32_t L_2 = __this->get__size_1(); if ((((int32_t)L_1) < ((int32_t)L_2))) { goto IL_0028; } } IL_0013: { int32_t L_3 = ___index0; int32_t L_4 = L_3; Il2CppObject * L_5 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_4); IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535(NULL /*static, unused*/, _stringLiteral1460639766, L_5, _stringLiteral1850942100, /*hidden argument*/NULL); } IL_0028: { int32_t L_6 = ___index0; ArrayList_Shift_m2896765499(__this, L_6, (-1), /*hidden argument*/NULL); int32_t L_7 = __this->get__size_1(); __this->set__size_1(((int32_t)((int32_t)L_7-(int32_t)1))); int32_t L_8 = __this->get__version_3(); __this->set__version_3(((int32_t)((int32_t)L_8+(int32_t)1))); return; } } // System.Void System.Collections.ArrayList::CopyTo(System.Array) extern "C" void ArrayList_CopyTo_m1348662971 (ArrayList_t4252133567 * __this, Il2CppArray * ___array0, const MethodInfo* method) { { ObjectU5BU5D_t3614634134* L_0 = __this->get__items_2(); Il2CppArray * L_1 = ___array0; int32_t L_2 = __this->get__size_1(); Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, L_1, L_2, /*hidden argument*/NULL); return; } } // System.Void System.Collections.ArrayList::CopyTo(System.Array,System.Int32) extern "C" void ArrayList_CopyTo_m2353632788 (ArrayList_t4252133567 * __this, Il2CppArray * ___array0, int32_t ___arrayIndex1, const MethodInfo* method) { { Il2CppArray * L_0 = ___array0; int32_t L_1 = ___arrayIndex1; int32_t L_2 = __this->get__size_1(); VirtActionInvoker4< int32_t, Il2CppArray *, int32_t, int32_t >::Invoke(42 /* System.Void System.Collections.ArrayList::CopyTo(System.Int32,System.Array,System.Int32,System.Int32) */, __this, 0, L_0, L_1, L_2); return; } } // System.Void System.Collections.ArrayList::CopyTo(System.Int32,System.Array,System.Int32,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral1155093145; extern const uint32_t ArrayList_CopyTo_m835998412_MetadataUsageId; extern "C" void ArrayList_CopyTo_m835998412 (ArrayList_t4252133567 * __this, int32_t ___index0, Il2CppArray * ___array1, int32_t ___arrayIndex2, int32_t ___count3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_CopyTo_m835998412_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array1; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array1; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) == ((int32_t)1))) { goto IL_002d; } } { ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_4, _stringLiteral1155093145, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_002d: { ObjectU5BU5D_t3614634134* L_5 = __this->get__items_2(); int32_t L_6 = ___index0; Il2CppArray * L_7 = ___array1; int32_t L_8 = ___arrayIndex2; int32_t L_9 = ___count3; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_5, L_6, L_7, L_8, L_9, /*hidden argument*/NULL); return; } } // System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() extern Il2CppClass* SimpleEnumerator_t579048438_il2cpp_TypeInfo_var; extern const uint32_t ArrayList_GetEnumerator_m2692225347_MetadataUsageId; extern "C" Il2CppObject * ArrayList_GetEnumerator_m2692225347 (ArrayList_t4252133567 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_GetEnumerator_m2692225347_MetadataUsageId); s_Il2CppMethodInitialized = true; } { SimpleEnumerator_t579048438 * L_0 = (SimpleEnumerator_t579048438 *)il2cpp_codegen_object_new(SimpleEnumerator_t579048438_il2cpp_TypeInfo_var); SimpleEnumerator__ctor_m4255826609(L_0, __this, /*hidden argument*/NULL); return L_0; } } // System.Void System.Collections.ArrayList::AddRange(System.Collections.ICollection) extern "C" void ArrayList_AddRange_m579674390 (ArrayList_t4252133567 * __this, Il2CppObject * ___c0, const MethodInfo* method) { { int32_t L_0 = __this->get__size_1(); Il2CppObject * L_1 = ___c0; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(37 /* System.Void System.Collections.ArrayList::InsertRange(System.Int32,System.Collections.ICollection) */, __this, L_0, L_1); return; } } // System.Void System.Collections.ArrayList::Sort() extern const MethodInfo* Array_Sort_TisIl2CppObject_m143182644_MethodInfo_var; extern const uint32_t ArrayList_Sort_m2778059513_MetadataUsageId; extern "C" void ArrayList_Sort_m2778059513 (ArrayList_t4252133567 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_Sort_m2778059513_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ObjectU5BU5D_t3614634134* L_0 = __this->get__items_2(); int32_t L_1 = __this->get__size_1(); Array_Sort_TisIl2CppObject_m143182644(NULL /*static, unused*/, L_0, 0, L_1, /*hidden argument*/Array_Sort_TisIl2CppObject_m143182644_MethodInfo_var); int32_t L_2 = __this->get__version_3(); __this->set__version_3(((int32_t)((int32_t)L_2+(int32_t)1))); return; } } // System.Void System.Collections.ArrayList::Sort(System.Collections.IComparer) extern "C" void ArrayList_Sort_m923359189 (ArrayList_t4252133567 * __this, Il2CppObject * ___comparer0, const MethodInfo* method) { { ObjectU5BU5D_t3614634134* L_0 = __this->get__items_2(); int32_t L_1 = __this->get__size_1(); Il2CppObject * L_2 = ___comparer0; Array_Sort_m2323017822(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, 0, L_1, L_2, /*hidden argument*/NULL); return; } } // System.Object[] System.Collections.ArrayList::ToArray() extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern const uint32_t ArrayList_ToArray_m3431354952_MetadataUsageId; extern "C" ObjectU5BU5D_t3614634134* ArrayList_ToArray_m3431354952 (ArrayList_t4252133567 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_ToArray_m3431354952_MetadataUsageId); s_Il2CppMethodInitialized = true; } ObjectU5BU5D_t3614634134* V_0 = NULL; { int32_t L_0 = __this->get__size_1(); V_0 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_0)); ObjectU5BU5D_t3614634134* L_1 = V_0; VirtActionInvoker1< Il2CppArray * >::Invoke(40 /* System.Void System.Collections.ArrayList::CopyTo(System.Array) */, __this, (Il2CppArray *)(Il2CppArray *)L_1); ObjectU5BU5D_t3614634134* L_2 = V_0; return L_2; } } // System.Array System.Collections.ArrayList::ToArray(System.Type) extern "C" Il2CppArray * ArrayList_ToArray_m2378888207 (ArrayList_t4252133567 * __this, Type_t * ___type0, const MethodInfo* method) { Il2CppArray * V_0 = NULL; { Type_t * L_0 = ___type0; int32_t L_1 = __this->get__size_1(); Il2CppArray * L_2 = Array_CreateInstance_m138919384(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); V_0 = L_2; Il2CppArray * L_3 = V_0; VirtActionInvoker1< Il2CppArray * >::Invoke(40 /* System.Void System.Collections.ArrayList::CopyTo(System.Array) */, __this, L_3); Il2CppArray * L_4 = V_0; return L_4; } } // System.Object System.Collections.ArrayList::Clone() extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern const uint32_t ArrayList_Clone_m118277485_MetadataUsageId; extern "C" Il2CppObject * ArrayList_Clone_m118277485 (ArrayList_t4252133567 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_Clone_m118277485_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ObjectU5BU5D_t3614634134* L_0 = __this->get__items_2(); int32_t L_1 = __this->get__size_1(); ArrayList_t4252133567 * L_2 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList__ctor_m1909233271(L_2, L_0, 0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Void System.Collections.ArrayList::ThrowNewArgumentOutOfRangeException(System.String,System.Object,System.String) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern const uint32_t ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535_MetadataUsageId; extern "C" void ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535 (Il2CppObject * __this /* static, unused */, String_t* ___name0, Il2CppObject * ___actual1, String_t* ___message2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_ThrowNewArgumentOutOfRangeException_m3795973535_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___name0; Il2CppObject * L_1 = ___actual1; String_t* L_2 = ___message2; ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4090631565(L_3, L_0, L_1, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } } // System.Collections.ArrayList System.Collections.ArrayList::Synchronized(System.Collections.ArrayList) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* SynchronizedArrayListWrapper_t3317806524_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1178974130; extern const uint32_t ArrayList_Synchronized_m2395071980_MetadataUsageId; extern "C" ArrayList_t4252133567 * ArrayList_Synchronized_m2395071980 (Il2CppObject * __this /* static, unused */, ArrayList_t4252133567 * ___list0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_Synchronized_m2395071980_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ArrayList_t4252133567 * L_0 = ___list0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1178974130, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { ArrayList_t4252133567 * L_2 = ___list0; bool L_3 = VirtFuncInvoker0< bool >::Invoke(28 /* System.Boolean System.Collections.ArrayList::get_IsSynchronized() */, L_2); if (!L_3) { goto IL_001e; } } { ArrayList_t4252133567 * L_4 = ___list0; return L_4; } IL_001e: { ArrayList_t4252133567 * L_5 = ___list0; SynchronizedArrayListWrapper_t3317806524 * L_6 = (SynchronizedArrayListWrapper_t3317806524 *)il2cpp_codegen_object_new(SynchronizedArrayListWrapper_t3317806524_il2cpp_TypeInfo_var); SynchronizedArrayListWrapper__ctor_m2251532477(L_6, L_5, /*hidden argument*/NULL); return L_6; } } // System.Collections.ArrayList System.Collections.ArrayList::ReadOnly(System.Collections.ArrayList) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ReadOnlyArrayListWrapper_t4044524772_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1178974130; extern const uint32_t ArrayList_ReadOnly_m3127181292_MetadataUsageId; extern "C" ArrayList_t4252133567 * ArrayList_ReadOnly_m3127181292 (Il2CppObject * __this /* static, unused */, ArrayList_t4252133567 * ___list0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayList_ReadOnly_m3127181292_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ArrayList_t4252133567 * L_0 = ___list0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1178974130, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { ArrayList_t4252133567 * L_2 = ___list0; bool L_3 = VirtFuncInvoker0< bool >::Invoke(27 /* System.Boolean System.Collections.ArrayList::get_IsReadOnly() */, L_2); if (!L_3) { goto IL_001e; } } { ArrayList_t4252133567 * L_4 = ___list0; return L_4; } IL_001e: { ArrayList_t4252133567 * L_5 = ___list0; ReadOnlyArrayListWrapper_t4044524772 * L_6 = (ReadOnlyArrayListWrapper_t4044524772 *)il2cpp_codegen_object_new(ReadOnlyArrayListWrapper_t4044524772_il2cpp_TypeInfo_var); ReadOnlyArrayListWrapper__ctor_m4102755225(L_6, L_5, /*hidden argument*/NULL); return L_6; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::.ctor(System.Collections.ArrayList) extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern const uint32_t ArrayListWrapper__ctor_m3783588291_MetadataUsageId; extern "C" void ArrayListWrapper__ctor_m3783588291 (ArrayListWrapper_t3918858854 * __this, ArrayList_t4252133567 * ___innerArrayList0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ArrayListWrapper__ctor_m3783588291_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList__ctor_m4012174379(__this, /*hidden argument*/NULL); ArrayList_t4252133567 * L_0 = ___innerArrayList0; __this->set_m_InnerArrayList_5(L_0); return; } } // System.Object System.Collections.ArrayList/ArrayListWrapper::get_Item(System.Int32) extern "C" Il2CppObject * ArrayListWrapper_get_Item_m3239758564 (ArrayListWrapper_t3918858854 * __this, int32_t ___index0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); int32_t L_1 = ___index0; Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1); return L_2; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::set_Item(System.Int32,System.Object) extern "C" void ArrayListWrapper_set_Item_m4288374891 (ArrayListWrapper_t3918858854 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); int32_t L_1 = ___index0; Il2CppObject * L_2 = ___value1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(22 /* System.Void System.Collections.ArrayList::set_Item(System.Int32,System.Object) */, L_0, L_1, L_2); return; } } // System.Int32 System.Collections.ArrayList/ArrayListWrapper::get_Count() extern "C" int32_t ArrayListWrapper_get_Count_m2207944952 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_0); return L_1; } } // System.Int32 System.Collections.ArrayList/ArrayListWrapper::get_Capacity() extern "C" int32_t ArrayListWrapper_get_Capacity_m1663188815 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(24 /* System.Int32 System.Collections.ArrayList::get_Capacity() */, L_0); return L_1; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::set_Capacity(System.Int32) extern "C" void ArrayListWrapper_set_Capacity_m2792463350 (ArrayListWrapper_t3918858854 * __this, int32_t ___value0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); int32_t L_1 = ___value0; VirtActionInvoker1< int32_t >::Invoke(25 /* System.Void System.Collections.ArrayList::set_Capacity(System.Int32) */, L_0, L_1); return; } } // System.Boolean System.Collections.ArrayList/ArrayListWrapper::get_IsFixedSize() extern "C" bool ArrayListWrapper_get_IsFixedSize_m151436744 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); bool L_1 = VirtFuncInvoker0< bool >::Invoke(26 /* System.Boolean System.Collections.ArrayList::get_IsFixedSize() */, L_0); return L_1; } } // System.Boolean System.Collections.ArrayList/ArrayListWrapper::get_IsReadOnly() extern "C" bool ArrayListWrapper_get_IsReadOnly_m1327238069 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); bool L_1 = VirtFuncInvoker0< bool >::Invoke(27 /* System.Boolean System.Collections.ArrayList::get_IsReadOnly() */, L_0); return L_1; } } // System.Boolean System.Collections.ArrayList/ArrayListWrapper::get_IsSynchronized() extern "C" bool ArrayListWrapper_get_IsSynchronized_m574832369 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); bool L_1 = VirtFuncInvoker0< bool >::Invoke(28 /* System.Boolean System.Collections.ArrayList::get_IsSynchronized() */, L_0); return L_1; } } // System.Object System.Collections.ArrayList/ArrayListWrapper::get_SyncRoot() extern "C" Il2CppObject * ArrayListWrapper_get_SyncRoot_m2617104509 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(29 /* System.Object System.Collections.ArrayList::get_SyncRoot() */, L_0); return L_1; } } // System.Int32 System.Collections.ArrayList/ArrayListWrapper::Add(System.Object) extern "C" int32_t ArrayListWrapper_Add_m3506024217 (ArrayListWrapper_t3918858854 * __this, Il2CppObject * ___value0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = ___value0; int32_t L_2 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_0, L_1); return L_2; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::Clear() extern "C" void ArrayListWrapper_Clear_m321161741 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); VirtActionInvoker0::Invoke(31 /* System.Void System.Collections.ArrayList::Clear() */, L_0); return; } } // System.Boolean System.Collections.ArrayList/ArrayListWrapper::Contains(System.Object) extern "C" bool ArrayListWrapper_Contains_m1158465965 (ArrayListWrapper_t3918858854 * __this, Il2CppObject * ___value0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = ___value0; bool L_2 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(32 /* System.Boolean System.Collections.ArrayList::Contains(System.Object) */, L_0, L_1); return L_2; } } // System.Int32 System.Collections.ArrayList/ArrayListWrapper::IndexOf(System.Object) extern "C" int32_t ArrayListWrapper_IndexOf_m1413838195 (ArrayListWrapper_t3918858854 * __this, Il2CppObject * ___value0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = ___value0; int32_t L_2 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(33 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object) */, L_0, L_1); return L_2; } } // System.Int32 System.Collections.ArrayList/ArrayListWrapper::IndexOf(System.Object,System.Int32) extern "C" int32_t ArrayListWrapper_IndexOf_m956690066 (ArrayListWrapper_t3918858854 * __this, Il2CppObject * ___value0, int32_t ___startIndex1, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = ___value0; int32_t L_2 = ___startIndex1; int32_t L_3 = VirtFuncInvoker2< int32_t, Il2CppObject *, int32_t >::Invoke(34 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object,System.Int32) */, L_0, L_1, L_2); return L_3; } } // System.Int32 System.Collections.ArrayList/ArrayListWrapper::IndexOf(System.Object,System.Int32,System.Int32) extern "C" int32_t ArrayListWrapper_IndexOf_m3574835167 (ArrayListWrapper_t3918858854 * __this, Il2CppObject * ___value0, int32_t ___startIndex1, int32_t ___count2, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = ___value0; int32_t L_2 = ___startIndex1; int32_t L_3 = ___count2; int32_t L_4 = VirtFuncInvoker3< int32_t, Il2CppObject *, int32_t, int32_t >::Invoke(35 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object,System.Int32,System.Int32) */, L_0, L_1, L_2, L_3); return L_4; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::Insert(System.Int32,System.Object) extern "C" void ArrayListWrapper_Insert_m3096839048 (ArrayListWrapper_t3918858854 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); int32_t L_1 = ___index0; Il2CppObject * L_2 = ___value1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(36 /* System.Void System.Collections.ArrayList::Insert(System.Int32,System.Object) */, L_0, L_1, L_2); return; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::InsertRange(System.Int32,System.Collections.ICollection) extern "C" void ArrayListWrapper_InsertRange_m3661011618 (ArrayListWrapper_t3918858854 * __this, int32_t ___index0, Il2CppObject * ___c1, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); int32_t L_1 = ___index0; Il2CppObject * L_2 = ___c1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(37 /* System.Void System.Collections.ArrayList::InsertRange(System.Int32,System.Collections.ICollection) */, L_0, L_1, L_2); return; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::Remove(System.Object) extern "C" void ArrayListWrapper_Remove_m1105489978 (ArrayListWrapper_t3918858854 * __this, Il2CppObject * ___value0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = ___value0; VirtActionInvoker1< Il2CppObject * >::Invoke(38 /* System.Void System.Collections.ArrayList::Remove(System.Object) */, L_0, L_1); return; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::RemoveAt(System.Int32) extern "C" void ArrayListWrapper_RemoveAt_m2300625242 (ArrayListWrapper_t3918858854 * __this, int32_t ___index0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); int32_t L_1 = ___index0; VirtActionInvoker1< int32_t >::Invoke(39 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_0, L_1); return; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::CopyTo(System.Array) extern "C" void ArrayListWrapper_CopyTo_m3344427948 (ArrayListWrapper_t3918858854 * __this, Il2CppArray * ___array0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppArray * L_1 = ___array0; VirtActionInvoker1< Il2CppArray * >::Invoke(40 /* System.Void System.Collections.ArrayList::CopyTo(System.Array) */, L_0, L_1); return; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::CopyTo(System.Array,System.Int32) extern "C" void ArrayListWrapper_CopyTo_m793444109 (ArrayListWrapper_t3918858854 * __this, Il2CppArray * ___array0, int32_t ___index1, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppArray * L_1 = ___array0; int32_t L_2 = ___index1; VirtActionInvoker2< Il2CppArray *, int32_t >::Invoke(41 /* System.Void System.Collections.ArrayList::CopyTo(System.Array,System.Int32) */, L_0, L_1, L_2); return; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::CopyTo(System.Int32,System.Array,System.Int32,System.Int32) extern "C" void ArrayListWrapper_CopyTo_m735618473 (ArrayListWrapper_t3918858854 * __this, int32_t ___index0, Il2CppArray * ___array1, int32_t ___arrayIndex2, int32_t ___count3, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); int32_t L_1 = ___index0; Il2CppArray * L_2 = ___array1; int32_t L_3 = ___arrayIndex2; int32_t L_4 = ___count3; VirtActionInvoker4< int32_t, Il2CppArray *, int32_t, int32_t >::Invoke(42 /* System.Void System.Collections.ArrayList::CopyTo(System.Int32,System.Array,System.Int32,System.Int32) */, L_0, L_1, L_2, L_3, L_4); return; } } // System.Collections.IEnumerator System.Collections.ArrayList/ArrayListWrapper::GetEnumerator() extern "C" Il2CppObject * ArrayListWrapper_GetEnumerator_m14747752 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_0); return L_1; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::AddRange(System.Collections.ICollection) extern "C" void ArrayListWrapper_AddRange_m4007726545 (ArrayListWrapper_t3918858854 * __this, Il2CppObject * ___c0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = ___c0; VirtActionInvoker1< Il2CppObject * >::Invoke(44 /* System.Void System.Collections.ArrayList::AddRange(System.Collections.ICollection) */, L_0, L_1); return; } } // System.Object System.Collections.ArrayList/ArrayListWrapper::Clone() extern "C" Il2CppObject * ArrayListWrapper_Clone_m1506311066 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(49 /* System.Object System.Collections.ArrayList::Clone() */, L_0); return L_1; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::Sort() extern "C" void ArrayListWrapper_Sort_m2154205930 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); VirtActionInvoker0::Invoke(45 /* System.Void System.Collections.ArrayList::Sort() */, L_0); return; } } // System.Void System.Collections.ArrayList/ArrayListWrapper::Sort(System.Collections.IComparer) extern "C" void ArrayListWrapper_Sort_m2056456654 (ArrayListWrapper_t3918858854 * __this, Il2CppObject * ___comparer0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Il2CppObject * L_1 = ___comparer0; VirtActionInvoker1< Il2CppObject * >::Invoke(46 /* System.Void System.Collections.ArrayList::Sort(System.Collections.IComparer) */, L_0, L_1); return; } } // System.Object[] System.Collections.ArrayList/ArrayListWrapper::ToArray() extern "C" ObjectU5BU5D_t3614634134* ArrayListWrapper_ToArray_m3619275769 (ArrayListWrapper_t3918858854 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); ObjectU5BU5D_t3614634134* L_1 = VirtFuncInvoker0< ObjectU5BU5D_t3614634134* >::Invoke(47 /* System.Object[] System.Collections.ArrayList::ToArray() */, L_0); return L_1; } } // System.Array System.Collections.ArrayList/ArrayListWrapper::ToArray(System.Type) extern "C" Il2CppArray * ArrayListWrapper_ToArray_m235921330 (ArrayListWrapper_t3918858854 * __this, Type_t * ___elementType0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = __this->get_m_InnerArrayList_5(); Type_t * L_1 = ___elementType0; Il2CppArray * L_2 = VirtFuncInvoker1< Il2CppArray *, Type_t * >::Invoke(48 /* System.Array System.Collections.ArrayList::ToArray(System.Type) */, L_0, L_1); return L_2; } } // System.Void System.Collections.ArrayList/FixedSizeArrayListWrapper::.ctor(System.Collections.ArrayList) extern "C" void FixedSizeArrayListWrapper__ctor_m3229421656 (FixedSizeArrayListWrapper_t3816042801 * __this, ArrayList_t4252133567 * ___innerList0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = ___innerList0; ArrayListWrapper__ctor_m3783588291(__this, L_0, /*hidden argument*/NULL); return; } } // System.String System.Collections.ArrayList/FixedSizeArrayListWrapper::get_ErrorMessage() extern Il2CppCodeGenString* _stringLiteral1237821928; extern const uint32_t FixedSizeArrayListWrapper_get_ErrorMessage_m1894541634_MetadataUsageId; extern "C" String_t* FixedSizeArrayListWrapper_get_ErrorMessage_m1894541634 (FixedSizeArrayListWrapper_t3816042801 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FixedSizeArrayListWrapper_get_ErrorMessage_m1894541634_MetadataUsageId); s_Il2CppMethodInitialized = true; } { return _stringLiteral1237821928; } } // System.Int32 System.Collections.ArrayList/FixedSizeArrayListWrapper::get_Capacity() extern "C" int32_t FixedSizeArrayListWrapper_get_Capacity_m2972822506 (FixedSizeArrayListWrapper_t3816042801 * __this, const MethodInfo* method) { { int32_t L_0 = ArrayListWrapper_get_Capacity_m1663188815(__this, /*hidden argument*/NULL); return L_0; } } // System.Void System.Collections.ArrayList/FixedSizeArrayListWrapper::set_Capacity(System.Int32) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t FixedSizeArrayListWrapper_set_Capacity_m1401511951_MetadataUsageId; extern "C" void FixedSizeArrayListWrapper_set_Capacity_m1401511951 (FixedSizeArrayListWrapper_t3816042801 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FixedSizeArrayListWrapper_set_Capacity_m1401511951_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(50 /* System.String System.Collections.ArrayList/FixedSizeArrayListWrapper::get_ErrorMessage() */, __this); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Boolean System.Collections.ArrayList/FixedSizeArrayListWrapper::get_IsFixedSize() extern "C" bool FixedSizeArrayListWrapper_get_IsFixedSize_m647296831 (FixedSizeArrayListWrapper_t3816042801 * __this, const MethodInfo* method) { { return (bool)1; } } // System.Int32 System.Collections.ArrayList/FixedSizeArrayListWrapper::Add(System.Object) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t FixedSizeArrayListWrapper_Add_m1263586472_MetadataUsageId; extern "C" int32_t FixedSizeArrayListWrapper_Add_m1263586472 (FixedSizeArrayListWrapper_t3816042801 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FixedSizeArrayListWrapper_Add_m1263586472_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(50 /* System.String System.Collections.ArrayList/FixedSizeArrayListWrapper::get_ErrorMessage() */, __this); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/FixedSizeArrayListWrapper::AddRange(System.Collections.ICollection) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t FixedSizeArrayListWrapper_AddRange_m2071800418_MetadataUsageId; extern "C" void FixedSizeArrayListWrapper_AddRange_m2071800418 (FixedSizeArrayListWrapper_t3816042801 * __this, Il2CppObject * ___c0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FixedSizeArrayListWrapper_AddRange_m2071800418_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(50 /* System.String System.Collections.ArrayList/FixedSizeArrayListWrapper::get_ErrorMessage() */, __this); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/FixedSizeArrayListWrapper::Clear() extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t FixedSizeArrayListWrapper_Clear_m634930066_MetadataUsageId; extern "C" void FixedSizeArrayListWrapper_Clear_m634930066 (FixedSizeArrayListWrapper_t3816042801 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FixedSizeArrayListWrapper_Clear_m634930066_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(50 /* System.String System.Collections.ArrayList/FixedSizeArrayListWrapper::get_ErrorMessage() */, __this); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/FixedSizeArrayListWrapper::Insert(System.Int32,System.Object) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t FixedSizeArrayListWrapper_Insert_m3631831575_MetadataUsageId; extern "C" void FixedSizeArrayListWrapper_Insert_m3631831575 (FixedSizeArrayListWrapper_t3816042801 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FixedSizeArrayListWrapper_Insert_m3631831575_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(50 /* System.String System.Collections.ArrayList/FixedSizeArrayListWrapper::get_ErrorMessage() */, __this); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/FixedSizeArrayListWrapper::InsertRange(System.Int32,System.Collections.ICollection) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t FixedSizeArrayListWrapper_InsertRange_m2690348965_MetadataUsageId; extern "C" void FixedSizeArrayListWrapper_InsertRange_m2690348965 (FixedSizeArrayListWrapper_t3816042801 * __this, int32_t ___index0, Il2CppObject * ___c1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FixedSizeArrayListWrapper_InsertRange_m2690348965_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(50 /* System.String System.Collections.ArrayList/FixedSizeArrayListWrapper::get_ErrorMessage() */, __this); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/FixedSizeArrayListWrapper::Remove(System.Object) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t FixedSizeArrayListWrapper_Remove_m1359458911_MetadataUsageId; extern "C" void FixedSizeArrayListWrapper_Remove_m1359458911 (FixedSizeArrayListWrapper_t3816042801 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FixedSizeArrayListWrapper_Remove_m1359458911_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(50 /* System.String System.Collections.ArrayList/FixedSizeArrayListWrapper::get_ErrorMessage() */, __this); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/FixedSizeArrayListWrapper::RemoveAt(System.Int32) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t FixedSizeArrayListWrapper_RemoveAt_m2852672557_MetadataUsageId; extern "C" void FixedSizeArrayListWrapper_RemoveAt_m2852672557 (FixedSizeArrayListWrapper_t3816042801 * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FixedSizeArrayListWrapper_RemoveAt_m2852672557_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(50 /* System.String System.Collections.ArrayList/FixedSizeArrayListWrapper::get_ErrorMessage() */, __this); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/ReadOnlyArrayListWrapper::.ctor(System.Collections.ArrayList) extern "C" void ReadOnlyArrayListWrapper__ctor_m4102755225 (ReadOnlyArrayListWrapper_t4044524772 * __this, ArrayList_t4252133567 * ___innerArrayList0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = ___innerArrayList0; FixedSizeArrayListWrapper__ctor_m3229421656(__this, L_0, /*hidden argument*/NULL); return; } } // System.String System.Collections.ArrayList/ReadOnlyArrayListWrapper::get_ErrorMessage() extern Il2CppCodeGenString* _stringLiteral2570507780; extern const uint32_t ReadOnlyArrayListWrapper_get_ErrorMessage_m3688605645_MetadataUsageId; extern "C" String_t* ReadOnlyArrayListWrapper_get_ErrorMessage_m3688605645 (ReadOnlyArrayListWrapper_t4044524772 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ReadOnlyArrayListWrapper_get_ErrorMessage_m3688605645_MetadataUsageId); s_Il2CppMethodInitialized = true; } { return _stringLiteral2570507780; } } // System.Boolean System.Collections.ArrayList/ReadOnlyArrayListWrapper::get_IsReadOnly() extern "C" bool ReadOnlyArrayListWrapper_get_IsReadOnly_m1840081327 (ReadOnlyArrayListWrapper_t4044524772 * __this, const MethodInfo* method) { { return (bool)1; } } // System.Object System.Collections.ArrayList/ReadOnlyArrayListWrapper::get_Item(System.Int32) extern "C" Il2CppObject * ReadOnlyArrayListWrapper_get_Item_m4138413634 (ReadOnlyArrayListWrapper_t4044524772 * __this, int32_t ___index0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_1 = ___index0; Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1); return L_2; } } // System.Void System.Collections.ArrayList/ReadOnlyArrayListWrapper::set_Item(System.Int32,System.Object) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t ReadOnlyArrayListWrapper_set_Item_m2199017141_MetadataUsageId; extern "C" void ReadOnlyArrayListWrapper_set_Item_m2199017141 (ReadOnlyArrayListWrapper_t4044524772 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ReadOnlyArrayListWrapper_set_Item_m2199017141_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ReadOnlyArrayListWrapper_get_ErrorMessage_m3688605645(__this, /*hidden argument*/NULL); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/ReadOnlyArrayListWrapper::Sort() extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t ReadOnlyArrayListWrapper_Sort_m2056228524_MetadataUsageId; extern "C" void ReadOnlyArrayListWrapper_Sort_m2056228524 (ReadOnlyArrayListWrapper_t4044524772 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ReadOnlyArrayListWrapper_Sort_m2056228524_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ReadOnlyArrayListWrapper_get_ErrorMessage_m3688605645(__this, /*hidden argument*/NULL); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/ReadOnlyArrayListWrapper::Sort(System.Collections.IComparer) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t ReadOnlyArrayListWrapper_Sort_m3055503216_MetadataUsageId; extern "C" void ReadOnlyArrayListWrapper_Sort_m3055503216 (ReadOnlyArrayListWrapper_t4044524772 * __this, Il2CppObject * ___comparer0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ReadOnlyArrayListWrapper_Sort_m3055503216_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ReadOnlyArrayListWrapper_get_ErrorMessage_m3688605645(__this, /*hidden argument*/NULL); NotSupportedException_t1793819818 * L_1 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Void System.Collections.ArrayList/SimpleEnumerator::.ctor(System.Collections.ArrayList) extern Il2CppClass* SimpleEnumerator_t579048438_il2cpp_TypeInfo_var; extern const uint32_t SimpleEnumerator__ctor_m4255826609_MetadataUsageId; extern "C" void SimpleEnumerator__ctor_m4255826609 (SimpleEnumerator_t579048438 * __this, ArrayList_t4252133567 * ___list0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SimpleEnumerator__ctor_m4255826609_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); ArrayList_t4252133567 * L_0 = ___list0; __this->set_list_0(L_0); __this->set_index_1((-1)); ArrayList_t4252133567 * L_1 = ___list0; int32_t L_2 = L_1->get__version_3(); __this->set_version_2(L_2); IL2CPP_RUNTIME_CLASS_INIT(SimpleEnumerator_t579048438_il2cpp_TypeInfo_var); Il2CppObject * L_3 = ((SimpleEnumerator_t579048438_StaticFields*)SimpleEnumerator_t579048438_il2cpp_TypeInfo_var->static_fields)->get_endFlag_4(); __this->set_currentElement_3(L_3); return; } } // System.Void System.Collections.ArrayList/SimpleEnumerator::.cctor() extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern Il2CppClass* SimpleEnumerator_t579048438_il2cpp_TypeInfo_var; extern const uint32_t SimpleEnumerator__cctor_m199761645_MetadataUsageId; extern "C" void SimpleEnumerator__cctor_m199761645 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SimpleEnumerator__cctor_m199761645_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = (Il2CppObject *)il2cpp_codegen_object_new(Il2CppObject_il2cpp_TypeInfo_var); Object__ctor_m2551263788(L_0, /*hidden argument*/NULL); ((SimpleEnumerator_t579048438_StaticFields*)SimpleEnumerator_t579048438_il2cpp_TypeInfo_var->static_fields)->set_endFlag_4(L_0); return; } } // System.Object System.Collections.ArrayList/SimpleEnumerator::Clone() extern "C" Il2CppObject * SimpleEnumerator_Clone_m215554974 (SimpleEnumerator_t579048438 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = Object_MemberwiseClone_m2655589444(__this, /*hidden argument*/NULL); return L_0; } } // System.Boolean System.Collections.ArrayList/SimpleEnumerator::MoveNext() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppClass* SimpleEnumerator_t579048438_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2994400704; extern const uint32_t SimpleEnumerator_MoveNext_m3908500498_MetadataUsageId; extern "C" bool SimpleEnumerator_MoveNext_m3908500498 (SimpleEnumerator_t579048438 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SimpleEnumerator_MoveNext_m3908500498_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { int32_t L_0 = __this->get_version_2(); ArrayList_t4252133567 * L_1 = __this->get_list_0(); int32_t L_2 = L_1->get__version_3(); if ((((int32_t)L_0) == ((int32_t)L_2))) { goto IL_0021; } } { InvalidOperationException_t721527559 * L_3 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_3, _stringLiteral2994400704, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0021: { int32_t L_4 = __this->get_index_1(); int32_t L_5 = ((int32_t)((int32_t)L_4+(int32_t)1)); V_0 = L_5; __this->set_index_1(L_5); int32_t L_6 = V_0; ArrayList_t4252133567 * L_7 = __this->get_list_0(); int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_7); if ((((int32_t)L_6) >= ((int32_t)L_8))) { goto IL_005b; } } { ArrayList_t4252133567 * L_9 = __this->get_list_0(); int32_t L_10 = __this->get_index_1(); Il2CppObject * L_11 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_9, L_10); __this->set_currentElement_3(L_11); return (bool)1; } IL_005b: { IL2CPP_RUNTIME_CLASS_INIT(SimpleEnumerator_t579048438_il2cpp_TypeInfo_var); Il2CppObject * L_12 = ((SimpleEnumerator_t579048438_StaticFields*)SimpleEnumerator_t579048438_il2cpp_TypeInfo_var->static_fields)->get_endFlag_4(); __this->set_currentElement_3(L_12); return (bool)0; } } // System.Object System.Collections.ArrayList/SimpleEnumerator::get_Current() extern Il2CppClass* SimpleEnumerator_t579048438_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2233849764; extern Il2CppCodeGenString* _stringLiteral1210693992; extern const uint32_t SimpleEnumerator_get_Current_m1675007507_MetadataUsageId; extern "C" Il2CppObject * SimpleEnumerator_get_Current_m1675007507 (SimpleEnumerator_t579048438 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SimpleEnumerator_get_Current_m1675007507_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = __this->get_currentElement_3(); IL2CPP_RUNTIME_CLASS_INIT(SimpleEnumerator_t579048438_il2cpp_TypeInfo_var); Il2CppObject * L_1 = ((SimpleEnumerator_t579048438_StaticFields*)SimpleEnumerator_t579048438_il2cpp_TypeInfo_var->static_fields)->get_endFlag_4(); if ((!(((Il2CppObject*)(Il2CppObject *)L_0) == ((Il2CppObject*)(Il2CppObject *)L_1)))) { goto IL_0032; } } { int32_t L_2 = __this->get_index_1(); if ((!(((uint32_t)L_2) == ((uint32_t)(-1))))) { goto IL_0027; } } { InvalidOperationException_t721527559 * L_3 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_3, _stringLiteral2233849764, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0027: { InvalidOperationException_t721527559 * L_4 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_4, _stringLiteral1210693992, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0032: { Il2CppObject * L_5 = __this->get_currentElement_3(); return L_5; } } // System.Void System.Collections.ArrayList/SimpleEnumerator::Reset() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppClass* SimpleEnumerator_t579048438_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2994400704; extern const uint32_t SimpleEnumerator_Reset_m3524591211_MetadataUsageId; extern "C" void SimpleEnumerator_Reset_m3524591211 (SimpleEnumerator_t579048438 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SimpleEnumerator_Reset_m3524591211_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get_version_2(); ArrayList_t4252133567 * L_1 = __this->get_list_0(); int32_t L_2 = L_1->get__version_3(); if ((((int32_t)L_0) == ((int32_t)L_2))) { goto IL_0021; } } { InvalidOperationException_t721527559 * L_3 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_3, _stringLiteral2994400704, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0021: { IL2CPP_RUNTIME_CLASS_INIT(SimpleEnumerator_t579048438_il2cpp_TypeInfo_var); Il2CppObject * L_4 = ((SimpleEnumerator_t579048438_StaticFields*)SimpleEnumerator_t579048438_il2cpp_TypeInfo_var->static_fields)->get_endFlag_4(); __this->set_currentElement_3(L_4); __this->set_index_1((-1)); return; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::.ctor(System.Collections.ArrayList) extern "C" void SynchronizedArrayListWrapper__ctor_m2251532477 (SynchronizedArrayListWrapper_t3317806524 * __this, ArrayList_t4252133567 * ___innerArrayList0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = ___innerArrayList0; ArrayListWrapper__ctor_m3783588291(__this, L_0, /*hidden argument*/NULL); ArrayList_t4252133567 * L_1 = ___innerArrayList0; Il2CppObject * L_2 = VirtFuncInvoker0< Il2CppObject * >::Invoke(29 /* System.Object System.Collections.ArrayList::get_SyncRoot() */, L_1); __this->set_m_SyncRoot_6(L_2); return; } } // System.Object System.Collections.ArrayList/SynchronizedArrayListWrapper::get_Item(System.Int32) extern "C" Il2CppObject * SynchronizedArrayListWrapper_get_Item_m3309425850 (SynchronizedArrayListWrapper_t3317806524 * __this, int32_t ___index0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Il2CppObject * V_1 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_3 = ___index0; Il2CppObject * L_4 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_2, L_3); V_1 = L_4; IL2CPP_LEAVE(0x2B, FINALLY_0024); } IL_001f: { ; // IL_001f: leave IL_002b } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0024; } FINALLY_0024: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(36) } // end finally (depth: 1) IL2CPP_CLEANUP(36) { IL2CPP_JUMP_TBL(0x2B, IL_002b) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002b: { Il2CppObject * L_6 = V_1; return L_6; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::set_Item(System.Int32,System.Object) extern "C" void SynchronizedArrayListWrapper_set_Item_m1802125193 (SynchronizedArrayListWrapper_t3317806524 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_3 = ___index0; Il2CppObject * L_4 = ___value1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(22 /* System.Void System.Collections.ArrayList::set_Item(System.Int32,System.Object) */, L_2, L_3, L_4); IL2CPP_LEAVE(0x26, FINALLY_001f); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001f; } FINALLY_001f: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(31) } // end finally (depth: 1) IL2CPP_CLEANUP(31) { IL2CPP_JUMP_TBL(0x26, IL_0026) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0026: { return; } } // System.Int32 System.Collections.ArrayList/SynchronizedArrayListWrapper::get_Count() extern "C" int32_t SynchronizedArrayListWrapper_get_Count_m4104930530 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; int32_t V_1 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_2); V_1 = L_3; IL2CPP_LEAVE(0x2A, FINALLY_0023); } IL_001e: { ; // IL_001e: leave IL_002a } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0023; } FINALLY_0023: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(35) } // end finally (depth: 1) IL2CPP_CLEANUP(35) { IL2CPP_JUMP_TBL(0x2A, IL_002a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002a: { int32_t L_5 = V_1; return L_5; } } // System.Int32 System.Collections.ArrayList/SynchronizedArrayListWrapper::get_Capacity() extern "C" int32_t SynchronizedArrayListWrapper_get_Capacity_m2541698837 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; int32_t V_1 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(24 /* System.Int32 System.Collections.ArrayList::get_Capacity() */, L_2); V_1 = L_3; IL2CPP_LEAVE(0x2A, FINALLY_0023); } IL_001e: { ; // IL_001e: leave IL_002a } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0023; } FINALLY_0023: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(35) } // end finally (depth: 1) IL2CPP_CLEANUP(35) { IL2CPP_JUMP_TBL(0x2A, IL_002a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002a: { int32_t L_5 = V_1; return L_5; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::set_Capacity(System.Int32) extern "C" void SynchronizedArrayListWrapper_set_Capacity_m3104199284 (SynchronizedArrayListWrapper_t3317806524 * __this, int32_t ___value0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_3 = ___value0; VirtActionInvoker1< int32_t >::Invoke(25 /* System.Void System.Collections.ArrayList::set_Capacity(System.Int32) */, L_2, L_3); IL2CPP_LEAVE(0x25, FINALLY_001e); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001e; } FINALLY_001e: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(30) } // end finally (depth: 1) IL2CPP_CLEANUP(30) { IL2CPP_JUMP_TBL(0x25, IL_0025) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0025: { return; } } // System.Boolean System.Collections.ArrayList/SynchronizedArrayListWrapper::get_IsFixedSize() extern "C" bool SynchronizedArrayListWrapper_get_IsFixedSize_m3154507542 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; bool V_1 = false; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); bool L_3 = VirtFuncInvoker0< bool >::Invoke(26 /* System.Boolean System.Collections.ArrayList::get_IsFixedSize() */, L_2); V_1 = L_3; IL2CPP_LEAVE(0x2A, FINALLY_0023); } IL_001e: { ; // IL_001e: leave IL_002a } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0023; } FINALLY_0023: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(35) } // end finally (depth: 1) IL2CPP_CLEANUP(35) { IL2CPP_JUMP_TBL(0x2A, IL_002a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002a: { bool L_5 = V_1; return L_5; } } // System.Boolean System.Collections.ArrayList/SynchronizedArrayListWrapper::get_IsReadOnly() extern "C" bool SynchronizedArrayListWrapper_get_IsReadOnly_m831018743 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; bool V_1 = false; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); bool L_3 = VirtFuncInvoker0< bool >::Invoke(27 /* System.Boolean System.Collections.ArrayList::get_IsReadOnly() */, L_2); V_1 = L_3; IL2CPP_LEAVE(0x2A, FINALLY_0023); } IL_001e: { ; // IL_001e: leave IL_002a } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0023; } FINALLY_0023: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(35) } // end finally (depth: 1) IL2CPP_CLEANUP(35) { IL2CPP_JUMP_TBL(0x2A, IL_002a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002a: { bool L_5 = V_1; return L_5; } } // System.Boolean System.Collections.ArrayList/SynchronizedArrayListWrapper::get_IsSynchronized() extern "C" bool SynchronizedArrayListWrapper_get_IsSynchronized_m242703215 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { { return (bool)1; } } // System.Object System.Collections.ArrayList/SynchronizedArrayListWrapper::get_SyncRoot() extern "C" Il2CppObject * SynchronizedArrayListWrapper_get_SyncRoot_m1466044127 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); return L_0; } } // System.Int32 System.Collections.ArrayList/SynchronizedArrayListWrapper::Add(System.Object) extern "C" int32_t SynchronizedArrayListWrapper_Add_m3593093003 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppObject * ___value0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; int32_t V_1 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = ___value0; int32_t L_4 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_2, L_3); V_1 = L_4; IL2CPP_LEAVE(0x2B, FINALLY_0024); } IL_001f: { ; // IL_001f: leave IL_002b } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0024; } FINALLY_0024: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(36) } // end finally (depth: 1) IL2CPP_CLEANUP(36) { IL2CPP_JUMP_TBL(0x2B, IL_002b) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002b: { int32_t L_6 = V_1; return L_6; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::Clear() extern "C" void SynchronizedArrayListWrapper_Clear_m2966586763 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); VirtActionInvoker0::Invoke(31 /* System.Void System.Collections.ArrayList::Clear() */, L_2); IL2CPP_LEAVE(0x24, FINALLY_001d); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001d; } FINALLY_001d: { // begin finally (depth: 1) Il2CppObject * L_3 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); IL2CPP_END_FINALLY(29) } // end finally (depth: 1) IL2CPP_CLEANUP(29) { IL2CPP_JUMP_TBL(0x24, IL_0024) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0024: { return; } } // System.Boolean System.Collections.ArrayList/SynchronizedArrayListWrapper::Contains(System.Object) extern "C" bool SynchronizedArrayListWrapper_Contains_m2259439339 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppObject * ___value0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; bool V_1 = false; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = ___value0; bool L_4 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(32 /* System.Boolean System.Collections.ArrayList::Contains(System.Object) */, L_2, L_3); V_1 = L_4; IL2CPP_LEAVE(0x2B, FINALLY_0024); } IL_001f: { ; // IL_001f: leave IL_002b } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0024; } FINALLY_0024: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(36) } // end finally (depth: 1) IL2CPP_CLEANUP(36) { IL2CPP_JUMP_TBL(0x2B, IL_002b) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002b: { bool L_6 = V_1; return L_6; } } // System.Int32 System.Collections.ArrayList/SynchronizedArrayListWrapper::IndexOf(System.Object) extern "C" int32_t SynchronizedArrayListWrapper_IndexOf_m1005265265 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppObject * ___value0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; int32_t V_1 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = ___value0; int32_t L_4 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(33 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object) */, L_2, L_3); V_1 = L_4; IL2CPP_LEAVE(0x2B, FINALLY_0024); } IL_001f: { ; // IL_001f: leave IL_002b } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0024; } FINALLY_0024: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(36) } // end finally (depth: 1) IL2CPP_CLEANUP(36) { IL2CPP_JUMP_TBL(0x2B, IL_002b) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002b: { int32_t L_6 = V_1; return L_6; } } // System.Int32 System.Collections.ArrayList/SynchronizedArrayListWrapper::IndexOf(System.Object,System.Int32) extern "C" int32_t SynchronizedArrayListWrapper_IndexOf_m1200258228 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppObject * ___value0, int32_t ___startIndex1, const MethodInfo* method) { Il2CppObject * V_0 = NULL; int32_t V_1 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = ___value0; int32_t L_4 = ___startIndex1; int32_t L_5 = VirtFuncInvoker2< int32_t, Il2CppObject *, int32_t >::Invoke(34 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object,System.Int32) */, L_2, L_3, L_4); V_1 = L_5; IL2CPP_LEAVE(0x2C, FINALLY_0025); } IL_0020: { ; // IL_0020: leave IL_002c } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0025; } FINALLY_0025: { // begin finally (depth: 1) Il2CppObject * L_6 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); IL2CPP_END_FINALLY(37) } // end finally (depth: 1) IL2CPP_CLEANUP(37) { IL2CPP_JUMP_TBL(0x2C, IL_002c) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002c: { int32_t L_7 = V_1; return L_7; } } // System.Int32 System.Collections.ArrayList/SynchronizedArrayListWrapper::IndexOf(System.Object,System.Int32,System.Int32) extern "C" int32_t SynchronizedArrayListWrapper_IndexOf_m1896304197 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppObject * ___value0, int32_t ___startIndex1, int32_t ___count2, const MethodInfo* method) { Il2CppObject * V_0 = NULL; int32_t V_1 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = ___value0; int32_t L_4 = ___startIndex1; int32_t L_5 = ___count2; int32_t L_6 = VirtFuncInvoker3< int32_t, Il2CppObject *, int32_t, int32_t >::Invoke(35 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object,System.Int32,System.Int32) */, L_2, L_3, L_4, L_5); V_1 = L_6; IL2CPP_LEAVE(0x2D, FINALLY_0026); } IL_0021: { ; // IL_0021: leave IL_002d } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0026; } FINALLY_0026: { // begin finally (depth: 1) Il2CppObject * L_7 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_7, /*hidden argument*/NULL); IL2CPP_END_FINALLY(38) } // end finally (depth: 1) IL2CPP_CLEANUP(38) { IL2CPP_JUMP_TBL(0x2D, IL_002d) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002d: { int32_t L_8 = V_1; return L_8; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::Insert(System.Int32,System.Object) extern "C" void SynchronizedArrayListWrapper_Insert_m895951826 (SynchronizedArrayListWrapper_t3317806524 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_3 = ___index0; Il2CppObject * L_4 = ___value1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(36 /* System.Void System.Collections.ArrayList::Insert(System.Int32,System.Object) */, L_2, L_3, L_4); IL2CPP_LEAVE(0x26, FINALLY_001f); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001f; } FINALLY_001f: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(31) } // end finally (depth: 1) IL2CPP_CLEANUP(31) { IL2CPP_JUMP_TBL(0x26, IL_0026) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0026: { return; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::InsertRange(System.Int32,System.Collections.ICollection) extern "C" void SynchronizedArrayListWrapper_InsertRange_m709359548 (SynchronizedArrayListWrapper_t3317806524 * __this, int32_t ___index0, Il2CppObject * ___c1, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_3 = ___index0; Il2CppObject * L_4 = ___c1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(37 /* System.Void System.Collections.ArrayList::InsertRange(System.Int32,System.Collections.ICollection) */, L_2, L_3, L_4); IL2CPP_LEAVE(0x26, FINALLY_001f); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001f; } FINALLY_001f: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(31) } // end finally (depth: 1) IL2CPP_CLEANUP(31) { IL2CPP_JUMP_TBL(0x26, IL_0026) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0026: { return; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::Remove(System.Object) extern "C" void SynchronizedArrayListWrapper_Remove_m2227080756 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppObject * ___value0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = ___value0; VirtActionInvoker1< Il2CppObject * >::Invoke(38 /* System.Void System.Collections.ArrayList::Remove(System.Object) */, L_2, L_3); IL2CPP_LEAVE(0x25, FINALLY_001e); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001e; } FINALLY_001e: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(30) } // end finally (depth: 1) IL2CPP_CLEANUP(30) { IL2CPP_JUMP_TBL(0x25, IL_0025) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0025: { return; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::RemoveAt(System.Int32) extern "C" void SynchronizedArrayListWrapper_RemoveAt_m360088244 (SynchronizedArrayListWrapper_t3317806524 * __this, int32_t ___index0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_3 = ___index0; VirtActionInvoker1< int32_t >::Invoke(39 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_2, L_3); IL2CPP_LEAVE(0x25, FINALLY_001e); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001e; } FINALLY_001e: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(30) } // end finally (depth: 1) IL2CPP_CLEANUP(30) { IL2CPP_JUMP_TBL(0x25, IL_0025) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0025: { return; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::CopyTo(System.Array) extern "C" void SynchronizedArrayListWrapper_CopyTo_m595111834 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppArray * ___array0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppArray * L_3 = ___array0; VirtActionInvoker1< Il2CppArray * >::Invoke(40 /* System.Void System.Collections.ArrayList::CopyTo(System.Array) */, L_2, L_3); IL2CPP_LEAVE(0x25, FINALLY_001e); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001e; } FINALLY_001e: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(30) } // end finally (depth: 1) IL2CPP_CLEANUP(30) { IL2CPP_JUMP_TBL(0x25, IL_0025) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0025: { return; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::CopyTo(System.Array,System.Int32) extern "C" void SynchronizedArrayListWrapper_CopyTo_m3318520063 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppArray * ___array0, int32_t ___index1, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppArray * L_3 = ___array0; int32_t L_4 = ___index1; VirtActionInvoker2< Il2CppArray *, int32_t >::Invoke(41 /* System.Void System.Collections.ArrayList::CopyTo(System.Array,System.Int32) */, L_2, L_3, L_4); IL2CPP_LEAVE(0x26, FINALLY_001f); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001f; } FINALLY_001f: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(31) } // end finally (depth: 1) IL2CPP_CLEANUP(31) { IL2CPP_JUMP_TBL(0x26, IL_0026) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0026: { return; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::CopyTo(System.Int32,System.Array,System.Int32,System.Int32) extern "C" void SynchronizedArrayListWrapper_CopyTo_m956887031 (SynchronizedArrayListWrapper_t3317806524 * __this, int32_t ___index0, Il2CppArray * ___array1, int32_t ___arrayIndex2, int32_t ___count3, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); int32_t L_3 = ___index0; Il2CppArray * L_4 = ___array1; int32_t L_5 = ___arrayIndex2; int32_t L_6 = ___count3; VirtActionInvoker4< int32_t, Il2CppArray *, int32_t, int32_t >::Invoke(42 /* System.Void System.Collections.ArrayList::CopyTo(System.Int32,System.Array,System.Int32,System.Int32) */, L_2, L_3, L_4, L_5, L_6); IL2CPP_LEAVE(0x29, FINALLY_0022); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0022; } FINALLY_0022: { // begin finally (depth: 1) Il2CppObject * L_7 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_7, /*hidden argument*/NULL); IL2CPP_END_FINALLY(34) } // end finally (depth: 1) IL2CPP_CLEANUP(34) { IL2CPP_JUMP_TBL(0x29, IL_0029) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0029: { return; } } // System.Collections.IEnumerator System.Collections.ArrayList/SynchronizedArrayListWrapper::GetEnumerator() extern "C" Il2CppObject * SynchronizedArrayListWrapper_GetEnumerator_m692973670 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Il2CppObject * V_1 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_2); V_1 = L_3; IL2CPP_LEAVE(0x2A, FINALLY_0023); } IL_001e: { ; // IL_001e: leave IL_002a } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0023; } FINALLY_0023: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(35) } // end finally (depth: 1) IL2CPP_CLEANUP(35) { IL2CPP_JUMP_TBL(0x2A, IL_002a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002a: { Il2CppObject * L_5 = V_1; return L_5; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::AddRange(System.Collections.ICollection) extern "C" void SynchronizedArrayListWrapper_AddRange_m2255992171 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppObject * ___c0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = ___c0; VirtActionInvoker1< Il2CppObject * >::Invoke(44 /* System.Void System.Collections.ArrayList::AddRange(System.Collections.ICollection) */, L_2, L_3); IL2CPP_LEAVE(0x25, FINALLY_001e); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001e; } FINALLY_001e: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(30) } // end finally (depth: 1) IL2CPP_CLEANUP(30) { IL2CPP_JUMP_TBL(0x25, IL_0025) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0025: { return; } } // System.Object System.Collections.ArrayList/SynchronizedArrayListWrapper::Clone() extern "C" Il2CppObject * SynchronizedArrayListWrapper_Clone_m1647639600 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Il2CppObject * V_1 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = VirtFuncInvoker0< Il2CppObject * >::Invoke(49 /* System.Object System.Collections.ArrayList::Clone() */, L_2); V_1 = L_3; IL2CPP_LEAVE(0x2A, FINALLY_0023); } IL_001e: { ; // IL_001e: leave IL_002a } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0023; } FINALLY_0023: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(35) } // end finally (depth: 1) IL2CPP_CLEANUP(35) { IL2CPP_JUMP_TBL(0x2A, IL_002a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002a: { Il2CppObject * L_5 = V_1; return L_5; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::Sort() extern "C" void SynchronizedArrayListWrapper_Sort_m494386848 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); VirtActionInvoker0::Invoke(45 /* System.Void System.Collections.ArrayList::Sort() */, L_2); IL2CPP_LEAVE(0x24, FINALLY_001d); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001d; } FINALLY_001d: { // begin finally (depth: 1) Il2CppObject * L_3 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); IL2CPP_END_FINALLY(29) } // end finally (depth: 1) IL2CPP_CLEANUP(29) { IL2CPP_JUMP_TBL(0x24, IL_0024) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0024: { return; } } // System.Void System.Collections.ArrayList/SynchronizedArrayListWrapper::Sort(System.Collections.IComparer) extern "C" void SynchronizedArrayListWrapper_Sort_m2372779708 (SynchronizedArrayListWrapper_t3317806524 * __this, Il2CppObject * ___comparer0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Il2CppObject * L_3 = ___comparer0; VirtActionInvoker1< Il2CppObject * >::Invoke(46 /* System.Void System.Collections.ArrayList::Sort(System.Collections.IComparer) */, L_2, L_3); IL2CPP_LEAVE(0x25, FINALLY_001e); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_001e; } FINALLY_001e: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(30) } // end finally (depth: 1) IL2CPP_CLEANUP(30) { IL2CPP_JUMP_TBL(0x25, IL_0025) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0025: { return; } } // System.Object[] System.Collections.ArrayList/SynchronizedArrayListWrapper::ToArray() extern "C" ObjectU5BU5D_t3614634134* SynchronizedArrayListWrapper_ToArray_m1522185111 (SynchronizedArrayListWrapper_t3317806524 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; ObjectU5BU5D_t3614634134* V_1 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); ObjectU5BU5D_t3614634134* L_3 = VirtFuncInvoker0< ObjectU5BU5D_t3614634134* >::Invoke(47 /* System.Object[] System.Collections.ArrayList::ToArray() */, L_2); V_1 = L_3; IL2CPP_LEAVE(0x2A, FINALLY_0023); } IL_001e: { ; // IL_001e: leave IL_002a } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0023; } FINALLY_0023: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(35) } // end finally (depth: 1) IL2CPP_CLEANUP(35) { IL2CPP_JUMP_TBL(0x2A, IL_002a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002a: { ObjectU5BU5D_t3614634134* L_5 = V_1; return L_5; } } // System.Array System.Collections.ArrayList/SynchronizedArrayListWrapper::ToArray(System.Type) extern "C" Il2CppArray * SynchronizedArrayListWrapper_ToArray_m3788138664 (SynchronizedArrayListWrapper_t3317806524 * __this, Type_t * ___elementType0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Il2CppArray * V_1 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = __this->get_m_SyncRoot_6(); V_0 = L_0; Il2CppObject * L_1 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); } IL_000d: try { // begin try (depth: 1) { ArrayList_t4252133567 * L_2 = ((ArrayListWrapper_t3918858854 *)__this)->get_m_InnerArrayList_5(); Type_t * L_3 = ___elementType0; Il2CppArray * L_4 = VirtFuncInvoker1< Il2CppArray *, Type_t * >::Invoke(48 /* System.Array System.Collections.ArrayList::ToArray(System.Type) */, L_2, L_3); V_1 = L_4; IL2CPP_LEAVE(0x2B, FINALLY_0024); } IL_001f: { ; // IL_001f: leave IL_002b } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0024; } FINALLY_0024: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(36) } // end finally (depth: 1) IL2CPP_CLEANUP(36) { IL2CPP_JUMP_TBL(0x2B, IL_002b) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002b: { Il2CppArray * L_6 = V_1; return L_6; } } // System.Void System.Collections.BitArray::.ctor(System.Collections.BitArray) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3551627182; extern const uint32_t BitArray__ctor_m299314540_MetadataUsageId; extern "C" void BitArray__ctor_m299314540 (BitArray_t4180138994 * __this, BitArray_t4180138994 * ___bits0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitArray__ctor_m299314540_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); BitArray_t4180138994 * L_0 = ___bits0; if (L_0) { goto IL_0017; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3551627182, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0017: { BitArray_t4180138994 * L_2 = ___bits0; int32_t L_3 = L_2->get_m_length_1(); __this->set_m_length_1(L_3); int32_t L_4 = __this->get_m_length_1(); __this->set_m_array_0(((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_4+(int32_t)((int32_t)31)))/(int32_t)((int32_t)32)))))); Int32U5BU5D_t3030399641* L_5 = __this->get_m_array_0(); if ((!(((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_5)->max_length))))) == ((uint32_t)1)))) { goto IL_005d; } } { Int32U5BU5D_t3030399641* L_6 = __this->get_m_array_0(); BitArray_t4180138994 * L_7 = ___bits0; Int32U5BU5D_t3030399641* L_8 = L_7->get_m_array_0(); int32_t L_9 = 0; int32_t L_10 = (L_8)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9)); (L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)L_10); goto IL_0076; } IL_005d: { BitArray_t4180138994 * L_11 = ___bits0; Int32U5BU5D_t3030399641* L_12 = L_11->get_m_array_0(); Int32U5BU5D_t3030399641* L_13 = __this->get_m_array_0(); Int32U5BU5D_t3030399641* L_14 = __this->get_m_array_0(); Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_12, (Il2CppArray *)(Il2CppArray *)L_13, (((int32_t)((int32_t)(((Il2CppArray *)L_14)->max_length)))), /*hidden argument*/NULL); } IL_0076: { return; } } // System.Void System.Collections.BitArray::.ctor(System.Int32) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3438791774; extern const uint32_t BitArray__ctor_m2097456003_MetadataUsageId; extern "C" void BitArray__ctor_m2097456003 (BitArray_t4180138994 * __this, int32_t ___length0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitArray__ctor_m2097456003_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); int32_t L_0 = ___length0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_0018; } } { ArgumentOutOfRangeException_t279959794 * L_1 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_1, _stringLiteral3438791774, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0018: { int32_t L_2 = ___length0; __this->set_m_length_1(L_2); int32_t L_3 = __this->get_m_length_1(); __this->set_m_array_0(((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_3+(int32_t)((int32_t)31)))/(int32_t)((int32_t)32)))))); return; } } // System.Byte System.Collections.BitArray::getByte(System.Int32) extern "C" uint8_t BitArray_getByte_m3213953369 (BitArray_t4180138994 * __this, int32_t ___byteIndex0, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; { int32_t L_0 = ___byteIndex0; V_0 = ((int32_t)((int32_t)L_0/(int32_t)4)); int32_t L_1 = ___byteIndex0; V_1 = ((int32_t)((int32_t)((int32_t)((int32_t)L_1%(int32_t)4))*(int32_t)8)); Int32U5BU5D_t3030399641* L_2 = __this->get_m_array_0(); int32_t L_3 = V_0; int32_t L_4 = L_3; int32_t L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4)); int32_t L_6 = V_1; V_2 = ((int32_t)((int32_t)L_5&(int32_t)((int32_t)((int32_t)((int32_t)255)<<(int32_t)((int32_t)((int32_t)L_6&(int32_t)((int32_t)31))))))); int32_t L_7 = V_2; int32_t L_8 = V_1; return (((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_7>>(int32_t)((int32_t)((int32_t)L_8&(int32_t)((int32_t)31)))))&(int32_t)((int32_t)255)))))); } } // System.Int32 System.Collections.BitArray::get_Count() extern "C" int32_t BitArray_get_Count_m2234414662 (BitArray_t4180138994 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_length_1(); return L_0; } } // System.Boolean System.Collections.BitArray::get_IsSynchronized() extern "C" bool BitArray_get_IsSynchronized_m1008223827 (BitArray_t4180138994 * __this, const MethodInfo* method) { { return (bool)0; } } // System.Boolean System.Collections.BitArray::get_Item(System.Int32) extern "C" bool BitArray_get_Item_m3110014315 (BitArray_t4180138994 * __this, int32_t ___index0, const MethodInfo* method) { { int32_t L_0 = ___index0; bool L_1 = BitArray_Get_m659851701(__this, L_0, /*hidden argument*/NULL); return L_1; } } // System.Void System.Collections.BitArray::set_Item(System.Int32,System.Boolean) extern "C" void BitArray_set_Item_m3801461194 (BitArray_t4180138994 * __this, int32_t ___index0, bool ___value1, const MethodInfo* method) { { int32_t L_0 = ___index0; bool L_1 = ___value1; BitArray_Set_m2878881714(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Int32 System.Collections.BitArray::get_Length() extern "C" int32_t BitArray_get_Length_m496691485 (BitArray_t4180138994 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_length_1(); return L_0; } } // System.Object System.Collections.BitArray::get_SyncRoot() extern "C" Il2CppObject * BitArray_get_SyncRoot_m93225619 (BitArray_t4180138994 * __this, const MethodInfo* method) { { return __this; } } // System.Object System.Collections.BitArray::Clone() extern Il2CppClass* BitArray_t4180138994_il2cpp_TypeInfo_var; extern const uint32_t BitArray_Clone_m2745235396_MetadataUsageId; extern "C" Il2CppObject * BitArray_Clone_m2745235396 (BitArray_t4180138994 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitArray_Clone_m2745235396_MetadataUsageId); s_Il2CppMethodInitialized = true; } { BitArray_t4180138994 * L_0 = (BitArray_t4180138994 *)il2cpp_codegen_object_new(BitArray_t4180138994_il2cpp_TypeInfo_var); BitArray__ctor_m299314540(L_0, __this, /*hidden argument*/NULL); return L_0; } } // System.Void System.Collections.BitArray::CopyTo(System.Array,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* BooleanU5BU5D_t3568034315_il2cpp_TypeInfo_var; extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral1460639766; extern Il2CppCodeGenString* _stringLiteral537494366; extern Il2CppCodeGenString* _stringLiteral1131762556; extern Il2CppCodeGenString* _stringLiteral1993187969; extern const uint32_t BitArray_CopyTo_m2910588211_MetadataUsageId; extern "C" void BitArray_CopyTo_m2910588211 (BitArray_t4180138994 * __this, Il2CppArray * ___array0, int32_t ___index1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitArray_CopyTo_m2910588211_MetadataUsageId); s_Il2CppMethodInitialized = true; } BooleanU5BU5D_t3568034315* V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; ByteU5BU5D_t3397334013* V_3 = NULL; int32_t V_4 = 0; { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___index1; if ((((int32_t)L_2) >= ((int32_t)0))) { goto IL_0023; } } { ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_3, _stringLiteral1460639766, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppArray * L_4 = ___array0; int32_t L_5 = Array_get_Rank_m3837250695(L_4, /*hidden argument*/NULL); if ((((int32_t)L_5) == ((int32_t)1))) { goto IL_003f; } } { ArgumentException_t3259014390 * L_6 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_6, _stringLiteral1185213181, _stringLiteral537494366, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003f: { int32_t L_7 = ___index1; Il2CppArray * L_8 = ___array0; int32_t L_9 = Array_get_Length_m1498215565(L_8, /*hidden argument*/NULL); if ((((int32_t)L_7) < ((int32_t)L_9))) { goto IL_0067; } } { int32_t L_10 = __this->get_m_length_1(); if ((((int32_t)L_10) <= ((int32_t)0))) { goto IL_0067; } } { ArgumentException_t3259014390 * L_11 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_11, _stringLiteral1460639766, _stringLiteral1131762556, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_0067: { Il2CppArray * L_12 = ___array0; if (!((BooleanU5BU5D_t3568034315*)IsInst(L_12, BooleanU5BU5D_t3568034315_il2cpp_TypeInfo_var))) { goto IL_00ba; } } { Il2CppArray * L_13 = ___array0; int32_t L_14 = Array_get_Length_m1498215565(L_13, /*hidden argument*/NULL); int32_t L_15 = ___index1; int32_t L_16 = __this->get_m_length_1(); if ((((int32_t)((int32_t)((int32_t)L_14-(int32_t)L_15))) >= ((int32_t)L_16))) { goto IL_008b; } } { ArgumentException_t3259014390 * L_17 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m2105824819(L_17, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_17); } IL_008b: { Il2CppArray * L_18 = ___array0; V_0 = ((BooleanU5BU5D_t3568034315*)Castclass(L_18, BooleanU5BU5D_t3568034315_il2cpp_TypeInfo_var)); V_1 = 0; goto IL_00a9; } IL_0099: { BooleanU5BU5D_t3568034315* L_19 = V_0; int32_t L_20 = ___index1; int32_t L_21 = V_1; int32_t L_22 = V_1; bool L_23 = BitArray_get_Item_m3110014315(__this, L_22, /*hidden argument*/NULL); (L_19)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_20+(int32_t)L_21))), (bool)L_23); int32_t L_24 = V_1; V_1 = ((int32_t)((int32_t)L_24+(int32_t)1)); } IL_00a9: { int32_t L_25 = V_1; int32_t L_26 = __this->get_m_length_1(); if ((((int32_t)L_25) < ((int32_t)L_26))) { goto IL_0099; } } { goto IL_014e; } IL_00ba: { Il2CppArray * L_27 = ___array0; if (!((ByteU5BU5D_t3397334013*)IsInst(L_27, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var))) { goto IL_0114; } } { int32_t L_28 = __this->get_m_length_1(); V_2 = ((int32_t)((int32_t)((int32_t)((int32_t)L_28+(int32_t)7))/(int32_t)8)); Il2CppArray * L_29 = ___array0; int32_t L_30 = Array_get_Length_m1498215565(L_29, /*hidden argument*/NULL); int32_t L_31 = ___index1; int32_t L_32 = V_2; if ((((int32_t)((int32_t)((int32_t)L_30-(int32_t)L_31))) >= ((int32_t)L_32))) { goto IL_00e4; } } { ArgumentException_t3259014390 * L_33 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m2105824819(L_33, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_33); } IL_00e4: { Il2CppArray * L_34 = ___array0; V_3 = ((ByteU5BU5D_t3397334013*)Castclass(L_34, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var)); V_4 = 0; goto IL_0107; } IL_00f3: { ByteU5BU5D_t3397334013* L_35 = V_3; int32_t L_36 = ___index1; int32_t L_37 = V_4; int32_t L_38 = V_4; uint8_t L_39 = BitArray_getByte_m3213953369(__this, L_38, /*hidden argument*/NULL); (L_35)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_36+(int32_t)L_37))), (uint8_t)L_39); int32_t L_40 = V_4; V_4 = ((int32_t)((int32_t)L_40+(int32_t)1)); } IL_0107: { int32_t L_41 = V_4; int32_t L_42 = V_2; if ((((int32_t)L_41) < ((int32_t)L_42))) { goto IL_00f3; } } { goto IL_014e; } IL_0114: { Il2CppArray * L_43 = ___array0; if (!((Int32U5BU5D_t3030399641*)IsInst(L_43, Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var))) { goto IL_013e; } } { Int32U5BU5D_t3030399641* L_44 = __this->get_m_array_0(); Il2CppArray * L_45 = ___array0; int32_t L_46 = ___index1; int32_t L_47 = __this->get_m_length_1(); Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_44, 0, L_45, L_46, ((int32_t)((int32_t)((int32_t)((int32_t)L_47+(int32_t)((int32_t)31)))/(int32_t)((int32_t)32))), /*hidden argument*/NULL); goto IL_014e; } IL_013e: { ArgumentException_t3259014390 * L_48 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_48, _stringLiteral1185213181, _stringLiteral1993187969, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_48); } IL_014e: { return; } } // System.Boolean System.Collections.BitArray::Get(System.Int32) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern const uint32_t BitArray_Get_m659851701_MetadataUsageId; extern "C" bool BitArray_Get_m659851701 (BitArray_t4180138994 * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitArray_Get_m659851701_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___index0; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0013; } } { int32_t L_1 = ___index0; int32_t L_2 = __this->get_m_length_1(); if ((((int32_t)L_1) < ((int32_t)L_2))) { goto IL_0019; } } IL_0013: { ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_3, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0019: { Int32U5BU5D_t3030399641* L_4 = __this->get_m_array_0(); int32_t L_5 = ___index0; int32_t L_6 = ((int32_t)((int32_t)L_5>>(int32_t)5)); int32_t L_7 = (L_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6)); int32_t L_8 = ___index0; return (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_7&(int32_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_8&(int32_t)((int32_t)31)))&(int32_t)((int32_t)31)))))))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Void System.Collections.BitArray::Set(System.Int32,System.Boolean) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern const uint32_t BitArray_Set_m2878881714_MetadataUsageId; extern "C" void BitArray_Set_m2878881714 (BitArray_t4180138994 * __this, int32_t ___index0, bool ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitArray_Set_m2878881714_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___index0; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0013; } } { int32_t L_1 = ___index0; int32_t L_2 = __this->get_m_length_1(); if ((((int32_t)L_1) < ((int32_t)L_2))) { goto IL_0019; } } IL_0013: { ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_3, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0019: { bool L_4 = ___value1; if (!L_4) { goto IL_0042; } } { Int32U5BU5D_t3030399641* L_5 = __this->get_m_array_0(); int32_t L_6 = ___index0; int32_t* L_7 = ((L_5)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_6>>(int32_t)5))))); int32_t L_8 = ___index0; *((int32_t*)(L_7)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_7))|(int32_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_8&(int32_t)((int32_t)31)))&(int32_t)((int32_t)31)))&(int32_t)((int32_t)31))))))); goto IL_0061; } IL_0042: { Int32U5BU5D_t3030399641* L_9 = __this->get_m_array_0(); int32_t L_10 = ___index0; int32_t* L_11 = ((L_9)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_10>>(int32_t)5))))); int32_t L_12 = ___index0; *((int32_t*)(L_11)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_11))&(int32_t)((~((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_12&(int32_t)((int32_t)31)))&(int32_t)((int32_t)31)))&(int32_t)((int32_t)31))))))))); } IL_0061: { int32_t L_13 = __this->get__version_2(); __this->set__version_2(((int32_t)((int32_t)L_13+(int32_t)1))); return; } } // System.Collections.IEnumerator System.Collections.BitArray::GetEnumerator() extern Il2CppClass* BitArrayEnumerator_t4029388769_il2cpp_TypeInfo_var; extern const uint32_t BitArray_GetEnumerator_m3178154410_MetadataUsageId; extern "C" Il2CppObject * BitArray_GetEnumerator_m3178154410 (BitArray_t4180138994 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitArray_GetEnumerator_m3178154410_MetadataUsageId); s_Il2CppMethodInitialized = true; } { BitArrayEnumerator_t4029388769 * L_0 = (BitArrayEnumerator_t4029388769 *)il2cpp_codegen_object_new(BitArrayEnumerator_t4029388769_il2cpp_TypeInfo_var); BitArrayEnumerator__ctor_m1038059037(L_0, __this, /*hidden argument*/NULL); return L_0; } } // System.Void System.Collections.BitArray/BitArrayEnumerator::.ctor(System.Collections.BitArray) extern "C" void BitArrayEnumerator__ctor_m1038059037 (BitArrayEnumerator_t4029388769 * __this, BitArray_t4180138994 * ___ba0, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); __this->set__index_2((-1)); BitArray_t4180138994 * L_0 = ___ba0; __this->set__bitArray_0(L_0); BitArray_t4180138994 * L_1 = ___ba0; int32_t L_2 = L_1->get__version_2(); __this->set__version_3(L_2); return; } } // System.Object System.Collections.BitArray/BitArrayEnumerator::Clone() extern "C" Il2CppObject * BitArrayEnumerator_Clone_m1398833009 (BitArrayEnumerator_t4029388769 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = Object_MemberwiseClone_m2655589444(__this, /*hidden argument*/NULL); return L_0; } } // System.Object System.Collections.BitArray/BitArrayEnumerator::get_Current() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2147786703; extern Il2CppCodeGenString* _stringLiteral1733029197; extern const uint32_t BitArrayEnumerator_get_Current_m1454933678_MetadataUsageId; extern "C" Il2CppObject * BitArrayEnumerator_get_Current_m1454933678 (BitArrayEnumerator_t4029388769 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitArrayEnumerator_get_Current_m1454933678_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get__index_2(); if ((!(((uint32_t)L_0) == ((uint32_t)(-1))))) { goto IL_0017; } } { InvalidOperationException_t721527559 * L_1 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_1, _stringLiteral2147786703, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0017: { int32_t L_2 = __this->get__index_2(); BitArray_t4180138994 * L_3 = __this->get__bitArray_0(); int32_t L_4 = BitArray_get_Count_m2234414662(L_3, /*hidden argument*/NULL); if ((((int32_t)L_2) < ((int32_t)L_4))) { goto IL_0038; } } { InvalidOperationException_t721527559 * L_5 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_5, _stringLiteral1733029197, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0038: { bool L_6 = __this->get__current_1(); bool L_7 = L_6; Il2CppObject * L_8 = Box(Boolean_t3825574718_il2cpp_TypeInfo_var, &L_7); return L_8; } } // System.Boolean System.Collections.BitArray/BitArrayEnumerator::MoveNext() extern "C" bool BitArrayEnumerator_MoveNext_m4010224981 (BitArrayEnumerator_t4029388769 * __this, const MethodInfo* method) { int32_t V_0 = 0; { BitArrayEnumerator_checkVersion_m3839504595(__this, /*hidden argument*/NULL); int32_t L_0 = __this->get__index_2(); BitArray_t4180138994 * L_1 = __this->get__bitArray_0(); int32_t L_2 = BitArray_get_Count_m2234414662(L_1, /*hidden argument*/NULL); if ((((int32_t)L_0) >= ((int32_t)((int32_t)((int32_t)L_2-(int32_t)1))))) { goto IL_0042; } } { BitArray_t4180138994 * L_3 = __this->get__bitArray_0(); int32_t L_4 = __this->get__index_2(); int32_t L_5 = ((int32_t)((int32_t)L_4+(int32_t)1)); V_0 = L_5; __this->set__index_2(L_5); int32_t L_6 = V_0; bool L_7 = BitArray_get_Item_m3110014315(L_3, L_6, /*hidden argument*/NULL); __this->set__current_1(L_7); return (bool)1; } IL_0042: { BitArray_t4180138994 * L_8 = __this->get__bitArray_0(); int32_t L_9 = BitArray_get_Count_m2234414662(L_8, /*hidden argument*/NULL); __this->set__index_2(L_9); return (bool)0; } } // System.Void System.Collections.BitArray/BitArrayEnumerator::Reset() extern "C" void BitArrayEnumerator_Reset_m3218489242 (BitArrayEnumerator_t4029388769 * __this, const MethodInfo* method) { { BitArrayEnumerator_checkVersion_m3839504595(__this, /*hidden argument*/NULL); __this->set__index_2((-1)); return; } } // System.Void System.Collections.BitArray/BitArrayEnumerator::checkVersion() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t BitArrayEnumerator_checkVersion_m3839504595_MetadataUsageId; extern "C" void BitArrayEnumerator_checkVersion_m3839504595 (BitArrayEnumerator_t4029388769 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (BitArrayEnumerator_checkVersion_m3839504595_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get__version_3(); BitArray_t4180138994 * L_1 = __this->get__bitArray_0(); int32_t L_2 = L_1->get__version_2(); if ((((int32_t)L_0) == ((int32_t)L_2))) { goto IL_001c; } } { InvalidOperationException_t721527559 * L_3 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_3, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_001c: { return; } } // System.Void System.Collections.CaseInsensitiveComparer::.ctor() extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t CaseInsensitiveComparer__ctor_m927994666_MetadataUsageId; extern "C" void CaseInsensitiveComparer__ctor_m927994666 (CaseInsensitiveComparer_t157661140 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveComparer__ctor_m927994666_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_0 = CultureInfo_get_CurrentCulture_m711066087(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_culture_2(L_0); return; } } // System.Void System.Collections.CaseInsensitiveComparer::.ctor(System.Boolean) extern "C" void CaseInsensitiveComparer__ctor_m1125492797 (CaseInsensitiveComparer_t157661140 * __this, bool ___invariant0, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Void System.Collections.CaseInsensitiveComparer::.cctor() extern Il2CppClass* CaseInsensitiveComparer_t157661140_il2cpp_TypeInfo_var; extern const uint32_t CaseInsensitiveComparer__cctor_m737656501_MetadataUsageId; extern "C" void CaseInsensitiveComparer__cctor_m737656501 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveComparer__cctor_m737656501_MetadataUsageId); s_Il2CppMethodInitialized = true; } { CaseInsensitiveComparer_t157661140 * L_0 = (CaseInsensitiveComparer_t157661140 *)il2cpp_codegen_object_new(CaseInsensitiveComparer_t157661140_il2cpp_TypeInfo_var); CaseInsensitiveComparer__ctor_m927994666(L_0, /*hidden argument*/NULL); ((CaseInsensitiveComparer_t157661140_StaticFields*)CaseInsensitiveComparer_t157661140_il2cpp_TypeInfo_var->static_fields)->set_defaultComparer_0(L_0); CaseInsensitiveComparer_t157661140 * L_1 = (CaseInsensitiveComparer_t157661140 *)il2cpp_codegen_object_new(CaseInsensitiveComparer_t157661140_il2cpp_TypeInfo_var); CaseInsensitiveComparer__ctor_m1125492797(L_1, (bool)1, /*hidden argument*/NULL); ((CaseInsensitiveComparer_t157661140_StaticFields*)CaseInsensitiveComparer_t157661140_il2cpp_TypeInfo_var->static_fields)->set_defaultInvariantComparer_1(L_1); return; } } // System.Collections.CaseInsensitiveComparer System.Collections.CaseInsensitiveComparer::get_DefaultInvariant() extern Il2CppClass* CaseInsensitiveComparer_t157661140_il2cpp_TypeInfo_var; extern const uint32_t CaseInsensitiveComparer_get_DefaultInvariant_m93592233_MetadataUsageId; extern "C" CaseInsensitiveComparer_t157661140 * CaseInsensitiveComparer_get_DefaultInvariant_m93592233 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveComparer_get_DefaultInvariant_m93592233_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CaseInsensitiveComparer_t157661140_il2cpp_TypeInfo_var); CaseInsensitiveComparer_t157661140 * L_0 = ((CaseInsensitiveComparer_t157661140_StaticFields*)CaseInsensitiveComparer_t157661140_il2cpp_TypeInfo_var->static_fields)->get_defaultInvariantComparer_1(); return L_0; } } // System.Int32 System.Collections.CaseInsensitiveComparer::Compare(System.Object,System.Object) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* Comparer_t3673668605_il2cpp_TypeInfo_var; extern const uint32_t CaseInsensitiveComparer_Compare_m1192858479_MetadataUsageId; extern "C" int32_t CaseInsensitiveComparer_Compare_m1192858479 (CaseInsensitiveComparer_t157661140 * __this, Il2CppObject * ___a0, Il2CppObject * ___b1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveComparer_Compare_m1192858479_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; String_t* V_1 = NULL; { Il2CppObject * L_0 = ___a0; V_0 = ((String_t*)IsInstSealed(L_0, String_t_il2cpp_TypeInfo_var)); Il2CppObject * L_1 = ___b1; V_1 = ((String_t*)IsInstSealed(L_1, String_t_il2cpp_TypeInfo_var)); String_t* L_2 = V_0; if (!L_2) { goto IL_004c; } } { String_t* L_3 = V_1; if (!L_3) { goto IL_004c; } } { CultureInfo_t3500843524 * L_4 = __this->get_culture_2(); if (!L_4) { goto IL_0039; } } { CultureInfo_t3500843524 * L_5 = __this->get_culture_2(); CompareInfo_t2310920157 * L_6 = VirtFuncInvoker0< CompareInfo_t2310920157 * >::Invoke(11 /* System.Globalization.CompareInfo System.Globalization.CultureInfo::get_CompareInfo() */, L_5); String_t* L_7 = V_0; String_t* L_8 = V_1; int32_t L_9 = VirtFuncInvoker3< int32_t, String_t*, String_t*, int32_t >::Invoke(6 /* System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.String,System.Globalization.CompareOptions) */, L_6, L_7, L_8, 1); return L_9; } IL_0039: { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_10 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); CompareInfo_t2310920157 * L_11 = VirtFuncInvoker0< CompareInfo_t2310920157 * >::Invoke(11 /* System.Globalization.CompareInfo System.Globalization.CultureInfo::get_CompareInfo() */, L_10); String_t* L_12 = V_0; String_t* L_13 = V_1; int32_t L_14 = VirtFuncInvoker3< int32_t, String_t*, String_t*, int32_t >::Invoke(6 /* System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.String,System.Globalization.CompareOptions) */, L_11, L_12, L_13, 1); return L_14; } IL_004c: { IL2CPP_RUNTIME_CLASS_INIT(Comparer_t3673668605_il2cpp_TypeInfo_var); Comparer_t3673668605 * L_15 = ((Comparer_t3673668605_StaticFields*)Comparer_t3673668605_il2cpp_TypeInfo_var->static_fields)->get_Default_0(); Il2CppObject * L_16 = ___a0; Il2CppObject * L_17 = ___b1; int32_t L_18 = Comparer_Compare_m4132969818(L_15, L_16, L_17, /*hidden argument*/NULL); return L_18; } } // System.Void System.Collections.CaseInsensitiveHashCodeProvider::.ctor() extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var; extern const uint32_t CaseInsensitiveHashCodeProvider__ctor_m3775398833_MetadataUsageId; extern "C" void CaseInsensitiveHashCodeProvider__ctor_m3775398833 (CaseInsensitiveHashCodeProvider_t2307530285 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveHashCodeProvider__ctor_m3775398833_MetadataUsageId); s_Il2CppMethodInitialized = true; } CultureInfo_t3500843524 * V_0 = NULL; { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_0 = CultureInfo_get_CurrentCulture_m711066087(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_0; CultureInfo_t3500843524 * L_1 = V_0; CultureInfo_t3500843524 * L_2 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var); bool L_3 = CaseInsensitiveHashCodeProvider_AreEqual_m2456617355(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); if (L_3) { goto IL_002c; } } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_4 = CultureInfo_get_CurrentCulture_m711066087(NULL /*static, unused*/, /*hidden argument*/NULL); TextInfo_t3620182823 * L_5 = VirtFuncInvoker0< TextInfo_t3620182823 * >::Invoke(9 /* System.Globalization.TextInfo System.Globalization.CultureInfo::get_TextInfo() */, L_4); __this->set_m_text_2(L_5); } IL_002c: { return; } } // System.Void System.Collections.CaseInsensitiveHashCodeProvider::.ctor(System.Globalization.CultureInfo) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1206263880; extern const uint32_t CaseInsensitiveHashCodeProvider__ctor_m2400899367_MetadataUsageId; extern "C" void CaseInsensitiveHashCodeProvider__ctor_m2400899367 (CaseInsensitiveHashCodeProvider_t2307530285 * __this, CultureInfo_t3500843524 * ___culture0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveHashCodeProvider__ctor_m2400899367_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); CultureInfo_t3500843524 * L_0 = ___culture0; if (L_0) { goto IL_0017; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1206263880, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0017: { CultureInfo_t3500843524 * L_2 = ___culture0; IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_3 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var); bool L_4 = CaseInsensitiveHashCodeProvider_AreEqual_m2456617355(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); if (L_4) { goto IL_0033; } } { CultureInfo_t3500843524 * L_5 = ___culture0; TextInfo_t3620182823 * L_6 = VirtFuncInvoker0< TextInfo_t3620182823 * >::Invoke(9 /* System.Globalization.TextInfo System.Globalization.CultureInfo::get_TextInfo() */, L_5); __this->set_m_text_2(L_6); } IL_0033: { return; } } // System.Void System.Collections.CaseInsensitiveHashCodeProvider::.cctor() extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var; extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern const uint32_t CaseInsensitiveHashCodeProvider__cctor_m2638678306_MetadataUsageId; extern "C" void CaseInsensitiveHashCodeProvider__cctor_m2638678306 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveHashCodeProvider__cctor_m2638678306_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_0 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); CaseInsensitiveHashCodeProvider_t2307530285 * L_1 = (CaseInsensitiveHashCodeProvider_t2307530285 *)il2cpp_codegen_object_new(CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var); CaseInsensitiveHashCodeProvider__ctor_m2400899367(L_1, L_0, /*hidden argument*/NULL); ((CaseInsensitiveHashCodeProvider_t2307530285_StaticFields*)CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var->static_fields)->set_singletonInvariant_0(L_1); Il2CppObject * L_2 = (Il2CppObject *)il2cpp_codegen_object_new(Il2CppObject_il2cpp_TypeInfo_var); Object__ctor_m2551263788(L_2, /*hidden argument*/NULL); ((CaseInsensitiveHashCodeProvider_t2307530285_StaticFields*)CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var->static_fields)->set_sync_1(L_2); return; } } // System.Boolean System.Collections.CaseInsensitiveHashCodeProvider::AreEqual(System.Globalization.CultureInfo,System.Globalization.CultureInfo) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t CaseInsensitiveHashCodeProvider_AreEqual_m2456617355_MetadataUsageId; extern "C" bool CaseInsensitiveHashCodeProvider_AreEqual_m2456617355 (Il2CppObject * __this /* static, unused */, CultureInfo_t3500843524 * ___a0, CultureInfo_t3500843524 * ___b1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveHashCodeProvider_AreEqual_m2456617355_MetadataUsageId); s_Il2CppMethodInitialized = true; } { CultureInfo_t3500843524 * L_0 = ___a0; String_t* L_1 = VirtFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Globalization.CultureInfo::get_Name() */, L_0); CultureInfo_t3500843524 * L_2 = ___b1; String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Globalization.CultureInfo::get_Name() */, L_2); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_4 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_1, L_3, /*hidden argument*/NULL); return L_4; } } // System.Boolean System.Collections.CaseInsensitiveHashCodeProvider::AreEqual(System.Globalization.TextInfo,System.Globalization.CultureInfo) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t CaseInsensitiveHashCodeProvider_AreEqual_m3167652312_MetadataUsageId; extern "C" bool CaseInsensitiveHashCodeProvider_AreEqual_m3167652312 (Il2CppObject * __this /* static, unused */, TextInfo_t3620182823 * ___info0, CultureInfo_t3500843524 * ___culture1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveHashCodeProvider_AreEqual_m3167652312_MetadataUsageId); s_Il2CppMethodInitialized = true; } { TextInfo_t3620182823 * L_0 = ___info0; String_t* L_1 = TextInfo_get_CultureName_m1675775132(L_0, /*hidden argument*/NULL); CultureInfo_t3500843524 * L_2 = ___culture1; String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Globalization.CultureInfo::get_Name() */, L_2); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_4 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_1, L_3, /*hidden argument*/NULL); return L_4; } } // System.Collections.CaseInsensitiveHashCodeProvider System.Collections.CaseInsensitiveHashCodeProvider::get_DefaultInvariant() extern Il2CppClass* CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var; extern const uint32_t CaseInsensitiveHashCodeProvider_get_DefaultInvariant_m1293455465_MetadataUsageId; extern "C" CaseInsensitiveHashCodeProvider_t2307530285 * CaseInsensitiveHashCodeProvider_get_DefaultInvariant_m1293455465 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveHashCodeProvider_get_DefaultInvariant_m1293455465_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var); CaseInsensitiveHashCodeProvider_t2307530285 * L_0 = ((CaseInsensitiveHashCodeProvider_t2307530285_StaticFields*)CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var->static_fields)->get_singletonInvariant_0(); return L_0; } } // System.Int32 System.Collections.CaseInsensitiveHashCodeProvider::GetHashCode(System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1099314147; extern const uint32_t CaseInsensitiveHashCodeProvider_GetHashCode_m3726312478_MetadataUsageId; extern "C" int32_t CaseInsensitiveHashCodeProvider_GetHashCode_m3726312478 (CaseInsensitiveHashCodeProvider_t2307530285 * __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CaseInsensitiveHashCodeProvider_GetHashCode_m3726312478_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; int32_t V_1 = 0; Il2CppChar V_2 = 0x0; int32_t V_3 = 0; int32_t V_4 = 0; { Il2CppObject * L_0 = ___obj0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1099314147, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppObject * L_2 = ___obj0; V_0 = ((String_t*)IsInstSealed(L_2, String_t_il2cpp_TypeInfo_var)); String_t* L_3 = V_0; if (L_3) { goto IL_0025; } } { Il2CppObject * L_4 = ___obj0; int32_t L_5 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_4); return L_5; } IL_0025: { V_1 = 0; TextInfo_t3620182823 * L_6 = __this->get_m_text_2(); if (!L_6) { goto IL_007f; } } { TextInfo_t3620182823 * L_7 = __this->get_m_text_2(); IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_8 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(CaseInsensitiveHashCodeProvider_t2307530285_il2cpp_TypeInfo_var); bool L_9 = CaseInsensitiveHashCodeProvider_AreEqual_m3167652312(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL); if (L_9) { goto IL_007f; } } { TextInfo_t3620182823 * L_10 = __this->get_m_text_2(); String_t* L_11 = V_0; String_t* L_12 = VirtFuncInvoker1< String_t*, String_t* >::Invoke(9 /* System.String System.Globalization.TextInfo::ToLower(System.String) */, L_10, L_11); V_0 = L_12; V_3 = 0; goto IL_006e; } IL_005b: { String_t* L_13 = V_0; int32_t L_14 = V_3; Il2CppChar L_15 = String_get_Chars_m4230566705(L_13, L_14, /*hidden argument*/NULL); V_2 = L_15; int32_t L_16 = V_1; Il2CppChar L_17 = V_2; V_1 = ((int32_t)((int32_t)((int32_t)((int32_t)L_16*(int32_t)((int32_t)31)))+(int32_t)L_17)); int32_t L_18 = V_3; V_3 = ((int32_t)((int32_t)L_18+(int32_t)1)); } IL_006e: { int32_t L_19 = V_3; String_t* L_20 = V_0; int32_t L_21 = String_get_Length_m1606060069(L_20, /*hidden argument*/NULL); if ((((int32_t)L_19) < ((int32_t)L_21))) { goto IL_005b; } } { goto IL_00b4; } IL_007f: { V_4 = 0; goto IL_00a7; } IL_0087: { String_t* L_22 = V_0; int32_t L_23 = V_4; Il2CppChar L_24 = String_get_Chars_m4230566705(L_22, L_23, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_25 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); Il2CppChar L_26 = Char_ToLower_m3456131102(NULL /*static, unused*/, L_24, L_25, /*hidden argument*/NULL); V_2 = L_26; int32_t L_27 = V_1; Il2CppChar L_28 = V_2; V_1 = ((int32_t)((int32_t)((int32_t)((int32_t)L_27*(int32_t)((int32_t)31)))+(int32_t)L_28)); int32_t L_29 = V_4; V_4 = ((int32_t)((int32_t)L_29+(int32_t)1)); } IL_00a7: { int32_t L_30 = V_4; String_t* L_31 = V_0; int32_t L_32 = String_get_Length_m1606060069(L_31, /*hidden argument*/NULL); if ((((int32_t)L_30) < ((int32_t)L_32))) { goto IL_0087; } } IL_00b4: { int32_t L_33 = V_1; return L_33; } } // System.Void System.Collections.CollectionBase::.ctor() extern "C" void CollectionBase__ctor_m2525885291 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Void System.Collections.CollectionBase::System.Collections.ICollection.CopyTo(System.Array,System.Int32) extern "C" void CollectionBase_System_Collections_ICollection_CopyTo_m92374031 (CollectionBase_t1101587467 * __this, Il2CppArray * ___array0, int32_t ___index1, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); Il2CppArray * L_1 = ___array0; int32_t L_2 = ___index1; VirtActionInvoker2< Il2CppArray *, int32_t >::Invoke(41 /* System.Void System.Collections.ArrayList::CopyTo(System.Array,System.Int32) */, L_0, L_1, L_2); return; } } // System.Object System.Collections.CollectionBase::System.Collections.ICollection.get_SyncRoot() extern "C" Il2CppObject * CollectionBase_System_Collections_ICollection_get_SyncRoot_m3858827859 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(29 /* System.Object System.Collections.ArrayList::get_SyncRoot() */, L_0); return L_1; } } // System.Boolean System.Collections.CollectionBase::System.Collections.ICollection.get_IsSynchronized() extern "C" bool CollectionBase_System_Collections_ICollection_get_IsSynchronized_m1494316047 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); bool L_1 = VirtFuncInvoker0< bool >::Invoke(28 /* System.Boolean System.Collections.ArrayList::get_IsSynchronized() */, L_0); return L_1; } } // System.Int32 System.Collections.CollectionBase::System.Collections.IList.Add(System.Object) extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern const uint32_t CollectionBase_System_Collections_IList_Add_m2327469271_MetadataUsageId; extern "C" int32_t CollectionBase_System_Collections_IList_Add_m2327469271 (CollectionBase_t1101587467 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CollectionBase_System_Collections_IList_Add_m2327469271_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = ___value0; VirtActionInvoker1< Il2CppObject * >::Invoke(28 /* System.Void System.Collections.CollectionBase::OnValidate(System.Object) */, __this, L_0); ArrayList_t4252133567 * L_1 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_1); V_0 = L_2; int32_t L_3 = V_0; Il2CppObject * L_4 = ___value0; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(22 /* System.Void System.Collections.CollectionBase::OnInsert(System.Int32,System.Object) */, __this, L_3, L_4); ArrayList_t4252133567 * L_5 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); Il2CppObject * L_6 = ___value0; VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_5, L_6); } IL_0028: try { // begin try (depth: 1) int32_t L_7 = V_0; Il2CppObject * L_8 = ___value0; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(23 /* System.Void System.Collections.CollectionBase::OnInsertComplete(System.Int32,System.Object) */, __this, L_7, L_8); goto IL_0049; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0035; throw e; } CATCH_0035: { // begin catch(System.Object) { ArrayList_t4252133567 * L_9 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_10 = V_0; VirtActionInvoker1< int32_t >::Invoke(39 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_9, L_10); IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local); } IL_0044: { goto IL_0049; } } // end catch (depth: 1) IL_0049: { int32_t L_11 = V_0; return L_11; } } // System.Boolean System.Collections.CollectionBase::System.Collections.IList.Contains(System.Object) extern "C" bool CollectionBase_System_Collections_IList_Contains_m1719143127 (CollectionBase_t1101587467 * __this, Il2CppObject * ___value0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___value0; bool L_2 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(32 /* System.Boolean System.Collections.ArrayList::Contains(System.Object) */, L_0, L_1); return L_2; } } // System.Int32 System.Collections.CollectionBase::System.Collections.IList.IndexOf(System.Object) extern "C" int32_t CollectionBase_System_Collections_IList_IndexOf_m641329609 (CollectionBase_t1101587467 * __this, Il2CppObject * ___value0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___value0; int32_t L_2 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(33 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object) */, L_0, L_1); return L_2; } } // System.Void System.Collections.CollectionBase::System.Collections.IList.Insert(System.Int32,System.Object) extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern const uint32_t CollectionBase_System_Collections_IList_Insert_m2461606092_MetadataUsageId; extern "C" void CollectionBase_System_Collections_IList_Insert_m2461606092 (CollectionBase_t1101587467 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CollectionBase_System_Collections_IList_Insert_m2461606092_MetadataUsageId); s_Il2CppMethodInitialized = true; } Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = ___value1; VirtActionInvoker1< Il2CppObject * >::Invoke(28 /* System.Void System.Collections.CollectionBase::OnValidate(System.Object) */, __this, L_0); int32_t L_1 = ___index0; Il2CppObject * L_2 = ___value1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(22 /* System.Void System.Collections.CollectionBase::OnInsert(System.Int32,System.Object) */, __this, L_1, L_2); ArrayList_t4252133567 * L_3 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_4 = ___index0; Il2CppObject * L_5 = ___value1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(36 /* System.Void System.Collections.ArrayList::Insert(System.Int32,System.Object) */, L_3, L_4, L_5); } IL_001c: try { // begin try (depth: 1) int32_t L_6 = ___index0; Il2CppObject * L_7 = ___value1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(23 /* System.Void System.Collections.CollectionBase::OnInsertComplete(System.Int32,System.Object) */, __this, L_6, L_7); goto IL_003d; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0029; throw e; } CATCH_0029: { // begin catch(System.Object) { ArrayList_t4252133567 * L_8 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_9 = ___index0; VirtActionInvoker1< int32_t >::Invoke(39 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_8, L_9); IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local); } IL_0038: { goto IL_003d; } } // end catch (depth: 1) IL_003d: { return; } } // System.Void System.Collections.CollectionBase::System.Collections.IList.Remove(System.Object) extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1371143737; extern Il2CppCodeGenString* _stringLiteral1803325615; extern const uint32_t CollectionBase_System_Collections_IList_Remove_m2931078938_MetadataUsageId; extern "C" void CollectionBase_System_Collections_IList_Remove_m2931078938 (CollectionBase_t1101587467 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CollectionBase_System_Collections_IList_Remove_m2931078938_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { Il2CppObject * L_0 = ___value0; VirtActionInvoker1< Il2CppObject * >::Invoke(28 /* System.Void System.Collections.CollectionBase::OnValidate(System.Object) */, __this, L_0); ArrayList_t4252133567 * L_1 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); Il2CppObject * L_2 = ___value0; int32_t L_3 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(33 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object) */, L_1, L_2); V_0 = L_3; int32_t L_4 = V_0; if ((!(((uint32_t)L_4) == ((uint32_t)(-1))))) { goto IL_002b; } } { ArgumentException_t3259014390 * L_5 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_5, _stringLiteral1371143737, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002b: { int32_t L_6 = V_0; Il2CppObject * L_7 = ___value0; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(24 /* System.Void System.Collections.CollectionBase::OnRemove(System.Int32,System.Object) */, __this, L_6, L_7); ArrayList_t4252133567 * L_8 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); Il2CppObject * L_9 = ___value0; VirtActionInvoker1< Il2CppObject * >::Invoke(38 /* System.Void System.Collections.ArrayList::Remove(System.Object) */, L_8, L_9); int32_t L_10 = V_0; Il2CppObject * L_11 = ___value0; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(25 /* System.Void System.Collections.CollectionBase::OnRemoveComplete(System.Int32,System.Object) */, __this, L_10, L_11); return; } } // System.Boolean System.Collections.CollectionBase::System.Collections.IList.get_IsFixedSize() extern "C" bool CollectionBase_System_Collections_IList_get_IsFixedSize_m499578880 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); bool L_1 = VirtFuncInvoker0< bool >::Invoke(26 /* System.Boolean System.Collections.ArrayList::get_IsFixedSize() */, L_0); return L_1; } } // System.Boolean System.Collections.CollectionBase::System.Collections.IList.get_IsReadOnly() extern "C" bool CollectionBase_System_Collections_IList_get_IsReadOnly_m2883787483 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); bool L_1 = VirtFuncInvoker0< bool >::Invoke(27 /* System.Boolean System.Collections.ArrayList::get_IsReadOnly() */, L_0); return L_1; } } // System.Object System.Collections.CollectionBase::System.Collections.IList.get_Item(System.Int32) extern "C" Il2CppObject * CollectionBase_System_Collections_IList_get_Item_m2370387510 (CollectionBase_t1101587467 * __this, int32_t ___index0, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_1 = ___index0; Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1); return L_2; } } // System.Void System.Collections.CollectionBase::System.Collections.IList.set_Item(System.Int32,System.Object) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1460639766; extern const uint32_t CollectionBase_System_Collections_IList_set_Item_m1798990861_MetadataUsageId; extern "C" void CollectionBase_System_Collections_IList_set_Item_m1798990861 (CollectionBase_t1101587467 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CollectionBase_System_Collections_IList_set_Item_m1798990861_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { int32_t L_0 = ___index0; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0018; } } { int32_t L_1 = ___index0; ArrayList_t4252133567 * L_2 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_2); if ((((int32_t)L_1) < ((int32_t)L_3))) { goto IL_0023; } } IL_0018: { ArgumentOutOfRangeException_t279959794 * L_4 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_4, _stringLiteral1460639766, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0023: { Il2CppObject * L_5 = ___value1; VirtActionInvoker1< Il2CppObject * >::Invoke(28 /* System.Void System.Collections.CollectionBase::OnValidate(System.Object) */, __this, L_5); ArrayList_t4252133567 * L_6 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_7 = ___index0; Il2CppObject * L_8 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_6, L_7); V_0 = L_8; int32_t L_9 = ___index0; Il2CppObject * L_10 = V_0; Il2CppObject * L_11 = ___value1; VirtActionInvoker3< int32_t, Il2CppObject *, Il2CppObject * >::Invoke(26 /* System.Void System.Collections.CollectionBase::OnSet(System.Int32,System.Object,System.Object) */, __this, L_9, L_10, L_11); ArrayList_t4252133567 * L_12 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_13 = ___index0; Il2CppObject * L_14 = ___value1; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(22 /* System.Void System.Collections.ArrayList::set_Item(System.Int32,System.Object) */, L_12, L_13, L_14); } IL_004d: try { // begin try (depth: 1) int32_t L_15 = ___index0; Il2CppObject * L_16 = V_0; Il2CppObject * L_17 = ___value1; VirtActionInvoker3< int32_t, Il2CppObject *, Il2CppObject * >::Invoke(27 /* System.Void System.Collections.CollectionBase::OnSetComplete(System.Int32,System.Object,System.Object) */, __this, L_15, L_16, L_17); goto IL_0070; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_005b; throw e; } CATCH_005b: { // begin catch(System.Object) { ArrayList_t4252133567 * L_18 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_19 = ___index0; Il2CppObject * L_20 = V_0; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(22 /* System.Void System.Collections.ArrayList::set_Item(System.Int32,System.Object) */, L_18, L_19, L_20); IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local); } IL_006b: { goto IL_0070; } } // end catch (depth: 1) IL_0070: { return; } } // System.Int32 System.Collections.CollectionBase::get_Count() extern "C" int32_t CollectionBase_get_Count_m740218359 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_0); return L_1; } } // System.Collections.IEnumerator System.Collections.CollectionBase::GetEnumerator() extern "C" Il2CppObject * CollectionBase_GetEnumerator_m1161625307 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_0); return L_1; } } // System.Void System.Collections.CollectionBase::Clear() extern "C" void CollectionBase_Clear_m4223862684 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { VirtActionInvoker0::Invoke(20 /* System.Void System.Collections.CollectionBase::OnClear() */, __this); ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); VirtActionInvoker0::Invoke(31 /* System.Void System.Collections.ArrayList::Clear() */, L_0); VirtActionInvoker0::Invoke(21 /* System.Void System.Collections.CollectionBase::OnClearComplete() */, __this); return; } } // System.Void System.Collections.CollectionBase::RemoveAt(System.Int32) extern "C" void CollectionBase_RemoveAt_m421234629 (CollectionBase_t1101587467 * __this, int32_t ___index0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; { ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_1 = ___index0; Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1); V_0 = L_2; Il2CppObject * L_3 = V_0; VirtActionInvoker1< Il2CppObject * >::Invoke(28 /* System.Void System.Collections.CollectionBase::OnValidate(System.Object) */, __this, L_3); int32_t L_4 = ___index0; Il2CppObject * L_5 = V_0; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(24 /* System.Void System.Collections.CollectionBase::OnRemove(System.Int32,System.Object) */, __this, L_4, L_5); ArrayList_t4252133567 * L_6 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL); int32_t L_7 = ___index0; VirtActionInvoker1< int32_t >::Invoke(39 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_6, L_7); int32_t L_8 = ___index0; Il2CppObject * L_9 = V_0; VirtActionInvoker2< int32_t, Il2CppObject * >::Invoke(25 /* System.Void System.Collections.CollectionBase::OnRemoveComplete(System.Int32,System.Object) */, __this, L_8, L_9); return; } } // System.Collections.ArrayList System.Collections.CollectionBase::get_InnerList() extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern const uint32_t CollectionBase_get_InnerList_m44314156_MetadataUsageId; extern "C" ArrayList_t4252133567 * CollectionBase_get_InnerList_m44314156 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CollectionBase_get_InnerList_m44314156_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ArrayList_t4252133567 * L_0 = __this->get_list_0(); if (L_0) { goto IL_0016; } } { ArrayList_t4252133567 * L_1 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList__ctor_m4012174379(L_1, /*hidden argument*/NULL); __this->set_list_0(L_1); } IL_0016: { ArrayList_t4252133567 * L_2 = __this->get_list_0(); return L_2; } } // System.Collections.IList System.Collections.CollectionBase::get_List() extern "C" Il2CppObject * CollectionBase_get_List_m303528484 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { return __this; } } // System.Void System.Collections.CollectionBase::OnClear() extern "C" void CollectionBase_OnClear_m522194371 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { return; } } // System.Void System.Collections.CollectionBase::OnClearComplete() extern "C" void CollectionBase_OnClearComplete_m892802372 (CollectionBase_t1101587467 * __this, const MethodInfo* method) { { return; } } // System.Void System.Collections.CollectionBase::OnInsert(System.Int32,System.Object) extern "C" void CollectionBase_OnInsert_m2527428082 (CollectionBase_t1101587467 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { { return; } } // System.Void System.Collections.CollectionBase::OnInsertComplete(System.Int32,System.Object) extern "C" void CollectionBase_OnInsertComplete_m659231903 (CollectionBase_t1101587467 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { { return; } } // System.Void System.Collections.CollectionBase::OnRemove(System.Int32,System.Object) extern "C" void CollectionBase_OnRemove_m1947193027 (CollectionBase_t1101587467 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { { return; } } // System.Void System.Collections.CollectionBase::OnRemoveComplete(System.Int32,System.Object) extern "C" void CollectionBase_OnRemoveComplete_m2564738768 (CollectionBase_t1101587467 * __this, int32_t ___index0, Il2CppObject * ___value1, const MethodInfo* method) { { return; } } // System.Void System.Collections.CollectionBase::OnSet(System.Int32,System.Object,System.Object) extern "C" void CollectionBase_OnSet_m3770260869 (CollectionBase_t1101587467 * __this, int32_t ___index0, Il2CppObject * ___oldValue1, Il2CppObject * ___newValue2, const MethodInfo* method) { { return; } } // System.Void System.Collections.CollectionBase::OnSetComplete(System.Int32,System.Object,System.Object) extern "C" void CollectionBase_OnSetComplete_m562909496 (CollectionBase_t1101587467 * __this, int32_t ___index0, Il2CppObject * ___oldValue1, Il2CppObject * ___newValue2, const MethodInfo* method) { { return; } } // System.Void System.Collections.CollectionBase::OnValidate(System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1630536164; extern const uint32_t CollectionBase_OnValidate_m1837009054_MetadataUsageId; extern "C" void CollectionBase_OnValidate_m1837009054 (CollectionBase_t1101587467 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CollectionBase_OnValidate_m1837009054_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1630536164, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { return; } } // System.Void System.Collections.Comparer::.ctor() extern "C" void Comparer__ctor_m1485357005 (Comparer_t3673668605 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Comparer::.ctor(System.Globalization.CultureInfo) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1206263880; extern const uint32_t Comparer__ctor_m2541744495_MetadataUsageId; extern "C" void Comparer__ctor_m2541744495 (Comparer_t3673668605 * __this, CultureInfo_t3500843524 * ___culture0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Comparer__ctor_m2541744495_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); CultureInfo_t3500843524 * L_0 = ___culture0; if (L_0) { goto IL_0017; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1206263880, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0017: { CultureInfo_t3500843524 * L_2 = ___culture0; CompareInfo_t2310920157 * L_3 = VirtFuncInvoker0< CompareInfo_t2310920157 * >::Invoke(11 /* System.Globalization.CompareInfo System.Globalization.CultureInfo::get_CompareInfo() */, L_2); __this->set_m_compareInfo_2(L_3); return; } } // System.Void System.Collections.Comparer::.cctor() extern Il2CppClass* Comparer_t3673668605_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t Comparer__cctor_m1327316974_MetadataUsageId; extern "C" void Comparer__cctor_m1327316974 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Comparer__cctor_m1327316974_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Comparer_t3673668605 * L_0 = (Comparer_t3673668605 *)il2cpp_codegen_object_new(Comparer_t3673668605_il2cpp_TypeInfo_var); Comparer__ctor_m1485357005(L_0, /*hidden argument*/NULL); ((Comparer_t3673668605_StaticFields*)Comparer_t3673668605_il2cpp_TypeInfo_var->static_fields)->set_Default_0(L_0); IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_1 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); Comparer_t3673668605 * L_2 = (Comparer_t3673668605 *)il2cpp_codegen_object_new(Comparer_t3673668605_il2cpp_TypeInfo_var); Comparer__ctor_m2541744495(L_2, L_1, /*hidden argument*/NULL); ((Comparer_t3673668605_StaticFields*)Comparer_t3673668605_il2cpp_TypeInfo_var->static_fields)->set_DefaultInvariant_1(L_2); return; } } // System.Int32 System.Collections.Comparer::Compare(System.Object,System.Object) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* IComparable_t1857082765_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral537681520; extern const uint32_t Comparer_Compare_m4132969818_MetadataUsageId; extern "C" int32_t Comparer_Compare_m4132969818 (Comparer_t3673668605 * __this, Il2CppObject * ___a0, Il2CppObject * ___b1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Comparer_Compare_m4132969818_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; String_t* V_1 = NULL; { Il2CppObject * L_0 = ___a0; Il2CppObject * L_1 = ___b1; if ((!(((Il2CppObject*)(Il2CppObject *)L_0) == ((Il2CppObject*)(Il2CppObject *)L_1)))) { goto IL_0009; } } { return 0; } IL_0009: { Il2CppObject * L_2 = ___a0; if (L_2) { goto IL_0011; } } { return (-1); } IL_0011: { Il2CppObject * L_3 = ___b1; if (L_3) { goto IL_0019; } } { return 1; } IL_0019: { CompareInfo_t2310920157 * L_4 = __this->get_m_compareInfo_2(); if (!L_4) { goto IL_004c; } } { Il2CppObject * L_5 = ___a0; V_0 = ((String_t*)IsInstSealed(L_5, String_t_il2cpp_TypeInfo_var)); Il2CppObject * L_6 = ___b1; V_1 = ((String_t*)IsInstSealed(L_6, String_t_il2cpp_TypeInfo_var)); String_t* L_7 = V_0; if (!L_7) { goto IL_004c; } } { String_t* L_8 = V_1; if (!L_8) { goto IL_004c; } } { CompareInfo_t2310920157 * L_9 = __this->get_m_compareInfo_2(); String_t* L_10 = V_0; String_t* L_11 = V_1; int32_t L_12 = VirtFuncInvoker2< int32_t, String_t*, String_t* >::Invoke(5 /* System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.String) */, L_9, L_10, L_11); return L_12; } IL_004c: { Il2CppObject * L_13 = ___a0; if (!((Il2CppObject *)IsInst(L_13, IComparable_t1857082765_il2cpp_TypeInfo_var))) { goto IL_0064; } } { Il2CppObject * L_14 = ___a0; Il2CppObject * L_15 = ___b1; int32_t L_16 = InterfaceFuncInvoker1< int32_t, Il2CppObject * >::Invoke(0 /* System.Int32 System.IComparable::CompareTo(System.Object) */, IComparable_t1857082765_il2cpp_TypeInfo_var, ((Il2CppObject *)IsInst(L_14, IComparable_t1857082765_il2cpp_TypeInfo_var)), L_15); return L_16; } IL_0064: { Il2CppObject * L_17 = ___b1; if (!((Il2CppObject *)IsInst(L_17, IComparable_t1857082765_il2cpp_TypeInfo_var))) { goto IL_007d; } } { Il2CppObject * L_18 = ___b1; Il2CppObject * L_19 = ___a0; int32_t L_20 = InterfaceFuncInvoker1< int32_t, Il2CppObject * >::Invoke(0 /* System.Int32 System.IComparable::CompareTo(System.Object) */, IComparable_t1857082765_il2cpp_TypeInfo_var, ((Il2CppObject *)IsInst(L_18, IComparable_t1857082765_il2cpp_TypeInfo_var)), L_19); return ((-L_20)); } IL_007d: { String_t* L_21 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral537681520, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_22 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_22, L_21, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_22); } } // System.Void System.Collections.Comparer::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern const Il2CppType* CompareInfo_t2310920157_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2792112382; extern Il2CppCodeGenString* _stringLiteral1430341169; extern const uint32_t Comparer_GetObjectData_m3370677985_MetadataUsageId; extern "C" void Comparer_GetObjectData_m3370677985 (Comparer_t3673668605 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Comparer_GetObjectData_m3370677985_MetadataUsageId); s_Il2CppMethodInitialized = true; } { SerializationInfo_t228987430 * L_0 = ___info0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2792112382, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { SerializationInfo_t228987430 * L_2 = ___info0; CompareInfo_t2310920157 * L_3 = __this->get_m_compareInfo_2(); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_4 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(CompareInfo_t2310920157_0_0_0_var), /*hidden argument*/NULL); SerializationInfo_AddValue_m1781549036(L_2, _stringLiteral1430341169, L_3, L_4, /*hidden argument*/NULL); return; } } // System.Void System.Collections.DictionaryEntry::.ctor(System.Object,System.Object) extern "C" void DictionaryEntry__ctor_m2901884110 (DictionaryEntry_t3048875398 * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, const MethodInfo* method) { { Il2CppObject * L_0 = ___key0; __this->set__key_0(L_0); Il2CppObject * L_1 = ___value1; __this->set__value_1(L_1); return; } } extern "C" void DictionaryEntry__ctor_m2901884110_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, const MethodInfo* method) { DictionaryEntry_t3048875398 * _thisAdjusted = reinterpret_cast<DictionaryEntry_t3048875398 *>(__this + 1); DictionaryEntry__ctor_m2901884110(_thisAdjusted, ___key0, ___value1, method); } // System.Object System.Collections.DictionaryEntry::get_Key() extern "C" Il2CppObject * DictionaryEntry_get_Key_m3623293571 (DictionaryEntry_t3048875398 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get__key_0(); return L_0; } } extern "C" Il2CppObject * DictionaryEntry_get_Key_m3623293571_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DictionaryEntry_t3048875398 * _thisAdjusted = reinterpret_cast<DictionaryEntry_t3048875398 *>(__this + 1); return DictionaryEntry_get_Key_m3623293571(_thisAdjusted, method); } // System.Object System.Collections.DictionaryEntry::get_Value() extern "C" Il2CppObject * DictionaryEntry_get_Value_m2812883243 (DictionaryEntry_t3048875398 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get__value_1(); return L_0; } } extern "C" Il2CppObject * DictionaryEntry_get_Value_m2812883243_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DictionaryEntry_t3048875398 * _thisAdjusted = reinterpret_cast<DictionaryEntry_t3048875398 *>(__this + 1); return DictionaryEntry_get_Value_m2812883243(_thisAdjusted, method); } // Conversion methods for marshalling of: System.Collections.DictionaryEntry extern "C" void DictionaryEntry_t3048875398_marshal_pinvoke(const DictionaryEntry_t3048875398& unmarshaled, DictionaryEntry_t3048875398_marshaled_pinvoke& marshaled) { if (unmarshaled.get__key_0() != NULL) { if ((unmarshaled.get__key_0())->klass->is_import_or_windows_runtime) { il2cpp_hresult_t hr = ((Il2CppComObject *)unmarshaled.get__key_0())->identity->QueryInterface(Il2CppIUnknown::IID, reinterpret_cast<void**>(&marshaled.____key_0)); il2cpp_codegen_com_raise_exception_if_failed(hr); } else { marshaled.____key_0 = il2cpp_codegen_com_get_or_create_ccw<Il2CppIUnknown>(unmarshaled.get__key_0()); } } else { marshaled.____key_0 = NULL; } if (unmarshaled.get__value_1() != NULL) { if ((unmarshaled.get__value_1())->klass->is_import_or_windows_runtime) { il2cpp_hresult_t hr = ((Il2CppComObject *)unmarshaled.get__value_1())->identity->QueryInterface(Il2CppIUnknown::IID, reinterpret_cast<void**>(&marshaled.____value_1)); il2cpp_codegen_com_raise_exception_if_failed(hr); } else { marshaled.____value_1 = il2cpp_codegen_com_get_or_create_ccw<Il2CppIUnknown>(unmarshaled.get__value_1()); } } else { marshaled.____value_1 = NULL; } } extern Il2CppClass* Il2CppComObject_il2cpp_TypeInfo_var; extern const uint32_t DictionaryEntry_t3048875398_pinvoke_FromNativeMethodDefinition_MetadataUsageId; extern "C" void DictionaryEntry_t3048875398_marshal_pinvoke_back(const DictionaryEntry_t3048875398_marshaled_pinvoke& marshaled, DictionaryEntry_t3048875398& unmarshaled) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DictionaryEntry_t3048875398_pinvoke_FromNativeMethodDefinition_MetadataUsageId); s_Il2CppMethodInitialized = true; } if (marshaled.____key_0 != NULL) { unmarshaled.set__key_0(il2cpp_codegen_com_get_or_create_rcw_from_iunknown<Il2CppObject>(marshaled.____key_0, Il2CppComObject_il2cpp_TypeInfo_var)); } else { unmarshaled.set__key_0(NULL); } if (marshaled.____value_1 != NULL) { unmarshaled.set__value_1(il2cpp_codegen_com_get_or_create_rcw_from_iunknown<Il2CppObject>(marshaled.____value_1, Il2CppComObject_il2cpp_TypeInfo_var)); } else { unmarshaled.set__value_1(NULL); } } // Conversion method for clean up from marshalling of: System.Collections.DictionaryEntry extern "C" void DictionaryEntry_t3048875398_marshal_pinvoke_cleanup(DictionaryEntry_t3048875398_marshaled_pinvoke& marshaled) { if (marshaled.____key_0 != NULL) { (marshaled.____key_0)->Release(); marshaled.____key_0 = NULL; } if (marshaled.____value_1 != NULL) { (marshaled.____value_1)->Release(); marshaled.____value_1 = NULL; } } // Conversion methods for marshalling of: System.Collections.DictionaryEntry extern "C" void DictionaryEntry_t3048875398_marshal_com(const DictionaryEntry_t3048875398& unmarshaled, DictionaryEntry_t3048875398_marshaled_com& marshaled) { if (unmarshaled.get__key_0() != NULL) { if ((unmarshaled.get__key_0())->klass->is_import_or_windows_runtime) { il2cpp_hresult_t hr = ((Il2CppComObject *)unmarshaled.get__key_0())->identity->QueryInterface(Il2CppIUnknown::IID, reinterpret_cast<void**>(&marshaled.____key_0)); il2cpp_codegen_com_raise_exception_if_failed(hr); } else { marshaled.____key_0 = il2cpp_codegen_com_get_or_create_ccw<Il2CppIUnknown>(unmarshaled.get__key_0()); } } else { marshaled.____key_0 = NULL; } if (unmarshaled.get__value_1() != NULL) { if ((unmarshaled.get__value_1())->klass->is_import_or_windows_runtime) { il2cpp_hresult_t hr = ((Il2CppComObject *)unmarshaled.get__value_1())->identity->QueryInterface(Il2CppIUnknown::IID, reinterpret_cast<void**>(&marshaled.____value_1)); il2cpp_codegen_com_raise_exception_if_failed(hr); } else { marshaled.____value_1 = il2cpp_codegen_com_get_or_create_ccw<Il2CppIUnknown>(unmarshaled.get__value_1()); } } else { marshaled.____value_1 = NULL; } } extern Il2CppClass* Il2CppComObject_il2cpp_TypeInfo_var; extern const uint32_t DictionaryEntry_t3048875398_com_FromNativeMethodDefinition_MetadataUsageId; extern "C" void DictionaryEntry_t3048875398_marshal_com_back(const DictionaryEntry_t3048875398_marshaled_com& marshaled, DictionaryEntry_t3048875398& unmarshaled) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DictionaryEntry_t3048875398_com_FromNativeMethodDefinition_MetadataUsageId); s_Il2CppMethodInitialized = true; } if (marshaled.____key_0 != NULL) { unmarshaled.set__key_0(il2cpp_codegen_com_get_or_create_rcw_from_iunknown<Il2CppObject>(marshaled.____key_0, Il2CppComObject_il2cpp_TypeInfo_var)); } else { unmarshaled.set__key_0(NULL); } if (marshaled.____value_1 != NULL) { unmarshaled.set__value_1(il2cpp_codegen_com_get_or_create_rcw_from_iunknown<Il2CppObject>(marshaled.____value_1, Il2CppComObject_il2cpp_TypeInfo_var)); } else { unmarshaled.set__value_1(NULL); } } // Conversion method for clean up from marshalling of: System.Collections.DictionaryEntry extern "C" void DictionaryEntry_t3048875398_marshal_com_cleanup(DictionaryEntry_t3048875398_marshaled_com& marshaled) { if (marshaled.____key_0 != NULL) { (marshaled.____key_0)->Release(); marshaled.____key_0 = NULL; } if (marshaled.____value_1 != NULL) { (marshaled.____value_1)->Release(); marshaled.____value_1 = NULL; } } // System.Void System.Collections.Generic.KeyNotFoundException::.ctor() extern Il2CppCodeGenString* _stringLiteral1323450630; extern const uint32_t KeyNotFoundException__ctor_m913933494_MetadataUsageId; extern "C" void KeyNotFoundException__ctor_m913933494 (KeyNotFoundException_t1722175009 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (KeyNotFoundException__ctor_m913933494_MetadataUsageId); s_Il2CppMethodInitialized = true; } { SystemException__ctor_m4001391027(__this, _stringLiteral1323450630, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Generic.KeyNotFoundException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void KeyNotFoundException__ctor_m2121796963 (KeyNotFoundException_t1722175009 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; SystemException__ctor_m2688248668(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::.ctor() extern "C" void Hashtable__ctor_m1884964176 (Hashtable_t909839986 * __this, const MethodInfo* method) { { Hashtable__ctor_m1360482358(__this, 0, (1.0f), /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Int32,System.Single,System.Collections.IHashCodeProvider,System.Collections.IComparer) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern Il2CppClass* SlotU5BU5D_t3166395312_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3404069002; extern Il2CppCodeGenString* _stringLiteral3597632971; extern Il2CppCodeGenString* _stringLiteral3739247663; extern Il2CppCodeGenString* _stringLiteral2226372163; extern Il2CppCodeGenString* _stringLiteral2952200895; extern const uint32_t Hashtable__ctor_m846339375_MetadataUsageId; extern "C" void Hashtable__ctor_m846339375 (Hashtable_t909839986 * __this, int32_t ___capacity0, float ___loadFactor1, Il2CppObject * ___hcp2, Il2CppObject * ___comparer3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable__ctor_m846339375_MetadataUsageId); s_Il2CppMethodInitialized = true; } double V_0 = 0.0; int32_t V_1 = 0; { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); int32_t L_0 = ___capacity0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_001d; } } { ArgumentOutOfRangeException_t279959794 * L_1 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_1, _stringLiteral3404069002, _stringLiteral3597632971, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_001d: { float L_2 = ___loadFactor1; if ((((float)L_2) < ((float)(0.1f)))) { goto IL_003e; } } { float L_3 = ___loadFactor1; if ((((float)L_3) > ((float)(1.0f)))) { goto IL_003e; } } { float L_4 = ___loadFactor1; bool L_5 = Single_IsNaN_m2349591895(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_004e; } } IL_003e: { ArgumentOutOfRangeException_t279959794 * L_6 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_6, _stringLiteral3739247663, _stringLiteral2226372163, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_004e: { int32_t L_7 = ___capacity0; if (L_7) { goto IL_0059; } } { int32_t L_8 = ___capacity0; ___capacity0 = ((int32_t)((int32_t)L_8+(int32_t)1)); } IL_0059: { float L_9 = ___loadFactor1; __this->set_loadFactor_3(((float)((float)(0.75f)*(float)L_9))); int32_t L_10 = ___capacity0; float L_11 = __this->get_loadFactor_3(); V_0 = (((double)((double)((float)((float)(((float)((float)L_10)))/(float)L_11))))); double L_12 = V_0; if ((!(((double)L_12) > ((double)(2147483647.0))))) { goto IL_008b; } } { ArgumentException_t3259014390 * L_13 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_13, _stringLiteral2952200895, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } IL_008b: { double L_14 = V_0; V_1 = (((int32_t)((int32_t)L_14))); int32_t L_15 = V_1; IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); int32_t L_16 = Hashtable_ToPrime_m4277665615(NULL /*static, unused*/, L_15, /*hidden argument*/NULL); V_1 = L_16; int32_t L_17 = V_1; int32_t L_18 = V_1; Hashtable_SetTable_m539410518(__this, ((SlotU5BU5D_t3166395312*)SZArrayNew(SlotU5BU5D_t3166395312_il2cpp_TypeInfo_var, (uint32_t)L_17)), ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)L_18)), /*hidden argument*/NULL); Il2CppObject * L_19 = ___hcp2; Hashtable_set_hcp_m61069857(__this, L_19, /*hidden argument*/NULL); Il2CppObject * L_20 = ___comparer3; Hashtable_set_comparer_m3180045824(__this, L_20, /*hidden argument*/NULL); __this->set_inUse_1(0); __this->set_modificationCount_2(0); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Int32,System.Single) extern "C" void Hashtable__ctor_m1360482358 (Hashtable_t909839986 * __this, int32_t ___capacity0, float ___loadFactor1, const MethodInfo* method) { { int32_t L_0 = ___capacity0; float L_1 = ___loadFactor1; Hashtable__ctor_m846339375(__this, L_0, L_1, (Il2CppObject *)NULL, (Il2CppObject *)NULL, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Int32) extern "C" void Hashtable__ctor_m2702360557 (Hashtable_t909839986 * __this, int32_t ___capacity0, const MethodInfo* method) { { int32_t L_0 = ___capacity0; Hashtable__ctor_m1360482358(__this, L_0, (1.0f), /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Collections.Hashtable) extern Il2CppClass* SlotU5BU5D_t3166395312_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Hashtable__ctor_m392789568_MetadataUsageId; extern "C" void Hashtable__ctor_m392789568 (Hashtable_t909839986 * __this, Hashtable_t909839986 * ___source0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable__ctor_m392789568_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Hashtable_t909839986 * L_0 = ___source0; int32_t L_1 = L_0->get_inUse_1(); __this->set_inUse_1(L_1); Hashtable_t909839986 * L_2 = ___source0; float L_3 = L_2->get_loadFactor_3(); __this->set_loadFactor_3(L_3); Hashtable_t909839986 * L_4 = ___source0; SlotU5BU5D_t3166395312* L_5 = L_4->get_table_4(); Il2CppObject * L_6 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_5, /*hidden argument*/NULL); __this->set_table_4(((SlotU5BU5D_t3166395312*)Castclass(L_6, SlotU5BU5D_t3166395312_il2cpp_TypeInfo_var))); Hashtable_t909839986 * L_7 = ___source0; Int32U5BU5D_t3030399641* L_8 = L_7->get_hashes_5(); Il2CppObject * L_9 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_8, /*hidden argument*/NULL); __this->set_hashes_5(((Int32U5BU5D_t3030399641*)Castclass(L_9, Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var))); Hashtable_t909839986 * L_10 = ___source0; int32_t L_11 = L_10->get_threshold_6(); __this->set_threshold_6(L_11); Hashtable_t909839986 * L_12 = ___source0; Il2CppObject * L_13 = L_12->get_hcpRef_9(); __this->set_hcpRef_9(L_13); Hashtable_t909839986 * L_14 = ___source0; Il2CppObject * L_15 = L_14->get_comparerRef_10(); __this->set_comparerRef_10(L_15); Hashtable_t909839986 * L_16 = ___source0; Il2CppObject * L_17 = L_16->get_equalityComparer_12(); __this->set_equalityComparer_12(L_17); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Int32,System.Collections.IHashCodeProvider,System.Collections.IComparer) extern "C" void Hashtable__ctor_m4106078798 (Hashtable_t909839986 * __this, int32_t ___capacity0, Il2CppObject * ___hcp1, Il2CppObject * ___comparer2, const MethodInfo* method) { { int32_t L_0 = ___capacity0; Il2CppObject * L_1 = ___hcp1; Il2CppObject * L_2 = ___comparer2; Hashtable__ctor_m846339375(__this, L_0, (1.0f), L_1, L_2, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Collections.IDictionary,System.Single,System.Collections.IHashCodeProvider,System.Collections.IComparer) extern Il2CppClass* ICollection_t91669223_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* IDictionary_t596158605_il2cpp_TypeInfo_var; extern Il2CppClass* IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var; extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3629755714; extern const uint32_t Hashtable__ctor_m2894679847_MetadataUsageId; extern "C" void Hashtable__ctor_m2894679847 (Hashtable_t909839986 * __this, Il2CppObject * ___d0, float ___loadFactor1, Il2CppObject * ___hcp2, Il2CppObject * ___comparer3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable__ctor_m2894679847_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; Hashtable_t909839986 * G_B2_0 = NULL; Hashtable_t909839986 * G_B1_0 = NULL; int32_t G_B3_0 = 0; Hashtable_t909839986 * G_B3_1 = NULL; { Il2CppObject * L_0 = ___d0; G_B1_0 = __this; if (!L_0) { G_B2_0 = __this; goto IL_0012; } } { Il2CppObject * L_1 = ___d0; int32_t L_2 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_t91669223_il2cpp_TypeInfo_var, L_1); G_B3_0 = L_2; G_B3_1 = G_B1_0; goto IL_0013; } IL_0012: { G_B3_0 = 0; G_B3_1 = G_B2_0; } IL_0013: { float L_3 = ___loadFactor1; Il2CppObject * L_4 = ___hcp2; Il2CppObject * L_5 = ___comparer3; Hashtable__ctor_m846339375(G_B3_1, G_B3_0, L_3, L_4, L_5, /*hidden argument*/NULL); Il2CppObject * L_6 = ___d0; if (L_6) { goto IL_002d; } } { ArgumentNullException_t628810857 * L_7 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_7, _stringLiteral3629755714, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_002d: { Il2CppObject * L_8 = ___d0; Il2CppObject * L_9 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(3 /* System.Collections.IDictionaryEnumerator System.Collections.IDictionary::GetEnumerator() */, IDictionary_t596158605_il2cpp_TypeInfo_var, L_8); V_0 = L_9; goto IL_004b; } IL_0039: { Il2CppObject * L_10 = V_0; Il2CppObject * L_11 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(1 /* System.Object System.Collections.IDictionaryEnumerator::get_Key() */, IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var, L_10); Il2CppObject * L_12 = V_0; Il2CppObject * L_13 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(2 /* System.Object System.Collections.IDictionaryEnumerator::get_Value() */, IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var, L_12); VirtActionInvoker2< Il2CppObject *, Il2CppObject * >::Invoke(25 /* System.Void System.Collections.Hashtable::Add(System.Object,System.Object) */, __this, L_11, L_13); } IL_004b: { Il2CppObject * L_14 = V_0; bool L_15 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_14); if (L_15) { goto IL_0039; } } { return; } } // System.Void System.Collections.Hashtable::.ctor(System.Collections.IDictionary,System.Collections.IHashCodeProvider,System.Collections.IComparer) extern "C" void Hashtable__ctor_m3742489710 (Hashtable_t909839986 * __this, Il2CppObject * ___d0, Il2CppObject * ___hcp1, Il2CppObject * ___comparer2, const MethodInfo* method) { { Il2CppObject * L_0 = ___d0; Il2CppObject * L_1 = ___hcp1; Il2CppObject * L_2 = ___comparer2; Hashtable__ctor_m2894679847(__this, L_0, (1.0f), L_1, L_2, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Collections.IHashCodeProvider,System.Collections.IComparer) extern "C" void Hashtable__ctor_m2337481811 (Hashtable_t909839986 * __this, Il2CppObject * ___hcp0, Il2CppObject * ___comparer1, const MethodInfo* method) { { Il2CppObject * L_0 = ___hcp0; Il2CppObject * L_1 = ___comparer1; Hashtable__ctor_m846339375(__this, 1, (1.0f), L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void Hashtable__ctor_m4280223555 (Hashtable_t909839986 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_0 = ___info0; __this->set_serializationInfo_11(L_0); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Int32,System.Collections.IEqualityComparer) extern "C" void Hashtable__ctor_m622168569 (Hashtable_t909839986 * __this, int32_t ___capacity0, Il2CppObject * ___equalityComparer1, const MethodInfo* method) { { int32_t L_0 = ___capacity0; Il2CppObject * L_1 = ___equalityComparer1; Hashtable__ctor_m741952536(__this, L_0, (1.0f), L_1, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::.ctor(System.Int32,System.Single,System.Collections.IEqualityComparer) extern "C" void Hashtable__ctor_m741952536 (Hashtable_t909839986 * __this, int32_t ___capacity0, float ___loadFactor1, Il2CppObject * ___equalityComparer2, const MethodInfo* method) { { int32_t L_0 = ___capacity0; float L_1 = ___loadFactor1; Hashtable__ctor_m1360482358(__this, L_0, L_1, /*hidden argument*/NULL); Il2CppObject * L_2 = ___equalityComparer2; __this->set_equalityComparer_12(L_2); return; } } // System.Void System.Collections.Hashtable::.cctor() extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D27_19_FieldInfo_var; extern const uint32_t Hashtable__cctor_m2952659675_MetadataUsageId; extern "C" void Hashtable__cctor_m2952659675 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable__cctor_m2952659675_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)((int32_t)34))); RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D27_19_FieldInfo_var), /*hidden argument*/NULL); ((Hashtable_t909839986_StaticFields*)Hashtable_t909839986_il2cpp_TypeInfo_var->static_fields)->set_primeTbl_13(L_0); return; } } // System.Collections.IEnumerator System.Collections.Hashtable::System.Collections.IEnumerable.GetEnumerator() extern Il2CppClass* Enumerator_t2466348361_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_System_Collections_IEnumerable_GetEnumerator_m424477805_MetadataUsageId; extern "C" Il2CppObject * Hashtable_System_Collections_IEnumerable_GetEnumerator_m424477805 (Hashtable_t909839986 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_System_Collections_IEnumerable_GetEnumerator_m424477805_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Enumerator_t2466348361 * L_0 = (Enumerator_t2466348361 *)il2cpp_codegen_object_new(Enumerator_t2466348361_il2cpp_TypeInfo_var); Enumerator__ctor_m2955072559(L_0, __this, 2, /*hidden argument*/NULL); return L_0; } } // System.Void System.Collections.Hashtable::set_comparer(System.Collections.IComparer) extern "C" void Hashtable_set_comparer_m3180045824 (Hashtable_t909839986 * __this, Il2CppObject * ___value0, const MethodInfo* method) { { Il2CppObject * L_0 = ___value0; __this->set_comparerRef_10(L_0); return; } } // System.Void System.Collections.Hashtable::set_hcp(System.Collections.IHashCodeProvider) extern "C" void Hashtable_set_hcp_m61069857 (Hashtable_t909839986 * __this, Il2CppObject * ___value0, const MethodInfo* method) { { Il2CppObject * L_0 = ___value0; __this->set_hcpRef_9(L_0); return; } } // System.Int32 System.Collections.Hashtable::get_Count() extern "C" int32_t Hashtable_get_Count_m830088216 (Hashtable_t909839986 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_inUse_1(); return L_0; } } // System.Boolean System.Collections.Hashtable::get_IsSynchronized() extern "C" bool Hashtable_get_IsSynchronized_m836780937 (Hashtable_t909839986 * __this, const MethodInfo* method) { { return (bool)0; } } // System.Object System.Collections.Hashtable::get_SyncRoot() extern "C" Il2CppObject * Hashtable_get_SyncRoot_m3737073257 (Hashtable_t909839986 * __this, const MethodInfo* method) { { return __this; } } // System.Collections.ICollection System.Collections.Hashtable::get_Keys() extern Il2CppClass* HashKeys_t187688763_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_get_Keys_m4273499121_MetadataUsageId; extern "C" Il2CppObject * Hashtable_get_Keys_m4273499121 (Hashtable_t909839986 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_get_Keys_m4273499121_MetadataUsageId); s_Il2CppMethodInitialized = true; } { HashKeys_t187688763 * L_0 = __this->get_hashKeys_7(); if (L_0) { goto IL_0017; } } { HashKeys_t187688763 * L_1 = (HashKeys_t187688763 *)il2cpp_codegen_object_new(HashKeys_t187688763_il2cpp_TypeInfo_var); HashKeys__ctor_m880759805(L_1, __this, /*hidden argument*/NULL); __this->set_hashKeys_7(L_1); } IL_0017: { HashKeys_t187688763 * L_2 = __this->get_hashKeys_7(); return L_2; } } // System.Collections.ICollection System.Collections.Hashtable::get_Values() extern Il2CppClass* HashValues_t2390200547_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_get_Values_m1305953313_MetadataUsageId; extern "C" Il2CppObject * Hashtable_get_Values_m1305953313 (Hashtable_t909839986 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_get_Values_m1305953313_MetadataUsageId); s_Il2CppMethodInitialized = true; } { HashValues_t2390200547 * L_0 = __this->get_hashValues_8(); if (L_0) { goto IL_0017; } } { HashValues_t2390200547 * L_1 = (HashValues_t2390200547 *)il2cpp_codegen_object_new(HashValues_t2390200547_il2cpp_TypeInfo_var); HashValues__ctor_m1179103037(L_1, __this, /*hidden argument*/NULL); __this->set_hashValues_8(L_1); } IL_0017: { HashValues_t2390200547 * L_2 = __this->get_hashValues_8(); return L_2; } } // System.Object System.Collections.Hashtable::get_Item(System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3021628599; extern Il2CppCodeGenString* _stringLiteral1607936840; extern const uint32_t Hashtable_get_Item_m2241557263_MetadataUsageId; extern "C" Il2CppObject * Hashtable_get_Item_m2241557263 (Hashtable_t909839986 * __this, Il2CppObject * ___key0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_get_Item_m2241557263_MetadataUsageId); s_Il2CppMethodInitialized = true; } SlotU5BU5D_t3166395312* V_0 = NULL; Int32U5BU5D_t3030399641* V_1 = NULL; uint32_t V_2 = 0; int32_t V_3 = 0; uint32_t V_4 = 0; uint32_t V_5 = 0; uint32_t V_6 = 0; Slot_t2022531261 V_7; memset(&V_7, 0, sizeof(V_7)); int32_t V_8 = 0; Il2CppObject * V_9 = NULL; { Il2CppObject * L_0 = ___key0; if (L_0) { goto IL_0016; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m2624491786(L_1, _stringLiteral3021628599, _stringLiteral1607936840, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0016: { SlotU5BU5D_t3166395312* L_2 = __this->get_table_4(); V_0 = L_2; Int32U5BU5D_t3030399641* L_3 = __this->get_hashes_5(); V_1 = L_3; SlotU5BU5D_t3166395312* L_4 = V_0; V_2 = (((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length)))); Il2CppObject * L_5 = ___key0; int32_t L_6 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(34 /* System.Int32 System.Collections.Hashtable::GetHash(System.Object) */, __this, L_5); V_3 = ((int32_t)((int32_t)L_6&(int32_t)((int32_t)2147483647LL))); int32_t L_7 = V_3; V_4 = L_7; int32_t L_8 = V_3; uint32_t L_9 = V_2; V_5 = ((int32_t)((int32_t)((int32_t)((uint32_t)(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_8>>(int32_t)5))+(int32_t)1))%(uint32_t)(int32_t)((int32_t)((int32_t)L_9-(int32_t)1))))+(int32_t)1)); uint32_t L_10 = V_2; V_6 = L_10; goto IL_00cb; } IL_004e: { uint32_t L_11 = V_4; uint32_t L_12 = V_2; V_4 = ((int32_t)((uint32_t)(int32_t)L_11%(uint32_t)(int32_t)L_12)); SlotU5BU5D_t3166395312* L_13 = V_0; uint32_t L_14 = V_4; V_7 = (*(Slot_t2022531261 *)((L_13)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_14)))))); Int32U5BU5D_t3030399641* L_15 = V_1; uint32_t L_16 = V_4; uintptr_t L_17 = (((uintptr_t)L_16)); int32_t L_18 = (L_15)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_17)); V_8 = L_18; Il2CppObject * L_19 = (&V_7)->get_key_0(); V_9 = L_19; Il2CppObject * L_20 = V_9; if (L_20) { goto IL_0080; } } { goto IL_00d3; } IL_0080: { Il2CppObject * L_21 = V_9; Il2CppObject * L_22 = ___key0; if ((((Il2CppObject*)(Il2CppObject *)L_21) == ((Il2CppObject*)(Il2CppObject *)L_22))) { goto IL_00a4; } } { int32_t L_23 = V_8; int32_t L_24 = V_3; if ((!(((uint32_t)((int32_t)((int32_t)L_23&(int32_t)((int32_t)2147483647LL)))) == ((uint32_t)L_24)))) { goto IL_00ac; } } { Il2CppObject * L_25 = ___key0; Il2CppObject * L_26 = V_9; bool L_27 = VirtFuncInvoker2< bool, Il2CppObject *, Il2CppObject * >::Invoke(35 /* System.Boolean System.Collections.Hashtable::KeyEquals(System.Object,System.Object) */, __this, L_25, L_26); if (!L_27) { goto IL_00ac; } } IL_00a4: { Il2CppObject * L_28 = (&V_7)->get_value_1(); return L_28; } IL_00ac: { int32_t L_29 = V_8; if (((int32_t)((int32_t)L_29&(int32_t)((int32_t)-2147483648LL)))) { goto IL_00be; } } { goto IL_00d3; } IL_00be: { uint32_t L_30 = V_4; uint32_t L_31 = V_5; V_4 = ((int32_t)((int32_t)L_30+(int32_t)L_31)); uint32_t L_32 = V_6; V_6 = ((int32_t)((int32_t)L_32-(int32_t)1)); } IL_00cb: { uint32_t L_33 = V_6; if ((!(((uint32_t)L_33) <= ((uint32_t)0)))) { goto IL_004e; } } IL_00d3: { return NULL; } } // System.Void System.Collections.Hashtable::set_Item(System.Object,System.Object) extern "C" void Hashtable_set_Item_m2131404282 (Hashtable_t909839986 * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, const MethodInfo* method) { { Il2CppObject * L_0 = ___key0; Il2CppObject * L_1 = ___value1; Hashtable_PutImpl_m3318435614(__this, L_0, L_1, (bool)1, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::CopyTo(System.Array,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var; extern Il2CppClass* DictionaryEntry_t3048875398_il2cpp_TypeInfo_var; extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3015127219; extern Il2CppCodeGenString* _stringLiteral2316951895; extern Il2CppCodeGenString* _stringLiteral3834829273; extern Il2CppCodeGenString* _stringLiteral1709825256; extern const uint32_t Hashtable_CopyTo_m2778915805_MetadataUsageId; extern "C" void Hashtable_CopyTo_m2778915805 (Hashtable_t909839986 * __this, Il2CppArray * ___array0, int32_t ___arrayIndex1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_CopyTo_m2778915805_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; int32_t V_1 = 0; { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___arrayIndex1; if ((((int32_t)L_2) >= ((int32_t)0))) { goto IL_0023; } } { ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_3, _stringLiteral3015127219, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppArray * L_4 = ___array0; int32_t L_5 = Array_get_Rank_m3837250695(L_4, /*hidden argument*/NULL); if ((((int32_t)L_5) <= ((int32_t)1))) { goto IL_003a; } } { ArgumentException_t3259014390 * L_6 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_6, _stringLiteral2316951895, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003a: { Il2CppArray * L_7 = ___array0; int32_t L_8 = Array_get_Length_m1498215565(L_7, /*hidden argument*/NULL); if ((((int32_t)L_8) <= ((int32_t)0))) { goto IL_005d; } } { int32_t L_9 = ___arrayIndex1; Il2CppArray * L_10 = ___array0; int32_t L_11 = Array_get_Length_m1498215565(L_10, /*hidden argument*/NULL); if ((((int32_t)L_9) < ((int32_t)L_11))) { goto IL_005d; } } { ArgumentException_t3259014390 * L_12 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_12, _stringLiteral3834829273, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_005d: { int32_t L_13 = ___arrayIndex1; int32_t L_14 = __this->get_inUse_1(); Il2CppArray * L_15 = ___array0; int32_t L_16 = Array_get_Length_m1498215565(L_15, /*hidden argument*/NULL); if ((((int32_t)((int32_t)((int32_t)L_13+(int32_t)L_14))) <= ((int32_t)L_16))) { goto IL_007b; } } { ArgumentException_t3259014390 * L_17 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_17, _stringLiteral1709825256, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_17); } IL_007b: { Il2CppObject * L_18 = VirtFuncInvoker0< Il2CppObject * >::Invoke(28 /* System.Collections.IDictionaryEnumerator System.Collections.Hashtable::GetEnumerator() */, __this); V_0 = L_18; int32_t L_19 = ___arrayIndex1; V_1 = L_19; goto IL_009f; } IL_0089: { Il2CppArray * L_20 = ___array0; Il2CppObject * L_21 = V_0; DictionaryEntry_t3048875398 L_22 = InterfaceFuncInvoker0< DictionaryEntry_t3048875398 >::Invoke(0 /* System.Collections.DictionaryEntry System.Collections.IDictionaryEnumerator::get_Entry() */, IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var, L_21); DictionaryEntry_t3048875398 L_23 = L_22; Il2CppObject * L_24 = Box(DictionaryEntry_t3048875398_il2cpp_TypeInfo_var, &L_23); int32_t L_25 = V_1; int32_t L_26 = L_25; V_1 = ((int32_t)((int32_t)L_26+(int32_t)1)); Array_SetValue_m2652759566(L_20, L_24, L_26, /*hidden argument*/NULL); } IL_009f: { Il2CppObject * L_27 = V_0; bool L_28 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_27); if (L_28) { goto IL_0089; } } { return; } } // System.Void System.Collections.Hashtable::Add(System.Object,System.Object) extern "C" void Hashtable_Add_m3939668521 (Hashtable_t909839986 * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, const MethodInfo* method) { { Il2CppObject * L_0 = ___key0; Il2CppObject * L_1 = ___value1; Hashtable_PutImpl_m3318435614(__this, L_0, L_1, (bool)0, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::Clear() extern "C" void Hashtable_Clear_m3672070813 (Hashtable_t909839986 * __this, const MethodInfo* method) { int32_t V_0 = 0; { V_0 = 0; goto IL_0038; } IL_0007: { SlotU5BU5D_t3166395312* L_0 = __this->get_table_4(); int32_t L_1 = V_0; ((L_0)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_1)))->set_key_0(NULL); SlotU5BU5D_t3166395312* L_2 = __this->get_table_4(); int32_t L_3 = V_0; ((L_2)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_3)))->set_value_1(NULL); Int32U5BU5D_t3030399641* L_4 = __this->get_hashes_5(); int32_t L_5 = V_0; (L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5), (int32_t)0); int32_t L_6 = V_0; V_0 = ((int32_t)((int32_t)L_6+(int32_t)1)); } IL_0038: { int32_t L_7 = V_0; SlotU5BU5D_t3166395312* L_8 = __this->get_table_4(); if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length))))))) { goto IL_0007; } } { __this->set_inUse_1(0); int32_t L_9 = __this->get_modificationCount_2(); __this->set_modificationCount_2(((int32_t)((int32_t)L_9+(int32_t)1))); return; } } // System.Boolean System.Collections.Hashtable::Contains(System.Object) extern "C" bool Hashtable_Contains_m3221185613 (Hashtable_t909839986 * __this, Il2CppObject * ___key0, const MethodInfo* method) { { Il2CppObject * L_0 = ___key0; int32_t L_1 = Hashtable_Find_m3504510125(__this, L_0, /*hidden argument*/NULL); return (bool)((((int32_t)((((int32_t)L_1) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Collections.IDictionaryEnumerator System.Collections.Hashtable::GetEnumerator() extern Il2CppClass* Enumerator_t2466348361_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_GetEnumerator_m3331430084_MetadataUsageId; extern "C" Il2CppObject * Hashtable_GetEnumerator_m3331430084 (Hashtable_t909839986 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_GetEnumerator_m3331430084_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Enumerator_t2466348361 * L_0 = (Enumerator_t2466348361 *)il2cpp_codegen_object_new(Enumerator_t2466348361_il2cpp_TypeInfo_var); Enumerator__ctor_m2955072559(L_0, __this, 2, /*hidden argument*/NULL); return L_0; } } // System.Void System.Collections.Hashtable::Remove(System.Object) extern Il2CppClass* KeyMarker_t4029226070_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_Remove_m607079606_MetadataUsageId; extern "C" void Hashtable_Remove_m607079606 (Hashtable_t909839986 * __this, Il2CppObject * ___key0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_Remove_m607079606_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; SlotU5BU5D_t3166395312* V_1 = NULL; int32_t V_2 = 0; Slot_t2022531261 * G_B3_0 = NULL; Slot_t2022531261 * G_B2_0 = NULL; KeyMarker_t4029226070 * G_B4_0 = NULL; Slot_t2022531261 * G_B4_1 = NULL; { Il2CppObject * L_0 = ___key0; int32_t L_1 = Hashtable_Find_m3504510125(__this, L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = V_0; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_0076; } } { SlotU5BU5D_t3166395312* L_3 = __this->get_table_4(); V_1 = L_3; Int32U5BU5D_t3030399641* L_4 = __this->get_hashes_5(); int32_t L_5 = V_0; int32_t L_6 = L_5; int32_t L_7 = (L_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6)); V_2 = L_7; int32_t L_8 = V_2; V_2 = ((int32_t)((int32_t)L_8&(int32_t)((int32_t)-2147483648LL))); Int32U5BU5D_t3030399641* L_9 = __this->get_hashes_5(); int32_t L_10 = V_0; int32_t L_11 = V_2; (L_9)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_10), (int32_t)L_11); SlotU5BU5D_t3166395312* L_12 = V_1; int32_t L_13 = V_0; int32_t L_14 = V_2; G_B2_0 = ((L_12)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_13))); if (!L_14) { G_B3_0 = ((L_12)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_13))); goto IL_0047; } } { IL2CPP_RUNTIME_CLASS_INIT(KeyMarker_t4029226070_il2cpp_TypeInfo_var); KeyMarker_t4029226070 * L_15 = ((KeyMarker_t4029226070_StaticFields*)KeyMarker_t4029226070_il2cpp_TypeInfo_var->static_fields)->get_Removed_0(); G_B4_0 = L_15; G_B4_1 = G_B2_0; goto IL_0048; } IL_0047: { G_B4_0 = ((KeyMarker_t4029226070 *)(NULL)); G_B4_1 = G_B3_0; } IL_0048: { G_B4_1->set_key_0(G_B4_0); SlotU5BU5D_t3166395312* L_16 = V_1; int32_t L_17 = V_0; ((L_16)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_17)))->set_value_1(NULL); int32_t L_18 = __this->get_inUse_1(); __this->set_inUse_1(((int32_t)((int32_t)L_18-(int32_t)1))); int32_t L_19 = __this->get_modificationCount_2(); __this->set_modificationCount_2(((int32_t)((int32_t)L_19+(int32_t)1))); } IL_0076: { return; } } // System.Boolean System.Collections.Hashtable::ContainsKey(System.Object) extern "C" bool Hashtable_ContainsKey_m2716576664 (Hashtable_t909839986 * __this, Il2CppObject * ___key0, const MethodInfo* method) { { Il2CppObject * L_0 = ___key0; bool L_1 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(27 /* System.Boolean System.Collections.Hashtable::Contains(System.Object) */, __this, L_0); return L_1; } } // System.Object System.Collections.Hashtable::Clone() extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_Clone_m165405752_MetadataUsageId; extern "C" Il2CppObject * Hashtable_Clone_m165405752 (Hashtable_t909839986 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_Clone_m165405752_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Hashtable_t909839986 * L_0 = (Hashtable_t909839986 *)il2cpp_codegen_object_new(Hashtable_t909839986_il2cpp_TypeInfo_var); Hashtable__ctor_m392789568(L_0, __this, /*hidden argument*/NULL); return L_0; } } // System.Void System.Collections.Hashtable::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2792112382; extern Il2CppCodeGenString* _stringLiteral3783951247; extern Il2CppCodeGenString* _stringLiteral4699698; extern Il2CppCodeGenString* _stringLiteral1017838394; extern Il2CppCodeGenString* _stringLiteral3743961169; extern Il2CppCodeGenString* _stringLiteral3671867086; extern Il2CppCodeGenString* _stringLiteral1076841975; extern Il2CppCodeGenString* _stringLiteral1857678454; extern Il2CppCodeGenString* _stringLiteral1188955108; extern Il2CppCodeGenString* _stringLiteral339570409; extern const uint32_t Hashtable_GetObjectData_m2946130828_MetadataUsageId; extern "C" void Hashtable_GetObjectData_m2946130828 (Hashtable_t909839986 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_GetObjectData_m2946130828_MetadataUsageId); s_Il2CppMethodInitialized = true; } ObjectU5BU5D_t3614634134* V_0 = NULL; ObjectU5BU5D_t3614634134* V_1 = NULL; { SerializationInfo_t228987430 * L_0 = ___info0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2792112382, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { SerializationInfo_t228987430 * L_2 = ___info0; float L_3 = __this->get_loadFactor_3(); SerializationInfo_AddValue_m2342806462(L_2, _stringLiteral3783951247, L_3, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_4 = ___info0; int32_t L_5 = __this->get_modificationCount_2(); SerializationInfo_AddValue_m902275108(L_4, _stringLiteral4699698, L_5, /*hidden argument*/NULL); Il2CppObject * L_6 = __this->get_equalityComparer_12(); if (!L_6) { goto IL_0054; } } { SerializationInfo_t228987430 * L_7 = ___info0; Il2CppObject * L_8 = __this->get_equalityComparer_12(); SerializationInfo_AddValue_m1740888931(L_7, _stringLiteral1017838394, L_8, /*hidden argument*/NULL); goto IL_0065; } IL_0054: { SerializationInfo_t228987430 * L_9 = ___info0; Il2CppObject * L_10 = __this->get_comparerRef_10(); SerializationInfo_AddValue_m1740888931(L_9, _stringLiteral3743961169, L_10, /*hidden argument*/NULL); } IL_0065: { Il2CppObject * L_11 = __this->get_hcpRef_9(); if (!L_11) { goto IL_0081; } } { SerializationInfo_t228987430 * L_12 = ___info0; Il2CppObject * L_13 = __this->get_hcpRef_9(); SerializationInfo_AddValue_m1740888931(L_12, _stringLiteral3671867086, L_13, /*hidden argument*/NULL); } IL_0081: { SerializationInfo_t228987430 * L_14 = ___info0; SlotU5BU5D_t3166395312* L_15 = __this->get_table_4(); SerializationInfo_AddValue_m902275108(L_14, _stringLiteral1076841975, (((int32_t)((int32_t)(((Il2CppArray *)L_15)->max_length)))), /*hidden argument*/NULL); int32_t L_16 = __this->get_inUse_1(); V_0 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_16)); ObjectU5BU5D_t3614634134* L_17 = V_0; Hashtable_CopyToArray_m1529158630(__this, (Il2CppArray *)(Il2CppArray *)L_17, 0, 0, /*hidden argument*/NULL); int32_t L_18 = __this->get_inUse_1(); V_1 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_18)); ObjectU5BU5D_t3614634134* L_19 = V_1; Hashtable_CopyToArray_m1529158630(__this, (Il2CppArray *)(Il2CppArray *)L_19, 0, 1, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_20 = ___info0; ObjectU5BU5D_t3614634134* L_21 = V_0; SerializationInfo_AddValue_m1740888931(L_20, _stringLiteral1857678454, (Il2CppObject *)(Il2CppObject *)L_21, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_22 = ___info0; ObjectU5BU5D_t3614634134* L_23 = V_1; SerializationInfo_AddValue_m1740888931(L_22, _stringLiteral1188955108, (Il2CppObject *)(Il2CppObject *)L_23, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_24 = ___info0; Il2CppObject * L_25 = __this->get_equalityComparer_12(); SerializationInfo_AddValue_m1740888931(L_24, _stringLiteral339570409, L_25, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::OnDeserialization(System.Object) extern const Il2CppType* Single_t2076509932_0_0_0_var; extern const Il2CppType* Int32_t2071877448_0_0_0_var; extern const Il2CppType* Il2CppObject_0_0_0_var; extern const Il2CppType* ObjectU5BU5D_t3614634134_0_0_0_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* Single_t2076509932_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* IEqualityComparer_t2716208158_il2cpp_TypeInfo_var; extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern Il2CppClass* IComparer_t3952557350_il2cpp_TypeInfo_var; extern Il2CppClass* IHashCodeProvider_t1980576455_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* SerializationException_t753258759_il2cpp_TypeInfo_var; extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern Il2CppClass* SlotU5BU5D_t3166395312_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3783951247; extern Il2CppCodeGenString* _stringLiteral4699698; extern Il2CppCodeGenString* _stringLiteral1017838394; extern Il2CppCodeGenString* _stringLiteral3743961169; extern Il2CppCodeGenString* _stringLiteral3671867086; extern Il2CppCodeGenString* _stringLiteral1076841975; extern Il2CppCodeGenString* _stringLiteral1857678454; extern Il2CppCodeGenString* _stringLiteral1188955108; extern Il2CppCodeGenString* _stringLiteral918595484; extern const uint32_t Hashtable_OnDeserialization_m4192849898_MetadataUsageId; extern "C" void Hashtable_OnDeserialization_m4192849898 (Hashtable_t909839986 * __this, Il2CppObject * ___sender0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_OnDeserialization_m4192849898_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; ObjectU5BU5D_t3614634134* V_1 = NULL; ObjectU5BU5D_t3614634134* V_2 = NULL; int32_t V_3 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { SerializationInfo_t228987430 * L_0 = __this->get_serializationInfo_11(); if (L_0) { goto IL_000c; } } { return; } IL_000c: { SerializationInfo_t228987430 * L_1 = __this->get_serializationInfo_11(); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_2 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Single_t2076509932_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_3 = SerializationInfo_GetValue_m1127314592(L_1, _stringLiteral3783951247, L_2, /*hidden argument*/NULL); __this->set_loadFactor_3(((*(float*)((float*)UnBox (L_3, Single_t2076509932_il2cpp_TypeInfo_var))))); SerializationInfo_t228987430 * L_4 = __this->get_serializationInfo_11(); Type_t * L_5 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Int32_t2071877448_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_6 = SerializationInfo_GetValue_m1127314592(L_4, _stringLiteral4699698, L_5, /*hidden argument*/NULL); __this->set_modificationCount_2(((*(int32_t*)((int32_t*)UnBox (L_6, Int32_t2071877448_il2cpp_TypeInfo_var))))); } IL_0056: try { // begin try (depth: 1) SerializationInfo_t228987430 * L_7 = __this->get_serializationInfo_11(); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_8 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Il2CppObject_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_9 = SerializationInfo_GetValue_m1127314592(L_7, _stringLiteral1017838394, L_8, /*hidden argument*/NULL); __this->set_equalityComparer_12(((Il2CppObject *)Castclass(L_9, IEqualityComparer_t2716208158_il2cpp_TypeInfo_var))); goto IL_0086; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0080; throw e; } CATCH_0080: { // begin catch(System.Object) goto IL_0086; } // end catch (depth: 1) IL_0086: { Il2CppObject * L_10 = __this->get_equalityComparer_12(); if (L_10) { goto IL_00b6; } } { SerializationInfo_t228987430 * L_11 = __this->get_serializationInfo_11(); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_12 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Il2CppObject_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_13 = SerializationInfo_GetValue_m1127314592(L_11, _stringLiteral3743961169, L_12, /*hidden argument*/NULL); __this->set_comparerRef_10(((Il2CppObject *)Castclass(L_13, IComparer_t3952557350_il2cpp_TypeInfo_var))); } IL_00b6: try { // begin try (depth: 1) SerializationInfo_t228987430 * L_14 = __this->get_serializationInfo_11(); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_15 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Il2CppObject_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_16 = SerializationInfo_GetValue_m1127314592(L_14, _stringLiteral3671867086, L_15, /*hidden argument*/NULL); __this->set_hcpRef_9(((Il2CppObject *)Castclass(L_16, IHashCodeProvider_t1980576455_il2cpp_TypeInfo_var))); goto IL_00e6; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_00e0; throw e; } CATCH_00e0: { // begin catch(System.Object) goto IL_00e6; } // end catch (depth: 1) IL_00e6: { SerializationInfo_t228987430 * L_17 = __this->get_serializationInfo_11(); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_18 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Int32_t2071877448_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_19 = SerializationInfo_GetValue_m1127314592(L_17, _stringLiteral1076841975, L_18, /*hidden argument*/NULL); V_0 = ((*(int32_t*)((int32_t*)UnBox (L_19, Int32_t2071877448_il2cpp_TypeInfo_var)))); SerializationInfo_t228987430 * L_20 = __this->get_serializationInfo_11(); Type_t * L_21 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(ObjectU5BU5D_t3614634134_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_22 = SerializationInfo_GetValue_m1127314592(L_20, _stringLiteral1857678454, L_21, /*hidden argument*/NULL); V_1 = ((ObjectU5BU5D_t3614634134*)Castclass(L_22, ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var)); SerializationInfo_t228987430 * L_23 = __this->get_serializationInfo_11(); Type_t * L_24 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(ObjectU5BU5D_t3614634134_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_25 = SerializationInfo_GetValue_m1127314592(L_23, _stringLiteral1188955108, L_24, /*hidden argument*/NULL); V_2 = ((ObjectU5BU5D_t3614634134*)Castclass(L_25, ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var)); ObjectU5BU5D_t3614634134* L_26 = V_1; ObjectU5BU5D_t3614634134* L_27 = V_2; if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_26)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_27)->max_length))))))) { goto IL_015c; } } { SerializationException_t753258759 * L_28 = (SerializationException_t753258759 *)il2cpp_codegen_object_new(SerializationException_t753258759_il2cpp_TypeInfo_var); SerializationException__ctor_m1019897788(L_28, _stringLiteral918595484, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_28); } IL_015c: { int32_t L_29 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); int32_t L_30 = Hashtable_ToPrime_m4277665615(NULL /*static, unused*/, L_29, /*hidden argument*/NULL); V_0 = L_30; int32_t L_31 = V_0; int32_t L_32 = V_0; Hashtable_SetTable_m539410518(__this, ((SlotU5BU5D_t3166395312*)SZArrayNew(SlotU5BU5D_t3166395312_il2cpp_TypeInfo_var, (uint32_t)L_31)), ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)L_32)), /*hidden argument*/NULL); V_3 = 0; goto IL_018c; } IL_017c: { ObjectU5BU5D_t3614634134* L_33 = V_1; int32_t L_34 = V_3; int32_t L_35 = L_34; Il2CppObject * L_36 = (L_33)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_35)); ObjectU5BU5D_t3614634134* L_37 = V_2; int32_t L_38 = V_3; int32_t L_39 = L_38; Il2CppObject * L_40 = (L_37)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_39)); VirtActionInvoker2< Il2CppObject *, Il2CppObject * >::Invoke(25 /* System.Void System.Collections.Hashtable::Add(System.Object,System.Object) */, __this, L_36, L_40); int32_t L_41 = V_3; V_3 = ((int32_t)((int32_t)L_41+(int32_t)1)); } IL_018c: { int32_t L_42 = V_3; ObjectU5BU5D_t3614634134* L_43 = V_1; if ((((int32_t)L_42) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_43)->max_length))))))) { goto IL_017c; } } { Hashtable_AdjustThreshold_m1839559810(__this, /*hidden argument*/NULL); __this->set_serializationInfo_11((SerializationInfo_t228987430 *)NULL); return; } } // System.Collections.Hashtable System.Collections.Hashtable::Synchronized(System.Collections.Hashtable) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* SyncHashtable_t1343674558_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral593465182; extern const uint32_t Hashtable_Synchronized_m225390213_MetadataUsageId; extern "C" Hashtable_t909839986 * Hashtable_Synchronized_m225390213 (Il2CppObject * __this /* static, unused */, Hashtable_t909839986 * ___table0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_Synchronized_m225390213_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Hashtable_t909839986 * L_0 = ___table0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral593465182, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Hashtable_t909839986 * L_2 = ___table0; SyncHashtable_t1343674558 * L_3 = (SyncHashtable_t1343674558 *)il2cpp_codegen_object_new(SyncHashtable_t1343674558_il2cpp_TypeInfo_var); SyncHashtable__ctor_m3750218498(L_3, L_2, /*hidden argument*/NULL); return L_3; } } // System.Int32 System.Collections.Hashtable::GetHash(System.Object) extern Il2CppClass* IEqualityComparer_t2716208158_il2cpp_TypeInfo_var; extern Il2CppClass* IHashCodeProvider_t1980576455_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_GetHash_m3524485628_MetadataUsageId; extern "C" int32_t Hashtable_GetHash_m3524485628 (Hashtable_t909839986 * __this, Il2CppObject * ___key0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_GetHash_m3524485628_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = __this->get_equalityComparer_12(); if (!L_0) { goto IL_0018; } } { Il2CppObject * L_1 = __this->get_equalityComparer_12(); Il2CppObject * L_2 = ___key0; int32_t L_3 = InterfaceFuncInvoker1< int32_t, Il2CppObject * >::Invoke(1 /* System.Int32 System.Collections.IEqualityComparer::GetHashCode(System.Object) */, IEqualityComparer_t2716208158_il2cpp_TypeInfo_var, L_1, L_2); return L_3; } IL_0018: { Il2CppObject * L_4 = __this->get_hcpRef_9(); if (L_4) { goto IL_002a; } } { Il2CppObject * L_5 = ___key0; int32_t L_6 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_5); return L_6; } IL_002a: { Il2CppObject * L_7 = __this->get_hcpRef_9(); Il2CppObject * L_8 = ___key0; int32_t L_9 = InterfaceFuncInvoker1< int32_t, Il2CppObject * >::Invoke(0 /* System.Int32 System.Collections.IHashCodeProvider::GetHashCode(System.Object) */, IHashCodeProvider_t1980576455_il2cpp_TypeInfo_var, L_7, L_8); return L_9; } } // System.Boolean System.Collections.Hashtable::KeyEquals(System.Object,System.Object) extern Il2CppClass* KeyMarker_t4029226070_il2cpp_TypeInfo_var; extern Il2CppClass* IEqualityComparer_t2716208158_il2cpp_TypeInfo_var; extern Il2CppClass* IComparer_t3952557350_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_KeyEquals_m1433874944_MetadataUsageId; extern "C" bool Hashtable_KeyEquals_m1433874944 (Hashtable_t909839986 * __this, Il2CppObject * ___item0, Il2CppObject * ___key1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_KeyEquals_m1433874944_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___key1; IL2CPP_RUNTIME_CLASS_INIT(KeyMarker_t4029226070_il2cpp_TypeInfo_var); KeyMarker_t4029226070 * L_1 = ((KeyMarker_t4029226070_StaticFields*)KeyMarker_t4029226070_il2cpp_TypeInfo_var->static_fields)->get_Removed_0(); if ((!(((Il2CppObject*)(Il2CppObject *)L_0) == ((Il2CppObject*)(KeyMarker_t4029226070 *)L_1)))) { goto IL_000d; } } { return (bool)0; } IL_000d: { Il2CppObject * L_2 = __this->get_equalityComparer_12(); if (!L_2) { goto IL_0026; } } { Il2CppObject * L_3 = __this->get_equalityComparer_12(); Il2CppObject * L_4 = ___item0; Il2CppObject * L_5 = ___key1; bool L_6 = InterfaceFuncInvoker2< bool, Il2CppObject *, Il2CppObject * >::Invoke(0 /* System.Boolean System.Collections.IEqualityComparer::Equals(System.Object,System.Object) */, IEqualityComparer_t2716208158_il2cpp_TypeInfo_var, L_3, L_4, L_5); return L_6; } IL_0026: { Il2CppObject * L_7 = __this->get_comparerRef_10(); if (L_7) { goto IL_0039; } } { Il2CppObject * L_8 = ___item0; Il2CppObject * L_9 = ___key1; bool L_10 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_8, L_9); return L_10; } IL_0039: { Il2CppObject * L_11 = __this->get_comparerRef_10(); Il2CppObject * L_12 = ___item0; Il2CppObject * L_13 = ___key1; int32_t L_14 = InterfaceFuncInvoker2< int32_t, Il2CppObject *, Il2CppObject * >::Invoke(0 /* System.Int32 System.Collections.IComparer::Compare(System.Object,System.Object) */, IComparer_t3952557350_il2cpp_TypeInfo_var, L_11, L_12, L_13); return (bool)((((int32_t)L_14) == ((int32_t)0))? 1 : 0); } } // System.Void System.Collections.Hashtable::AdjustThreshold() extern "C" void Hashtable_AdjustThreshold_m1839559810 (Hashtable_t909839986 * __this, const MethodInfo* method) { int32_t V_0 = 0; { SlotU5BU5D_t3166395312* L_0 = __this->get_table_4(); V_0 = (((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length)))); int32_t L_1 = V_0; float L_2 = __this->get_loadFactor_3(); __this->set_threshold_6((((int32_t)((int32_t)((float)((float)(((float)((float)L_1)))*(float)L_2)))))); int32_t L_3 = __this->get_threshold_6(); int32_t L_4 = V_0; if ((((int32_t)L_3) < ((int32_t)L_4))) { goto IL_002e; } } { int32_t L_5 = V_0; __this->set_threshold_6(((int32_t)((int32_t)L_5-(int32_t)1))); } IL_002e: { return; } } // System.Void System.Collections.Hashtable::SetTable(System.Collections.Hashtable/Slot[],System.Int32[]) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral593465182; extern const uint32_t Hashtable_SetTable_m539410518_MetadataUsageId; extern "C" void Hashtable_SetTable_m539410518 (Hashtable_t909839986 * __this, SlotU5BU5D_t3166395312* ___table0, Int32U5BU5D_t3030399641* ___hashes1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_SetTable_m539410518_MetadataUsageId); s_Il2CppMethodInitialized = true; } { SlotU5BU5D_t3166395312* L_0 = ___table0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral593465182, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { SlotU5BU5D_t3166395312* L_2 = ___table0; __this->set_table_4(L_2); Int32U5BU5D_t3030399641* L_3 = ___hashes1; __this->set_hashes_5(L_3); Hashtable_AdjustThreshold_m1839559810(__this, /*hidden argument*/NULL); return; } } // System.Int32 System.Collections.Hashtable::Find(System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3021628599; extern Il2CppCodeGenString* _stringLiteral1607936840; extern const uint32_t Hashtable_Find_m3504510125_MetadataUsageId; extern "C" int32_t Hashtable_Find_m3504510125 (Hashtable_t909839986 * __this, Il2CppObject * ___key0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_Find_m3504510125_MetadataUsageId); s_Il2CppMethodInitialized = true; } SlotU5BU5D_t3166395312* V_0 = NULL; Int32U5BU5D_t3030399641* V_1 = NULL; uint32_t V_2 = 0; int32_t V_3 = 0; uint32_t V_4 = 0; uint32_t V_5 = 0; uint32_t V_6 = 0; Slot_t2022531261 V_7; memset(&V_7, 0, sizeof(V_7)); int32_t V_8 = 0; Il2CppObject * V_9 = NULL; { Il2CppObject * L_0 = ___key0; if (L_0) { goto IL_0016; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m2624491786(L_1, _stringLiteral3021628599, _stringLiteral1607936840, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0016: { SlotU5BU5D_t3166395312* L_2 = __this->get_table_4(); V_0 = L_2; Int32U5BU5D_t3030399641* L_3 = __this->get_hashes_5(); V_1 = L_3; SlotU5BU5D_t3166395312* L_4 = V_0; V_2 = (((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length)))); Il2CppObject * L_5 = ___key0; int32_t L_6 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(34 /* System.Int32 System.Collections.Hashtable::GetHash(System.Object) */, __this, L_5); V_3 = ((int32_t)((int32_t)L_6&(int32_t)((int32_t)2147483647LL))); int32_t L_7 = V_3; V_4 = L_7; int32_t L_8 = V_3; uint32_t L_9 = V_2; V_5 = ((int32_t)((int32_t)((int32_t)((uint32_t)(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_8>>(int32_t)5))+(int32_t)1))%(uint32_t)(int32_t)((int32_t)((int32_t)L_9-(int32_t)1))))+(int32_t)1)); uint32_t L_10 = V_2; V_6 = L_10; goto IL_00c6; } IL_004e: { uint32_t L_11 = V_4; uint32_t L_12 = V_2; V_4 = ((int32_t)((uint32_t)(int32_t)L_11%(uint32_t)(int32_t)L_12)); SlotU5BU5D_t3166395312* L_13 = V_0; uint32_t L_14 = V_4; V_7 = (*(Slot_t2022531261 *)((L_13)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_14)))))); Int32U5BU5D_t3030399641* L_15 = V_1; uint32_t L_16 = V_4; uintptr_t L_17 = (((uintptr_t)L_16)); int32_t L_18 = (L_15)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_17)); V_8 = L_18; Il2CppObject * L_19 = (&V_7)->get_key_0(); V_9 = L_19; Il2CppObject * L_20 = V_9; if (L_20) { goto IL_0080; } } { goto IL_00ce; } IL_0080: { Il2CppObject * L_21 = V_9; Il2CppObject * L_22 = ___key0; if ((((Il2CppObject*)(Il2CppObject *)L_21) == ((Il2CppObject*)(Il2CppObject *)L_22))) { goto IL_00a4; } } { int32_t L_23 = V_8; int32_t L_24 = V_3; if ((!(((uint32_t)((int32_t)((int32_t)L_23&(int32_t)((int32_t)2147483647LL)))) == ((uint32_t)L_24)))) { goto IL_00a7; } } { Il2CppObject * L_25 = ___key0; Il2CppObject * L_26 = V_9; bool L_27 = VirtFuncInvoker2< bool, Il2CppObject *, Il2CppObject * >::Invoke(35 /* System.Boolean System.Collections.Hashtable::KeyEquals(System.Object,System.Object) */, __this, L_25, L_26); if (!L_27) { goto IL_00a7; } } IL_00a4: { uint32_t L_28 = V_4; return L_28; } IL_00a7: { int32_t L_29 = V_8; if (((int32_t)((int32_t)L_29&(int32_t)((int32_t)-2147483648LL)))) { goto IL_00b9; } } { goto IL_00ce; } IL_00b9: { uint32_t L_30 = V_4; uint32_t L_31 = V_5; V_4 = ((int32_t)((int32_t)L_30+(int32_t)L_31)); uint32_t L_32 = V_6; V_6 = ((int32_t)((int32_t)L_32-(int32_t)1)); } IL_00c6: { uint32_t L_33 = V_6; if ((!(((uint32_t)L_33) <= ((uint32_t)0)))) { goto IL_004e; } } IL_00ce: { return (-1); } } // System.Void System.Collections.Hashtable::Rehash() extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern Il2CppClass* SlotU5BU5D_t3166395312_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_Rehash_m2877670513_MetadataUsageId; extern "C" void Hashtable_Rehash_m2877670513 (Hashtable_t909839986 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_Rehash_m2877670513_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; uint32_t V_1 = 0; SlotU5BU5D_t3166395312* V_2 = NULL; SlotU5BU5D_t3166395312* V_3 = NULL; Int32U5BU5D_t3030399641* V_4 = NULL; Int32U5BU5D_t3030399641* V_5 = NULL; int32_t V_6 = 0; Slot_t2022531261 V_7; memset(&V_7, 0, sizeof(V_7)); int32_t V_8 = 0; uint32_t V_9 = 0; uint32_t V_10 = 0; uint32_t V_11 = 0; { SlotU5BU5D_t3166395312* L_0 = __this->get_table_4(); V_0 = (((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length)))); int32_t L_1 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); int32_t L_2 = Hashtable_ToPrime_m4277665615(NULL /*static, unused*/, ((int32_t)((int32_t)((int32_t)((int32_t)L_1<<(int32_t)1))|(int32_t)1)), /*hidden argument*/NULL); V_1 = L_2; uint32_t L_3 = V_1; V_2 = ((SlotU5BU5D_t3166395312*)SZArrayNew(SlotU5BU5D_t3166395312_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_3)))); SlotU5BU5D_t3166395312* L_4 = __this->get_table_4(); V_3 = L_4; uint32_t L_5 = V_1; V_4 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_5)))); Int32U5BU5D_t3030399641* L_6 = __this->get_hashes_5(); V_5 = L_6; V_6 = 0; goto IL_00fe; } IL_003c: { SlotU5BU5D_t3166395312* L_7 = V_3; int32_t L_8 = V_6; V_7 = (*(Slot_t2022531261 *)((L_7)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_8)))); Il2CppObject * L_9 = (&V_7)->get_key_0(); if (!L_9) { goto IL_00f8; } } { Int32U5BU5D_t3030399641* L_10 = V_5; int32_t L_11 = V_6; int32_t L_12 = L_11; int32_t L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12)); V_8 = ((int32_t)((int32_t)L_13&(int32_t)((int32_t)2147483647LL))); int32_t L_14 = V_8; V_9 = L_14; int32_t L_15 = V_8; uint32_t L_16 = V_1; V_10 = ((int32_t)((int32_t)((int32_t)((uint32_t)(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_15>>(int32_t)5))+(int32_t)1))%(uint32_t)(int32_t)((int32_t)((int32_t)L_16-(int32_t)1))))+(int32_t)1)); uint32_t L_17 = V_9; uint32_t L_18 = V_1; V_11 = ((int32_t)((uint32_t)(int32_t)L_17%(uint32_t)(int32_t)L_18)); goto IL_00f3; } IL_0081: { SlotU5BU5D_t3166395312* L_19 = V_2; uint32_t L_20 = V_11; Il2CppObject * L_21 = ((L_19)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_20)))))->get_key_0(); if (L_21) { goto IL_00d3; } } { SlotU5BU5D_t3166395312* L_22 = V_2; uint32_t L_23 = V_11; Il2CppObject * L_24 = (&V_7)->get_key_0(); ((L_22)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_23)))))->set_key_0(L_24); SlotU5BU5D_t3166395312* L_25 = V_2; uint32_t L_26 = V_11; Il2CppObject * L_27 = (&V_7)->get_value_1(); ((L_25)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_26)))))->set_value_1(L_27); Int32U5BU5D_t3030399641* L_28 = V_4; uint32_t L_29 = V_11; int32_t* L_30 = ((L_28)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_29))))); int32_t L_31 = V_8; *((int32_t*)(L_30)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_30))|(int32_t)L_31)); goto IL_00f8; } IL_00d3: { Int32U5BU5D_t3030399641* L_32 = V_4; uint32_t L_33 = V_11; int32_t* L_34 = ((L_32)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_33))))); *((int32_t*)(L_34)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_34))|(int32_t)((int32_t)-2147483648LL))); uint32_t L_35 = V_9; uint32_t L_36 = V_10; V_9 = ((int32_t)((int32_t)L_35+(int32_t)L_36)); uint32_t L_37 = V_9; uint32_t L_38 = V_1; V_11 = ((int32_t)((uint32_t)(int32_t)L_37%(uint32_t)(int32_t)L_38)); } IL_00f3: { goto IL_0081; } IL_00f8: { int32_t L_39 = V_6; V_6 = ((int32_t)((int32_t)L_39+(int32_t)1)); } IL_00fe: { int32_t L_40 = V_6; int32_t L_41 = V_0; if ((((int32_t)L_40) < ((int32_t)L_41))) { goto IL_003c; } } { int32_t L_42 = __this->get_modificationCount_2(); __this->set_modificationCount_2(((int32_t)((int32_t)L_42+(int32_t)1))); SlotU5BU5D_t3166395312* L_43 = V_2; Int32U5BU5D_t3030399641* L_44 = V_4; Hashtable_SetTable_m539410518(__this, L_43, L_44, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable::PutImpl(System.Object,System.Object,System.Boolean) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* KeyMarker_t4029226070_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3021628599; extern Il2CppCodeGenString* _stringLiteral1607936840; extern Il2CppCodeGenString* _stringLiteral1337731138; extern const uint32_t Hashtable_PutImpl_m3318435614_MetadataUsageId; extern "C" void Hashtable_PutImpl_m3318435614 (Hashtable_t909839986 * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, bool ___overwrite2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_PutImpl_m3318435614_MetadataUsageId); s_Il2CppMethodInitialized = true; } uint32_t V_0 = 0; int32_t V_1 = 0; uint32_t V_2 = 0; uint32_t V_3 = 0; SlotU5BU5D_t3166395312* V_4 = NULL; Int32U5BU5D_t3030399641* V_5 = NULL; Slot_t2022531261 V_6; memset(&V_6, 0, sizeof(V_6)); int32_t V_7 = 0; int32_t V_8 = 0; int32_t V_9 = 0; int32_t V_10 = 0; { Il2CppObject * L_0 = ___key0; if (L_0) { goto IL_0016; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m2624491786(L_1, _stringLiteral3021628599, _stringLiteral1607936840, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0016: { int32_t L_2 = __this->get_inUse_1(); int32_t L_3 = __this->get_threshold_6(); if ((((int32_t)L_2) < ((int32_t)L_3))) { goto IL_002d; } } { Hashtable_Rehash_m2877670513(__this, /*hidden argument*/NULL); } IL_002d: { SlotU5BU5D_t3166395312* L_4 = __this->get_table_4(); V_0 = (((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length)))); Il2CppObject * L_5 = ___key0; int32_t L_6 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(34 /* System.Int32 System.Collections.Hashtable::GetHash(System.Object) */, __this, L_5); V_1 = ((int32_t)((int32_t)L_6&(int32_t)((int32_t)2147483647LL))); int32_t L_7 = V_1; V_2 = L_7; uint32_t L_8 = V_2; uint32_t L_9 = V_0; V_3 = ((int32_t)((int32_t)((int32_t)((uint32_t)(int32_t)((int32_t)((int32_t)((int32_t)((uint32_t)L_8>>5))+(int32_t)1))%(uint32_t)(int32_t)((int32_t)((int32_t)L_9-(int32_t)1))))+(int32_t)1)); SlotU5BU5D_t3166395312* L_10 = __this->get_table_4(); V_4 = L_10; Int32U5BU5D_t3030399641* L_11 = __this->get_hashes_5(); V_5 = L_11; V_7 = (-1); V_8 = 0; goto IL_016d; } IL_006d: { uint32_t L_12 = V_2; uint32_t L_13 = V_0; V_9 = ((int32_t)((uint32_t)(int32_t)L_12%(uint32_t)(int32_t)L_13)); SlotU5BU5D_t3166395312* L_14 = V_4; int32_t L_15 = V_9; V_6 = (*(Slot_t2022531261 *)((L_14)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_15)))); Int32U5BU5D_t3030399641* L_16 = V_5; int32_t L_17 = V_9; int32_t L_18 = L_17; int32_t L_19 = (L_16)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_18)); V_10 = L_19; int32_t L_20 = V_7; if ((!(((uint32_t)L_20) == ((uint32_t)(-1))))) { goto IL_00b3; } } { Il2CppObject * L_21 = (&V_6)->get_key_0(); IL2CPP_RUNTIME_CLASS_INIT(KeyMarker_t4029226070_il2cpp_TypeInfo_var); KeyMarker_t4029226070 * L_22 = ((KeyMarker_t4029226070_StaticFields*)KeyMarker_t4029226070_il2cpp_TypeInfo_var->static_fields)->get_Removed_0(); if ((!(((Il2CppObject*)(Il2CppObject *)L_21) == ((Il2CppObject*)(KeyMarker_t4029226070 *)L_22)))) { goto IL_00b3; } } { int32_t L_23 = V_10; if (!((int32_t)((int32_t)L_23&(int32_t)((int32_t)-2147483648LL)))) { goto IL_00b3; } } { int32_t L_24 = V_9; V_7 = L_24; } IL_00b3: { Il2CppObject * L_25 = (&V_6)->get_key_0(); if (!L_25) { goto IL_00dd; } } { Il2CppObject * L_26 = (&V_6)->get_key_0(); IL2CPP_RUNTIME_CLASS_INIT(KeyMarker_t4029226070_il2cpp_TypeInfo_var); KeyMarker_t4029226070 * L_27 = ((KeyMarker_t4029226070_StaticFields*)KeyMarker_t4029226070_il2cpp_TypeInfo_var->static_fields)->get_Removed_0(); if ((!(((Il2CppObject*)(Il2CppObject *)L_26) == ((Il2CppObject*)(KeyMarker_t4029226070 *)L_27)))) { goto IL_00ee; } } { int32_t L_28 = V_10; if (((int32_t)((int32_t)L_28&(int32_t)((int32_t)-2147483648LL)))) { goto IL_00ee; } } IL_00dd: { int32_t L_29 = V_7; if ((!(((uint32_t)L_29) == ((uint32_t)(-1))))) { goto IL_00e9; } } { int32_t L_30 = V_9; V_7 = L_30; } IL_00e9: { goto IL_0177; } IL_00ee: { int32_t L_31 = V_10; int32_t L_32 = V_1; if ((!(((uint32_t)((int32_t)((int32_t)L_31&(int32_t)((int32_t)2147483647LL)))) == ((uint32_t)L_32)))) { goto IL_0149; } } { Il2CppObject * L_33 = ___key0; Il2CppObject * L_34 = (&V_6)->get_key_0(); bool L_35 = VirtFuncInvoker2< bool, Il2CppObject *, Il2CppObject * >::Invoke(35 /* System.Boolean System.Collections.Hashtable::KeyEquals(System.Object,System.Object) */, __this, L_33, L_34); if (!L_35) { goto IL_0149; } } { bool L_36 = ___overwrite2; if (!L_36) { goto IL_0137; } } { SlotU5BU5D_t3166395312* L_37 = V_4; int32_t L_38 = V_9; Il2CppObject * L_39 = ___value1; ((L_37)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_38)))->set_value_1(L_39); int32_t L_40 = __this->get_modificationCount_2(); __this->set_modificationCount_2(((int32_t)((int32_t)L_40+(int32_t)1))); goto IL_0148; } IL_0137: { Il2CppObject * L_41 = ___key0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_42 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral1337731138, L_41, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_43 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_43, L_42, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_43); } IL_0148: { return; } IL_0149: { int32_t L_44 = V_7; if ((!(((uint32_t)L_44) == ((uint32_t)(-1))))) { goto IL_0163; } } { Int32U5BU5D_t3030399641* L_45 = V_5; int32_t L_46 = V_9; int32_t* L_47 = ((L_45)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_46))); *((int32_t*)(L_47)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_47))|(int32_t)((int32_t)-2147483648LL))); } IL_0163: { uint32_t L_48 = V_2; uint32_t L_49 = V_3; V_2 = ((int32_t)((int32_t)L_48+(int32_t)L_49)); int32_t L_50 = V_8; V_8 = ((int32_t)((int32_t)L_50+(int32_t)1)); } IL_016d: { int32_t L_51 = V_8; uint32_t L_52 = V_0; if ((((int64_t)(((int64_t)((int64_t)L_51)))) < ((int64_t)(((int64_t)((uint64_t)L_52)))))) { goto IL_006d; } } IL_0177: { int32_t L_53 = V_7; if ((((int32_t)L_53) == ((int32_t)(-1)))) { goto IL_01c7; } } { SlotU5BU5D_t3166395312* L_54 = V_4; int32_t L_55 = V_7; Il2CppObject * L_56 = ___key0; ((L_54)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_55)))->set_key_0(L_56); SlotU5BU5D_t3166395312* L_57 = V_4; int32_t L_58 = V_7; Il2CppObject * L_59 = ___value1; ((L_57)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_58)))->set_value_1(L_59); Int32U5BU5D_t3030399641* L_60 = V_5; int32_t L_61 = V_7; int32_t* L_62 = ((L_60)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_61))); int32_t L_63 = V_1; *((int32_t*)(L_62)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_62))|(int32_t)L_63)); int32_t L_64 = __this->get_inUse_1(); __this->set_inUse_1(((int32_t)((int32_t)L_64+(int32_t)1))); int32_t L_65 = __this->get_modificationCount_2(); __this->set_modificationCount_2(((int32_t)((int32_t)L_65+(int32_t)1))); } IL_01c7: { return; } } // System.Void System.Collections.Hashtable::CopyToArray(System.Array,System.Int32,System.Collections.Hashtable/EnumeratorMode) extern Il2CppClass* Enumerator_t2466348361_il2cpp_TypeInfo_var; extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_CopyToArray_m1529158630_MetadataUsageId; extern "C" void Hashtable_CopyToArray_m1529158630 (Hashtable_t909839986 * __this, Il2CppArray * ___arr0, int32_t ___i1, int32_t ___mode2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_CopyToArray_m1529158630_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; { int32_t L_0 = ___mode2; Enumerator_t2466348361 * L_1 = (Enumerator_t2466348361 *)il2cpp_codegen_object_new(Enumerator_t2466348361_il2cpp_TypeInfo_var); Enumerator__ctor_m2955072559(L_1, __this, L_0, /*hidden argument*/NULL); V_0 = L_1; goto IL_001f; } IL_000d: { Il2CppArray * L_2 = ___arr0; Il2CppObject * L_3 = V_0; Il2CppObject * L_4 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_3); int32_t L_5 = ___i1; int32_t L_6 = L_5; ___i1 = ((int32_t)((int32_t)L_6+(int32_t)1)); Array_SetValue_m2652759566(L_2, L_4, L_6, /*hidden argument*/NULL); } IL_001f: { Il2CppObject * L_7 = V_0; bool L_8 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_7); if (L_8) { goto IL_000d; } } { return; } } // System.Boolean System.Collections.Hashtable::TestPrime(System.Int32) extern "C" bool Hashtable_TestPrime_m96697534 (Il2CppObject * __this /* static, unused */, int32_t ___x0, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; { int32_t L_0 = ___x0; if (!((int32_t)((int32_t)L_0&(int32_t)1))) { goto IL_002f; } } { int32_t L_1 = ___x0; double L_2 = sqrt((((double)((double)L_1)))); V_0 = (((int32_t)((int32_t)L_2))); V_1 = 3; goto IL_0026; } IL_0018: { int32_t L_3 = ___x0; int32_t L_4 = V_1; if (((int32_t)((int32_t)L_3%(int32_t)L_4))) { goto IL_0022; } } { return (bool)0; } IL_0022: { int32_t L_5 = V_1; V_1 = ((int32_t)((int32_t)L_5+(int32_t)2)); } IL_0026: { int32_t L_6 = V_1; int32_t L_7 = V_0; if ((((int32_t)L_6) < ((int32_t)L_7))) { goto IL_0018; } } { return (bool)1; } IL_002f: { int32_t L_8 = ___x0; return (bool)((((int32_t)L_8) == ((int32_t)2))? 1 : 0); } } // System.Int32 System.Collections.Hashtable::CalcPrime(System.Int32) extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_CalcPrime_m1835281409_MetadataUsageId; extern "C" int32_t Hashtable_CalcPrime_m1835281409 (Il2CppObject * __this /* static, unused */, int32_t ___x0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_CalcPrime_m1835281409_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { int32_t L_0 = ___x0; V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)-2)))-(int32_t)1)); goto IL_001d; } IL_000c: { int32_t L_1 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); bool L_2 = Hashtable_TestPrime_m96697534(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0019; } } { int32_t L_3 = V_0; return L_3; } IL_0019: { int32_t L_4 = V_0; V_0 = ((int32_t)((int32_t)L_4+(int32_t)2)); } IL_001d: { int32_t L_5 = V_0; if ((((int32_t)L_5) < ((int32_t)((int32_t)2147483647LL)))) { goto IL_000c; } } { int32_t L_6 = ___x0; return L_6; } } // System.Int32 System.Collections.Hashtable::ToPrime(System.Int32) extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern const uint32_t Hashtable_ToPrime_m4277665615_MetadataUsageId; extern "C" int32_t Hashtable_ToPrime_m4277665615 (Il2CppObject * __this /* static, unused */, int32_t ___x0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Hashtable_ToPrime_m4277665615_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { V_0 = 0; goto IL_0020; } IL_0007: { int32_t L_0 = ___x0; IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); Int32U5BU5D_t3030399641* L_1 = ((Hashtable_t909839986_StaticFields*)Hashtable_t909839986_il2cpp_TypeInfo_var->static_fields)->get_primeTbl_13(); int32_t L_2 = V_0; int32_t L_3 = L_2; int32_t L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3)); if ((((int32_t)L_0) > ((int32_t)L_4))) { goto IL_001c; } } { IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); Int32U5BU5D_t3030399641* L_5 = ((Hashtable_t909839986_StaticFields*)Hashtable_t909839986_il2cpp_TypeInfo_var->static_fields)->get_primeTbl_13(); int32_t L_6 = V_0; int32_t L_7 = L_6; int32_t L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7)); return L_8; } IL_001c: { int32_t L_9 = V_0; V_0 = ((int32_t)((int32_t)L_9+(int32_t)1)); } IL_0020: { int32_t L_10 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); Int32U5BU5D_t3030399641* L_11 = ((Hashtable_t909839986_StaticFields*)Hashtable_t909839986_il2cpp_TypeInfo_var->static_fields)->get_primeTbl_13(); if ((((int32_t)L_10) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_11)->max_length))))))) { goto IL_0007; } } { int32_t L_12 = ___x0; IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); int32_t L_13 = Hashtable_CalcPrime_m1835281409(NULL /*static, unused*/, L_12, /*hidden argument*/NULL); return L_13; } } // System.Void System.Collections.Hashtable/Enumerator::.ctor(System.Collections.Hashtable,System.Collections.Hashtable/EnumeratorMode) extern "C" void Enumerator__ctor_m2955072559 (Enumerator_t2466348361 * __this, Hashtable_t909839986 * ___host0, int32_t ___mode1, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Hashtable_t909839986 * L_0 = ___host0; __this->set_host_0(L_0); Hashtable_t909839986 * L_1 = ___host0; int32_t L_2 = L_1->get_modificationCount_2(); __this->set_stamp_1(L_2); Hashtable_t909839986 * L_3 = ___host0; SlotU5BU5D_t3166395312* L_4 = L_3->get_table_4(); __this->set_size_3((((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length))))); int32_t L_5 = ___mode1; __this->set_mode_4(L_5); Enumerator_Reset_m2674551844(__this, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable/Enumerator::.cctor() extern Il2CppClass* Enumerator_t2466348361_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2975093126; extern const uint32_t Enumerator__cctor_m298562758_MetadataUsageId; extern "C" void Enumerator__cctor_m298562758 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator__cctor_m298562758_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ((Enumerator_t2466348361_StaticFields*)Enumerator_t2466348361_il2cpp_TypeInfo_var->static_fields)->set_xstr_7(_stringLiteral2975093126); return; } } // System.Void System.Collections.Hashtable/Enumerator::FailFast() extern Il2CppClass* Enumerator_t2466348361_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_FailFast_m1266450269_MetadataUsageId; extern "C" void Enumerator_FailFast_m1266450269 (Enumerator_t2466348361 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_FailFast_m1266450269_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Hashtable_t909839986 * L_0 = __this->get_host_0(); int32_t L_1 = L_0->get_modificationCount_2(); int32_t L_2 = __this->get_stamp_1(); if ((((int32_t)L_1) == ((int32_t)L_2))) { goto IL_0021; } } { IL2CPP_RUNTIME_CLASS_INIT(Enumerator_t2466348361_il2cpp_TypeInfo_var); String_t* L_3 = ((Enumerator_t2466348361_StaticFields*)Enumerator_t2466348361_il2cpp_TypeInfo_var->static_fields)->get_xstr_7(); InvalidOperationException_t721527559 * L_4 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_4, L_3, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0021: { return; } } // System.Void System.Collections.Hashtable/Enumerator::Reset() extern "C" void Enumerator_Reset_m2674551844 (Enumerator_t2466348361 * __this, const MethodInfo* method) { { Enumerator_FailFast_m1266450269(__this, /*hidden argument*/NULL); __this->set_pos_2((-1)); __this->set_currentKey_5(NULL); __this->set_currentValue_6(NULL); return; } } // System.Boolean System.Collections.Hashtable/Enumerator::MoveNext() extern Il2CppClass* KeyMarker_t4029226070_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_MoveNext_m2519972597_MetadataUsageId; extern "C" bool Enumerator_MoveNext_m2519972597 (Enumerator_t2466348361 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_MoveNext_m2519972597_MetadataUsageId); s_Il2CppMethodInitialized = true; } Slot_t2022531261 V_0; memset(&V_0, 0, sizeof(V_0)); int32_t V_1 = 0; { Enumerator_FailFast_m1266450269(__this, /*hidden argument*/NULL); int32_t L_0 = __this->get_pos_2(); int32_t L_1 = __this->get_size_3(); if ((((int32_t)L_0) >= ((int32_t)L_1))) { goto IL_008d; } } { goto IL_0071; } IL_001c: { Hashtable_t909839986 * L_2 = __this->get_host_0(); SlotU5BU5D_t3166395312* L_3 = L_2->get_table_4(); int32_t L_4 = __this->get_pos_2(); V_0 = (*(Slot_t2022531261 *)((L_3)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_4)))); Il2CppObject * L_5 = (&V_0)->get_key_0(); if (!L_5) { goto IL_0071; } } { Il2CppObject * L_6 = (&V_0)->get_key_0(); IL2CPP_RUNTIME_CLASS_INIT(KeyMarker_t4029226070_il2cpp_TypeInfo_var); KeyMarker_t4029226070 * L_7 = ((KeyMarker_t4029226070_StaticFields*)KeyMarker_t4029226070_il2cpp_TypeInfo_var->static_fields)->get_Removed_0(); if ((((Il2CppObject*)(Il2CppObject *)L_6) == ((Il2CppObject*)(KeyMarker_t4029226070 *)L_7))) { goto IL_0071; } } { Il2CppObject * L_8 = (&V_0)->get_key_0(); __this->set_currentKey_5(L_8); Il2CppObject * L_9 = (&V_0)->get_value_1(); __this->set_currentValue_6(L_9); return (bool)1; } IL_0071: { int32_t L_10 = __this->get_pos_2(); int32_t L_11 = ((int32_t)((int32_t)L_10+(int32_t)1)); V_1 = L_11; __this->set_pos_2(L_11); int32_t L_12 = V_1; int32_t L_13 = __this->get_size_3(); if ((((int32_t)L_12) < ((int32_t)L_13))) { goto IL_001c; } } IL_008d: { __this->set_currentKey_5(NULL); __this->set_currentValue_6(NULL); return (bool)0; } } // System.Collections.DictionaryEntry System.Collections.Hashtable/Enumerator::get_Entry() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_get_Entry_m3746815673_MetadataUsageId; extern "C" DictionaryEntry_t3048875398 Enumerator_get_Entry_m3746815673 (Enumerator_t2466348361 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_get_Entry_m3746815673_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = __this->get_currentKey_5(); if (L_0) { goto IL_0011; } } { InvalidOperationException_t721527559 * L_1 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Enumerator_FailFast_m1266450269(__this, /*hidden argument*/NULL); Il2CppObject * L_2 = __this->get_currentKey_5(); Il2CppObject * L_3 = __this->get_currentValue_6(); DictionaryEntry_t3048875398 L_4; memset(&L_4, 0, sizeof(L_4)); DictionaryEntry__ctor_m2901884110(&L_4, L_2, L_3, /*hidden argument*/NULL); return L_4; } } // System.Object System.Collections.Hashtable/Enumerator::get_Key() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_get_Key_m2313677772_MetadataUsageId; extern "C" Il2CppObject * Enumerator_get_Key_m2313677772 (Enumerator_t2466348361 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_get_Key_m2313677772_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = __this->get_currentKey_5(); if (L_0) { goto IL_0011; } } { InvalidOperationException_t721527559 * L_1 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Enumerator_FailFast_m1266450269(__this, /*hidden argument*/NULL); Il2CppObject * L_2 = __this->get_currentKey_5(); return L_2; } } // System.Object System.Collections.Hashtable/Enumerator::get_Value() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_get_Value_m3684748062_MetadataUsageId; extern "C" Il2CppObject * Enumerator_get_Value_m3684748062 (Enumerator_t2466348361 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_get_Value_m3684748062_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = __this->get_currentKey_5(); if (L_0) { goto IL_0011; } } { InvalidOperationException_t721527559 * L_1 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Enumerator_FailFast_m1266450269(__this, /*hidden argument*/NULL); Il2CppObject * L_2 = __this->get_currentValue_6(); return L_2; } } // System.Object System.Collections.Hashtable/Enumerator::get_Current() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppClass* DictionaryEntry_t3048875398_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1866335169; extern const uint32_t Enumerator_get_Current_m2240740370_MetadataUsageId; extern "C" Il2CppObject * Enumerator_get_Current_m2240740370 (Enumerator_t2466348361 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_get_Current_m2240740370_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { Il2CppObject * L_0 = __this->get_currentKey_5(); if (L_0) { goto IL_0011; } } { InvalidOperationException_t721527559 * L_1 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = __this->get_mode_4(); V_0 = L_2; int32_t L_3 = V_0; if (L_3 == 0) { goto IL_002f; } if (L_3 == 1) { goto IL_0036; } if (L_3 == 2) { goto IL_003d; } } { goto IL_0054; } IL_002f: { Il2CppObject * L_4 = __this->get_currentKey_5(); return L_4; } IL_0036: { Il2CppObject * L_5 = __this->get_currentValue_6(); return L_5; } IL_003d: { Il2CppObject * L_6 = __this->get_currentKey_5(); Il2CppObject * L_7 = __this->get_currentValue_6(); DictionaryEntry_t3048875398 L_8; memset(&L_8, 0, sizeof(L_8)); DictionaryEntry__ctor_m2901884110(&L_8, L_6, L_7, /*hidden argument*/NULL); DictionaryEntry_t3048875398 L_9 = L_8; Il2CppObject * L_10 = Box(DictionaryEntry_t3048875398_il2cpp_TypeInfo_var, &L_9); return L_10; } IL_0054: { Exception_t1927440687 * L_11 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var); Exception__ctor_m485833136(L_11, _stringLiteral1866335169, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } } // System.Void System.Collections.Hashtable/HashKeys::.ctor(System.Collections.Hashtable) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern const uint32_t HashKeys__ctor_m880759805_MetadataUsageId; extern "C" void HashKeys__ctor_m880759805 (HashKeys_t187688763 * __this, Hashtable_t909839986 * ___host0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (HashKeys__ctor_m880759805_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Hashtable_t909839986 * L_0 = ___host0; if (L_0) { goto IL_0012; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0012: { Hashtable_t909839986 * L_2 = ___host0; __this->set_host_0(L_2); return; } } // System.Int32 System.Collections.Hashtable/HashKeys::get_Count() extern "C" int32_t HashKeys_get_Count_m3976111589 (HashKeys_t187688763 * __this, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_0(); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(17 /* System.Int32 System.Collections.Hashtable::get_Count() */, L_0); return L_1; } } // System.Boolean System.Collections.Hashtable/HashKeys::get_IsSynchronized() extern "C" bool HashKeys_get_IsSynchronized_m4207641174 (HashKeys_t187688763 * __this, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_0(); bool L_1 = VirtFuncInvoker0< bool >::Invoke(18 /* System.Boolean System.Collections.Hashtable::get_IsSynchronized() */, L_0); return L_1; } } // System.Object System.Collections.Hashtable/HashKeys::get_SyncRoot() extern "C" Il2CppObject * HashKeys_get_SyncRoot_m2988898790 (HashKeys_t187688763 * __this, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_0(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); return L_1; } } // System.Void System.Collections.Hashtable/HashKeys::CopyTo(System.Array,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3015127219; extern Il2CppCodeGenString* _stringLiteral2080678471; extern const uint32_t HashKeys_CopyTo_m3566668422_MetadataUsageId; extern "C" void HashKeys_CopyTo_m3566668422 (HashKeys_t187688763 * __this, Il2CppArray * ___array0, int32_t ___arrayIndex1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (HashKeys_CopyTo_m3566668422_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) == ((int32_t)1))) { goto IL_0028; } } { ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_4, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0028: { int32_t L_5 = ___arrayIndex1; if ((((int32_t)L_5) >= ((int32_t)0))) { goto IL_003a; } } { ArgumentOutOfRangeException_t279959794 * L_6 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_6, _stringLiteral3015127219, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003a: { Il2CppArray * L_7 = ___array0; int32_t L_8 = Array_get_Length_m1498215565(L_7, /*hidden argument*/NULL); int32_t L_9 = ___arrayIndex1; int32_t L_10 = VirtFuncInvoker0< int32_t >::Invoke(9 /* System.Int32 System.Collections.Hashtable/HashKeys::get_Count() */, __this); if ((((int32_t)((int32_t)((int32_t)L_8-(int32_t)L_9))) >= ((int32_t)L_10))) { goto IL_0058; } } { ArgumentException_t3259014390 * L_11 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_11, _stringLiteral2080678471, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_0058: { Hashtable_t909839986 * L_12 = __this->get_host_0(); Il2CppArray * L_13 = ___array0; int32_t L_14 = ___arrayIndex1; Hashtable_CopyToArray_m1529158630(L_12, L_13, L_14, 0, /*hidden argument*/NULL); return; } } // System.Collections.IEnumerator System.Collections.Hashtable/HashKeys::GetEnumerator() extern Il2CppClass* Enumerator_t2466348361_il2cpp_TypeInfo_var; extern const uint32_t HashKeys_GetEnumerator_m822068965_MetadataUsageId; extern "C" Il2CppObject * HashKeys_GetEnumerator_m822068965 (HashKeys_t187688763 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (HashKeys_GetEnumerator_m822068965_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Hashtable_t909839986 * L_0 = __this->get_host_0(); Enumerator_t2466348361 * L_1 = (Enumerator_t2466348361 *)il2cpp_codegen_object_new(Enumerator_t2466348361_il2cpp_TypeInfo_var); Enumerator__ctor_m2955072559(L_1, L_0, 0, /*hidden argument*/NULL); return L_1; } } // System.Void System.Collections.Hashtable/HashValues::.ctor(System.Collections.Hashtable) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern const uint32_t HashValues__ctor_m1179103037_MetadataUsageId; extern "C" void HashValues__ctor_m1179103037 (HashValues_t2390200547 * __this, Hashtable_t909839986 * ___host0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (HashValues__ctor_m1179103037_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Hashtable_t909839986 * L_0 = ___host0; if (L_0) { goto IL_0012; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0012: { Hashtable_t909839986 * L_2 = ___host0; __this->set_host_0(L_2); return; } } // System.Int32 System.Collections.Hashtable/HashValues::get_Count() extern "C" int32_t HashValues_get_Count_m234926373 (HashValues_t2390200547 * __this, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_0(); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(17 /* System.Int32 System.Collections.Hashtable::get_Count() */, L_0); return L_1; } } // System.Boolean System.Collections.Hashtable/HashValues::get_IsSynchronized() extern "C" bool HashValues_get_IsSynchronized_m3159096748 (HashValues_t2390200547 * __this, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_0(); bool L_1 = VirtFuncInvoker0< bool >::Invoke(18 /* System.Boolean System.Collections.Hashtable::get_IsSynchronized() */, L_0); return L_1; } } // System.Object System.Collections.Hashtable/HashValues::get_SyncRoot() extern "C" Il2CppObject * HashValues_get_SyncRoot_m3785151084 (HashValues_t2390200547 * __this, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_0(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); return L_1; } } // System.Void System.Collections.Hashtable/HashValues::CopyTo(System.Array,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral3015127219; extern Il2CppCodeGenString* _stringLiteral2080678471; extern const uint32_t HashValues_CopyTo_m2845255708_MetadataUsageId; extern "C" void HashValues_CopyTo_m2845255708 (HashValues_t2390200547 * __this, Il2CppArray * ___array0, int32_t ___arrayIndex1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (HashValues_CopyTo_m2845255708_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppArray * L_2 = ___array0; int32_t L_3 = Array_get_Rank_m3837250695(L_2, /*hidden argument*/NULL); if ((((int32_t)L_3) == ((int32_t)1))) { goto IL_0028; } } { ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_4, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0028: { int32_t L_5 = ___arrayIndex1; if ((((int32_t)L_5) >= ((int32_t)0))) { goto IL_003a; } } { ArgumentOutOfRangeException_t279959794 * L_6 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_6, _stringLiteral3015127219, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003a: { Il2CppArray * L_7 = ___array0; int32_t L_8 = Array_get_Length_m1498215565(L_7, /*hidden argument*/NULL); int32_t L_9 = ___arrayIndex1; int32_t L_10 = VirtFuncInvoker0< int32_t >::Invoke(9 /* System.Int32 System.Collections.Hashtable/HashValues::get_Count() */, __this); if ((((int32_t)((int32_t)((int32_t)L_8-(int32_t)L_9))) >= ((int32_t)L_10))) { goto IL_0058; } } { ArgumentException_t3259014390 * L_11 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_11, _stringLiteral2080678471, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_0058: { Hashtable_t909839986 * L_12 = __this->get_host_0(); Il2CppArray * L_13 = ___array0; int32_t L_14 = ___arrayIndex1; Hashtable_CopyToArray_m1529158630(L_12, L_13, L_14, 1, /*hidden argument*/NULL); return; } } // System.Collections.IEnumerator System.Collections.Hashtable/HashValues::GetEnumerator() extern Il2CppClass* Enumerator_t2466348361_il2cpp_TypeInfo_var; extern const uint32_t HashValues_GetEnumerator_m4163180309_MetadataUsageId; extern "C" Il2CppObject * HashValues_GetEnumerator_m4163180309 (HashValues_t2390200547 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (HashValues_GetEnumerator_m4163180309_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Hashtable_t909839986 * L_0 = __this->get_host_0(); Enumerator_t2466348361 * L_1 = (Enumerator_t2466348361 *)il2cpp_codegen_object_new(Enumerator_t2466348361_il2cpp_TypeInfo_var); Enumerator__ctor_m2955072559(L_1, L_0, 1, /*hidden argument*/NULL); return L_1; } } // System.Void System.Collections.Hashtable/KeyMarker::.ctor() extern "C" void KeyMarker__ctor_m453051750 (KeyMarker_t4029226070 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Void System.Collections.Hashtable/KeyMarker::.cctor() extern Il2CppClass* KeyMarker_t4029226070_il2cpp_TypeInfo_var; extern const uint32_t KeyMarker__cctor_m2057880225_MetadataUsageId; extern "C" void KeyMarker__cctor_m2057880225 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (KeyMarker__cctor_m2057880225_MetadataUsageId); s_Il2CppMethodInitialized = true; } { KeyMarker_t4029226070 * L_0 = (KeyMarker_t4029226070 *)il2cpp_codegen_object_new(KeyMarker_t4029226070_il2cpp_TypeInfo_var); KeyMarker__ctor_m453051750(L_0, /*hidden argument*/NULL); ((KeyMarker_t4029226070_StaticFields*)KeyMarker_t4029226070_il2cpp_TypeInfo_var->static_fields)->set_Removed_0(L_0); return; } } // Conversion methods for marshalling of: System.Collections.Hashtable/Slot extern "C" void Slot_t2022531261_marshal_pinvoke(const Slot_t2022531261& unmarshaled, Slot_t2022531261_marshaled_pinvoke& marshaled) { Il2CppCodeGenException* ___key_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'key' of type 'Slot'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___key_0Exception); } extern "C" void Slot_t2022531261_marshal_pinvoke_back(const Slot_t2022531261_marshaled_pinvoke& marshaled, Slot_t2022531261& unmarshaled) { Il2CppCodeGenException* ___key_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'key' of type 'Slot'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___key_0Exception); } // Conversion method for clean up from marshalling of: System.Collections.Hashtable/Slot extern "C" void Slot_t2022531261_marshal_pinvoke_cleanup(Slot_t2022531261_marshaled_pinvoke& marshaled) { } // Conversion methods for marshalling of: System.Collections.Hashtable/Slot extern "C" void Slot_t2022531261_marshal_com(const Slot_t2022531261& unmarshaled, Slot_t2022531261_marshaled_com& marshaled) { Il2CppCodeGenException* ___key_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'key' of type 'Slot'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___key_0Exception); } extern "C" void Slot_t2022531261_marshal_com_back(const Slot_t2022531261_marshaled_com& marshaled, Slot_t2022531261& unmarshaled) { Il2CppCodeGenException* ___key_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'key' of type 'Slot'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___key_0Exception); } // Conversion method for clean up from marshalling of: System.Collections.Hashtable/Slot extern "C" void Slot_t2022531261_marshal_com_cleanup(Slot_t2022531261_marshaled_com& marshaled) { } // System.Void System.Collections.Hashtable/SyncHashtable::.ctor(System.Collections.Hashtable) extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern const uint32_t SyncHashtable__ctor_m3750218498_MetadataUsageId; extern "C" void SyncHashtable__ctor_m3750218498 (SyncHashtable_t1343674558 * __this, Hashtable_t909839986 * ___host0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SyncHashtable__ctor_m3750218498_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); Hashtable__ctor_m1884964176(__this, /*hidden argument*/NULL); Hashtable_t909839986 * L_0 = ___host0; if (L_0) { goto IL_0012; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0012: { Hashtable_t909839986 * L_2 = ___host0; __this->set_host_14(L_2); return; } } // System.Void System.Collections.Hashtable/SyncHashtable::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern const Il2CppType* Hashtable_t909839986_0_0_0_var; extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2240789522; extern const uint32_t SyncHashtable__ctor_m2029869827_MetadataUsageId; extern "C" void SyncHashtable__ctor_m2029869827 (SyncHashtable_t1343674558 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SyncHashtable__ctor_m2029869827_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Hashtable_t909839986_il2cpp_TypeInfo_var); Hashtable__ctor_m1884964176(__this, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_0 = ___info0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_1 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Hashtable_t909839986_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_2 = SerializationInfo_GetValue_m1127314592(L_0, _stringLiteral2240789522, L_1, /*hidden argument*/NULL); __this->set_host_14(((Hashtable_t909839986 *)CastclassClass(L_2, Hashtable_t909839986_il2cpp_TypeInfo_var))); return; } } // System.Collections.IEnumerator System.Collections.Hashtable/SyncHashtable::System.Collections.IEnumerable.GetEnumerator() extern Il2CppClass* Enumerator_t2466348361_il2cpp_TypeInfo_var; extern const uint32_t SyncHashtable_System_Collections_IEnumerable_GetEnumerator_m1781067581_MetadataUsageId; extern "C" Il2CppObject * SyncHashtable_System_Collections_IEnumerable_GetEnumerator_m1781067581 (SyncHashtable_t1343674558 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SyncHashtable_System_Collections_IEnumerable_GetEnumerator_m1781067581_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Hashtable_t909839986 * L_0 = __this->get_host_14(); Enumerator_t2466348361 * L_1 = (Enumerator_t2466348361 *)il2cpp_codegen_object_new(Enumerator_t2466348361_il2cpp_TypeInfo_var); Enumerator__ctor_m2955072559(L_1, L_0, 2, /*hidden argument*/NULL); return L_1; } } // System.Void System.Collections.Hashtable/SyncHashtable::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern Il2CppCodeGenString* _stringLiteral2240789522; extern const uint32_t SyncHashtable_GetObjectData_m3774367030_MetadataUsageId; extern "C" void SyncHashtable_GetObjectData_m3774367030 (SyncHashtable_t1343674558 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SyncHashtable_GetObjectData_m3774367030_MetadataUsageId); s_Il2CppMethodInitialized = true; } { SerializationInfo_t228987430 * L_0 = ___info0; Hashtable_t909839986 * L_1 = __this->get_host_14(); SerializationInfo_AddValue_m1740888931(L_0, _stringLiteral2240789522, L_1, /*hidden argument*/NULL); return; } } // System.Int32 System.Collections.Hashtable/SyncHashtable::get_Count() extern "C" int32_t SyncHashtable_get_Count_m3694444082 (SyncHashtable_t1343674558 * __this, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_14(); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(17 /* System.Int32 System.Collections.Hashtable::get_Count() */, L_0); return L_1; } } // System.Boolean System.Collections.Hashtable/SyncHashtable::get_IsSynchronized() extern "C" bool SyncHashtable_get_IsSynchronized_m3221883673 (SyncHashtable_t1343674558 * __this, const MethodInfo* method) { { return (bool)1; } } // System.Object System.Collections.Hashtable/SyncHashtable::get_SyncRoot() extern "C" Il2CppObject * SyncHashtable_get_SyncRoot_m1080095089 (SyncHashtable_t1343674558 * __this, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); return L_1; } } // System.Collections.ICollection System.Collections.Hashtable/SyncHashtable::get_Keys() extern "C" Il2CppObject * SyncHashtable_get_Keys_m1450767969 (SyncHashtable_t1343674558 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Il2CppObject * V_1 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { V_0 = (Il2CppObject *)NULL; Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); V_1 = L_1; Il2CppObject * L_2 = V_1; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_0014: try { // begin try (depth: 1) Hashtable_t909839986 * L_3 = __this->get_host_14(); Il2CppObject * L_4 = VirtFuncInvoker0< Il2CppObject * >::Invoke(20 /* System.Collections.ICollection System.Collections.Hashtable::get_Keys() */, L_3); V_0 = L_4; IL2CPP_LEAVE(0x2C, FINALLY_0025); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0025; } FINALLY_0025: { // begin finally (depth: 1) Il2CppObject * L_5 = V_1; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(37) } // end finally (depth: 1) IL2CPP_CLEANUP(37) { IL2CPP_JUMP_TBL(0x2C, IL_002c) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002c: { Il2CppObject * L_6 = V_0; return L_6; } } // System.Collections.ICollection System.Collections.Hashtable/SyncHashtable::get_Values() extern "C" Il2CppObject * SyncHashtable_get_Values_m829681721 (SyncHashtable_t1343674558 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Il2CppObject * V_1 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { V_0 = (Il2CppObject *)NULL; Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); V_1 = L_1; Il2CppObject * L_2 = V_1; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_0014: try { // begin try (depth: 1) Hashtable_t909839986 * L_3 = __this->get_host_14(); Il2CppObject * L_4 = VirtFuncInvoker0< Il2CppObject * >::Invoke(21 /* System.Collections.ICollection System.Collections.Hashtable::get_Values() */, L_3); V_0 = L_4; IL2CPP_LEAVE(0x2C, FINALLY_0025); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0025; } FINALLY_0025: { // begin finally (depth: 1) Il2CppObject * L_5 = V_1; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(37) } // end finally (depth: 1) IL2CPP_CLEANUP(37) { IL2CPP_JUMP_TBL(0x2C, IL_002c) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002c: { Il2CppObject * L_6 = V_0; return L_6; } } // System.Object System.Collections.Hashtable/SyncHashtable::get_Item(System.Object) extern "C" Il2CppObject * SyncHashtable_get_Item_m408601391 (SyncHashtable_t1343674558 * __this, Il2CppObject * ___key0, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = ___key0; Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, Il2CppObject * >::Invoke(22 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, L_0, L_1); return L_2; } } // System.Void System.Collections.Hashtable/SyncHashtable::set_Item(System.Object,System.Object) extern "C" void SyncHashtable_set_Item_m2261849272 (SyncHashtable_t1343674558 * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); V_0 = L_1; Il2CppObject * L_2 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_0012: try { // begin try (depth: 1) Hashtable_t909839986 * L_3 = __this->get_host_14(); Il2CppObject * L_4 = ___key0; Il2CppObject * L_5 = ___value1; VirtActionInvoker2< Il2CppObject *, Il2CppObject * >::Invoke(23 /* System.Void System.Collections.Hashtable::set_Item(System.Object,System.Object) */, L_3, L_4, L_5); IL2CPP_LEAVE(0x2B, FINALLY_0024); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0024; } FINALLY_0024: { // begin finally (depth: 1) Il2CppObject * L_6 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); IL2CPP_END_FINALLY(36) } // end finally (depth: 1) IL2CPP_CLEANUP(36) { IL2CPP_JUMP_TBL(0x2B, IL_002b) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002b: { return; } } // System.Void System.Collections.Hashtable/SyncHashtable::CopyTo(System.Array,System.Int32) extern "C" void SyncHashtable_CopyTo_m2909908413 (SyncHashtable_t1343674558 * __this, Il2CppArray * ___array0, int32_t ___arrayIndex1, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppArray * L_1 = ___array0; int32_t L_2 = ___arrayIndex1; VirtActionInvoker2< Il2CppArray *, int32_t >::Invoke(24 /* System.Void System.Collections.Hashtable::CopyTo(System.Array,System.Int32) */, L_0, L_1, L_2); return; } } // System.Void System.Collections.Hashtable/SyncHashtable::Add(System.Object,System.Object) extern "C" void SyncHashtable_Add_m207712017 (SyncHashtable_t1343674558 * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); V_0 = L_1; Il2CppObject * L_2 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_0012: try { // begin try (depth: 1) Hashtable_t909839986 * L_3 = __this->get_host_14(); Il2CppObject * L_4 = ___key0; Il2CppObject * L_5 = ___value1; VirtActionInvoker2< Il2CppObject *, Il2CppObject * >::Invoke(25 /* System.Void System.Collections.Hashtable::Add(System.Object,System.Object) */, L_3, L_4, L_5); IL2CPP_LEAVE(0x2B, FINALLY_0024); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0024; } FINALLY_0024: { // begin finally (depth: 1) Il2CppObject * L_6 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); IL2CPP_END_FINALLY(36) } // end finally (depth: 1) IL2CPP_CLEANUP(36) { IL2CPP_JUMP_TBL(0x2B, IL_002b) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002b: { return; } } // System.Void System.Collections.Hashtable/SyncHashtable::Clear() extern "C" void SyncHashtable_Clear_m179269693 (SyncHashtable_t1343674558 * __this, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); V_0 = L_1; Il2CppObject * L_2 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_0012: try { // begin try (depth: 1) Hashtable_t909839986 * L_3 = __this->get_host_14(); VirtActionInvoker0::Invoke(26 /* System.Void System.Collections.Hashtable::Clear() */, L_3); IL2CPP_LEAVE(0x29, FINALLY_0022); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0022; } FINALLY_0022: { // begin finally (depth: 1) Il2CppObject * L_4 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); IL2CPP_END_FINALLY(34) } // end finally (depth: 1) IL2CPP_CLEANUP(34) { IL2CPP_JUMP_TBL(0x29, IL_0029) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0029: { return; } } // System.Boolean System.Collections.Hashtable/SyncHashtable::Contains(System.Object) extern "C" bool SyncHashtable_Contains_m3042906549 (SyncHashtable_t1343674558 * __this, Il2CppObject * ___key0, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = ___key0; int32_t L_2 = Hashtable_Find_m3504510125(L_0, L_1, /*hidden argument*/NULL); return (bool)((((int32_t)((((int32_t)L_2) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Collections.IDictionaryEnumerator System.Collections.Hashtable/SyncHashtable::GetEnumerator() extern Il2CppClass* Enumerator_t2466348361_il2cpp_TypeInfo_var; extern const uint32_t SyncHashtable_GetEnumerator_m2934066942_MetadataUsageId; extern "C" Il2CppObject * SyncHashtable_GetEnumerator_m2934066942 (SyncHashtable_t1343674558 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SyncHashtable_GetEnumerator_m2934066942_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Hashtable_t909839986 * L_0 = __this->get_host_14(); Enumerator_t2466348361 * L_1 = (Enumerator_t2466348361 *)il2cpp_codegen_object_new(Enumerator_t2466348361_il2cpp_TypeInfo_var); Enumerator__ctor_m2955072559(L_1, L_0, 2, /*hidden argument*/NULL); return L_1; } } // System.Void System.Collections.Hashtable/SyncHashtable::Remove(System.Object) extern "C" void SyncHashtable_Remove_m694556812 (SyncHashtable_t1343674558 * __this, Il2CppObject * ___key0, const MethodInfo* method) { Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); V_0 = L_1; Il2CppObject * L_2 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_0012: try { // begin try (depth: 1) Hashtable_t909839986 * L_3 = __this->get_host_14(); Il2CppObject * L_4 = ___key0; VirtActionInvoker1< Il2CppObject * >::Invoke(29 /* System.Void System.Collections.Hashtable::Remove(System.Object) */, L_3, L_4); IL2CPP_LEAVE(0x2A, FINALLY_0023); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0023; } FINALLY_0023: { // begin finally (depth: 1) Il2CppObject * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(35) } // end finally (depth: 1) IL2CPP_CLEANUP(35) { IL2CPP_JUMP_TBL(0x2A, IL_002a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_002a: { return; } } // System.Boolean System.Collections.Hashtable/SyncHashtable::ContainsKey(System.Object) extern "C" bool SyncHashtable_ContainsKey_m3408601214 (SyncHashtable_t1343674558 * __this, Il2CppObject * ___key0, const MethodInfo* method) { { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = ___key0; bool L_2 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(27 /* System.Boolean System.Collections.Hashtable::Contains(System.Object) */, L_0, L_1); return L_2; } } // System.Object System.Collections.Hashtable/SyncHashtable::Clone() extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern Il2CppClass* SyncHashtable_t1343674558_il2cpp_TypeInfo_var; extern const uint32_t SyncHashtable_Clone_m480980630_MetadataUsageId; extern "C" Il2CppObject * SyncHashtable_Clone_m480980630 (SyncHashtable_t1343674558 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SyncHashtable_Clone_m480980630_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; Il2CppObject * V_1 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Hashtable_t909839986 * L_0 = __this->get_host_14(); Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(19 /* System.Object System.Collections.Hashtable::get_SyncRoot() */, L_0); V_0 = L_1; Il2CppObject * L_2 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_0012: try { // begin try (depth: 1) { Hashtable_t909839986 * L_3 = __this->get_host_14(); Il2CppObject * L_4 = VirtFuncInvoker0< Il2CppObject * >::Invoke(31 /* System.Object System.Collections.Hashtable::Clone() */, L_3); SyncHashtable_t1343674558 * L_5 = (SyncHashtable_t1343674558 *)il2cpp_codegen_object_new(SyncHashtable_t1343674558_il2cpp_TypeInfo_var); SyncHashtable__ctor_m3750218498(L_5, ((Hashtable_t909839986 *)CastclassClass(L_4, Hashtable_t909839986_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); V_1 = L_5; IL2CPP_LEAVE(0x39, FINALLY_0032); } IL_002d: { ; // IL_002d: leave IL_0039 } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0032; } FINALLY_0032: { // begin finally (depth: 1) Il2CppObject * L_6 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); IL2CPP_END_FINALLY(50) } // end finally (depth: 1) IL2CPP_CLEANUP(50) { IL2CPP_JUMP_TBL(0x39, IL_0039) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0039: { Il2CppObject * L_7 = V_1; return L_7; } } // System.Void System.Collections.SortedList::.ctor() extern Il2CppClass* SortedList_t3004938869_il2cpp_TypeInfo_var; extern const uint32_t SortedList__ctor_m2018398549_MetadataUsageId; extern "C" void SortedList__ctor_m2018398549 (SortedList_t3004938869 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList__ctor_m2018398549_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(SortedList_t3004938869_il2cpp_TypeInfo_var); int32_t L_0 = ((SortedList_t3004938869_StaticFields*)SortedList_t3004938869_il2cpp_TypeInfo_var->static_fields)->get_INITIAL_SIZE_0(); SortedList__ctor_m3874385060(__this, (Il2CppObject *)NULL, L_0, /*hidden argument*/NULL); return; } } // System.Void System.Collections.SortedList::.ctor(System.Int32) extern "C" void SortedList__ctor_m3698381356 (SortedList_t3004938869 * __this, int32_t ___initialCapacity0, const MethodInfo* method) { { int32_t L_0 = ___initialCapacity0; SortedList__ctor_m3874385060(__this, (Il2CppObject *)NULL, L_0, /*hidden argument*/NULL); return; } } // System.Void System.Collections.SortedList::.ctor(System.Collections.IComparer,System.Int32) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* SortedList_t3004938869_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3404069002; extern const uint32_t SortedList__ctor_m3874385060_MetadataUsageId; extern "C" void SortedList__ctor_m3874385060 (SortedList_t3004938869 * __this, Il2CppObject * ___comparer0, int32_t ___capacity1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList__ctor_m3874385060_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); int32_t L_0 = ___capacity1; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_0018; } } { ArgumentOutOfRangeException_t279959794 * L_1 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_1, _stringLiteral3404069002, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0018: { int32_t L_2 = ___capacity1; if (L_2) { goto IL_002a; } } { __this->set_defaultCapacity_5(0); goto IL_0035; } IL_002a: { IL2CPP_RUNTIME_CLASS_INIT(SortedList_t3004938869_il2cpp_TypeInfo_var); int32_t L_3 = ((SortedList_t3004938869_StaticFields*)SortedList_t3004938869_il2cpp_TypeInfo_var->static_fields)->get_INITIAL_SIZE_0(); __this->set_defaultCapacity_5(L_3); } IL_0035: { Il2CppObject * L_4 = ___comparer0; __this->set_comparer_4(L_4); int32_t L_5 = ___capacity1; SortedList_InitTable_m460350503(__this, L_5, (bool)1, /*hidden argument*/NULL); return; } } // System.Void System.Collections.SortedList::.ctor(System.Collections.IDictionary,System.Collections.IComparer) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ICollection_t91669223_il2cpp_TypeInfo_var; extern Il2CppClass* IDictionary_t596158605_il2cpp_TypeInfo_var; extern Il2CppClass* IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var; extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3629755714; extern const uint32_t SortedList__ctor_m1831582390_MetadataUsageId; extern "C" void SortedList__ctor_m1831582390 (SortedList_t3004938869 * __this, Il2CppObject * ___d0, Il2CppObject * ___comparer1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList__ctor_m1831582390_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Il2CppObject * L_0 = ___d0; if (L_0) { goto IL_0017; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3629755714, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0017: { Il2CppObject * L_2 = ___d0; int32_t L_3 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_t91669223_il2cpp_TypeInfo_var, L_2); SortedList_InitTable_m460350503(__this, L_3, (bool)1, /*hidden argument*/NULL); Il2CppObject * L_4 = ___comparer1; __this->set_comparer_4(L_4); Il2CppObject * L_5 = ___d0; Il2CppObject * L_6 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(3 /* System.Collections.IDictionaryEnumerator System.Collections.IDictionary::GetEnumerator() */, IDictionary_t596158605_il2cpp_TypeInfo_var, L_5); V_0 = L_6; goto IL_0049; } IL_0037: { Il2CppObject * L_7 = V_0; Il2CppObject * L_8 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(1 /* System.Object System.Collections.IDictionaryEnumerator::get_Key() */, IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var, L_7); Il2CppObject * L_9 = V_0; Il2CppObject * L_10 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(2 /* System.Object System.Collections.IDictionaryEnumerator::get_Value() */, IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var, L_9); VirtActionInvoker2< Il2CppObject *, Il2CppObject * >::Invoke(24 /* System.Void System.Collections.SortedList::Add(System.Object,System.Object) */, __this, L_8, L_10); } IL_0049: { Il2CppObject * L_11 = V_0; bool L_12 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_11); if (L_12) { goto IL_0037; } } { return; } } // System.Void System.Collections.SortedList::.cctor() extern Il2CppClass* SortedList_t3004938869_il2cpp_TypeInfo_var; extern const uint32_t SortedList__cctor_m2875591912_MetadataUsageId; extern "C" void SortedList__cctor_m2875591912 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList__cctor_m2875591912_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ((SortedList_t3004938869_StaticFields*)SortedList_t3004938869_il2cpp_TypeInfo_var->static_fields)->set_INITIAL_SIZE_0(((int32_t)16)); return; } } // System.Collections.IEnumerator System.Collections.SortedList::System.Collections.IEnumerable.GetEnumerator() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern const uint32_t SortedList_System_Collections_IEnumerable_GetEnumerator_m561951806_MetadataUsageId; extern "C" Il2CppObject * SortedList_System_Collections_IEnumerable_GetEnumerator_m561951806 (SortedList_t3004938869 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_System_Collections_IEnumerable_GetEnumerator_m561951806_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Enumerator_t1531140124 * L_0 = (Enumerator_t1531140124 *)il2cpp_codegen_object_new(Enumerator_t1531140124_il2cpp_TypeInfo_var); Enumerator__ctor_m5846420(L_0, __this, 2, /*hidden argument*/NULL); return L_0; } } // System.Int32 System.Collections.SortedList::get_Count() extern "C" int32_t SortedList_get_Count_m989621893 (SortedList_t3004938869 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_inUse_1(); return L_0; } } // System.Boolean System.Collections.SortedList::get_IsSynchronized() extern "C" bool SortedList_get_IsSynchronized_m1455943838 (SortedList_t3004938869 * __this, const MethodInfo* method) { { return (bool)0; } } // System.Object System.Collections.SortedList::get_SyncRoot() extern "C" Il2CppObject * SortedList_get_SyncRoot_m3299704254 (SortedList_t3004938869 * __this, const MethodInfo* method) { { return __this; } } // System.Boolean System.Collections.SortedList::get_IsFixedSize() extern "C" bool SortedList_get_IsFixedSize_m2529229381 (SortedList_t3004938869 * __this, const MethodInfo* method) { { return (bool)0; } } // System.Boolean System.Collections.SortedList::get_IsReadOnly() extern "C" bool SortedList_get_IsReadOnly_m3706327226 (SortedList_t3004938869 * __this, const MethodInfo* method) { { return (bool)0; } } // System.Object System.Collections.SortedList::get_Item(System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern const uint32_t SortedList_get_Item_m736581006_MetadataUsageId; extern "C" Il2CppObject * SortedList_get_Item_m736581006 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_get_Item_m736581006_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___key0; if (L_0) { goto IL_000c; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_000c: { Il2CppObject * L_2 = ___key0; Il2CppObject * L_3 = SortedList_GetImpl_m1166576832(__this, L_2, /*hidden argument*/NULL); return L_3; } } // System.Void System.Collections.SortedList::set_Item(System.Object,System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4248879507; extern Il2CppCodeGenString* _stringLiteral920093441; extern const uint32_t SortedList_set_Item_m3109168821_MetadataUsageId; extern "C" void SortedList_set_Item_m3109168821 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_set_Item_m3109168821_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___key0; if (L_0) { goto IL_000c; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_000c: { bool L_2 = VirtFuncInvoker0< bool >::Invoke(19 /* System.Boolean System.Collections.SortedList::get_IsReadOnly() */, __this); if (!L_2) { goto IL_0022; } } { NotSupportedException_t1793819818 * L_3 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_3, _stringLiteral4248879507, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { Il2CppObject * L_4 = ___key0; int32_t L_5 = SortedList_Find_m1529794918(__this, L_4, /*hidden argument*/NULL); if ((((int32_t)L_5) >= ((int32_t)0))) { goto IL_0045; } } { bool L_6 = VirtFuncInvoker0< bool >::Invoke(18 /* System.Boolean System.Collections.SortedList::get_IsFixedSize() */, __this); if (!L_6) { goto IL_0045; } } { NotSupportedException_t1793819818 * L_7 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_7, _stringLiteral920093441, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0045: { Il2CppObject * L_8 = ___key0; Il2CppObject * L_9 = ___value1; SortedList_PutImpl_m890050679(__this, L_8, L_9, (bool)1, /*hidden argument*/NULL); return; } } // System.Int32 System.Collections.SortedList::get_Capacity() extern "C" int32_t SortedList_get_Capacity_m887547236 (SortedList_t3004938869 * __this, const MethodInfo* method) { { SlotU5BU5D_t652449215* L_0 = __this->get_table_3(); return (((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length)))); } } // System.Void System.Collections.SortedList::set_Capacity(System.Int32) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* SlotU5BU5D_t652449215_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2971593183; extern const uint32_t SortedList_set_Capacity_m1978575685_MetadataUsageId; extern "C" void SortedList_set_Capacity_m1978575685 (SortedList_t3004938869 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_set_Capacity_m1978575685_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; SlotU5BU5D_t652449215* V_1 = NULL; SlotU5BU5D_t652449215* V_2 = NULL; SlotU5BU5D_t652449215* V_3 = NULL; { SlotU5BU5D_t652449215* L_0 = __this->get_table_3(); V_0 = (((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length)))); int32_t L_1 = __this->get_inUse_1(); int32_t L_2 = ___value0; if ((((int32_t)L_1) <= ((int32_t)L_2))) { goto IL_0020; } } { ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_3, _stringLiteral2971593183, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0020: { int32_t L_4 = ___value0; if (L_4) { goto IL_0050; } } { int32_t L_5 = __this->get_defaultCapacity_5(); V_1 = ((SlotU5BU5D_t652449215*)SZArrayNew(SlotU5BU5D_t652449215_il2cpp_TypeInfo_var, (uint32_t)L_5)); SlotU5BU5D_t652449215* L_6 = __this->get_table_3(); SlotU5BU5D_t652449215* L_7 = V_1; int32_t L_8 = __this->get_inUse_1(); Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_6, (Il2CppArray *)(Il2CppArray *)L_7, L_8, /*hidden argument*/NULL); SlotU5BU5D_t652449215* L_9 = V_1; __this->set_table_3(L_9); goto IL_00a3; } IL_0050: { int32_t L_10 = ___value0; int32_t L_11 = __this->get_inUse_1(); if ((((int32_t)L_10) <= ((int32_t)L_11))) { goto IL_0081; } } { int32_t L_12 = ___value0; V_2 = ((SlotU5BU5D_t652449215*)SZArrayNew(SlotU5BU5D_t652449215_il2cpp_TypeInfo_var, (uint32_t)L_12)); SlotU5BU5D_t652449215* L_13 = __this->get_table_3(); SlotU5BU5D_t652449215* L_14 = V_2; int32_t L_15 = __this->get_inUse_1(); Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_13, (Il2CppArray *)(Il2CppArray *)L_14, L_15, /*hidden argument*/NULL); SlotU5BU5D_t652449215* L_16 = V_2; __this->set_table_3(L_16); goto IL_00a3; } IL_0081: { int32_t L_17 = ___value0; int32_t L_18 = V_0; if ((((int32_t)L_17) <= ((int32_t)L_18))) { goto IL_00a3; } } { int32_t L_19 = ___value0; V_3 = ((SlotU5BU5D_t652449215*)SZArrayNew(SlotU5BU5D_t652449215_il2cpp_TypeInfo_var, (uint32_t)L_19)); SlotU5BU5D_t652449215* L_20 = __this->get_table_3(); SlotU5BU5D_t652449215* L_21 = V_3; int32_t L_22 = V_0; Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_20, (Il2CppArray *)(Il2CppArray *)L_21, L_22, /*hidden argument*/NULL); SlotU5BU5D_t652449215* L_23 = V_3; __this->set_table_3(L_23); } IL_00a3: { return; } } // System.Void System.Collections.SortedList::Add(System.Object,System.Object) extern "C" void SortedList_Add_m3160058320 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, const MethodInfo* method) { { Il2CppObject * L_0 = ___key0; Il2CppObject * L_1 = ___value1; SortedList_PutImpl_m890050679(__this, L_0, L_1, (bool)0, /*hidden argument*/NULL); return; } } // System.Boolean System.Collections.SortedList::Contains(System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t SortedList_Contains_m89042552_MetadataUsageId; extern "C" bool SortedList_Contains_m89042552 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_Contains_m89042552_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = ___key0; if (L_0) { goto IL_000c; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_000c: try { // begin try (depth: 1) { Il2CppObject * L_2 = ___key0; int32_t L_3 = SortedList_Find_m1529794918(__this, L_2, /*hidden argument*/NULL); V_0 = (bool)((((int32_t)((((int32_t)L_3) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); goto IL_0030; } IL_001f: { ; // IL_001f: leave IL_0030 } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Exception_t1927440687_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0024; throw e; } CATCH_0024: { // begin catch(System.Exception) { InvalidOperationException_t721527559 * L_4 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_002b: { goto IL_0030; } } // end catch (depth: 1) IL_0030: { bool L_5 = V_0; return L_5; } } // System.Collections.IDictionaryEnumerator System.Collections.SortedList::GetEnumerator() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern const uint32_t SortedList_GetEnumerator_m1318483481_MetadataUsageId; extern "C" Il2CppObject * SortedList_GetEnumerator_m1318483481 (SortedList_t3004938869 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_GetEnumerator_m1318483481_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Enumerator_t1531140124 * L_0 = (Enumerator_t1531140124 *)il2cpp_codegen_object_new(Enumerator_t1531140124_il2cpp_TypeInfo_var); Enumerator__ctor_m5846420(L_0, __this, 2, /*hidden argument*/NULL); return L_0; } } // System.Void System.Collections.SortedList::Remove(System.Object) extern "C" void SortedList_Remove_m2105729849 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, const MethodInfo* method) { int32_t V_0 = 0; { Il2CppObject * L_0 = ___key0; int32_t L_1 = VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(31 /* System.Int32 System.Collections.SortedList::IndexOfKey(System.Object) */, __this, L_0); V_0 = L_1; int32_t L_2 = V_0; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_0016; } } { int32_t L_3 = V_0; VirtActionInvoker1< int32_t >::Invoke(30 /* System.Void System.Collections.SortedList::RemoveAt(System.Int32) */, __this, L_3); } IL_0016: { return; } } // System.Void System.Collections.SortedList::CopyTo(System.Array,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var; extern Il2CppClass* DictionaryEntry_t3048875398_il2cpp_TypeInfo_var; extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4096953184; extern Il2CppCodeGenString* _stringLiteral2749381913; extern Il2CppCodeGenString* _stringLiteral2246504116; extern const uint32_t SortedList_CopyTo_m1203849358_MetadataUsageId; extern "C" void SortedList_CopyTo_m1203849358 (SortedList_t3004938869 * __this, Il2CppArray * ___array0, int32_t ___arrayIndex1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_CopyTo_m1203849358_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; int32_t V_1 = 0; { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_000c; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_000c: { int32_t L_2 = ___arrayIndex1; if ((((int32_t)L_2) >= ((int32_t)0))) { goto IL_0019; } } { ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_3, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0019: { Il2CppArray * L_4 = ___array0; int32_t L_5 = Array_get_Rank_m3837250695(L_4, /*hidden argument*/NULL); if ((((int32_t)L_5) <= ((int32_t)1))) { goto IL_0030; } } { ArgumentException_t3259014390 * L_6 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_6, _stringLiteral4096953184, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_0030: { int32_t L_7 = ___arrayIndex1; Il2CppArray * L_8 = ___array0; int32_t L_9 = Array_get_Length_m1498215565(L_8, /*hidden argument*/NULL); if ((((int32_t)L_7) < ((int32_t)L_9))) { goto IL_0047; } } { ArgumentNullException_t628810857 * L_10 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_10, _stringLiteral2749381913, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } IL_0047: { int32_t L_11 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, __this); Il2CppArray * L_12 = ___array0; int32_t L_13 = Array_get_Length_m1498215565(L_12, /*hidden argument*/NULL); int32_t L_14 = ___arrayIndex1; if ((((int32_t)L_11) <= ((int32_t)((int32_t)((int32_t)L_13-(int32_t)L_14))))) { goto IL_0065; } } { ArgumentNullException_t628810857 * L_15 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_15, _stringLiteral2246504116, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_15); } IL_0065: { Il2CppObject * L_16 = VirtFuncInvoker0< Il2CppObject * >::Invoke(26 /* System.Collections.IDictionaryEnumerator System.Collections.SortedList::GetEnumerator() */, __this); V_0 = L_16; int32_t L_17 = ___arrayIndex1; V_1 = L_17; goto IL_0089; } IL_0073: { Il2CppArray * L_18 = ___array0; Il2CppObject * L_19 = V_0; DictionaryEntry_t3048875398 L_20 = InterfaceFuncInvoker0< DictionaryEntry_t3048875398 >::Invoke(0 /* System.Collections.DictionaryEntry System.Collections.IDictionaryEnumerator::get_Entry() */, IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var, L_19); DictionaryEntry_t3048875398 L_21 = L_20; Il2CppObject * L_22 = Box(DictionaryEntry_t3048875398_il2cpp_TypeInfo_var, &L_21); int32_t L_23 = V_1; int32_t L_24 = L_23; V_1 = ((int32_t)((int32_t)L_24+(int32_t)1)); Array_SetValue_m2652759566(L_18, L_22, L_24, /*hidden argument*/NULL); } IL_0089: { Il2CppObject * L_25 = V_0; bool L_26 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_25); if (L_26) { goto IL_0073; } } { return; } } // System.Object System.Collections.SortedList::Clone() extern Il2CppClass* SortedList_t3004938869_il2cpp_TypeInfo_var; extern const uint32_t SortedList_Clone_m885781019_MetadataUsageId; extern "C" Il2CppObject * SortedList_Clone_m885781019 (SortedList_t3004938869 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_Clone_m885781019_MetadataUsageId); s_Il2CppMethodInitialized = true; } SortedList_t3004938869 * V_0 = NULL; { Il2CppObject * L_0 = __this->get_comparer_4(); SortedList_t3004938869 * L_1 = (SortedList_t3004938869 *)il2cpp_codegen_object_new(SortedList_t3004938869_il2cpp_TypeInfo_var); SortedList__ctor_m1831582390(L_1, __this, L_0, /*hidden argument*/NULL); V_0 = L_1; SortedList_t3004938869 * L_2 = V_0; int32_t L_3 = __this->get_modificationCount_2(); L_2->set_modificationCount_2(L_3); SortedList_t3004938869 * L_4 = V_0; return L_4; } } // System.Void System.Collections.SortedList::RemoveAt(System.Int32) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1538948790; extern const uint32_t SortedList_RemoveAt_m3447877283_MetadataUsageId; extern "C" void SortedList_RemoveAt_m3447877283 (SortedList_t3004938869 * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_RemoveAt_m3447877283_MetadataUsageId); s_Il2CppMethodInitialized = true; } SlotU5BU5D_t652449215* V_0 = NULL; int32_t V_1 = 0; { SlotU5BU5D_t652449215* L_0 = __this->get_table_3(); V_0 = L_0; int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, __this); V_1 = L_1; int32_t L_2 = ___index0; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_0075; } } { int32_t L_3 = ___index0; int32_t L_4 = V_1; if ((((int32_t)L_3) >= ((int32_t)L_4))) { goto IL_0075; } } { int32_t L_5 = ___index0; int32_t L_6 = V_1; if ((((int32_t)L_5) == ((int32_t)((int32_t)((int32_t)L_6-(int32_t)1))))) { goto IL_003a; } } { SlotU5BU5D_t652449215* L_7 = V_0; int32_t L_8 = ___index0; SlotU5BU5D_t652449215* L_9 = V_0; int32_t L_10 = ___index0; int32_t L_11 = V_1; int32_t L_12 = ___index0; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_7, ((int32_t)((int32_t)L_8+(int32_t)1)), (Il2CppArray *)(Il2CppArray *)L_9, L_10, ((int32_t)((int32_t)((int32_t)((int32_t)L_11-(int32_t)1))-(int32_t)L_12)), /*hidden argument*/NULL); goto IL_0054; } IL_003a: { SlotU5BU5D_t652449215* L_13 = V_0; int32_t L_14 = ___index0; ((L_13)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_14)))->set_key_0(NULL); SlotU5BU5D_t652449215* L_15 = V_0; int32_t L_16 = ___index0; ((L_15)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_16)))->set_value_1(NULL); } IL_0054: { int32_t L_17 = __this->get_inUse_1(); __this->set_inUse_1(((int32_t)((int32_t)L_17-(int32_t)1))); int32_t L_18 = __this->get_modificationCount_2(); __this->set_modificationCount_2(((int32_t)((int32_t)L_18+(int32_t)1))); goto IL_0080; } IL_0075: { ArgumentOutOfRangeException_t279959794 * L_19 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_19, _stringLiteral1538948790, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_19); } IL_0080: { return; } } // System.Int32 System.Collections.SortedList::IndexOfKey(System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t SortedList_IndexOfKey_m1840737949_MetadataUsageId; extern "C" int32_t SortedList_IndexOfKey_m1840737949 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_IndexOfKey_m1840737949_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = ___key0; if (L_0) { goto IL_000c; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_000c: { V_0 = 0; } IL_000e: try { // begin try (depth: 1) Il2CppObject * L_2 = ___key0; int32_t L_3 = SortedList_Find_m1529794918(__this, L_2, /*hidden argument*/NULL); V_0 = L_3; goto IL_0027; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Exception_t1927440687_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_001b; throw e; } CATCH_001b: { // begin catch(System.Exception) { InvalidOperationException_t721527559 * L_4 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0022: { goto IL_0027; } } // end catch (depth: 1) IL_0027: { int32_t L_5 = V_0; int32_t L_6 = V_0; return ((int32_t)((int32_t)L_5|(int32_t)((int32_t)((int32_t)L_6>>(int32_t)((int32_t)31))))); } } // System.Boolean System.Collections.SortedList::ContainsKey(System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t SortedList_ContainsKey_m1389662883_MetadataUsageId; extern "C" bool SortedList_ContainsKey_m1389662883 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_ContainsKey_m1389662883_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = ___key0; if (L_0) { goto IL_000c; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_000c: try { // begin try (depth: 1) { Il2CppObject * L_2 = ___key0; bool L_3 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(25 /* System.Boolean System.Collections.SortedList::Contains(System.Object) */, __this, L_2); V_0 = L_3; goto IL_002a; } IL_0019: { ; // IL_0019: leave IL_002a } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Exception_t1927440687_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_001e; throw e; } CATCH_001e: { // begin catch(System.Exception) { InvalidOperationException_t721527559 * L_4 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0025: { goto IL_002a; } } // end catch (depth: 1) IL_002a: { bool L_5 = V_0; return L_5; } } // System.Object System.Collections.SortedList::GetByIndex(System.Int32) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1538948790; extern const uint32_t SortedList_GetByIndex_m322337214_MetadataUsageId; extern "C" Il2CppObject * SortedList_GetByIndex_m322337214 (SortedList_t3004938869 * __this, int32_t ___index0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_GetByIndex_m322337214_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___index0; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0025; } } { int32_t L_1 = ___index0; int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, __this); if ((((int32_t)L_1) >= ((int32_t)L_2))) { goto IL_0025; } } { SlotU5BU5D_t652449215* L_3 = __this->get_table_3(); int32_t L_4 = ___index0; Il2CppObject * L_5 = ((L_3)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_4)))->get_value_1(); return L_5; } IL_0025: { ArgumentOutOfRangeException_t279959794 * L_6 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_6, _stringLiteral1538948790, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } } // System.Void System.Collections.SortedList::EnsureCapacity(System.Int32,System.Int32) extern Il2CppClass* SlotU5BU5D_t652449215_il2cpp_TypeInfo_var; extern const uint32_t SortedList_EnsureCapacity_m464504063_MetadataUsageId; extern "C" void SortedList_EnsureCapacity_m464504063 (SortedList_t3004938869 * __this, int32_t ___n0, int32_t ___free1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_EnsureCapacity_m464504063_MetadataUsageId); s_Il2CppMethodInitialized = true; } SlotU5BU5D_t652449215* V_0 = NULL; SlotU5BU5D_t652449215* V_1 = NULL; int32_t V_2 = 0; bool V_3 = false; int32_t V_4 = 0; int32_t G_B3_0 = 0; { SlotU5BU5D_t652449215* L_0 = __this->get_table_3(); V_0 = L_0; V_1 = (SlotU5BU5D_t652449215*)NULL; int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(22 /* System.Int32 System.Collections.SortedList::get_Capacity() */, __this); V_2 = L_1; int32_t L_2 = ___free1; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_0022; } } { int32_t L_3 = ___free1; int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, __this); G_B3_0 = ((((int32_t)L_3) < ((int32_t)L_4))? 1 : 0); goto IL_0023; } IL_0022: { G_B3_0 = 0; } IL_0023: { V_3 = (bool)G_B3_0; int32_t L_5 = ___n0; int32_t L_6 = V_2; if ((((int32_t)L_5) <= ((int32_t)L_6))) { goto IL_0034; } } { int32_t L_7 = ___n0; V_1 = ((SlotU5BU5D_t652449215*)SZArrayNew(SlotU5BU5D_t652449215_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_7<<(int32_t)1)))); } IL_0034: { SlotU5BU5D_t652449215* L_8 = V_1; if (!L_8) { goto IL_0093; } } { bool L_9 = V_3; if (!L_9) { goto IL_007a; } } { int32_t L_10 = ___free1; V_4 = L_10; int32_t L_11 = V_4; if ((((int32_t)L_11) <= ((int32_t)0))) { goto IL_0056; } } { SlotU5BU5D_t652449215* L_12 = V_0; SlotU5BU5D_t652449215* L_13 = V_1; int32_t L_14 = V_4; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_12, 0, (Il2CppArray *)(Il2CppArray *)L_13, 0, L_14, /*hidden argument*/NULL); } IL_0056: { int32_t L_15 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, __this); int32_t L_16 = ___free1; V_4 = ((int32_t)((int32_t)L_15-(int32_t)L_16)); int32_t L_17 = V_4; if ((((int32_t)L_17) <= ((int32_t)0))) { goto IL_0075; } } { SlotU5BU5D_t652449215* L_18 = V_0; int32_t L_19 = ___free1; SlotU5BU5D_t652449215* L_20 = V_1; int32_t L_21 = ___free1; int32_t L_22 = V_4; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_18, L_19, (Il2CppArray *)(Il2CppArray *)L_20, ((int32_t)((int32_t)L_21+(int32_t)1)), L_22, /*hidden argument*/NULL); } IL_0075: { goto IL_0087; } IL_007a: { SlotU5BU5D_t652449215* L_23 = V_0; SlotU5BU5D_t652449215* L_24 = V_1; int32_t L_25 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, __this); Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_23, (Il2CppArray *)(Il2CppArray *)L_24, L_25, /*hidden argument*/NULL); } IL_0087: { SlotU5BU5D_t652449215* L_26 = V_1; __this->set_table_3(L_26); goto IL_00ac; } IL_0093: { bool L_27 = V_3; if (!L_27) { goto IL_00ac; } } { SlotU5BU5D_t652449215* L_28 = V_0; int32_t L_29 = ___free1; SlotU5BU5D_t652449215* L_30 = V_0; int32_t L_31 = ___free1; int32_t L_32 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, __this); int32_t L_33 = ___free1; Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_28, L_29, (Il2CppArray *)(Il2CppArray *)L_30, ((int32_t)((int32_t)L_31+(int32_t)1)), ((int32_t)((int32_t)L_32-(int32_t)L_33)), /*hidden argument*/NULL); } IL_00ac: { return; } } // System.Void System.Collections.SortedList::PutImpl(System.Object,System.Object,System.Boolean) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1607936840; extern Il2CppCodeGenString* _stringLiteral3712517006; extern Il2CppCodeGenString* _stringLiteral1023574356; extern Il2CppCodeGenString* _stringLiteral811305474; extern Il2CppCodeGenString* _stringLiteral1141777343; extern Il2CppCodeGenString* _stringLiteral372029425; extern const uint32_t SortedList_PutImpl_m890050679_MetadataUsageId; extern "C" void SortedList_PutImpl_m890050679 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, Il2CppObject * ___value1, bool ___overwrite2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_PutImpl_m890050679_MetadataUsageId); s_Il2CppMethodInitialized = true; } SlotU5BU5D_t652449215* V_0 = NULL; int32_t V_1 = 0; String_t* V_2 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Il2CppObject * L_0 = ___key0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1607936840, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { SlotU5BU5D_t652449215* L_2 = __this->get_table_3(); V_0 = L_2; V_1 = (-1); } IL_001a: try { // begin try (depth: 1) Il2CppObject * L_3 = ___key0; int32_t L_4 = SortedList_Find_m1529794918(__this, L_3, /*hidden argument*/NULL); V_1 = L_4; goto IL_0033; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Exception_t1927440687_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0027; throw e; } CATCH_0027: { // begin catch(System.Exception) { InvalidOperationException_t721527559 * L_5 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002e: { goto IL_0033; } } // end catch (depth: 1) IL_0033: { int32_t L_6 = V_1; if ((((int32_t)L_6) < ((int32_t)0))) { goto IL_0078; } } { bool L_7 = ___overwrite2; if (L_7) { goto IL_005c; } } { ObjectU5BU5D_t3614634134* L_8 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1)); Il2CppObject * L_9 = ___key0; ArrayElementTypeCheck (L_8, L_9); (L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_9); String_t* L_10 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral3712517006, L_8, /*hidden argument*/NULL); V_2 = L_10; String_t* L_11 = V_2; ArgumentException_t3259014390 * L_12 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_12, L_11, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_005c: { SlotU5BU5D_t652449215* L_13 = V_0; int32_t L_14 = V_1; Il2CppObject * L_15 = ___value1; ((L_13)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_14)))->set_value_1(L_15); int32_t L_16 = __this->get_modificationCount_2(); __this->set_modificationCount_2(((int32_t)((int32_t)L_16+(int32_t)1))); return; } IL_0078: { int32_t L_17 = V_1; V_1 = ((~L_17)); int32_t L_18 = V_1; int32_t L_19 = VirtFuncInvoker0< int32_t >::Invoke(22 /* System.Int32 System.Collections.SortedList::get_Capacity() */, __this); if ((((int32_t)L_18) <= ((int32_t)((int32_t)((int32_t)L_19+(int32_t)1))))) { goto IL_00cb; } } { ObjectU5BU5D_t3614634134* L_20 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)7)); ArrayElementTypeCheck (L_20, _stringLiteral1023574356); (L_20)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)_stringLiteral1023574356); ObjectU5BU5D_t3614634134* L_21 = L_20; Il2CppObject * L_22 = ___key0; ArrayElementTypeCheck (L_21, L_22); (L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_22); ObjectU5BU5D_t3614634134* L_23 = L_21; ArrayElementTypeCheck (L_23, _stringLiteral811305474); (L_23)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)_stringLiteral811305474); ObjectU5BU5D_t3614634134* L_24 = L_23; Il2CppObject * L_25 = ___value1; ArrayElementTypeCheck (L_24, L_25); (L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_25); ObjectU5BU5D_t3614634134* L_26 = L_24; ArrayElementTypeCheck (L_26, _stringLiteral1141777343); (L_26)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (Il2CppObject *)_stringLiteral1141777343); ObjectU5BU5D_t3614634134* L_27 = L_26; int32_t L_28 = V_1; int32_t L_29 = L_28; Il2CppObject * L_30 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_29); ArrayElementTypeCheck (L_27, L_30); (L_27)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (Il2CppObject *)L_30); ObjectU5BU5D_t3614634134* L_31 = L_27; ArrayElementTypeCheck (L_31, _stringLiteral372029425); (L_31)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (Il2CppObject *)_stringLiteral372029425); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_32 = String_Concat_m3881798623(NULL /*static, unused*/, L_31, /*hidden argument*/NULL); Exception_t1927440687 * L_33 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var); Exception__ctor_m485833136(L_33, L_32, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_33); } IL_00cb: { int32_t L_34 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, __this); int32_t L_35 = V_1; SortedList_EnsureCapacity_m464504063(__this, ((int32_t)((int32_t)L_34+(int32_t)1)), L_35, /*hidden argument*/NULL); SlotU5BU5D_t652449215* L_36 = __this->get_table_3(); V_0 = L_36; SlotU5BU5D_t652449215* L_37 = V_0; int32_t L_38 = V_1; Il2CppObject * L_39 = ___key0; ((L_37)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_38)))->set_key_0(L_39); SlotU5BU5D_t652449215* L_40 = V_0; int32_t L_41 = V_1; Il2CppObject * L_42 = ___value1; ((L_40)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_41)))->set_value_1(L_42); int32_t L_43 = __this->get_inUse_1(); __this->set_inUse_1(((int32_t)((int32_t)L_43+(int32_t)1))); int32_t L_44 = __this->get_modificationCount_2(); __this->set_modificationCount_2(((int32_t)((int32_t)L_44+(int32_t)1))); return; } } // System.Object System.Collections.SortedList::GetImpl(System.Object) extern "C" Il2CppObject * SortedList_GetImpl_m1166576832 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, const MethodInfo* method) { int32_t V_0 = 0; { Il2CppObject * L_0 = ___key0; int32_t L_1 = SortedList_Find_m1529794918(__this, L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = V_0; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_0021; } } { SlotU5BU5D_t652449215* L_3 = __this->get_table_3(); int32_t L_4 = V_0; Il2CppObject * L_5 = ((L_3)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_4)))->get_value_1(); return L_5; } IL_0021: { return NULL; } } // System.Void System.Collections.SortedList::InitTable(System.Int32,System.Boolean) extern Il2CppClass* SlotU5BU5D_t652449215_il2cpp_TypeInfo_var; extern const uint32_t SortedList_InitTable_m460350503_MetadataUsageId; extern "C" void SortedList_InitTable_m460350503 (SortedList_t3004938869 * __this, int32_t ___capacity0, bool ___forceSize1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_InitTable_m460350503_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = ___forceSize1; if (L_0) { goto IL_001a; } } { int32_t L_1 = ___capacity0; int32_t L_2 = __this->get_defaultCapacity_5(); if ((((int32_t)L_1) >= ((int32_t)L_2))) { goto IL_001a; } } { int32_t L_3 = __this->get_defaultCapacity_5(); ___capacity0 = L_3; } IL_001a: { int32_t L_4 = ___capacity0; __this->set_table_3(((SlotU5BU5D_t652449215*)SZArrayNew(SlotU5BU5D_t652449215_il2cpp_TypeInfo_var, (uint32_t)L_4))); __this->set_inUse_1(0); __this->set_modificationCount_2(0); return; } } // System.Int32 System.Collections.SortedList::Find(System.Object) extern Il2CppClass* Comparer_t3673668605_il2cpp_TypeInfo_var; extern Il2CppClass* IComparer_t3952557350_il2cpp_TypeInfo_var; extern const uint32_t SortedList_Find_m1529794918_MetadataUsageId; extern "C" int32_t SortedList_Find_m1529794918 (SortedList_t3004938869 * __this, Il2CppObject * ___key0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (SortedList_Find_m1529794918_MetadataUsageId); s_Il2CppMethodInitialized = true; } SlotU5BU5D_t652449215* V_0 = NULL; int32_t V_1 = 0; Il2CppObject * V_2 = NULL; int32_t V_3 = 0; int32_t V_4 = 0; int32_t V_5 = 0; int32_t V_6 = 0; Il2CppObject * V_7 = NULL; Il2CppObject * G_B5_0 = NULL; { SlotU5BU5D_t652449215* L_0 = __this->get_table_3(); V_0 = L_0; int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, __this); V_1 = L_1; int32_t L_2 = V_1; if (L_2) { goto IL_0016; } } { return (-1); } IL_0016: { Il2CppObject * L_3 = __this->get_comparer_4(); if (L_3) { goto IL_002f; } } { IL2CPP_RUNTIME_CLASS_INIT(Comparer_t3673668605_il2cpp_TypeInfo_var); Comparer_t3673668605 * L_4 = ((Comparer_t3673668605_StaticFields*)Comparer_t3673668605_il2cpp_TypeInfo_var->static_fields)->get_Default_0(); V_7 = L_4; Il2CppObject * L_5 = V_7; G_B5_0 = L_5; goto IL_0035; } IL_002f: { Il2CppObject * L_6 = __this->get_comparer_4(); G_B5_0 = L_6; } IL_0035: { V_2 = G_B5_0; V_3 = 0; int32_t L_7 = V_1; V_4 = ((int32_t)((int32_t)L_7-(int32_t)1)); goto IL_0082; } IL_0042: { int32_t L_8 = V_3; int32_t L_9 = V_4; V_5 = ((int32_t)((int32_t)((int32_t)((int32_t)L_8+(int32_t)L_9))>>(int32_t)1)); Il2CppObject * L_10 = V_2; SlotU5BU5D_t652449215* L_11 = V_0; int32_t L_12 = V_5; Il2CppObject * L_13 = ((L_11)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_12)))->get_key_0(); Il2CppObject * L_14 = ___key0; int32_t L_15 = InterfaceFuncInvoker2< int32_t, Il2CppObject *, Il2CppObject * >::Invoke(0 /* System.Int32 System.Collections.IComparer::Compare(System.Object,System.Object) */, IComparer_t3952557350_il2cpp_TypeInfo_var, L_10, L_13, L_14); V_6 = L_15; int32_t L_16 = V_6; if (L_16) { goto IL_006a; } } { int32_t L_17 = V_5; return L_17; } IL_006a: { int32_t L_18 = V_6; if ((((int32_t)L_18) >= ((int32_t)0))) { goto IL_007c; } } { int32_t L_19 = V_5; V_3 = ((int32_t)((int32_t)L_19+(int32_t)1)); goto IL_0082; } IL_007c: { int32_t L_20 = V_5; V_4 = ((int32_t)((int32_t)L_20-(int32_t)1)); } IL_0082: { int32_t L_21 = V_3; int32_t L_22 = V_4; if ((((int32_t)L_21) <= ((int32_t)L_22))) { goto IL_0042; } } { int32_t L_23 = V_3; return ((~L_23)); } } // System.Void System.Collections.SortedList/Enumerator::.ctor(System.Collections.SortedList,System.Collections.SortedList/EnumeratorMode) extern "C" void Enumerator__ctor_m5846420 (Enumerator_t1531140124 * __this, SortedList_t3004938869 * ___host0, int32_t ___mode1, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); SortedList_t3004938869 * L_0 = ___host0; __this->set_host_0(L_0); SortedList_t3004938869 * L_1 = ___host0; int32_t L_2 = L_1->get_modificationCount_2(); __this->set_stamp_1(L_2); SortedList_t3004938869 * L_3 = ___host0; int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.Collections.SortedList::get_Count() */, L_3); __this->set_size_3(L_4); int32_t L_5 = ___mode1; __this->set_mode_4(L_5); Enumerator_Reset_m466659019(__this, /*hidden argument*/NULL); return; } } // System.Void System.Collections.SortedList/Enumerator::.cctor() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1007248275; extern const uint32_t Enumerator__cctor_m3784927209_MetadataUsageId; extern "C" void Enumerator__cctor_m3784927209 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator__cctor_m3784927209_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ((Enumerator_t1531140124_StaticFields*)Enumerator_t1531140124_il2cpp_TypeInfo_var->static_fields)->set_xstr_8(_stringLiteral1007248275); return; } } // System.Void System.Collections.SortedList/Enumerator::Reset() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_Reset_m466659019_MetadataUsageId; extern "C" void Enumerator_Reset_m466659019 (Enumerator_t1531140124 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_Reset_m466659019_MetadataUsageId); s_Il2CppMethodInitialized = true; } { SortedList_t3004938869 * L_0 = __this->get_host_0(); int32_t L_1 = L_0->get_modificationCount_2(); int32_t L_2 = __this->get_stamp_1(); if ((!(((uint32_t)L_1) == ((uint32_t)L_2)))) { goto IL_0021; } } { bool L_3 = __this->get_invalid_7(); if (!L_3) { goto IL_002c; } } IL_0021: { IL2CPP_RUNTIME_CLASS_INIT(Enumerator_t1531140124_il2cpp_TypeInfo_var); String_t* L_4 = ((Enumerator_t1531140124_StaticFields*)Enumerator_t1531140124_il2cpp_TypeInfo_var->static_fields)->get_xstr_8(); InvalidOperationException_t721527559 * L_5 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002c: { __this->set_pos_2((-1)); __this->set_currentKey_5(NULL); __this->set_currentValue_6(NULL); return; } } // System.Boolean System.Collections.SortedList/Enumerator::MoveNext() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_MoveNext_m3616037866_MetadataUsageId; extern "C" bool Enumerator_MoveNext_m3616037866 (Enumerator_t1531140124 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_MoveNext_m3616037866_MetadataUsageId); s_Il2CppMethodInitialized = true; } SlotU5BU5D_t652449215* V_0 = NULL; Slot_t2267560602 V_1; memset(&V_1, 0, sizeof(V_1)); int32_t V_2 = 0; { SortedList_t3004938869 * L_0 = __this->get_host_0(); int32_t L_1 = L_0->get_modificationCount_2(); int32_t L_2 = __this->get_stamp_1(); if ((!(((uint32_t)L_1) == ((uint32_t)L_2)))) { goto IL_0021; } } { bool L_3 = __this->get_invalid_7(); if (!L_3) { goto IL_002c; } } IL_0021: { IL2CPP_RUNTIME_CLASS_INIT(Enumerator_t1531140124_il2cpp_TypeInfo_var); String_t* L_4 = ((Enumerator_t1531140124_StaticFields*)Enumerator_t1531140124_il2cpp_TypeInfo_var->static_fields)->get_xstr_8(); InvalidOperationException_t721527559 * L_5 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002c: { SortedList_t3004938869 * L_6 = __this->get_host_0(); SlotU5BU5D_t652449215* L_7 = L_6->get_table_3(); V_0 = L_7; int32_t L_8 = __this->get_pos_2(); int32_t L_9 = ((int32_t)((int32_t)L_8+(int32_t)1)); V_2 = L_9; __this->set_pos_2(L_9); int32_t L_10 = V_2; int32_t L_11 = __this->get_size_3(); if ((((int32_t)L_10) >= ((int32_t)L_11))) { goto IL_0082; } } { SlotU5BU5D_t652449215* L_12 = V_0; int32_t L_13 = __this->get_pos_2(); V_1 = (*(Slot_t2267560602 *)((L_12)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_13)))); Il2CppObject * L_14 = (&V_1)->get_key_0(); __this->set_currentKey_5(L_14); Il2CppObject * L_15 = (&V_1)->get_value_1(); __this->set_currentValue_6(L_15); return (bool)1; } IL_0082: { __this->set_currentKey_5(NULL); __this->set_currentValue_6(NULL); return (bool)0; } } // System.Collections.DictionaryEntry System.Collections.SortedList/Enumerator::get_Entry() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_get_Entry_m2104438524_MetadataUsageId; extern "C" DictionaryEntry_t3048875398 Enumerator_get_Entry_m2104438524 (Enumerator_t1531140124 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_get_Entry_m2104438524_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = __this->get_invalid_7(); if (L_0) { goto IL_0028; } } { int32_t L_1 = __this->get_pos_2(); int32_t L_2 = __this->get_size_3(); if ((((int32_t)L_1) >= ((int32_t)L_2))) { goto IL_0028; } } { int32_t L_3 = __this->get_pos_2(); if ((!(((uint32_t)L_3) == ((uint32_t)(-1))))) { goto IL_0033; } } IL_0028: { IL2CPP_RUNTIME_CLASS_INIT(Enumerator_t1531140124_il2cpp_TypeInfo_var); String_t* L_4 = ((Enumerator_t1531140124_StaticFields*)Enumerator_t1531140124_il2cpp_TypeInfo_var->static_fields)->get_xstr_8(); InvalidOperationException_t721527559 * L_5 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0033: { Il2CppObject * L_6 = __this->get_currentKey_5(); Il2CppObject * L_7 = __this->get_currentValue_6(); DictionaryEntry_t3048875398 L_8; memset(&L_8, 0, sizeof(L_8)); DictionaryEntry__ctor_m2901884110(&L_8, L_6, L_7, /*hidden argument*/NULL); return L_8; } } // System.Object System.Collections.SortedList/Enumerator::get_Key() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_get_Key_m2908810861_MetadataUsageId; extern "C" Il2CppObject * Enumerator_get_Key_m2908810861 (Enumerator_t1531140124 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_get_Key_m2908810861_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = __this->get_invalid_7(); if (L_0) { goto IL_0028; } } { int32_t L_1 = __this->get_pos_2(); int32_t L_2 = __this->get_size_3(); if ((((int32_t)L_1) >= ((int32_t)L_2))) { goto IL_0028; } } { int32_t L_3 = __this->get_pos_2(); if ((!(((uint32_t)L_3) == ((uint32_t)(-1))))) { goto IL_0033; } } IL_0028: { IL2CPP_RUNTIME_CLASS_INIT(Enumerator_t1531140124_il2cpp_TypeInfo_var); String_t* L_4 = ((Enumerator_t1531140124_StaticFields*)Enumerator_t1531140124_il2cpp_TypeInfo_var->static_fields)->get_xstr_8(); InvalidOperationException_t721527559 * L_5 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0033: { Il2CppObject * L_6 = __this->get_currentKey_5(); return L_6; } } // System.Object System.Collections.SortedList/Enumerator::get_Value() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_get_Value_m988750469_MetadataUsageId; extern "C" Il2CppObject * Enumerator_get_Value_m988750469 (Enumerator_t1531140124 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_get_Value_m988750469_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = __this->get_invalid_7(); if (L_0) { goto IL_0028; } } { int32_t L_1 = __this->get_pos_2(); int32_t L_2 = __this->get_size_3(); if ((((int32_t)L_1) >= ((int32_t)L_2))) { goto IL_0028; } } { int32_t L_3 = __this->get_pos_2(); if ((!(((uint32_t)L_3) == ((uint32_t)(-1))))) { goto IL_0033; } } IL_0028: { IL2CPP_RUNTIME_CLASS_INIT(Enumerator_t1531140124_il2cpp_TypeInfo_var); String_t* L_4 = ((Enumerator_t1531140124_StaticFields*)Enumerator_t1531140124_il2cpp_TypeInfo_var->static_fields)->get_xstr_8(); InvalidOperationException_t721527559 * L_5 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0033: { Il2CppObject * L_6 = __this->get_currentValue_6(); return L_6; } } // System.Object System.Collections.SortedList/Enumerator::get_Current() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppClass* DictionaryEntry_t3048875398_il2cpp_TypeInfo_var; extern Il2CppClass* EnumeratorMode_t4029123303_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1469132381; extern const uint32_t Enumerator_get_Current_m1271212567_MetadataUsageId; extern "C" Il2CppObject * Enumerator_get_Current_m1271212567 (Enumerator_t1531140124 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_get_Current_m1271212567_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { bool L_0 = __this->get_invalid_7(); if (L_0) { goto IL_0028; } } { int32_t L_1 = __this->get_pos_2(); int32_t L_2 = __this->get_size_3(); if ((((int32_t)L_1) >= ((int32_t)L_2))) { goto IL_0028; } } { int32_t L_3 = __this->get_pos_2(); if ((!(((uint32_t)L_3) == ((uint32_t)(-1))))) { goto IL_0033; } } IL_0028: { IL2CPP_RUNTIME_CLASS_INIT(Enumerator_t1531140124_il2cpp_TypeInfo_var); String_t* L_4 = ((Enumerator_t1531140124_StaticFields*)Enumerator_t1531140124_il2cpp_TypeInfo_var->static_fields)->get_xstr_8(); InvalidOperationException_t721527559 * L_5 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0033: { int32_t L_6 = __this->get_mode_4(); V_0 = L_6; int32_t L_7 = V_0; if (L_7 == 0) { goto IL_0051; } if (L_7 == 1) { goto IL_0058; } if (L_7 == 2) { goto IL_005f; } } { goto IL_006b; } IL_0051: { Il2CppObject * L_8 = __this->get_currentKey_5(); return L_8; } IL_0058: { Il2CppObject * L_9 = __this->get_currentValue_6(); return L_9; } IL_005f: { DictionaryEntry_t3048875398 L_10 = Enumerator_get_Entry_m2104438524(__this, /*hidden argument*/NULL); DictionaryEntry_t3048875398 L_11 = L_10; Il2CppObject * L_12 = Box(DictionaryEntry_t3048875398_il2cpp_TypeInfo_var, &L_11); return L_12; } IL_006b: { int32_t L_13 = __this->get_mode_4(); int32_t L_14 = L_13; Il2CppObject * L_15 = Box(EnumeratorMode_t4029123303_il2cpp_TypeInfo_var, &L_14); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_16 = String_Concat_m56707527(NULL /*static, unused*/, L_15, _stringLiteral1469132381, /*hidden argument*/NULL); NotSupportedException_t1793819818 * L_17 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_17, L_16, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_17); } } // System.Object System.Collections.SortedList/Enumerator::Clone() extern Il2CppClass* Enumerator_t1531140124_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_Clone_m2534062360_MetadataUsageId; extern "C" Il2CppObject * Enumerator_Clone_m2534062360 (Enumerator_t1531140124 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_Clone_m2534062360_MetadataUsageId); s_Il2CppMethodInitialized = true; } Enumerator_t1531140124 * V_0 = NULL; { SortedList_t3004938869 * L_0 = __this->get_host_0(); int32_t L_1 = __this->get_mode_4(); Enumerator_t1531140124 * L_2 = (Enumerator_t1531140124 *)il2cpp_codegen_object_new(Enumerator_t1531140124_il2cpp_TypeInfo_var); Enumerator__ctor_m5846420(L_2, L_0, L_1, /*hidden argument*/NULL); V_0 = L_2; Enumerator_t1531140124 * L_3 = V_0; int32_t L_4 = __this->get_stamp_1(); L_3->set_stamp_1(L_4); Enumerator_t1531140124 * L_5 = V_0; int32_t L_6 = __this->get_pos_2(); L_5->set_pos_2(L_6); Enumerator_t1531140124 * L_7 = V_0; int32_t L_8 = __this->get_size_3(); L_7->set_size_3(L_8); Enumerator_t1531140124 * L_9 = V_0; Il2CppObject * L_10 = __this->get_currentKey_5(); L_9->set_currentKey_5(L_10); Enumerator_t1531140124 * L_11 = V_0; Il2CppObject * L_12 = __this->get_currentValue_6(); L_11->set_currentValue_6(L_12); Enumerator_t1531140124 * L_13 = V_0; bool L_14 = __this->get_invalid_7(); L_13->set_invalid_7(L_14); Enumerator_t1531140124 * L_15 = V_0; return L_15; } } // Conversion methods for marshalling of: System.Collections.SortedList/Slot extern "C" void Slot_t2267560602_marshal_pinvoke(const Slot_t2267560602& unmarshaled, Slot_t2267560602_marshaled_pinvoke& marshaled) { Il2CppCodeGenException* ___key_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'key' of type 'Slot'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___key_0Exception); } extern "C" void Slot_t2267560602_marshal_pinvoke_back(const Slot_t2267560602_marshaled_pinvoke& marshaled, Slot_t2267560602& unmarshaled) { Il2CppCodeGenException* ___key_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'key' of type 'Slot'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___key_0Exception); } // Conversion method for clean up from marshalling of: System.Collections.SortedList/Slot extern "C" void Slot_t2267560602_marshal_pinvoke_cleanup(Slot_t2267560602_marshaled_pinvoke& marshaled) { } // Conversion methods for marshalling of: System.Collections.SortedList/Slot extern "C" void Slot_t2267560602_marshal_com(const Slot_t2267560602& unmarshaled, Slot_t2267560602_marshaled_com& marshaled) { Il2CppCodeGenException* ___key_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'key' of type 'Slot'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___key_0Exception); } extern "C" void Slot_t2267560602_marshal_com_back(const Slot_t2267560602_marshaled_com& marshaled, Slot_t2267560602& unmarshaled) { Il2CppCodeGenException* ___key_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'key' of type 'Slot'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___key_0Exception); } // Conversion method for clean up from marshalling of: System.Collections.SortedList/Slot extern "C" void Slot_t2267560602_marshal_com_cleanup(Slot_t2267560602_marshaled_com& marshaled) { } // System.Void System.Collections.Stack::.ctor() extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern const uint32_t Stack__ctor_m521896492_MetadataUsageId; extern "C" void Stack__ctor_m521896492 (Stack_t1043988394 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Stack__ctor_m521896492_MetadataUsageId); s_Il2CppMethodInitialized = true; } { __this->set_current_1((-1)); Object__ctor_m2551263788(__this, /*hidden argument*/NULL); __this->set_contents_0(((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16)))); __this->set_capacity_3(((int32_t)16)); return; } } // System.Void System.Collections.Stack::.ctor(System.Collections.ICollection) extern Il2CppClass* ICollection_t91669223_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* IEnumerable_t2911409499_il2cpp_TypeInfo_var; extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var; extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1502598556; extern const uint32_t Stack__ctor_m2410583781_MetadataUsageId; extern "C" void Stack__ctor_m2410583781 (Stack_t1043988394 * __this, Il2CppObject * ___col0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Stack__ctor_m2410583781_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; Il2CppObject * V_1 = NULL; Il2CppObject * V_2 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); Stack_t1043988394 * G_B2_0 = NULL; Stack_t1043988394 * G_B1_0 = NULL; int32_t G_B3_0 = 0; Stack_t1043988394 * G_B3_1 = NULL; { Il2CppObject * L_0 = ___col0; G_B1_0 = __this; if (L_0) { G_B2_0 = __this; goto IL_000e; } } { G_B3_0 = ((int32_t)16); G_B3_1 = G_B1_0; goto IL_0014; } IL_000e: { Il2CppObject * L_1 = ___col0; int32_t L_2 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_t91669223_il2cpp_TypeInfo_var, L_1); G_B3_0 = L_2; G_B3_1 = G_B2_0; } IL_0014: { Stack__ctor_m1075268731(G_B3_1, G_B3_0, /*hidden argument*/NULL); Il2CppObject * L_3 = ___col0; if (L_3) { goto IL_002a; } } { ArgumentNullException_t628810857 * L_4 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_4, _stringLiteral1502598556, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_002a: { Il2CppObject * L_5 = ___col0; Il2CppObject * L_6 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t2911409499_il2cpp_TypeInfo_var, L_5); V_1 = L_6; } IL_0031: try { // begin try (depth: 1) { goto IL_0044; } IL_0036: { Il2CppObject * L_7 = V_1; Il2CppObject * L_8 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_7); V_0 = L_8; Il2CppObject * L_9 = V_0; VirtActionInvoker1< Il2CppObject * >::Invoke(19 /* System.Void System.Collections.Stack::Push(System.Object) */, __this, L_9); } IL_0044: { Il2CppObject * L_10 = V_1; bool L_11 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_10); if (L_11) { goto IL_0036; } } IL_004f: { IL2CPP_LEAVE(0x66, FINALLY_0054); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0054; } FINALLY_0054: { // begin finally (depth: 1) { Il2CppObject * L_12 = V_1; V_2 = ((Il2CppObject *)IsInst(L_12, IDisposable_t2427283555_il2cpp_TypeInfo_var)); Il2CppObject * L_13 = V_2; if (L_13) { goto IL_005f; } } IL_005e: { IL2CPP_END_FINALLY(84) } IL_005f: { Il2CppObject * L_14 = V_2; InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_14); IL2CPP_END_FINALLY(84) } } // end finally (depth: 1) IL2CPP_CLEANUP(84) { IL2CPP_JUMP_TBL(0x66, IL_0066) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0066: { return; } } // System.Void System.Collections.Stack::.ctor(System.Int32) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral91313714; extern const uint32_t Stack__ctor_m1075268731_MetadataUsageId; extern "C" void Stack__ctor_m1075268731 (Stack_t1043988394 * __this, int32_t ___initialCapacity0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Stack__ctor_m1075268731_MetadataUsageId); s_Il2CppMethodInitialized = true; } { __this->set_current_1((-1)); Object__ctor_m2551263788(__this, /*hidden argument*/NULL); int32_t L_0 = ___initialCapacity0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_001f; } } { ArgumentOutOfRangeException_t279959794 * L_1 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_1, _stringLiteral91313714, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_001f: { int32_t L_2 = ___initialCapacity0; __this->set_capacity_3(L_2); int32_t L_3 = __this->get_capacity_3(); __this->set_contents_0(((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_3))); return; } } // System.Void System.Collections.Stack::Resize(System.Int32) extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern const uint32_t Stack_Resize_m3339638113_MetadataUsageId; extern "C" void Stack_Resize_m3339638113 (Stack_t1043988394 * __this, int32_t ___ncapacity0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Stack_Resize_m3339638113_MetadataUsageId); s_Il2CppMethodInitialized = true; } ObjectU5BU5D_t3614634134* V_0 = NULL; { int32_t L_0 = ___ncapacity0; int32_t L_1 = Math_Max_m2671311541(NULL /*static, unused*/, L_0, ((int32_t)16), /*hidden argument*/NULL); ___ncapacity0 = L_1; int32_t L_2 = ___ncapacity0; V_0 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)L_2)); ObjectU5BU5D_t3614634134* L_3 = __this->get_contents_0(); ObjectU5BU5D_t3614634134* L_4 = V_0; int32_t L_5 = __this->get_count_2(); Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_3, (Il2CppArray *)(Il2CppArray *)L_4, L_5, /*hidden argument*/NULL); int32_t L_6 = ___ncapacity0; __this->set_capacity_3(L_6); ObjectU5BU5D_t3614634134* L_7 = V_0; __this->set_contents_0(L_7); return; } } // System.Int32 System.Collections.Stack::get_Count() extern "C" int32_t Stack_get_Count_m595326012 (Stack_t1043988394 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_count_2(); return L_0; } } // System.Boolean System.Collections.Stack::get_IsSynchronized() extern "C" bool Stack_get_IsSynchronized_m4251661387 (Stack_t1043988394 * __this, const MethodInfo* method) { { return (bool)0; } } // System.Object System.Collections.Stack::get_SyncRoot() extern "C" Il2CppObject * Stack_get_SyncRoot_m3168081079 (Stack_t1043988394 * __this, const MethodInfo* method) { { return __this; } } // System.Void System.Collections.Stack::Clear() extern "C" void Stack_Clear_m771767447 (Stack_t1043988394 * __this, const MethodInfo* method) { int32_t V_0 = 0; { int32_t L_0 = __this->get_modCount_4(); __this->set_modCount_4(((int32_t)((int32_t)L_0+(int32_t)1))); V_0 = 0; goto IL_0022; } IL_0015: { ObjectU5BU5D_t3614634134* L_1 = __this->get_contents_0(); int32_t L_2 = V_0; ArrayElementTypeCheck (L_1, NULL); (L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_2), (Il2CppObject *)NULL); int32_t L_3 = V_0; V_0 = ((int32_t)((int32_t)L_3+(int32_t)1)); } IL_0022: { int32_t L_4 = V_0; int32_t L_5 = __this->get_count_2(); if ((((int32_t)L_4) < ((int32_t)L_5))) { goto IL_0015; } } { __this->set_count_2(0); __this->set_current_1((-1)); return; } } // System.Object System.Collections.Stack::Clone() extern Il2CppClass* Stack_t1043988394_il2cpp_TypeInfo_var; extern const uint32_t Stack_Clone_m3818369224_MetadataUsageId; extern "C" Il2CppObject * Stack_Clone_m3818369224 (Stack_t1043988394 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Stack_Clone_m3818369224_MetadataUsageId); s_Il2CppMethodInitialized = true; } Stack_t1043988394 * V_0 = NULL; { ObjectU5BU5D_t3614634134* L_0 = __this->get_contents_0(); Stack_t1043988394 * L_1 = (Stack_t1043988394 *)il2cpp_codegen_object_new(Stack_t1043988394_il2cpp_TypeInfo_var); Stack__ctor_m2410583781(L_1, (Il2CppObject *)(Il2CppObject *)L_0, /*hidden argument*/NULL); V_0 = L_1; Stack_t1043988394 * L_2 = V_0; int32_t L_3 = __this->get_current_1(); L_2->set_current_1(L_3); Stack_t1043988394 * L_4 = V_0; int32_t L_5 = __this->get_count_2(); L_4->set_count_2(L_5); Stack_t1043988394 * L_6 = V_0; return L_6; } } // System.Void System.Collections.Stack::CopyTo(System.Array,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1185213181; extern Il2CppCodeGenString* _stringLiteral1460639766; extern const uint32_t Stack_CopyTo_m3668421987_MetadataUsageId; extern "C" void Stack_CopyTo_m3668421987 (Stack_t1043988394 * __this, Il2CppArray * ___array0, int32_t ___index1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Stack_CopyTo_m3668421987_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { Il2CppArray * L_0 = ___array0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1185213181, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___index1; if ((((int32_t)L_2) >= ((int32_t)0))) { goto IL_0023; } } { ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_3, _stringLiteral1460639766, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppArray * L_4 = ___array0; int32_t L_5 = Array_get_Rank_m3837250695(L_4, /*hidden argument*/NULL); if ((((int32_t)L_5) > ((int32_t)1))) { goto IL_005a; } } { Il2CppArray * L_6 = ___array0; int32_t L_7 = Array_get_Length_m1498215565(L_6, /*hidden argument*/NULL); if ((((int32_t)L_7) <= ((int32_t)0))) { goto IL_0047; } } { int32_t L_8 = ___index1; Il2CppArray * L_9 = ___array0; int32_t L_10 = Array_get_Length_m1498215565(L_9, /*hidden argument*/NULL); if ((((int32_t)L_8) >= ((int32_t)L_10))) { goto IL_005a; } } IL_0047: { int32_t L_11 = __this->get_count_2(); Il2CppArray * L_12 = ___array0; int32_t L_13 = Array_get_Length_m1498215565(L_12, /*hidden argument*/NULL); int32_t L_14 = ___index1; if ((((int32_t)L_11) <= ((int32_t)((int32_t)((int32_t)L_13-(int32_t)L_14))))) { goto IL_0060; } } IL_005a: { ArgumentException_t3259014390 * L_15 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m2105824819(L_15, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_15); } IL_0060: { int32_t L_16 = __this->get_current_1(); V_0 = L_16; goto IL_008a; } IL_006c: { Il2CppArray * L_17 = ___array0; ObjectU5BU5D_t3614634134* L_18 = __this->get_contents_0(); int32_t L_19 = V_0; int32_t L_20 = L_19; Il2CppObject * L_21 = (L_18)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_20)); int32_t L_22 = __this->get_count_2(); int32_t L_23 = V_0; int32_t L_24 = ___index1; Array_SetValue_m2652759566(L_17, L_21, ((int32_t)((int32_t)((int32_t)((int32_t)L_22-(int32_t)((int32_t)((int32_t)L_23+(int32_t)1))))+(int32_t)L_24)), /*hidden argument*/NULL); int32_t L_25 = V_0; V_0 = ((int32_t)((int32_t)L_25-(int32_t)1)); } IL_008a: { int32_t L_26 = V_0; if ((!(((uint32_t)L_26) == ((uint32_t)(-1))))) { goto IL_006c; } } { return; } } // System.Collections.IEnumerator System.Collections.Stack::GetEnumerator() extern Il2CppClass* Enumerator_t3156535659_il2cpp_TypeInfo_var; extern const uint32_t Stack_GetEnumerator_m4080170056_MetadataUsageId; extern "C" Il2CppObject * Stack_GetEnumerator_m4080170056 (Stack_t1043988394 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Stack_GetEnumerator_m4080170056_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Enumerator_t3156535659 * L_0 = (Enumerator_t3156535659 *)il2cpp_codegen_object_new(Enumerator_t3156535659_il2cpp_TypeInfo_var); Enumerator__ctor_m2494147503(L_0, __this, /*hidden argument*/NULL); return L_0; } } // System.Object System.Collections.Stack::Peek() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Stack_Peek_m2790636182_MetadataUsageId; extern "C" Il2CppObject * Stack_Peek_m2790636182 (Stack_t1043988394 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Stack_Peek_m2790636182_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get_current_1(); if ((!(((uint32_t)L_0) == ((uint32_t)(-1))))) { goto IL_0012; } } { InvalidOperationException_t721527559 * L_1 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0012: { ObjectU5BU5D_t3614634134* L_2 = __this->get_contents_0(); int32_t L_3 = __this->get_current_1(); int32_t L_4 = L_3; Il2CppObject * L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4)); return L_5; } } // System.Object System.Collections.Stack::Pop() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Stack_Pop_m3788808882_MetadataUsageId; extern "C" Il2CppObject * Stack_Pop_m3788808882 (Stack_t1043988394 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Stack_Pop_m3788808882_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; { int32_t L_0 = __this->get_current_1(); if ((!(((uint32_t)L_0) == ((uint32_t)(-1))))) { goto IL_0012; } } { InvalidOperationException_t721527559 * L_1 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0012: { int32_t L_2 = __this->get_modCount_4(); __this->set_modCount_4(((int32_t)((int32_t)L_2+(int32_t)1))); ObjectU5BU5D_t3614634134* L_3 = __this->get_contents_0(); int32_t L_4 = __this->get_current_1(); int32_t L_5 = L_4; Il2CppObject * L_6 = (L_3)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5)); V_0 = L_6; ObjectU5BU5D_t3614634134* L_7 = __this->get_contents_0(); int32_t L_8 = __this->get_current_1(); ArrayElementTypeCheck (L_7, NULL); (L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8), (Il2CppObject *)NULL); int32_t L_9 = __this->get_count_2(); __this->set_count_2(((int32_t)((int32_t)L_9-(int32_t)1))); int32_t L_10 = __this->get_current_1(); __this->set_current_1(((int32_t)((int32_t)L_10-(int32_t)1))); int32_t L_11 = __this->get_count_2(); int32_t L_12 = __this->get_capacity_3(); if ((((int32_t)L_11) > ((int32_t)((int32_t)((int32_t)L_12/(int32_t)4))))) { goto IL_0086; } } { int32_t L_13 = __this->get_count_2(); if ((((int32_t)L_13) <= ((int32_t)((int32_t)16)))) { goto IL_0086; } } { int32_t L_14 = __this->get_capacity_3(); Stack_Resize_m3339638113(__this, ((int32_t)((int32_t)L_14/(int32_t)2)), /*hidden argument*/NULL); } IL_0086: { Il2CppObject * L_15 = V_0; return L_15; } } // System.Void System.Collections.Stack::Push(System.Object) extern "C" void Stack_Push_m284336154 (Stack_t1043988394 * __this, Il2CppObject * ___obj0, const MethodInfo* method) { { int32_t L_0 = __this->get_modCount_4(); __this->set_modCount_4(((int32_t)((int32_t)L_0+(int32_t)1))); int32_t L_1 = __this->get_capacity_3(); int32_t L_2 = __this->get_count_2(); if ((!(((uint32_t)L_1) == ((uint32_t)L_2)))) { goto IL_002d; } } { int32_t L_3 = __this->get_capacity_3(); Stack_Resize_m3339638113(__this, ((int32_t)((int32_t)L_3*(int32_t)2)), /*hidden argument*/NULL); } IL_002d: { int32_t L_4 = __this->get_count_2(); __this->set_count_2(((int32_t)((int32_t)L_4+(int32_t)1))); int32_t L_5 = __this->get_current_1(); __this->set_current_1(((int32_t)((int32_t)L_5+(int32_t)1))); ObjectU5BU5D_t3614634134* L_6 = __this->get_contents_0(); int32_t L_7 = __this->get_current_1(); Il2CppObject * L_8 = ___obj0; ArrayElementTypeCheck (L_6, L_8); (L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7), (Il2CppObject *)L_8); return; } } // System.Void System.Collections.Stack/Enumerator::.ctor(System.Collections.Stack) extern "C" void Enumerator__ctor_m2494147503 (Enumerator_t3156535659 * __this, Stack_t1043988394 * ___s0, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Stack_t1043988394 * L_0 = ___s0; __this->set_stack_0(L_0); Stack_t1043988394 * L_1 = ___s0; int32_t L_2 = L_1->get_modCount_4(); __this->set_modCount_1(L_2); __this->set_current_2(((int32_t)-2)); return; } } // System.Object System.Collections.Stack/Enumerator::Clone() extern "C" Il2CppObject * Enumerator_Clone_m1124749523 (Enumerator_t3156535659 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = Object_MemberwiseClone_m2655589444(__this, /*hidden argument*/NULL); return L_0; } } // System.Object System.Collections.Stack/Enumerator::get_Current() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_get_Current_m2831301346_MetadataUsageId; extern "C" Il2CppObject * Enumerator_get_Current_m2831301346 (Enumerator_t3156535659 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_get_Current_m2831301346_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get_modCount_1(); Stack_t1043988394 * L_1 = __this->get_stack_0(); int32_t L_2 = L_1->get_modCount_4(); if ((!(((uint32_t)L_0) == ((uint32_t)L_2)))) { goto IL_0045; } } { int32_t L_3 = __this->get_current_2(); if ((((int32_t)L_3) == ((int32_t)((int32_t)-2)))) { goto IL_0045; } } { int32_t L_4 = __this->get_current_2(); if ((((int32_t)L_4) == ((int32_t)(-1)))) { goto IL_0045; } } { int32_t L_5 = __this->get_current_2(); Stack_t1043988394 * L_6 = __this->get_stack_0(); int32_t L_7 = L_6->get_count_2(); if ((((int32_t)L_5) <= ((int32_t)L_7))) { goto IL_004b; } } IL_0045: { InvalidOperationException_t721527559 * L_8 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_8, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_004b: { Stack_t1043988394 * L_9 = __this->get_stack_0(); ObjectU5BU5D_t3614634134* L_10 = L_9->get_contents_0(); int32_t L_11 = __this->get_current_2(); int32_t L_12 = L_11; Il2CppObject * L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12)); return L_13; } } // System.Boolean System.Collections.Stack/Enumerator::MoveNext() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_MoveNext_m1419609883_MetadataUsageId; extern "C" bool Enumerator_MoveNext_m1419609883 (Enumerator_t3156535659 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_MoveNext_m1419609883_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { int32_t L_0 = __this->get_modCount_1(); Stack_t1043988394 * L_1 = __this->get_stack_0(); int32_t L_2 = L_1->get_modCount_4(); if ((((int32_t)L_0) == ((int32_t)L_2))) { goto IL_001c; } } { InvalidOperationException_t721527559 * L_3 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_3, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_001c: { int32_t L_4 = __this->get_current_2(); V_0 = L_4; int32_t L_5 = V_0; if ((((int32_t)L_5) == ((int32_t)((int32_t)-2)))) { goto IL_0037; } } { int32_t L_6 = V_0; if ((((int32_t)L_6) == ((int32_t)(-1)))) { goto IL_0055; } } { goto IL_0057; } IL_0037: { Stack_t1043988394 * L_7 = __this->get_stack_0(); int32_t L_8 = L_7->get_current_1(); __this->set_current_2(L_8); int32_t L_9 = __this->get_current_2(); return (bool)((((int32_t)((((int32_t)L_9) == ((int32_t)(-1)))? 1 : 0)) == ((int32_t)0))? 1 : 0); } IL_0055: { return (bool)0; } IL_0057: { int32_t L_10 = __this->get_current_2(); __this->set_current_2(((int32_t)((int32_t)L_10-(int32_t)1))); int32_t L_11 = __this->get_current_2(); return (bool)((((int32_t)((((int32_t)L_11) == ((int32_t)(-1)))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Void System.Collections.Stack/Enumerator::Reset() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern const uint32_t Enumerator_Reset_m2921993332_MetadataUsageId; extern "C" void Enumerator_Reset_m2921993332 (Enumerator_t3156535659 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enumerator_Reset_m2921993332_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get_modCount_1(); Stack_t1043988394 * L_1 = __this->get_stack_0(); int32_t L_2 = L_1->get_modCount_4(); if ((((int32_t)L_0) == ((int32_t)L_2))) { goto IL_001c; } } { InvalidOperationException_t721527559 * L_3 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m102359810(L_3, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_001c: { __this->set_current_2(((int32_t)-2)); return; } } // System.Void System.Console::.cctor() extern Il2CppClass* Encoding_t663144255_il2cpp_TypeInfo_var; extern Il2CppClass* Console_t2311202731_il2cpp_TypeInfo_var; extern const uint32_t Console__cctor_m4246683879_MetadataUsageId; extern "C" void Console__cctor_m4246683879 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Console__cctor_m4246683879_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { bool L_0 = Environment_get_IsRunningOnWindows_m2990729574(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_0) { goto IL_001f; } } { IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var); Encoding_t663144255 * L_1 = Encoding_get_Default_m908538569(NULL /*static, unused*/, /*hidden argument*/NULL); Encoding_t663144255 * L_2 = L_1; ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_outputEncoding_4(L_2); ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_inputEncoding_3(L_2); goto IL_006e; } IL_001f: { V_0 = 0; IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var); Encoding_InternalCodePage_m4220689148(NULL /*static, unused*/, (&V_0), /*hidden argument*/NULL); int32_t L_3 = V_0; if ((((int32_t)L_3) == ((int32_t)(-1)))) { goto IL_005e; } } { int32_t L_4 = V_0; if ((((int32_t)((int32_t)((int32_t)L_4&(int32_t)((int32_t)268435455)))) == ((int32_t)3))) { goto IL_0049; } } { int32_t L_5 = V_0; if (!((int32_t)((int32_t)L_5&(int32_t)((int32_t)268435456)))) { goto IL_005e; } } IL_0049: { IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var); Encoding_t663144255 * L_6 = Encoding_get_UTF8Unmarked_m628720656(NULL /*static, unused*/, /*hidden argument*/NULL); Encoding_t663144255 * L_7 = L_6; ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_outputEncoding_4(L_7); ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_inputEncoding_3(L_7); goto IL_006e; } IL_005e: { IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var); Encoding_t663144255 * L_8 = Encoding_get_Default_m908538569(NULL /*static, unused*/, /*hidden argument*/NULL); Encoding_t663144255 * L_9 = L_8; ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_outputEncoding_4(L_9); ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_inputEncoding_3(L_9); } IL_006e: { Encoding_t663144255 * L_10 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_inputEncoding_3(); Encoding_t663144255 * L_11 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_outputEncoding_4(); Console_SetEncodings_m342145566(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL); return; } } // System.Void System.Console::SetEncodings(System.Text.Encoding,System.Text.Encoding) extern Il2CppClass* Console_t2311202731_il2cpp_TypeInfo_var; extern Il2CppClass* UnexceptionalStreamWriter_t1485343520_il2cpp_TypeInfo_var; extern Il2CppClass* StreamWriter_t3858580635_il2cpp_TypeInfo_var; extern Il2CppClass* TextWriter_t4027217640_il2cpp_TypeInfo_var; extern Il2CppClass* UnexceptionalStreamReader_t683371910_il2cpp_TypeInfo_var; extern Il2CppClass* TextReader_t1561828458_il2cpp_TypeInfo_var; extern const uint32_t Console_SetEncodings_m342145566_MetadataUsageId; extern "C" void Console_SetEncodings_m342145566 (Il2CppObject * __this /* static, unused */, Encoding_t663144255 * ___inputEncoding0, Encoding_t663144255 * ___outputEncoding1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Console_SetEncodings_m342145566_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Console_t2311202731_il2cpp_TypeInfo_var); Stream_t3255436806 * L_0 = Console_OpenStandardError_m3676373108(NULL /*static, unused*/, 0, /*hidden argument*/NULL); Encoding_t663144255 * L_1 = ___outputEncoding1; UnexceptionalStreamWriter_t1485343520 * L_2 = (UnexceptionalStreamWriter_t1485343520 *)il2cpp_codegen_object_new(UnexceptionalStreamWriter_t1485343520_il2cpp_TypeInfo_var); UnexceptionalStreamWriter__ctor_m2209699189(L_2, L_0, L_1, /*hidden argument*/NULL); ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_stderr_1(L_2); TextWriter_t4027217640 * L_3 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_stderr_1(); VirtActionInvoker1< bool >::Invoke(14 /* System.Void System.IO.StreamWriter::set_AutoFlush(System.Boolean) */, ((StreamWriter_t3858580635 *)CastclassClass(L_3, StreamWriter_t3858580635_il2cpp_TypeInfo_var)), (bool)1); TextWriter_t4027217640 * L_4 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_stderr_1(); IL2CPP_RUNTIME_CLASS_INIT(TextWriter_t4027217640_il2cpp_TypeInfo_var); TextWriter_t4027217640 * L_5 = TextWriter_Synchronized_m1237756643(NULL /*static, unused*/, L_4, (bool)1, /*hidden argument*/NULL); ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_stderr_1(L_5); Stream_t3255436806 * L_6 = Console_OpenStandardOutput_m271745789(NULL /*static, unused*/, 0, /*hidden argument*/NULL); Encoding_t663144255 * L_7 = ___outputEncoding1; UnexceptionalStreamWriter_t1485343520 * L_8 = (UnexceptionalStreamWriter_t1485343520 *)il2cpp_codegen_object_new(UnexceptionalStreamWriter_t1485343520_il2cpp_TypeInfo_var); UnexceptionalStreamWriter__ctor_m2209699189(L_8, L_6, L_7, /*hidden argument*/NULL); ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_stdout_0(L_8); TextWriter_t4027217640 * L_9 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_stdout_0(); VirtActionInvoker1< bool >::Invoke(14 /* System.Void System.IO.StreamWriter::set_AutoFlush(System.Boolean) */, ((StreamWriter_t3858580635 *)CastclassClass(L_9, StreamWriter_t3858580635_il2cpp_TypeInfo_var)), (bool)1); TextWriter_t4027217640 * L_10 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_stdout_0(); TextWriter_t4027217640 * L_11 = TextWriter_Synchronized_m1237756643(NULL /*static, unused*/, L_10, (bool)1, /*hidden argument*/NULL); ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_stdout_0(L_11); Stream_t3255436806 * L_12 = Console_OpenStandardInput_m3779296306(NULL /*static, unused*/, 0, /*hidden argument*/NULL); Encoding_t663144255 * L_13 = ___inputEncoding0; UnexceptionalStreamReader_t683371910 * L_14 = (UnexceptionalStreamReader_t683371910 *)il2cpp_codegen_object_new(UnexceptionalStreamReader_t683371910_il2cpp_TypeInfo_var); UnexceptionalStreamReader__ctor_m3647541307(L_14, L_12, L_13, /*hidden argument*/NULL); ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_stdin_2(L_14); TextReader_t1561828458 * L_15 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_stdin_2(); IL2CPP_RUNTIME_CLASS_INIT(TextReader_t1561828458_il2cpp_TypeInfo_var); TextReader_t1561828458 * L_16 = TextReader_Synchronized_m3301249644(NULL /*static, unused*/, L_15, /*hidden argument*/NULL); ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->set_stdin_2(L_16); TextWriter_t4027217640 * L_17 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_stdout_0(); GC_SuppressFinalize_m953228702(NULL /*static, unused*/, L_17, /*hidden argument*/NULL); TextWriter_t4027217640 * L_18 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_stderr_1(); GC_SuppressFinalize_m953228702(NULL /*static, unused*/, L_18, /*hidden argument*/NULL); TextReader_t1561828458 * L_19 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_stdin_2(); GC_SuppressFinalize_m953228702(NULL /*static, unused*/, L_19, /*hidden argument*/NULL); return; } } // System.IO.TextWriter System.Console::get_Error() extern Il2CppClass* Console_t2311202731_il2cpp_TypeInfo_var; extern const uint32_t Console_get_Error_m2313154535_MetadataUsageId; extern "C" TextWriter_t4027217640 * Console_get_Error_m2313154535 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Console_get_Error_m2313154535_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Console_t2311202731_il2cpp_TypeInfo_var); TextWriter_t4027217640 * L_0 = ((Console_t2311202731_StaticFields*)Console_t2311202731_il2cpp_TypeInfo_var->static_fields)->get_stderr_1(); return L_0; } } // System.IO.Stream System.Console::Open(System.IntPtr,System.IO.FileAccess,System.Int32) extern Il2CppClass* FileStream_t1695958676_il2cpp_TypeInfo_var; extern Il2CppClass* IOException_t2458421087_il2cpp_TypeInfo_var; extern Il2CppClass* NullStream_t322566869_il2cpp_TypeInfo_var; extern const uint32_t Console_Open_m2656719008_MetadataUsageId; extern "C" Stream_t3255436806 * Console_Open_m2656719008 (Il2CppObject * __this /* static, unused */, IntPtr_t ___handle0, int32_t ___access1, int32_t ___bufferSize2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Console_Open_m2656719008_MetadataUsageId); s_Il2CppMethodInitialized = true; } Stream_t3255436806 * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); IL_0000: try { // begin try (depth: 1) { IntPtr_t L_0 = ___handle0; int32_t L_1 = ___access1; int32_t L_2 = ___bufferSize2; int32_t L_3 = ___bufferSize2; FileStream_t1695958676 * L_4 = (FileStream_t1695958676 *)il2cpp_codegen_object_new(FileStream_t1695958676_il2cpp_TypeInfo_var); FileStream__ctor_m3026076202(L_4, L_0, L_1, (bool)0, L_2, (bool)0, (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL); V_0 = L_4; goto IL_002a; } IL_0014: { ; // IL_0014: leave IL_002a } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (IOException_t2458421087_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0019; throw e; } CATCH_0019: { // begin catch(System.IO.IOException) { NullStream_t322566869 * L_5 = (NullStream_t322566869 *)il2cpp_codegen_object_new(NullStream_t322566869_il2cpp_TypeInfo_var); NullStream__ctor_m3887432344(L_5, /*hidden argument*/NULL); V_0 = L_5; goto IL_002a; } IL_0025: { ; // IL_0025: leave IL_002a } } // end catch (depth: 1) IL_002a: { Stream_t3255436806 * L_6 = V_0; return L_6; } } // System.IO.Stream System.Console::OpenStandardError(System.Int32) extern Il2CppClass* MonoIO_t2170088987_il2cpp_TypeInfo_var; extern Il2CppClass* Console_t2311202731_il2cpp_TypeInfo_var; extern const uint32_t Console_OpenStandardError_m3676373108_MetadataUsageId; extern "C" Stream_t3255436806 * Console_OpenStandardError_m3676373108 (Il2CppObject * __this /* static, unused */, int32_t ___bufferSize0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Console_OpenStandardError_m3676373108_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(MonoIO_t2170088987_il2cpp_TypeInfo_var); IntPtr_t L_0 = MonoIO_get_ConsoleError_m592181393(NULL /*static, unused*/, /*hidden argument*/NULL); int32_t L_1 = ___bufferSize0; IL2CPP_RUNTIME_CLASS_INIT(Console_t2311202731_il2cpp_TypeInfo_var); Stream_t3255436806 * L_2 = Console_Open_m2656719008(NULL /*static, unused*/, L_0, 2, L_1, /*hidden argument*/NULL); return L_2; } } // System.IO.Stream System.Console::OpenStandardInput(System.Int32) extern Il2CppClass* MonoIO_t2170088987_il2cpp_TypeInfo_var; extern Il2CppClass* Console_t2311202731_il2cpp_TypeInfo_var; extern const uint32_t Console_OpenStandardInput_m3779296306_MetadataUsageId; extern "C" Stream_t3255436806 * Console_OpenStandardInput_m3779296306 (Il2CppObject * __this /* static, unused */, int32_t ___bufferSize0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Console_OpenStandardInput_m3779296306_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(MonoIO_t2170088987_il2cpp_TypeInfo_var); IntPtr_t L_0 = MonoIO_get_ConsoleInput_m2976499023(NULL /*static, unused*/, /*hidden argument*/NULL); int32_t L_1 = ___bufferSize0; IL2CPP_RUNTIME_CLASS_INIT(Console_t2311202731_il2cpp_TypeInfo_var); Stream_t3255436806 * L_2 = Console_Open_m2656719008(NULL /*static, unused*/, L_0, 1, L_1, /*hidden argument*/NULL); return L_2; } } // System.IO.Stream System.Console::OpenStandardOutput(System.Int32) extern Il2CppClass* MonoIO_t2170088987_il2cpp_TypeInfo_var; extern Il2CppClass* Console_t2311202731_il2cpp_TypeInfo_var; extern const uint32_t Console_OpenStandardOutput_m271745789_MetadataUsageId; extern "C" Stream_t3255436806 * Console_OpenStandardOutput_m271745789 (Il2CppObject * __this /* static, unused */, int32_t ___bufferSize0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Console_OpenStandardOutput_m271745789_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(MonoIO_t2170088987_il2cpp_TypeInfo_var); IntPtr_t L_0 = MonoIO_get_ConsoleOutput_m3658567930(NULL /*static, unused*/, /*hidden argument*/NULL); int32_t L_1 = ___bufferSize0; IL2CPP_RUNTIME_CLASS_INIT(Console_t2311202731_il2cpp_TypeInfo_var); Stream_t3255436806 * L_2 = Console_Open_m2656719008(NULL /*static, unused*/, L_0, 2, L_1, /*hidden argument*/NULL); return L_2; } } // System.Void System.ContextBoundObject::.ctor() extern "C" void ContextBoundObject__ctor_m315654911 (ContextBoundObject_t4264702438 * __this, const MethodInfo* method) { { MarshalByRefObject__ctor_m529577364(__this, /*hidden argument*/NULL); return; } } // System.Void System.Convert::.cctor() extern const Il2CppType* Il2CppObject_0_0_0_var; extern const Il2CppType* DBNull_t972229383_0_0_0_var; extern const Il2CppType* Boolean_t3825574718_0_0_0_var; extern const Il2CppType* Char_t3454481338_0_0_0_var; extern const Il2CppType* SByte_t454417549_0_0_0_var; extern const Il2CppType* Byte_t3683104436_0_0_0_var; extern const Il2CppType* Int16_t4041245914_0_0_0_var; extern const Il2CppType* UInt16_t986882611_0_0_0_var; extern const Il2CppType* Int32_t2071877448_0_0_0_var; extern const Il2CppType* UInt32_t2149682021_0_0_0_var; extern const Il2CppType* Int64_t909078037_0_0_0_var; extern const Il2CppType* UInt64_t2909196914_0_0_0_var; extern const Il2CppType* Single_t2076509932_0_0_0_var; extern const Il2CppType* Double_t4078015681_0_0_0_var; extern const Il2CppType* Decimal_t724701077_0_0_0_var; extern const Il2CppType* DateTime_t693205669_0_0_0_var; extern const Il2CppType* String_t_0_0_0_var; extern Il2CppClass* DBNull_t972229383_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppClass* TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern const uint32_t Convert__cctor_m926133987_MetadataUsageId; extern "C" void Convert__cctor_m926133987 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert__cctor_m926133987_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(DBNull_t972229383_il2cpp_TypeInfo_var); DBNull_t972229383 * L_0 = ((DBNull_t972229383_StaticFields*)DBNull_t972229383_il2cpp_TypeInfo_var->static_fields)->get_Value_0(); ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->set_DBNull_0(L_0); TypeU5BU5D_t1664964607* L_1 = ((TypeU5BU5D_t1664964607*)SZArrayNew(TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var, (uint32_t)((int32_t)19))); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_2 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Il2CppObject_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_1, L_2); (L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (Type_t *)L_2); TypeU5BU5D_t1664964607* L_3 = L_1; Type_t * L_4 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(DBNull_t972229383_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_3, L_4); (L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (Type_t *)L_4); TypeU5BU5D_t1664964607* L_5 = L_3; Type_t * L_6 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Boolean_t3825574718_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_5, L_6); (L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (Type_t *)L_6); TypeU5BU5D_t1664964607* L_7 = L_5; Type_t * L_8 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Char_t3454481338_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_7, L_8); (L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (Type_t *)L_8); TypeU5BU5D_t1664964607* L_9 = L_7; Type_t * L_10 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(SByte_t454417549_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_9, L_10); (L_9)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (Type_t *)L_10); TypeU5BU5D_t1664964607* L_11 = L_9; Type_t * L_12 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Byte_t3683104436_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_11, L_12); (L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (Type_t *)L_12); TypeU5BU5D_t1664964607* L_13 = L_11; Type_t * L_14 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Int16_t4041245914_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_13, L_14); (L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(7), (Type_t *)L_14); TypeU5BU5D_t1664964607* L_15 = L_13; Type_t * L_16 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(UInt16_t986882611_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_15, L_16); (L_15)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(8), (Type_t *)L_16); TypeU5BU5D_t1664964607* L_17 = L_15; Type_t * L_18 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Int32_t2071877448_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_17, L_18); (L_17)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)9)), (Type_t *)L_18); TypeU5BU5D_t1664964607* L_19 = L_17; Type_t * L_20 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(UInt32_t2149682021_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_19, L_20); (L_19)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)10)), (Type_t *)L_20); TypeU5BU5D_t1664964607* L_21 = L_19; Type_t * L_22 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Int64_t909078037_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_21, L_22); (L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)11)), (Type_t *)L_22); TypeU5BU5D_t1664964607* L_23 = L_21; Type_t * L_24 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(UInt64_t2909196914_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_23, L_24); (L_23)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)12)), (Type_t *)L_24); TypeU5BU5D_t1664964607* L_25 = L_23; Type_t * L_26 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Single_t2076509932_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_25, L_26); (L_25)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)13)), (Type_t *)L_26); TypeU5BU5D_t1664964607* L_27 = L_25; Type_t * L_28 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Double_t4078015681_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_27, L_28); (L_27)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)14)), (Type_t *)L_28); TypeU5BU5D_t1664964607* L_29 = L_27; Type_t * L_30 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Decimal_t724701077_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_29, L_30); (L_29)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)15)), (Type_t *)L_30); TypeU5BU5D_t1664964607* L_31 = L_29; Type_t * L_32 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(DateTime_t693205669_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_31, L_32); (L_31)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)16)), (Type_t *)L_32); TypeU5BU5D_t1664964607* L_33 = L_31; Type_t * L_34 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(String_t_0_0_0_var), /*hidden argument*/NULL); ArrayElementTypeCheck (L_33, L_34); (L_33)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)18)), (Type_t *)L_34); ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->set_conversionTable_1(L_33); return; } } // System.Byte[] System.Convert::InternalFromBase64String(System.String,System.Boolean) extern "C" ByteU5BU5D_t3397334013* Convert_InternalFromBase64String_m3682756716 (Il2CppObject * __this /* static, unused */, String_t* ___str0, bool ___allowWhitespaceOnly1, const MethodInfo* method) { using namespace il2cpp::icalls; typedef ByteU5BU5D_t3397334013* (*Convert_InternalFromBase64String_m3682756716_ftn) (String_t*, bool); return ((Convert_InternalFromBase64String_m3682756716_ftn)mscorlib::System::Convert::InternalFromBase64String) (___str0, ___allowWhitespaceOnly1); } // System.Byte[] System.Convert::FromBase64String(System.String) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029391; extern const uint32_t Convert_FromBase64String_m3629466114_MetadataUsageId; extern "C" ByteU5BU5D_t3397334013* Convert_FromBase64String_m3629466114 (Il2CppObject * __this /* static, unused */, String_t* ___s0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_FromBase64String_m3629466114_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___s0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral372029391, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___s0; int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL); if (L_3) { goto IL_0023; } } { return ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)0)); } IL_0023: { String_t* L_4 = ___s0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); ByteU5BU5D_t3397334013* L_5 = Convert_InternalFromBase64String_m3682756716(NULL /*static, unused*/, L_4, (bool)1, /*hidden argument*/NULL); return L_5; } } // System.String System.Convert::ToBase64String(System.Byte[]) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral922943550; extern const uint32_t Convert_ToBase64String_m1936815455_MetadataUsageId; extern "C" String_t* Convert_ToBase64String_m1936815455 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___inArray0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToBase64String_m1936815455_MetadataUsageId); s_Il2CppMethodInitialized = true; } { ByteU5BU5D_t3397334013* L_0 = ___inArray0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral922943550, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { ByteU5BU5D_t3397334013* L_2 = ___inArray0; ByteU5BU5D_t3397334013* L_3 = ___inArray0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); String_t* L_4 = Convert_ToBase64String_m1259091507(NULL /*static, unused*/, L_2, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_3)->max_length)))), /*hidden argument*/NULL); return L_4; } } // System.String System.Convert::ToBase64String(System.Byte[],System.Int32,System.Int32) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ASCIIEncoding_t3022927988_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral922943550; extern Il2CppCodeGenString* _stringLiteral2615531837; extern Il2CppCodeGenString* _stringLiteral1333737063; extern const uint32_t Convert_ToBase64String_m1259091507_MetadataUsageId; extern "C" String_t* Convert_ToBase64String_m1259091507 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___inArray0, int32_t ___offset1, int32_t ___length2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToBase64String_m1259091507_MetadataUsageId); s_Il2CppMethodInitialized = true; } ByteU5BU5D_t3397334013* V_0 = NULL; { ByteU5BU5D_t3397334013* L_0 = ___inArray0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral922943550, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___offset1; if ((((int32_t)L_2) < ((int32_t)0))) { goto IL_001f; } } { int32_t L_3 = ___length2; if ((((int32_t)L_3) >= ((int32_t)0))) { goto IL_002a; } } IL_001f: { ArgumentOutOfRangeException_t279959794 * L_4 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_4, _stringLiteral2615531837, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_002a: { int32_t L_5 = ___offset1; ByteU5BU5D_t3397334013* L_6 = ___inArray0; int32_t L_7 = ___length2; if ((((int32_t)L_5) <= ((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length))))-(int32_t)L_7))))) { goto IL_0040; } } { ArgumentOutOfRangeException_t279959794 * L_8 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_8, _stringLiteral1333737063, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_0040: { ByteU5BU5D_t3397334013* L_9 = ___inArray0; int32_t L_10 = ___offset1; int32_t L_11 = ___length2; ByteU5BU5D_t3397334013* L_12 = ToBase64Transform_InternalTransformFinalBlock_m391945966(NULL /*static, unused*/, L_9, L_10, L_11, /*hidden argument*/NULL); V_0 = L_12; ASCIIEncoding_t3022927988 * L_13 = (ASCIIEncoding_t3022927988 *)il2cpp_codegen_object_new(ASCIIEncoding_t3022927988_il2cpp_TypeInfo_var); ASCIIEncoding__ctor_m4127831672(L_13, /*hidden argument*/NULL); ByteU5BU5D_t3397334013* L_14 = V_0; String_t* L_15 = VirtFuncInvoker1< String_t*, ByteU5BU5D_t3397334013* >::Invoke(22 /* System.String System.Text.Encoding::GetString(System.Byte[]) */, L_13, L_14); return L_15; } } // System.Boolean System.Convert::ToBoolean(System.Byte) extern "C" bool Convert_ToBoolean_m2032547942 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToBoolean_m609649195_MetadataUsageId; extern "C" bool Convert_ToBoolean_m609649195 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToBoolean_m609649195_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_op_Inequality_m519758535(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.Convert::ToBoolean(System.Double) extern "C" bool Convert_ToBoolean_m2764507461 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { { double L_0 = ___value0; return (bool)((((int32_t)((((double)L_0) == ((double)(0.0)))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.Single) extern "C" bool Convert_ToBoolean_m527095044 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; return (bool)((((int32_t)((((float)L_0) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.Int32) extern "C" bool Convert_ToBoolean_m2374595998 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; return (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.Int64) extern "C" bool Convert_ToBoolean_m1211796357 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { { int64_t L_0 = ___value0; return (bool)((((int32_t)((((int64_t)L_0) == ((int64_t)(((int64_t)((int64_t)0)))))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.SByte) extern "C" bool Convert_ToBoolean_m3882815225 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { { int8_t L_0 = ___value0; return (bool)((((int32_t)((((int32_t)(((int32_t)((int32_t)L_0)))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.Int16) extern "C" bool Convert_ToBoolean_m48997236 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { { int16_t L_0 = ___value0; return (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.String,System.IFormatProvider) extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToBoolean_m3091522205_MetadataUsageId; extern "C" bool Convert_ToBoolean_m3091522205 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToBoolean_m3091522205_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___value0; if (L_0) { goto IL_0008; } } { return (bool)0; } IL_0008: { String_t* L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Boolean_t3825574718_il2cpp_TypeInfo_var); bool L_2 = Boolean_Parse_m3612710908(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.Convert::ToBoolean(System.UInt32) extern "C" bool Convert_ToBoolean_m2188088811 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { { uint32_t L_0 = ___value0; return (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.UInt64) extern "C" bool Convert_ToBoolean_m3169319766 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { { uint64_t L_0 = ___value0; return (bool)((((int32_t)((((int64_t)L_0) == ((int64_t)(((int64_t)((int64_t)0)))))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.UInt16) extern "C" bool Convert_ToBoolean_m2470413809 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { { uint16_t L_0 = ___value0; return (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Convert::ToBoolean(System.Object) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToBoolean_m3380084829_MetadataUsageId; extern "C" bool Convert_ToBoolean_m3380084829 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToBoolean_m3380084829_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return (bool)0; } IL_0008: { Il2CppObject * L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); bool L_2 = Convert_ToBoolean_m949259033(NULL /*static, unused*/, L_1, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.Convert::ToBoolean(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToBoolean_m949259033_MetadataUsageId; extern "C" bool Convert_ToBoolean_m949259033 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToBoolean_m949259033_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return (bool)0; } IL_0008: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; bool L_3 = InterfaceFuncInvoker1< bool, Il2CppObject * >::Invoke(0 /* System.Boolean System.IConvertible::ToBoolean(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.Byte System.Convert::ToByte(System.Boolean) extern "C" uint8_t Convert_ToByte_m3220387780 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return (((int32_t)((uint8_t)G_B3_0))); } } // System.Byte System.Convert::ToByte(System.Char) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral687509323; extern const uint32_t Convert_ToByte_m1730472478_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m1730472478 (Il2CppObject * __this /* static, unused */, Il2CppChar ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m1730472478_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppChar L_0 = ___value0; if ((((int32_t)L_0) <= ((int32_t)((int32_t)255)))) { goto IL_001b; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral687509323, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001b: { Il2CppChar L_3 = ___value0; return (((int32_t)((uint8_t)L_3))); } } // System.Byte System.Convert::ToByte(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4050569785; extern const uint32_t Convert_ToByte_m3700175607_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m3700175607 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m3700175607_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, ((int32_t)255), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_op_GreaterThan_m1625379433(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_0026; } } { Decimal_t724701077 L_3 = ___value0; Decimal_t724701077 L_4; memset(&L_4, 0, sizeof(L_4)); Decimal__ctor_m1010012873(&L_4, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_5 = Decimal_op_LessThan_m3672626320(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0036; } } IL_0026: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4050569785, /*hidden argument*/NULL); OverflowException_t1075868493 * L_7 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_7, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0036: { Decimal_t724701077 L_8 = ___value0; Decimal_t724701077 L_9 = Math_Round_m565516458(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); uint8_t L_10 = Decimal_op_Explicit_m1053293908(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); return L_10; } } // System.Byte System.Convert::ToByte(System.Double) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4050569785; extern Il2CppCodeGenString* _stringLiteral4290356793; extern const uint32_t Convert_ToByte_m1571267017_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m1571267017 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m1571267017_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; if ((((double)L_0) > ((double)(255.0)))) { goto IL_001e; } } { double L_1 = ___value0; if ((!(((double)L_1) < ((double)(0.0))))) { goto IL_002e; } } IL_001e: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4050569785, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002e: { double L_4 = ___value0; bool L_5 = Double_IsNaN_m2289494211(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); if (L_5) { goto IL_0044; } } { double L_6 = ___value0; bool L_7 = Double_IsInfinity_m1190290474(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_0054; } } IL_0044: { String_t* L_8 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4290356793, /*hidden argument*/NULL); OverflowException_t1075868493 * L_9 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_9, L_8, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_9); } IL_0054: { double L_10 = ___value0; double L_11 = bankers_round(L_10); return (((int32_t)((uint8_t)L_11))); } } // System.Byte System.Convert::ToByte(System.Single) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3458571199; extern Il2CppCodeGenString* _stringLiteral1005840790; extern const uint32_t Convert_ToByte_m1733800206_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m1733800206 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m1733800206_MetadataUsageId); s_Il2CppMethodInitialized = true; } { float L_0 = ___value0; if ((((float)L_0) > ((float)(255.0f)))) { goto IL_0016; } } { float L_1 = ___value0; if ((!(((float)L_1) < ((float)(0.0f))))) { goto IL_0026; } } IL_0016: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3458571199, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { float L_4 = ___value0; bool L_5 = Single_IsNaN_m2349591895(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); if (L_5) { goto IL_003c; } } { float L_6 = ___value0; bool L_7 = Single_IsInfinity_m3331110346(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_004c; } } IL_003c: { String_t* L_8 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1005840790, /*hidden argument*/NULL); OverflowException_t1075868493 * L_9 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_9, L_8, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_9); } IL_004c: { float L_10 = ___value0; double L_11 = bankers_round((((double)((double)L_10)))); return (((int32_t)((uint8_t)L_11))); } } // System.Byte System.Convert::ToByte(System.Int32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4050569785; extern const uint32_t Convert_ToByte_m1201588964_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m1201588964 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m1201588964_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___value0; if ((((int32_t)L_0) > ((int32_t)((int32_t)255)))) { goto IL_0012; } } { int32_t L_1 = ___value0; if ((((int32_t)L_1) >= ((int32_t)0))) { goto IL_0022; } } IL_0012: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4050569785, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int32_t L_4 = ___value0; return (((int32_t)((uint8_t)L_4))); } } // System.Byte System.Convert::ToByte(System.Int64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4050569785; extern const uint32_t Convert_ToByte_m395020137_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m395020137 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m395020137_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___value0; if ((((int64_t)L_0) > ((int64_t)(((int64_t)((int64_t)((int32_t)255))))))) { goto IL_0014; } } { int64_t L_1 = ___value0; if ((((int64_t)L_1) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0024; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4050569785, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0024: { int64_t L_4 = ___value0; return (((int32_t)((uint8_t)L_4))); } } // System.Byte System.Convert::ToByte(System.SByte) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3013628708; extern const uint32_t Convert_ToByte_m2303223565_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m2303223565 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m2303223565_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int8_t L_0 = ___value0; if ((((int32_t)(((int32_t)((int32_t)L_0)))) >= ((int32_t)0))) { goto IL_0018; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3013628708, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { int8_t L_3 = ___value0; return (((int32_t)((uint8_t)L_3))); } } // System.Byte System.Convert::ToByte(System.Int16) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4050569785; extern const uint32_t Convert_ToByte_m3527187858_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m3527187858 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m3527187858_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int16_t L_0 = ___value0; if ((((int32_t)L_0) > ((int32_t)((int32_t)255)))) { goto IL_0012; } } { int16_t L_1 = ___value0; if ((((int32_t)L_1) >= ((int32_t)0))) { goto IL_0022; } } IL_0012: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4050569785, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int16_t L_4 = ___value0; return (((int32_t)((uint8_t)L_4))); } } // System.Byte System.Convert::ToByte(System.String) extern "C" uint8_t Convert_ToByte_m3147313973 (Il2CppObject * __this /* static, unused */, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { String_t* L_1 = ___value0; uint8_t L_2 = Byte_Parse_m1442736478(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } } // System.Byte System.Convert::ToByte(System.String,System.IFormatProvider) extern "C" uint8_t Convert_ToByte_m1008221737 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { String_t* L_1 = ___value0; Il2CppObject * L_2 = ___provider1; uint8_t L_3 = Byte_Parse_m3219659706(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.Byte System.Convert::ToByte(System.UInt32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral687509323; extern const uint32_t Convert_ToByte_m509311047_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m509311047 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m509311047_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint32_t L_0 = ___value0; if ((!(((uint32_t)L_0) > ((uint32_t)((int32_t)255))))) { goto IL_001b; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral687509323, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001b: { uint32_t L_3 = ___value0; return (((int32_t)((uint8_t)L_3))); } } // System.Byte System.Convert::ToByte(System.UInt64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral687509323; extern const uint32_t Convert_ToByte_m932798552_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m932798552 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m932798552_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint64_t L_0 = ___value0; if ((!(((uint64_t)L_0) > ((uint64_t)(((int64_t)((int64_t)((int32_t)255)))))))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral687509323, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { uint64_t L_3 = ___value0; return (((int32_t)((uint8_t)L_3))); } } // System.Byte System.Convert::ToByte(System.UInt16) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral687509323; extern const uint32_t Convert_ToByte_m791636053_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m791636053 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m791636053_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint16_t L_0 = ___value0; if ((((int32_t)L_0) <= ((int32_t)((int32_t)255)))) { goto IL_001b; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral687509323, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001b: { uint16_t L_3 = ___value0; return (((int32_t)((uint8_t)L_3))); } } // System.Byte System.Convert::ToByte(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToByte_m9159597_MetadataUsageId; extern "C" uint8_t Convert_ToByte_m9159597 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToByte_m9159597_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; uint8_t L_3 = InterfaceFuncInvoker1< uint8_t, Il2CppObject * >::Invoke(1 /* System.Byte System.IConvertible::ToByte(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.Char System.Convert::ToChar(System.Byte) extern "C" Il2CppChar Convert_ToChar_m2170787796 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return (((int32_t)((uint16_t)L_0))); } } // System.Char System.Convert::ToChar(System.Int32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4104945741; extern const uint32_t Convert_ToChar_m3827339132_MetadataUsageId; extern "C" Il2CppChar Convert_ToChar_m3827339132 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToChar_m3827339132_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___value0; if ((((int32_t)L_0) > ((int32_t)((int32_t)65535)))) { goto IL_0012; } } { int32_t L_1 = ___value0; if ((((int32_t)L_1) >= ((int32_t)0))) { goto IL_0022; } } IL_0012: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4104945741, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int32_t L_4 = ___value0; return (((int32_t)((uint16_t)L_4))); } } // System.Char System.Convert::ToChar(System.Int64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4104945741; extern const uint32_t Convert_ToChar_m695171477_MetadataUsageId; extern "C" Il2CppChar Convert_ToChar_m695171477 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToChar_m695171477_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___value0; if ((((int64_t)L_0) > ((int64_t)(((int64_t)((int64_t)((int32_t)65535))))))) { goto IL_0014; } } { int64_t L_1 = ___value0; if ((((int64_t)L_1) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0024; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4104945741, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0024: { int64_t L_4 = ___value0; return (((int32_t)((uint16_t)L_4))); } } // System.Char System.Convert::ToChar(System.Single) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2763354249; extern const uint32_t Convert_ToChar_m759006262_MetadataUsageId; extern "C" Il2CppChar Convert_ToChar_m759006262 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToChar_m759006262_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_0, _stringLiteral2763354249, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Char System.Convert::ToChar(System.SByte) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3094763074; extern const uint32_t Convert_ToChar_m541258017_MetadataUsageId; extern "C" Il2CppChar Convert_ToChar_m541258017 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToChar_m541258017_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int8_t L_0 = ___value0; if ((((int32_t)(((int32_t)((int32_t)L_0)))) >= ((int32_t)0))) { goto IL_0018; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3094763074, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { int8_t L_3 = ___value0; return (((int32_t)((uint16_t)L_3))); } } // System.Char System.Convert::ToChar(System.Int16) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3094763074; extern const uint32_t Convert_ToChar_m1857970598_MetadataUsageId; extern "C" Il2CppChar Convert_ToChar_m1857970598 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToChar_m1857970598_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int16_t L_0 = ___value0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_0017; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3094763074, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0017: { int16_t L_3 = ___value0; return (((int32_t)((uint16_t)L_3))); } } // System.Char System.Convert::ToChar(System.String,System.IFormatProvider) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToChar_m541531581_MetadataUsageId; extern "C" Il2CppChar Convert_ToChar_m541531581 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToChar_m541531581_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); Il2CppChar L_1 = Char_Parse_m2121403806(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Char System.Convert::ToChar(System.UInt32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3557338937; extern const uint32_t Convert_ToChar_m528169935_MetadataUsageId; extern "C" Il2CppChar Convert_ToChar_m528169935 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToChar_m528169935_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint32_t L_0 = ___value0; if ((!(((uint32_t)L_0) > ((uint32_t)((int32_t)65535))))) { goto IL_001b; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3557338937, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001b: { uint32_t L_3 = ___value0; return (((int32_t)((uint16_t)L_3))); } } // System.Char System.Convert::ToChar(System.UInt64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3557338937; extern const uint32_t Convert_ToChar_m951657444_MetadataUsageId; extern "C" Il2CppChar Convert_ToChar_m951657444 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToChar_m951657444_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint64_t L_0 = ___value0; if ((!(((uint64_t)L_0) > ((uint64_t)(((int64_t)((int64_t)((int32_t)65535)))))))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3557338937, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { uint64_t L_3 = ___value0; return (((int32_t)((uint16_t)L_3))); } } // System.Char System.Convert::ToChar(System.UInt16) extern "C" Il2CppChar Convert_ToChar_m245844937 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { { uint16_t L_0 = ___value0; return L_0; } } // System.Char System.Convert::ToChar(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToChar_m460260673_MetadataUsageId; extern "C" Il2CppChar Convert_ToChar_m460260673 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToChar_m460260673_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; Il2CppChar L_3 = InterfaceFuncInvoker1< Il2CppChar, Il2CppObject * >::Invoke(2 /* System.Char System.IConvertible::ToChar(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.DateTime System.Convert::ToDateTime(System.String,System.IFormatProvider) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDateTime_m261774113_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m261774113 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m261774113_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___value0; if (L_0) { goto IL_000c; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_1 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); return L_1; } IL_000c: { String_t* L_2 = ___value0; Il2CppObject * L_3 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_4 = DateTime_Parse_m894006266(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); return L_4; } } // System.DateTime System.Convert::ToDateTime(System.Int16) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2763354249; extern const uint32_t Convert_ToDateTime_m1029759568_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m1029759568 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m1029759568_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_0, _stringLiteral2763354249, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.DateTime System.Convert::ToDateTime(System.Int32) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2763354249; extern const uint32_t Convert_ToDateTime_m2999128102_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m2999128102 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m2999128102_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_0, _stringLiteral2763354249, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.DateTime System.Convert::ToDateTime(System.Int64) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2763354249; extern const uint32_t Convert_ToDateTime_m4161927553_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m4161927553 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m4161927553_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_0, _stringLiteral2763354249, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.DateTime System.Convert::ToDateTime(System.Single) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2763354249; extern const uint32_t Convert_ToDateTime_m1251728572_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m1251728572 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m1251728572_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_0, _stringLiteral2763354249, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.DateTime System.Convert::ToDateTime(System.Object,System.IFormatProvider) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDateTime_m1910077341_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m1910077341 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m1910077341_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_000c; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_1 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); return L_1; } IL_000c: { Il2CppObject * L_2 = ___value0; Il2CppObject * L_3 = ___provider1; DateTime_t693205669 L_4 = InterfaceFuncInvoker1< DateTime_t693205669 , Il2CppObject * >::Invoke(3 /* System.DateTime System.IConvertible::ToDateTime(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_2, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_3); return L_4; } } // System.DateTime System.Convert::ToDateTime(System.SByte) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2763354249; extern const uint32_t Convert_ToDateTime_m1020507389_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m1020507389 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m1020507389_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_0, _stringLiteral2763354249, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.DateTime System.Convert::ToDateTime(System.UInt16) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2763354249; extern const uint32_t Convert_ToDateTime_m3528521877_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m3528521877 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m3528521877_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_0, _stringLiteral2763354249, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.DateTime System.Convert::ToDateTime(System.UInt32) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2763354249; extern const uint32_t Convert_ToDateTime_m3810846875_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m3810846875 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m3810846875_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_0, _stringLiteral2763354249, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.DateTime System.Convert::ToDateTime(System.UInt64) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2763354249; extern const uint32_t Convert_ToDateTime_m1626410554_MetadataUsageId; extern "C" DateTime_t693205669 Convert_ToDateTime_m1626410554 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDateTime_m1626410554_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_0, _stringLiteral2763354249, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Decimal System.Convert::ToDecimal(System.Boolean) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m3155136770_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m3155136770 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m3155136770_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Implicit_m3312726949(NULL /*static, unused*/, G_B3_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.Byte) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m255741126_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m255741126 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m255741126_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint8_t L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Implicit_m2971610317(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.Decimal) extern "C" Decimal_t724701077 Convert_ToDecimal_m2889188811 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { { Decimal_t724701077 L_0 = ___value0; return L_0; } } // System.Decimal System.Convert::ToDecimal(System.Double) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m1354200421_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m1354200421 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m1354200421_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Explicit_m1194935507(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.Single) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m2007036836_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m2007036836 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m2007036836_MetadataUsageId); s_Il2CppMethodInitialized = true; } { float L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Explicit_m185184148(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.Int32) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m4037963518_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m4037963518 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m4037963518_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Implicit_m3312726949(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.Int64) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m2875163877_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m2875163877 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m2875163877_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Implicit_m2149927308(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.SByte) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m2736745817_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m2736745817 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m2736745817_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int8_t L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Implicit_m623319612(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.Int16) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m1712364756_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m1712364756 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m1712364756_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int16_t L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Implicit_m987128055(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.String,System.IFormatProvider) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m2284596541_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m2284596541 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m2284596541_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___value0; if (L_0) { goto IL_000d; } } { Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, 0, /*hidden argument*/NULL); return L_1; } IL_000d: { String_t* L_2 = ___value0; Il2CppObject * L_3 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_4 = Decimal_Parse_m2662862650(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); return L_4; } } // System.Decimal System.Convert::ToDecimal(System.UInt32) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m777781771_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m777781771 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m777781771_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint32_t L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Implicit_m4246329390(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.UInt64) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m354294262_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m354294262 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m354294262_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint64_t L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Implicit_m2135798419(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.UInt16) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m1060106769_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m1060106769 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m1060106769_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint16_t L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_1 = Decimal_op_Implicit_m233687092(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Convert::ToDecimal(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDecimal_m349440953_MetadataUsageId; extern "C" Decimal_t724701077 Convert_ToDecimal_m349440953 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDecimal_m349440953_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_000d; } } { Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, 0, /*hidden argument*/NULL); return L_1; } IL_000d: { Il2CppObject * L_2 = ___value0; Il2CppObject * L_3 = ___provider1; Decimal_t724701077 L_4 = InterfaceFuncInvoker1< Decimal_t724701077 , Il2CppObject * >::Invoke(4 /* System.Decimal System.IConvertible::ToDecimal(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_2, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_3); return L_4; } } // System.Double System.Convert::ToDouble(System.Boolean) extern "C" double Convert_ToDouble_m204912726 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return (((double)((double)G_B3_0))); } } // System.Double System.Convert::ToDouble(System.Byte) extern "C" double Convert_ToDouble_m2673807774 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return (((double)((double)L_0))); } } // System.Double System.Convert::ToDouble(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDouble_m1210655267_MetadataUsageId; extern "C" double Convert_ToDouble_m1210655267 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDouble_m1210655267_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); double L_1 = Decimal_op_Explicit_m16014099(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Double System.Convert::ToDouble(System.Double) extern "C" double Convert_ToDouble_m1714698801 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { { double L_0 = ___value0; return L_0; } } // System.Double System.Convert::ToDouble(System.Single) extern "C" double Convert_ToDouble_m2956884076 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; return (((double)((double)L_0))); } } // System.Double System.Convert::ToDouble(System.Int32) extern "C" double Convert_ToDouble_m1550692470 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; return (((double)((double)L_0))); } } // System.Double System.Convert::ToDouble(System.Int64) extern "C" double Convert_ToDouble_m2357261297 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { { int64_t L_0 = ___value0; return (((double)((double)L_0))); } } // System.Double System.Convert::ToDouble(System.SByte) extern "C" double Convert_ToDouble_m2226915533 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { { int8_t L_0 = ___value0; return (((double)((double)L_0))); } } // System.Double System.Convert::ToDouble(System.Int16) extern "C" double Convert_ToDouble_m3520060872 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { { int16_t L_0 = ___value0; return (((double)((double)L_0))); } } // System.Double System.Convert::ToDouble(System.String,System.IFormatProvider) extern "C" double Convert_ToDouble_m2038331505 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0010; } } { return (0.0); } IL_0010: { String_t* L_1 = ___value0; Il2CppObject * L_2 = ___provider1; double L_3 = Double_Parse_m2281765178(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.Double System.Convert::ToDouble(System.UInt32) extern "C" double Convert_ToDouble_m4236754739 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { { uint32_t L_0 = ___value0; return (((double)((double)(((double)((uint32_t)L_0)))))); } } // System.Double System.Convert::ToDouble(System.UInt64) extern "C" double Convert_ToDouble_m923018402 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { { uint64_t L_0 = ___value0; return (((double)((double)(((double)((uint64_t)L_0)))))); } } // System.Double System.Convert::ToDouble(System.UInt16) extern "C" double Convert_ToDouble_m3954429733 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { { uint16_t L_0 = ___value0; return (((double)((double)L_0))); } } // System.Double System.Convert::ToDouble(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToDouble_m574888941_MetadataUsageId; extern "C" double Convert_ToDouble_m574888941 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToDouble_m574888941_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0010; } } { return (0.0); } IL_0010: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; double L_3 = InterfaceFuncInvoker1< double, Il2CppObject * >::Invoke(5 /* System.Double System.IConvertible::ToDouble(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.Int16 System.Convert::ToInt16(System.Boolean) extern "C" int16_t Convert_ToInt16_m1787678274 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return (((int16_t)((int16_t)G_B3_0))); } } // System.Int16 System.Convert::ToInt16(System.Byte) extern "C" int16_t Convert_ToInt16_m755091206 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return L_0; } } // System.Int16 System.Convert::ToInt16(System.Char) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1596250581; extern const uint32_t Convert_ToInt16_m950730600_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m950730600 (Il2CppObject * __this /* static, unused */, Il2CppChar ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m950730600_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppChar L_0 = ___value0; if ((((int32_t)L_0) <= ((int32_t)((int32_t)32767)))) { goto IL_001b; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1596250581, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001b: { Il2CppChar L_3 = ___value0; return (((int16_t)((int16_t)L_3))); } } // System.Int16 System.Convert::ToInt16(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1748342737; extern const uint32_t Convert_ToInt16_m172393227_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m172393227 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m172393227_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, ((int32_t)32767), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_op_GreaterThan_m1625379433(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_002a; } } { Decimal_t724701077 L_3 = ___value0; Decimal_t724701077 L_4; memset(&L_4, 0, sizeof(L_4)); Decimal__ctor_m1010012873(&L_4, ((int32_t)-32768), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_5 = Decimal_op_LessThan_m3672626320(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_003a; } } IL_002a: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1748342737, /*hidden argument*/NULL); OverflowException_t1075868493 * L_7 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_7, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_003a: { Decimal_t724701077 L_8 = ___value0; Decimal_t724701077 L_9 = Math_Round_m565516458(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int16_t L_10 = Decimal_op_Explicit_m3315432402(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); return L_10; } } // System.Int16 System.Convert::ToInt16(System.Double) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1748342737; extern const uint32_t Convert_ToInt16_m3001914661_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m3001914661 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m3001914661_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; if ((((double)L_0) > ((double)(32767.0)))) { goto IL_001e; } } { double L_1 = ___value0; if ((!(((double)L_1) < ((double)(-32768.0))))) { goto IL_002e; } } IL_001e: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1748342737, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002e: { double L_4 = ___value0; double L_5 = bankers_round(L_4); return (((int16_t)((int16_t)L_5))); } } // System.Int16 System.Convert::ToInt16(System.Single) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1748342737; extern const uint32_t Convert_ToInt16_m416789348_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m416789348 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m416789348_MetadataUsageId); s_Il2CppMethodInitialized = true; } { float L_0 = ___value0; if ((((float)L_0) > ((float)(32767.0f)))) { goto IL_0016; } } { float L_1 = ___value0; if ((!(((float)L_1) < ((float)(-32768.0f))))) { goto IL_0026; } } IL_0016: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1748342737, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { float L_4 = ___value0; double L_5 = bankers_round((((double)((double)L_4)))); return (((int16_t)((int16_t)L_5))); } } // System.Int16 System.Convert::ToInt16(System.Int32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1748342737; extern const uint32_t Convert_ToInt16_m3374388286_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m3374388286 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m3374388286_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___value0; if ((((int32_t)L_0) > ((int32_t)((int32_t)32767)))) { goto IL_0016; } } { int32_t L_1 = ___value0; if ((((int32_t)L_1) >= ((int32_t)((int32_t)-32768)))) { goto IL_0026; } } IL_0016: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1748342737, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { int32_t L_4 = ___value0; return (((int16_t)((int16_t)L_4))); } } // System.Int16 System.Convert::ToInt16(System.Int64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1748342737; extern const uint32_t Convert_ToInt16_m2211588645_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m2211588645 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m2211588645_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___value0; if ((((int64_t)L_0) > ((int64_t)(((int64_t)((int64_t)((int32_t)32767))))))) { goto IL_0018; } } { int64_t L_1 = ___value0; if ((((int64_t)L_1) >= ((int64_t)(((int64_t)((int64_t)((int32_t)-32768))))))) { goto IL_0028; } } IL_0018: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1748342737, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0028: { int64_t L_4 = ___value0; return (((int16_t)((int16_t)L_4))); } } // System.Int16 System.Convert::ToInt16(System.SByte) extern "C" int16_t Convert_ToInt16_m960783641 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { { int8_t L_0 = ___value0; return (((int16_t)((int16_t)L_0))); } } // System.Int16 System.Convert::ToInt16(System.Int16) extern "C" int16_t Convert_ToInt16_m1048789524 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { { int16_t L_0 = ___value0; return L_0; } } // System.Int16 System.Convert::ToInt16(System.String,System.IFormatProvider) extern "C" int16_t Convert_ToInt16_m3462984061 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { String_t* L_1 = ___value0; Il2CppObject * L_2 = ___provider1; int16_t L_3 = Int16_Parse_m4091267008(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.Int16 System.Convert::ToInt16(System.UInt32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1596250581; extern const uint32_t Convert_ToInt16_m1536565067_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m1536565067 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m1536565067_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint32_t L_0 = ___value0; if ((((int64_t)(((int64_t)((uint64_t)L_0)))) <= ((int64_t)(((int64_t)((int64_t)((int32_t)32767))))))) { goto IL_001d; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1596250581, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001d: { uint32_t L_3 = ___value0; return (((int16_t)((int16_t)L_3))); } } // System.Int16 System.Convert::ToInt16(System.UInt64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1596250581; extern const uint32_t Convert_ToInt16_m1113077558_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m1113077558 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m1113077558_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint64_t L_0 = ___value0; if ((!(((uint64_t)L_0) > ((uint64_t)(((int64_t)((int64_t)((int32_t)32767)))))))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1596250581, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { uint64_t L_3 = ___value0; return (((int16_t)((int16_t)L_3))); } } // System.Int16 System.Convert::ToInt16(System.UInt16) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1596250581; extern const uint32_t Convert_ToInt16_m1818890065_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m1818890065 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m1818890065_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint16_t L_0 = ___value0; if ((((int32_t)L_0) <= ((int32_t)((int32_t)32767)))) { goto IL_001b; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1596250581, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001b: { uint16_t L_3 = ___value0; return (((int16_t)((int16_t)L_3))); } } // System.Int16 System.Convert::ToInt16(System.Object) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToInt16_m379530301_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m379530301 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m379530301_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int16_t L_2 = Convert_ToInt16_m591571705(NULL /*static, unused*/, L_1, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_2; } } // System.Int16 System.Convert::ToInt16(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToInt16_m591571705_MetadataUsageId; extern "C" int16_t Convert_ToInt16_m591571705 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt16_m591571705_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; int16_t L_3 = InterfaceFuncInvoker1< int16_t, Il2CppObject * >::Invoke(6 /* System.Int16 System.IConvertible::ToInt16(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.Int32 System.Convert::ToInt32(System.Boolean) extern "C" int32_t Convert_ToInt32_m55151042 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return G_B3_0; } } // System.Int32 System.Convert::ToInt32(System.Byte) extern "C" int32_t Convert_ToInt32_m3487847046 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return L_0; } } // System.Int32 System.Convert::ToInt32(System.Char) extern "C" int32_t Convert_ToInt32_m3683486440 (Il2CppObject * __this /* static, unused */, Il2CppChar ___value0, const MethodInfo* method) { { Il2CppChar L_0 = ___value0; return L_0; } } // System.Int32 System.Convert::ToInt32(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3311720913; extern const uint32_t Convert_ToInt32_m2734833291_MetadataUsageId; extern "C" int32_t Convert_ToInt32_m2734833291 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt32_m2734833291_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, ((int32_t)2147483647LL), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_op_GreaterThan_m1625379433(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_002a; } } { Decimal_t724701077 L_3 = ___value0; Decimal_t724701077 L_4; memset(&L_4, 0, sizeof(L_4)); Decimal__ctor_m1010012873(&L_4, ((int32_t)-2147483648LL), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_5 = Decimal_op_LessThan_m3672626320(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_003a; } } IL_002a: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3311720913, /*hidden argument*/NULL); OverflowException_t1075868493 * L_7 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_7, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_003a: { Decimal_t724701077 L_8 = ___value0; Decimal_t724701077 L_9 = Math_Round_m565516458(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_10 = Decimal_op_Explicit_m2494894232(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); return L_10; } } // System.Int32 System.Convert::ToInt32(System.Double) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3311720913; extern const uint32_t Convert_ToInt32_m2988544165_MetadataUsageId; extern "C" int32_t Convert_ToInt32_m2988544165 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt32_m2988544165_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; if ((((double)L_0) > ((double)(2147483647.0)))) { goto IL_001e; } } { double L_1 = ___value0; if ((!(((double)L_1) < ((double)(-2147483648.0))))) { goto IL_002e; } } IL_001e: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3311720913, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002e: { double L_4 = ___value0; double L_5 = bankers_round(L_4); if (L_5 > (double)(2147483647)) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception()); return (((int32_t)((int32_t)L_5))); } } // System.Int32 System.Convert::ToInt32(System.Single) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3311720913; extern const uint32_t Convert_ToInt32_m403418852_MetadataUsageId; extern "C" int32_t Convert_ToInt32_m403418852 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt32_m403418852_MetadataUsageId); s_Il2CppMethodInitialized = true; } { float L_0 = ___value0; if ((((float)L_0) > ((float)(2.14748365E+09f)))) { goto IL_0016; } } { float L_1 = ___value0; if ((!(((float)L_1) < ((float)(-2.14748365E+09f))))) { goto IL_0026; } } IL_0016: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3311720913, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { float L_4 = ___value0; double L_5 = bankers_round((((double)((double)L_4)))); if (L_5 > (double)(2147483647)) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception()); return (((int32_t)((int32_t)L_5))); } } // System.Int32 System.Convert::ToInt32(System.Int64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3311720913; extern const uint32_t Convert_ToInt32_m3460593061_MetadataUsageId; extern "C" int32_t Convert_ToInt32_m3460593061 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt32_m3460593061_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___value0; if ((((int64_t)L_0) > ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))))) { goto IL_0018; } } { int64_t L_1 = ___value0; if ((((int64_t)L_1) >= ((int64_t)(((int64_t)((int64_t)((int32_t)-2147483648LL))))))) { goto IL_0028; } } IL_0018: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3311720913, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0028: { int64_t L_4 = ___value0; return (((int32_t)((int32_t)L_4))); } } // System.Int32 System.Convert::ToInt32(System.SByte) extern "C" int32_t Convert_ToInt32_m2209788057 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { { int8_t L_0 = ___value0; return (((int32_t)((int32_t)L_0))); } } // System.Int32 System.Convert::ToInt32(System.Int16) extern "C" int32_t Convert_ToInt32_m2297793940 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { { int16_t L_0 = ___value0; return L_0; } } // System.Int32 System.Convert::ToInt32(System.String,System.IFormatProvider) extern "C" int32_t Convert_ToInt32_m3676863741 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { String_t* L_1 = ___value0; Il2CppObject * L_2 = ___provider1; int32_t L_3 = Int32_Parse_m4134638052(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.Int32 System.Convert::ToInt32(System.UInt32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3760505827; extern const uint32_t Convert_ToInt32_m1523194571_MetadataUsageId; extern "C" int32_t Convert_ToInt32_m1523194571 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt32_m1523194571_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint32_t L_0 = ___value0; if ((!(((uint32_t)L_0) > ((uint32_t)((int32_t)2147483647LL))))) { goto IL_001b; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3760505827, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001b: { uint32_t L_3 = ___value0; return L_3; } } // System.Int32 System.Convert::ToInt32(System.UInt64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3760505827; extern const uint32_t Convert_ToInt32_m1099707062_MetadataUsageId; extern "C" int32_t Convert_ToInt32_m1099707062 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt32_m1099707062_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint64_t L_0 = ___value0; if ((!(((uint64_t)L_0) > ((uint64_t)(((int64_t)((int64_t)((int32_t)2147483647LL)))))))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3760505827, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { uint64_t L_3 = ___value0; return (((int32_t)((int32_t)L_3))); } } // System.Int32 System.Convert::ToInt32(System.UInt16) extern "C" int32_t Convert_ToInt32_m1805519569 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { { uint16_t L_0 = ___value0; return L_0; } } // System.Int32 System.Convert::ToInt32(System.Object) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToInt32_m366159805_MetadataUsageId; extern "C" int32_t Convert_ToInt32_m366159805 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt32_m366159805_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int32_t L_2 = Convert_ToInt32_m805451385(NULL /*static, unused*/, L_1, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_2; } } // System.Int32 System.Convert::ToInt32(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToInt32_m805451385_MetadataUsageId; extern "C" int32_t Convert_ToInt32_m805451385 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt32_m805451385_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; int32_t L_3 = InterfaceFuncInvoker1< int32_t, Il2CppObject * >::Invoke(7 /* System.Int32 System.IConvertible::ToInt32(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.Int64 System.Convert::ToInt64(System.Boolean) extern "C" int64_t Convert_ToInt64_m1988035458 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return (((int64_t)((int64_t)G_B3_0))); } } // System.Int64 System.Convert::ToInt64(System.Byte) extern "C" int64_t Convert_ToInt64_m1786777414 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return (((int64_t)((uint64_t)L_0))); } } // System.Int64 System.Convert::ToInt64(System.Char) extern "C" int64_t Convert_ToInt64_m1982416808 (Il2CppObject * __this /* static, unused */, Il2CppChar ___value0, const MethodInfo* method) { { Il2CppChar L_0 = ___value0; return (((int64_t)((int64_t)L_0))); } } // System.Int64 System.Convert::ToInt64(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3170995281; extern const uint32_t Convert_ToInt64_m1722087499_MetadataUsageId; extern "C" int64_t Convert_ToInt64_m1722087499 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt64_m1722087499_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1770144563(&L_1, (-1), ((int32_t)2147483647LL), 0, (bool)0, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_op_GreaterThan_m1625379433(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_0032; } } { Decimal_t724701077 L_3 = ___value0; Decimal_t724701077 L_4; memset(&L_4, 0, sizeof(L_4)); Decimal__ctor_m1770144563(&L_4, 0, ((int32_t)-2147483648LL), 0, (bool)(-1), 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_5 = Decimal_op_LessThan_m3672626320(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0042; } } IL_0032: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3170995281, /*hidden argument*/NULL); OverflowException_t1075868493 * L_7 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_7, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0042: { Decimal_t724701077 L_8 = ___value0; Decimal_t724701077 L_9 = Math_Round_m565516458(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int64_t L_10 = Decimal_op_Explicit_m682912811(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); return L_10; } } // System.Int64 System.Convert::ToInt64(System.Double) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3170995281; extern const uint32_t Convert_ToInt64_m338790373_MetadataUsageId; extern "C" int64_t Convert_ToInt64_m338790373 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt64_m338790373_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; if ((((double)L_0) > ((double)(9.2233720368547758E+18)))) { goto IL_001e; } } { double L_1 = ___value0; if ((!(((double)L_1) < ((double)(-9.2233720368547758E+18))))) { goto IL_002e; } } IL_001e: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3170995281, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002e: { double L_4 = ___value0; double L_5 = bankers_round(L_4); return (((int64_t)((int64_t)L_5))); } } // System.Int64 System.Convert::ToInt64(System.Single) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3170995281; extern const uint32_t Convert_ToInt64_m991626788_MetadataUsageId; extern "C" int64_t Convert_ToInt64_m991626788 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt64_m991626788_MetadataUsageId); s_Il2CppMethodInitialized = true; } { float L_0 = ___value0; if ((((float)L_0) > ((float)(9.223372E+18f)))) { goto IL_0016; } } { float L_1 = ___value0; if ((!(((float)L_1) < ((float)(-9.223372E+18f))))) { goto IL_0026; } } IL_0016: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3170995281, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { float L_4 = ___value0; double L_5 = bankers_round((((double)((double)L_4)))); return (((int64_t)((int64_t)L_5))); } } // System.Int64 System.Convert::ToInt64(System.Int32) extern "C" int64_t Convert_ToInt64_m2310639998 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; return (((int64_t)((int64_t)L_0))); } } // System.Int64 System.Convert::ToInt64(System.Int64) extern "C" int64_t Convert_ToInt64_m1147840357 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { { int64_t L_0 = ___value0; return L_0; } } // System.Int64 System.Convert::ToInt64(System.SByte) extern "C" int64_t Convert_ToInt64_m1009422297 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { { int8_t L_0 = ___value0; return (((int64_t)((int64_t)L_0))); } } // System.Int64 System.Convert::ToInt64(System.Int16) extern "C" int64_t Convert_ToInt64_m4280008532 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { { int16_t L_0 = ___value0; return (((int64_t)((int64_t)L_0))); } } // System.Int64 System.Convert::ToInt64(System.String) extern "C" int64_t Convert_ToInt64_m3181519185 (Il2CppObject * __this /* static, unused */, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0009; } } { return (((int64_t)((int64_t)0))); } IL_0009: { String_t* L_1 = ___value0; int64_t L_2 = Int64_Parse_m3063055274(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } } // System.Int64 System.Convert::ToInt64(System.String,System.IFormatProvider) extern "C" int64_t Convert_ToInt64_m1484722109 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0009; } } { return (((int64_t)((int64_t)0))); } IL_0009: { String_t* L_1 = ___value0; Il2CppObject * L_2 = ___provider1; int64_t L_3 = Int64_Parse_m3031608982(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.Int64 System.Convert::ToInt64(System.UInt32) extern "C" int64_t Convert_ToInt64_m4057339019 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { { uint32_t L_0 = ___value0; return (((int64_t)((uint64_t)L_0))); } } // System.Int64 System.Convert::ToInt64(System.UInt64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2054149522; extern const uint32_t Convert_ToInt64_m3633851510_MetadataUsageId; extern "C" int64_t Convert_ToInt64_m3633851510 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt64_m3633851510_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint64_t L_0 = ___value0; if ((!(((uint64_t)L_0) > ((uint64_t)((int64_t)std::numeric_limits<int64_t>::max()))))) { goto IL_001f; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2054149522, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001f: { uint64_t L_3 = ___value0; return L_3; } } // System.Int64 System.Convert::ToInt64(System.UInt16) extern "C" int64_t Convert_ToInt64_m44696721 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { { uint16_t L_0 = ___value0; return (((int64_t)((uint64_t)L_0))); } } // System.Int64 System.Convert::ToInt64(System.Object) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToInt64_m954367741_MetadataUsageId; extern "C" int64_t Convert_ToInt64_m954367741 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt64_m954367741_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0009; } } { return (((int64_t)((int64_t)0))); } IL_0009: { Il2CppObject * L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int64_t L_2 = Convert_ToInt64_m3844533817(NULL /*static, unused*/, L_1, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_2; } } // System.Int64 System.Convert::ToInt64(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToInt64_m3844533817_MetadataUsageId; extern "C" int64_t Convert_ToInt64_m3844533817 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToInt64_m3844533817_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0009; } } { return (((int64_t)((int64_t)0))); } IL_0009: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; int64_t L_3 = InterfaceFuncInvoker1< int64_t, Il2CppObject * >::Invoke(8 /* System.Int64 System.IConvertible::ToInt64(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.SByte System.Convert::ToSByte(System.Boolean) extern "C" int8_t Convert_ToSByte_m615207682 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return (((int8_t)((int8_t)G_B3_0))); } } // System.SByte System.Convert::ToSByte(System.Byte) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3077533046; extern const uint32_t Convert_ToSByte_m2470292806_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m2470292806 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m2470292806_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint8_t L_0 = ___value0; if ((((int32_t)L_0) <= ((int32_t)((int32_t)127)))) { goto IL_0018; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3077533046, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { uint8_t L_3 = ___value0; return (((int8_t)((int8_t)L_3))); } } // System.SByte System.Convert::ToSByte(System.Char) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3077533046; extern const uint32_t Convert_ToSByte_m2665932200_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m2665932200 (Il2CppObject * __this /* static, unused */, Il2CppChar ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m2665932200_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppChar L_0 = ___value0; if ((((int32_t)L_0) <= ((int32_t)((int32_t)127)))) { goto IL_0018; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3077533046, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { Il2CppChar L_3 = ___value0; return (((int8_t)((int8_t)L_3))); } } // System.SByte System.Convert::ToSByte(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4288797841; extern const uint32_t Convert_ToSByte_m3295168715_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m3295168715 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m3295168715_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, ((int32_t)127), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_op_GreaterThan_m1625379433(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_0024; } } { Decimal_t724701077 L_3 = ___value0; Decimal_t724701077 L_4; memset(&L_4, 0, sizeof(L_4)); Decimal__ctor_m1010012873(&L_4, ((int32_t)-128), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_5 = Decimal_op_LessThan_m3672626320(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0034; } } IL_0024: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4288797841, /*hidden argument*/NULL); OverflowException_t1075868493 * L_7 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_7, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0034: { Decimal_t724701077 L_8 = ___value0; Decimal_t724701077 L_9 = Math_Round_m565516458(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int8_t L_10 = Decimal_op_Explicit_m2135374155(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); return L_10; } } // System.SByte System.Convert::ToSByte(System.Double) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4288797841; extern const uint32_t Convert_ToSByte_m3768984293_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m3768984293 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m3768984293_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; if ((((double)L_0) > ((double)(127.0)))) { goto IL_001e; } } { double L_1 = ___value0; if ((!(((double)L_1) < ((double)(-128.0))))) { goto IL_002e; } } IL_001e: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4288797841, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002e: { double L_4 = ___value0; double L_5 = bankers_round(L_4); return (((int8_t)((int8_t)L_5))); } } // System.SByte System.Convert::ToSByte(System.Single) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3545366703; extern const uint32_t Convert_ToSByte_m1183867428_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m1183867428 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m1183867428_MetadataUsageId); s_Il2CppMethodInitialized = true; } { float L_0 = ___value0; if ((((float)L_0) > ((float)(127.0f)))) { goto IL_0016; } } { float L_1 = ___value0; if ((!(((float)L_1) < ((float)(-128.0f))))) { goto IL_0026; } } IL_0016: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3545366703, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { float L_4 = ___value0; double L_5 = bankers_round((((double)((double)L_4)))); return (((int8_t)((int8_t)L_5))); } } // System.SByte System.Convert::ToSByte(System.Int32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4288797841; extern const uint32_t Convert_ToSByte_m3208712702_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m3208712702 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m3208712702_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___value0; if ((((int32_t)L_0) > ((int32_t)((int32_t)127)))) { goto IL_0010; } } { int32_t L_1 = ___value0; if ((((int32_t)L_1) >= ((int32_t)((int32_t)-128)))) { goto IL_0020; } } IL_0010: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4288797841, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0020: { int32_t L_4 = ___value0; return (((int8_t)((int8_t)L_4))); } } // System.SByte System.Convert::ToSByte(System.Int64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4288797841; extern const uint32_t Convert_ToSByte_m2045913061_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m2045913061 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m2045913061_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___value0; if ((((int64_t)L_0) > ((int64_t)(((int64_t)((int64_t)((int32_t)127))))))) { goto IL_0012; } } { int64_t L_1 = ___value0; if ((((int64_t)L_1) >= ((int64_t)(((int64_t)((int64_t)((int32_t)-128))))))) { goto IL_0022; } } IL_0012: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4288797841, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int64_t L_4 = ___value0; return (((int8_t)((int8_t)L_4))); } } // System.SByte System.Convert::ToSByte(System.Int16) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4288797841; extern const uint32_t Convert_ToSByte_m883113940_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m883113940 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m883113940_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int16_t L_0 = ___value0; if ((((int32_t)L_0) > ((int32_t)((int32_t)127)))) { goto IL_0010; } } { int16_t L_1 = ___value0; if ((((int32_t)L_1) >= ((int32_t)((int32_t)-128)))) { goto IL_0020; } } IL_0010: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4288797841, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0020: { int16_t L_4 = ___value0; return (((int8_t)((int8_t)L_4))); } } // System.SByte System.Convert::ToSByte(System.String,System.IFormatProvider) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1803325615; extern const uint32_t Convert_ToSByte_m1570938941_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m1570938941 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m1570938941_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___value0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___value0; Il2CppObject * L_3 = ___provider1; int8_t L_4 = SByte_Parse_m1620039654(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); return L_4; } } // System.SByte System.Convert::ToSByte(System.UInt32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3077533046; extern const uint32_t Convert_ToSByte_m2303634571_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m2303634571 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m2303634571_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint32_t L_0 = ___value0; if ((((int64_t)(((int64_t)((uint64_t)L_0)))) <= ((int64_t)(((int64_t)((int64_t)((int32_t)127))))))) { goto IL_001a; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3077533046, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001a: { uint32_t L_3 = ___value0; return (((int8_t)((int8_t)L_3))); } } // System.SByte System.Convert::ToSByte(System.UInt64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3077533046; extern const uint32_t Convert_ToSByte_m1880147062_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m1880147062 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m1880147062_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint64_t L_0 = ___value0; if ((!(((uint64_t)L_0) > ((uint64_t)(((int64_t)((int64_t)((int32_t)127)))))))) { goto IL_0019; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3077533046, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0019: { uint64_t L_3 = ___value0; return (((int8_t)((int8_t)L_3))); } } // System.SByte System.Convert::ToSByte(System.UInt16) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3077533046; extern const uint32_t Convert_ToSByte_m2585959569_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m2585959569 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m2585959569_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint16_t L_0 = ___value0; if ((((int32_t)L_0) <= ((int32_t)((int32_t)127)))) { goto IL_0018; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3077533046, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { uint16_t L_3 = ___value0; return (((int8_t)((int8_t)L_3))); } } // System.SByte System.Convert::ToSByte(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToSByte_m1972336057_MetadataUsageId; extern "C" int8_t Convert_ToSByte_m1972336057 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSByte_m1972336057_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; int8_t L_3 = InterfaceFuncInvoker1< int8_t, Il2CppObject * >::Invoke(9 /* System.SByte System.IConvertible::ToSByte(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.Single System.Convert::ToSingle(System.Boolean) extern "C" float Convert_ToSingle_m3854251972 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return (((float)((float)G_B3_0))); } } // System.Single System.Convert::ToSingle(System.Byte) extern "C" float Convert_ToSingle_m1780409948 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return (((float)((float)L_0))); } } // System.Single System.Convert::ToSingle(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToSingle_m39351287_MetadataUsageId; extern "C" float Convert_ToSingle_m39351287 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSingle_m39351287_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); float L_1 = Decimal_op_Explicit_m729046406(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Single System.Convert::ToSingle(System.Double) extern "C" float Convert_ToSingle_m690748777 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { { double L_0 = ___value0; return (((float)((float)L_0))); } } // System.Single System.Convert::ToSingle(System.Single) extern "C" float Convert_ToSingle_m3602825646 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; return L_0; } } // System.Single System.Convert::ToSingle(System.Int32) extern "C" float Convert_ToSingle_m915696580 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; return (((float)((float)L_0))); } } // System.Single System.Convert::ToSingle(System.Int64) extern "C" float Convert_ToSingle_m109127753 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { { int64_t L_0 = ___value0; return (((float)((float)L_0))); } } // System.Single System.Convert::ToSingle(System.SByte) extern "C" float Convert_ToSingle_m3186653037 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { { int8_t L_0 = ___value0; return (((float)((float)L_0))); } } // System.Single System.Convert::ToSingle(System.Int16) extern "C" float Convert_ToSingle_m3241295474 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { { int16_t L_0 = ___value0; return (((float)((float)L_0))); } } // System.Single System.Convert::ToSingle(System.String,System.IFormatProvider) extern "C" float Convert_ToSingle_m3854923273 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_000c; } } { return (0.0f); } IL_000c: { String_t* L_1 = ___value0; Il2CppObject * L_2 = ___provider1; float L_3 = Single_Parse_m898843034(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.Single System.Convert::ToSingle(System.UInt32) extern "C" float Convert_ToSingle_m2156102599 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { { uint32_t L_0 = ___value0; return (((float)((float)(((double)((uint32_t)L_0)))))); } } // System.Single System.Convert::ToSingle(System.UInt64) extern "C" float Convert_ToSingle_m2579590104 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { { uint64_t L_0 = ___value0; return (((float)((float)(((double)((uint64_t)L_0)))))); } } // System.Single System.Convert::ToSingle(System.UInt16) extern "C" float Convert_ToSingle_m2438427605 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { { uint16_t L_0 = ___value0; return (((float)((float)L_0))); } } // System.Single System.Convert::ToSingle(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToSingle_m1901383565_MetadataUsageId; extern "C" float Convert_ToSingle_m1901383565 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToSingle_m1901383565_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_000c; } } { return (0.0f); } IL_000c: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; float L_3 = InterfaceFuncInvoker1< float, Il2CppObject * >::Invoke(10 /* System.Single System.IConvertible::ToSingle(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.String System.Convert::ToString(System.Object) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToString_m2915777777_MetadataUsageId; extern "C" String_t* Convert_ToString_m2915777777 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToString_m2915777777_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); String_t* L_1 = Convert_ToString_m2031270637(NULL /*static, unused*/, L_0, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_1; } } // System.String System.Convert::ToString(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToString_m2031270637_MetadataUsageId; extern "C" String_t* Convert_ToString_m2031270637 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToString_m2031270637_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (!((Il2CppObject *)IsInst(L_0, IConvertible_t908092482_il2cpp_TypeInfo_var))) { goto IL_0018; } } { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; String_t* L_3 = InterfaceFuncInvoker1< String_t*, Il2CppObject * >::Invoke(11 /* System.String System.IConvertible::ToString(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } IL_0018: { Il2CppObject * L_4 = ___value0; if (!L_4) { goto IL_0025; } } { Il2CppObject * L_5 = ___value0; String_t* L_6 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_5); return L_6; } IL_0025: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_7 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_7; } } // System.UInt16 System.Convert::ToUInt16(System.Boolean) extern "C" uint16_t Convert_ToUInt16_m1043031438 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return (((int32_t)((uint16_t)G_B3_0))); } } // System.UInt16 System.Convert::ToUInt16(System.Byte) extern "C" uint16_t Convert_ToUInt16_m3860123086 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return L_0; } } // System.UInt16 System.Convert::ToUInt16(System.Char) extern "C" uint16_t Convert_ToUInt16_m36213644 (Il2CppObject * __this /* static, unused */, Il2CppChar ___value0, const MethodInfo* method) { { Il2CppChar L_0 = ___value0; return L_0; } } // System.UInt16 System.Convert::ToUInt16(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral81261065; extern const uint32_t Convert_ToUInt16_m588378195_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m588378195 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m588378195_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, ((int32_t)65535), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_op_GreaterThan_m1625379433(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_0026; } } { Decimal_t724701077 L_3 = ___value0; Decimal_t724701077 L_4; memset(&L_4, 0, sizeof(L_4)); Decimal__ctor_m1010012873(&L_4, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_5 = Decimal_op_LessThan_m3672626320(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0036; } } IL_0026: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral81261065, /*hidden argument*/NULL); OverflowException_t1075868493 * L_7 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_7, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0036: { Decimal_t724701077 L_8 = ___value0; Decimal_t724701077 L_9 = Math_Round_m565516458(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); uint16_t L_10 = Decimal_op_Explicit_m1986696267(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); return L_10; } } // System.UInt16 System.Convert::ToUInt16(System.Double) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral81261065; extern const uint32_t Convert_ToUInt16_m3265369225_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m3265369225 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m3265369225_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; if ((((double)L_0) > ((double)(65535.0)))) { goto IL_001e; } } { double L_1 = ___value0; if ((!(((double)L_1) < ((double)(0.0))))) { goto IL_002e; } } IL_001e: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral81261065, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002e: { double L_4 = ___value0; double L_5 = bankers_round(L_4); return (((int32_t)((uint16_t)L_5))); } } // System.UInt16 System.Convert::ToUInt16(System.Single) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral81261065; extern const uint32_t Convert_ToUInt16_m3866680988_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m3866680988 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m3866680988_MetadataUsageId); s_Il2CppMethodInitialized = true; } { float L_0 = ___value0; if ((((float)L_0) > ((float)(65535.0f)))) { goto IL_0016; } } { float L_1 = ___value0; if ((!(((float)L_1) < ((float)(0.0f))))) { goto IL_0026; } } IL_0016: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral81261065, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { float L_4 = ___value0; double L_5 = bankers_round((((double)((double)L_4)))); return (((int32_t)((uint16_t)L_5))); } } // System.UInt16 System.Convert::ToUInt16(System.Int32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral81261065; extern const uint32_t Convert_ToUInt16_m1665900934_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m1665900934 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m1665900934_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___value0; if ((((int32_t)L_0) > ((int32_t)((int32_t)65535)))) { goto IL_0012; } } { int32_t L_1 = ___value0; if ((((int32_t)L_1) >= ((int32_t)0))) { goto IL_0022; } } IL_0012: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral81261065, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int32_t L_4 = ___value0; return (((int32_t)((uint16_t)L_4))); } } // System.UInt16 System.Convert::ToUInt16(System.Int64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral81261065; extern const uint32_t Convert_ToUInt16_m2828700513_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m2828700513 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m2828700513_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___value0; if ((((int64_t)L_0) > ((int64_t)(((int64_t)((int64_t)((int32_t)65535))))))) { goto IL_0014; } } { int64_t L_1 = ___value0; if ((((int64_t)L_1) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0024; } } IL_0014: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral81261065, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0024: { int64_t L_4 = ___value0; return (((int32_t)((uint16_t)L_4))); } } // System.UInt16 System.Convert::ToUInt16(System.SByte) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3031790777; extern const uint32_t Convert_ToUInt16_m3982177821_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m3982177821 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m3982177821_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int8_t L_0 = ___value0; if ((((int32_t)(((int32_t)((int32_t)L_0)))) >= ((int32_t)0))) { goto IL_0018; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3031790777, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { int8_t L_3 = ___value0; return (((int32_t)((uint16_t)L_3))); } } // System.UInt16 System.Convert::ToUInt16(System.Int16) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3031790777; extern const uint32_t Convert_ToUInt16_m3991499696_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m3991499696 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m3991499696_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int16_t L_0 = ___value0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_0017; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3031790777, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0017: { int16_t L_3 = ___value0; return (((int32_t)((uint16_t)L_3))); } } // System.UInt16 System.Convert::ToUInt16(System.String,System.IFormatProvider) extern "C" uint16_t Convert_ToUInt16_m1058302913 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { String_t* L_1 = ___value0; Il2CppObject * L_2 = ___provider1; uint16_t L_3 = UInt16_Parse_m3560204090(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.UInt16 System.Convert::ToUInt16(System.UInt32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3363559926; extern const uint32_t Convert_ToUInt16_m2130758075_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m2130758075 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m2130758075_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint32_t L_0 = ___value0; if ((!(((uint32_t)L_0) > ((uint32_t)((int32_t)65535))))) { goto IL_001b; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3363559926, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001b: { uint32_t L_3 = ___value0; return (((int32_t)((uint16_t)L_3))); } } // System.UInt16 System.Convert::ToUInt16(System.UInt64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3363559926; extern const uint32_t Convert_ToUInt16_m4241289050_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m4241289050 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m4241289050_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint64_t L_0 = ___value0; if ((!(((uint64_t)L_0) > ((uint64_t)(((int64_t)((int64_t)((int32_t)65535)))))))) { goto IL_001c; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3363559926, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001c: { uint64_t L_3 = ___value0; return (((int32_t)((uint16_t)L_3))); } } // System.UInt16 System.Convert::ToUInt16(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToUInt16_m590399293_MetadataUsageId; extern "C" uint16_t Convert_ToUInt16_m590399293 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt16_m590399293_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; uint16_t L_3 = InterfaceFuncInvoker1< uint16_t, Il2CppObject * >::Invoke(13 /* System.UInt16 System.IConvertible::ToUInt16(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.UInt32 System.Convert::ToUInt32(System.Boolean) extern "C" uint32_t Convert_ToUInt32_m3686071170 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return G_B3_0; } } // System.UInt32 System.Convert::ToUInt32(System.Byte) extern "C" uint32_t Convert_ToUInt32_m3492113030 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return L_0; } } // System.UInt32 System.Convert::ToUInt32(System.Char) extern "C" uint32_t Convert_ToUInt32_m797503336 (Il2CppObject * __this /* static, unused */, Il2CppChar ___value0, const MethodInfo* method) { { Il2CppChar L_0 = ___value0; return L_0; } } // System.UInt32 System.Convert::ToUInt32(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1949177581; extern const uint32_t Convert_ToUInt32_m610956619_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m610956619 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m610956619_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1770144563(&L_1, (-1), 0, 0, (bool)0, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_op_GreaterThan_m1625379433(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_0026; } } { Decimal_t724701077 L_3 = ___value0; Decimal_t724701077 L_4; memset(&L_4, 0, sizeof(L_4)); Decimal__ctor_m1010012873(&L_4, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_5 = Decimal_op_LessThan_m3672626320(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0036; } } IL_0026: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1949177581, /*hidden argument*/NULL); OverflowException_t1075868493 * L_7 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_7, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0036: { Decimal_t724701077 L_8 = ___value0; Decimal_t724701077 L_9 = Math_Round_m565516458(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); uint32_t L_10 = Decimal_op_Explicit_m714968249(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); return L_10; } } // System.UInt32 System.Convert::ToUInt32(System.Double) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1949177581; extern const uint32_t Convert_ToUInt32_m1336475941_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m1336475941 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m1336475941_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; if ((((double)L_0) > ((double)(4294967295.0)))) { goto IL_001e; } } { double L_1 = ___value0; if ((!(((double)L_1) < ((double)(0.0))))) { goto IL_002e; } } IL_001e: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1949177581, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002e: { double L_4 = ___value0; double L_5 = bankers_round(L_4); return (((int32_t)((uint32_t)L_5))); } } // System.UInt32 System.Convert::ToUInt32(System.Single) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1949177581; extern const uint32_t Convert_ToUInt32_m3394039268_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m3394039268 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m3394039268_MetadataUsageId); s_Il2CppMethodInitialized = true; } { float L_0 = ___value0; if ((((float)L_0) > ((float)(4.2949673E+09f)))) { goto IL_0016; } } { float L_1 = ___value0; if ((!(((float)L_1) < ((float)(0.0f))))) { goto IL_0026; } } IL_0016: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1949177581, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { float L_4 = ___value0; double L_5 = bankers_round((((double)((double)L_4)))); return (((int32_t)((uint32_t)L_5))); } } // System.UInt32 System.Convert::ToUInt32(System.Int32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral901087423; extern const uint32_t Convert_ToUInt32_m3085255294_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m3085255294 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m3085255294_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___value0; if ((((int64_t)(((int64_t)((int64_t)L_0)))) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0019; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral901087423, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0019: { int32_t L_3 = ___value0; return L_3; } } // System.UInt32 System.Convert::ToUInt32(System.Int64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1949177581; extern const uint32_t Convert_ToUInt32_m1922455781_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m1922455781 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m1922455781_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___value0; if ((((int64_t)L_0) > ((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(-1)))))))))) { goto IL_0010; } } { int64_t L_1 = ___value0; if ((((int64_t)L_1) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0020; } } IL_0010: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1949177581, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0020: { int64_t L_4 = ___value0; return (((int32_t)((uint32_t)L_4))); } } // System.UInt32 System.Convert::ToUInt32(System.SByte) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral901087423; extern const uint32_t Convert_ToUInt32_m671585177_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m671585177 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m671585177_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int8_t L_0 = ___value0; if ((((int64_t)(((int64_t)((int64_t)L_0)))) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0019; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral901087423, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0019: { int8_t L_3 = ___value0; return (((int32_t)((uint32_t)L_3))); } } // System.UInt32 System.Convert::ToUInt32(System.Int16) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral901087423; extern const uint32_t Convert_ToUInt32_m759656532_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m759656532 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m759656532_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int16_t L_0 = ___value0; if ((((int64_t)(((int64_t)((int64_t)L_0)))) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0019; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral901087423, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0019: { int16_t L_3 = ___value0; return (((int32_t)((uint32_t)L_3))); } } // System.UInt32 System.Convert::ToUInt32(System.String,System.IFormatProvider) extern "C" uint32_t Convert_ToUInt32_m776714429 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { String_t* L_1 = ___value0; Il2CppObject * L_2 = ___provider1; uint32_t L_3 = UInt32_Parse_m3339354106(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.UInt32 System.Convert::ToUInt32(System.UInt64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4035625932; extern const uint32_t Convert_ToUInt32_m4090244982_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m4090244982 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m4090244982_MetadataUsageId); s_Il2CppMethodInitialized = true; } { uint64_t L_0 = ___value0; if ((!(((uint64_t)L_0) > ((uint64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(-1))))))))))) { goto IL_0018; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4035625932, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { uint64_t L_3 = ___value0; return (((int32_t)((uint32_t)L_3))); } } // System.UInt32 System.Convert::ToUInt32(System.UInt16) extern "C" uint32_t Convert_ToUInt32_m3391339025 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { { uint16_t L_0 = ___value0; return L_0; } } // System.UInt32 System.Convert::ToUInt32(System.Object) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToUInt32_m1952053309_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m1952053309 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m1952053309_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint32_t L_2 = Convert_ToUInt32_m817681977(NULL /*static, unused*/, L_1, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_2; } } // System.UInt32 System.Convert::ToUInt32(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToUInt32_m817681977_MetadataUsageId; extern "C" uint32_t Convert_ToUInt32_m817681977 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt32_m817681977_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 0; } IL_0008: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; uint32_t L_3 = InterfaceFuncInvoker1< uint32_t, Il2CppObject * >::Invoke(14 /* System.UInt32 System.IConvertible::ToUInt32(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.UInt64 System.Convert::ToUInt64(System.Boolean) extern "C" uint64_t Convert_ToUInt64_m1479404080 (Il2CppObject * __this /* static, unused */, bool ___value0, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___value0; if (!L_0) { goto IL_000c; } } { G_B3_0 = 1; goto IL_000d; } IL_000c: { G_B3_0 = 0; } IL_000d: { return (((int64_t)((int64_t)G_B3_0))); } } // System.UInt64 System.Convert::ToUInt64(System.Byte) extern "C" uint64_t Convert_ToUInt64_m1568624612 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; return (((int64_t)((uint64_t)L_0))); } } // System.UInt64 System.Convert::ToUInt64(System.Char) extern "C" uint64_t Convert_ToUInt64_m1319798722 (Il2CppObject * __this /* static, unused */, Il2CppChar ___value0, const MethodInfo* method) { { Il2CppChar L_0 = ___value0; return (((int64_t)((uint64_t)L_0))); } } // System.UInt64 System.Convert::ToUInt64(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3795938565; extern const uint32_t Convert_ToUInt64_m3944965503_MetadataUsageId; extern "C" uint64_t Convert_ToUInt64_m3944965503 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt64_m3944965503_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1770144563(&L_1, (-1), (-1), 0, (bool)0, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_op_GreaterThan_m1625379433(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_0026; } } { Decimal_t724701077 L_3 = ___value0; Decimal_t724701077 L_4; memset(&L_4, 0, sizeof(L_4)); Decimal__ctor_m1010012873(&L_4, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_5 = Decimal_op_LessThan_m3672626320(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0036; } } IL_0026: { String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3795938565, /*hidden argument*/NULL); OverflowException_t1075868493 * L_7 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_7, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0036: { Decimal_t724701077 L_8 = ___value0; Decimal_t724701077 L_9 = Math_Round_m565516458(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); uint64_t L_10 = Decimal_op_Explicit_m383920456(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); return L_10; } } // System.UInt64 System.Convert::ToUInt64(System.Double) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3795938565; extern const uint32_t Convert_ToUInt64_m3559662221_MetadataUsageId; extern "C" uint64_t Convert_ToUInt64_m3559662221 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt64_m3559662221_MetadataUsageId); s_Il2CppMethodInitialized = true; } { double L_0 = ___value0; if ((((double)L_0) > ((double)(1.8446744073709552E+19)))) { goto IL_001e; } } { double L_1 = ___value0; if ((!(((double)L_1) < ((double)(0.0))))) { goto IL_002e; } } IL_001e: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3795938565, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002e: { double L_4 = ___value0; double L_5 = bankers_round(L_4); return (((int64_t)((uint64_t)L_5))); } } // System.UInt64 System.Convert::ToUInt64(System.Single) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3795938565; extern const uint32_t Convert_ToUInt64_m2215781574_MetadataUsageId; extern "C" uint64_t Convert_ToUInt64_m2215781574 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt64_m2215781574_MetadataUsageId); s_Il2CppMethodInitialized = true; } { float L_0 = ___value0; if ((((float)L_0) > ((float)(1.84467441E+19f)))) { goto IL_0016; } } { float L_1 = ___value0; if ((!(((float)L_1) < ((float)(0.0f))))) { goto IL_0026; } } IL_0016: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3795938565, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { float L_4 = ___value0; double L_5 = bankers_round((((double)((double)L_4)))); return (((int64_t)((uint64_t)L_5))); } } // System.UInt64 System.Convert::ToUInt64(System.Int32) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2607726868; extern const uint32_t Convert_ToUInt64_m1691869628_MetadataUsageId; extern "C" uint64_t Convert_ToUInt64_m1691869628 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt64_m1691869628_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___value0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_0017; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2607726868, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0017: { int32_t L_3 = ___value0; return (((int64_t)((int64_t)L_3))); } } // System.UInt64 System.Convert::ToUInt64(System.Int64) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2607726868; extern const uint32_t Convert_ToUInt64_m2498438645_MetadataUsageId; extern "C" uint64_t Convert_ToUInt64_m2498438645 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt64_m2498438645_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int64_t L_0 = ___value0; if ((((int64_t)L_0) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0018; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2607726868, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { int64_t L_3 = ___value0; return L_3; } } // System.UInt64 System.Convert::ToUInt64(System.SByte) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2607726868; extern const uint32_t Convert_ToUInt64_m2643825617_MetadataUsageId; extern "C" uint64_t Convert_ToUInt64_m2643825617 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt64_m2643825617_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int8_t L_0 = ___value0; if ((((int32_t)(((int32_t)((int32_t)L_0)))) >= ((int32_t)0))) { goto IL_0013; } } { OverflowException_t1075868493 * L_1 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_1, _stringLiteral2607726868, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0013: { int8_t L_2 = ___value0; return (((int64_t)((int64_t)L_2))); } } // System.UInt64 System.Convert::ToUInt64(System.Int16) extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2607726868; extern const uint32_t Convert_ToUInt64_m3661238030_MetadataUsageId; extern "C" uint64_t Convert_ToUInt64_m3661238030 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt64_m3661238030_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int16_t L_0 = ___value0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_0017; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2607726868, /*hidden argument*/NULL); OverflowException_t1075868493 * L_2 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_2, L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0017: { int16_t L_3 = ___value0; return (((int64_t)((int64_t)L_3))); } } // System.UInt64 System.Convert::ToUInt64(System.String,System.IFormatProvider) extern "C" uint64_t Convert_ToUInt64_m3596570605 (Il2CppObject * __this /* static, unused */, String_t* ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___value0; if (L_0) { goto IL_0009; } } { return (((int64_t)((int64_t)0))); } IL_0009: { String_t* L_1 = ___value0; Il2CppObject * L_2 = ___provider1; uint64_t L_3 = UInt64_Parse_m834741018(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.UInt64 System.Convert::ToUInt64(System.UInt32) extern "C" uint64_t Convert_ToUInt64_m1109896503 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { { uint32_t L_0 = ___value0; return (((int64_t)((uint64_t)L_0))); } } // System.UInt64 System.Convert::ToUInt64(System.UInt16) extern "C" uint64_t Convert_ToUInt64_m827571497 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { { uint16_t L_0 = ___value0; return (((int64_t)((uint64_t)L_0))); } } // System.UInt64 System.Convert::ToUInt64(System.Object) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToUInt64_m1896191125_MetadataUsageId; extern "C" uint64_t Convert_ToUInt64_m1896191125 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt64_m1896191125_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0009; } } { return (((int64_t)((int64_t)0))); } IL_0009: { Il2CppObject * L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint64_t L_2 = Convert_ToUInt64_m345450801(NULL /*static, unused*/, L_1, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_2; } } // System.UInt64 System.Convert::ToUInt64(System.Object,System.IFormatProvider) extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern const uint32_t Convert_ToUInt64_m345450801_MetadataUsageId; extern "C" uint64_t Convert_ToUInt64_m345450801 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToUInt64_m345450801_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0009; } } { return (((int64_t)((int64_t)0))); } IL_0009: { Il2CppObject * L_1 = ___value0; Il2CppObject * L_2 = ___provider1; uint64_t L_3 = InterfaceFuncInvoker1< uint64_t, Il2CppObject * >::Invoke(15 /* System.UInt64 System.IConvertible::ToUInt64(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_1, IConvertible_t908092482_il2cpp_TypeInfo_var)), L_2); return L_3; } } // System.Object System.Convert::ChangeType(System.Object,System.Type) extern const Il2CppType* DateTime_t693205669_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral370602462; extern const uint32_t Convert_ChangeType_m1630780412_MetadataUsageId; extern "C" Il2CppObject * Convert_ChangeType_m1630780412 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Type_t * ___conversionType1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ChangeType_m1630780412_MetadataUsageId); s_Il2CppMethodInitialized = true; } CultureInfo_t3500843524 * V_0 = NULL; Il2CppObject * V_1 = NULL; { Il2CppObject * L_0 = ___value0; if (!L_0) { goto IL_0017; } } { Type_t * L_1 = ___conversionType1; if (L_1) { goto IL_0017; } } { ArgumentNullException_t628810857 * L_2 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_2, _stringLiteral370602462, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0017: { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_3 = CultureInfo_get_CurrentCulture_m711066087(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_3; Type_t * L_4 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_5 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(DateTime_t693205669_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_4) == ((Il2CppObject*)(Type_t *)L_5)))) { goto IL_0039; } } { CultureInfo_t3500843524 * L_6 = V_0; DateTimeFormatInfo_t2187473504 * L_7 = VirtFuncInvoker0< DateTimeFormatInfo_t2187473504 * >::Invoke(15 /* System.Globalization.DateTimeFormatInfo System.Globalization.CultureInfo::get_DateTimeFormat() */, L_6); V_1 = L_7; goto IL_0040; } IL_0039: { CultureInfo_t3500843524 * L_8 = V_0; NumberFormatInfo_t104580544 * L_9 = VirtFuncInvoker0< NumberFormatInfo_t104580544 * >::Invoke(13 /* System.Globalization.NumberFormatInfo System.Globalization.CultureInfo::get_NumberFormat() */, L_8); V_1 = L_9; } IL_0040: { Il2CppObject * L_10 = ___value0; Type_t * L_11 = ___conversionType1; Il2CppObject * L_12 = V_1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Il2CppObject * L_13 = Convert_ToType_m1408903144(NULL /*static, unused*/, L_10, L_11, L_12, (bool)1, /*hidden argument*/NULL); return L_13; } } // System.Object System.Convert::ToType(System.Object,System.Type,System.IFormatProvider,System.Boolean) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppClass* IConvertible_t908092482_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern Il2CppClass* SByte_t454417549_il2cpp_TypeInfo_var; extern Il2CppClass* Byte_t3683104436_il2cpp_TypeInfo_var; extern Il2CppClass* Int16_t4041245914_il2cpp_TypeInfo_var; extern Il2CppClass* UInt16_t986882611_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* UInt32_t2149682021_il2cpp_TypeInfo_var; extern Il2CppClass* Int64_t909078037_il2cpp_TypeInfo_var; extern Il2CppClass* UInt64_t2909196914_il2cpp_TypeInfo_var; extern Il2CppClass* Single_t2076509932_il2cpp_TypeInfo_var; extern Il2CppClass* Double_t4078015681_il2cpp_TypeInfo_var; extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2515164061; extern Il2CppCodeGenString* _stringLiteral1144379933; extern Il2CppCodeGenString* _stringLiteral3303476156; extern Il2CppCodeGenString* _stringLiteral2446393847; extern Il2CppCodeGenString* _stringLiteral271646399; extern const uint32_t Convert_ToType_m1408903144_MetadataUsageId; extern "C" Il2CppObject * Convert_ToType_m1408903144 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Type_t * ___conversionType1, Il2CppObject * ___provider2, bool ___try_target_to_type3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Convert_ToType_m1408903144_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0024; } } { Type_t * L_1 = ___conversionType1; if (!L_1) { goto IL_0022; } } { Type_t * L_2 = ___conversionType1; bool L_3 = Type_get_IsValueType_m1733572463(L_2, /*hidden argument*/NULL); if (!L_3) { goto IL_0022; } } { InvalidCastException_t3625212209 * L_4 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_4, _stringLiteral2515164061, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0022: { return NULL; } IL_0024: { Type_t * L_5 = ___conversionType1; if (L_5) { goto IL_0035; } } { InvalidCastException_t3625212209 * L_6 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_6, _stringLiteral1144379933, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_0035: { Il2CppObject * L_7 = ___value0; Type_t * L_8 = Object_GetType_m191970594(L_7, /*hidden argument*/NULL); Type_t * L_9 = ___conversionType1; if ((!(((Il2CppObject*)(Type_t *)L_8) == ((Il2CppObject*)(Type_t *)L_9)))) { goto IL_0043; } } { Il2CppObject * L_10 = ___value0; return L_10; } IL_0043: { Il2CppObject * L_11 = ___value0; if (!((Il2CppObject *)IsInst(L_11, IConvertible_t908092482_il2cpp_TypeInfo_var))) { goto IL_0228; } } { Il2CppObject * L_12 = ___value0; V_0 = ((Il2CppObject *)Castclass(L_12, IConvertible_t908092482_il2cpp_TypeInfo_var)); Type_t * L_13 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_14 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_15 = 0; Type_t * L_16 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15)); if ((!(((Il2CppObject*)(Type_t *)L_13) == ((Il2CppObject*)(Type_t *)L_16)))) { goto IL_0068; } } { ArgumentNullException_t628810857 * L_17 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m911049464(L_17, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_17); } IL_0068: { Type_t * L_18 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_19 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_20 = 1; Type_t * L_21 = (L_19)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_20)); if ((!(((Il2CppObject*)(Type_t *)L_18) == ((Il2CppObject*)(Type_t *)L_21)))) { goto IL_0077; } } { Il2CppObject * L_22 = ___value0; return L_22; } IL_0077: { Type_t * L_23 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_24 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_25 = 2; Type_t * L_26 = (L_24)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25)); if ((!(((Il2CppObject*)(Type_t *)L_23) == ((Il2CppObject*)(Type_t *)L_26)))) { goto IL_008f; } } { InvalidCastException_t3625212209 * L_27 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_27, _stringLiteral3303476156, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_27); } IL_008f: { Type_t * L_28 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_29 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_30 = 3; Type_t * L_31 = (L_29)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30)); if ((!(((Il2CppObject*)(Type_t *)L_28) == ((Il2CppObject*)(Type_t *)L_31)))) { goto IL_00a9; } } { Il2CppObject * L_32 = V_0; Il2CppObject * L_33 = ___provider2; bool L_34 = InterfaceFuncInvoker1< bool, Il2CppObject * >::Invoke(0 /* System.Boolean System.IConvertible::ToBoolean(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_32, L_33); bool L_35 = L_34; Il2CppObject * L_36 = Box(Boolean_t3825574718_il2cpp_TypeInfo_var, &L_35); return L_36; } IL_00a9: { Type_t * L_37 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_38 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_39 = 4; Type_t * L_40 = (L_38)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_39)); if ((!(((Il2CppObject*)(Type_t *)L_37) == ((Il2CppObject*)(Type_t *)L_40)))) { goto IL_00c3; } } { Il2CppObject * L_41 = V_0; Il2CppObject * L_42 = ___provider2; Il2CppChar L_43 = InterfaceFuncInvoker1< Il2CppChar, Il2CppObject * >::Invoke(2 /* System.Char System.IConvertible::ToChar(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_41, L_42); Il2CppChar L_44 = L_43; Il2CppObject * L_45 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_44); return L_45; } IL_00c3: { Type_t * L_46 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_47 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_48 = 5; Type_t * L_49 = (L_47)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_48)); if ((!(((Il2CppObject*)(Type_t *)L_46) == ((Il2CppObject*)(Type_t *)L_49)))) { goto IL_00dd; } } { Il2CppObject * L_50 = V_0; Il2CppObject * L_51 = ___provider2; int8_t L_52 = InterfaceFuncInvoker1< int8_t, Il2CppObject * >::Invoke(9 /* System.SByte System.IConvertible::ToSByte(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_50, L_51); int8_t L_53 = L_52; Il2CppObject * L_54 = Box(SByte_t454417549_il2cpp_TypeInfo_var, &L_53); return L_54; } IL_00dd: { Type_t * L_55 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_56 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_57 = 6; Type_t * L_58 = (L_56)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_57)); if ((!(((Il2CppObject*)(Type_t *)L_55) == ((Il2CppObject*)(Type_t *)L_58)))) { goto IL_00f7; } } { Il2CppObject * L_59 = V_0; Il2CppObject * L_60 = ___provider2; uint8_t L_61 = InterfaceFuncInvoker1< uint8_t, Il2CppObject * >::Invoke(1 /* System.Byte System.IConvertible::ToByte(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_59, L_60); uint8_t L_62 = L_61; Il2CppObject * L_63 = Box(Byte_t3683104436_il2cpp_TypeInfo_var, &L_62); return L_63; } IL_00f7: { Type_t * L_64 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_65 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_66 = 7; Type_t * L_67 = (L_65)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_66)); if ((!(((Il2CppObject*)(Type_t *)L_64) == ((Il2CppObject*)(Type_t *)L_67)))) { goto IL_0111; } } { Il2CppObject * L_68 = V_0; Il2CppObject * L_69 = ___provider2; int16_t L_70 = InterfaceFuncInvoker1< int16_t, Il2CppObject * >::Invoke(6 /* System.Int16 System.IConvertible::ToInt16(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_68, L_69); int16_t L_71 = L_70; Il2CppObject * L_72 = Box(Int16_t4041245914_il2cpp_TypeInfo_var, &L_71); return L_72; } IL_0111: { Type_t * L_73 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_74 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_75 = 8; Type_t * L_76 = (L_74)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_75)); if ((!(((Il2CppObject*)(Type_t *)L_73) == ((Il2CppObject*)(Type_t *)L_76)))) { goto IL_012b; } } { Il2CppObject * L_77 = V_0; Il2CppObject * L_78 = ___provider2; uint16_t L_79 = InterfaceFuncInvoker1< uint16_t, Il2CppObject * >::Invoke(13 /* System.UInt16 System.IConvertible::ToUInt16(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_77, L_78); uint16_t L_80 = L_79; Il2CppObject * L_81 = Box(UInt16_t986882611_il2cpp_TypeInfo_var, &L_80); return L_81; } IL_012b: { Type_t * L_82 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_83 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_84 = ((int32_t)9); Type_t * L_85 = (L_83)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_84)); if ((!(((Il2CppObject*)(Type_t *)L_82) == ((Il2CppObject*)(Type_t *)L_85)))) { goto IL_0146; } } { Il2CppObject * L_86 = V_0; Il2CppObject * L_87 = ___provider2; int32_t L_88 = InterfaceFuncInvoker1< int32_t, Il2CppObject * >::Invoke(7 /* System.Int32 System.IConvertible::ToInt32(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_86, L_87); int32_t L_89 = L_88; Il2CppObject * L_90 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_89); return L_90; } IL_0146: { Type_t * L_91 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_92 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_93 = ((int32_t)10); Type_t * L_94 = (L_92)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_93)); if ((!(((Il2CppObject*)(Type_t *)L_91) == ((Il2CppObject*)(Type_t *)L_94)))) { goto IL_0161; } } { Il2CppObject * L_95 = V_0; Il2CppObject * L_96 = ___provider2; uint32_t L_97 = InterfaceFuncInvoker1< uint32_t, Il2CppObject * >::Invoke(14 /* System.UInt32 System.IConvertible::ToUInt32(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_95, L_96); uint32_t L_98 = L_97; Il2CppObject * L_99 = Box(UInt32_t2149682021_il2cpp_TypeInfo_var, &L_98); return L_99; } IL_0161: { Type_t * L_100 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_101 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_102 = ((int32_t)11); Type_t * L_103 = (L_101)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_102)); if ((!(((Il2CppObject*)(Type_t *)L_100) == ((Il2CppObject*)(Type_t *)L_103)))) { goto IL_017c; } } { Il2CppObject * L_104 = V_0; Il2CppObject * L_105 = ___provider2; int64_t L_106 = InterfaceFuncInvoker1< int64_t, Il2CppObject * >::Invoke(8 /* System.Int64 System.IConvertible::ToInt64(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_104, L_105); int64_t L_107 = L_106; Il2CppObject * L_108 = Box(Int64_t909078037_il2cpp_TypeInfo_var, &L_107); return L_108; } IL_017c: { Type_t * L_109 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_110 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_111 = ((int32_t)12); Type_t * L_112 = (L_110)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_111)); if ((!(((Il2CppObject*)(Type_t *)L_109) == ((Il2CppObject*)(Type_t *)L_112)))) { goto IL_0197; } } { Il2CppObject * L_113 = V_0; Il2CppObject * L_114 = ___provider2; uint64_t L_115 = InterfaceFuncInvoker1< uint64_t, Il2CppObject * >::Invoke(15 /* System.UInt64 System.IConvertible::ToUInt64(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_113, L_114); uint64_t L_116 = L_115; Il2CppObject * L_117 = Box(UInt64_t2909196914_il2cpp_TypeInfo_var, &L_116); return L_117; } IL_0197: { Type_t * L_118 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_119 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_120 = ((int32_t)13); Type_t * L_121 = (L_119)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_120)); if ((!(((Il2CppObject*)(Type_t *)L_118) == ((Il2CppObject*)(Type_t *)L_121)))) { goto IL_01b2; } } { Il2CppObject * L_122 = V_0; Il2CppObject * L_123 = ___provider2; float L_124 = InterfaceFuncInvoker1< float, Il2CppObject * >::Invoke(10 /* System.Single System.IConvertible::ToSingle(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_122, L_123); float L_125 = L_124; Il2CppObject * L_126 = Box(Single_t2076509932_il2cpp_TypeInfo_var, &L_125); return L_126; } IL_01b2: { Type_t * L_127 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_128 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_129 = ((int32_t)14); Type_t * L_130 = (L_128)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_129)); if ((!(((Il2CppObject*)(Type_t *)L_127) == ((Il2CppObject*)(Type_t *)L_130)))) { goto IL_01cd; } } { Il2CppObject * L_131 = V_0; Il2CppObject * L_132 = ___provider2; double L_133 = InterfaceFuncInvoker1< double, Il2CppObject * >::Invoke(5 /* System.Double System.IConvertible::ToDouble(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_131, L_132); double L_134 = L_133; Il2CppObject * L_135 = Box(Double_t4078015681_il2cpp_TypeInfo_var, &L_134); return L_135; } IL_01cd: { Type_t * L_136 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_137 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_138 = ((int32_t)15); Type_t * L_139 = (L_137)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_138)); if ((!(((Il2CppObject*)(Type_t *)L_136) == ((Il2CppObject*)(Type_t *)L_139)))) { goto IL_01e8; } } { Il2CppObject * L_140 = V_0; Il2CppObject * L_141 = ___provider2; Decimal_t724701077 L_142 = InterfaceFuncInvoker1< Decimal_t724701077 , Il2CppObject * >::Invoke(4 /* System.Decimal System.IConvertible::ToDecimal(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_140, L_141); Decimal_t724701077 L_143 = L_142; Il2CppObject * L_144 = Box(Decimal_t724701077_il2cpp_TypeInfo_var, &L_143); return L_144; } IL_01e8: { Type_t * L_145 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_146 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_147 = ((int32_t)16); Type_t * L_148 = (L_146)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_147)); if ((!(((Il2CppObject*)(Type_t *)L_145) == ((Il2CppObject*)(Type_t *)L_148)))) { goto IL_0203; } } { Il2CppObject * L_149 = V_0; Il2CppObject * L_150 = ___provider2; DateTime_t693205669 L_151 = InterfaceFuncInvoker1< DateTime_t693205669 , Il2CppObject * >::Invoke(3 /* System.DateTime System.IConvertible::ToDateTime(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_149, L_150); DateTime_t693205669 L_152 = L_151; Il2CppObject * L_153 = Box(DateTime_t693205669_il2cpp_TypeInfo_var, &L_152); return L_153; } IL_0203: { Type_t * L_154 = ___conversionType1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); TypeU5BU5D_t1664964607* L_155 = ((Convert_t2607082565_StaticFields*)Convert_t2607082565_il2cpp_TypeInfo_var->static_fields)->get_conversionTable_1(); int32_t L_156 = ((int32_t)18); Type_t * L_157 = (L_155)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_156)); if ((!(((Il2CppObject*)(Type_t *)L_154) == ((Il2CppObject*)(Type_t *)L_157)))) { goto IL_0219; } } { Il2CppObject * L_158 = V_0; Il2CppObject * L_159 = ___provider2; String_t* L_160 = InterfaceFuncInvoker1< String_t*, Il2CppObject * >::Invoke(11 /* System.String System.IConvertible::ToString(System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_158, L_159); return L_160; } IL_0219: { bool L_161 = ___try_target_to_type3; if (!L_161) { goto IL_0228; } } { Il2CppObject * L_162 = V_0; Type_t * L_163 = ___conversionType1; Il2CppObject * L_164 = ___provider2; Il2CppObject * L_165 = InterfaceFuncInvoker2< Il2CppObject *, Type_t *, Il2CppObject * >::Invoke(12 /* System.Object System.IConvertible::ToType(System.Type,System.IFormatProvider) */, IConvertible_t908092482_il2cpp_TypeInfo_var, L_162, L_163, L_164); return L_165; } IL_0228: { Il2CppObject * L_166 = ___value0; Type_t * L_167 = Object_GetType_m191970594(L_166, /*hidden argument*/NULL); String_t* L_168 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Type::ToString() */, L_167); Type_t * L_169 = ___conversionType1; String_t* L_170 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_169); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_171 = String_Concat_m1561703559(NULL /*static, unused*/, _stringLiteral2446393847, L_168, _stringLiteral271646399, L_170, /*hidden argument*/NULL); String_t* L_172 = Locale_GetText_m1954433032(NULL /*static, unused*/, L_171, /*hidden argument*/NULL); InvalidCastException_t3625212209 * L_173 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2960334316(L_173, L_172, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_173); } } // System.Void System.CultureAwareComparer::.ctor(System.Globalization.CultureInfo,System.Boolean) extern Il2CppClass* StringComparer_t1574862926_il2cpp_TypeInfo_var; extern const uint32_t CultureAwareComparer__ctor_m3785348999_MetadataUsageId; extern "C" void CultureAwareComparer__ctor_m3785348999 (CultureAwareComparer_t1533343251 * __this, CultureInfo_t3500843524 * ___ci0, bool ___ignore_case1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureAwareComparer__ctor_m3785348999_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(StringComparer_t1574862926_il2cpp_TypeInfo_var); StringComparer__ctor_m2275216983(__this, /*hidden argument*/NULL); CultureInfo_t3500843524 * L_0 = ___ci0; CompareInfo_t2310920157 * L_1 = VirtFuncInvoker0< CompareInfo_t2310920157 * >::Invoke(11 /* System.Globalization.CompareInfo System.Globalization.CultureInfo::get_CompareInfo() */, L_0); __this->set__compareInfo_5(L_1); bool L_2 = ___ignore_case1; __this->set__ignoreCase_4(L_2); return; } } // System.Int32 System.CultureAwareComparer::Compare(System.String,System.String) extern "C" int32_t CultureAwareComparer_Compare_m2587353351 (CultureAwareComparer_t1533343251 * __this, String_t* ___x0, String_t* ___y1, const MethodInfo* method) { int32_t V_0 = 0; int32_t G_B3_0 = 0; { bool L_0 = __this->get__ignoreCase_4(); if (!L_0) { goto IL_0011; } } { G_B3_0 = 1; goto IL_0012; } IL_0011: { G_B3_0 = 0; } IL_0012: { V_0 = G_B3_0; CompareInfo_t2310920157 * L_1 = __this->get__compareInfo_5(); String_t* L_2 = ___x0; String_t* L_3 = ___y1; int32_t L_4 = V_0; int32_t L_5 = VirtFuncInvoker3< int32_t, String_t*, String_t*, int32_t >::Invoke(6 /* System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.String,System.Globalization.CompareOptions) */, L_1, L_2, L_3, L_4); return L_5; } } // System.Boolean System.CultureAwareComparer::Equals(System.String,System.String) extern "C" bool CultureAwareComparer_Equals_m3891174449 (CultureAwareComparer_t1533343251 * __this, String_t* ___x0, String_t* ___y1, const MethodInfo* method) { { String_t* L_0 = ___x0; String_t* L_1 = ___y1; int32_t L_2 = CultureAwareComparer_Compare_m2587353351(__this, L_0, L_1, /*hidden argument*/NULL); return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0); } } // System.Int32 System.CultureAwareComparer::GetHashCode(System.String) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029391; extern const uint32_t CultureAwareComparer_GetHashCode_m3681260951_MetadataUsageId; extern "C" int32_t CultureAwareComparer_GetHashCode_m3681260951 (CultureAwareComparer_t1533343251 * __this, String_t* ___s0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureAwareComparer_GetHashCode_m3681260951_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t G_B5_0 = 0; { String_t* L_0 = ___s0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral372029391, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { bool L_2 = __this->get__ignoreCase_4(); if (!L_2) { goto IL_0022; } } { G_B5_0 = 1; goto IL_0023; } IL_0022: { G_B5_0 = 0; } IL_0023: { V_0 = G_B5_0; CompareInfo_t2310920157 * L_3 = __this->get__compareInfo_5(); String_t* L_4 = ___s0; int32_t L_5 = V_0; SortKey_t1270563137 * L_6 = VirtFuncInvoker2< SortKey_t1270563137 *, String_t*, int32_t >::Invoke(8 /* System.Globalization.SortKey System.Globalization.CompareInfo::GetSortKey(System.String,System.Globalization.CompareOptions) */, L_3, L_4, L_5); int32_t L_7 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Globalization.SortKey::GetHashCode() */, L_6); return L_7; } } // System.Void System.CurrentSystemTimeZone::.ctor() extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern Il2CppClass* TimeZone_t4008205267_il2cpp_TypeInfo_var; extern const uint32_t CurrentSystemTimeZone__ctor_m4069571984_MetadataUsageId; extern "C" void CurrentSystemTimeZone__ctor_m4069571984 (CurrentSystemTimeZone_t1172150369 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CurrentSystemTimeZone__ctor_m4069571984_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Hashtable_t909839986 * L_0 = (Hashtable_t909839986 *)il2cpp_codegen_object_new(Hashtable_t909839986_il2cpp_TypeInfo_var); Hashtable__ctor_m2702360557(L_0, 1, /*hidden argument*/NULL); __this->set_m_CachedDaylightChanges_5(L_0); IL2CPP_RUNTIME_CLASS_INIT(TimeZone_t4008205267_il2cpp_TypeInfo_var); TimeZone__ctor_m1737577440(__this, /*hidden argument*/NULL); return; } } // System.Void System.CurrentSystemTimeZone::.ctor(System.Int64) extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern Il2CppClass* TimeZone_t4008205267_il2cpp_TypeInfo_var; extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral753982119; extern const uint32_t CurrentSystemTimeZone__ctor_m2450777236_MetadataUsageId; extern "C" void CurrentSystemTimeZone__ctor_m2450777236 (CurrentSystemTimeZone_t1172150369 * __this, int64_t ___lnow0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CurrentSystemTimeZone__ctor_m2450777236_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int64U5BU5D_t717125112* V_0 = NULL; StringU5BU5D_t1642385972* V_1 = NULL; DateTime_t693205669 V_2; memset(&V_2, 0, sizeof(V_2)); DaylightTime_t3800227331 * V_3 = NULL; { Hashtable_t909839986 * L_0 = (Hashtable_t909839986 *)il2cpp_codegen_object_new(Hashtable_t909839986_il2cpp_TypeInfo_var); Hashtable__ctor_m2702360557(L_0, 1, /*hidden argument*/NULL); __this->set_m_CachedDaylightChanges_5(L_0); IL2CPP_RUNTIME_CLASS_INIT(TimeZone_t4008205267_il2cpp_TypeInfo_var); TimeZone__ctor_m1737577440(__this, /*hidden argument*/NULL); int64_t L_1 = ___lnow0; DateTime__ctor_m2586249130((&V_2), L_1, /*hidden argument*/NULL); int32_t L_2 = DateTime_get_Year_m1985210972((&V_2), /*hidden argument*/NULL); bool L_3 = CurrentSystemTimeZone_GetTimeZoneData_m2086117940(NULL /*static, unused*/, L_2, (&V_0), (&V_1), /*hidden argument*/NULL); if (L_3) { goto IL_003f; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral753982119, /*hidden argument*/NULL); NotSupportedException_t1793819818 * L_5 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_003f: { StringU5BU5D_t1642385972* L_6 = V_1; int32_t L_7 = 0; String_t* L_8 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7)); String_t* L_9 = Locale_GetText_m1954433032(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); __this->set_m_standardName_3(L_9); StringU5BU5D_t1642385972* L_10 = V_1; int32_t L_11 = 1; String_t* L_12 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11)); String_t* L_13 = Locale_GetText_m1954433032(NULL /*static, unused*/, L_12, /*hidden argument*/NULL); __this->set_m_daylightName_4(L_13); Int64U5BU5D_t717125112* L_14 = V_0; int32_t L_15 = 2; int64_t L_16 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15)); __this->set_m_ticksOffset_6(L_16); Int64U5BU5D_t717125112* L_17 = V_0; DaylightTime_t3800227331 * L_18 = CurrentSystemTimeZone_GetDaylightTimeFromData_m2605898923(__this, L_17, /*hidden argument*/NULL); V_3 = L_18; Hashtable_t909839986 * L_19 = __this->get_m_CachedDaylightChanges_5(); int32_t L_20 = DateTime_get_Year_m1985210972((&V_2), /*hidden argument*/NULL); int32_t L_21 = L_20; Il2CppObject * L_22 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_21); DaylightTime_t3800227331 * L_23 = V_3; VirtActionInvoker2< Il2CppObject *, Il2CppObject * >::Invoke(25 /* System.Void System.Collections.Hashtable::Add(System.Object,System.Object) */, L_19, L_22, L_23); DaylightTime_t3800227331 * L_24 = V_3; CurrentSystemTimeZone_OnDeserialization_m1834214305(__this, L_24, /*hidden argument*/NULL); return; } } // System.Void System.CurrentSystemTimeZone::System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(System.Object) extern "C" void CurrentSystemTimeZone_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m489233422 (CurrentSystemTimeZone_t1172150369 * __this, Il2CppObject * ___sender0, const MethodInfo* method) { { CurrentSystemTimeZone_OnDeserialization_m1834214305(__this, (DaylightTime_t3800227331 *)NULL, /*hidden argument*/NULL); return; } } // System.Boolean System.CurrentSystemTimeZone::GetTimeZoneData(System.Int32,System.Int64[]&,System.String[]&) extern "C" bool CurrentSystemTimeZone_GetTimeZoneData_m2086117940 (Il2CppObject * __this /* static, unused */, int32_t ___year0, Int64U5BU5D_t717125112** ___data1, StringU5BU5D_t1642385972** ___names2, const MethodInfo* method) { using namespace il2cpp::icalls; typedef bool (*CurrentSystemTimeZone_GetTimeZoneData_m2086117940_ftn) (int32_t, Int64U5BU5D_t717125112**, StringU5BU5D_t1642385972**); return ((CurrentSystemTimeZone_GetTimeZoneData_m2086117940_ftn)mscorlib::System::CurrentSystemTimeZone::GetTimeZoneData) (___year0, ___data1, ___names2); } // System.Globalization.DaylightTime System.CurrentSystemTimeZone::GetDaylightChanges(System.Int32) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* CurrentSystemTimeZone_t1172150369_il2cpp_TypeInfo_var; extern Il2CppClass* DaylightTime_t3800227331_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral291593847; extern Il2CppCodeGenString* _stringLiteral671390068; extern Il2CppCodeGenString* _stringLiteral2679922961; extern const uint32_t CurrentSystemTimeZone_GetDaylightChanges_m2777828412_MetadataUsageId; extern "C" DaylightTime_t3800227331 * CurrentSystemTimeZone_GetDaylightChanges_m2777828412 (CurrentSystemTimeZone_t1172150369 * __this, int32_t ___year0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CurrentSystemTimeZone_GetDaylightChanges_m2777828412_MetadataUsageId); s_Il2CppMethodInitialized = true; } Hashtable_t909839986 * V_0 = NULL; DaylightTime_t3800227331 * V_1 = NULL; Int64U5BU5D_t717125112* V_2 = NULL; StringU5BU5D_t1642385972* V_3 = NULL; DaylightTime_t3800227331 * V_4 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { int32_t L_0 = ___year0; if ((((int32_t)L_0) < ((int32_t)1))) { goto IL_0012; } } { int32_t L_1 = ___year0; if ((((int32_t)L_1) <= ((int32_t)((int32_t)9999)))) { goto IL_0032; } } IL_0012: { int32_t L_2 = ___year0; int32_t L_3 = L_2; Il2CppObject * L_4 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_3); String_t* L_5 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral671390068, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_6 = String_Concat_m56707527(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_7 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_7, _stringLiteral291593847, L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0032: { int32_t L_8 = ___year0; int32_t L_9 = ((CurrentSystemTimeZone_t1172150369_StaticFields*)CurrentSystemTimeZone_t1172150369_il2cpp_TypeInfo_var->static_fields)->get_this_year_9(); if ((!(((uint32_t)L_8) == ((uint32_t)L_9)))) { goto IL_0043; } } { DaylightTime_t3800227331 * L_10 = ((CurrentSystemTimeZone_t1172150369_StaticFields*)CurrentSystemTimeZone_t1172150369_il2cpp_TypeInfo_var->static_fields)->get_this_year_dlt_10(); return L_10; } IL_0043: { Hashtable_t909839986 * L_11 = __this->get_m_CachedDaylightChanges_5(); V_0 = L_11; Hashtable_t909839986 * L_12 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_12, /*hidden argument*/NULL); } IL_0050: try { // begin try (depth: 1) { Hashtable_t909839986 * L_13 = __this->get_m_CachedDaylightChanges_5(); int32_t L_14 = ___year0; int32_t L_15 = L_14; Il2CppObject * L_16 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_15); Il2CppObject * L_17 = VirtFuncInvoker1< Il2CppObject *, Il2CppObject * >::Invoke(22 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, L_13, L_16); V_1 = ((DaylightTime_t3800227331 *)CastclassClass(L_17, DaylightTime_t3800227331_il2cpp_TypeInfo_var)); DaylightTime_t3800227331 * L_18 = V_1; if (L_18) { goto IL_00b1; } } IL_006d: { int32_t L_19 = ___year0; bool L_20 = CurrentSystemTimeZone_GetTimeZoneData_m2086117940(NULL /*static, unused*/, L_19, (&V_2), (&V_3), /*hidden argument*/NULL); if (L_20) { goto IL_0097; } } IL_007c: { int32_t L_21 = ___year0; int32_t L_22 = L_21; Il2CppObject * L_23 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_22); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_24 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral2679922961, L_23, /*hidden argument*/NULL); String_t* L_25 = Locale_GetText_m1954433032(NULL /*static, unused*/, L_24, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_26 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_26, L_25, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_26); } IL_0097: { Int64U5BU5D_t717125112* L_27 = V_2; DaylightTime_t3800227331 * L_28 = CurrentSystemTimeZone_GetDaylightTimeFromData_m2605898923(__this, L_27, /*hidden argument*/NULL); V_1 = L_28; Hashtable_t909839986 * L_29 = __this->get_m_CachedDaylightChanges_5(); int32_t L_30 = ___year0; int32_t L_31 = L_30; Il2CppObject * L_32 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_31); DaylightTime_t3800227331 * L_33 = V_1; VirtActionInvoker2< Il2CppObject *, Il2CppObject * >::Invoke(25 /* System.Void System.Collections.Hashtable::Add(System.Object,System.Object) */, L_29, L_32, L_33); } IL_00b1: { DaylightTime_t3800227331 * L_34 = V_1; V_4 = L_34; IL2CPP_LEAVE(0xC5, FINALLY_00be); } IL_00b9: { ; // IL_00b9: leave IL_00c5 } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_00be; } FINALLY_00be: { // begin finally (depth: 1) Hashtable_t909839986 * L_35 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_35, /*hidden argument*/NULL); IL2CPP_END_FINALLY(190) } // end finally (depth: 1) IL2CPP_CLEANUP(190) { IL2CPP_JUMP_TBL(0xC5, IL_00c5) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_00c5: { DaylightTime_t3800227331 * L_36 = V_4; return L_36; } } // System.TimeSpan System.CurrentSystemTimeZone::GetUtcOffset(System.DateTime) extern "C" TimeSpan_t3430258949 CurrentSystemTimeZone_GetUtcOffset_m1858071188 (CurrentSystemTimeZone_t1172150369 * __this, DateTime_t693205669 ___time0, const MethodInfo* method) { { DateTime_t693205669 L_0 = ___time0; bool L_1 = VirtFuncInvoker1< bool, DateTime_t693205669 >::Invoke(6 /* System.Boolean System.TimeZone::IsDaylightSavingTime(System.DateTime) */, __this, L_0); if (!L_1) { goto IL_0013; } } { TimeSpan_t3430258949 L_2 = __this->get_utcOffsetWithDLS_8(); return L_2; } IL_0013: { TimeSpan_t3430258949 L_3 = __this->get_utcOffsetWithOutDLS_7(); return L_3; } } // System.Void System.CurrentSystemTimeZone::OnDeserialization(System.Globalization.DaylightTime) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* CurrentSystemTimeZone_t1172150369_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2679922961; extern const uint32_t CurrentSystemTimeZone_OnDeserialization_m1834214305_MetadataUsageId; extern "C" void CurrentSystemTimeZone_OnDeserialization_m1834214305 (CurrentSystemTimeZone_t1172150369 * __this, DaylightTime_t3800227331 * ___dlt0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CurrentSystemTimeZone_OnDeserialization_m1834214305_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int64U5BU5D_t717125112* V_0 = NULL; StringU5BU5D_t1642385972* V_1 = NULL; DateTime_t693205669 V_2; memset(&V_2, 0, sizeof(V_2)); DateTime_t693205669 V_3; memset(&V_3, 0, sizeof(V_3)); TimeSpan_t3430258949 V_4; memset(&V_4, 0, sizeof(V_4)); { DaylightTime_t3800227331 * L_0 = ___dlt0; if (L_0) { goto IL_0058; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_1 = DateTime_get_Now_m24136300(NULL /*static, unused*/, /*hidden argument*/NULL); V_2 = L_1; int32_t L_2 = DateTime_get_Year_m1985210972((&V_2), /*hidden argument*/NULL); ((CurrentSystemTimeZone_t1172150369_StaticFields*)CurrentSystemTimeZone_t1172150369_il2cpp_TypeInfo_var->static_fields)->set_this_year_9(L_2); int32_t L_3 = ((CurrentSystemTimeZone_t1172150369_StaticFields*)CurrentSystemTimeZone_t1172150369_il2cpp_TypeInfo_var->static_fields)->get_this_year_9(); bool L_4 = CurrentSystemTimeZone_GetTimeZoneData_m2086117940(NULL /*static, unused*/, L_3, (&V_0), (&V_1), /*hidden argument*/NULL); if (L_4) { goto IL_004a; } } { int32_t L_5 = ((CurrentSystemTimeZone_t1172150369_StaticFields*)CurrentSystemTimeZone_t1172150369_il2cpp_TypeInfo_var->static_fields)->get_this_year_9(); int32_t L_6 = L_5; Il2CppObject * L_7 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_6); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_8 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral2679922961, L_7, /*hidden argument*/NULL); String_t* L_9 = Locale_GetText_m1954433032(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_10 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_10, L_9, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } IL_004a: { Int64U5BU5D_t717125112* L_11 = V_0; DaylightTime_t3800227331 * L_12 = CurrentSystemTimeZone_GetDaylightTimeFromData_m2605898923(__this, L_11, /*hidden argument*/NULL); ___dlt0 = L_12; goto IL_006b; } IL_0058: { DaylightTime_t3800227331 * L_13 = ___dlt0; DateTime_t693205669 L_14 = DaylightTime_get_Start_m4045419007(L_13, /*hidden argument*/NULL); V_3 = L_14; int32_t L_15 = DateTime_get_Year_m1985210972((&V_3), /*hidden argument*/NULL); ((CurrentSystemTimeZone_t1172150369_StaticFields*)CurrentSystemTimeZone_t1172150369_il2cpp_TypeInfo_var->static_fields)->set_this_year_9(L_15); } IL_006b: { int64_t L_16 = __this->get_m_ticksOffset_6(); TimeSpan_t3430258949 L_17; memset(&L_17, 0, sizeof(L_17)); TimeSpan__ctor_m96381766(&L_17, L_16, /*hidden argument*/NULL); __this->set_utcOffsetWithOutDLS_7(L_17); int64_t L_18 = __this->get_m_ticksOffset_6(); DaylightTime_t3800227331 * L_19 = ___dlt0; TimeSpan_t3430258949 L_20 = DaylightTime_get_Delta_m2316831491(L_19, /*hidden argument*/NULL); V_4 = L_20; int64_t L_21 = TimeSpan_get_Ticks_m2285358246((&V_4), /*hidden argument*/NULL); TimeSpan_t3430258949 L_22; memset(&L_22, 0, sizeof(L_22)); TimeSpan__ctor_m96381766(&L_22, ((int64_t)((int64_t)L_18+(int64_t)L_21)), /*hidden argument*/NULL); __this->set_utcOffsetWithDLS_8(L_22); DaylightTime_t3800227331 * L_23 = ___dlt0; ((CurrentSystemTimeZone_t1172150369_StaticFields*)CurrentSystemTimeZone_t1172150369_il2cpp_TypeInfo_var->static_fields)->set_this_year_dlt_10(L_23); return; } } // System.Globalization.DaylightTime System.CurrentSystemTimeZone::GetDaylightTimeFromData(System.Int64[]) extern Il2CppClass* DaylightTime_t3800227331_il2cpp_TypeInfo_var; extern const uint32_t CurrentSystemTimeZone_GetDaylightTimeFromData_m2605898923_MetadataUsageId; extern "C" DaylightTime_t3800227331 * CurrentSystemTimeZone_GetDaylightTimeFromData_m2605898923 (CurrentSystemTimeZone_t1172150369 * __this, Int64U5BU5D_t717125112* ___data0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CurrentSystemTimeZone_GetDaylightTimeFromData_m2605898923_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Int64U5BU5D_t717125112* L_0 = ___data0; int32_t L_1 = 0; int64_t L_2 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_1)); DateTime_t693205669 L_3; memset(&L_3, 0, sizeof(L_3)); DateTime__ctor_m2586249130(&L_3, L_2, /*hidden argument*/NULL); Int64U5BU5D_t717125112* L_4 = ___data0; int32_t L_5 = 1; int64_t L_6 = (L_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5)); DateTime_t693205669 L_7; memset(&L_7, 0, sizeof(L_7)); DateTime__ctor_m2586249130(&L_7, L_6, /*hidden argument*/NULL); Int64U5BU5D_t717125112* L_8 = ___data0; int32_t L_9 = 3; int64_t L_10 = (L_8)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9)); TimeSpan_t3430258949 L_11; memset(&L_11, 0, sizeof(L_11)); TimeSpan__ctor_m96381766(&L_11, L_10, /*hidden argument*/NULL); DaylightTime_t3800227331 * L_12 = (DaylightTime_t3800227331 *)il2cpp_codegen_object_new(DaylightTime_t3800227331_il2cpp_TypeInfo_var); DaylightTime__ctor_m807489965(L_12, L_3, L_7, L_11, /*hidden argument*/NULL); return L_12; } } // System.Void System.DateTime::.ctor(System.Int64) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* Int64_t909078037_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral588502049; extern Il2CppCodeGenString* _stringLiteral512911620; extern const uint32_t DateTime__ctor_m2586249130_MetadataUsageId; extern "C" void DateTime__ctor_m2586249130 (DateTime_t693205669 * __this, int64_t ___ticks0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__ctor_m2586249130_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; DateTime_t693205669 V_1; memset(&V_1, 0, sizeof(V_1)); DateTime_t693205669 V_2; memset(&V_2, 0, sizeof(V_2)); DateTime_t693205669 V_3; memset(&V_3, 0, sizeof(V_3)); DateTime_t693205669 V_4; memset(&V_4, 0, sizeof(V_4)); { int64_t L_0 = ___ticks0; TimeSpan_t3430258949 L_1; memset(&L_1, 0, sizeof(L_1)); TimeSpan__ctor_m96381766(&L_1, L_0, /*hidden argument*/NULL); __this->set_ticks_0(L_1); int64_t L_2 = ___ticks0; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_3 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); V_1 = L_3; int64_t L_4 = DateTime_get_Ticks_m310281298((&V_1), /*hidden argument*/NULL); if ((((int64_t)L_2) < ((int64_t)L_4))) { goto IL_0032; } } { int64_t L_5 = ___ticks0; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_6 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MaxValue_2(); V_2 = L_6; int64_t L_7 = DateTime_get_Ticks_m310281298((&V_2), /*hidden argument*/NULL); if ((((int64_t)L_5) <= ((int64_t)L_7))) { goto IL_0083; } } IL_0032: { ObjectU5BU5D_t3614634134* L_8 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)3)); int64_t L_9 = ___ticks0; int64_t L_10 = L_9; Il2CppObject * L_11 = Box(Int64_t909078037_il2cpp_TypeInfo_var, &L_10); ArrayElementTypeCheck (L_8, L_11); (L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_11); ObjectU5BU5D_t3614634134* L_12 = L_8; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_13 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); V_3 = L_13; int64_t L_14 = DateTime_get_Ticks_m310281298((&V_3), /*hidden argument*/NULL); int64_t L_15 = L_14; Il2CppObject * L_16 = Box(Int64_t909078037_il2cpp_TypeInfo_var, &L_15); ArrayElementTypeCheck (L_12, L_16); (L_12)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_16); ObjectU5BU5D_t3614634134* L_17 = L_12; DateTime_t693205669 L_18 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MaxValue_2(); V_4 = L_18; int64_t L_19 = DateTime_get_Ticks_m310281298((&V_4), /*hidden argument*/NULL); int64_t L_20 = L_19; Il2CppObject * L_21 = Box(Int64_t909078037_il2cpp_TypeInfo_var, &L_20); ArrayElementTypeCheck (L_17, L_21); (L_17)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_21); String_t* L_22 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral588502049, L_17, /*hidden argument*/NULL); V_0 = L_22; String_t* L_23 = V_0; ArgumentOutOfRangeException_t279959794 * L_24 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_24, _stringLiteral512911620, L_23, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_24); } IL_0083: { __this->set_kind_1(0); return; } } extern "C" void DateTime__ctor_m2586249130_AdjustorThunk (Il2CppObject * __this, int64_t ___ticks0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); DateTime__ctor_m2586249130(_thisAdjusted, ___ticks0, method); } // System.Void System.DateTime::.ctor(System.Int32,System.Int32,System.Int32) extern "C" void DateTime__ctor_m1112320635 (DateTime_t693205669 * __this, int32_t ___year0, int32_t ___month1, int32_t ___day2, const MethodInfo* method) { { int32_t L_0 = ___year0; int32_t L_1 = ___month1; int32_t L_2 = ___day2; DateTime__ctor_m2857738939(__this, L_0, L_1, L_2, 0, 0, 0, 0, /*hidden argument*/NULL); return; } } extern "C" void DateTime__ctor_m1112320635_AdjustorThunk (Il2CppObject * __this, int32_t ___year0, int32_t ___month1, int32_t ___day2, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); DateTime__ctor_m1112320635(_thisAdjusted, ___year0, ___month1, ___day2, method); } // System.Void System.DateTime::.ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3994070802; extern const uint32_t DateTime__ctor_m2857738939_MetadataUsageId; extern "C" void DateTime__ctor_m2857738939 (DateTime_t693205669 * __this, int32_t ___year0, int32_t ___month1, int32_t ___day2, int32_t ___hour3, int32_t ___minute4, int32_t ___second5, int32_t ___millisecond6, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__ctor_m2857738939_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___year0; if ((((int32_t)L_0) < ((int32_t)1))) { goto IL_007c; } } { int32_t L_1 = ___year0; if ((((int32_t)L_1) > ((int32_t)((int32_t)9999)))) { goto IL_007c; } } { int32_t L_2 = ___month1; if ((((int32_t)L_2) < ((int32_t)1))) { goto IL_007c; } } { int32_t L_3 = ___month1; if ((((int32_t)L_3) > ((int32_t)((int32_t)12)))) { goto IL_007c; } } { int32_t L_4 = ___day2; if ((((int32_t)L_4) < ((int32_t)1))) { goto IL_007c; } } { int32_t L_5 = ___day2; int32_t L_6 = ___year0; int32_t L_7 = ___month1; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_8 = DateTime_DaysInMonth_m2275365236(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); if ((((int32_t)L_5) > ((int32_t)L_8))) { goto IL_007c; } } { int32_t L_9 = ___hour3; if ((((int32_t)L_9) < ((int32_t)0))) { goto IL_007c; } } { int32_t L_10 = ___hour3; if ((((int32_t)L_10) > ((int32_t)((int32_t)23)))) { goto IL_007c; } } { int32_t L_11 = ___minute4; if ((((int32_t)L_11) < ((int32_t)0))) { goto IL_007c; } } { int32_t L_12 = ___minute4; if ((((int32_t)L_12) > ((int32_t)((int32_t)59)))) { goto IL_007c; } } { int32_t L_13 = ___second5; if ((((int32_t)L_13) < ((int32_t)0))) { goto IL_007c; } } { int32_t L_14 = ___second5; if ((((int32_t)L_14) > ((int32_t)((int32_t)59)))) { goto IL_007c; } } { int32_t L_15 = ___millisecond6; if ((((int32_t)L_15) < ((int32_t)0))) { goto IL_007c; } } { int32_t L_16 = ___millisecond6; if ((((int32_t)L_16) <= ((int32_t)((int32_t)999)))) { goto IL_0087; } } IL_007c: { ArgumentOutOfRangeException_t279959794 * L_17 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_17, _stringLiteral3994070802, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_17); } IL_0087: { int32_t L_18 = ___year0; int32_t L_19 = ___month1; int32_t L_20 = ___day2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_21 = DateTime_AbsoluteDays_m3061694073(NULL /*static, unused*/, L_18, L_19, L_20, /*hidden argument*/NULL); int32_t L_22 = ___hour3; int32_t L_23 = ___minute4; int32_t L_24 = ___second5; int32_t L_25 = ___millisecond6; TimeSpan_t3430258949 L_26; memset(&L_26, 0, sizeof(L_26)); TimeSpan__ctor_m1560702407(&L_26, L_21, L_22, L_23, L_24, L_25, /*hidden argument*/NULL); __this->set_ticks_0(L_26); __this->set_kind_1(0); return; } } extern "C" void DateTime__ctor_m2857738939_AdjustorThunk (Il2CppObject * __this, int32_t ___year0, int32_t ___month1, int32_t ___day2, int32_t ___hour3, int32_t ___minute4, int32_t ___second5, int32_t ___millisecond6, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); DateTime__ctor_m2857738939(_thisAdjusted, ___year0, ___month1, ___day2, ___hour3, ___minute4, ___second5, ___millisecond6, method); } // System.Void System.DateTime::.ctor(System.Boolean,System.TimeSpan) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern const uint32_t DateTime__ctor_m3604679583_MetadataUsageId; extern "C" void DateTime__ctor_m3604679583 (DateTime_t693205669 * __this, bool ___check0, TimeSpan_t3430258949 ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__ctor_m3604679583_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); DateTime_t693205669 V_1; memset(&V_1, 0, sizeof(V_1)); { bool L_0 = ___check0; if (!L_0) { goto IL_003e; } } { int64_t L_1 = TimeSpan_get_Ticks_m2285358246((&___value1), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_2 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); V_0 = L_2; int64_t L_3 = DateTime_get_Ticks_m310281298((&V_0), /*hidden argument*/NULL); if ((((int64_t)L_1) < ((int64_t)L_3))) { goto IL_0038; } } { int64_t L_4 = TimeSpan_get_Ticks_m2285358246((&___value1), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_5 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MaxValue_2(); V_1 = L_5; int64_t L_6 = DateTime_get_Ticks_m310281298((&V_1), /*hidden argument*/NULL); if ((((int64_t)L_4) <= ((int64_t)L_6))) { goto IL_003e; } } IL_0038: { ArgumentOutOfRangeException_t279959794 * L_7 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_7, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_003e: { TimeSpan_t3430258949 L_8 = ___value1; __this->set_ticks_0(L_8); __this->set_kind_1(0); return; } } extern "C" void DateTime__ctor_m3604679583_AdjustorThunk (Il2CppObject * __this, bool ___check0, TimeSpan_t3430258949 ___value1, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); DateTime__ctor_m3604679583(_thisAdjusted, ___check0, ___value1, method); } // System.Void System.DateTime::.ctor(System.Int64,System.DateTimeKind) extern "C" void DateTime__ctor_m1100326092 (DateTime_t693205669 * __this, int64_t ___ticks0, int32_t ___kind1, const MethodInfo* method) { { int64_t L_0 = ___ticks0; DateTime__ctor_m2586249130(__this, L_0, /*hidden argument*/NULL); int32_t L_1 = ___kind1; DateTime_CheckDateTimeKind_m329345155(__this, L_1, /*hidden argument*/NULL); int32_t L_2 = ___kind1; __this->set_kind_1(L_2); return; } } extern "C" void DateTime__ctor_m1100326092_AdjustorThunk (Il2CppObject * __this, int64_t ___ticks0, int32_t ___kind1, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); DateTime__ctor_m1100326092(_thisAdjusted, ___ticks0, ___kind1, method); } // System.Void System.DateTime::.cctor() extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* StringU5BU5D_t1642385972_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppClass* MonoTouchAOTHelper_t2464748856_il2cpp_TypeInfo_var; extern Il2CppClass* GenericComparer_1_t2726148469_il2cpp_TypeInfo_var; extern Il2CppClass* GenericEqualityComparer_1_t3972055101_il2cpp_TypeInfo_var; extern const MethodInfo* GenericComparer_1__ctor_m474482338_MethodInfo_var; extern const MethodInfo* GenericEqualityComparer_1__ctor_m603915962_MethodInfo_var; extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D64_51_FieldInfo_var; extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D65_52_FieldInfo_var; extern Il2CppCodeGenString* _stringLiteral623260266; extern Il2CppCodeGenString* _stringLiteral3434739892; extern Il2CppCodeGenString* _stringLiteral2492395986; extern Il2CppCodeGenString* _stringLiteral1228755842; extern Il2CppCodeGenString* _stringLiteral4222545612; extern Il2CppCodeGenString* _stringLiteral203450773; extern Il2CppCodeGenString* _stringLiteral2880467099; extern Il2CppCodeGenString* _stringLiteral1191496942; extern Il2CppCodeGenString* _stringLiteral79153950; extern Il2CppCodeGenString* _stringLiteral2846151437; extern Il2CppCodeGenString* _stringLiteral4070021081; extern Il2CppCodeGenString* _stringLiteral882393579; extern Il2CppCodeGenString* _stringLiteral1203706954; extern Il2CppCodeGenString* _stringLiteral2800584397; extern Il2CppCodeGenString* _stringLiteral951840640; extern Il2CppCodeGenString* _stringLiteral3994425929; extern Il2CppCodeGenString* _stringLiteral2146066112; extern Il2CppCodeGenString* _stringLiteral1309678745; extern Il2CppCodeGenString* _stringLiteral554061093; extern Il2CppCodeGenString* _stringLiteral3183822688; extern Il2CppCodeGenString* _stringLiteral3475545997; extern Il2CppCodeGenString* _stringLiteral4126568266; extern Il2CppCodeGenString* _stringLiteral4151923785; extern Il2CppCodeGenString* _stringLiteral3049899808; extern Il2CppCodeGenString* _stringLiteral1166936597; extern Il2CppCodeGenString* _stringLiteral119645014; extern Il2CppCodeGenString* _stringLiteral2952555753; extern Il2CppCodeGenString* _stringLiteral1569116725; extern Il2CppCodeGenString* _stringLiteral2148526486; extern Il2CppCodeGenString* _stringLiteral4098302313; extern Il2CppCodeGenString* _stringLiteral811619993; extern Il2CppCodeGenString* _stringLiteral1198297421; extern Il2CppCodeGenString* _stringLiteral999438964; extern Il2CppCodeGenString* _stringLiteral1160502861; extern Il2CppCodeGenString* _stringLiteral3247456879; extern Il2CppCodeGenString* _stringLiteral48227236; extern Il2CppCodeGenString* _stringLiteral1898422979; extern Il2CppCodeGenString* _stringLiteral2950608115; extern Il2CppCodeGenString* _stringLiteral236765138; extern const uint32_t DateTime__cctor_m2173182045_MetadataUsageId; extern "C" void DateTime__cctor_m2173182045 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__cctor_m2173182045_MetadataUsageId); s_Il2CppMethodInitialized = true; } GenericComparer_1_t2726148469 * V_0 = NULL; GenericEqualityComparer_1_t3972055101 * V_1 = NULL; { TimeSpan_t3430258949 L_0; memset(&L_0, 0, sizeof(L_0)); TimeSpan__ctor_m96381766(&L_0, ((int64_t)3155378975999999999LL), /*hidden argument*/NULL); DateTime_t693205669 L_1; memset(&L_1, 0, sizeof(L_1)); DateTime__ctor_m3604679583(&L_1, (bool)0, L_0, /*hidden argument*/NULL); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_MaxValue_2(L_1); TimeSpan_t3430258949 L_2; memset(&L_2, 0, sizeof(L_2)); TimeSpan__ctor_m96381766(&L_2, (((int64_t)((int64_t)0))), /*hidden argument*/NULL); DateTime_t693205669 L_3; memset(&L_3, 0, sizeof(L_3)); DateTime__ctor_m3604679583(&L_3, (bool)0, L_2, /*hidden argument*/NULL); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_MinValue_3(L_3); StringU5BU5D_t1642385972* L_4 = ((StringU5BU5D_t1642385972*)SZArrayNew(StringU5BU5D_t1642385972_il2cpp_TypeInfo_var, (uint32_t)((int32_t)9))); ArrayElementTypeCheck (L_4, _stringLiteral623260266); (L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral623260266); StringU5BU5D_t1642385972* L_5 = L_4; ArrayElementTypeCheck (L_5, _stringLiteral3434739892); (L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral3434739892); StringU5BU5D_t1642385972* L_6 = L_5; ArrayElementTypeCheck (L_6, _stringLiteral2492395986); (L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral2492395986); StringU5BU5D_t1642385972* L_7 = L_6; ArrayElementTypeCheck (L_7, _stringLiteral1228755842); (L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral1228755842); StringU5BU5D_t1642385972* L_8 = L_7; ArrayElementTypeCheck (L_8, _stringLiteral4222545612); (L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral4222545612); StringU5BU5D_t1642385972* L_9 = L_8; ArrayElementTypeCheck (L_9, _stringLiteral203450773); (L_9)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral203450773); StringU5BU5D_t1642385972* L_10 = L_9; ArrayElementTypeCheck (L_10, _stringLiteral2880467099); (L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral2880467099); StringU5BU5D_t1642385972* L_11 = L_10; ArrayElementTypeCheck (L_11, _stringLiteral1191496942); (L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteral1191496942); StringU5BU5D_t1642385972* L_12 = L_11; ArrayElementTypeCheck (L_12, _stringLiteral79153950); (L_12)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteral79153950); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_ParseTimeFormats_4(L_12); StringU5BU5D_t1642385972* L_13 = ((StringU5BU5D_t1642385972*)SZArrayNew(StringU5BU5D_t1642385972_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10))); ArrayElementTypeCheck (L_13, _stringLiteral2846151437); (L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral2846151437); StringU5BU5D_t1642385972* L_14 = L_13; ArrayElementTypeCheck (L_14, _stringLiteral4070021081); (L_14)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral4070021081); StringU5BU5D_t1642385972* L_15 = L_14; ArrayElementTypeCheck (L_15, _stringLiteral882393579); (L_15)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral882393579); StringU5BU5D_t1642385972* L_16 = L_15; ArrayElementTypeCheck (L_16, _stringLiteral1203706954); (L_16)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral1203706954); StringU5BU5D_t1642385972* L_17 = L_16; ArrayElementTypeCheck (L_17, _stringLiteral2800584397); (L_17)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral2800584397); StringU5BU5D_t1642385972* L_18 = L_17; ArrayElementTypeCheck (L_18, _stringLiteral951840640); (L_18)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral951840640); StringU5BU5D_t1642385972* L_19 = L_18; ArrayElementTypeCheck (L_19, _stringLiteral3994425929); (L_19)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral3994425929); StringU5BU5D_t1642385972* L_20 = L_19; ArrayElementTypeCheck (L_20, _stringLiteral2146066112); (L_20)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteral2146066112); StringU5BU5D_t1642385972* L_21 = L_20; ArrayElementTypeCheck (L_21, _stringLiteral1309678745); (L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteral1309678745); StringU5BU5D_t1642385972* L_22 = L_21; ArrayElementTypeCheck (L_22, _stringLiteral554061093); (L_22)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteral554061093); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_ParseYearDayMonthFormats_5(L_22); StringU5BU5D_t1642385972* L_23 = ((StringU5BU5D_t1642385972*)SZArrayNew(StringU5BU5D_t1642385972_il2cpp_TypeInfo_var, (uint32_t)((int32_t)12))); ArrayElementTypeCheck (L_23, _stringLiteral2846151437); (L_23)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral2846151437); StringU5BU5D_t1642385972* L_24 = L_23; ArrayElementTypeCheck (L_24, _stringLiteral4070021081); (L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral4070021081); StringU5BU5D_t1642385972* L_25 = L_24; ArrayElementTypeCheck (L_25, _stringLiteral882393579); (L_25)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral882393579); StringU5BU5D_t1642385972* L_26 = L_25; ArrayElementTypeCheck (L_26, _stringLiteral3183822688); (L_26)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral3183822688); StringU5BU5D_t1642385972* L_27 = L_26; ArrayElementTypeCheck (L_27, _stringLiteral3475545997); (L_27)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral3475545997); StringU5BU5D_t1642385972* L_28 = L_27; ArrayElementTypeCheck (L_28, _stringLiteral4126568266); (L_28)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral4126568266); StringU5BU5D_t1642385972* L_29 = L_28; ArrayElementTypeCheck (L_29, _stringLiteral4151923785); (L_29)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral4151923785); StringU5BU5D_t1642385972* L_30 = L_29; ArrayElementTypeCheck (L_30, _stringLiteral3049899808); (L_30)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteral3049899808); StringU5BU5D_t1642385972* L_31 = L_30; ArrayElementTypeCheck (L_31, _stringLiteral1166936597); (L_31)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteral1166936597); StringU5BU5D_t1642385972* L_32 = L_31; ArrayElementTypeCheck (L_32, _stringLiteral119645014); (L_32)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteral119645014); StringU5BU5D_t1642385972* L_33 = L_32; ArrayElementTypeCheck (L_33, _stringLiteral2952555753); (L_33)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)10)), (String_t*)_stringLiteral2952555753); StringU5BU5D_t1642385972* L_34 = L_33; ArrayElementTypeCheck (L_34, _stringLiteral1569116725); (L_34)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)11)), (String_t*)_stringLiteral1569116725); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_ParseYearMonthDayFormats_6(L_34); StringU5BU5D_t1642385972* L_35 = ((StringU5BU5D_t1642385972*)SZArrayNew(StringU5BU5D_t1642385972_il2cpp_TypeInfo_var, (uint32_t)((int32_t)15))); ArrayElementTypeCheck (L_35, _stringLiteral2846151437); (L_35)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral2846151437); StringU5BU5D_t1642385972* L_36 = L_35; ArrayElementTypeCheck (L_36, _stringLiteral4070021081); (L_36)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral4070021081); StringU5BU5D_t1642385972* L_37 = L_36; ArrayElementTypeCheck (L_37, _stringLiteral882393579); (L_37)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral882393579); StringU5BU5D_t1642385972* L_38 = L_37; ArrayElementTypeCheck (L_38, _stringLiteral3183822688); (L_38)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral3183822688); StringU5BU5D_t1642385972* L_39 = L_38; ArrayElementTypeCheck (L_39, _stringLiteral3475545997); (L_39)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral3475545997); StringU5BU5D_t1642385972* L_40 = L_39; ArrayElementTypeCheck (L_40, _stringLiteral951840640); (L_40)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral951840640); StringU5BU5D_t1642385972* L_41 = L_40; ArrayElementTypeCheck (L_41, _stringLiteral3994425929); (L_41)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral3994425929); StringU5BU5D_t1642385972* L_42 = L_41; ArrayElementTypeCheck (L_42, _stringLiteral3049899808); (L_42)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteral3049899808); StringU5BU5D_t1642385972* L_43 = L_42; ArrayElementTypeCheck (L_43, _stringLiteral1166936597); (L_43)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteral1166936597); StringU5BU5D_t1642385972* L_44 = L_43; ArrayElementTypeCheck (L_44, _stringLiteral2148526486); (L_44)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteral2148526486); StringU5BU5D_t1642385972* L_45 = L_44; ArrayElementTypeCheck (L_45, _stringLiteral4098302313); (L_45)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)10)), (String_t*)_stringLiteral4098302313); StringU5BU5D_t1642385972* L_46 = L_45; ArrayElementTypeCheck (L_46, _stringLiteral811619993); (L_46)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)11)), (String_t*)_stringLiteral811619993); StringU5BU5D_t1642385972* L_47 = L_46; ArrayElementTypeCheck (L_47, _stringLiteral2952555753); (L_47)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)12)), (String_t*)_stringLiteral2952555753); StringU5BU5D_t1642385972* L_48 = L_47; ArrayElementTypeCheck (L_48, _stringLiteral1198297421); (L_48)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)13)), (String_t*)_stringLiteral1198297421); StringU5BU5D_t1642385972* L_49 = L_48; ArrayElementTypeCheck (L_49, _stringLiteral1569116725); (L_49)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)14)), (String_t*)_stringLiteral1569116725); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_ParseDayMonthYearFormats_7(L_49); StringU5BU5D_t1642385972* L_50 = ((StringU5BU5D_t1642385972*)SZArrayNew(StringU5BU5D_t1642385972_il2cpp_TypeInfo_var, (uint32_t)((int32_t)15))); ArrayElementTypeCheck (L_50, _stringLiteral2846151437); (L_50)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral2846151437); StringU5BU5D_t1642385972* L_51 = L_50; ArrayElementTypeCheck (L_51, _stringLiteral4070021081); (L_51)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral4070021081); StringU5BU5D_t1642385972* L_52 = L_51; ArrayElementTypeCheck (L_52, _stringLiteral882393579); (L_52)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral882393579); StringU5BU5D_t1642385972* L_53 = L_52; ArrayElementTypeCheck (L_53, _stringLiteral3183822688); (L_53)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral3183822688); StringU5BU5D_t1642385972* L_54 = L_53; ArrayElementTypeCheck (L_54, _stringLiteral3475545997); (L_54)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral3475545997); StringU5BU5D_t1642385972* L_55 = L_54; ArrayElementTypeCheck (L_55, _stringLiteral4126568266); (L_55)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral4126568266); StringU5BU5D_t1642385972* L_56 = L_55; ArrayElementTypeCheck (L_56, _stringLiteral4151923785); (L_56)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral4151923785); StringU5BU5D_t1642385972* L_57 = L_56; ArrayElementTypeCheck (L_57, _stringLiteral3049899808); (L_57)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteral3049899808); StringU5BU5D_t1642385972* L_58 = L_57; ArrayElementTypeCheck (L_58, _stringLiteral1166936597); (L_58)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteral1166936597); StringU5BU5D_t1642385972* L_59 = L_58; ArrayElementTypeCheck (L_59, _stringLiteral999438964); (L_59)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteral999438964); StringU5BU5D_t1642385972* L_60 = L_59; ArrayElementTypeCheck (L_60, _stringLiteral1569116725); (L_60)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)10)), (String_t*)_stringLiteral1569116725); StringU5BU5D_t1642385972* L_61 = L_60; ArrayElementTypeCheck (L_61, _stringLiteral1160502861); (L_61)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)11)), (String_t*)_stringLiteral1160502861); StringU5BU5D_t1642385972* L_62 = L_61; ArrayElementTypeCheck (L_62, _stringLiteral4098302313); (L_62)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)12)), (String_t*)_stringLiteral4098302313); StringU5BU5D_t1642385972* L_63 = L_62; ArrayElementTypeCheck (L_63, _stringLiteral811619993); (L_63)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)13)), (String_t*)_stringLiteral811619993); StringU5BU5D_t1642385972* L_64 = L_63; ArrayElementTypeCheck (L_64, _stringLiteral2952555753); (L_64)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)14)), (String_t*)_stringLiteral2952555753); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_ParseMonthDayYearFormats_8(L_64); StringU5BU5D_t1642385972* L_65 = ((StringU5BU5D_t1642385972*)SZArrayNew(StringU5BU5D_t1642385972_il2cpp_TypeInfo_var, (uint32_t)3)); ArrayElementTypeCheck (L_65, _stringLiteral3247456879); (L_65)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral3247456879); StringU5BU5D_t1642385972* L_66 = L_65; ArrayElementTypeCheck (L_66, _stringLiteral48227236); (L_66)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral48227236); StringU5BU5D_t1642385972* L_67 = L_66; ArrayElementTypeCheck (L_67, _stringLiteral1898422979); (L_67)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral1898422979); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_MonthDayShortFormats_9(L_67); StringU5BU5D_t1642385972* L_68 = ((StringU5BU5D_t1642385972*)SZArrayNew(StringU5BU5D_t1642385972_il2cpp_TypeInfo_var, (uint32_t)3)); ArrayElementTypeCheck (L_68, _stringLiteral2950608115); (L_68)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral2950608115); StringU5BU5D_t1642385972* L_69 = L_68; ArrayElementTypeCheck (L_69, _stringLiteral236765138); (L_69)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral236765138); StringU5BU5D_t1642385972* L_70 = L_69; ArrayElementTypeCheck (L_70, _stringLiteral1898422979); (L_70)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral1898422979); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_DayMonthShortFormats_10(L_70); Int32U5BU5D_t3030399641* L_71 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)((int32_t)13))); RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_71, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D64_51_FieldInfo_var), /*hidden argument*/NULL); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_daysmonth_11(L_71); Int32U5BU5D_t3030399641* L_72 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)((int32_t)13))); RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_72, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D65_52_FieldInfo_var), /*hidden argument*/NULL); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_daysmonthleap_12(L_72); IL2CPP_RUNTIME_CLASS_INIT(MonoTouchAOTHelper_t2464748856_il2cpp_TypeInfo_var); bool L_73 = ((MonoTouchAOTHelper_t2464748856_StaticFields*)MonoTouchAOTHelper_t2464748856_il2cpp_TypeInfo_var->static_fields)->get_FalseFlag_0(); if (!L_73) { goto IL_02e9; } } { GenericComparer_1_t2726148469 * L_74 = (GenericComparer_1_t2726148469 *)il2cpp_codegen_object_new(GenericComparer_1_t2726148469_il2cpp_TypeInfo_var); GenericComparer_1__ctor_m474482338(L_74, /*hidden argument*/GenericComparer_1__ctor_m474482338_MethodInfo_var); V_0 = L_74; GenericEqualityComparer_1_t3972055101 * L_75 = (GenericEqualityComparer_1_t3972055101 *)il2cpp_codegen_object_new(GenericEqualityComparer_1_t3972055101_il2cpp_TypeInfo_var); GenericEqualityComparer_1__ctor_m603915962(L_75, /*hidden argument*/GenericEqualityComparer_1__ctor_m603915962_MethodInfo_var); V_1 = L_75; } IL_02e9: { return; } } // System.Boolean System.DateTime::System.IConvertible.ToBoolean(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToBoolean_m2185335074_MetadataUsageId; extern "C" bool DateTime_System_IConvertible_ToBoolean_m2185335074 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToBoolean_m2185335074_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" bool DateTime_System_IConvertible_ToBoolean_m2185335074_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToBoolean_m2185335074(_thisAdjusted, ___provider0, method); } // System.Byte System.DateTime::System.IConvertible.ToByte(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToByte_m2670443498_MetadataUsageId; extern "C" uint8_t DateTime_System_IConvertible_ToByte_m2670443498 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToByte_m2670443498_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" uint8_t DateTime_System_IConvertible_ToByte_m2670443498_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToByte_m2670443498(_thisAdjusted, ___provider0, method); } // System.Char System.DateTime::System.IConvertible.ToChar(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToChar_m2489529194_MetadataUsageId; extern "C" Il2CppChar DateTime_System_IConvertible_ToChar_m2489529194 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToChar_m2489529194_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" Il2CppChar DateTime_System_IConvertible_ToChar_m2489529194_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToChar_m2489529194(_thisAdjusted, ___provider0, method); } // System.DateTime System.DateTime::System.IConvertible.ToDateTime(System.IFormatProvider) extern "C" DateTime_t693205669 DateTime_System_IConvertible_ToDateTime_m943300266 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { { return (*(DateTime_t693205669 *)__this); } } extern "C" DateTime_t693205669 DateTime_System_IConvertible_ToDateTime_m943300266_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToDateTime_m943300266(_thisAdjusted, ___provider0, method); } // System.Decimal System.DateTime::System.IConvertible.ToDecimal(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToDecimal_m736194296_MetadataUsageId; extern "C" Decimal_t724701077 DateTime_System_IConvertible_ToDecimal_m736194296 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToDecimal_m736194296_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" Decimal_t724701077 DateTime_System_IConvertible_ToDecimal_m736194296_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToDecimal_m736194296(_thisAdjusted, ___provider0, method); } // System.Double System.DateTime::System.IConvertible.ToDouble(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToDouble_m1431748426_MetadataUsageId; extern "C" double DateTime_System_IConvertible_ToDouble_m1431748426 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToDouble_m1431748426_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" double DateTime_System_IConvertible_ToDouble_m1431748426_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToDouble_m1431748426(_thisAdjusted, ___provider0, method); } // System.Int16 System.DateTime::System.IConvertible.ToInt16(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToInt16_m825738946_MetadataUsageId; extern "C" int16_t DateTime_System_IConvertible_ToInt16_m825738946 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToInt16_m825738946_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" int16_t DateTime_System_IConvertible_ToInt16_m825738946_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToInt16_m825738946(_thisAdjusted, ___provider0, method); } // System.Int32 System.DateTime::System.IConvertible.ToInt32(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToInt32_m2789391054_MetadataUsageId; extern "C" int32_t DateTime_System_IConvertible_ToInt32_m2789391054 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToInt32_m2789391054_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" int32_t DateTime_System_IConvertible_ToInt32_m2789391054_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToInt32_m2789391054(_thisAdjusted, ___provider0, method); } // System.Int64 System.DateTime::System.IConvertible.ToInt64(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToInt64_m2773806612_MetadataUsageId; extern "C" int64_t DateTime_System_IConvertible_ToInt64_m2773806612 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToInt64_m2773806612_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" int64_t DateTime_System_IConvertible_ToInt64_m2773806612_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToInt64_m2773806612(_thisAdjusted, ___provider0, method); } // System.SByte System.DateTime::System.IConvertible.ToSByte(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToSByte_m2575078084_MetadataUsageId; extern "C" int8_t DateTime_System_IConvertible_ToSByte_m2575078084 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToSByte_m2575078084_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" int8_t DateTime_System_IConvertible_ToSByte_m2575078084_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToSByte_m2575078084(_thisAdjusted, ___provider0, method); } // System.Single System.DateTime::System.IConvertible.ToSingle(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToSingle_m3927769066_MetadataUsageId; extern "C" float DateTime_System_IConvertible_ToSingle_m3927769066 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToSingle_m3927769066_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" float DateTime_System_IConvertible_ToSingle_m3927769066_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToSingle_m3927769066(_thisAdjusted, ___provider0, method); } // System.Object System.DateTime::System.IConvertible.ToType(System.Type,System.IFormatProvider) extern const Il2CppType* DateTime_t693205669_0_0_0_var; extern const Il2CppType* String_t_0_0_0_var; extern const Il2CppType* Il2CppObject_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3040989817; extern const uint32_t DateTime_System_IConvertible_ToType_m3821835592_MetadataUsageId; extern "C" Il2CppObject * DateTime_System_IConvertible_ToType_m3821835592 (DateTime_t693205669 * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToType_m3821835592_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___targetType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3040989817, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Type_t * L_2 = ___targetType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_3 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(DateTime_t693205669_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_2) == ((Il2CppObject*)(Type_t *)L_3)))) { goto IL_002d; } } { DateTime_t693205669 L_4 = (*(DateTime_t693205669 *)__this); Il2CppObject * L_5 = Box(DateTime_t693205669_il2cpp_TypeInfo_var, &L_4); return L_5; } IL_002d: { Type_t * L_6 = ___targetType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_7 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(String_t_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_6) == ((Il2CppObject*)(Type_t *)L_7)))) { goto IL_0045; } } { Il2CppObject * L_8 = ___provider1; String_t* L_9 = DateTime_ToString_m3108726445(__this, L_8, /*hidden argument*/NULL); return L_9; } IL_0045: { Type_t * L_10 = ___targetType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_11 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Il2CppObject_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_10) == ((Il2CppObject*)(Type_t *)L_11)))) { goto IL_0061; } } { DateTime_t693205669 L_12 = (*(DateTime_t693205669 *)__this); Il2CppObject * L_13 = Box(DateTime_t693205669_il2cpp_TypeInfo_var, &L_12); return L_13; } IL_0061: { InvalidCastException_t3625212209 * L_14 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_14, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_14); } } extern "C" Il2CppObject * DateTime_System_IConvertible_ToType_m3821835592_AdjustorThunk (Il2CppObject * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToType_m3821835592(_thisAdjusted, ___targetType0, ___provider1, method); } // System.UInt16 System.DateTime::System.IConvertible.ToUInt16(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToUInt16_m2200165578_MetadataUsageId; extern "C" uint16_t DateTime_System_IConvertible_ToUInt16_m2200165578 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToUInt16_m2200165578_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" uint16_t DateTime_System_IConvertible_ToUInt16_m2200165578_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToUInt16_m2200165578(_thisAdjusted, ___provider0, method); } // System.UInt32 System.DateTime::System.IConvertible.ToUInt32(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToUInt32_m1363211018_MetadataUsageId; extern "C" uint32_t DateTime_System_IConvertible_ToUInt32_m1363211018 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToUInt32_m1363211018_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" uint32_t DateTime_System_IConvertible_ToUInt32_m1363211018_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToUInt32_m1363211018(_thisAdjusted, ___provider0, method); } // System.UInt64 System.DateTime::System.IConvertible.ToUInt64(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DateTime_System_IConvertible_ToUInt64_m2788957482_MetadataUsageId; extern "C" uint64_t DateTime_System_IConvertible_ToUInt64_m2788957482 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_System_IConvertible_ToUInt64_m2788957482_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" uint64_t DateTime_System_IConvertible_ToUInt64_m2788957482_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_System_IConvertible_ToUInt64_m2788957482(_thisAdjusted, ___provider0, method); } // System.Int32 System.DateTime::AbsoluteDays(System.Int32,System.Int32,System.Int32) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTime_AbsoluteDays_m3061694073_MetadataUsageId; extern "C" int32_t DateTime_AbsoluteDays_m3061694073 (Il2CppObject * __this /* static, unused */, int32_t ___year0, int32_t ___month1, int32_t ___day2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_AbsoluteDays_m3061694073_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; Int32U5BU5D_t3030399641* G_B3_0 = NULL; { V_1 = 0; V_2 = 1; int32_t L_0 = ___year0; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_1 = DateTime_IsLeapYear_m2906714770(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_0019; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); Int32U5BU5D_t3030399641* L_2 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_daysmonthleap_12(); G_B3_0 = L_2; goto IL_001e; } IL_0019: { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); Int32U5BU5D_t3030399641* L_3 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_daysmonth_11(); G_B3_0 = L_3; } IL_001e: { V_0 = G_B3_0; goto IL_002e; } IL_0024: { int32_t L_4 = V_1; Int32U5BU5D_t3030399641* L_5 = V_0; int32_t L_6 = V_2; int32_t L_7 = L_6; V_2 = ((int32_t)((int32_t)L_7+(int32_t)1)); int32_t L_8 = L_7; int32_t L_9 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8)); V_1 = ((int32_t)((int32_t)L_4+(int32_t)L_9)); } IL_002e: { int32_t L_10 = V_2; int32_t L_11 = ___month1; if ((((int32_t)L_10) < ((int32_t)L_11))) { goto IL_0024; } } { int32_t L_12 = ___day2; int32_t L_13 = V_1; int32_t L_14 = ___year0; int32_t L_15 = ___year0; int32_t L_16 = ___year0; int32_t L_17 = ___year0; return ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_12-(int32_t)1))+(int32_t)L_13))+(int32_t)((int32_t)((int32_t)((int32_t)365)*(int32_t)((int32_t)((int32_t)L_14-(int32_t)1))))))+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_15-(int32_t)1))/(int32_t)4))))-(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_16-(int32_t)1))/(int32_t)((int32_t)100)))))+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_17-(int32_t)1))/(int32_t)((int32_t)400))))); } } // System.Int32 System.DateTime::FromTicks(System.DateTime/Which) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTime_FromTicks_m75527956_MetadataUsageId; extern "C" int32_t DateTime_FromTicks_m75527956 (DateTime_t693205669 * __this, int32_t ___what0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_FromTicks_m75527956_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; int32_t V_3 = 0; int32_t V_4 = 0; Int32U5BU5D_t3030399641* V_5 = NULL; int32_t V_6 = 0; { V_4 = 1; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); Int32U5BU5D_t3030399641* L_0 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_daysmonth_11(); V_5 = L_0; TimeSpan_t3430258949 * L_1 = __this->get_address_of_ticks_0(); int32_t L_2 = TimeSpan_get_Days_m1002111510(L_1, /*hidden argument*/NULL); V_6 = L_2; int32_t L_3 = V_6; V_0 = ((int32_t)((int32_t)L_3/(int32_t)((int32_t)146097))); int32_t L_4 = V_6; int32_t L_5 = V_0; V_6 = ((int32_t)((int32_t)L_4-(int32_t)((int32_t)((int32_t)L_5*(int32_t)((int32_t)146097))))); int32_t L_6 = V_6; V_1 = ((int32_t)((int32_t)L_6/(int32_t)((int32_t)36524))); int32_t L_7 = V_1; if ((!(((uint32_t)L_7) == ((uint32_t)4)))) { goto IL_003e; } } { V_1 = 3; } IL_003e: { int32_t L_8 = V_6; int32_t L_9 = V_1; V_6 = ((int32_t)((int32_t)L_8-(int32_t)((int32_t)((int32_t)L_9*(int32_t)((int32_t)36524))))); int32_t L_10 = V_6; V_2 = ((int32_t)((int32_t)L_10/(int32_t)((int32_t)1461))); int32_t L_11 = V_6; int32_t L_12 = V_2; V_6 = ((int32_t)((int32_t)L_11-(int32_t)((int32_t)((int32_t)L_12*(int32_t)((int32_t)1461))))); int32_t L_13 = V_6; V_3 = ((int32_t)((int32_t)L_13/(int32_t)((int32_t)365))); int32_t L_14 = V_3; if ((!(((uint32_t)L_14) == ((uint32_t)4)))) { goto IL_0071; } } { V_3 = 3; } IL_0071: { int32_t L_15 = ___what0; if ((!(((uint32_t)L_15) == ((uint32_t)3)))) { goto IL_008d; } } { int32_t L_16 = V_0; int32_t L_17 = V_1; int32_t L_18 = V_2; int32_t L_19 = V_3; return ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_16*(int32_t)((int32_t)400)))+(int32_t)((int32_t)((int32_t)L_17*(int32_t)((int32_t)100)))))+(int32_t)((int32_t)((int32_t)L_18*(int32_t)4))))+(int32_t)L_19))+(int32_t)1)); } IL_008d: { int32_t L_20 = V_6; int32_t L_21 = V_3; V_6 = ((int32_t)((int32_t)L_20-(int32_t)((int32_t)((int32_t)L_21*(int32_t)((int32_t)365))))); int32_t L_22 = ___what0; if ((!(((uint32_t)L_22) == ((uint32_t)1)))) { goto IL_00a5; } } { int32_t L_23 = V_6; return ((int32_t)((int32_t)L_23+(int32_t)1)); } IL_00a5: { int32_t L_24 = V_3; if ((!(((uint32_t)L_24) == ((uint32_t)3)))) { goto IL_00c2; } } { int32_t L_25 = V_1; if ((((int32_t)L_25) == ((int32_t)3))) { goto IL_00bb; } } { int32_t L_26 = V_2; if ((((int32_t)L_26) == ((int32_t)((int32_t)24)))) { goto IL_00c2; } } IL_00bb: { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); Int32U5BU5D_t3030399641* L_27 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_daysmonthleap_12(); V_5 = L_27; } IL_00c2: { goto IL_00d6; } IL_00c7: { int32_t L_28 = V_6; Int32U5BU5D_t3030399641* L_29 = V_5; int32_t L_30 = V_4; int32_t L_31 = L_30; V_4 = ((int32_t)((int32_t)L_31+(int32_t)1)); int32_t L_32 = L_31; int32_t L_33 = (L_29)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_32)); V_6 = ((int32_t)((int32_t)L_28-(int32_t)L_33)); } IL_00d6: { int32_t L_34 = V_6; Int32U5BU5D_t3030399641* L_35 = V_5; int32_t L_36 = V_4; int32_t L_37 = L_36; int32_t L_38 = (L_35)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_37)); if ((((int32_t)L_34) >= ((int32_t)L_38))) { goto IL_00c7; } } { int32_t L_39 = ___what0; if ((!(((uint32_t)L_39) == ((uint32_t)2)))) { goto IL_00ec; } } { int32_t L_40 = V_4; return L_40; } IL_00ec: { int32_t L_41 = V_6; return ((int32_t)((int32_t)L_41+(int32_t)1)); } } extern "C" int32_t DateTime_FromTicks_m75527956_AdjustorThunk (Il2CppObject * __this, int32_t ___what0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_FromTicks_m75527956(_thisAdjusted, ___what0, method); } // System.Int32 System.DateTime::get_Month() extern "C" int32_t DateTime_get_Month_m1464831817 (DateTime_t693205669 * __this, const MethodInfo* method) { { int32_t L_0 = DateTime_FromTicks_m75527956(__this, 2, /*hidden argument*/NULL); return L_0; } } extern "C" int32_t DateTime_get_Month_m1464831817_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_get_Month_m1464831817(_thisAdjusted, method); } // System.Int32 System.DateTime::get_Day() extern "C" int32_t DateTime_get_Day_m2066530041 (DateTime_t693205669 * __this, const MethodInfo* method) { { int32_t L_0 = DateTime_FromTicks_m75527956(__this, 0, /*hidden argument*/NULL); return L_0; } } extern "C" int32_t DateTime_get_Day_m2066530041_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_get_Day_m2066530041(_thisAdjusted, method); } // System.DayOfWeek System.DateTime::get_DayOfWeek() extern "C" int32_t DateTime_get_DayOfWeek_m2345429939 (DateTime_t693205669 * __this, const MethodInfo* method) { { TimeSpan_t3430258949 * L_0 = __this->get_address_of_ticks_0(); int32_t L_1 = TimeSpan_get_Days_m1002111510(L_0, /*hidden argument*/NULL); return (int32_t)(((int32_t)((int32_t)((int32_t)((int32_t)L_1+(int32_t)1))%(int32_t)7))); } } extern "C" int32_t DateTime_get_DayOfWeek_m2345429939_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_get_DayOfWeek_m2345429939(_thisAdjusted, method); } // System.Int32 System.DateTime::get_Hour() extern "C" int32_t DateTime_get_Hour_m2925715777 (DateTime_t693205669 * __this, const MethodInfo* method) { { TimeSpan_t3430258949 * L_0 = __this->get_address_of_ticks_0(); int32_t L_1 = TimeSpan_get_Hours_m3804628138(L_0, /*hidden argument*/NULL); return L_1; } } extern "C" int32_t DateTime_get_Hour_m2925715777_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_get_Hour_m2925715777(_thisAdjusted, method); } // System.Int32 System.DateTime::get_Minute() extern "C" int32_t DateTime_get_Minute_m803043551 (DateTime_t693205669 * __this, const MethodInfo* method) { { TimeSpan_t3430258949 * L_0 = __this->get_address_of_ticks_0(); int32_t L_1 = TimeSpan_get_Minutes_m2575030536(L_0, /*hidden argument*/NULL); return L_1; } } extern "C" int32_t DateTime_get_Minute_m803043551_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_get_Minute_m803043551(_thisAdjusted, method); } // System.Int32 System.DateTime::get_Second() extern "C" int32_t DateTime_get_Second_m853575361 (DateTime_t693205669 * __this, const MethodInfo* method) { { TimeSpan_t3430258949 * L_0 = __this->get_address_of_ticks_0(); int32_t L_1 = TimeSpan_get_Seconds_m3108432552(L_0, /*hidden argument*/NULL); return L_1; } } extern "C" int32_t DateTime_get_Second_m853575361_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_get_Second_m853575361(_thisAdjusted, method); } // System.Int64 System.DateTime::GetTimeMonotonic() extern "C" int64_t DateTime_GetTimeMonotonic_m4135038456 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int64_t (*DateTime_GetTimeMonotonic_m4135038456_ftn) (); return ((DateTime_GetTimeMonotonic_m4135038456_ftn)mscorlib::System::DateTime::GetTimeMonotonic) (); } // System.Int64 System.DateTime::GetNow() extern "C" int64_t DateTime_GetNow_m1004310079 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int64_t (*DateTime_GetNow_m1004310079_ftn) (); return ((DateTime_GetNow_m1004310079_ftn)mscorlib::System::DateTime::GetNow) (); } // System.DateTime System.DateTime::get_Now() extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* TimeZone_t4008205267_il2cpp_TypeInfo_var; extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_get_Now_m24136300_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_get_Now_m24136300 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_get_Now_m24136300_MetadataUsageId); s_Il2CppMethodInitialized = true; } int64_t V_0 = 0; DateTime_t693205669 V_1; memset(&V_1, 0, sizeof(V_1)); DateTime_t693205669 V_2; memset(&V_2, 0, sizeof(V_2)); { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int64_t L_0 = DateTime_GetNow_m1004310079(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_0; int64_t L_1 = V_0; DateTime__ctor_m2586249130((&V_1), L_1, /*hidden argument*/NULL); int64_t L_2 = V_0; int64_t L_3 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_last_now_14(); if ((((int64_t)((int64_t)((int64_t)L_2-(int64_t)L_3))) <= ((int64_t)(((int64_t)((int64_t)((int32_t)600000000))))))) { goto IL_003b; } } { IL2CPP_RUNTIME_CLASS_INIT(TimeZone_t4008205267_il2cpp_TypeInfo_var); TimeZone_t4008205267 * L_4 = TimeZone_get_CurrentTimeZone_m3729014954(NULL /*static, unused*/, /*hidden argument*/NULL); DateTime_t693205669 L_5 = V_1; TimeSpan_t3430258949 L_6 = TimeZone_GetLocalTimeDiff_m20330162(L_4, L_5, /*hidden argument*/NULL); TimeSpan_t3430258949 L_7 = L_6; Il2CppObject * L_8 = Box(TimeSpan_t3430258949_il2cpp_TypeInfo_var, &L_7); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_to_local_time_span_object_13(L_8); int64_t L_9 = V_0; ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->set_last_now_14(L_9); } IL_003b: { DateTime_t693205669 L_10 = V_1; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); Il2CppObject * L_11 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_to_local_time_span_object_13(); DateTime_t693205669 L_12 = DateTime_op_Addition_m1268923147(NULL /*static, unused*/, L_10, ((*(TimeSpan_t3430258949 *)((TimeSpan_t3430258949 *)UnBox (L_11, TimeSpan_t3430258949_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL); V_2 = L_12; (&V_2)->set_kind_1(2); DateTime_t693205669 L_13 = V_2; return L_13; } } // System.Int64 System.DateTime::get_Ticks() extern "C" int64_t DateTime_get_Ticks_m310281298 (DateTime_t693205669 * __this, const MethodInfo* method) { { TimeSpan_t3430258949 * L_0 = __this->get_address_of_ticks_0(); int64_t L_1 = TimeSpan_get_Ticks_m2285358246(L_0, /*hidden argument*/NULL); return L_1; } } extern "C" int64_t DateTime_get_Ticks_m310281298_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_get_Ticks_m310281298(_thisAdjusted, method); } // System.DateTime System.DateTime::get_Today() extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTime_get_Today_m1321851425_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_get_Today_m1321851425 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_get_Today_m1321851425_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); DateTime_t693205669 V_1; memset(&V_1, 0, sizeof(V_1)); { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_0 = DateTime_get_Now_m24136300(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_0; int32_t L_1 = DateTime_get_Year_m1985210972((&V_0), /*hidden argument*/NULL); int32_t L_2 = DateTime_get_Month_m1464831817((&V_0), /*hidden argument*/NULL); int32_t L_3 = DateTime_get_Day_m2066530041((&V_0), /*hidden argument*/NULL); DateTime__ctor_m1112320635((&V_1), L_1, L_2, L_3, /*hidden argument*/NULL); int32_t L_4 = (&V_0)->get_kind_1(); (&V_1)->set_kind_1(L_4); DateTime_t693205669 L_5 = V_1; return L_5; } } // System.DateTime System.DateTime::get_UtcNow() extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTime_get_UtcNow_m1309841468_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_get_UtcNow_m1309841468 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_get_UtcNow_m1309841468_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int64_t L_0 = DateTime_GetNow_m1004310079(NULL /*static, unused*/, /*hidden argument*/NULL); DateTime_t693205669 L_1; memset(&L_1, 0, sizeof(L_1)); DateTime__ctor_m1100326092(&L_1, L_0, 1, /*hidden argument*/NULL); return L_1; } } // System.Int32 System.DateTime::get_Year() extern "C" int32_t DateTime_get_Year_m1985210972 (DateTime_t693205669 * __this, const MethodInfo* method) { { int32_t L_0 = DateTime_FromTicks_m75527956(__this, 3, /*hidden argument*/NULL); return L_0; } } extern "C" int32_t DateTime_get_Year_m1985210972_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_get_Year_m1985210972(_thisAdjusted, method); } // System.DateTimeKind System.DateTime::get_Kind() extern "C" int32_t DateTime_get_Kind_m1331920314 (DateTime_t693205669 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_kind_1(); return L_0; } } extern "C" int32_t DateTime_get_Kind_m1331920314_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_get_Kind_m1331920314(_thisAdjusted, method); } // System.DateTime System.DateTime::Add(System.TimeSpan) extern "C" DateTime_t693205669 DateTime_Add_m4237489122 (DateTime_t693205669 * __this, TimeSpan_t3430258949 ___value0, const MethodInfo* method) { DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); { int64_t L_0 = TimeSpan_get_Ticks_m2285358246((&___value0), /*hidden argument*/NULL); DateTime_t693205669 L_1 = DateTime_AddTicks_m3057746860(__this, L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = __this->get_kind_1(); (&V_0)->set_kind_1(L_2); DateTime_t693205669 L_3 = V_0; return L_3; } } extern "C" DateTime_t693205669 DateTime_Add_m4237489122_AdjustorThunk (Il2CppObject * __this, TimeSpan_t3430258949 ___value0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_Add_m4237489122(_thisAdjusted, ___value0, method); } // System.DateTime System.DateTime::AddTicks(System.Int64) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern const uint32_t DateTime_AddTicks_m3057746860_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_AddTicks_m3057746860 (DateTime_t693205669 * __this, int64_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_AddTicks_m3057746860_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); { int64_t L_0 = ___value0; TimeSpan_t3430258949 * L_1 = __this->get_address_of_ticks_0(); int64_t L_2 = TimeSpan_get_Ticks_m2285358246(L_1, /*hidden argument*/NULL); if ((((int64_t)((int64_t)((int64_t)L_0+(int64_t)L_2))) > ((int64_t)((int64_t)3155378975999999999LL)))) { goto IL_002f; } } { int64_t L_3 = ___value0; TimeSpan_t3430258949 * L_4 = __this->get_address_of_ticks_0(); int64_t L_5 = TimeSpan_get_Ticks_m2285358246(L_4, /*hidden argument*/NULL); if ((((int64_t)((int64_t)((int64_t)L_3+(int64_t)L_5))) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0035; } } IL_002f: { ArgumentOutOfRangeException_t279959794 * L_6 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_6, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_0035: { int64_t L_7 = ___value0; TimeSpan_t3430258949 * L_8 = __this->get_address_of_ticks_0(); int64_t L_9 = TimeSpan_get_Ticks_m2285358246(L_8, /*hidden argument*/NULL); DateTime__ctor_m2586249130((&V_0), ((int64_t)((int64_t)L_7+(int64_t)L_9)), /*hidden argument*/NULL); int32_t L_10 = __this->get_kind_1(); (&V_0)->set_kind_1(L_10); DateTime_t693205669 L_11 = V_0; return L_11; } } extern "C" DateTime_t693205669 DateTime_AddTicks_m3057746860_AdjustorThunk (Il2CppObject * __this, int64_t ___value0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_AddTicks_m3057746860(_thisAdjusted, ___value0, method); } // System.DateTime System.DateTime::AddMilliseconds(System.Double) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern const uint32_t DateTime_AddMilliseconds_m1813199744_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_AddMilliseconds_m1813199744 (DateTime_t693205669 * __this, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_AddMilliseconds_m1813199744_MetadataUsageId); s_Il2CppMethodInitialized = true; } int64_t V_0 = 0; { double L_0 = ___value0; if ((((double)((double)((double)L_0*(double)(10000.0)))) > ((double)(9.2233720368547758E+18)))) { goto IL_0032; } } { double L_1 = ___value0; if ((!(((double)((double)((double)L_1*(double)(10000.0)))) < ((double)(-9.2233720368547758E+18))))) { goto IL_0038; } } IL_0032: { ArgumentOutOfRangeException_t279959794 * L_2 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0038: { double L_3 = ___value0; double L_4 = bankers_round(((double)((double)L_3*(double)(10000.0)))); V_0 = (((int64_t)((int64_t)L_4))); int64_t L_5 = V_0; DateTime_t693205669 L_6 = DateTime_AddTicks_m3057746860(__this, L_5, /*hidden argument*/NULL); return L_6; } } extern "C" DateTime_t693205669 DateTime_AddMilliseconds_m1813199744_AdjustorThunk (Il2CppObject * __this, double ___value0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_AddMilliseconds_m1813199744(_thisAdjusted, ___value0, method); } // System.DateTime System.DateTime::AddSeconds(System.Double) extern "C" DateTime_t693205669 DateTime_AddSeconds_m722082155 (DateTime_t693205669 * __this, double ___value0, const MethodInfo* method) { { double L_0 = ___value0; DateTime_t693205669 L_1 = DateTime_AddMilliseconds_m1813199744(__this, ((double)((double)L_0*(double)(1000.0))), /*hidden argument*/NULL); return L_1; } } extern "C" DateTime_t693205669 DateTime_AddSeconds_m722082155_AdjustorThunk (Il2CppObject * __this, double ___value0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_AddSeconds_m722082155(_thisAdjusted, ___value0, method); } // System.Int32 System.DateTime::Compare(System.DateTime,System.DateTime) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_Compare_m1637090411_MetadataUsageId; extern "C" int32_t DateTime_Compare_m1637090411 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___t10, DateTime_t693205669 ___t21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_Compare_m1637090411_MetadataUsageId); s_Il2CppMethodInitialized = true; } { TimeSpan_t3430258949 L_0 = (&___t10)->get_ticks_0(); TimeSpan_t3430258949 L_1 = (&___t21)->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_2 = TimeSpan_op_LessThan_m3463318786(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_001a; } } { return (-1); } IL_001a: { TimeSpan_t3430258949 L_3 = (&___t10)->get_ticks_0(); TimeSpan_t3430258949 L_4 = (&___t21)->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_5 = TimeSpan_op_GreaterThan_m2202243191(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0034; } } { return 1; } IL_0034: { return 0; } } // System.Int32 System.DateTime::CompareTo(System.Object) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3710329943; extern const uint32_t DateTime_CompareTo_m3372173896_MetadataUsageId; extern "C" int32_t DateTime_CompareTo_m3372173896 (DateTime_t693205669 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_CompareTo_m3372173896_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 1; } IL_0008: { Il2CppObject * L_1 = ___value0; if (((Il2CppObject *)IsInstSealed(L_1, DateTime_t693205669_il2cpp_TypeInfo_var))) { goto IL_0023; } } { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3710329943, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppObject * L_4 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_5 = DateTime_Compare_m1637090411(NULL /*static, unused*/, (*(DateTime_t693205669 *)__this), ((*(DateTime_t693205669 *)((DateTime_t693205669 *)UnBox (L_4, DateTime_t693205669_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL); return L_5; } } extern "C" int32_t DateTime_CompareTo_m3372173896_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___value0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_CompareTo_m3372173896(_thisAdjusted, ___value0, method); } // System.Int32 System.DateTime::CompareTo(System.DateTime) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTime_CompareTo_m1511117942_MetadataUsageId; extern "C" int32_t DateTime_CompareTo_m1511117942 (DateTime_t693205669 * __this, DateTime_t693205669 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_CompareTo_m1511117942_MetadataUsageId); s_Il2CppMethodInitialized = true; } { DateTime_t693205669 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_1 = DateTime_Compare_m1637090411(NULL /*static, unused*/, (*(DateTime_t693205669 *)__this), L_0, /*hidden argument*/NULL); return L_1; } } extern "C" int32_t DateTime_CompareTo_m1511117942_AdjustorThunk (Il2CppObject * __this, DateTime_t693205669 ___value0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_CompareTo_m1511117942(_thisAdjusted, ___value0, method); } // System.Boolean System.DateTime::Equals(System.DateTime) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_Equals_m1104060551_MetadataUsageId; extern "C" bool DateTime_Equals_m1104060551 (DateTime_t693205669 * __this, DateTime_t693205669 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_Equals_m1104060551_MetadataUsageId); s_Il2CppMethodInitialized = true; } { TimeSpan_t3430258949 L_0 = (&___value0)->get_ticks_0(); TimeSpan_t3430258949 L_1 = __this->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_2 = TimeSpan_op_Equality_m3565136304(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } extern "C" bool DateTime_Equals_m1104060551_AdjustorThunk (Il2CppObject * __this, DateTime_t693205669 ___value0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_Equals_m1104060551(_thisAdjusted, ___value0, method); } // System.DateTime System.DateTime::FromBinary(System.Int64) extern "C" DateTime_t693205669 DateTime_FromBinary_m2672557910 (Il2CppObject * __this /* static, unused */, int64_t ___dateData0, const MethodInfo* method) { uint64_t V_0 = 0; DateTime_t693205669 V_1; memset(&V_1, 0, sizeof(V_1)); { int64_t L_0 = ___dateData0; V_0 = ((int64_t)((uint64_t)L_0>>((int32_t)62))); uint64_t L_1 = V_0; if ((((int64_t)L_1) == ((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)0))))))))) { goto IL_002c; } } { uint64_t L_2 = V_0; if ((((int64_t)L_2) == ((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)1))))))))) { goto IL_001a; } } { goto IL_0034; } IL_001a: { int64_t L_3 = ___dateData0; DateTime_t693205669 L_4; memset(&L_4, 0, sizeof(L_4)); DateTime__ctor_m1100326092(&L_4, ((int64_t)((int64_t)L_3^(int64_t)((int64_t)4611686018427387904LL))), 1, /*hidden argument*/NULL); return L_4; } IL_002c: { int64_t L_5 = ___dateData0; DateTime_t693205669 L_6; memset(&L_6, 0, sizeof(L_6)); DateTime__ctor_m1100326092(&L_6, L_5, 0, /*hidden argument*/NULL); return L_6; } IL_0034: { int64_t L_7 = ___dateData0; DateTime__ctor_m1100326092((&V_1), ((int64_t)((int64_t)L_7&(int64_t)((int64_t)4611686018427387903LL))), 1, /*hidden argument*/NULL); DateTime_t693205669 L_8 = DateTime_ToLocalTime_m1957689902((&V_1), /*hidden argument*/NULL); return L_8; } } // System.DateTime System.DateTime::SpecifyKind(System.DateTime,System.DateTimeKind) extern "C" DateTime_t693205669 DateTime_SpecifyKind_m1282445794 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___value0, int32_t ___kind1, const MethodInfo* method) { { int64_t L_0 = DateTime_get_Ticks_m310281298((&___value0), /*hidden argument*/NULL); int32_t L_1 = ___kind1; DateTime_t693205669 L_2; memset(&L_2, 0, sizeof(L_2)); DateTime__ctor_m1100326092(&L_2, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Int32 System.DateTime::DaysInMonth(System.Int32,System.Int32) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTime_DaysInMonth_m2275365236_MetadataUsageId; extern "C" int32_t DateTime_DaysInMonth_m2275365236 (Il2CppObject * __this /* static, unused */, int32_t ___year0, int32_t ___month1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_DaysInMonth_m2275365236_MetadataUsageId); s_Il2CppMethodInitialized = true; } Int32U5BU5D_t3030399641* V_0 = NULL; Int32U5BU5D_t3030399641* G_B9_0 = NULL; { int32_t L_0 = ___month1; if ((((int32_t)L_0) < ((int32_t)1))) { goto IL_000f; } } { int32_t L_1 = ___month1; if ((((int32_t)L_1) <= ((int32_t)((int32_t)12)))) { goto IL_0015; } } IL_000f: { ArgumentOutOfRangeException_t279959794 * L_2 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0015: { int32_t L_3 = ___year0; if ((((int32_t)L_3) < ((int32_t)1))) { goto IL_0027; } } { int32_t L_4 = ___year0; if ((((int32_t)L_4) <= ((int32_t)((int32_t)9999)))) { goto IL_002d; } } IL_0027: { ArgumentOutOfRangeException_t279959794 * L_5 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002d: { int32_t L_6 = ___year0; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_7 = DateTime_IsLeapYear_m2906714770(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_0042; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); Int32U5BU5D_t3030399641* L_8 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_daysmonthleap_12(); G_B9_0 = L_8; goto IL_0047; } IL_0042: { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); Int32U5BU5D_t3030399641* L_9 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_daysmonth_11(); G_B9_0 = L_9; } IL_0047: { V_0 = G_B9_0; Int32U5BU5D_t3030399641* L_10 = V_0; int32_t L_11 = ___month1; int32_t L_12 = L_11; int32_t L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12)); return L_13; } } // System.Boolean System.DateTime::Equals(System.Object) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_Equals_m2562884703_MetadataUsageId; extern "C" bool DateTime_Equals_m2562884703 (DateTime_t693205669 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_Equals_m2562884703_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); { Il2CppObject * L_0 = ___value0; if (((Il2CppObject *)IsInstSealed(L_0, DateTime_t693205669_il2cpp_TypeInfo_var))) { goto IL_000d; } } { return (bool)0; } IL_000d: { Il2CppObject * L_1 = ___value0; V_0 = ((*(DateTime_t693205669 *)((DateTime_t693205669 *)UnBox (L_1, DateTime_t693205669_il2cpp_TypeInfo_var)))); TimeSpan_t3430258949 L_2 = (&V_0)->get_ticks_0(); TimeSpan_t3430258949 L_3 = __this->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_4 = TimeSpan_op_Equality_m3565136304(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); return L_4; } } extern "C" bool DateTime_Equals_m2562884703_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___value0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_Equals_m2562884703(_thisAdjusted, ___value0, method); } // System.Void System.DateTime::CheckDateTimeKind(System.DateTimeKind) extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral953811873; extern Il2CppCodeGenString* _stringLiteral1891435176; extern const uint32_t DateTime_CheckDateTimeKind_m329345155_MetadataUsageId; extern "C" void DateTime_CheckDateTimeKind_m329345155 (DateTime_t693205669 * __this, int32_t ___kind0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_CheckDateTimeKind_m329345155_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___kind0; if (!L_0) { goto IL_0024; } } { int32_t L_1 = ___kind0; if ((((int32_t)L_1) == ((int32_t)1))) { goto IL_0024; } } { int32_t L_2 = ___kind0; if ((((int32_t)L_2) == ((int32_t)2))) { goto IL_0024; } } { ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_3, _stringLiteral953811873, _stringLiteral1891435176, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0024: { return; } } extern "C" void DateTime_CheckDateTimeKind_m329345155_AdjustorThunk (Il2CppObject * __this, int32_t ___kind0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); DateTime_CheckDateTimeKind_m329345155(_thisAdjusted, ___kind0, method); } // System.Int32 System.DateTime::GetHashCode() extern "C" int32_t DateTime_GetHashCode_m974799321 (DateTime_t693205669 * __this, const MethodInfo* method) { { TimeSpan_t3430258949 * L_0 = __this->get_address_of_ticks_0(); int64_t L_1 = TimeSpan_get_Ticks_m2285358246(L_0, /*hidden argument*/NULL); return (((int32_t)((int32_t)L_1))); } } extern "C" int32_t DateTime_GetHashCode_m974799321_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_GetHashCode_m974799321(_thisAdjusted, method); } // System.Boolean System.DateTime::IsLeapYear(System.Int32) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern const uint32_t DateTime_IsLeapYear_m2906714770_MetadataUsageId; extern "C" bool DateTime_IsLeapYear_m2906714770 (Il2CppObject * __this /* static, unused */, int32_t ___year0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_IsLeapYear_m2906714770_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t G_B7_0 = 0; { int32_t L_0 = ___year0; if ((((int32_t)L_0) < ((int32_t)1))) { goto IL_0012; } } { int32_t L_1 = ___year0; if ((((int32_t)L_1) <= ((int32_t)((int32_t)9999)))) { goto IL_0018; } } IL_0012: { ArgumentOutOfRangeException_t279959794 * L_2 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m15523695(L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { int32_t L_3 = ___year0; if (((int32_t)((int32_t)L_3%(int32_t)4))) { goto IL_0029; } } { int32_t L_4 = ___year0; if (((int32_t)((int32_t)L_4%(int32_t)((int32_t)100)))) { goto IL_0035; } } IL_0029: { int32_t L_5 = ___year0; G_B7_0 = ((((int32_t)((int32_t)((int32_t)L_5%(int32_t)((int32_t)400)))) == ((int32_t)0))? 1 : 0); goto IL_0036; } IL_0035: { G_B7_0 = 1; } IL_0036: { return (bool)G_B7_0; } } // System.DateTime System.DateTime::Parse(System.String,System.IFormatProvider) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTime_Parse_m894006266_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_Parse_m894006266 (Il2CppObject * __this /* static, unused */, String_t* ___s0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_Parse_m894006266_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___s0; Il2CppObject * L_1 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_2 = DateTime_Parse_m1628430317(NULL /*static, unused*/, L_0, L_1, 7, /*hidden argument*/NULL); return L_2; } } // System.DateTime System.DateTime::Parse(System.String,System.IFormatProvider,System.Globalization.DateTimeStyles) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029391; extern const uint32_t DateTime_Parse_m1628430317_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_Parse_m1628430317 (Il2CppObject * __this /* static, unused */, String_t* ___s0, Il2CppObject * ___provider1, int32_t ___styles2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_Parse_m1628430317_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); DateTimeOffset_t1362988906 V_1; memset(&V_1, 0, sizeof(V_1)); Exception_t1927440687 * V_2 = NULL; { String_t* L_0 = ___s0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral372029391, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { V_2 = (Exception_t1927440687 *)NULL; String_t* L_2 = ___s0; Il2CppObject * L_3 = ___provider1; int32_t L_4 = ___styles2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_5 = DateTime_CoreParse_m2014268103(NULL /*static, unused*/, L_2, L_3, L_4, (&V_0), (&V_1), (bool)1, (&V_2), /*hidden argument*/NULL); if (L_5) { goto IL_0029; } } { Exception_t1927440687 * L_6 = V_2; IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_0029: { DateTime_t693205669 L_7 = V_0; return L_7; } } // System.Boolean System.DateTime::CoreParse(System.String,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateTime&,System.DateTimeOffset&,System.Boolean,System.Exception&) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2345862063; extern Il2CppCodeGenString* _stringLiteral1035834159; extern const uint32_t DateTime_CoreParse_m2014268103_MetadataUsageId; extern "C" bool DateTime_CoreParse_m2014268103 (Il2CppObject * __this /* static, unused */, String_t* ___s0, Il2CppObject * ___provider1, int32_t ___styles2, DateTime_t693205669 * ___result3, DateTimeOffset_t1362988906 * ___dto4, bool ___setExceptionOnError5, Exception_t1927440687 ** ___exception6, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_CoreParse_m2014268103_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTimeFormatInfo_t2187473504 * V_0 = NULL; StringU5BU5D_t1642385972* V_1 = NULL; bool V_2 = false; int32_t V_3 = 0; String_t* V_4 = NULL; bool V_5 = false; int32_t V_6 = 0; int32_t V_7 = 0; int32_t V_8 = 0; bool V_9 = false; StringU5BU5D_t1642385972* V_10 = NULL; int32_t V_11 = 0; bool V_12 = false; int32_t V_13 = 0; String_t* V_14 = NULL; bool V_15 = false; int32_t V_16 = 0; int32_t V_17 = 0; String_t* V_18 = NULL; StringU5BU5D_t1642385972* G_B29_0 = NULL; { DateTimeOffset_t1362988906 * L_0 = ___dto4; IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_1 = ((TimeSpan_t3430258949_StaticFields*)TimeSpan_t3430258949_il2cpp_TypeInfo_var->static_fields)->get_Zero_2(); DateTimeOffset__ctor_m2110004919(L_0, (((int64_t)((int64_t)0))), L_1, /*hidden argument*/NULL); String_t* L_2 = ___s0; if (!L_2) { goto IL_001f; } } { String_t* L_3 = ___s0; int32_t L_4 = String_get_Length_m1606060069(L_3, /*hidden argument*/NULL); if (L_4) { goto IL_0040; } } IL_001f: { bool L_5 = ___setExceptionOnError5; if (!L_5) { goto IL_0033; } } { Exception_t1927440687 ** L_6 = ___exception6; FormatException_t2948921286 * L_7 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_7, _stringLiteral2345862063, /*hidden argument*/NULL); *((Il2CppObject **)(L_6)) = (Il2CppObject *)L_7; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_6), (Il2CppObject *)L_7); } IL_0033: { DateTime_t693205669 * L_8 = ___result3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_9 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); (*(DateTime_t693205669 *)L_8) = L_9; return (bool)0; } IL_0040: { Il2CppObject * L_10 = ___provider1; if (L_10) { goto IL_004d; } } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_11 = CultureInfo_get_CurrentCulture_m711066087(NULL /*static, unused*/, /*hidden argument*/NULL); ___provider1 = L_11; } IL_004d: { Il2CppObject * L_12 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var); DateTimeFormatInfo_t2187473504 * L_13 = DateTimeFormatInfo_GetInstance_m3133223810(NULL /*static, unused*/, L_12, /*hidden argument*/NULL); V_0 = L_13; DateTimeFormatInfo_t2187473504 * L_14 = V_0; bool L_15 = ___setExceptionOnError5; Exception_t1927440687 ** L_16 = ___exception6; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_17 = DateTime_YearMonthDayFormats_m4204607055(NULL /*static, unused*/, L_14, L_15, L_16, /*hidden argument*/NULL); V_1 = L_17; StringU5BU5D_t1642385972* L_18 = V_1; if (L_18) { goto IL_0072; } } { DateTime_t693205669 * L_19 = ___result3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_20 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); (*(DateTime_t693205669 *)L_19) = L_20; return (bool)0; } IL_0072: { V_2 = (bool)0; V_3 = 0; goto IL_00f0; } IL_007b: { StringU5BU5D_t1642385972* L_21 = V_1; int32_t L_22 = V_3; int32_t L_23 = L_22; String_t* L_24 = (L_21)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_23)); V_4 = L_24; V_5 = (bool)0; String_t* L_25 = ___s0; String_t* L_26 = V_4; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_27 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); DateTime_t693205669 * L_28 = ___result3; DateTimeOffset_t1362988906 * L_29 = ___dto4; DateTimeFormatInfo_t2187473504 * L_30 = V_0; int32_t L_31 = ___styles2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_32 = DateTime__DoParse_m2575003737(NULL /*static, unused*/, L_25, L_26, L_27, (bool)0, L_28, L_29, L_30, L_31, (bool)1, (&V_5), (&V_2), /*hidden argument*/NULL); if (!L_32) { goto IL_00a2; } } { return (bool)1; } IL_00a2: { bool L_33 = V_5; if (L_33) { goto IL_00ae; } } { goto IL_00ec; } IL_00ae: { V_6 = 0; goto IL_00de; } IL_00b6: { String_t* L_34 = ___s0; String_t* L_35 = V_4; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_36 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_ParseTimeFormats_4(); int32_t L_37 = V_6; int32_t L_38 = L_37; String_t* L_39 = (L_36)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_38)); DateTime_t693205669 * L_40 = ___result3; DateTimeOffset_t1362988906 * L_41 = ___dto4; DateTimeFormatInfo_t2187473504 * L_42 = V_0; int32_t L_43 = ___styles2; bool L_44 = DateTime__DoParse_m2575003737(NULL /*static, unused*/, L_34, L_35, L_39, (bool)0, L_40, L_41, L_42, L_43, (bool)1, (&V_5), (&V_2), /*hidden argument*/NULL); if (!L_44) { goto IL_00d8; } } { return (bool)1; } IL_00d8: { int32_t L_45 = V_6; V_6 = ((int32_t)((int32_t)L_45+(int32_t)1)); } IL_00de: { int32_t L_46 = V_6; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_47 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_ParseTimeFormats_4(); if ((((int32_t)L_46) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_47)->max_length))))))) { goto IL_00b6; } } IL_00ec: { int32_t L_48 = V_3; V_3 = ((int32_t)((int32_t)L_48+(int32_t)1)); } IL_00f0: { int32_t L_49 = V_3; StringU5BU5D_t1642385972* L_50 = V_1; if ((((int32_t)L_49) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_50)->max_length))))))) { goto IL_007b; } } { DateTimeFormatInfo_t2187473504 * L_51 = V_0; String_t* L_52 = DateTimeFormatInfo_get_MonthDayPattern_m3957878440(L_51, /*hidden argument*/NULL); int32_t L_53 = String_IndexOf_m2358239236(L_52, ((int32_t)100), /*hidden argument*/NULL); V_7 = L_53; DateTimeFormatInfo_t2187473504 * L_54 = V_0; String_t* L_55 = DateTimeFormatInfo_get_MonthDayPattern_m3957878440(L_54, /*hidden argument*/NULL); int32_t L_56 = String_IndexOf_m2358239236(L_55, ((int32_t)77), /*hidden argument*/NULL); V_8 = L_56; int32_t L_57 = V_7; if ((((int32_t)L_57) == ((int32_t)(-1)))) { goto IL_0127; } } { int32_t L_58 = V_8; if ((!(((uint32_t)L_58) == ((uint32_t)(-1))))) { goto IL_015c; } } IL_0127: { DateTime_t693205669 * L_59 = ___result3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_60 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); (*(DateTime_t693205669 *)L_59) = L_60; bool L_61 = ___setExceptionOnError5; if (!L_61) { goto IL_015a; } } { Exception_t1927440687 ** L_62 = ___exception6; ObjectU5BU5D_t3614634134* L_63 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1)); DateTimeFormatInfo_t2187473504 * L_64 = V_0; String_t* L_65 = DateTimeFormatInfo_get_MonthDayPattern_m3957878440(L_64, /*hidden argument*/NULL); ArrayElementTypeCheck (L_63, L_65); (L_63)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_65); String_t* L_66 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral1035834159, L_63, /*hidden argument*/NULL); FormatException_t2948921286 * L_67 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_67, L_66, /*hidden argument*/NULL); *((Il2CppObject **)(L_62)) = (Il2CppObject *)L_67; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_62), (Il2CppObject *)L_67); } IL_015a: { return (bool)0; } IL_015c: { int32_t L_68 = V_7; int32_t L_69 = V_8; V_9 = (bool)((((int32_t)L_68) < ((int32_t)L_69))? 1 : 0); bool L_70 = V_9; if (!L_70) { goto IL_0175; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_71 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_DayMonthShortFormats_10(); G_B29_0 = L_71; goto IL_017a; } IL_0175: { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_72 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MonthDayShortFormats_9(); G_B29_0 = L_72; } IL_017a: { V_10 = G_B29_0; V_11 = 0; goto IL_01af; } IL_0184: { V_12 = (bool)0; String_t* L_73 = ___s0; StringU5BU5D_t1642385972* L_74 = V_10; int32_t L_75 = V_11; int32_t L_76 = L_75; String_t* L_77 = (L_74)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_76)); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_78 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); DateTime_t693205669 * L_79 = ___result3; DateTimeOffset_t1362988906 * L_80 = ___dto4; DateTimeFormatInfo_t2187473504 * L_81 = V_0; int32_t L_82 = ___styles2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_83 = DateTime__DoParse_m2575003737(NULL /*static, unused*/, L_73, L_77, L_78, (bool)0, L_79, L_80, L_81, L_82, (bool)1, (&V_12), (&V_2), /*hidden argument*/NULL); if (!L_83) { goto IL_01a9; } } { return (bool)1; } IL_01a9: { int32_t L_84 = V_11; V_11 = ((int32_t)((int32_t)L_84+(int32_t)1)); } IL_01af: { int32_t L_85 = V_11; StringU5BU5D_t1642385972* L_86 = V_10; if ((((int32_t)L_85) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_86)->max_length))))))) { goto IL_0184; } } { V_13 = 0; goto IL_028e; } IL_01c2: { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_87 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_ParseTimeFormats_4(); int32_t L_88 = V_13; int32_t L_89 = L_88; String_t* L_90 = (L_87)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_89)); V_14 = L_90; V_15 = (bool)0; String_t* L_91 = ___s0; String_t* L_92 = V_14; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_93 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); DateTime_t693205669 * L_94 = ___result3; DateTimeOffset_t1362988906 * L_95 = ___dto4; DateTimeFormatInfo_t2187473504 * L_96 = V_0; int32_t L_97 = ___styles2; bool L_98 = DateTime__DoParse_m2575003737(NULL /*static, unused*/, L_91, L_92, L_93, (bool)0, L_94, L_95, L_96, L_97, (bool)0, (&V_15), (&V_2), /*hidden argument*/NULL); if (!L_98) { goto IL_01ee; } } { return (bool)1; } IL_01ee: { bool L_99 = V_15; if (L_99) { goto IL_01fa; } } { goto IL_0288; } IL_01fa: { V_16 = 0; goto IL_0227; } IL_0202: { String_t* L_100 = ___s0; String_t* L_101 = V_14; StringU5BU5D_t1642385972* L_102 = V_10; int32_t L_103 = V_16; int32_t L_104 = L_103; String_t* L_105 = (L_102)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_104)); DateTime_t693205669 * L_106 = ___result3; DateTimeOffset_t1362988906 * L_107 = ___dto4; DateTimeFormatInfo_t2187473504 * L_108 = V_0; int32_t L_109 = ___styles2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_110 = DateTime__DoParse_m2575003737(NULL /*static, unused*/, L_100, L_101, L_105, (bool)0, L_106, L_107, L_108, L_109, (bool)0, (&V_15), (&V_2), /*hidden argument*/NULL); if (!L_110) { goto IL_0221; } } { return (bool)1; } IL_0221: { int32_t L_111 = V_16; V_16 = ((int32_t)((int32_t)L_111+(int32_t)1)); } IL_0227: { int32_t L_112 = V_16; StringU5BU5D_t1642385972* L_113 = V_10; if ((((int32_t)L_112) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_113)->max_length))))))) { goto IL_0202; } } { V_17 = 0; goto IL_027e; } IL_023a: { StringU5BU5D_t1642385972* L_114 = V_1; int32_t L_115 = V_17; int32_t L_116 = L_115; String_t* L_117 = (L_114)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_116)); V_18 = L_117; String_t* L_118 = V_18; String_t* L_119 = V_18; int32_t L_120 = String_get_Length_m1606060069(L_119, /*hidden argument*/NULL); Il2CppChar L_121 = String_get_Chars_m4230566705(L_118, ((int32_t)((int32_t)L_120-(int32_t)1)), /*hidden argument*/NULL); if ((!(((uint32_t)L_121) == ((uint32_t)((int32_t)84))))) { goto IL_025c; } } { goto IL_0278; } IL_025c: { String_t* L_122 = ___s0; String_t* L_123 = V_14; String_t* L_124 = V_18; DateTime_t693205669 * L_125 = ___result3; DateTimeOffset_t1362988906 * L_126 = ___dto4; DateTimeFormatInfo_t2187473504 * L_127 = V_0; int32_t L_128 = ___styles2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_129 = DateTime__DoParse_m2575003737(NULL /*static, unused*/, L_122, L_123, L_124, (bool)0, L_125, L_126, L_127, L_128, (bool)0, (&V_15), (&V_2), /*hidden argument*/NULL); if (!L_129) { goto IL_0278; } } { return (bool)1; } IL_0278: { int32_t L_130 = V_17; V_17 = ((int32_t)((int32_t)L_130+(int32_t)1)); } IL_027e: { int32_t L_131 = V_17; StringU5BU5D_t1642385972* L_132 = V_1; if ((((int32_t)L_131) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_132)->max_length))))))) { goto IL_023a; } } IL_0288: { int32_t L_133 = V_13; V_13 = ((int32_t)((int32_t)L_133+(int32_t)1)); } IL_028e: { int32_t L_134 = V_13; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_135 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_ParseTimeFormats_4(); if ((((int32_t)L_134) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_135)->max_length))))))) { goto IL_01c2; } } { String_t* L_136 = ___s0; DateTimeFormatInfo_t2187473504 * L_137 = V_0; StringU5BU5D_t1642385972* L_138 = DateTimeFormatInfo_GetAllDateTimePatternsInternal_m1587126173(L_137, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_139 = V_0; int32_t L_140 = ___styles2; DateTime_t693205669 * L_141 = ___result3; bool L_142 = ___setExceptionOnError5; Exception_t1927440687 ** L_143 = ___exception6; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_144 = DateTime_ParseExact_m3381652132(NULL /*static, unused*/, L_136, L_138, L_139, L_140, L_141, (bool)0, (&V_2), L_142, L_143, /*hidden argument*/NULL); if (!L_144) { goto IL_02b9; } } { return (bool)1; } IL_02b9: { bool L_145 = ___setExceptionOnError5; if (L_145) { goto IL_02c2; } } { return (bool)0; } IL_02c2: { Exception_t1927440687 ** L_146 = ___exception6; FormatException_t2948921286 * L_147 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_147, _stringLiteral2345862063, /*hidden argument*/NULL); *((Il2CppObject **)(L_146)) = (Il2CppObject *)L_147; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_146), (Il2CppObject *)L_147); return (bool)0; } } // System.String[] System.DateTime::YearMonthDayFormats(System.Globalization.DateTimeFormatInfo,System.Boolean,System.Exception&) extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4231358502; extern Il2CppCodeGenString* _stringLiteral833548388; extern Il2CppCodeGenString* _stringLiteral3011633620; extern const uint32_t DateTime_YearMonthDayFormats_m4204607055_MetadataUsageId; extern "C" StringU5BU5D_t1642385972* DateTime_YearMonthDayFormats_m4204607055 (Il2CppObject * __this /* static, unused */, DateTimeFormatInfo_t2187473504 * ___dfi0, bool ___setExceptionOnError1, Exception_t1927440687 ** ___exc2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_YearMonthDayFormats_m4204607055_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; { DateTimeFormatInfo_t2187473504 * L_0 = ___dfi0; String_t* L_1 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_0, /*hidden argument*/NULL); int32_t L_2 = String_IndexOf_m2358239236(L_1, ((int32_t)100), /*hidden argument*/NULL); V_0 = L_2; DateTimeFormatInfo_t2187473504 * L_3 = ___dfi0; String_t* L_4 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_3, /*hidden argument*/NULL); int32_t L_5 = String_IndexOf_m2358239236(L_4, ((int32_t)77), /*hidden argument*/NULL); V_1 = L_5; DateTimeFormatInfo_t2187473504 * L_6 = ___dfi0; String_t* L_7 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_6, /*hidden argument*/NULL); int32_t L_8 = String_IndexOf_m2358239236(L_7, ((int32_t)121), /*hidden argument*/NULL); V_2 = L_8; int32_t L_9 = V_0; if ((((int32_t)L_9) == ((int32_t)(-1)))) { goto IL_003f; } } { int32_t L_10 = V_1; if ((((int32_t)L_10) == ((int32_t)(-1)))) { goto IL_003f; } } { int32_t L_11 = V_2; if ((!(((uint32_t)L_11) == ((uint32_t)(-1))))) { goto IL_0067; } } IL_003f: { bool L_12 = ___setExceptionOnError1; if (!L_12) { goto IL_0065; } } { Exception_t1927440687 ** L_13 = ___exc2; ObjectU5BU5D_t3614634134* L_14 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1)); DateTimeFormatInfo_t2187473504 * L_15 = ___dfi0; String_t* L_16 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_15, /*hidden argument*/NULL); ArrayElementTypeCheck (L_14, L_16); (L_14)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_16); String_t* L_17 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral4231358502, L_14, /*hidden argument*/NULL); FormatException_t2948921286 * L_18 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_18, L_17, /*hidden argument*/NULL); *((Il2CppObject **)(L_13)) = (Il2CppObject *)L_18; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_13), (Il2CppObject *)L_18); } IL_0065: { return (StringU5BU5D_t1642385972*)NULL; } IL_0067: { int32_t L_19 = V_2; int32_t L_20 = V_1; if ((((int32_t)L_19) >= ((int32_t)L_20))) { goto IL_00b0; } } { int32_t L_21 = V_1; int32_t L_22 = V_0; if ((((int32_t)L_21) >= ((int32_t)L_22))) { goto IL_007b; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_23 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_ParseYearMonthDayFormats_6(); return L_23; } IL_007b: { int32_t L_24 = V_2; int32_t L_25 = V_0; if ((((int32_t)L_24) >= ((int32_t)L_25))) { goto IL_0088; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_26 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_ParseYearDayMonthFormats_5(); return L_26; } IL_0088: { bool L_27 = ___setExceptionOnError1; if (!L_27) { goto IL_00ae; } } { Exception_t1927440687 ** L_28 = ___exc2; ObjectU5BU5D_t3614634134* L_29 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1)); DateTimeFormatInfo_t2187473504 * L_30 = ___dfi0; String_t* L_31 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_30, /*hidden argument*/NULL); ArrayElementTypeCheck (L_29, L_31); (L_29)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_31); String_t* L_32 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral833548388, L_29, /*hidden argument*/NULL); FormatException_t2948921286 * L_33 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_33, L_32, /*hidden argument*/NULL); *((Il2CppObject **)(L_28)) = (Il2CppObject *)L_33; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_28), (Il2CppObject *)L_33); } IL_00ae: { return (StringU5BU5D_t1642385972*)NULL; } IL_00b0: { int32_t L_34 = V_0; int32_t L_35 = V_1; if ((((int32_t)L_34) >= ((int32_t)L_35))) { goto IL_00bd; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_36 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_ParseDayMonthYearFormats_7(); return L_36; } IL_00bd: { int32_t L_37 = V_0; int32_t L_38 = V_2; if ((((int32_t)L_37) >= ((int32_t)L_38))) { goto IL_00ca; } } { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); StringU5BU5D_t1642385972* L_39 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_ParseMonthDayYearFormats_8(); return L_39; } IL_00ca: { bool L_40 = ___setExceptionOnError1; if (!L_40) { goto IL_00f0; } } { Exception_t1927440687 ** L_41 = ___exc2; ObjectU5BU5D_t3614634134* L_42 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1)); DateTimeFormatInfo_t2187473504 * L_43 = ___dfi0; String_t* L_44 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_43, /*hidden argument*/NULL); ArrayElementTypeCheck (L_42, L_44); (L_42)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_44); String_t* L_45 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral3011633620, L_42, /*hidden argument*/NULL); FormatException_t2948921286 * L_46 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_46, L_45, /*hidden argument*/NULL); *((Il2CppObject **)(L_41)) = (Il2CppObject *)L_46; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_41), (Il2CppObject *)L_46); } IL_00f0: { return (StringU5BU5D_t1642385972*)NULL; } } // System.Int32 System.DateTime::_ParseNumber(System.String,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Int32&) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t DateTime__ParseNumber_m2544572129_MetadataUsageId; extern "C" int32_t DateTime__ParseNumber_m2544572129 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___valuePos1, int32_t ___min_digits2, int32_t ___digits3, bool ___leadingzero4, bool ___sloppy_parsing5, int32_t* ___num_parsed6, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__ParseNumber_m2544572129_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; Il2CppChar V_3 = 0x0; { V_0 = 0; bool L_0 = ___sloppy_parsing5; if (!L_0) { goto IL_000c; } } { ___leadingzero4 = (bool)0; } IL_000c: { bool L_1 = ___leadingzero4; if (L_1) { goto IL_0052; } } { V_2 = 0; int32_t L_2 = ___valuePos1; V_1 = L_2; goto IL_003a; } IL_001c: { String_t* L_3 = ___s0; int32_t L_4 = V_1; Il2CppChar L_5 = String_get_Chars_m4230566705(L_3, L_4, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_6 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); if (L_6) { goto IL_0032; } } { goto IL_004f; } IL_0032: { int32_t L_7 = V_2; V_2 = ((int32_t)((int32_t)L_7+(int32_t)1)); int32_t L_8 = V_1; V_1 = ((int32_t)((int32_t)L_8+(int32_t)1)); } IL_003a: { int32_t L_9 = V_1; String_t* L_10 = ___s0; int32_t L_11 = String_get_Length_m1606060069(L_10, /*hidden argument*/NULL); if ((((int32_t)L_9) >= ((int32_t)L_11))) { goto IL_004f; } } { int32_t L_12 = V_1; int32_t L_13 = ___digits3; int32_t L_14 = ___valuePos1; if ((((int32_t)L_12) < ((int32_t)((int32_t)((int32_t)L_13+(int32_t)L_14))))) { goto IL_001c; } } IL_004f: { int32_t L_15 = V_2; ___digits3 = L_15; } IL_0052: { int32_t L_16 = ___digits3; int32_t L_17 = ___min_digits2; if ((((int32_t)L_16) >= ((int32_t)L_17))) { goto IL_005f; } } { int32_t* L_18 = ___num_parsed6; *((int32_t*)(L_18)) = (int32_t)(-1); return 0; } IL_005f: { String_t* L_19 = ___s0; int32_t L_20 = String_get_Length_m1606060069(L_19, /*hidden argument*/NULL); int32_t L_21 = ___valuePos1; int32_t L_22 = ___digits3; if ((((int32_t)((int32_t)((int32_t)L_20-(int32_t)L_21))) >= ((int32_t)L_22))) { goto IL_0073; } } { int32_t* L_23 = ___num_parsed6; *((int32_t*)(L_23)) = (int32_t)(-1); return 0; } IL_0073: { int32_t L_24 = ___valuePos1; V_1 = L_24; goto IL_00a2; } IL_007a: { String_t* L_25 = ___s0; int32_t L_26 = V_1; Il2CppChar L_27 = String_get_Chars_m4230566705(L_25, L_26, /*hidden argument*/NULL); V_3 = L_27; Il2CppChar L_28 = V_3; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_29 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_28, /*hidden argument*/NULL); if (L_29) { goto IL_0093; } } { int32_t* L_30 = ___num_parsed6; *((int32_t*)(L_30)) = (int32_t)(-1); return 0; } IL_0093: { int32_t L_31 = V_0; Il2CppChar L_32 = V_3; V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_31*(int32_t)((int32_t)10)))+(int32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_32-(int32_t)((int32_t)48)))))))); int32_t L_33 = V_1; V_1 = ((int32_t)((int32_t)L_33+(int32_t)1)); } IL_00a2: { int32_t L_34 = V_1; int32_t L_35 = ___digits3; int32_t L_36 = ___valuePos1; if ((((int32_t)L_34) < ((int32_t)((int32_t)((int32_t)L_35+(int32_t)L_36))))) { goto IL_007a; } } { int32_t* L_37 = ___num_parsed6; int32_t L_38 = ___digits3; *((int32_t*)(L_37)) = (int32_t)L_38; int32_t L_39 = V_0; return L_39; } } // System.Int32 System.DateTime::_ParseEnum(System.String,System.Int32,System.String[],System.String[],System.Boolean,System.Int32&) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTime__ParseEnum_m1687953250_MetadataUsageId; extern "C" int32_t DateTime__ParseEnum_m1687953250 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___sPos1, StringU5BU5D_t1642385972* ___values2, StringU5BU5D_t1642385972* ___invValues3, bool ___exact4, int32_t* ___num_parsed5, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__ParseEnum_m1687953250_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { StringU5BU5D_t1642385972* L_0 = ___values2; V_0 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))))-(int32_t)1)); goto IL_00bf; } IL_000b: { bool L_1 = ___exact4; if (L_1) { goto IL_0070; } } { StringU5BU5D_t1642385972* L_2 = ___invValues3; int32_t L_3 = V_0; int32_t L_4 = L_3; String_t* L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4)); int32_t L_6 = String_get_Length_m1606060069(L_5, /*hidden argument*/NULL); StringU5BU5D_t1642385972* L_7 = ___values2; int32_t L_8 = V_0; int32_t L_9 = L_8; String_t* L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9)); int32_t L_11 = String_get_Length_m1606060069(L_10, /*hidden argument*/NULL); if ((((int32_t)L_6) <= ((int32_t)L_11))) { goto IL_0070; } } { StringU5BU5D_t1642385972* L_12 = ___invValues3; int32_t L_13 = V_0; int32_t L_14 = L_13; String_t* L_15 = (L_12)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14)); int32_t L_16 = String_get_Length_m1606060069(L_15, /*hidden argument*/NULL); if ((((int32_t)L_16) <= ((int32_t)0))) { goto IL_0049; } } { String_t* L_17 = ___s0; int32_t L_18 = ___sPos1; StringU5BU5D_t1642385972* L_19 = ___invValues3; int32_t L_20 = V_0; int32_t L_21 = L_20; String_t* L_22 = (L_19)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_21)); int32_t* L_23 = ___num_parsed5; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_24 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_17, L_18, 0, L_22, L_23, /*hidden argument*/NULL); if (!L_24) { goto IL_0049; } } { int32_t L_25 = V_0; return L_25; } IL_0049: { StringU5BU5D_t1642385972* L_26 = ___values2; int32_t L_27 = V_0; int32_t L_28 = L_27; String_t* L_29 = (L_26)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_28)); int32_t L_30 = String_get_Length_m1606060069(L_29, /*hidden argument*/NULL); if ((((int32_t)L_30) <= ((int32_t)0))) { goto IL_006b; } } { String_t* L_31 = ___s0; int32_t L_32 = ___sPos1; StringU5BU5D_t1642385972* L_33 = ___values2; int32_t L_34 = V_0; int32_t L_35 = L_34; String_t* L_36 = (L_33)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_35)); int32_t* L_37 = ___num_parsed5; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_38 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_31, L_32, 0, L_36, L_37, /*hidden argument*/NULL); if (!L_38) { goto IL_006b; } } { int32_t L_39 = V_0; return L_39; } IL_006b: { goto IL_00bb; } IL_0070: { StringU5BU5D_t1642385972* L_40 = ___values2; int32_t L_41 = V_0; int32_t L_42 = L_41; String_t* L_43 = (L_40)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_42)); int32_t L_44 = String_get_Length_m1606060069(L_43, /*hidden argument*/NULL); if ((((int32_t)L_44) <= ((int32_t)0))) { goto IL_0092; } } { String_t* L_45 = ___s0; int32_t L_46 = ___sPos1; StringU5BU5D_t1642385972* L_47 = ___values2; int32_t L_48 = V_0; int32_t L_49 = L_48; String_t* L_50 = (L_47)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_49)); int32_t* L_51 = ___num_parsed5; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_52 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_45, L_46, 0, L_50, L_51, /*hidden argument*/NULL); if (!L_52) { goto IL_0092; } } { int32_t L_53 = V_0; return L_53; } IL_0092: { bool L_54 = ___exact4; if (L_54) { goto IL_00bb; } } { StringU5BU5D_t1642385972* L_55 = ___invValues3; int32_t L_56 = V_0; int32_t L_57 = L_56; String_t* L_58 = (L_55)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_57)); int32_t L_59 = String_get_Length_m1606060069(L_58, /*hidden argument*/NULL); if ((((int32_t)L_59) <= ((int32_t)0))) { goto IL_00bb; } } { String_t* L_60 = ___s0; int32_t L_61 = ___sPos1; StringU5BU5D_t1642385972* L_62 = ___invValues3; int32_t L_63 = V_0; int32_t L_64 = L_63; String_t* L_65 = (L_62)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_64)); int32_t* L_66 = ___num_parsed5; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_67 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_60, L_61, 0, L_65, L_66, /*hidden argument*/NULL); if (!L_67) { goto IL_00bb; } } { int32_t L_68 = V_0; return L_68; } IL_00bb: { int32_t L_69 = V_0; V_0 = ((int32_t)((int32_t)L_69-(int32_t)1)); } IL_00bf: { int32_t L_70 = V_0; if ((((int32_t)L_70) >= ((int32_t)0))) { goto IL_000b; } } { int32_t* L_71 = ___num_parsed5; *((int32_t*)(L_71)) = (int32_t)(-1); return (-1); } } // System.Boolean System.DateTime::_ParseString(System.String,System.Int32,System.Int32,System.String,System.Int32&) extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t DateTime__ParseString_m2623687350_MetadataUsageId; extern "C" bool DateTime__ParseString_m2623687350 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___sPos1, int32_t ___maxlength2, String_t* ___value3, int32_t* ___num_parsed4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__ParseString_m2623687350_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___maxlength2; if ((((int32_t)L_0) > ((int32_t)0))) { goto IL_000f; } } { String_t* L_1 = ___value3; int32_t L_2 = String_get_Length_m1606060069(L_1, /*hidden argument*/NULL); ___maxlength2 = L_2; } IL_000f: { int32_t L_3 = ___sPos1; int32_t L_4 = ___maxlength2; String_t* L_5 = ___s0; int32_t L_6 = String_get_Length_m1606060069(L_5, /*hidden argument*/NULL); if ((((int32_t)((int32_t)((int32_t)L_3+(int32_t)L_4))) > ((int32_t)L_6))) { goto IL_0038; } } { String_t* L_7 = ___s0; int32_t L_8 = ___sPos1; String_t* L_9 = ___value3; int32_t L_10 = ___maxlength2; IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_11 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); int32_t L_12 = String_Compare_m560208559(NULL /*static, unused*/, L_7, L_8, L_9, 0, L_10, (bool)1, L_11, /*hidden argument*/NULL); if (L_12) { goto IL_0038; } } { int32_t* L_13 = ___num_parsed4; int32_t L_14 = ___maxlength2; *((int32_t*)(L_13)) = (int32_t)L_14; return (bool)1; } IL_0038: { int32_t* L_15 = ___num_parsed4; *((int32_t*)(L_15)) = (int32_t)(-1); return (bool)0; } } // System.Boolean System.DateTime::_ParseAmPm(System.String,System.Int32,System.Int32,System.Globalization.DateTimeFormatInfo,System.Boolean,System.Int32&,System.Int32&) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern const uint32_t DateTime__ParseAmPm_m1540123584_MetadataUsageId; extern "C" bool DateTime__ParseAmPm_m1540123584 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___valuePos1, int32_t ___num2, DateTimeFormatInfo_t2187473504 * ___dfi3, bool ___exact4, int32_t* ___num_parsed5, int32_t* ___ampm6, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__ParseAmPm_m1540123584_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTimeFormatInfo_t2187473504 * V_0 = NULL; { int32_t* L_0 = ___num_parsed5; *((int32_t*)(L_0)) = (int32_t)(-1); int32_t* L_1 = ___ampm6; if ((((int32_t)(*((int32_t*)L_1))) == ((int32_t)(-1)))) { goto IL_000f; } } { return (bool)0; } IL_000f: { String_t* L_2 = ___s0; int32_t L_3 = ___valuePos1; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_4 = DateTime_IsLetter_m2265381909(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); if (L_4) { goto IL_0043; } } { DateTimeFormatInfo_t2187473504 * L_5 = ___dfi3; String_t* L_6 = DateTimeFormatInfo_get_AMDesignator_m3841245276(L_5, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_7 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_8 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); if (!L_8) { goto IL_0032; } } { return (bool)0; } IL_0032: { bool L_9 = ___exact4; if (!L_9) { goto IL_003d; } } { int32_t* L_10 = ___ampm6; *((int32_t*)(L_10)) = (int32_t)0; } IL_003d: { int32_t* L_11 = ___num_parsed5; *((int32_t*)(L_11)) = (int32_t)0; return (bool)1; } IL_0043: { IL2CPP_RUNTIME_CLASS_INIT(DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var); DateTimeFormatInfo_t2187473504 * L_12 = DateTimeFormatInfo_get_InvariantInfo_m1865598692(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_12; bool L_13 = ___exact4; if (L_13) { goto IL_0065; } } { String_t* L_14 = ___s0; int32_t L_15 = ___valuePos1; int32_t L_16 = ___num2; DateTimeFormatInfo_t2187473504 * L_17 = V_0; String_t* L_18 = DateTimeFormatInfo_get_PMDesignator_m2537514795(L_17, /*hidden argument*/NULL); int32_t* L_19 = ___num_parsed5; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_20 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_14, L_15, L_16, L_18, L_19, /*hidden argument*/NULL); if (L_20) { goto IL_008f; } } IL_0065: { DateTimeFormatInfo_t2187473504 * L_21 = ___dfi3; String_t* L_22 = DateTimeFormatInfo_get_PMDesignator_m2537514795(L_21, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_23 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_24 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_22, L_23, /*hidden argument*/NULL); if (!L_24) { goto IL_0098; } } { String_t* L_25 = ___s0; int32_t L_26 = ___valuePos1; int32_t L_27 = ___num2; DateTimeFormatInfo_t2187473504 * L_28 = ___dfi3; String_t* L_29 = DateTimeFormatInfo_get_PMDesignator_m2537514795(L_28, /*hidden argument*/NULL); int32_t* L_30 = ___num_parsed5; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_31 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_25, L_26, L_27, L_29, L_30, /*hidden argument*/NULL); if (!L_31) { goto IL_0098; } } IL_008f: { int32_t* L_32 = ___ampm6; *((int32_t*)(L_32)) = (int32_t)1; goto IL_00e3; } IL_0098: { bool L_33 = ___exact4; if (L_33) { goto IL_00b4; } } { String_t* L_34 = ___s0; int32_t L_35 = ___valuePos1; int32_t L_36 = ___num2; DateTimeFormatInfo_t2187473504 * L_37 = V_0; String_t* L_38 = DateTimeFormatInfo_get_AMDesignator_m3841245276(L_37, /*hidden argument*/NULL); int32_t* L_39 = ___num_parsed5; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_40 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_34, L_35, L_36, L_38, L_39, /*hidden argument*/NULL); if (L_40) { goto IL_00c9; } } IL_00b4: { String_t* L_41 = ___s0; int32_t L_42 = ___valuePos1; int32_t L_43 = ___num2; DateTimeFormatInfo_t2187473504 * L_44 = ___dfi3; String_t* L_45 = DateTimeFormatInfo_get_AMDesignator_m3841245276(L_44, /*hidden argument*/NULL); int32_t* L_46 = ___num_parsed5; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_47 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_41, L_42, L_43, L_45, L_46, /*hidden argument*/NULL); if (!L_47) { goto IL_00e1; } } IL_00c9: { bool L_48 = ___exact4; if (L_48) { goto IL_00d8; } } { int32_t* L_49 = ___num_parsed5; if (!(*((int32_t*)L_49))) { goto IL_00dc; } } IL_00d8: { int32_t* L_50 = ___ampm6; *((int32_t*)(L_50)) = (int32_t)0; } IL_00dc: { goto IL_00e3; } IL_00e1: { return (bool)0; } IL_00e3: { return (bool)1; } } // System.Boolean System.DateTime::_ParseTimeSeparator(System.String,System.Int32,System.Globalization.DateTimeFormatInfo,System.Boolean,System.Int32&) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029336; extern const uint32_t DateTime__ParseTimeSeparator_m1796113879_MetadataUsageId; extern "C" bool DateTime__ParseTimeSeparator_m1796113879 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___sPos1, DateTimeFormatInfo_t2187473504 * ___dfi2, bool ___exact3, int32_t* ___num_parsed4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__ParseTimeSeparator_m1796113879_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t G_B4_0 = 0; int32_t G_B6_0 = 0; { String_t* L_0 = ___s0; int32_t L_1 = ___sPos1; DateTimeFormatInfo_t2187473504 * L_2 = ___dfi2; String_t* L_3 = DateTimeFormatInfo_get_TimeSeparator_m2465837654(L_2, /*hidden argument*/NULL); int32_t* L_4 = ___num_parsed4; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_5 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_0, L_1, 0, L_3, L_4, /*hidden argument*/NULL); if (L_5) { goto IL_002f; } } { bool L_6 = ___exact3; if (L_6) { goto IL_002c; } } { String_t* L_7 = ___s0; int32_t L_8 = ___sPos1; int32_t* L_9 = ___num_parsed4; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_10 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_7, L_8, 0, _stringLiteral372029336, L_9, /*hidden argument*/NULL); G_B4_0 = ((int32_t)(L_10)); goto IL_002d; } IL_002c: { G_B4_0 = 0; } IL_002d: { G_B6_0 = G_B4_0; goto IL_0030; } IL_002f: { G_B6_0 = 1; } IL_0030: { return (bool)G_B6_0; } } // System.Boolean System.DateTime::_ParseDateSeparator(System.String,System.Int32,System.Globalization.DateTimeFormatInfo,System.Boolean,System.Int32&) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t DateTime__ParseDateSeparator_m3057421308_MetadataUsageId; extern "C" bool DateTime__ParseDateSeparator_m3057421308 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___sPos1, DateTimeFormatInfo_t2187473504 * ___dfi2, bool ___exact3, int32_t* ___num_parsed4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__ParseDateSeparator_m3057421308_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t* L_0 = ___num_parsed4; *((int32_t*)(L_0)) = (int32_t)(-1); bool L_1 = ___exact3; if (!L_1) { goto IL_001a; } } { String_t* L_2 = ___s0; int32_t L_3 = ___sPos1; Il2CppChar L_4 = String_get_Chars_m4230566705(L_2, L_3, /*hidden argument*/NULL); if ((((int32_t)L_4) == ((int32_t)((int32_t)47)))) { goto IL_001a; } } { return (bool)0; } IL_001a: { String_t* L_5 = ___s0; int32_t L_6 = ___sPos1; DateTimeFormatInfo_t2187473504 * L_7 = ___dfi2; bool L_8 = ___exact3; int32_t* L_9 = ___num_parsed4; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_10 = DateTime__ParseTimeSeparator_m1796113879(NULL /*static, unused*/, L_5, L_6, L_7, L_8, L_9, /*hidden argument*/NULL); if (L_10) { goto IL_004c; } } { String_t* L_11 = ___s0; int32_t L_12 = ___sPos1; Il2CppChar L_13 = String_get_Chars_m4230566705(L_11, L_12, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_14 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_13, /*hidden argument*/NULL); if (L_14) { goto IL_004c; } } { String_t* L_15 = ___s0; int32_t L_16 = ___sPos1; Il2CppChar L_17 = String_get_Chars_m4230566705(L_15, L_16, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_18 = Char_IsLetter_m562021054(NULL /*static, unused*/, L_17, /*hidden argument*/NULL); if (!L_18) { goto IL_004e; } } IL_004c: { return (bool)0; } IL_004e: { int32_t* L_19 = ___num_parsed4; *((int32_t*)(L_19)) = (int32_t)1; return (bool)1; } } // System.Boolean System.DateTime::IsLetter(System.String,System.Int32) extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern const uint32_t DateTime_IsLetter_m2265381909_MetadataUsageId; extern "C" bool DateTime_IsLetter_m2265381909 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___pos1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_IsLetter_m2265381909_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t G_B3_0 = 0; { int32_t L_0 = ___pos1; String_t* L_1 = ___s0; int32_t L_2 = String_get_Length_m1606060069(L_1, /*hidden argument*/NULL); if ((((int32_t)L_0) >= ((int32_t)L_2))) { goto IL_001a; } } { String_t* L_3 = ___s0; int32_t L_4 = ___pos1; Il2CppChar L_5 = String_get_Chars_m4230566705(L_3, L_4, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_6 = Char_IsLetter_m562021054(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); G_B3_0 = ((int32_t)(L_6)); goto IL_001b; } IL_001a: { G_B3_0 = 0; } IL_001b: { return (bool)G_B3_0; } } // System.Boolean System.DateTime::_DoParse(System.String,System.String,System.String,System.Boolean,System.DateTime&,System.DateTimeOffset&,System.Globalization.DateTimeFormatInfo,System.Globalization.DateTimeStyles,System.Boolean,System.Boolean&,System.Boolean&) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1240477438; extern const uint32_t DateTime__DoParse_m2575003737_MetadataUsageId; extern "C" bool DateTime__DoParse_m2575003737 (Il2CppObject * __this /* static, unused */, String_t* ___s0, String_t* ___firstPart1, String_t* ___secondPart2, bool ___exact3, DateTime_t693205669 * ___result4, DateTimeOffset_t1362988906 * ___dto5, DateTimeFormatInfo_t2187473504 * ___dfi6, int32_t ___style7, bool ___firstPartIsDate8, bool* ___incompleteFormat9, bool* ___longYear10, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime__DoParse_m2575003737_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; bool V_1 = false; bool V_2 = false; bool V_3 = false; int32_t V_4 = 0; String_t* V_5 = NULL; bool V_6 = false; DateTimeFormatInfo_t2187473504 * V_7 = NULL; String_t* V_8 = NULL; int32_t V_9 = 0; int32_t V_10 = 0; int32_t V_11 = 0; int32_t V_12 = 0; int32_t V_13 = 0; int32_t V_14 = 0; int32_t V_15 = 0; int32_t V_16 = 0; int32_t V_17 = 0; int32_t V_18 = 0; double V_19 = 0.0; int32_t V_20 = 0; int32_t V_21 = 0; int32_t V_22 = 0; int32_t V_23 = 0; bool V_24 = false; int32_t V_25 = 0; bool V_26 = false; bool V_27 = false; int32_t V_28 = 0; int32_t V_29 = 0; int32_t V_30 = 0; double V_31 = 0.0; bool V_32 = false; int64_t V_33 = 0; bool V_34 = false; Il2CppChar V_35 = 0x0; DateTime_t693205669 V_36; memset(&V_36, 0, sizeof(V_36)); DateTime_t693205669 V_37; memset(&V_37, 0, sizeof(V_37)); DateTime_t693205669 V_38; memset(&V_38, 0, sizeof(V_38)); DateTime_t693205669 V_39; memset(&V_39, 0, sizeof(V_39)); TimeSpan_t3430258949 V_40; memset(&V_40, 0, sizeof(V_40)); Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); int32_t G_B3_0 = 0; int32_t G_B56_0 = 0; int32_t G_B173_0 = 0; String_t* G_B173_1 = NULL; int32_t G_B172_0 = 0; String_t* G_B172_1 = NULL; int32_t G_B174_0 = 0; int32_t G_B174_1 = 0; String_t* G_B174_2 = NULL; int32_t G_B183_0 = 0; int32_t G_B182_0 = 0; int32_t G_B184_0 = 0; int32_t G_B184_1 = 0; int32_t G_B231_0 = 0; String_t* G_B231_1 = NULL; int32_t G_B230_0 = 0; String_t* G_B230_1 = NULL; int32_t G_B232_0 = 0; int32_t G_B232_1 = 0; String_t* G_B232_2 = NULL; int32_t G_B413_0 = 0; { V_0 = (bool)0; V_1 = (bool)0; V_2 = (bool)0; DateTimeOffset_t1362988906 * L_0 = ___dto5; IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_1 = ((TimeSpan_t3430258949_StaticFields*)TimeSpan_t3430258949_il2cpp_TypeInfo_var->static_fields)->get_Zero_2(); DateTimeOffset__ctor_m2110004919(L_0, (((int64_t)((int64_t)0))), L_1, /*hidden argument*/NULL); bool L_2 = ___exact3; if (L_2) { goto IL_0023; } } { String_t* L_3 = ___secondPart2; G_B3_0 = ((((int32_t)((((Il2CppObject*)(String_t*)L_3) == ((Il2CppObject*)(Il2CppObject *)NULL))? 1 : 0)) == ((int32_t)0))? 1 : 0); goto IL_0024; } IL_0023: { G_B3_0 = 0; } IL_0024: { V_3 = (bool)G_B3_0; bool* L_4 = ___incompleteFormat9; *((int8_t*)(L_4)) = (int8_t)0; V_4 = 0; String_t* L_5 = ___firstPart1; V_5 = L_5; V_6 = (bool)0; IL2CPP_RUNTIME_CLASS_INIT(DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var); DateTimeFormatInfo_t2187473504 * L_6 = DateTimeFormatInfo_get_InvariantInfo_m1865598692(NULL /*static, unused*/, /*hidden argument*/NULL); V_7 = L_6; String_t* L_7 = V_5; int32_t L_8 = String_get_Length_m1606060069(L_7, /*hidden argument*/NULL); if ((!(((uint32_t)L_8) == ((uint32_t)1)))) { goto IL_005b; } } { String_t* L_9 = V_5; Il2CppChar L_10 = String_get_Chars_m4230566705(L_9, 0, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_11 = ___dfi6; String_t* L_12 = DateTimeUtils_GetStandardPattern_m32972750(NULL /*static, unused*/, L_10, L_11, (&V_0), (&V_1), /*hidden argument*/NULL); V_5 = L_12; } IL_005b: { DateTime_t693205669 * L_13 = ___result4; DateTime__ctor_m2586249130(L_13, (((int64_t)((int64_t)0))), /*hidden argument*/NULL); String_t* L_14 = V_5; if (L_14) { goto IL_006d; } } { return (bool)0; } IL_006d: { String_t* L_15 = ___s0; if (L_15) { goto IL_0075; } } { return (bool)0; } IL_0075: { int32_t L_16 = ___style7; if (!((int32_t)((int32_t)L_16&(int32_t)1))) { goto IL_0091; } } { String_t* L_17 = V_5; String_t* L_18 = String_TrimStart_m710830036(L_17, (CharU5BU5D_t1328083999*)(CharU5BU5D_t1328083999*)NULL, /*hidden argument*/NULL); V_5 = L_18; String_t* L_19 = ___s0; String_t* L_20 = String_TrimStart_m710830036(L_19, (CharU5BU5D_t1328083999*)(CharU5BU5D_t1328083999*)NULL, /*hidden argument*/NULL); ___s0 = L_20; } IL_0091: { int32_t L_21 = ___style7; if (!((int32_t)((int32_t)L_21&(int32_t)2))) { goto IL_00ad; } } { String_t* L_22 = V_5; String_t* L_23 = String_TrimEnd_m3153143011(L_22, (CharU5BU5D_t1328083999*)(CharU5BU5D_t1328083999*)NULL, /*hidden argument*/NULL); V_5 = L_23; String_t* L_24 = ___s0; String_t* L_25 = String_TrimEnd_m3153143011(L_24, (CharU5BU5D_t1328083999*)(CharU5BU5D_t1328083999*)NULL, /*hidden argument*/NULL); ___s0 = L_25; } IL_00ad: { bool L_26 = V_1; if (!L_26) { goto IL_00b7; } } { DateTimeFormatInfo_t2187473504 * L_27 = V_7; ___dfi6 = L_27; } IL_00b7: { int32_t L_28 = ___style7; if (!((int32_t)((int32_t)L_28&(int32_t)4))) { goto IL_00c2; } } { V_2 = (bool)1; } IL_00c2: { String_t* L_29 = V_5; V_8 = L_29; String_t* L_30 = V_5; int32_t L_31 = String_get_Length_m1606060069(L_30, /*hidden argument*/NULL); V_9 = L_31; V_10 = 0; V_11 = 0; int32_t L_32 = V_9; if (L_32) { goto IL_00de; } } { return (bool)0; } IL_00de: { V_12 = (-1); V_13 = (-1); V_14 = (-1); V_15 = (-1); V_16 = (-1); V_17 = (-1); V_18 = (-1); V_19 = (-1.0); V_20 = (-1); V_21 = (-1); V_22 = (-1); V_23 = (-1); V_24 = (bool)1; goto IL_0ea4; } IL_0112: { int32_t L_33 = V_4; String_t* L_34 = ___s0; int32_t L_35 = String_get_Length_m1606060069(L_34, /*hidden argument*/NULL); if ((!(((uint32_t)L_33) == ((uint32_t)L_35)))) { goto IL_0124; } } { goto IL_0ea9; } IL_0124: { V_25 = 0; bool L_36 = V_3; if (!L_36) { goto IL_0288; } } { int32_t L_37 = V_10; int32_t L_38 = V_11; if (((int32_t)((int32_t)L_37+(int32_t)L_38))) { goto IL_0288; } } { String_t* L_39 = ___s0; int32_t L_40 = V_4; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_41 = DateTime_IsLetter_m2265381909(NULL /*static, unused*/, L_39, L_40, /*hidden argument*/NULL); V_26 = L_41; bool L_42 = V_26; if (!L_42) { goto IL_0196; } } { String_t* L_43 = ___s0; int32_t L_44 = V_4; Il2CppChar L_45 = String_get_Chars_m4230566705(L_43, L_44, /*hidden argument*/NULL); if ((!(((uint32_t)L_45) == ((uint32_t)((int32_t)90))))) { goto IL_015f; } } { V_25 = 1; goto IL_0170; } IL_015f: { String_t* L_46 = ___s0; int32_t L_47 = V_4; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_46, L_47, 0, _stringLiteral1240477438, (&V_25), /*hidden argument*/NULL); } IL_0170: { int32_t L_48 = V_25; if ((((int32_t)L_48) <= ((int32_t)0))) { goto IL_0196; } } { String_t* L_49 = ___s0; int32_t L_50 = V_4; int32_t L_51 = V_25; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_52 = DateTime_IsLetter_m2265381909(NULL /*static, unused*/, L_49, ((int32_t)((int32_t)L_50+(int32_t)L_51)), /*hidden argument*/NULL); if (L_52) { goto IL_0196; } } { int32_t L_53 = V_4; int32_t L_54 = V_25; V_4 = ((int32_t)((int32_t)L_53+(int32_t)L_54)); V_0 = (bool)1; goto IL_0ea4; } IL_0196: { bool L_55 = V_6; if (L_55) { goto IL_01de; } } { String_t* L_56 = ___s0; int32_t L_57 = V_4; DateTimeFormatInfo_t2187473504 * L_58 = ___dfi6; bool L_59 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_60 = DateTime__ParseAmPm_m1540123584(NULL /*static, unused*/, L_56, L_57, 0, L_58, L_59, (&V_25), (&V_20), /*hidden argument*/NULL); if (!L_60) { goto IL_01de; } } { String_t* L_61 = ___s0; int32_t L_62 = V_4; int32_t L_63 = V_25; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_64 = DateTime_IsLetter_m2265381909(NULL /*static, unused*/, L_61, ((int32_t)((int32_t)L_62+(int32_t)L_63)), /*hidden argument*/NULL); if (!L_64) { goto IL_01ca; } } { V_20 = (-1); goto IL_01de; } IL_01ca: { int32_t L_65 = V_25; if ((((int32_t)L_65) <= ((int32_t)0))) { goto IL_01de; } } { int32_t L_66 = V_4; int32_t L_67 = V_25; V_4 = ((int32_t)((int32_t)L_66+(int32_t)L_67)); goto IL_0ea4; } IL_01de: { bool L_68 = V_6; if (L_68) { goto IL_0259; } } { int32_t L_69 = V_13; if ((!(((uint32_t)L_69) == ((uint32_t)(-1))))) { goto IL_0259; } } { bool L_70 = V_26; if (!L_70) { goto IL_0259; } } { String_t* L_71 = ___s0; int32_t L_72 = V_4; DateTimeFormatInfo_t2187473504 * L_73 = ___dfi6; StringU5BU5D_t1642385972* L_74 = DateTimeFormatInfo_get_RawDayNames_m3789097850(L_73, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_75 = V_7; StringU5BU5D_t1642385972* L_76 = DateTimeFormatInfo_get_RawDayNames_m3789097850(L_75, /*hidden argument*/NULL); bool L_77 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_78 = DateTime__ParseEnum_m1687953250(NULL /*static, unused*/, L_71, L_72, L_74, L_76, L_77, (&V_25), /*hidden argument*/NULL); V_13 = L_78; int32_t L_79 = V_13; if ((!(((uint32_t)L_79) == ((uint32_t)(-1))))) { goto IL_0232; } } { String_t* L_80 = ___s0; int32_t L_81 = V_4; DateTimeFormatInfo_t2187473504 * L_82 = ___dfi6; StringU5BU5D_t1642385972* L_83 = DateTimeFormatInfo_get_RawAbbreviatedDayNames_m3998113647(L_82, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_84 = V_7; StringU5BU5D_t1642385972* L_85 = DateTimeFormatInfo_get_RawAbbreviatedDayNames_m3998113647(L_84, /*hidden argument*/NULL); bool L_86 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_87 = DateTime__ParseEnum_m1687953250(NULL /*static, unused*/, L_80, L_81, L_83, L_85, L_86, (&V_25), /*hidden argument*/NULL); V_13 = L_87; } IL_0232: { int32_t L_88 = V_13; if ((((int32_t)L_88) == ((int32_t)(-1)))) { goto IL_0256; } } { String_t* L_89 = ___s0; int32_t L_90 = V_4; int32_t L_91 = V_25; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_92 = DateTime_IsLetter_m2265381909(NULL /*static, unused*/, L_89, ((int32_t)((int32_t)L_90+(int32_t)L_91)), /*hidden argument*/NULL); if (L_92) { goto IL_0256; } } { int32_t L_93 = V_4; int32_t L_94 = V_25; V_4 = ((int32_t)((int32_t)L_93+(int32_t)L_94)); goto IL_0ea4; } IL_0256: { V_13 = (-1); } IL_0259: { String_t* L_95 = ___s0; int32_t L_96 = V_4; Il2CppChar L_97 = String_get_Chars_m4230566705(L_95, L_96, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_98 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_97, /*hidden argument*/NULL); if (L_98) { goto IL_027a; } } { String_t* L_99 = ___s0; int32_t L_100 = V_4; Il2CppChar L_101 = String_get_Chars_m4230566705(L_99, L_100, /*hidden argument*/NULL); if ((!(((uint32_t)L_101) == ((uint32_t)((int32_t)44))))) { goto IL_0285; } } IL_027a: { int32_t L_102 = V_4; V_4 = ((int32_t)((int32_t)L_102+(int32_t)1)); goto IL_0ea4; } IL_0285: { V_25 = 0; } IL_0288: { int32_t L_103 = V_10; int32_t L_104 = V_11; int32_t L_105 = V_9; if ((((int32_t)((int32_t)((int32_t)L_103+(int32_t)L_104))) < ((int32_t)L_105))) { goto IL_030f; } } { bool L_106 = V_3; if (!L_106) { goto IL_030a; } } { int32_t L_107 = V_11; if (L_107) { goto IL_030a; } } { bool L_108 = V_24; if (!L_108) { goto IL_02bc; } } { String_t* L_109 = ___firstPart1; String_t* L_110 = ___firstPart1; int32_t L_111 = String_get_Length_m1606060069(L_110, /*hidden argument*/NULL); Il2CppChar L_112 = String_get_Chars_m4230566705(L_109, ((int32_t)((int32_t)L_111-(int32_t)1)), /*hidden argument*/NULL); G_B56_0 = ((((int32_t)L_112) == ((int32_t)((int32_t)84)))? 1 : 0); goto IL_02bd; } IL_02bc: { G_B56_0 = 0; } IL_02bd: { V_6 = (bool)G_B56_0; bool L_113 = V_24; if (L_113) { goto IL_02dc; } } { String_t* L_114 = V_5; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_115 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_116 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_114, L_115, /*hidden argument*/NULL); if (!L_116) { goto IL_02dc; } } { goto IL_0ea9; } IL_02dc: { V_10 = 0; bool L_117 = V_24; if (!L_117) { goto IL_02ee; } } { String_t* L_118 = ___secondPart2; V_5 = L_118; goto IL_02f5; } IL_02ee: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_119 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); V_5 = L_119; } IL_02f5: { String_t* L_120 = V_5; V_8 = L_120; String_t* L_121 = V_8; int32_t L_122 = String_get_Length_m1606060069(L_121, /*hidden argument*/NULL); V_9 = L_122; V_24 = (bool)0; goto IL_0ea4; } IL_030a: { goto IL_0ea9; } IL_030f: { V_27 = (bool)1; String_t* L_123 = V_8; int32_t L_124 = V_10; Il2CppChar L_125 = String_get_Chars_m4230566705(L_123, L_124, /*hidden argument*/NULL); if ((!(((uint32_t)L_125) == ((uint32_t)((int32_t)39))))) { goto IL_0393; } } { V_11 = 1; goto IL_0376; } IL_032a: { String_t* L_126 = V_8; int32_t L_127 = V_10; int32_t L_128 = V_11; Il2CppChar L_129 = String_get_Chars_m4230566705(L_126, ((int32_t)((int32_t)L_127+(int32_t)L_128)), /*hidden argument*/NULL); if ((!(((uint32_t)L_129) == ((uint32_t)((int32_t)39))))) { goto IL_0342; } } { goto IL_0382; } IL_0342: { int32_t L_130 = V_4; String_t* L_131 = ___s0; int32_t L_132 = String_get_Length_m1606060069(L_131, /*hidden argument*/NULL); if ((((int32_t)L_130) == ((int32_t)L_132))) { goto IL_0368; } } { String_t* L_133 = ___s0; int32_t L_134 = V_4; Il2CppChar L_135 = String_get_Chars_m4230566705(L_133, L_134, /*hidden argument*/NULL); String_t* L_136 = V_8; int32_t L_137 = V_10; int32_t L_138 = V_11; Il2CppChar L_139 = String_get_Chars_m4230566705(L_136, ((int32_t)((int32_t)L_137+(int32_t)L_138)), /*hidden argument*/NULL); if ((((int32_t)L_135) == ((int32_t)L_139))) { goto IL_036a; } } IL_0368: { return (bool)0; } IL_036a: { int32_t L_140 = V_4; V_4 = ((int32_t)((int32_t)L_140+(int32_t)1)); int32_t L_141 = V_11; V_11 = ((int32_t)((int32_t)L_141+(int32_t)1)); } IL_0376: { int32_t L_142 = V_10; int32_t L_143 = V_11; int32_t L_144 = V_9; if ((((int32_t)((int32_t)((int32_t)L_142+(int32_t)L_143))) < ((int32_t)L_144))) { goto IL_032a; } } IL_0382: { int32_t L_145 = V_10; int32_t L_146 = V_11; V_10 = ((int32_t)((int32_t)L_145+(int32_t)((int32_t)((int32_t)L_146+(int32_t)1)))); V_11 = 0; goto IL_0ea4; } IL_0393: { String_t* L_147 = V_8; int32_t L_148 = V_10; Il2CppChar L_149 = String_get_Chars_m4230566705(L_147, L_148, /*hidden argument*/NULL); if ((!(((uint32_t)L_149) == ((uint32_t)((int32_t)34))))) { goto IL_0414; } } { V_11 = 1; goto IL_03f7; } IL_03ab: { String_t* L_150 = V_8; int32_t L_151 = V_10; int32_t L_152 = V_11; Il2CppChar L_153 = String_get_Chars_m4230566705(L_150, ((int32_t)((int32_t)L_151+(int32_t)L_152)), /*hidden argument*/NULL); if ((!(((uint32_t)L_153) == ((uint32_t)((int32_t)34))))) { goto IL_03c3; } } { goto IL_0403; } IL_03c3: { int32_t L_154 = V_4; String_t* L_155 = ___s0; int32_t L_156 = String_get_Length_m1606060069(L_155, /*hidden argument*/NULL); if ((((int32_t)L_154) == ((int32_t)L_156))) { goto IL_03e9; } } { String_t* L_157 = ___s0; int32_t L_158 = V_4; Il2CppChar L_159 = String_get_Chars_m4230566705(L_157, L_158, /*hidden argument*/NULL); String_t* L_160 = V_8; int32_t L_161 = V_10; int32_t L_162 = V_11; Il2CppChar L_163 = String_get_Chars_m4230566705(L_160, ((int32_t)((int32_t)L_161+(int32_t)L_162)), /*hidden argument*/NULL); if ((((int32_t)L_159) == ((int32_t)L_163))) { goto IL_03eb; } } IL_03e9: { return (bool)0; } IL_03eb: { int32_t L_164 = V_4; V_4 = ((int32_t)((int32_t)L_164+(int32_t)1)); int32_t L_165 = V_11; V_11 = ((int32_t)((int32_t)L_165+(int32_t)1)); } IL_03f7: { int32_t L_166 = V_10; int32_t L_167 = V_11; int32_t L_168 = V_9; if ((((int32_t)((int32_t)((int32_t)L_166+(int32_t)L_167))) < ((int32_t)L_168))) { goto IL_03ab; } } IL_0403: { int32_t L_169 = V_10; int32_t L_170 = V_11; V_10 = ((int32_t)((int32_t)L_169+(int32_t)((int32_t)((int32_t)L_170+(int32_t)1)))); V_11 = 0; goto IL_0ea4; } IL_0414: { String_t* L_171 = V_8; int32_t L_172 = V_10; Il2CppChar L_173 = String_get_Chars_m4230566705(L_171, L_172, /*hidden argument*/NULL); if ((!(((uint32_t)L_173) == ((uint32_t)((int32_t)92))))) { goto IL_0464; } } { int32_t L_174 = V_10; int32_t L_175 = V_11; V_10 = ((int32_t)((int32_t)L_174+(int32_t)((int32_t)((int32_t)L_175+(int32_t)1)))); V_11 = 0; int32_t L_176 = V_10; int32_t L_177 = V_9; if ((((int32_t)L_176) < ((int32_t)L_177))) { goto IL_043b; } } { return (bool)0; } IL_043b: { String_t* L_178 = ___s0; int32_t L_179 = V_4; Il2CppChar L_180 = String_get_Chars_m4230566705(L_178, L_179, /*hidden argument*/NULL); String_t* L_181 = V_8; int32_t L_182 = V_10; Il2CppChar L_183 = String_get_Chars_m4230566705(L_181, L_182, /*hidden argument*/NULL); if ((((int32_t)L_180) == ((int32_t)L_183))) { goto IL_0453; } } { return (bool)0; } IL_0453: { int32_t L_184 = V_4; V_4 = ((int32_t)((int32_t)L_184+(int32_t)1)); int32_t L_185 = V_10; V_10 = ((int32_t)((int32_t)L_185+(int32_t)1)); goto IL_0ea4; } IL_0464: { String_t* L_186 = V_8; int32_t L_187 = V_10; Il2CppChar L_188 = String_get_Chars_m4230566705(L_186, L_187, /*hidden argument*/NULL); if ((!(((uint32_t)L_188) == ((uint32_t)((int32_t)37))))) { goto IL_047f; } } { int32_t L_189 = V_10; V_10 = ((int32_t)((int32_t)L_189+(int32_t)1)); goto IL_0ea4; } IL_047f: { String_t* L_190 = ___s0; int32_t L_191 = V_4; Il2CppChar L_192 = String_get_Chars_m4230566705(L_190, L_191, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_193 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_192, /*hidden argument*/NULL); if (L_193) { goto IL_04c9; } } { String_t* L_194 = ___s0; int32_t L_195 = V_4; Il2CppChar L_196 = String_get_Chars_m4230566705(L_194, L_195, /*hidden argument*/NULL); if ((!(((uint32_t)L_196) == ((uint32_t)((int32_t)44))))) { goto IL_05db; } } { bool L_197 = ___exact3; if (L_197) { goto IL_04b6; } } { String_t* L_198 = V_8; int32_t L_199 = V_10; Il2CppChar L_200 = String_get_Chars_m4230566705(L_198, L_199, /*hidden argument*/NULL); if ((((int32_t)L_200) == ((int32_t)((int32_t)47)))) { goto IL_04c9; } } IL_04b6: { String_t* L_201 = V_8; int32_t L_202 = V_10; Il2CppChar L_203 = String_get_Chars_m4230566705(L_201, L_202, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_204 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_203, /*hidden argument*/NULL); if (!L_204) { goto IL_05db; } } IL_04c9: { int32_t L_205 = V_4; V_4 = ((int32_t)((int32_t)L_205+(int32_t)1)); V_11 = 0; bool L_206 = ___exact3; if (!L_206) { goto IL_0501; } } { int32_t L_207 = ___style7; if (((int32_t)((int32_t)L_207&(int32_t)4))) { goto IL_0501; } } { String_t* L_208 = V_8; int32_t L_209 = V_10; Il2CppChar L_210 = String_get_Chars_m4230566705(L_208, L_209, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_211 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_210, /*hidden argument*/NULL); if (L_211) { goto IL_04f6; } } { return (bool)0; } IL_04f6: { int32_t L_212 = V_10; V_10 = ((int32_t)((int32_t)L_212+(int32_t)1)); goto IL_0ea4; } IL_0501: { int32_t L_213 = V_4; V_28 = L_213; goto IL_053b; } IL_050a: { String_t* L_214 = ___s0; int32_t L_215 = V_28; Il2CppChar L_216 = String_get_Chars_m4230566705(L_214, L_215, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_217 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_216, /*hidden argument*/NULL); if (L_217) { goto IL_052b; } } { String_t* L_218 = ___s0; int32_t L_219 = V_28; Il2CppChar L_220 = String_get_Chars_m4230566705(L_218, L_219, /*hidden argument*/NULL); if ((!(((uint32_t)L_220) == ((uint32_t)((int32_t)44))))) { goto IL_0536; } } IL_052b: { int32_t L_221 = V_28; V_28 = ((int32_t)((int32_t)L_221+(int32_t)1)); goto IL_053b; } IL_0536: { goto IL_0548; } IL_053b: { int32_t L_222 = V_28; String_t* L_223 = ___s0; int32_t L_224 = String_get_Length_m1606060069(L_223, /*hidden argument*/NULL); if ((((int32_t)L_222) < ((int32_t)L_224))) { goto IL_050a; } } IL_0548: { int32_t L_225 = V_28; V_4 = L_225; int32_t L_226 = V_10; V_28 = L_226; goto IL_0588; } IL_0555: { String_t* L_227 = V_8; int32_t L_228 = V_28; Il2CppChar L_229 = String_get_Chars_m4230566705(L_227, L_228, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_230 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_229, /*hidden argument*/NULL); if (L_230) { goto IL_0578; } } { String_t* L_231 = V_8; int32_t L_232 = V_28; Il2CppChar L_233 = String_get_Chars_m4230566705(L_231, L_232, /*hidden argument*/NULL); if ((!(((uint32_t)L_233) == ((uint32_t)((int32_t)44))))) { goto IL_0583; } } IL_0578: { int32_t L_234 = V_28; V_28 = ((int32_t)((int32_t)L_234+(int32_t)1)); goto IL_0588; } IL_0583: { goto IL_0596; } IL_0588: { int32_t L_235 = V_28; String_t* L_236 = V_8; int32_t L_237 = String_get_Length_m1606060069(L_236, /*hidden argument*/NULL); if ((((int32_t)L_235) < ((int32_t)L_237))) { goto IL_0555; } } IL_0596: { int32_t L_238 = V_28; V_10 = L_238; bool L_239 = ___exact3; if (L_239) { goto IL_05d6; } } { int32_t L_240 = V_10; String_t* L_241 = V_8; int32_t L_242 = String_get_Length_m1606060069(L_241, /*hidden argument*/NULL); if ((((int32_t)L_240) >= ((int32_t)L_242))) { goto IL_05d6; } } { String_t* L_243 = V_8; int32_t L_244 = V_10; Il2CppChar L_245 = String_get_Chars_m4230566705(L_243, L_244, /*hidden argument*/NULL); if ((!(((uint32_t)L_245) == ((uint32_t)((int32_t)47))))) { goto IL_05d6; } } { String_t* L_246 = ___s0; int32_t L_247 = V_4; DateTimeFormatInfo_t2187473504 * L_248 = ___dfi6; bool L_249 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_250 = DateTime__ParseDateSeparator_m3057421308(NULL /*static, unused*/, L_246, L_247, L_248, L_249, (&V_25), /*hidden argument*/NULL); if (L_250) { goto IL_05d6; } } { int32_t L_251 = V_10; V_10 = ((int32_t)((int32_t)L_251+(int32_t)1)); } IL_05d6: { goto IL_0ea4; } IL_05db: { int32_t L_252 = V_10; int32_t L_253 = V_11; int32_t L_254 = V_9; if ((((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_252+(int32_t)L_253))+(int32_t)1))) >= ((int32_t)L_254))) { goto IL_0613; } } { String_t* L_255 = V_8; int32_t L_256 = V_10; int32_t L_257 = V_11; Il2CppChar L_258 = String_get_Chars_m4230566705(L_255, ((int32_t)((int32_t)((int32_t)((int32_t)L_256+(int32_t)L_257))+(int32_t)1)), /*hidden argument*/NULL); String_t* L_259 = V_8; int32_t L_260 = V_10; int32_t L_261 = V_11; Il2CppChar L_262 = String_get_Chars_m4230566705(L_259, ((int32_t)((int32_t)L_260+(int32_t)L_261)), /*hidden argument*/NULL); if ((!(((uint32_t)L_258) == ((uint32_t)L_262)))) { goto IL_0613; } } { int32_t L_263 = V_11; V_11 = ((int32_t)((int32_t)L_263+(int32_t)1)); goto IL_0ea4; } IL_0613: { String_t* L_264 = V_8; int32_t L_265 = V_10; Il2CppChar L_266 = String_get_Chars_m4230566705(L_264, L_265, /*hidden argument*/NULL); V_35 = L_266; Il2CppChar L_267 = V_35; if (((int32_t)((int32_t)L_267-(int32_t)((int32_t)70))) == 0) { goto IL_0a7a; } if (((int32_t)((int32_t)L_267-(int32_t)((int32_t)70))) == 1) { goto IL_0d12; } if (((int32_t)((int32_t)L_267-(int32_t)((int32_t)70))) == 2) { goto IL_099a; } if (((int32_t)((int32_t)L_267-(int32_t)((int32_t)70))) == 3) { goto IL_0648; } if (((int32_t)((int32_t)L_267-(int32_t)((int32_t)70))) == 4) { goto IL_0648; } if (((int32_t)((int32_t)L_267-(int32_t)((int32_t)70))) == 5) { goto IL_0c04; } if (((int32_t)((int32_t)L_267-(int32_t)((int32_t)70))) == 6) { goto IL_0648; } if (((int32_t)((int32_t)L_267-(int32_t)((int32_t)70))) == 7) { goto IL_075c; } } IL_0648: { Il2CppChar L_268 = V_35; if (((int32_t)((int32_t)L_268-(int32_t)((int32_t)115))) == 0) { goto IL_0a34; } if (((int32_t)((int32_t)L_268-(int32_t)((int32_t)115))) == 1) { goto IL_0ad6; } if (((int32_t)((int32_t)L_268-(int32_t)((int32_t)115))) == 2) { goto IL_0672; } if (((int32_t)((int32_t)L_268-(int32_t)((int32_t)115))) == 3) { goto IL_0672; } if (((int32_t)((int32_t)L_268-(int32_t)((int32_t)115))) == 4) { goto IL_0672; } if (((int32_t)((int32_t)L_268-(int32_t)((int32_t)115))) == 5) { goto IL_0672; } if (((int32_t)((int32_t)L_268-(int32_t)((int32_t)115))) == 6) { goto IL_0872; } if (((int32_t)((int32_t)L_268-(int32_t)((int32_t)115))) == 7) { goto IL_0b00; } } IL_0672: { Il2CppChar L_269 = V_35; if (((int32_t)((int32_t)L_269-(int32_t)((int32_t)100))) == 0) { goto IL_06b9; } if (((int32_t)((int32_t)L_269-(int32_t)((int32_t)100))) == 1) { goto IL_0690; } if (((int32_t)((int32_t)L_269-(int32_t)((int32_t)100))) == 2) { goto IL_0a82; } if (((int32_t)((int32_t)L_269-(int32_t)((int32_t)100))) == 3) { goto IL_0690; } if (((int32_t)((int32_t)L_269-(int32_t)((int32_t)100))) == 4) { goto IL_0948; } } IL_0690: { Il2CppChar L_270 = V_35; if ((((int32_t)L_270) == ((int32_t)((int32_t)47)))) { goto IL_0db4; } } { Il2CppChar L_271 = V_35; if ((((int32_t)L_271) == ((int32_t)((int32_t)58)))) { goto IL_0d9b; } } { Il2CppChar L_272 = V_35; if ((((int32_t)L_272) == ((int32_t)((int32_t)90)))) { goto IL_0cf4; } } { Il2CppChar L_273 = V_35; if ((((int32_t)L_273) == ((int32_t)((int32_t)109)))) { goto IL_09ee; } } { goto IL_0dd0; } IL_06b9: { int32_t L_274 = V_11; if ((((int32_t)L_274) >= ((int32_t)2))) { goto IL_06c9; } } { int32_t L_275 = V_12; if ((!(((uint32_t)L_275) == ((uint32_t)(-1))))) { goto IL_06d9; } } IL_06c9: { int32_t L_276 = V_11; if ((((int32_t)L_276) < ((int32_t)2))) { goto IL_06db; } } { int32_t L_277 = V_13; if ((((int32_t)L_277) == ((int32_t)(-1)))) { goto IL_06db; } } IL_06d9: { return (bool)0; } IL_06db: { int32_t L_278 = V_11; if (L_278) { goto IL_06f7; } } { String_t* L_279 = ___s0; int32_t L_280 = V_4; bool L_281 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_282 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_279, L_280, 1, 2, (bool)0, L_281, (&V_25), /*hidden argument*/NULL); V_12 = L_282; goto IL_0757; } IL_06f7: { int32_t L_283 = V_11; if ((!(((uint32_t)L_283) == ((uint32_t)1)))) { goto IL_0714; } } { String_t* L_284 = ___s0; int32_t L_285 = V_4; bool L_286 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_287 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_284, L_285, 1, 2, (bool)1, L_286, (&V_25), /*hidden argument*/NULL); V_12 = L_287; goto IL_0757; } IL_0714: { int32_t L_288 = V_11; if ((!(((uint32_t)L_288) == ((uint32_t)2)))) { goto IL_073c; } } { String_t* L_289 = ___s0; int32_t L_290 = V_4; DateTimeFormatInfo_t2187473504 * L_291 = ___dfi6; StringU5BU5D_t1642385972* L_292 = DateTimeFormatInfo_get_RawAbbreviatedDayNames_m3998113647(L_291, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_293 = V_7; StringU5BU5D_t1642385972* L_294 = DateTimeFormatInfo_get_RawAbbreviatedDayNames_m3998113647(L_293, /*hidden argument*/NULL); bool L_295 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_296 = DateTime__ParseEnum_m1687953250(NULL /*static, unused*/, L_289, L_290, L_292, L_294, L_295, (&V_25), /*hidden argument*/NULL); V_13 = L_296; goto IL_0757; } IL_073c: { String_t* L_297 = ___s0; int32_t L_298 = V_4; DateTimeFormatInfo_t2187473504 * L_299 = ___dfi6; StringU5BU5D_t1642385972* L_300 = DateTimeFormatInfo_get_RawDayNames_m3789097850(L_299, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_301 = V_7; StringU5BU5D_t1642385972* L_302 = DateTimeFormatInfo_get_RawDayNames_m3789097850(L_301, /*hidden argument*/NULL); bool L_303 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_304 = DateTime__ParseEnum_m1687953250(NULL /*static, unused*/, L_297, L_298, L_300, L_302, L_303, (&V_25), /*hidden argument*/NULL); V_13 = L_304; } IL_0757: { goto IL_0df3; } IL_075c: { int32_t L_305 = V_14; if ((((int32_t)L_305) == ((int32_t)(-1)))) { goto IL_0766; } } { return (bool)0; } IL_0766: { bool L_306 = V_3; if (!L_306) { goto IL_07ed; } } { V_25 = (-1); int32_t L_307 = V_11; if (!L_307) { goto IL_077e; } } { int32_t L_308 = V_11; if ((!(((uint32_t)L_308) == ((uint32_t)3)))) { goto IL_078e; } } IL_077e: { String_t* L_309 = ___s0; int32_t L_310 = V_4; bool L_311 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_312 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_309, L_310, 1, 2, (bool)0, L_311, (&V_25), /*hidden argument*/NULL); V_14 = L_312; } IL_078e: { int32_t L_313 = V_11; if ((((int32_t)L_313) <= ((int32_t)1))) { goto IL_07bb; } } { int32_t L_314 = V_25; if ((!(((uint32_t)L_314) == ((uint32_t)(-1))))) { goto IL_07bb; } } { String_t* L_315 = ___s0; int32_t L_316 = V_4; DateTimeFormatInfo_t2187473504 * L_317 = ___dfi6; StringU5BU5D_t1642385972* L_318 = DateTimeFormatInfo_get_RawMonthNames_m485007902(L_317, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_319 = V_7; StringU5BU5D_t1642385972* L_320 = DateTimeFormatInfo_get_RawMonthNames_m485007902(L_319, /*hidden argument*/NULL); bool L_321 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_322 = DateTime__ParseEnum_m1687953250(NULL /*static, unused*/, L_315, L_316, L_318, L_320, L_321, (&V_25), /*hidden argument*/NULL); V_14 = ((int32_t)((int32_t)L_322+(int32_t)1)); } IL_07bb: { int32_t L_323 = V_11; if ((((int32_t)L_323) <= ((int32_t)1))) { goto IL_07e8; } } { int32_t L_324 = V_25; if ((!(((uint32_t)L_324) == ((uint32_t)(-1))))) { goto IL_07e8; } } { String_t* L_325 = ___s0; int32_t L_326 = V_4; DateTimeFormatInfo_t2187473504 * L_327 = ___dfi6; StringU5BU5D_t1642385972* L_328 = DateTimeFormatInfo_get_RawAbbreviatedMonthNames_m19087795(L_327, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_329 = V_7; StringU5BU5D_t1642385972* L_330 = DateTimeFormatInfo_get_RawAbbreviatedMonthNames_m19087795(L_329, /*hidden argument*/NULL); bool L_331 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_332 = DateTime__ParseEnum_m1687953250(NULL /*static, unused*/, L_325, L_326, L_328, L_330, L_331, (&V_25), /*hidden argument*/NULL); V_14 = ((int32_t)((int32_t)L_332+(int32_t)1)); } IL_07e8: { goto IL_0df3; } IL_07ed: { int32_t L_333 = V_11; if (L_333) { goto IL_0809; } } { String_t* L_334 = ___s0; int32_t L_335 = V_4; bool L_336 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_337 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_334, L_335, 1, 2, (bool)0, L_336, (&V_25), /*hidden argument*/NULL); V_14 = L_337; goto IL_086d; } IL_0809: { int32_t L_338 = V_11; if ((!(((uint32_t)L_338) == ((uint32_t)1)))) { goto IL_0826; } } { String_t* L_339 = ___s0; int32_t L_340 = V_4; bool L_341 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_342 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_339, L_340, 1, 2, (bool)1, L_341, (&V_25), /*hidden argument*/NULL); V_14 = L_342; goto IL_086d; } IL_0826: { int32_t L_343 = V_11; if ((!(((uint32_t)L_343) == ((uint32_t)2)))) { goto IL_0850; } } { String_t* L_344 = ___s0; int32_t L_345 = V_4; DateTimeFormatInfo_t2187473504 * L_346 = ___dfi6; StringU5BU5D_t1642385972* L_347 = DateTimeFormatInfo_get_RawAbbreviatedMonthNames_m19087795(L_346, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_348 = V_7; StringU5BU5D_t1642385972* L_349 = DateTimeFormatInfo_get_RawAbbreviatedMonthNames_m19087795(L_348, /*hidden argument*/NULL); bool L_350 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_351 = DateTime__ParseEnum_m1687953250(NULL /*static, unused*/, L_344, L_345, L_347, L_349, L_350, (&V_25), /*hidden argument*/NULL); V_14 = ((int32_t)((int32_t)L_351+(int32_t)1)); goto IL_086d; } IL_0850: { String_t* L_352 = ___s0; int32_t L_353 = V_4; DateTimeFormatInfo_t2187473504 * L_354 = ___dfi6; StringU5BU5D_t1642385972* L_355 = DateTimeFormatInfo_get_RawMonthNames_m485007902(L_354, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_356 = V_7; StringU5BU5D_t1642385972* L_357 = DateTimeFormatInfo_get_RawMonthNames_m485007902(L_356, /*hidden argument*/NULL); bool L_358 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_359 = DateTime__ParseEnum_m1687953250(NULL /*static, unused*/, L_352, L_353, L_355, L_357, L_358, (&V_25), /*hidden argument*/NULL); V_14 = ((int32_t)((int32_t)L_359+(int32_t)1)); } IL_086d: { goto IL_0df3; } IL_0872: { int32_t L_360 = V_15; if ((((int32_t)L_360) == ((int32_t)(-1)))) { goto IL_087c; } } { return (bool)0; } IL_087c: { int32_t L_361 = V_11; if (L_361) { goto IL_0898; } } { String_t* L_362 = ___s0; int32_t L_363 = V_4; bool L_364 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_365 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_362, L_363, 1, 2, (bool)0, L_364, (&V_25), /*hidden argument*/NULL); V_15 = L_365; goto IL_091e; } IL_0898: { int32_t L_366 = V_11; if ((((int32_t)L_366) >= ((int32_t)3))) { goto IL_08b5; } } { String_t* L_367 = ___s0; int32_t L_368 = V_4; bool L_369 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_370 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_367, L_368, 1, 2, (bool)1, L_369, (&V_25), /*hidden argument*/NULL); V_15 = L_370; goto IL_091e; } IL_08b5: { String_t* L_371 = ___s0; int32_t L_372 = V_4; bool L_373 = ___exact3; G_B172_0 = L_372; G_B172_1 = L_371; if (!L_373) { G_B173_0 = L_372; G_B173_1 = L_371; goto IL_08c4; } } { G_B174_0 = 4; G_B174_1 = G_B172_0; G_B174_2 = G_B172_1; goto IL_08c5; } IL_08c4: { G_B174_0 = 3; G_B174_1 = G_B173_0; G_B174_2 = G_B173_1; } IL_08c5: { bool L_374 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_375 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, G_B174_2, G_B174_1, G_B174_0, 4, (bool)0, L_374, (&V_25), /*hidden argument*/NULL); V_15 = L_375; int32_t L_376 = V_15; if ((((int32_t)L_376) < ((int32_t)((int32_t)1000)))) { goto IL_091b; } } { int32_t L_377 = V_25; if ((!(((uint32_t)L_377) == ((uint32_t)4)))) { goto IL_091b; } } { bool* L_378 = ___longYear10; if ((*((int8_t*)L_378))) { goto IL_091b; } } { String_t* L_379 = ___s0; int32_t L_380 = String_get_Length_m1606060069(L_379, /*hidden argument*/NULL); int32_t L_381 = V_4; if ((((int32_t)L_380) <= ((int32_t)((int32_t)((int32_t)4+(int32_t)L_381))))) { goto IL_091b; } } { V_29 = 0; String_t* L_382 = ___s0; int32_t L_383 = V_4; bool L_384 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_385 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_382, L_383, 5, 5, (bool)0, L_384, (&V_29), /*hidden argument*/NULL); V_30 = L_385; bool* L_386 = ___longYear10; int32_t L_387 = V_30; *((int8_t*)(L_386)) = (int8_t)((((int32_t)L_387) > ((int32_t)((int32_t)9999)))? 1 : 0); } IL_091b: { V_11 = 3; } IL_091e: { int32_t L_388 = V_25; if ((((int32_t)L_388) > ((int32_t)2))) { goto IL_0943; } } { int32_t L_389 = V_15; int32_t L_390 = V_15; G_B182_0 = L_389; if ((((int32_t)L_390) >= ((int32_t)((int32_t)30)))) { G_B183_0 = L_389; goto IL_093b; } } { G_B184_0 = ((int32_t)2000); G_B184_1 = G_B182_0; goto IL_0940; } IL_093b: { G_B184_0 = ((int32_t)1900); G_B184_1 = G_B183_0; } IL_0940: { V_15 = ((int32_t)((int32_t)G_B184_1+(int32_t)G_B184_0)); } IL_0943: { goto IL_0df3; } IL_0948: { int32_t L_391 = V_16; if ((((int32_t)L_391) == ((int32_t)(-1)))) { goto IL_0952; } } { return (bool)0; } IL_0952: { int32_t L_392 = V_11; if (L_392) { goto IL_096e; } } { String_t* L_393 = ___s0; int32_t L_394 = V_4; bool L_395 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_396 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_393, L_394, 1, 2, (bool)0, L_395, (&V_25), /*hidden argument*/NULL); V_16 = L_396; goto IL_097e; } IL_096e: { String_t* L_397 = ___s0; int32_t L_398 = V_4; bool L_399 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_400 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_397, L_398, 1, 2, (bool)1, L_399, (&V_25), /*hidden argument*/NULL); V_16 = L_400; } IL_097e: { int32_t L_401 = V_16; if ((((int32_t)L_401) <= ((int32_t)((int32_t)12)))) { goto IL_0989; } } { return (bool)0; } IL_0989: { int32_t L_402 = V_16; if ((!(((uint32_t)L_402) == ((uint32_t)((int32_t)12))))) { goto IL_0995; } } { V_16 = 0; } IL_0995: { goto IL_0df3; } IL_099a: { int32_t L_403 = V_16; if ((!(((uint32_t)L_403) == ((uint32_t)(-1))))) { goto IL_09b0; } } { bool L_404 = V_3; if (L_404) { goto IL_09b2; } } { int32_t L_405 = V_20; if ((((int32_t)L_405) < ((int32_t)0))) { goto IL_09b2; } } IL_09b0: { return (bool)0; } IL_09b2: { int32_t L_406 = V_11; if (L_406) { goto IL_09ce; } } { String_t* L_407 = ___s0; int32_t L_408 = V_4; bool L_409 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_410 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_407, L_408, 1, 2, (bool)0, L_409, (&V_25), /*hidden argument*/NULL); V_16 = L_410; goto IL_09de; } IL_09ce: { String_t* L_411 = ___s0; int32_t L_412 = V_4; bool L_413 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_414 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_411, L_412, 1, 2, (bool)1, L_413, (&V_25), /*hidden argument*/NULL); V_16 = L_414; } IL_09de: { int32_t L_415 = V_16; if ((((int32_t)L_415) < ((int32_t)((int32_t)24)))) { goto IL_09e9; } } { return (bool)0; } IL_09e9: { goto IL_0df3; } IL_09ee: { int32_t L_416 = V_17; if ((((int32_t)L_416) == ((int32_t)(-1)))) { goto IL_09f8; } } { return (bool)0; } IL_09f8: { int32_t L_417 = V_11; if (L_417) { goto IL_0a14; } } { String_t* L_418 = ___s0; int32_t L_419 = V_4; bool L_420 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_421 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_418, L_419, 1, 2, (bool)0, L_420, (&V_25), /*hidden argument*/NULL); V_17 = L_421; goto IL_0a24; } IL_0a14: { String_t* L_422 = ___s0; int32_t L_423 = V_4; bool L_424 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_425 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_422, L_423, 1, 2, (bool)1, L_424, (&V_25), /*hidden argument*/NULL); V_17 = L_425; } IL_0a24: { int32_t L_426 = V_17; if ((((int32_t)L_426) < ((int32_t)((int32_t)60)))) { goto IL_0a2f; } } { return (bool)0; } IL_0a2f: { goto IL_0df3; } IL_0a34: { int32_t L_427 = V_18; if ((((int32_t)L_427) == ((int32_t)(-1)))) { goto IL_0a3e; } } { return (bool)0; } IL_0a3e: { int32_t L_428 = V_11; if (L_428) { goto IL_0a5a; } } { String_t* L_429 = ___s0; int32_t L_430 = V_4; bool L_431 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_432 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_429, L_430, 1, 2, (bool)0, L_431, (&V_25), /*hidden argument*/NULL); V_18 = L_432; goto IL_0a6a; } IL_0a5a: { String_t* L_433 = ___s0; int32_t L_434 = V_4; bool L_435 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_436 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_433, L_434, 1, 2, (bool)1, L_435, (&V_25), /*hidden argument*/NULL); V_18 = L_436; } IL_0a6a: { int32_t L_437 = V_18; if ((((int32_t)L_437) < ((int32_t)((int32_t)60)))) { goto IL_0a75; } } { return (bool)0; } IL_0a75: { goto IL_0df3; } IL_0a7a: { V_27 = (bool)0; goto IL_0a82; } IL_0a82: { int32_t L_438 = V_11; if ((((int32_t)L_438) > ((int32_t)6))) { goto IL_0a9a; } } { double L_439 = V_19; if ((((double)L_439) == ((double)(-1.0)))) { goto IL_0a9c; } } IL_0a9a: { return (bool)0; } IL_0a9c: { String_t* L_440 = ___s0; int32_t L_441 = V_4; int32_t L_442 = V_11; bool L_443 = V_27; bool L_444 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_445 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_440, L_441, 0, ((int32_t)((int32_t)L_442+(int32_t)1)), L_443, L_444, (&V_25), /*hidden argument*/NULL); V_31 = (((double)((double)L_445))); int32_t L_446 = V_25; if ((!(((uint32_t)L_446) == ((uint32_t)(-1))))) { goto IL_0abb; } } { return (bool)0; } IL_0abb: { double L_447 = V_31; int32_t L_448 = V_25; double L_449 = pow((10.0), (((double)((double)L_448)))); V_19 = ((double)((double)L_447/(double)L_449)); goto IL_0df3; } IL_0ad6: { String_t* L_450 = ___s0; int32_t L_451 = V_4; int32_t L_452 = V_11; G_B230_0 = L_451; G_B230_1 = L_450; if ((((int32_t)L_452) <= ((int32_t)0))) { G_B231_0 = L_451; G_B231_1 = L_450; goto IL_0ae7; } } { G_B232_0 = 0; G_B232_1 = G_B230_0; G_B232_2 = G_B230_1; goto IL_0ae8; } IL_0ae7: { G_B232_0 = 1; G_B232_1 = G_B231_0; G_B232_2 = G_B231_1; } IL_0ae8: { DateTimeFormatInfo_t2187473504 * L_453 = ___dfi6; bool L_454 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_455 = DateTime__ParseAmPm_m1540123584(NULL /*static, unused*/, G_B232_2, G_B232_1, G_B232_0, L_453, L_454, (&V_25), (&V_20), /*hidden argument*/NULL); if (L_455) { goto IL_0afb; } } { return (bool)0; } IL_0afb: { goto IL_0df3; } IL_0b00: { int32_t L_456 = V_21; if ((((int32_t)L_456) == ((int32_t)(-1)))) { goto IL_0b0a; } } { return (bool)0; } IL_0b0a: { String_t* L_457 = ___s0; int32_t L_458 = V_4; Il2CppChar L_459 = String_get_Chars_m4230566705(L_457, L_458, /*hidden argument*/NULL); if ((!(((uint32_t)L_459) == ((uint32_t)((int32_t)43))))) { goto IL_0b21; } } { V_21 = 0; goto IL_0b3a; } IL_0b21: { String_t* L_460 = ___s0; int32_t L_461 = V_4; Il2CppChar L_462 = String_get_Chars_m4230566705(L_460, L_461, /*hidden argument*/NULL); if ((!(((uint32_t)L_462) == ((uint32_t)((int32_t)45))))) { goto IL_0b38; } } { V_21 = 1; goto IL_0b3a; } IL_0b38: { return (bool)0; } IL_0b3a: { int32_t L_463 = V_4; V_4 = ((int32_t)((int32_t)L_463+(int32_t)1)); int32_t L_464 = V_11; if (L_464) { goto IL_0b5c; } } { String_t* L_465 = ___s0; int32_t L_466 = V_4; bool L_467 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_468 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_465, L_466, 1, 2, (bool)0, L_467, (&V_25), /*hidden argument*/NULL); V_22 = L_468; goto IL_0bff; } IL_0b5c: { int32_t L_469 = V_11; if ((!(((uint32_t)L_469) == ((uint32_t)1)))) { goto IL_0b79; } } { String_t* L_470 = ___s0; int32_t L_471 = V_4; bool L_472 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_473 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_470, L_471, 1, 2, (bool)1, L_472, (&V_25), /*hidden argument*/NULL); V_22 = L_473; goto IL_0bff; } IL_0b79: { String_t* L_474 = ___s0; int32_t L_475 = V_4; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_476 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_474, L_475, 1, 2, (bool)1, (bool)1, (&V_25), /*hidden argument*/NULL); V_22 = L_476; int32_t L_477 = V_4; int32_t L_478 = V_25; V_4 = ((int32_t)((int32_t)L_477+(int32_t)L_478)); int32_t L_479 = V_25; if ((((int32_t)L_479) >= ((int32_t)0))) { goto IL_0b9a; } } { return (bool)0; } IL_0b9a: { V_25 = 0; int32_t L_480 = V_4; String_t* L_481 = ___s0; int32_t L_482 = String_get_Length_m1606060069(L_481, /*hidden argument*/NULL); if ((((int32_t)L_480) >= ((int32_t)L_482))) { goto IL_0bbc; } } { String_t* L_483 = ___s0; int32_t L_484 = V_4; Il2CppChar L_485 = String_get_Chars_m4230566705(L_483, L_484, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_486 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_485, /*hidden argument*/NULL); if (L_486) { goto IL_0bce; } } IL_0bbc: { String_t* L_487 = ___s0; int32_t L_488 = V_4; DateTimeFormatInfo_t2187473504 * L_489 = ___dfi6; bool L_490 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_491 = DateTime__ParseTimeSeparator_m1796113879(NULL /*static, unused*/, L_487, L_488, L_489, L_490, (&V_25), /*hidden argument*/NULL); if (!L_491) { goto IL_0bf4; } } IL_0bce: { int32_t L_492 = V_4; int32_t L_493 = V_25; V_4 = ((int32_t)((int32_t)L_492+(int32_t)L_493)); String_t* L_494 = ___s0; int32_t L_495 = V_4; bool L_496 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_497 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_494, L_495, 1, 2, (bool)1, L_496, (&V_25), /*hidden argument*/NULL); V_23 = L_497; int32_t L_498 = V_25; if ((((int32_t)L_498) >= ((int32_t)0))) { goto IL_0bef; } } { return (bool)0; } IL_0bef: { goto IL_0bff; } IL_0bf4: { bool L_499 = V_3; if (L_499) { goto IL_0bfc; } } { return (bool)0; } IL_0bfc: { V_25 = 0; } IL_0bff: { goto IL_0df3; } IL_0c04: { String_t* L_500 = ___s0; int32_t L_501 = V_4; Il2CppChar L_502 = String_get_Chars_m4230566705(L_500, L_501, /*hidden argument*/NULL); if ((!(((uint32_t)L_502) == ((uint32_t)((int32_t)90))))) { goto IL_0c20; } } { int32_t L_503 = V_4; V_4 = ((int32_t)((int32_t)L_503+(int32_t)1)); V_0 = (bool)1; goto IL_0cef; } IL_0c20: { String_t* L_504 = ___s0; int32_t L_505 = V_4; Il2CppChar L_506 = String_get_Chars_m4230566705(L_504, L_505, /*hidden argument*/NULL); if ((((int32_t)L_506) == ((int32_t)((int32_t)43)))) { goto IL_0c3e; } } { String_t* L_507 = ___s0; int32_t L_508 = V_4; Il2CppChar L_509 = String_get_Chars_m4230566705(L_507, L_508, /*hidden argument*/NULL); if ((!(((uint32_t)L_509) == ((uint32_t)((int32_t)45))))) { goto IL_0cef; } } IL_0c3e: { int32_t L_510 = V_21; if ((((int32_t)L_510) == ((int32_t)(-1)))) { goto IL_0c48; } } { return (bool)0; } IL_0c48: { String_t* L_511 = ___s0; int32_t L_512 = V_4; Il2CppChar L_513 = String_get_Chars_m4230566705(L_511, L_512, /*hidden argument*/NULL); if ((!(((uint32_t)L_513) == ((uint32_t)((int32_t)43))))) { goto IL_0c5f; } } { V_21 = 0; goto IL_0c71; } IL_0c5f: { String_t* L_514 = ___s0; int32_t L_515 = V_4; Il2CppChar L_516 = String_get_Chars_m4230566705(L_514, L_515, /*hidden argument*/NULL); if ((!(((uint32_t)L_516) == ((uint32_t)((int32_t)45))))) { goto IL_0c71; } } { V_21 = 1; } IL_0c71: { int32_t L_517 = V_4; V_4 = ((int32_t)((int32_t)L_517+(int32_t)1)); String_t* L_518 = ___s0; int32_t L_519 = V_4; bool L_520 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_521 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_518, L_519, 0, 2, (bool)1, L_520, (&V_25), /*hidden argument*/NULL); V_22 = L_521; int32_t L_522 = V_4; int32_t L_523 = V_25; V_4 = ((int32_t)((int32_t)L_522+(int32_t)L_523)); int32_t L_524 = V_25; if ((((int32_t)L_524) >= ((int32_t)0))) { goto IL_0c98; } } { return (bool)0; } IL_0c98: { String_t* L_525 = ___s0; int32_t L_526 = V_4; Il2CppChar L_527 = String_get_Chars_m4230566705(L_525, L_526, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_528 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_527, /*hidden argument*/NULL); if (!L_528) { goto IL_0cb2; } } { V_25 = 0; goto IL_0ccb; } IL_0cb2: { String_t* L_529 = ___s0; int32_t L_530 = V_4; DateTimeFormatInfo_t2187473504 * L_531 = ___dfi6; String_t* L_532 = DateTimeFormatInfo_get_TimeSeparator_m2465837654(L_531, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_533 = DateTime__ParseString_m2623687350(NULL /*static, unused*/, L_529, L_530, 0, L_532, (&V_25), /*hidden argument*/NULL); if (L_533) { goto IL_0ccb; } } { return (bool)0; } IL_0ccb: { int32_t L_534 = V_4; int32_t L_535 = V_25; V_4 = ((int32_t)((int32_t)L_534+(int32_t)L_535)); String_t* L_536 = ___s0; int32_t L_537 = V_4; bool L_538 = V_2; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_539 = DateTime__ParseNumber_m2544572129(NULL /*static, unused*/, L_536, L_537, 0, 2, (bool)1, L_538, (&V_25), /*hidden argument*/NULL); V_23 = L_539; V_11 = 2; int32_t L_540 = V_25; if ((((int32_t)L_540) >= ((int32_t)0))) { goto IL_0cef; } } { return (bool)0; } IL_0cef: { goto IL_0df3; } IL_0cf4: { String_t* L_541 = ___s0; int32_t L_542 = V_4; Il2CppChar L_543 = String_get_Chars_m4230566705(L_541, L_542, /*hidden argument*/NULL); if ((((int32_t)L_543) == ((int32_t)((int32_t)90)))) { goto IL_0d05; } } { return (bool)0; } IL_0d05: { V_11 = 0; V_25 = 1; V_0 = (bool)1; goto IL_0df3; } IL_0d12: { String_t* L_544 = ___s0; int32_t L_545 = V_4; Il2CppChar L_546 = String_get_Chars_m4230566705(L_544, L_545, /*hidden argument*/NULL); if ((((int32_t)L_546) == ((int32_t)((int32_t)71)))) { goto IL_0d23; } } { return (bool)0; } IL_0d23: { int32_t L_547 = V_10; int32_t L_548 = V_9; if ((((int32_t)((int32_t)((int32_t)L_547+(int32_t)2))) >= ((int32_t)L_548))) { goto IL_0d90; } } { int32_t L_549 = V_4; String_t* L_550 = ___s0; int32_t L_551 = String_get_Length_m1606060069(L_550, /*hidden argument*/NULL); if ((((int32_t)((int32_t)((int32_t)L_549+(int32_t)2))) >= ((int32_t)L_551))) { goto IL_0d90; } } { String_t* L_552 = V_8; int32_t L_553 = V_10; Il2CppChar L_554 = String_get_Chars_m4230566705(L_552, ((int32_t)((int32_t)L_553+(int32_t)1)), /*hidden argument*/NULL); if ((!(((uint32_t)L_554) == ((uint32_t)((int32_t)77))))) { goto IL_0d90; } } { String_t* L_555 = ___s0; int32_t L_556 = V_4; Il2CppChar L_557 = String_get_Chars_m4230566705(L_555, ((int32_t)((int32_t)L_556+(int32_t)1)), /*hidden argument*/NULL); if ((!(((uint32_t)L_557) == ((uint32_t)((int32_t)77))))) { goto IL_0d90; } } { String_t* L_558 = V_8; int32_t L_559 = V_10; Il2CppChar L_560 = String_get_Chars_m4230566705(L_558, ((int32_t)((int32_t)L_559+(int32_t)2)), /*hidden argument*/NULL); if ((!(((uint32_t)L_560) == ((uint32_t)((int32_t)84))))) { goto IL_0d90; } } { String_t* L_561 = ___s0; int32_t L_562 = V_4; Il2CppChar L_563 = String_get_Chars_m4230566705(L_561, ((int32_t)((int32_t)L_562+(int32_t)2)), /*hidden argument*/NULL); if ((!(((uint32_t)L_563) == ((uint32_t)((int32_t)84))))) { goto IL_0d90; } } { V_0 = (bool)1; V_11 = 2; V_25 = 3; goto IL_0d96; } IL_0d90: { V_11 = 0; V_25 = 1; } IL_0d96: { goto IL_0df3; } IL_0d9b: { String_t* L_564 = ___s0; int32_t L_565 = V_4; DateTimeFormatInfo_t2187473504 * L_566 = ___dfi6; bool L_567 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_568 = DateTime__ParseTimeSeparator_m1796113879(NULL /*static, unused*/, L_564, L_565, L_566, L_567, (&V_25), /*hidden argument*/NULL); if (L_568) { goto IL_0daf; } } { return (bool)0; } IL_0daf: { goto IL_0df3; } IL_0db4: { String_t* L_569 = ___s0; int32_t L_570 = V_4; DateTimeFormatInfo_t2187473504 * L_571 = ___dfi6; bool L_572 = ___exact3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_573 = DateTime__ParseDateSeparator_m3057421308(NULL /*static, unused*/, L_569, L_570, L_571, L_572, (&V_25), /*hidden argument*/NULL); if (L_573) { goto IL_0dc8; } } { return (bool)0; } IL_0dc8: { V_11 = 0; goto IL_0df3; } IL_0dd0: { String_t* L_574 = ___s0; int32_t L_575 = V_4; Il2CppChar L_576 = String_get_Chars_m4230566705(L_574, L_575, /*hidden argument*/NULL); String_t* L_577 = V_8; int32_t L_578 = V_10; Il2CppChar L_579 = String_get_Chars_m4230566705(L_577, L_578, /*hidden argument*/NULL); if ((((int32_t)L_576) == ((int32_t)L_579))) { goto IL_0de8; } } { return (bool)0; } IL_0de8: { V_11 = 0; V_25 = 1; goto IL_0df3; } IL_0df3: { int32_t L_580 = V_25; if ((((int32_t)L_580) >= ((int32_t)0))) { goto IL_0dfd; } } { return (bool)0; } IL_0dfd: { int32_t L_581 = V_4; int32_t L_582 = V_25; V_4 = ((int32_t)((int32_t)L_581+(int32_t)L_582)); bool L_583 = ___exact3; if (L_583) { goto IL_0e98; } } { bool L_584 = V_3; if (L_584) { goto IL_0e98; } } { String_t* L_585 = V_8; int32_t L_586 = V_10; Il2CppChar L_587 = String_get_Chars_m4230566705(L_585, L_586, /*hidden argument*/NULL); V_35 = L_587; Il2CppChar L_588 = V_35; if ((((int32_t)L_588) == ((int32_t)((int32_t)70)))) { goto IL_0e4d; } } { Il2CppChar L_589 = V_35; if ((((int32_t)L_589) == ((int32_t)((int32_t)102)))) { goto IL_0e4d; } } { Il2CppChar L_590 = V_35; if ((((int32_t)L_590) == ((int32_t)((int32_t)109)))) { goto IL_0e4d; } } { Il2CppChar L_591 = V_35; if ((((int32_t)L_591) == ((int32_t)((int32_t)115)))) { goto IL_0e4d; } } { Il2CppChar L_592 = V_35; if ((((int32_t)L_592) == ((int32_t)((int32_t)122)))) { goto IL_0e4d; } } { goto IL_0e98; } IL_0e4d: { String_t* L_593 = ___s0; int32_t L_594 = String_get_Length_m1606060069(L_593, /*hidden argument*/NULL); int32_t L_595 = V_4; if ((((int32_t)L_594) <= ((int32_t)L_595))) { goto IL_0e93; } } { String_t* L_596 = ___s0; int32_t L_597 = V_4; Il2CppChar L_598 = String_get_Chars_m4230566705(L_596, L_597, /*hidden argument*/NULL); if ((!(((uint32_t)L_598) == ((uint32_t)((int32_t)90))))) { goto IL_0e93; } } { int32_t L_599 = V_10; String_t* L_600 = V_8; int32_t L_601 = String_get_Length_m1606060069(L_600, /*hidden argument*/NULL); if ((((int32_t)((int32_t)((int32_t)L_599+(int32_t)1))) == ((int32_t)L_601))) { goto IL_0e8b; } } { String_t* L_602 = V_8; int32_t L_603 = V_10; Il2CppChar L_604 = String_get_Chars_m4230566705(L_602, ((int32_t)((int32_t)L_603+(int32_t)1)), /*hidden argument*/NULL); if ((((int32_t)L_604) == ((int32_t)((int32_t)90)))) { goto IL_0e93; } } IL_0e8b: { V_0 = (bool)1; int32_t L_605 = V_4; V_4 = ((int32_t)((int32_t)L_605+(int32_t)1)); } IL_0e93: { goto IL_0e98; } IL_0e98: { int32_t L_606 = V_10; int32_t L_607 = V_11; V_10 = ((int32_t)((int32_t)((int32_t)((int32_t)L_606+(int32_t)L_607))+(int32_t)1)); V_11 = 0; } IL_0ea4: { goto IL_0112; } IL_0ea9: { int32_t L_608 = V_10; int32_t L_609 = V_9; if ((((int32_t)((int32_t)((int32_t)L_608+(int32_t)1))) >= ((int32_t)L_609))) { goto IL_0f00; } } { String_t* L_610 = V_8; int32_t L_611 = V_10; Il2CppChar L_612 = String_get_Chars_m4230566705(L_610, L_611, /*hidden argument*/NULL); if ((!(((uint32_t)L_612) == ((uint32_t)((int32_t)46))))) { goto IL_0f00; } } { String_t* L_613 = V_8; int32_t L_614 = V_10; Il2CppChar L_615 = String_get_Chars_m4230566705(L_613, ((int32_t)((int32_t)L_614+(int32_t)1)), /*hidden argument*/NULL); if ((!(((uint32_t)L_615) == ((uint32_t)((int32_t)70))))) { goto IL_0f00; } } { int32_t L_616 = V_10; V_10 = ((int32_t)((int32_t)L_616+(int32_t)1)); goto IL_0ee7; } IL_0ee1: { int32_t L_617 = V_10; V_10 = ((int32_t)((int32_t)L_617+(int32_t)1)); } IL_0ee7: { int32_t L_618 = V_10; int32_t L_619 = V_9; if ((((int32_t)L_618) >= ((int32_t)L_619))) { goto IL_0f00; } } { String_t* L_620 = V_8; int32_t L_621 = V_10; Il2CppChar L_622 = String_get_Chars_m4230566705(L_620, L_621, /*hidden argument*/NULL); if ((((int32_t)L_622) == ((int32_t)((int32_t)70)))) { goto IL_0ee1; } } IL_0f00: { goto IL_0f0b; } IL_0f05: { int32_t L_623 = V_10; V_10 = ((int32_t)((int32_t)L_623+(int32_t)1)); } IL_0f0b: { int32_t L_624 = V_10; int32_t L_625 = V_9; if ((((int32_t)L_624) >= ((int32_t)L_625))) { goto IL_0f24; } } { String_t* L_626 = V_8; int32_t L_627 = V_10; Il2CppChar L_628 = String_get_Chars_m4230566705(L_626, L_627, /*hidden argument*/NULL); if ((((int32_t)L_628) == ((int32_t)((int32_t)75)))) { goto IL_0f05; } } IL_0f24: { int32_t L_629 = V_10; int32_t L_630 = V_9; if ((((int32_t)L_629) >= ((int32_t)L_630))) { goto IL_0f2f; } } { return (bool)0; } IL_0f2f: { String_t* L_631 = ___s0; int32_t L_632 = String_get_Length_m1606060069(L_631, /*hidden argument*/NULL); int32_t L_633 = V_4; if ((((int32_t)L_632) <= ((int32_t)L_633))) { goto IL_0f9b; } } { int32_t L_634 = V_4; if (L_634) { goto IL_0f45; } } { return (bool)0; } IL_0f45: { String_t* L_635 = ___s0; int32_t L_636 = V_4; Il2CppChar L_637 = String_get_Chars_m4230566705(L_635, L_636, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_638 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_637, /*hidden argument*/NULL); if (!L_638) { goto IL_0f6d; } } { String_t* L_639 = ___s0; int32_t L_640 = V_4; Il2CppChar L_641 = String_get_Chars_m4230566705(L_639, ((int32_t)((int32_t)L_640-(int32_t)1)), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_642 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_641, /*hidden argument*/NULL); if (!L_642) { goto IL_0f6d; } } { return (bool)0; } IL_0f6d: { String_t* L_643 = ___s0; int32_t L_644 = V_4; Il2CppChar L_645 = String_get_Chars_m4230566705(L_643, L_644, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_646 = Char_IsLetter_m562021054(NULL /*static, unused*/, L_645, /*hidden argument*/NULL); if (!L_646) { goto IL_0f95; } } { String_t* L_647 = ___s0; int32_t L_648 = V_4; Il2CppChar L_649 = String_get_Chars_m4230566705(L_647, ((int32_t)((int32_t)L_648-(int32_t)1)), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_650 = Char_IsLetter_m562021054(NULL /*static, unused*/, L_649, /*hidden argument*/NULL); if (!L_650) { goto IL_0f95; } } { return (bool)0; } IL_0f95: { bool* L_651 = ___incompleteFormat9; *((int8_t*)(L_651)) = (int8_t)1; return (bool)0; } IL_0f9b: { int32_t L_652 = V_16; if ((!(((uint32_t)L_652) == ((uint32_t)(-1))))) { goto IL_0fa6; } } { V_16 = 0; } IL_0fa6: { int32_t L_653 = V_17; if ((!(((uint32_t)L_653) == ((uint32_t)(-1))))) { goto IL_0fb1; } } { V_17 = 0; } IL_0fb1: { int32_t L_654 = V_18; if ((!(((uint32_t)L_654) == ((uint32_t)(-1))))) { goto IL_0fbc; } } { V_18 = 0; } IL_0fbc: { double L_655 = V_19; if ((!(((double)L_655) == ((double)(-1.0))))) { goto IL_0fd7; } } { V_19 = (0.0); } IL_0fd7: { int32_t L_656 = V_12; if ((!(((uint32_t)L_656) == ((uint32_t)(-1))))) { goto IL_1036; } } { int32_t L_657 = V_14; if ((!(((uint32_t)L_657) == ((uint32_t)(-1))))) { goto IL_1036; } } { int32_t L_658 = V_15; if ((!(((uint32_t)L_658) == ((uint32_t)(-1))))) { goto IL_1036; } } { int32_t L_659 = ___style7; if (!((int32_t)((int32_t)L_659&(int32_t)8))) { goto IL_1006; } } { V_12 = 1; V_14 = 1; V_15 = 1; goto IL_1036; } IL_1006: { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_660 = DateTime_get_Today_m1321851425(NULL /*static, unused*/, /*hidden argument*/NULL); V_36 = L_660; int32_t L_661 = DateTime_get_Day_m2066530041((&V_36), /*hidden argument*/NULL); V_12 = L_661; DateTime_t693205669 L_662 = DateTime_get_Today_m1321851425(NULL /*static, unused*/, /*hidden argument*/NULL); V_37 = L_662; int32_t L_663 = DateTime_get_Month_m1464831817((&V_37), /*hidden argument*/NULL); V_14 = L_663; DateTime_t693205669 L_664 = DateTime_get_Today_m1321851425(NULL /*static, unused*/, /*hidden argument*/NULL); V_38 = L_664; int32_t L_665 = DateTime_get_Year_m1985210972((&V_38), /*hidden argument*/NULL); V_15 = L_665; } IL_1036: { int32_t L_666 = V_12; if ((!(((uint32_t)L_666) == ((uint32_t)(-1))))) { goto IL_1041; } } { V_12 = 1; } IL_1041: { int32_t L_667 = V_14; if ((!(((uint32_t)L_667) == ((uint32_t)(-1))))) { goto IL_104c; } } { V_14 = 1; } IL_104c: { int32_t L_668 = V_15; if ((!(((uint32_t)L_668) == ((uint32_t)(-1))))) { goto IL_1075; } } { int32_t L_669 = ___style7; if (!((int32_t)((int32_t)L_669&(int32_t)8))) { goto IL_1065; } } { V_15 = 1; goto IL_1075; } IL_1065: { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_670 = DateTime_get_Today_m1321851425(NULL /*static, unused*/, /*hidden argument*/NULL); V_39 = L_670; int32_t L_671 = DateTime_get_Year_m1985210972((&V_39), /*hidden argument*/NULL); V_15 = L_671; } IL_1075: { int32_t L_672 = V_20; if (L_672) { goto IL_1088; } } { int32_t L_673 = V_16; if ((!(((uint32_t)L_673) == ((uint32_t)((int32_t)12))))) { goto IL_1088; } } { V_16 = 0; } IL_1088: { int32_t L_674 = V_20; if ((!(((uint32_t)L_674) == ((uint32_t)1)))) { goto IL_10a6; } } { bool L_675 = V_3; if (!L_675) { goto IL_109f; } } { int32_t L_676 = V_16; if ((((int32_t)L_676) >= ((int32_t)((int32_t)12)))) { goto IL_10a6; } } IL_109f: { int32_t L_677 = V_16; V_16 = ((int32_t)((int32_t)L_677+(int32_t)((int32_t)12))); } IL_10a6: { int32_t L_678 = V_15; if ((((int32_t)L_678) < ((int32_t)1))) { goto IL_1116; } } { int32_t L_679 = V_15; if ((((int32_t)L_679) > ((int32_t)((int32_t)9999)))) { goto IL_1116; } } { int32_t L_680 = V_14; if ((((int32_t)L_680) < ((int32_t)1))) { goto IL_1116; } } { int32_t L_681 = V_14; if ((((int32_t)L_681) > ((int32_t)((int32_t)12)))) { goto IL_1116; } } { int32_t L_682 = V_12; if ((((int32_t)L_682) < ((int32_t)1))) { goto IL_1116; } } { int32_t L_683 = V_12; int32_t L_684 = V_15; int32_t L_685 = V_14; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); int32_t L_686 = DateTime_DaysInMonth_m2275365236(NULL /*static, unused*/, L_684, L_685, /*hidden argument*/NULL); if ((((int32_t)L_683) > ((int32_t)L_686))) { goto IL_1116; } } { int32_t L_687 = V_16; if ((((int32_t)L_687) < ((int32_t)0))) { goto IL_1116; } } { int32_t L_688 = V_16; if ((((int32_t)L_688) > ((int32_t)((int32_t)23)))) { goto IL_1116; } } { int32_t L_689 = V_17; if ((((int32_t)L_689) < ((int32_t)0))) { goto IL_1116; } } { int32_t L_690 = V_17; if ((((int32_t)L_690) > ((int32_t)((int32_t)59)))) { goto IL_1116; } } { int32_t L_691 = V_18; if ((((int32_t)L_691) < ((int32_t)0))) { goto IL_1116; } } { int32_t L_692 = V_18; if ((((int32_t)L_692) <= ((int32_t)((int32_t)59)))) { goto IL_1118; } } IL_1116: { return (bool)0; } IL_1118: { DateTime_t693205669 * L_693 = ___result4; int32_t L_694 = V_15; int32_t L_695 = V_14; int32_t L_696 = V_12; int32_t L_697 = V_16; int32_t L_698 = V_17; int32_t L_699 = V_18; DateTime__ctor_m2857738939(L_693, L_694, L_695, L_696, L_697, L_698, L_699, 0, /*hidden argument*/NULL); DateTime_t693205669 * L_700 = ___result4; DateTime_t693205669 * L_701 = ___result4; double L_702 = V_19; DateTime_t693205669 L_703 = DateTime_AddSeconds_m722082155(L_701, L_702, /*hidden argument*/NULL); (*(DateTime_t693205669 *)L_700) = L_703; int32_t L_704 = V_13; if ((((int32_t)L_704) == ((int32_t)(-1)))) { goto IL_1154; } } { int32_t L_705 = V_13; DateTime_t693205669 * L_706 = ___result4; int32_t L_707 = DateTime_get_DayOfWeek_m2345429939(L_706, /*hidden argument*/NULL); if ((((int32_t)L_705) == ((int32_t)L_707))) { goto IL_1154; } } { return (bool)0; } IL_1154: { int32_t L_708 = V_21; if ((!(((uint32_t)L_708) == ((uint32_t)(-1))))) { goto IL_1190; } } { DateTime_t693205669 * L_709 = ___result4; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_710 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); bool L_711 = DateTime_op_Inequality_m1607380213(NULL /*static, unused*/, (*(DateTime_t693205669 *)L_709), L_710, /*hidden argument*/NULL); if (!L_711) { goto IL_118b; } } IL_1172: try { // begin try (depth: 1) DateTimeOffset_t1362988906 * L_712 = ___dto5; DateTime_t693205669 * L_713 = ___result4; DateTimeOffset__ctor_m428942261(L_712, (*(DateTime_t693205669 *)L_713), /*hidden argument*/NULL); goto IL_118b; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_1185; throw e; } CATCH_1185: { // begin catch(System.Object) goto IL_118b; } // end catch (depth: 1) IL_118b: { goto IL_11db; } IL_1190: { int32_t L_714 = V_23; if ((!(((uint32_t)L_714) == ((uint32_t)(-1))))) { goto IL_119b; } } { V_23 = 0; } IL_119b: { int32_t L_715 = V_22; if ((!(((uint32_t)L_715) == ((uint32_t)(-1))))) { goto IL_11a6; } } { V_22 = 0; } IL_11a6: { int32_t L_716 = V_21; if ((!(((uint32_t)L_716) == ((uint32_t)1)))) { goto IL_11b8; } } { int32_t L_717 = V_22; V_22 = ((-L_717)); int32_t L_718 = V_23; V_23 = ((-L_718)); } IL_11b8: try { // begin try (depth: 1) DateTimeOffset_t1362988906 * L_719 = ___dto5; DateTime_t693205669 * L_720 = ___result4; int32_t L_721 = V_22; int32_t L_722 = V_23; TimeSpan_t3430258949 L_723; memset(&L_723, 0, sizeof(L_723)); TimeSpan__ctor_m1888018443(&L_723, L_721, L_722, 0, /*hidden argument*/NULL); DateTimeOffset__ctor_m2870721395(L_719, (*(DateTime_t693205669 *)L_720), L_723, /*hidden argument*/NULL); goto IL_11db; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_11d5; throw e; } CATCH_11d5: { // begin catch(System.Object) goto IL_11db; } // end catch (depth: 1) IL_11db: { int32_t L_724 = ___style7; V_32 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_724&(int32_t)((int32_t)16)))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_725 = V_21; if ((((int32_t)L_725) == ((int32_t)(-1)))) { goto IL_125c; } } { DateTime_t693205669 * L_726 = ___result4; TimeSpan_t3430258949 L_727 = L_726->get_ticks_0(); DateTimeOffset_t1362988906 * L_728 = ___dto5; TimeSpan_t3430258949 L_729 = DateTimeOffset_get_Offset_m2335492074(L_728, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_730 = TimeSpan_op_Subtraction_m4155695851(NULL /*static, unused*/, L_727, L_729, /*hidden argument*/NULL); V_40 = L_730; int64_t L_731 = TimeSpan_get_Ticks_m2285358246((&V_40), /*hidden argument*/NULL); V_33 = L_731; int64_t L_732 = V_33; if ((((int64_t)L_732) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_1225; } } { int64_t L_733 = V_33; V_33 = ((int64_t)((int64_t)L_733+(int64_t)((int64_t)864000000000LL))); } IL_1225: { DateTime_t693205669 * L_734 = ___result4; int64_t L_735 = V_33; TimeSpan_t3430258949 L_736; memset(&L_736, 0, sizeof(L_736)); TimeSpan__ctor_m96381766(&L_736, L_735, /*hidden argument*/NULL); DateTime__ctor_m3604679583(L_734, (bool)0, L_736, /*hidden argument*/NULL); DateTime_t693205669 * L_737 = ___result4; L_737->set_kind_1(1); int32_t L_738 = ___style7; if (!((int32_t)((int32_t)L_738&(int32_t)((int32_t)128)))) { goto IL_1257; } } { DateTime_t693205669 * L_739 = ___result4; DateTime_t693205669 * L_740 = ___result4; DateTime_t693205669 L_741 = DateTime_ToLocalTime_m1957689902(L_740, /*hidden argument*/NULL); (*(DateTime_t693205669 *)L_739) = L_741; } IL_1257: { goto IL_128b; } IL_125c: { bool L_742 = V_0; if (L_742) { goto IL_126c; } } { int32_t L_743 = ___style7; if (!((int32_t)((int32_t)L_743&(int32_t)((int32_t)64)))) { goto IL_1279; } } IL_126c: { DateTime_t693205669 * L_744 = ___result4; L_744->set_kind_1(1); goto IL_128b; } IL_1279: { int32_t L_745 = ___style7; if (!((int32_t)((int32_t)L_745&(int32_t)((int32_t)32)))) { goto IL_128b; } } { DateTime_t693205669 * L_746 = ___result4; L_746->set_kind_1(2); } IL_128b: { bool L_747 = V_32; if (L_747) { goto IL_129f; } } { int32_t L_748 = ___style7; G_B413_0 = ((((int32_t)((int32_t)((int32_t)L_748&(int32_t)((int32_t)128)))) == ((int32_t)0))? 1 : 0); goto IL_12a0; } IL_129f: { G_B413_0 = 0; } IL_12a0: { V_34 = (bool)G_B413_0; DateTime_t693205669 * L_749 = ___result4; int32_t L_750 = L_749->get_kind_1(); if (!L_750) { goto IL_12dd; } } { bool L_751 = V_32; if (!L_751) { goto IL_12c8; } } { DateTime_t693205669 * L_752 = ___result4; DateTime_t693205669 * L_753 = ___result4; DateTime_t693205669 L_754 = DateTime_ToUniversalTime_m1815024752(L_753, /*hidden argument*/NULL); (*(DateTime_t693205669 *)L_752) = L_754; goto IL_12dd; } IL_12c8: { bool L_755 = V_34; if (!L_755) { goto IL_12dd; } } { DateTime_t693205669 * L_756 = ___result4; DateTime_t693205669 * L_757 = ___result4; DateTime_t693205669 L_758 = DateTime_ToLocalTime_m1957689902(L_757, /*hidden argument*/NULL); (*(DateTime_t693205669 *)L_756) = L_758; } IL_12dd: { return (bool)1; } } // System.DateTime System.DateTime::ParseExact(System.String,System.String,System.IFormatProvider,System.Globalization.DateTimeStyles) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* StringU5BU5D_t1642385972_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1334200623; extern const uint32_t DateTime_ParseExact_m1833429974_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_ParseExact_m1833429974 (Il2CppObject * __this /* static, unused */, String_t* ___s0, String_t* ___format1, Il2CppObject * ___provider2, int32_t ___style3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_ParseExact_m1833429974_MetadataUsageId); s_Il2CppMethodInitialized = true; } StringU5BU5D_t1642385972* V_0 = NULL; { String_t* L_0 = ___format1; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1334200623, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { V_0 = ((StringU5BU5D_t1642385972*)SZArrayNew(StringU5BU5D_t1642385972_il2cpp_TypeInfo_var, (uint32_t)1)); StringU5BU5D_t1642385972* L_2 = V_0; String_t* L_3 = ___format1; ArrayElementTypeCheck (L_2, L_3); (L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)L_3); String_t* L_4 = ___s0; StringU5BU5D_t1642385972* L_5 = V_0; Il2CppObject * L_6 = ___provider2; int32_t L_7 = ___style3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_8 = DateTime_ParseExact_m2170554314(NULL /*static, unused*/, L_4, L_5, L_6, L_7, /*hidden argument*/NULL); return L_8; } } // System.DateTime System.DateTime::ParseExact(System.String,System.String[],System.IFormatProvider,System.Globalization.DateTimeStyles) extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029391; extern Il2CppCodeGenString* _stringLiteral3228388226; extern Il2CppCodeGenString* _stringLiteral3505948829; extern const uint32_t DateTime_ParseExact_m2170554314_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_ParseExact_m2170554314 (Il2CppObject * __this /* static, unused */, String_t* ___s0, StringU5BU5D_t1642385972* ___formats1, Il2CppObject * ___provider2, int32_t ___style3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_ParseExact_m2170554314_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTimeFormatInfo_t2187473504 * V_0 = NULL; DateTime_t693205669 V_1; memset(&V_1, 0, sizeof(V_1)); bool V_2 = false; Exception_t1927440687 * V_3 = NULL; { Il2CppObject * L_0 = ___provider2; IL2CPP_RUNTIME_CLASS_INIT(DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var); DateTimeFormatInfo_t2187473504 * L_1 = DateTimeFormatInfo_GetInstance_m3133223810(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = ___style3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_CheckStyle_m642182680(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); String_t* L_3 = ___s0; if (L_3) { goto IL_001e; } } { ArgumentNullException_t628810857 * L_4 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_4, _stringLiteral372029391, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_001e: { StringU5BU5D_t1642385972* L_5 = ___formats1; if (L_5) { goto IL_002f; } } { ArgumentNullException_t628810857 * L_6 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_6, _stringLiteral3228388226, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_002f: { StringU5BU5D_t1642385972* L_7 = ___formats1; if ((((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length))))) { goto IL_0042; } } { FormatException_t2948921286 * L_8 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_8, _stringLiteral3505948829, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_0042: { V_2 = (bool)0; V_3 = (Exception_t1927440687 *)NULL; String_t* L_9 = ___s0; StringU5BU5D_t1642385972* L_10 = ___formats1; DateTimeFormatInfo_t2187473504 * L_11 = V_0; int32_t L_12 = ___style3; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_13 = DateTime_ParseExact_m3381652132(NULL /*static, unused*/, L_9, L_10, L_11, L_12, (&V_1), (bool)1, (&V_2), (bool)1, (&V_3), /*hidden argument*/NULL); if (L_13) { goto IL_005e; } } { Exception_t1927440687 * L_14 = V_3; IL2CPP_RAISE_MANAGED_EXCEPTION(L_14); } IL_005e: { DateTime_t693205669 L_15 = V_1; return L_15; } } // System.Void System.DateTime::CheckStyle(System.Globalization.DateTimeStyles) extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4052329588; extern Il2CppCodeGenString* _stringLiteral627234459; extern Il2CppCodeGenString* _stringLiteral4251396138; extern const uint32_t DateTime_CheckStyle_m642182680_MetadataUsageId; extern "C" void DateTime_CheckStyle_m642182680 (Il2CppObject * __this /* static, unused */, int32_t ___style0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_CheckStyle_m642182680_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___style0; if (!((int32_t)((int32_t)L_0&(int32_t)((int32_t)128)))) { goto IL_0037; } } { int32_t L_1 = ___style0; if (((int32_t)((int32_t)L_1&(int32_t)((int32_t)16)))) { goto IL_0027; } } { int32_t L_2 = ___style0; if (((int32_t)((int32_t)L_2&(int32_t)((int32_t)32)))) { goto IL_0027; } } { int32_t L_3 = ___style0; if (!((int32_t)((int32_t)L_3&(int32_t)((int32_t)64)))) { goto IL_0037; } } IL_0027: { ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_4, _stringLiteral4052329588, _stringLiteral627234459, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0037: { int32_t L_5 = ___style0; if (!((int32_t)((int32_t)L_5&(int32_t)((int32_t)64)))) { goto IL_0059; } } { int32_t L_6 = ___style0; if (!((int32_t)((int32_t)L_6&(int32_t)((int32_t)32)))) { goto IL_0059; } } { ArgumentException_t3259014390 * L_7 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_7, _stringLiteral4251396138, _stringLiteral627234459, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0059: { return; } } // System.Boolean System.DateTime::ParseExact(System.String,System.String[],System.Globalization.DateTimeFormatInfo,System.Globalization.DateTimeStyles,System.DateTime&,System.Boolean,System.Boolean&,System.Boolean,System.Exception&) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral691663775; extern const uint32_t DateTime_ParseExact_m3381652132_MetadataUsageId; extern "C" bool DateTime_ParseExact_m3381652132 (Il2CppObject * __this /* static, unused */, String_t* ___s0, StringU5BU5D_t1642385972* ___formats1, DateTimeFormatInfo_t2187473504 * ___dfi2, int32_t ___style3, DateTime_t693205669 * ___ret4, bool ___exact5, bool* ___longYear6, bool ___setExceptionOnError7, Exception_t1927440687 ** ___exception8, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_ParseExact_m3381652132_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; bool V_1 = false; DateTime_t693205669 V_2; memset(&V_2, 0, sizeof(V_2)); String_t* V_3 = NULL; DateTimeOffset_t1362988906 V_4; memset(&V_4, 0, sizeof(V_4)); { V_1 = (bool)0; V_0 = 0; goto IL_0052; } IL_0009: { StringU5BU5D_t1642385972* L_0 = ___formats1; int32_t L_1 = V_0; int32_t L_2 = L_1; String_t* L_3 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_2)); V_3 = L_3; String_t* L_4 = V_3; if (!L_4) { goto IL_0023; } } { String_t* L_5 = V_3; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_6 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_7 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_0028; } } IL_0023: { goto IL_005b; } IL_0028: { String_t* L_8 = ___s0; StringU5BU5D_t1642385972* L_9 = ___formats1; int32_t L_10 = V_0; int32_t L_11 = L_10; String_t* L_12 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11)); bool L_13 = ___exact5; DateTimeFormatInfo_t2187473504 * L_14 = ___dfi2; int32_t L_15 = ___style3; bool* L_16 = ___longYear6; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_17 = DateTime__DoParse_m2575003737(NULL /*static, unused*/, L_8, L_12, (String_t*)NULL, L_13, (&V_2), (&V_4), L_14, L_15, (bool)0, (&V_1), L_16, /*hidden argument*/NULL); if (!L_17) { goto IL_004e; } } { DateTime_t693205669 * L_18 = ___ret4; DateTime_t693205669 L_19 = V_2; (*(DateTime_t693205669 *)L_18) = L_19; return (bool)1; } IL_004e: { int32_t L_20 = V_0; V_0 = ((int32_t)((int32_t)L_20+(int32_t)1)); } IL_0052: { int32_t L_21 = V_0; StringU5BU5D_t1642385972* L_22 = ___formats1; if ((((int32_t)L_21) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_22)->max_length))))))) { goto IL_0009; } } IL_005b: { bool L_23 = ___setExceptionOnError7; if (!L_23) { goto IL_006f; } } { Exception_t1927440687 ** L_24 = ___exception8; FormatException_t2948921286 * L_25 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_25, _stringLiteral691663775, /*hidden argument*/NULL); *((Il2CppObject **)(L_24)) = (Il2CppObject *)L_25; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_24), (Il2CppObject *)L_25); } IL_006f: { DateTime_t693205669 * L_26 = ___ret4; IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_27 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); (*(DateTime_t693205669 *)L_26) = L_27; return (bool)0; } } // System.DateTime System.DateTime::Subtract(System.TimeSpan) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_Subtract_m698282245_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_Subtract_m698282245 (DateTime_t693205669 * __this, TimeSpan_t3430258949 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_Subtract_m698282245_MetadataUsageId); s_Il2CppMethodInitialized = true; } TimeSpan_t3430258949 V_0; memset(&V_0, 0, sizeof(V_0)); DateTime_t693205669 V_1; memset(&V_1, 0, sizeof(V_1)); { TimeSpan_t3430258949 * L_0 = __this->get_address_of_ticks_0(); int64_t L_1 = TimeSpan_get_Ticks_m2285358246(L_0, /*hidden argument*/NULL); TimeSpan_t3430258949 L_2; memset(&L_2, 0, sizeof(L_2)); TimeSpan__ctor_m96381766(&L_2, L_1, /*hidden argument*/NULL); TimeSpan_t3430258949 L_3 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_4 = TimeSpan_op_Subtraction_m4155695851(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); V_0 = L_4; TimeSpan_t3430258949 L_5 = V_0; DateTime__ctor_m3604679583((&V_1), (bool)1, L_5, /*hidden argument*/NULL); int32_t L_6 = __this->get_kind_1(); (&V_1)->set_kind_1(L_6); DateTime_t693205669 L_7 = V_1; return L_7; } } extern "C" DateTime_t693205669 DateTime_Subtract_m698282245_AdjustorThunk (Il2CppObject * __this, TimeSpan_t3430258949 ___value0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_Subtract_m698282245(_thisAdjusted, ___value0, method); } // System.String System.DateTime::ToString() extern Il2CppCodeGenString* _stringLiteral372029403; extern const uint32_t DateTime_ToString_m1117481977_MetadataUsageId; extern "C" String_t* DateTime_ToString_m1117481977 (DateTime_t693205669 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_ToString_m1117481977_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = DateTime_ToString_m2276663647(__this, _stringLiteral372029403, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_0; } } extern "C" String_t* DateTime_ToString_m1117481977_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_ToString_m1117481977(_thisAdjusted, method); } // System.String System.DateTime::ToString(System.IFormatProvider) extern "C" String_t* DateTime_ToString_m3108726445 (DateTime_t693205669 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { { Il2CppObject * L_0 = ___provider0; String_t* L_1 = DateTime_ToString_m2276663647(__this, (String_t*)NULL, L_0, /*hidden argument*/NULL); return L_1; } } extern "C" String_t* DateTime_ToString_m3108726445_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_ToString_m3108726445(_thisAdjusted, ___provider0, method); } // System.String System.DateTime::ToString(System.String,System.IFormatProvider) extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029403; extern Il2CppCodeGenString* _stringLiteral1812570695; extern const uint32_t DateTime_ToString_m2276663647_MetadataUsageId; extern "C" String_t* DateTime_ToString_m2276663647 (DateTime_t693205669 * __this, String_t* ___format0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_ToString_m2276663647_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTimeFormatInfo_t2187473504 * V_0 = NULL; bool V_1 = false; bool V_2 = false; Il2CppChar V_3 = 0x0; { Il2CppObject * L_0 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var); DateTimeFormatInfo_t2187473504 * L_1 = DateTimeFormatInfo_GetInstance_m3133223810(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; String_t* L_2 = ___format0; if (!L_2) { goto IL_001d; } } { String_t* L_3 = ___format0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_4 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_5 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0024; } } IL_001d: { ___format0 = _stringLiteral372029403; } IL_0024: { V_1 = (bool)0; V_2 = (bool)0; String_t* L_6 = ___format0; int32_t L_7 = String_get_Length_m1606060069(L_6, /*hidden argument*/NULL); if ((!(((uint32_t)L_7) == ((uint32_t)1)))) { goto IL_0070; } } { String_t* L_8 = ___format0; Il2CppChar L_9 = String_get_Chars_m4230566705(L_8, 0, /*hidden argument*/NULL); V_3 = L_9; Il2CppChar L_10 = V_3; DateTimeFormatInfo_t2187473504 * L_11 = V_0; String_t* L_12 = DateTimeUtils_GetStandardPattern_m32972750(NULL /*static, unused*/, L_10, L_11, (&V_1), (&V_2), /*hidden argument*/NULL); ___format0 = L_12; Il2CppChar L_13 = V_3; if ((!(((uint32_t)L_13) == ((uint32_t)((int32_t)85))))) { goto IL_005f; } } { DateTime_t693205669 L_14 = DateTime_ToUniversalTime_m1815024752(__this, /*hidden argument*/NULL); String_t* L_15 = ___format0; DateTimeFormatInfo_t2187473504 * L_16 = V_0; String_t* L_17 = DateTimeUtils_ToString_m3747722398(NULL /*static, unused*/, L_14, L_15, L_16, /*hidden argument*/NULL); return L_17; } IL_005f: { String_t* L_18 = ___format0; if (L_18) { goto IL_0070; } } { FormatException_t2948921286 * L_19 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_19, _stringLiteral1812570695, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_19); } IL_0070: { String_t* L_20 = ___format0; DateTimeFormatInfo_t2187473504 * L_21 = V_0; String_t* L_22 = DateTimeUtils_ToString_m3747722398(NULL /*static, unused*/, (*(DateTime_t693205669 *)__this), L_20, L_21, /*hidden argument*/NULL); return L_22; } } extern "C" String_t* DateTime_ToString_m2276663647_AdjustorThunk (Il2CppObject * __this, String_t* ___format0, Il2CppObject * ___provider1, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_ToString_m2276663647(_thisAdjusted, ___format0, ___provider1, method); } // System.DateTime System.DateTime::ToLocalTime() extern Il2CppClass* TimeZone_t4008205267_il2cpp_TypeInfo_var; extern const uint32_t DateTime_ToLocalTime_m1957689902_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_ToLocalTime_m1957689902 (DateTime_t693205669 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_ToLocalTime_m1957689902_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(TimeZone_t4008205267_il2cpp_TypeInfo_var); TimeZone_t4008205267 * L_0 = TimeZone_get_CurrentTimeZone_m3729014954(NULL /*static, unused*/, /*hidden argument*/NULL); DateTime_t693205669 L_1 = VirtFuncInvoker1< DateTime_t693205669 , DateTime_t693205669 >::Invoke(7 /* System.DateTime System.TimeZone::ToLocalTime(System.DateTime) */, L_0, (*(DateTime_t693205669 *)__this)); return L_1; } } extern "C" DateTime_t693205669 DateTime_ToLocalTime_m1957689902_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_ToLocalTime_m1957689902(_thisAdjusted, method); } // System.DateTime System.DateTime::ToUniversalTime() extern Il2CppClass* TimeZone_t4008205267_il2cpp_TypeInfo_var; extern const uint32_t DateTime_ToUniversalTime_m1815024752_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_ToUniversalTime_m1815024752 (DateTime_t693205669 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_ToUniversalTime_m1815024752_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(TimeZone_t4008205267_il2cpp_TypeInfo_var); TimeZone_t4008205267 * L_0 = TimeZone_get_CurrentTimeZone_m3729014954(NULL /*static, unused*/, /*hidden argument*/NULL); DateTime_t693205669 L_1 = VirtFuncInvoker1< DateTime_t693205669 , DateTime_t693205669 >::Invoke(8 /* System.DateTime System.TimeZone::ToUniversalTime(System.DateTime) */, L_0, (*(DateTime_t693205669 *)__this)); return L_1; } } extern "C" DateTime_t693205669 DateTime_ToUniversalTime_m1815024752_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTime_t693205669 * _thisAdjusted = reinterpret_cast<DateTime_t693205669 *>(__this + 1); return DateTime_ToUniversalTime_m1815024752(_thisAdjusted, method); } // System.DateTime System.DateTime::op_Addition(System.DateTime,System.TimeSpan) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_op_Addition_m1268923147_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_op_Addition_m1268923147 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___d0, TimeSpan_t3430258949 ___t1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_op_Addition_m1268923147_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); { TimeSpan_t3430258949 L_0 = (&___d0)->get_ticks_0(); TimeSpan_t3430258949 L_1 = ___t1; IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_2 = TimeSpan_op_Addition_m3421801803(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); DateTime__ctor_m3604679583((&V_0), (bool)1, L_2, /*hidden argument*/NULL); int32_t L_3 = (&___d0)->get_kind_1(); (&V_0)->set_kind_1(L_3); DateTime_t693205669 L_4 = V_0; return L_4; } } // System.Boolean System.DateTime::op_Equality(System.DateTime,System.DateTime) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_op_Equality_m1867073872_MetadataUsageId; extern "C" bool DateTime_op_Equality_m1867073872 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___d10, DateTime_t693205669 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_op_Equality_m1867073872_MetadataUsageId); s_Il2CppMethodInitialized = true; } { TimeSpan_t3430258949 L_0 = (&___d10)->get_ticks_0(); TimeSpan_t3430258949 L_1 = (&___d21)->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_2 = TimeSpan_op_Equality_m3565136304(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.DateTime::op_GreaterThan(System.DateTime,System.DateTime) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_op_GreaterThan_m2730200039_MetadataUsageId; extern "C" bool DateTime_op_GreaterThan_m2730200039 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___t10, DateTime_t693205669 ___t21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_op_GreaterThan_m2730200039_MetadataUsageId); s_Il2CppMethodInitialized = true; } { TimeSpan_t3430258949 L_0 = (&___t10)->get_ticks_0(); TimeSpan_t3430258949 L_1 = (&___t21)->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_2 = TimeSpan_op_GreaterThan_m2202243191(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.DateTime::op_GreaterThanOrEqual(System.DateTime,System.DateTime) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_op_GreaterThanOrEqual_m3818963848_MetadataUsageId; extern "C" bool DateTime_op_GreaterThanOrEqual_m3818963848 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___t10, DateTime_t693205669 ___t21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_op_GreaterThanOrEqual_m3818963848_MetadataUsageId); s_Il2CppMethodInitialized = true; } { TimeSpan_t3430258949 L_0 = (&___t10)->get_ticks_0(); TimeSpan_t3430258949 L_1 = (&___t21)->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_2 = TimeSpan_op_GreaterThanOrEqual_m3997050520(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.DateTime::op_Inequality(System.DateTime,System.DateTime) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_op_Inequality_m1607380213_MetadataUsageId; extern "C" bool DateTime_op_Inequality_m1607380213 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___d10, DateTime_t693205669 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_op_Inequality_m1607380213_MetadataUsageId); s_Il2CppMethodInitialized = true; } { TimeSpan_t3430258949 L_0 = (&___d10)->get_ticks_0(); TimeSpan_t3430258949 L_1 = (&___d21)->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_2 = TimeSpan_op_Inequality_m257547441(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.DateTime::op_LessThan(System.DateTime,System.DateTime) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_op_LessThan_m3944619870_MetadataUsageId; extern "C" bool DateTime_op_LessThan_m3944619870 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___t10, DateTime_t693205669 ___t21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_op_LessThan_m3944619870_MetadataUsageId); s_Il2CppMethodInitialized = true; } { TimeSpan_t3430258949 L_0 = (&___t10)->get_ticks_0(); TimeSpan_t3430258949 L_1 = (&___t21)->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_2 = TimeSpan_op_LessThan_m3463318786(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.DateTime::op_LessThanOrEqual(System.DateTime,System.DateTime) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_op_LessThanOrEqual_m2191641069_MetadataUsageId; extern "C" bool DateTime_op_LessThanOrEqual_m2191641069 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___t10, DateTime_t693205669 ___t21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_op_LessThanOrEqual_m2191641069_MetadataUsageId); s_Il2CppMethodInitialized = true; } { TimeSpan_t3430258949 L_0 = (&___t10)->get_ticks_0(); TimeSpan_t3430258949 L_1 = (&___t21)->get_ticks_0(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_2 = TimeSpan_op_LessThanOrEqual_m3258610889(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.DateTime System.DateTime::op_Subtraction(System.DateTime,System.TimeSpan) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const uint32_t DateTime_op_Subtraction_m813614715_MetadataUsageId; extern "C" DateTime_t693205669 DateTime_op_Subtraction_m813614715 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___d0, TimeSpan_t3430258949 ___t1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTime_op_Subtraction_m813614715_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); { TimeSpan_t3430258949 L_0 = (&___d0)->get_ticks_0(); TimeSpan_t3430258949 L_1 = ___t1; IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_2 = TimeSpan_op_Subtraction_m4155695851(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); DateTime__ctor_m3604679583((&V_0), (bool)1, L_2, /*hidden argument*/NULL); int32_t L_3 = (&___d0)->get_kind_1(); (&V_0)->set_kind_1(L_3); DateTime_t693205669 L_4 = V_0; return L_4; } } // System.Void System.DateTimeOffset::.ctor(System.DateTime) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern Il2CppClass* TimeZone_t4008205267_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2074326073; extern const uint32_t DateTimeOffset__ctor_m428942261_MetadataUsageId; extern "C" void DateTimeOffset__ctor_m428942261 (DateTimeOffset_t1362988906 * __this, DateTime_t693205669 ___dateTime0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset__ctor_m428942261_MetadataUsageId); s_Il2CppMethodInitialized = true; } { DateTime_t693205669 L_0 = ___dateTime0; __this->set_dt_2(L_0); int32_t L_1 = DateTime_get_Kind_m1331920314((&___dateTime0), /*hidden argument*/NULL); if ((!(((uint32_t)L_1) == ((uint32_t)1)))) { goto IL_0024; } } { IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_2 = ((TimeSpan_t3430258949_StaticFields*)TimeSpan_t3430258949_il2cpp_TypeInfo_var->static_fields)->get_Zero_2(); __this->set_utc_offset_3(L_2); goto IL_0035; } IL_0024: { IL2CPP_RUNTIME_CLASS_INIT(TimeZone_t4008205267_il2cpp_TypeInfo_var); TimeZone_t4008205267 * L_3 = TimeZone_get_CurrentTimeZone_m3729014954(NULL /*static, unused*/, /*hidden argument*/NULL); DateTime_t693205669 L_4 = ___dateTime0; TimeSpan_t3430258949 L_5 = VirtFuncInvoker1< TimeSpan_t3430258949 , DateTime_t693205669 >::Invoke(5 /* System.TimeSpan System.TimeZone::GetUtcOffset(System.DateTime) */, L_3, L_4); __this->set_utc_offset_3(L_5); } IL_0035: { DateTime_t693205669 L_6 = DateTimeOffset_get_UtcDateTime_m3162550774(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_7 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); bool L_8 = DateTime_op_LessThan_m3944619870(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); if (L_8) { goto IL_005f; } } { DateTime_t693205669 L_9 = DateTimeOffset_get_UtcDateTime_m3162550774(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_10 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MaxValue_2(); bool L_11 = DateTime_op_GreaterThan_m2730200039(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL); if (!L_11) { goto IL_006a; } } IL_005f: { ArgumentOutOfRangeException_t279959794 * L_12 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_12, _stringLiteral2074326073, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_006a: { return; } } extern "C" void DateTimeOffset__ctor_m428942261_AdjustorThunk (Il2CppObject * __this, DateTime_t693205669 ___dateTime0, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); DateTimeOffset__ctor_m428942261(_thisAdjusted, ___dateTime0, method); } // System.Void System.DateTimeOffset::.ctor(System.DateTime,System.TimeSpan) extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* TimeZone_t4008205267_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral963710564; extern Il2CppCodeGenString* _stringLiteral3373675960; extern Il2CppCodeGenString* _stringLiteral636153089; extern Il2CppCodeGenString* _stringLiteral2030197776; extern Il2CppCodeGenString* _stringLiteral3702611516; extern const uint32_t DateTimeOffset__ctor_m2870721395_MetadataUsageId; extern "C" void DateTimeOffset__ctor_m2870721395 (DateTimeOffset_t1362988906 * __this, DateTime_t693205669 ___dateTime0, TimeSpan_t3430258949 ___offset1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset__ctor_m2870721395_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = DateTime_get_Kind_m1331920314((&___dateTime0), /*hidden argument*/NULL); if ((!(((uint32_t)L_0) == ((uint32_t)1)))) { goto IL_0028; } } { TimeSpan_t3430258949 L_1 = ___offset1; IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_2 = ((TimeSpan_t3430258949_StaticFields*)TimeSpan_t3430258949_il2cpp_TypeInfo_var->static_fields)->get_Zero_2(); bool L_3 = TimeSpan_op_Inequality_m257547441(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); if (!L_3) { goto IL_0028; } } { ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_4, _stringLiteral963710564, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0028: { int32_t L_5 = DateTime_get_Kind_m1331920314((&___dateTime0), /*hidden argument*/NULL); if ((!(((uint32_t)L_5) == ((uint32_t)2)))) { goto IL_0056; } } { TimeSpan_t3430258949 L_6 = ___offset1; IL2CPP_RUNTIME_CLASS_INIT(TimeZone_t4008205267_il2cpp_TypeInfo_var); TimeZone_t4008205267 * L_7 = TimeZone_get_CurrentTimeZone_m3729014954(NULL /*static, unused*/, /*hidden argument*/NULL); DateTime_t693205669 L_8 = ___dateTime0; TimeSpan_t3430258949 L_9 = VirtFuncInvoker1< TimeSpan_t3430258949 , DateTime_t693205669 >::Invoke(5 /* System.TimeSpan System.TimeZone::GetUtcOffset(System.DateTime) */, L_7, L_8); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_10 = TimeSpan_op_Inequality_m257547441(NULL /*static, unused*/, L_6, L_9, /*hidden argument*/NULL); if (!L_10) { goto IL_0056; } } { ArgumentException_t3259014390 * L_11 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_11, _stringLiteral3373675960, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_0056: { int64_t L_12 = TimeSpan_get_Ticks_m2285358246((&___offset1), /*hidden argument*/NULL); if (!((int64_t)((int64_t)L_12%(int64_t)(((int64_t)((int64_t)((int32_t)600000000))))))) { goto IL_0074; } } { ArgumentException_t3259014390 * L_13 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_13, _stringLiteral636153089, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } IL_0074: { TimeSpan_t3430258949 L_14 = ___offset1; TimeSpan_t3430258949 L_15; memset(&L_15, 0, sizeof(L_15)); TimeSpan__ctor_m1888018443(&L_15, ((int32_t)-14), 0, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_16 = TimeSpan_op_LessThan_m3463318786(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL); if (L_16) { goto IL_009c; } } { TimeSpan_t3430258949 L_17 = ___offset1; TimeSpan_t3430258949 L_18; memset(&L_18, 0, sizeof(L_18)); TimeSpan__ctor_m1888018443(&L_18, ((int32_t)14), 0, 0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); bool L_19 = TimeSpan_op_GreaterThan_m2202243191(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL); if (!L_19) { goto IL_00a7; } } IL_009c: { ArgumentOutOfRangeException_t279959794 * L_20 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_20, _stringLiteral2030197776, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_20); } IL_00a7: { DateTime_t693205669 L_21 = ___dateTime0; __this->set_dt_2(L_21); TimeSpan_t3430258949 L_22 = ___offset1; __this->set_utc_offset_3(L_22); DateTime_t693205669 L_23 = DateTimeOffset_get_UtcDateTime_m3162550774(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_24 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); bool L_25 = DateTime_op_LessThan_m3944619870(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL); if (L_25) { goto IL_00df; } } { DateTime_t693205669 L_26 = DateTimeOffset_get_UtcDateTime_m3162550774(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_27 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MaxValue_2(); bool L_28 = DateTime_op_GreaterThan_m2730200039(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL); if (!L_28) { goto IL_00ea; } } IL_00df: { ArgumentOutOfRangeException_t279959794 * L_29 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_29, _stringLiteral3702611516, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_29); } IL_00ea: { return; } } extern "C" void DateTimeOffset__ctor_m2870721395_AdjustorThunk (Il2CppObject * __this, DateTime_t693205669 ___dateTime0, TimeSpan_t3430258949 ___offset1, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); DateTimeOffset__ctor_m2870721395(_thisAdjusted, ___dateTime0, ___offset1, method); } // System.Void System.DateTimeOffset::.ctor(System.Int64,System.TimeSpan) extern "C" void DateTimeOffset__ctor_m2110004919 (DateTimeOffset_t1362988906 * __this, int64_t ___ticks0, TimeSpan_t3430258949 ___offset1, const MethodInfo* method) { { int64_t L_0 = ___ticks0; DateTime_t693205669 L_1; memset(&L_1, 0, sizeof(L_1)); DateTime__ctor_m2586249130(&L_1, L_0, /*hidden argument*/NULL); TimeSpan_t3430258949 L_2 = ___offset1; DateTimeOffset__ctor_m2870721395(__this, L_1, L_2, /*hidden argument*/NULL); return; } } extern "C" void DateTimeOffset__ctor_m2110004919_AdjustorThunk (Il2CppObject * __this, int64_t ___ticks0, TimeSpan_t3430258949 ___offset1, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); DateTimeOffset__ctor_m2110004919(_thisAdjusted, ___ticks0, ___offset1, method); } // System.Void System.DateTimeOffset::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern const Il2CppType* DateTime_t693205669_0_0_0_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4277061997; extern Il2CppCodeGenString* _stringLiteral3458160958; extern const uint32_t DateTimeOffset__ctor_m1796624924_MetadataUsageId; extern "C" void DateTimeOffset__ctor_m1796624924 (DateTimeOffset_t1362988906 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset__ctor_m1796624924_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); int16_t V_1 = 0; { SerializationInfo_t228987430 * L_0 = ___info0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_1 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(DateTime_t693205669_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_2 = SerializationInfo_GetValue_m1127314592(L_0, _stringLiteral4277061997, L_1, /*hidden argument*/NULL); V_0 = ((*(DateTime_t693205669 *)((DateTime_t693205669 *)UnBox (L_2, DateTime_t693205669_il2cpp_TypeInfo_var)))); SerializationInfo_t228987430 * L_3 = ___info0; int16_t L_4 = SerializationInfo_GetInt16_m3549836657(L_3, _stringLiteral3458160958, /*hidden argument*/NULL); V_1 = L_4; int16_t L_5 = V_1; IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_6 = TimeSpan_FromMinutes_m1997633268(NULL /*static, unused*/, (((double)((double)L_5))), /*hidden argument*/NULL); __this->set_utc_offset_3(L_6); TimeSpan_t3430258949 L_7 = __this->get_utc_offset_3(); DateTime_t693205669 L_8 = DateTime_Add_m4237489122((&V_0), L_7, /*hidden argument*/NULL); __this->set_dt_2(L_8); return; } } extern "C" void DateTimeOffset__ctor_m1796624924_AdjustorThunk (Il2CppObject * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); DateTimeOffset__ctor_m1796624924(_thisAdjusted, ___info0, ___context1, method); } // System.Void System.DateTimeOffset::.cctor() extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern Il2CppClass* DateTimeOffset_t1362988906_il2cpp_TypeInfo_var; extern Il2CppClass* MonoTouchAOTHelper_t2464748856_il2cpp_TypeInfo_var; extern Il2CppClass* GenericComparer_1_t3395931706_il2cpp_TypeInfo_var; extern Il2CppClass* GenericEqualityComparer_1_t346871042_il2cpp_TypeInfo_var; extern const MethodInfo* GenericComparer_1__ctor_m4106585959_MethodInfo_var; extern const MethodInfo* GenericEqualityComparer_1__ctor_m2311357775_MethodInfo_var; extern const uint32_t DateTimeOffset__cctor_m2475500670_MetadataUsageId; extern "C" void DateTimeOffset__cctor_m2475500670 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset__cctor_m2475500670_MetadataUsageId); s_Il2CppMethodInitialized = true; } GenericComparer_1_t3395931706 * V_0 = NULL; GenericEqualityComparer_1_t346871042 * V_1 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_0 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MaxValue_2(); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_1 = ((TimeSpan_t3430258949_StaticFields*)TimeSpan_t3430258949_il2cpp_TypeInfo_var->static_fields)->get_Zero_2(); DateTimeOffset_t1362988906 L_2; memset(&L_2, 0, sizeof(L_2)); DateTimeOffset__ctor_m2870721395(&L_2, L_0, L_1, /*hidden argument*/NULL); ((DateTimeOffset_t1362988906_StaticFields*)DateTimeOffset_t1362988906_il2cpp_TypeInfo_var->static_fields)->set_MaxValue_0(L_2); DateTime_t693205669 L_3 = ((DateTime_t693205669_StaticFields*)DateTime_t693205669_il2cpp_TypeInfo_var->static_fields)->get_MinValue_3(); TimeSpan_t3430258949 L_4 = ((TimeSpan_t3430258949_StaticFields*)TimeSpan_t3430258949_il2cpp_TypeInfo_var->static_fields)->get_Zero_2(); DateTimeOffset_t1362988906 L_5; memset(&L_5, 0, sizeof(L_5)); DateTimeOffset__ctor_m2870721395(&L_5, L_3, L_4, /*hidden argument*/NULL); ((DateTimeOffset_t1362988906_StaticFields*)DateTimeOffset_t1362988906_il2cpp_TypeInfo_var->static_fields)->set_MinValue_1(L_5); IL2CPP_RUNTIME_CLASS_INIT(MonoTouchAOTHelper_t2464748856_il2cpp_TypeInfo_var); bool L_6 = ((MonoTouchAOTHelper_t2464748856_StaticFields*)MonoTouchAOTHelper_t2464748856_il2cpp_TypeInfo_var->static_fields)->get_FalseFlag_0(); if (!L_6) { goto IL_003e; } } { GenericComparer_1_t3395931706 * L_7 = (GenericComparer_1_t3395931706 *)il2cpp_codegen_object_new(GenericComparer_1_t3395931706_il2cpp_TypeInfo_var); GenericComparer_1__ctor_m4106585959(L_7, /*hidden argument*/GenericComparer_1__ctor_m4106585959_MethodInfo_var); V_0 = L_7; GenericEqualityComparer_1_t346871042 * L_8 = (GenericEqualityComparer_1_t346871042 *)il2cpp_codegen_object_new(GenericEqualityComparer_1_t346871042_il2cpp_TypeInfo_var); GenericEqualityComparer_1__ctor_m2311357775(L_8, /*hidden argument*/GenericEqualityComparer_1__ctor_m2311357775_MethodInfo_var); V_1 = L_8; } IL_003e: { return; } } // System.Int32 System.DateTimeOffset::System.IComparable.CompareTo(System.Object) extern Il2CppClass* DateTimeOffset_t1362988906_il2cpp_TypeInfo_var; extern const uint32_t DateTimeOffset_System_IComparable_CompareTo_m1775227279_MetadataUsageId; extern "C" int32_t DateTimeOffset_System_IComparable_CompareTo_m1775227279 (DateTimeOffset_t1362988906 * __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset_System_IComparable_CompareTo_m1775227279_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___obj0; int32_t L_1 = DateTimeOffset_CompareTo_m441053436(__this, ((*(DateTimeOffset_t1362988906 *)((DateTimeOffset_t1362988906 *)UnBox (L_0, DateTimeOffset_t1362988906_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL); return L_1; } } extern "C" int32_t DateTimeOffset_System_IComparable_CompareTo_m1775227279_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___obj0, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_System_IComparable_CompareTo_m1775227279(_thisAdjusted, ___obj0, method); } // System.Void System.DateTimeOffset::System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2792112382; extern Il2CppCodeGenString* _stringLiteral4277061997; extern Il2CppCodeGenString* _stringLiteral3458160958; extern const uint32_t DateTimeOffset_System_Runtime_Serialization_ISerializable_GetObjectData_m1430367682_MetadataUsageId; extern "C" void DateTimeOffset_System_Runtime_Serialization_ISerializable_GetObjectData_m1430367682 (DateTimeOffset_t1362988906 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset_System_Runtime_Serialization_ISerializable_GetObjectData_m1430367682_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); DateTime_t693205669 V_1; memset(&V_1, 0, sizeof(V_1)); { SerializationInfo_t228987430 * L_0 = ___info0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2792112382, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { DateTime_t693205669 * L_2 = __this->get_address_of_dt_2(); int64_t L_3 = DateTime_get_Ticks_m310281298(L_2, /*hidden argument*/NULL); DateTime__ctor_m2586249130((&V_1), L_3, /*hidden argument*/NULL); TimeSpan_t3430258949 L_4 = __this->get_utc_offset_3(); DateTime_t693205669 L_5 = DateTime_Subtract_m698282245((&V_1), L_4, /*hidden argument*/NULL); V_0 = L_5; SerializationInfo_t228987430 * L_6 = ___info0; DateTime_t693205669 L_7 = V_0; SerializationInfo_AddValue_m721212291(L_6, _stringLiteral4277061997, L_7, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_8 = ___info0; TimeSpan_t3430258949 * L_9 = __this->get_address_of_utc_offset_3(); double L_10 = TimeSpan_get_TotalMinutes_m1645177229(L_9, /*hidden argument*/NULL); SerializationInfo_AddValue_m2871643642(L_8, _stringLiteral3458160958, (((int16_t)((int16_t)L_10))), /*hidden argument*/NULL); return; } } extern "C" void DateTimeOffset_System_Runtime_Serialization_ISerializable_GetObjectData_m1430367682_AdjustorThunk (Il2CppObject * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); DateTimeOffset_System_Runtime_Serialization_ISerializable_GetObjectData_m1430367682(_thisAdjusted, ___info0, ___context1, method); } // System.Void System.DateTimeOffset::System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(System.Object) extern "C" void DateTimeOffset_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m1059347059 (DateTimeOffset_t1362988906 * __this, Il2CppObject * ___sender0, const MethodInfo* method) { { return; } } extern "C" void DateTimeOffset_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m1059347059_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___sender0, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); DateTimeOffset_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m1059347059(_thisAdjusted, ___sender0, method); } // System.Int32 System.DateTimeOffset::CompareTo(System.DateTimeOffset) extern "C" int32_t DateTimeOffset_CompareTo_m441053436 (DateTimeOffset_t1362988906 * __this, DateTimeOffset_t1362988906 ___other0, const MethodInfo* method) { DateTime_t693205669 V_0; memset(&V_0, 0, sizeof(V_0)); { DateTime_t693205669 L_0 = DateTimeOffset_get_UtcDateTime_m3162550774(__this, /*hidden argument*/NULL); V_0 = L_0; DateTime_t693205669 L_1 = DateTimeOffset_get_UtcDateTime_m3162550774((&___other0), /*hidden argument*/NULL); int32_t L_2 = DateTime_CompareTo_m1511117942((&V_0), L_1, /*hidden argument*/NULL); return L_2; } } extern "C" int32_t DateTimeOffset_CompareTo_m441053436_AdjustorThunk (Il2CppObject * __this, DateTimeOffset_t1362988906 ___other0, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_CompareTo_m441053436(_thisAdjusted, ___other0, method); } // System.Boolean System.DateTimeOffset::Equals(System.DateTimeOffset) extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTimeOffset_Equals_m3728302791_MetadataUsageId; extern "C" bool DateTimeOffset_Equals_m3728302791 (DateTimeOffset_t1362988906 * __this, DateTimeOffset_t1362988906 ___other0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset_Equals_m3728302791_MetadataUsageId); s_Il2CppMethodInitialized = true; } { DateTime_t693205669 L_0 = DateTimeOffset_get_UtcDateTime_m3162550774(__this, /*hidden argument*/NULL); DateTime_t693205669 L_1 = DateTimeOffset_get_UtcDateTime_m3162550774((&___other0), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_2 = DateTime_op_Equality_m1867073872(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } extern "C" bool DateTimeOffset_Equals_m3728302791_AdjustorThunk (Il2CppObject * __this, DateTimeOffset_t1362988906 ___other0, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_Equals_m3728302791(_thisAdjusted, ___other0, method); } // System.Boolean System.DateTimeOffset::Equals(System.Object) extern Il2CppClass* DateTimeOffset_t1362988906_il2cpp_TypeInfo_var; extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTimeOffset_Equals_m3467127074_MetadataUsageId; extern "C" bool DateTimeOffset_Equals_m3467127074 (DateTimeOffset_t1362988906 * __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset_Equals_m3467127074_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTimeOffset_t1362988906 V_0; memset(&V_0, 0, sizeof(V_0)); { Il2CppObject * L_0 = ___obj0; if (!((Il2CppObject *)IsInstSealed(L_0, DateTimeOffset_t1362988906_il2cpp_TypeInfo_var))) { goto IL_0025; } } { DateTime_t693205669 L_1 = DateTimeOffset_get_UtcDateTime_m3162550774(__this, /*hidden argument*/NULL); Il2CppObject * L_2 = ___obj0; V_0 = ((*(DateTimeOffset_t1362988906 *)((DateTimeOffset_t1362988906 *)UnBox (L_2, DateTimeOffset_t1362988906_il2cpp_TypeInfo_var)))); DateTime_t693205669 L_3 = DateTimeOffset_get_UtcDateTime_m3162550774((&V_0), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); bool L_4 = DateTime_op_Equality_m1867073872(NULL /*static, unused*/, L_1, L_3, /*hidden argument*/NULL); return L_4; } IL_0025: { return (bool)0; } } extern "C" bool DateTimeOffset_Equals_m3467127074_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___obj0, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_Equals_m3467127074(_thisAdjusted, ___obj0, method); } // System.Int32 System.DateTimeOffset::GetHashCode() extern "C" int32_t DateTimeOffset_GetHashCode_m3312197462 (DateTimeOffset_t1362988906 * __this, const MethodInfo* method) { { DateTime_t693205669 * L_0 = __this->get_address_of_dt_2(); int32_t L_1 = DateTime_GetHashCode_m974799321(L_0, /*hidden argument*/NULL); TimeSpan_t3430258949 * L_2 = __this->get_address_of_utc_offset_3(); int32_t L_3 = TimeSpan_GetHashCode_m550404245(L_2, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_1^(int32_t)L_3)); } } extern "C" int32_t DateTimeOffset_GetHashCode_m3312197462_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_GetHashCode_m3312197462(_thisAdjusted, method); } // System.String System.DateTimeOffset::ToString() extern "C" String_t* DateTimeOffset_ToString_m2511385248 (DateTimeOffset_t1362988906 * __this, const MethodInfo* method) { { String_t* L_0 = DateTimeOffset_ToString_m2121173678(__this, (String_t*)NULL, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_0; } } extern "C" String_t* DateTimeOffset_ToString_m2511385248_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_ToString_m2511385248(_thisAdjusted, method); } // System.String System.DateTimeOffset::ToString(System.String,System.IFormatProvider) extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppClass* TimeSpan_t3430258949_il2cpp_TypeInfo_var; extern const MethodInfo* Nullable_1__ctor_m796575255_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral372029310; extern Il2CppCodeGenString* _stringLiteral1629569048; extern Il2CppCodeGenString* _stringLiteral1812570695; extern const uint32_t DateTimeOffset_ToString_m2121173678_MetadataUsageId; extern "C" String_t* DateTimeOffset_ToString_m2121173678 (DateTimeOffset_t1362988906 * __this, String_t* ___format0, Il2CppObject * ___formatProvider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset_ToString_m2121173678_MetadataUsageId); s_Il2CppMethodInitialized = true; } DateTimeFormatInfo_t2187473504 * V_0 = NULL; bool V_1 = false; bool V_2 = false; Il2CppChar V_3 = 0x0; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); String_t* G_B12_0 = NULL; { Il2CppObject * L_0 = ___formatProvider1; IL2CPP_RUNTIME_CLASS_INIT(DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var); DateTimeFormatInfo_t2187473504 * L_1 = DateTimeFormatInfo_GetInstance_m3133223810(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; String_t* L_2 = ___format0; if (!L_2) { goto IL_001d; } } { String_t* L_3 = ___format0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_4 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_5 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_003a; } } IL_001d: { DateTimeFormatInfo_t2187473504 * L_6 = V_0; String_t* L_7 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_6, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_8 = V_0; String_t* L_9 = DateTimeFormatInfo_get_LongTimePattern_m3747294063(L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_10 = String_Concat_m1561703559(NULL /*static, unused*/, L_7, _stringLiteral372029310, L_9, _stringLiteral1629569048, /*hidden argument*/NULL); ___format0 = L_10; } IL_003a: { V_1 = (bool)0; V_2 = (bool)0; String_t* L_11 = ___format0; int32_t L_12 = String_get_Length_m1606060069(L_11, /*hidden argument*/NULL); if ((!(((uint32_t)L_12) == ((uint32_t)1)))) { goto IL_007f; } } { String_t* L_13 = ___format0; Il2CppChar L_14 = String_get_Chars_m4230566705(L_13, 0, /*hidden argument*/NULL); V_3 = L_14; } IL_0052: try { // begin try (depth: 1) Il2CppChar L_15 = V_3; DateTimeFormatInfo_t2187473504 * L_16 = V_0; String_t* L_17 = DateTimeUtils_GetStandardPattern_m4198947977(NULL /*static, unused*/, L_15, L_16, (&V_1), (&V_2), (bool)1, /*hidden argument*/NULL); ___format0 = L_17; goto IL_006e; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0065; throw e; } CATCH_0065: { // begin catch(System.Object) ___format0 = (String_t*)NULL; goto IL_006e; } // end catch (depth: 1) IL_006e: { String_t* L_18 = ___format0; if (L_18) { goto IL_007f; } } { FormatException_t2948921286 * L_19 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_19, _stringLiteral1812570695, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_19); } IL_007f: { bool L_20 = V_1; if (!L_20) { goto IL_00a1; } } { DateTime_t693205669 L_21 = DateTimeOffset_get_UtcDateTime_m3162550774(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t3430258949_il2cpp_TypeInfo_var); TimeSpan_t3430258949 L_22 = ((TimeSpan_t3430258949_StaticFields*)TimeSpan_t3430258949_il2cpp_TypeInfo_var->static_fields)->get_Zero_2(); Nullable_1_t1693325264 L_23; memset(&L_23, 0, sizeof(L_23)); Nullable_1__ctor_m796575255(&L_23, L_22, /*hidden argument*/Nullable_1__ctor_m796575255_MethodInfo_var); String_t* L_24 = ___format0; DateTimeFormatInfo_t2187473504 * L_25 = V_0; String_t* L_26 = DateTimeUtils_ToString_m3878360633(NULL /*static, unused*/, L_21, L_23, L_24, L_25, /*hidden argument*/NULL); G_B12_0 = L_26; goto IL_00b9; } IL_00a1: { DateTime_t693205669 L_27 = DateTimeOffset_get_DateTime_m229084964(__this, /*hidden argument*/NULL); TimeSpan_t3430258949 L_28 = DateTimeOffset_get_Offset_m2335492074(__this, /*hidden argument*/NULL); Nullable_1_t1693325264 L_29; memset(&L_29, 0, sizeof(L_29)); Nullable_1__ctor_m796575255(&L_29, L_28, /*hidden argument*/Nullable_1__ctor_m796575255_MethodInfo_var); String_t* L_30 = ___format0; DateTimeFormatInfo_t2187473504 * L_31 = V_0; String_t* L_32 = DateTimeUtils_ToString_m3878360633(NULL /*static, unused*/, L_27, L_29, L_30, L_31, /*hidden argument*/NULL); G_B12_0 = L_32; } IL_00b9: { return G_B12_0; } } extern "C" String_t* DateTimeOffset_ToString_m2121173678_AdjustorThunk (Il2CppObject * __this, String_t* ___format0, Il2CppObject * ___formatProvider1, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_ToString_m2121173678(_thisAdjusted, ___format0, ___formatProvider1, method); } // System.DateTime System.DateTimeOffset::get_DateTime() extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTimeOffset_get_DateTime_m229084964_MetadataUsageId; extern "C" DateTime_t693205669 DateTimeOffset_get_DateTime_m229084964 (DateTimeOffset_t1362988906 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset_get_DateTime_m229084964_MetadataUsageId); s_Il2CppMethodInitialized = true; } { DateTime_t693205669 L_0 = __this->get_dt_2(); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_1 = DateTime_SpecifyKind_m1282445794(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL); return L_1; } } extern "C" DateTime_t693205669 DateTimeOffset_get_DateTime_m229084964_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_get_DateTime_m229084964(_thisAdjusted, method); } // System.TimeSpan System.DateTimeOffset::get_Offset() extern "C" TimeSpan_t3430258949 DateTimeOffset_get_Offset_m2335492074 (DateTimeOffset_t1362988906 * __this, const MethodInfo* method) { { TimeSpan_t3430258949 L_0 = __this->get_utc_offset_3(); return L_0; } } extern "C" TimeSpan_t3430258949 DateTimeOffset_get_Offset_m2335492074_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_get_Offset_m2335492074(_thisAdjusted, method); } // System.DateTime System.DateTimeOffset::get_UtcDateTime() extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var; extern const uint32_t DateTimeOffset_get_UtcDateTime_m3162550774_MetadataUsageId; extern "C" DateTime_t693205669 DateTimeOffset_get_UtcDateTime_m3162550774 (DateTimeOffset_t1362988906 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeOffset_get_UtcDateTime_m3162550774_MetadataUsageId); s_Il2CppMethodInitialized = true; } { DateTime_t693205669 L_0 = __this->get_dt_2(); TimeSpan_t3430258949 L_1 = __this->get_utc_offset_3(); IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var); DateTime_t693205669 L_2 = DateTime_op_Subtraction_m813614715(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); DateTime_t693205669 L_3 = DateTime_SpecifyKind_m1282445794(NULL /*static, unused*/, L_2, 1, /*hidden argument*/NULL); return L_3; } } extern "C" DateTime_t693205669 DateTimeOffset_get_UtcDateTime_m3162550774_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { DateTimeOffset_t1362988906 * _thisAdjusted = reinterpret_cast<DateTimeOffset_t1362988906 *>(__this + 1); return DateTimeOffset_get_UtcDateTime_m3162550774(_thisAdjusted, method); } // System.Int32 System.DateTimeUtils::CountRepeat(System.String,System.Int32,System.Char) extern "C" int32_t DateTimeUtils_CountRepeat_m2205786495 (Il2CppObject * __this /* static, unused */, String_t* ___fmt0, int32_t ___p1, Il2CppChar ___c2, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; { String_t* L_0 = ___fmt0; int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = ___p1; V_1 = ((int32_t)((int32_t)L_2+(int32_t)1)); goto IL_0014; } IL_0010: { int32_t L_3 = V_1; V_1 = ((int32_t)((int32_t)L_3+(int32_t)1)); } IL_0014: { int32_t L_4 = V_1; int32_t L_5 = V_0; if ((((int32_t)L_4) >= ((int32_t)L_5))) { goto IL_0028; } } { String_t* L_6 = ___fmt0; int32_t L_7 = V_1; Il2CppChar L_8 = String_get_Chars_m4230566705(L_6, L_7, /*hidden argument*/NULL); Il2CppChar L_9 = ___c2; if ((((int32_t)L_8) == ((int32_t)L_9))) { goto IL_0010; } } IL_0028: { int32_t L_10 = V_1; int32_t L_11 = ___p1; return ((int32_t)((int32_t)L_10-(int32_t)L_11)); } } // System.Void System.DateTimeUtils::ZeroPad(System.Text.StringBuilder,System.Int32,System.Int32) extern "C" void DateTimeUtils_ZeroPad_m86470512 (Il2CppObject * __this /* static, unused */, StringBuilder_t1221177846 * ___output0, int32_t ___digits1, int32_t ___len2, const MethodInfo* method) { Il2CppChar* V_0 = NULL; int32_t V_1 = 0; { if ((uint64_t)(uint32_t)((int32_t)16) * (uint64_t)(uint32_t)2 > (uint64_t)(uint32_t)kIl2CppUInt32Max) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception()); int8_t* L_0 = (int8_t*) alloca(((int32_t)((int32_t)((int32_t)16)*(int32_t)2))); memset(L_0,0,((int32_t)((int32_t)((int32_t)16)*(int32_t)2))); V_0 = (Il2CppChar*)(L_0); V_1 = ((int32_t)16); } IL_000a: { Il2CppChar* L_1 = V_0; int32_t L_2 = V_1; int32_t L_3 = ((int32_t)((int32_t)L_2-(int32_t)1)); V_1 = L_3; int32_t L_4 = ___digits1; *((int16_t*)(((Il2CppChar*)((intptr_t)L_1+(int32_t)((int32_t)((int32_t)L_3*(int32_t)2)))))) = (int16_t)(((int32_t)((uint16_t)((int32_t)((int32_t)((int32_t)48)+(int32_t)((int32_t)((int32_t)L_4%(int32_t)((int32_t)10)))))))); int32_t L_5 = ___digits1; ___digits1 = ((int32_t)((int32_t)L_5/(int32_t)((int32_t)10))); int32_t L_6 = ___len2; ___len2 = ((int32_t)((int32_t)L_6-(int32_t)1)); int32_t L_7 = ___digits1; if ((((int32_t)L_7) > ((int32_t)0))) { goto IL_000a; } } { goto IL_003f; } IL_0033: { Il2CppChar* L_8 = V_0; int32_t L_9 = V_1; int32_t L_10 = ((int32_t)((int32_t)L_9-(int32_t)1)); V_1 = L_10; *((int16_t*)(((Il2CppChar*)((intptr_t)L_8+(int32_t)((int32_t)((int32_t)L_10*(int32_t)2)))))) = (int16_t)((int32_t)48); } IL_003f: { int32_t L_11 = ___len2; int32_t L_12 = L_11; ___len2 = ((int32_t)((int32_t)L_12-(int32_t)1)); if ((((int32_t)L_12) > ((int32_t)0))) { goto IL_0033; } } { StringBuilder_t1221177846 * L_13 = ___output0; Il2CppChar* L_14 = V_0; int32_t L_15 = V_1; int32_t L_16 = V_1; String_t* L_17 = String_CreateString_m3376998739(NULL, (Il2CppChar*)(Il2CppChar*)L_14, L_15, ((int32_t)((int32_t)((int32_t)16)-(int32_t)L_16)), /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_13, L_17, /*hidden argument*/NULL); return; } } // System.Int32 System.DateTimeUtils::ParseQuotedString(System.String,System.Int32,System.Text.StringBuilder) extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral396424288; extern const uint32_t DateTimeUtils_ParseQuotedString_m569743800_MetadataUsageId; extern "C" int32_t DateTimeUtils_ParseQuotedString_m569743800 (Il2CppObject * __this /* static, unused */, String_t* ___fmt0, int32_t ___pos1, StringBuilder_t1221177846 * ___output2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeUtils_ParseQuotedString_m569743800_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; Il2CppChar V_2 = 0x0; Il2CppChar V_3 = 0x0; { String_t* L_0 = ___fmt0; int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = ___pos1; V_1 = L_2; String_t* L_3 = ___fmt0; int32_t L_4 = ___pos1; int32_t L_5 = L_4; ___pos1 = ((int32_t)((int32_t)L_5+(int32_t)1)); Il2CppChar L_6 = String_get_Chars_m4230566705(L_3, L_5, /*hidden argument*/NULL); V_2 = L_6; goto IL_006d; } IL_001b: { String_t* L_7 = ___fmt0; int32_t L_8 = ___pos1; int32_t L_9 = L_8; ___pos1 = ((int32_t)((int32_t)L_9+(int32_t)1)); Il2CppChar L_10 = String_get_Chars_m4230566705(L_7, L_9, /*hidden argument*/NULL); V_3 = L_10; Il2CppChar L_11 = V_3; Il2CppChar L_12 = V_2; if ((!(((uint32_t)L_11) == ((uint32_t)L_12)))) { goto IL_0033; } } { int32_t L_13 = ___pos1; int32_t L_14 = V_1; return ((int32_t)((int32_t)L_13-(int32_t)L_14)); } IL_0033: { Il2CppChar L_15 = V_3; if ((!(((uint32_t)L_15) == ((uint32_t)((int32_t)92))))) { goto IL_0065; } } { int32_t L_16 = ___pos1; int32_t L_17 = V_0; if ((((int32_t)L_16) < ((int32_t)L_17))) { goto IL_004d; } } { FormatException_t2948921286 * L_18 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_18, _stringLiteral396424288, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_18); } IL_004d: { StringBuilder_t1221177846 * L_19 = ___output2; String_t* L_20 = ___fmt0; int32_t L_21 = ___pos1; int32_t L_22 = L_21; ___pos1 = ((int32_t)((int32_t)L_22+(int32_t)1)); Il2CppChar L_23 = String_get_Chars_m4230566705(L_20, L_22, /*hidden argument*/NULL); StringBuilder_Append_m3618697540(L_19, L_23, /*hidden argument*/NULL); goto IL_006d; } IL_0065: { StringBuilder_t1221177846 * L_24 = ___output2; Il2CppChar L_25 = V_3; StringBuilder_Append_m3618697540(L_24, L_25, /*hidden argument*/NULL); } IL_006d: { int32_t L_26 = ___pos1; int32_t L_27 = V_0; if ((((int32_t)L_26) < ((int32_t)L_27))) { goto IL_001b; } } { FormatException_t2948921286 * L_28 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_28, _stringLiteral396424288, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_28); } } // System.String System.DateTimeUtils::GetStandardPattern(System.Char,System.Globalization.DateTimeFormatInfo,System.Boolean&,System.Boolean&) extern "C" String_t* DateTimeUtils_GetStandardPattern_m32972750 (Il2CppObject * __this /* static, unused */, Il2CppChar ___format0, DateTimeFormatInfo_t2187473504 * ___dfi1, bool* ___useutc2, bool* ___use_invariant3, const MethodInfo* method) { { Il2CppChar L_0 = ___format0; DateTimeFormatInfo_t2187473504 * L_1 = ___dfi1; bool* L_2 = ___useutc2; bool* L_3 = ___use_invariant3; String_t* L_4 = DateTimeUtils_GetStandardPattern_m4198947977(NULL /*static, unused*/, L_0, L_1, L_2, L_3, (bool)0, /*hidden argument*/NULL); return L_4; } } // System.String System.DateTimeUtils::GetStandardPattern(System.Char,System.Globalization.DateTimeFormatInfo,System.Boolean&,System.Boolean&,System.Boolean) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029310; extern const uint32_t DateTimeUtils_GetStandardPattern_m4198947977_MetadataUsageId; extern "C" String_t* DateTimeUtils_GetStandardPattern_m4198947977 (Il2CppObject * __this /* static, unused */, Il2CppChar ___format0, DateTimeFormatInfo_t2187473504 * ___dfi1, bool* ___useutc2, bool* ___use_invariant3, bool ___date_time_offset4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeUtils_GetStandardPattern_m4198947977_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; Il2CppChar V_1 = 0x0; { bool* L_0 = ___useutc2; *((int8_t*)(L_0)) = (int8_t)0; bool* L_1 = ___use_invariant3; *((int8_t*)(L_1)) = (int8_t)0; Il2CppChar L_2 = ___format0; V_1 = L_2; Il2CppChar L_3 = V_1; if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 0) { goto IL_0129; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 1) { goto IL_0045; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 2) { goto IL_0135; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 3) { goto IL_0045; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 4) { goto IL_0045; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 5) { goto IL_0144; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 6) { goto IL_015d; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 7) { goto IL_016c; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 8) { goto IL_0184; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 9) { goto IL_0045; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 10) { goto IL_0045; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 11) { goto IL_0045; } if (((int32_t)((int32_t)L_3-(int32_t)((int32_t)109))) == 12) { goto IL_01ba; } } IL_0045: { Il2CppChar L_4 = V_1; if (((int32_t)((int32_t)L_4-(int32_t)((int32_t)77))) == 0) { goto IL_0129; } if (((int32_t)((int32_t)L_4-(int32_t)((int32_t)77))) == 1) { goto IL_0072; } if (((int32_t)((int32_t)L_4-(int32_t)((int32_t)77))) == 2) { goto IL_0135; } if (((int32_t)((int32_t)L_4-(int32_t)((int32_t)77))) == 3) { goto IL_0072; } if (((int32_t)((int32_t)L_4-(int32_t)((int32_t)77))) == 4) { goto IL_0072; } if (((int32_t)((int32_t)L_4-(int32_t)((int32_t)77))) == 5) { goto IL_0144; } if (((int32_t)((int32_t)L_4-(int32_t)((int32_t)77))) == 6) { goto IL_0072; } if (((int32_t)((int32_t)L_4-(int32_t)((int32_t)77))) == 7) { goto IL_0178; } if (((int32_t)((int32_t)L_4-(int32_t)((int32_t)77))) == 8) { goto IL_019d; } } IL_0072: { Il2CppChar L_5 = V_1; if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)68))) == 0) { goto IL_00bd; } if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)68))) == 1) { goto IL_008b; } if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)68))) == 2) { goto IL_00e5; } if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)68))) == 3) { goto IL_010d; } } IL_008b: { Il2CppChar L_6 = V_1; if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)100))) == 0) { goto IL_00b1; } if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)100))) == 1) { goto IL_00a4; } if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)100))) == 2) { goto IL_00c9; } if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)100))) == 3) { goto IL_00f1; } } IL_00a4: { Il2CppChar L_7 = V_1; if ((((int32_t)L_7) == ((int32_t)((int32_t)89)))) { goto IL_01ba; } } { goto IL_01c6; } IL_00b1: { DateTimeFormatInfo_t2187473504 * L_8 = ___dfi1; String_t* L_9 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_8, /*hidden argument*/NULL); V_0 = L_9; goto IL_01cd; } IL_00bd: { DateTimeFormatInfo_t2187473504 * L_10 = ___dfi1; String_t* L_11 = DateTimeFormatInfo_get_LongDatePattern_m3041177390(L_10, /*hidden argument*/NULL); V_0 = L_11; goto IL_01cd; } IL_00c9: { DateTimeFormatInfo_t2187473504 * L_12 = ___dfi1; String_t* L_13 = DateTimeFormatInfo_get_LongDatePattern_m3041177390(L_12, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_14 = ___dfi1; String_t* L_15 = DateTimeFormatInfo_get_ShortTimePattern_m20923983(L_14, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_16 = String_Concat_m612901809(NULL /*static, unused*/, L_13, _stringLiteral372029310, L_15, /*hidden argument*/NULL); V_0 = L_16; goto IL_01cd; } IL_00e5: { DateTimeFormatInfo_t2187473504 * L_17 = ___dfi1; String_t* L_18 = DateTimeFormatInfo_get_FullDateTimePattern_m2607507656(L_17, /*hidden argument*/NULL); V_0 = L_18; goto IL_01cd; } IL_00f1: { DateTimeFormatInfo_t2187473504 * L_19 = ___dfi1; String_t* L_20 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_19, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_21 = ___dfi1; String_t* L_22 = DateTimeFormatInfo_get_ShortTimePattern_m20923983(L_21, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_23 = String_Concat_m612901809(NULL /*static, unused*/, L_20, _stringLiteral372029310, L_22, /*hidden argument*/NULL); V_0 = L_23; goto IL_01cd; } IL_010d: { DateTimeFormatInfo_t2187473504 * L_24 = ___dfi1; String_t* L_25 = DateTimeFormatInfo_get_ShortDatePattern_m994817156(L_24, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_26 = ___dfi1; String_t* L_27 = DateTimeFormatInfo_get_LongTimePattern_m3747294063(L_26, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_28 = String_Concat_m612901809(NULL /*static, unused*/, L_25, _stringLiteral372029310, L_27, /*hidden argument*/NULL); V_0 = L_28; goto IL_01cd; } IL_0129: { DateTimeFormatInfo_t2187473504 * L_29 = ___dfi1; String_t* L_30 = DateTimeFormatInfo_get_MonthDayPattern_m3957878440(L_29, /*hidden argument*/NULL); V_0 = L_30; goto IL_01cd; } IL_0135: { DateTimeFormatInfo_t2187473504 * L_31 = ___dfi1; String_t* L_32 = DateTimeFormatInfo_get_RoundtripPattern_m562440017(L_31, /*hidden argument*/NULL); V_0 = L_32; bool* L_33 = ___use_invariant3; *((int8_t*)(L_33)) = (int8_t)1; goto IL_01cd; } IL_0144: { DateTimeFormatInfo_t2187473504 * L_34 = ___dfi1; String_t* L_35 = DateTimeFormatInfo_get_RFC1123Pattern_m1091572742(L_34, /*hidden argument*/NULL); V_0 = L_35; bool L_36 = ___date_time_offset4; if (!L_36) { goto IL_0155; } } { bool* L_37 = ___useutc2; *((int8_t*)(L_37)) = (int8_t)1; } IL_0155: { bool* L_38 = ___use_invariant3; *((int8_t*)(L_38)) = (int8_t)1; goto IL_01cd; } IL_015d: { DateTimeFormatInfo_t2187473504 * L_39 = ___dfi1; String_t* L_40 = DateTimeFormatInfo_get_SortableDateTimePattern_m2363707385(L_39, /*hidden argument*/NULL); V_0 = L_40; bool* L_41 = ___use_invariant3; *((int8_t*)(L_41)) = (int8_t)1; goto IL_01cd; } IL_016c: { DateTimeFormatInfo_t2187473504 * L_42 = ___dfi1; String_t* L_43 = DateTimeFormatInfo_get_ShortTimePattern_m20923983(L_42, /*hidden argument*/NULL); V_0 = L_43; goto IL_01cd; } IL_0178: { DateTimeFormatInfo_t2187473504 * L_44 = ___dfi1; String_t* L_45 = DateTimeFormatInfo_get_LongTimePattern_m3747294063(L_44, /*hidden argument*/NULL); V_0 = L_45; goto IL_01cd; } IL_0184: { DateTimeFormatInfo_t2187473504 * L_46 = ___dfi1; String_t* L_47 = DateTimeFormatInfo_get_UniversalSortableDateTimePattern_m4182077534(L_46, /*hidden argument*/NULL); V_0 = L_47; bool L_48 = ___date_time_offset4; if (!L_48) { goto IL_0195; } } { bool* L_49 = ___useutc2; *((int8_t*)(L_49)) = (int8_t)1; } IL_0195: { bool* L_50 = ___use_invariant3; *((int8_t*)(L_50)) = (int8_t)1; goto IL_01cd; } IL_019d: { bool L_51 = ___date_time_offset4; if (!L_51) { goto IL_01ab; } } { V_0 = (String_t*)NULL; goto IL_01b5; } IL_01ab: { DateTimeFormatInfo_t2187473504 * L_52 = ___dfi1; String_t* L_53 = DateTimeFormatInfo_get_FullDateTimePattern_m2607507656(L_52, /*hidden argument*/NULL); V_0 = L_53; bool* L_54 = ___useutc2; *((int8_t*)(L_54)) = (int8_t)1; } IL_01b5: { goto IL_01cd; } IL_01ba: { DateTimeFormatInfo_t2187473504 * L_55 = ___dfi1; String_t* L_56 = DateTimeFormatInfo_get_YearMonthPattern_m957892307(L_55, /*hidden argument*/NULL); V_0 = L_56; goto IL_01cd; } IL_01c6: { V_0 = (String_t*)NULL; goto IL_01cd; } IL_01cd: { String_t* L_57 = V_0; return L_57; } } // System.String System.DateTimeUtils::ToString(System.DateTime,System.String,System.Globalization.DateTimeFormatInfo) extern Il2CppClass* Nullable_1_t1693325264_il2cpp_TypeInfo_var; extern const uint32_t DateTimeUtils_ToString_m3747722398_MetadataUsageId; extern "C" String_t* DateTimeUtils_ToString_m3747722398 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___dt0, String_t* ___format1, DateTimeFormatInfo_t2187473504 * ___dfi2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeUtils_ToString_m3747722398_MetadataUsageId); s_Il2CppMethodInitialized = true; } Nullable_1_t1693325264 V_0; memset(&V_0, 0, sizeof(V_0)); { DateTime_t693205669 L_0 = ___dt0; Initobj (Nullable_1_t1693325264_il2cpp_TypeInfo_var, (&V_0)); Nullable_1_t1693325264 L_1 = V_0; String_t* L_2 = ___format1; DateTimeFormatInfo_t2187473504 * L_3 = ___dfi2; String_t* L_4 = DateTimeUtils_ToString_m3878360633(NULL /*static, unused*/, L_0, L_1, L_2, L_3, /*hidden argument*/NULL); return L_4; } } // System.String System.DateTimeUtils::ToString(System.DateTime,System.Nullable`1<System.TimeSpan>,System.String,System.Globalization.DateTimeFormatInfo) extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var; extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppClass* TimeZone_t4008205267_il2cpp_TypeInfo_var; extern const MethodInfo* Nullable_1_get_HasValue_m3663286555_MethodInfo_var; extern const MethodInfo* Nullable_1_get_Value_m1743067844_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral190189215; extern Il2CppCodeGenString* _stringLiteral98844766; extern Il2CppCodeGenString* _stringLiteral2483320146; extern Il2CppCodeGenString* _stringLiteral2494543854; extern Il2CppCodeGenString* _stringLiteral4237131387; extern const uint32_t DateTimeUtils_ToString_m3878360633_MetadataUsageId; extern "C" String_t* DateTimeUtils_ToString_m3878360633 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___dt0, Nullable_1_t1693325264 ___utc_offset1, String_t* ___format2, DateTimeFormatInfo_t2187473504 * ___dfi3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DateTimeUtils_ToString_m3878360633_MetadataUsageId); s_Il2CppMethodInitialized = true; } StringBuilder_t1221177846 * V_0 = NULL; DateTimeFormatInfo_t2187473504 * V_1 = NULL; int32_t V_2 = 0; int32_t V_3 = 0; bool V_4 = false; Il2CppChar V_5 = 0x0; int32_t V_6 = 0; int32_t V_7 = 0; int32_t V_8 = 0; String_t* V_9 = NULL; TimeSpan_t3430258949 V_10; memset(&V_10, 0, sizeof(V_10)); int32_t V_11 = 0; Il2CppChar V_12 = 0x0; int32_t V_13 = 0; int32_t V_14 = 0; int32_t V_15 = 0; int32_t V_16 = 0; int32_t V_17 = 0; int32_t G_B17_0 = 0; StringBuilder_t1221177846 * G_B17_1 = NULL; int32_t G_B16_0 = 0; StringBuilder_t1221177846 * G_B16_1 = NULL; int32_t G_B18_0 = 0; int32_t G_B18_1 = 0; StringBuilder_t1221177846 * G_B18_2 = NULL; int32_t G_B21_0 = 0; StringBuilder_t1221177846 * G_B21_1 = NULL; int32_t G_B20_0 = 0; StringBuilder_t1221177846 * G_B20_1 = NULL; int32_t G_B22_0 = 0; int32_t G_B22_1 = 0; StringBuilder_t1221177846 * G_B22_2 = NULL; int32_t G_B25_0 = 0; StringBuilder_t1221177846 * G_B25_1 = NULL; int32_t G_B24_0 = 0; StringBuilder_t1221177846 * G_B24_1 = NULL; int32_t G_B26_0 = 0; int32_t G_B26_1 = 0; StringBuilder_t1221177846 * G_B26_2 = NULL; int32_t G_B29_0 = 0; StringBuilder_t1221177846 * G_B29_1 = NULL; int32_t G_B28_0 = 0; StringBuilder_t1221177846 * G_B28_1 = NULL; int32_t G_B30_0 = 0; int32_t G_B30_1 = 0; StringBuilder_t1221177846 * G_B30_2 = NULL; String_t* G_B47_0 = NULL; TimeSpan_t3430258949 G_B56_0; memset(&G_B56_0, 0, sizeof(G_B56_0)); TimeSpan_t3430258949 G_B71_0; memset(&G_B71_0, 0, sizeof(G_B71_0)); int32_t G_B81_0 = 0; StringBuilder_t1221177846 * G_B81_1 = NULL; int32_t G_B80_0 = 0; StringBuilder_t1221177846 * G_B80_1 = NULL; int32_t G_B82_0 = 0; int32_t G_B82_1 = 0; StringBuilder_t1221177846 * G_B82_2 = NULL; { String_t* L_0 = ___format2; int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_2 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var); StringBuilder__ctor_m536337337(L_2, ((int32_t)((int32_t)L_1+(int32_t)((int32_t)10))), /*hidden argument*/NULL); V_0 = L_2; IL2CPP_RUNTIME_CLASS_INIT(DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var); DateTimeFormatInfo_t2187473504 * L_3 = DateTimeFormatInfo_get_InvariantInfo_m1865598692(NULL /*static, unused*/, /*hidden argument*/NULL); V_1 = L_3; String_t* L_4 = ___format2; DateTimeFormatInfo_t2187473504 * L_5 = V_1; String_t* L_6 = DateTimeFormatInfo_get_RFC1123Pattern_m1091572742(L_5, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_7 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_4, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_002e; } } { DateTimeFormatInfo_t2187473504 * L_8 = V_1; ___dfi3 = L_8; goto IL_0042; } IL_002e: { String_t* L_9 = ___format2; DateTimeFormatInfo_t2187473504 * L_10 = V_1; String_t* L_11 = DateTimeFormatInfo_get_UniversalSortableDateTimePattern_m4182077534(L_10, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_12 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_9, L_11, /*hidden argument*/NULL); if (!L_12) { goto IL_0042; } } { DateTimeFormatInfo_t2187473504 * L_13 = V_1; ___dfi3 = L_13; } IL_0042: { V_2 = 0; goto IL_06ca; } IL_0049: { V_4 = (bool)0; String_t* L_14 = ___format2; int32_t L_15 = V_2; Il2CppChar L_16 = String_get_Chars_m4230566705(L_14, L_15, /*hidden argument*/NULL); V_5 = L_16; Il2CppChar L_17 = V_5; V_12 = L_17; Il2CppChar L_18 = V_12; if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 0) { goto IL_04d4; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 1) { goto IL_008b; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 2) { goto IL_01e3; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 3) { goto IL_05ed; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 4) { goto IL_0121; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 5) { goto IL_008b; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 6) { goto IL_008b; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 7) { goto IL_008b; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 8) { goto IL_008b; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)100))) == 9) { goto IL_0187; } } IL_008b: { Il2CppChar L_19 = V_12; if (((int32_t)((int32_t)L_19-(int32_t)((int32_t)70))) == 0) { goto IL_01db; } if (((int32_t)((int32_t)L_19-(int32_t)((int32_t)70))) == 1) { goto IL_00b5; } if (((int32_t)((int32_t)L_19-(int32_t)((int32_t)70))) == 2) { goto IL_015d; } if (((int32_t)((int32_t)L_19-(int32_t)((int32_t)70))) == 3) { goto IL_00b5; } if (((int32_t)((int32_t)L_19-(int32_t)((int32_t)70))) == 4) { goto IL_00b5; } if (((int32_t)((int32_t)L_19-(int32_t)((int32_t)70))) == 5) { goto IL_0404; } if (((int32_t)((int32_t)L_19-(int32_t)((int32_t)70))) == 6) { goto IL_00b5; } if (((int32_t)((int32_t)L_19-(int32_t)((int32_t)70))) == 7) { goto IL_054d; } } IL_00b5: { Il2CppChar L_20 = V_12; if (((int32_t)((int32_t)L_20-(int32_t)((int32_t)115))) == 0) { goto IL_01b1; } if (((int32_t)((int32_t)L_20-(int32_t)((int32_t)115))) == 1) { goto IL_02a4; } if (((int32_t)((int32_t)L_20-(int32_t)((int32_t)115))) == 2) { goto IL_00df; } if (((int32_t)((int32_t)L_20-(int32_t)((int32_t)115))) == 3) { goto IL_00df; } if (((int32_t)((int32_t)L_20-(int32_t)((int32_t)115))) == 4) { goto IL_00df; } if (((int32_t)((int32_t)L_20-(int32_t)((int32_t)115))) == 5) { goto IL_00df; } if (((int32_t)((int32_t)L_20-(int32_t)((int32_t)115))) == 6) { goto IL_05a9; } if (((int32_t)((int32_t)L_20-(int32_t)((int32_t)115))) == 7) { goto IL_0305; } } IL_00df: { Il2CppChar L_21 = V_12; if (((int32_t)((int32_t)L_21-(int32_t)((int32_t)34))) == 0) { goto IL_063d; } if (((int32_t)((int32_t)L_21-(int32_t)((int32_t)34))) == 1) { goto IL_0101; } if (((int32_t)((int32_t)L_21-(int32_t)((int32_t)34))) == 2) { goto IL_0101; } if (((int32_t)((int32_t)L_21-(int32_t)((int32_t)34))) == 3) { goto IL_064b; } if (((int32_t)((int32_t)L_21-(int32_t)((int32_t)34))) == 4) { goto IL_0101; } if (((int32_t)((int32_t)L_21-(int32_t)((int32_t)34))) == 5) { goto IL_063d; } } IL_0101: { Il2CppChar L_22 = V_12; if ((((int32_t)L_22) == ((int32_t)((int32_t)47)))) { goto IL_0629; } } { Il2CppChar L_23 = V_12; if ((((int32_t)L_23) == ((int32_t)((int32_t)58)))) { goto IL_0615; } } { Il2CppChar L_24 = V_12; if ((((int32_t)L_24) == ((int32_t)((int32_t)92)))) { goto IL_0686; } } { goto IL_06b6; } IL_0121: { String_t* L_25 = ___format2; int32_t L_26 = V_2; Il2CppChar L_27 = V_5; int32_t L_28 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_25, L_26, L_27, /*hidden argument*/NULL); V_3 = L_28; int32_t L_29 = DateTime_get_Hour_m2925715777((&___dt0), /*hidden argument*/NULL); V_6 = ((int32_t)((int32_t)L_29%(int32_t)((int32_t)12))); int32_t L_30 = V_6; if (L_30) { goto IL_0142; } } { V_6 = ((int32_t)12); } IL_0142: { StringBuilder_t1221177846 * L_31 = V_0; int32_t L_32 = V_6; int32_t L_33 = V_3; G_B16_0 = L_32; G_B16_1 = L_31; if ((!(((uint32_t)L_33) == ((uint32_t)1)))) { G_B17_0 = L_32; G_B17_1 = L_31; goto IL_0152; } } { G_B18_0 = 1; G_B18_1 = G_B16_0; G_B18_2 = G_B16_1; goto IL_0153; } IL_0152: { G_B18_0 = 2; G_B18_1 = G_B17_0; G_B18_2 = G_B17_1; } IL_0153: { DateTimeUtils_ZeroPad_m86470512(NULL /*static, unused*/, G_B18_2, G_B18_1, G_B18_0, /*hidden argument*/NULL); goto IL_06c6; } IL_015d: { String_t* L_34 = ___format2; int32_t L_35 = V_2; Il2CppChar L_36 = V_5; int32_t L_37 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_34, L_35, L_36, /*hidden argument*/NULL); V_3 = L_37; StringBuilder_t1221177846 * L_38 = V_0; int32_t L_39 = DateTime_get_Hour_m2925715777((&___dt0), /*hidden argument*/NULL); int32_t L_40 = V_3; G_B20_0 = L_39; G_B20_1 = L_38; if ((!(((uint32_t)L_40) == ((uint32_t)1)))) { G_B21_0 = L_39; G_B21_1 = L_38; goto IL_017c; } } { G_B22_0 = 1; G_B22_1 = G_B20_0; G_B22_2 = G_B20_1; goto IL_017d; } IL_017c: { G_B22_0 = 2; G_B22_1 = G_B21_0; G_B22_2 = G_B21_1; } IL_017d: { DateTimeUtils_ZeroPad_m86470512(NULL /*static, unused*/, G_B22_2, G_B22_1, G_B22_0, /*hidden argument*/NULL); goto IL_06c6; } IL_0187: { String_t* L_41 = ___format2; int32_t L_42 = V_2; Il2CppChar L_43 = V_5; int32_t L_44 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_41, L_42, L_43, /*hidden argument*/NULL); V_3 = L_44; StringBuilder_t1221177846 * L_45 = V_0; int32_t L_46 = DateTime_get_Minute_m803043551((&___dt0), /*hidden argument*/NULL); int32_t L_47 = V_3; G_B24_0 = L_46; G_B24_1 = L_45; if ((!(((uint32_t)L_47) == ((uint32_t)1)))) { G_B25_0 = L_46; G_B25_1 = L_45; goto IL_01a6; } } { G_B26_0 = 1; G_B26_1 = G_B24_0; G_B26_2 = G_B24_1; goto IL_01a7; } IL_01a6: { G_B26_0 = 2; G_B26_1 = G_B25_0; G_B26_2 = G_B25_1; } IL_01a7: { DateTimeUtils_ZeroPad_m86470512(NULL /*static, unused*/, G_B26_2, G_B26_1, G_B26_0, /*hidden argument*/NULL); goto IL_06c6; } IL_01b1: { String_t* L_48 = ___format2; int32_t L_49 = V_2; Il2CppChar L_50 = V_5; int32_t L_51 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_48, L_49, L_50, /*hidden argument*/NULL); V_3 = L_51; StringBuilder_t1221177846 * L_52 = V_0; int32_t L_53 = DateTime_get_Second_m853575361((&___dt0), /*hidden argument*/NULL); int32_t L_54 = V_3; G_B28_0 = L_53; G_B28_1 = L_52; if ((!(((uint32_t)L_54) == ((uint32_t)1)))) { G_B29_0 = L_53; G_B29_1 = L_52; goto IL_01d0; } } { G_B30_0 = 1; G_B30_1 = G_B28_0; G_B30_2 = G_B28_1; goto IL_01d1; } IL_01d0: { G_B30_0 = 2; G_B30_1 = G_B29_0; G_B30_2 = G_B29_1; } IL_01d1: { DateTimeUtils_ZeroPad_m86470512(NULL /*static, unused*/, G_B30_2, G_B30_1, G_B30_0, /*hidden argument*/NULL); goto IL_06c6; } IL_01db: { V_4 = (bool)1; goto IL_01e3; } IL_01e3: { String_t* L_55 = ___format2; int32_t L_56 = V_2; Il2CppChar L_57 = V_5; int32_t L_58 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_55, L_56, L_57, /*hidden argument*/NULL); V_3 = L_58; int32_t L_59 = V_3; if ((((int32_t)L_59) <= ((int32_t)7))) { goto IL_01ff; } } { FormatException_t2948921286 * L_60 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_60, _stringLiteral190189215, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_60); } IL_01ff: { int64_t L_61 = DateTime_get_Ticks_m310281298((&___dt0), /*hidden argument*/NULL); int32_t L_62 = V_3; double L_63 = pow((10.0), (((double)((double)((int32_t)((int32_t)7-(int32_t)L_62)))))); V_7 = (((int32_t)((int32_t)((int64_t)((int64_t)((int64_t)((int64_t)L_61%(int64_t)(((int64_t)((int64_t)((int32_t)10000000))))))/(int64_t)(((int64_t)((int64_t)L_63)))))))); StringBuilder_t1221177846 * L_64 = V_0; int32_t L_65 = StringBuilder_get_Length_m1608241323(L_64, /*hidden argument*/NULL); V_8 = L_65; StringBuilder_t1221177846 * L_66 = V_0; int32_t L_67 = V_7; int32_t L_68 = V_3; DateTimeUtils_ZeroPad_m86470512(NULL /*static, unused*/, L_66, L_67, L_68, /*hidden argument*/NULL); bool L_69 = V_4; if (!L_69) { goto IL_029f; } } { goto IL_024f; } IL_0241: { StringBuilder_t1221177846 * L_70 = V_0; StringBuilder_t1221177846 * L_71 = L_70; int32_t L_72 = StringBuilder_get_Length_m1608241323(L_71, /*hidden argument*/NULL); StringBuilder_set_Length_m3039225444(L_71, ((int32_t)((int32_t)L_72-(int32_t)1)), /*hidden argument*/NULL); } IL_024f: { StringBuilder_t1221177846 * L_73 = V_0; int32_t L_74 = StringBuilder_get_Length_m1608241323(L_73, /*hidden argument*/NULL); int32_t L_75 = V_8; if ((((int32_t)L_74) <= ((int32_t)L_75))) { goto IL_0271; } } { StringBuilder_t1221177846 * L_76 = V_0; StringBuilder_t1221177846 * L_77 = V_0; int32_t L_78 = StringBuilder_get_Length_m1608241323(L_77, /*hidden argument*/NULL); Il2CppChar L_79 = StringBuilder_get_Chars_m256627635(L_76, ((int32_t)((int32_t)L_78-(int32_t)1)), /*hidden argument*/NULL); if ((((int32_t)L_79) == ((int32_t)((int32_t)48)))) { goto IL_0241; } } IL_0271: { int32_t L_80 = V_7; if (L_80) { goto IL_029f; } } { int32_t L_81 = V_8; if ((((int32_t)L_81) <= ((int32_t)0))) { goto IL_029f; } } { StringBuilder_t1221177846 * L_82 = V_0; int32_t L_83 = V_8; Il2CppChar L_84 = StringBuilder_get_Chars_m256627635(L_82, ((int32_t)((int32_t)L_83-(int32_t)1)), /*hidden argument*/NULL); if ((!(((uint32_t)L_84) == ((uint32_t)((int32_t)46))))) { goto IL_029f; } } { StringBuilder_t1221177846 * L_85 = V_0; StringBuilder_t1221177846 * L_86 = L_85; int32_t L_87 = StringBuilder_get_Length_m1608241323(L_86, /*hidden argument*/NULL); StringBuilder_set_Length_m3039225444(L_86, ((int32_t)((int32_t)L_87-(int32_t)1)), /*hidden argument*/NULL); } IL_029f: { goto IL_06c6; } IL_02a4: { String_t* L_88 = ___format2; int32_t L_89 = V_2; Il2CppChar L_90 = V_5; int32_t L_91 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_88, L_89, L_90, /*hidden argument*/NULL); V_3 = L_91; int32_t L_92 = DateTime_get_Hour_m2925715777((&___dt0), /*hidden argument*/NULL); if ((((int32_t)L_92) >= ((int32_t)((int32_t)12)))) { goto IL_02c7; } } { DateTimeFormatInfo_t2187473504 * L_93 = ___dfi3; String_t* L_94 = DateTimeFormatInfo_get_AMDesignator_m3841245276(L_93, /*hidden argument*/NULL); G_B47_0 = L_94; goto IL_02cd; } IL_02c7: { DateTimeFormatInfo_t2187473504 * L_95 = ___dfi3; String_t* L_96 = DateTimeFormatInfo_get_PMDesignator_m2537514795(L_95, /*hidden argument*/NULL); G_B47_0 = L_96; } IL_02cd: { V_9 = G_B47_0; int32_t L_97 = V_3; if ((!(((uint32_t)L_97) == ((uint32_t)1)))) { goto IL_02f7; } } { String_t* L_98 = V_9; int32_t L_99 = String_get_Length_m1606060069(L_98, /*hidden argument*/NULL); if ((((int32_t)L_99) < ((int32_t)1))) { goto IL_02f2; } } { StringBuilder_t1221177846 * L_100 = V_0; String_t* L_101 = V_9; Il2CppChar L_102 = String_get_Chars_m4230566705(L_101, 0, /*hidden argument*/NULL); StringBuilder_Append_m3618697540(L_100, L_102, /*hidden argument*/NULL); } IL_02f2: { goto IL_0300; } IL_02f7: { StringBuilder_t1221177846 * L_103 = V_0; String_t* L_104 = V_9; StringBuilder_Append_m3636508479(L_103, L_104, /*hidden argument*/NULL); } IL_0300: { goto IL_06c6; } IL_0305: { String_t* L_105 = ___format2; int32_t L_106 = V_2; Il2CppChar L_107 = V_5; int32_t L_108 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_105, L_106, L_107, /*hidden argument*/NULL); V_3 = L_108; bool L_109 = Nullable_1_get_HasValue_m3663286555((&___utc_offset1), /*hidden argument*/Nullable_1_get_HasValue_m3663286555_MethodInfo_var); if (!L_109) { goto IL_0327; } } { TimeSpan_t3430258949 L_110 = Nullable_1_get_Value_m1743067844((&___utc_offset1), /*hidden argument*/Nullable_1_get_Value_m1743067844_MethodInfo_var); G_B56_0 = L_110; goto IL_0332; } IL_0327: { IL2CPP_RUNTIME_CLASS_INIT(TimeZone_t4008205267_il2cpp_TypeInfo_var); TimeZone_t4008205267 * L_111 = TimeZone_get_CurrentTimeZone_m3729014954(NULL /*static, unused*/, /*hidden argument*/NULL); DateTime_t693205669 L_112 = ___dt0; TimeSpan_t3430258949 L_113 = VirtFuncInvoker1< TimeSpan_t3430258949 , DateTime_t693205669 >::Invoke(5 /* System.TimeSpan System.TimeZone::GetUtcOffset(System.DateTime) */, L_111, L_112); G_B56_0 = L_113; } IL_0332: { V_10 = G_B56_0; int64_t L_114 = TimeSpan_get_Ticks_m2285358246((&V_10), /*hidden argument*/NULL); if ((((int64_t)L_114) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0350; } } { StringBuilder_t1221177846 * L_115 = V_0; StringBuilder_Append_m3618697540(L_115, ((int32_t)43), /*hidden argument*/NULL); goto IL_0359; } IL_0350: { StringBuilder_t1221177846 * L_116 = V_0; StringBuilder_Append_m3618697540(L_116, ((int32_t)45), /*hidden argument*/NULL); } IL_0359: { int32_t L_117 = V_3; V_13 = L_117; int32_t L_118 = V_13; if ((((int32_t)L_118) == ((int32_t)1))) { goto IL_0371; } } { int32_t L_119 = V_13; if ((((int32_t)L_119) == ((int32_t)2))) { goto IL_0389; } } { goto IL_03af; } IL_0371: { StringBuilder_t1221177846 * L_120 = V_0; int32_t L_121 = TimeSpan_get_Hours_m3804628138((&V_10), /*hidden argument*/NULL); int32_t L_122 = il2cpp_codegen_abs(L_121); StringBuilder_Append_m2109474214(L_120, L_122, /*hidden argument*/NULL); goto IL_03ff; } IL_0389: { StringBuilder_t1221177846 * L_123 = V_0; int32_t L_124 = TimeSpan_get_Hours_m3804628138((&V_10), /*hidden argument*/NULL); int32_t L_125 = il2cpp_codegen_abs(L_124); V_14 = L_125; String_t* L_126 = Int32_ToString_m1064459878((&V_14), _stringLiteral98844766, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_123, L_126, /*hidden argument*/NULL); goto IL_03ff; } IL_03af: { StringBuilder_t1221177846 * L_127 = V_0; int32_t L_128 = TimeSpan_get_Hours_m3804628138((&V_10), /*hidden argument*/NULL); int32_t L_129 = il2cpp_codegen_abs(L_128); V_15 = L_129; String_t* L_130 = Int32_ToString_m1064459878((&V_15), _stringLiteral98844766, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_127, L_130, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_131 = V_0; StringBuilder_Append_m3618697540(L_131, ((int32_t)58), /*hidden argument*/NULL); StringBuilder_t1221177846 * L_132 = V_0; int32_t L_133 = TimeSpan_get_Minutes_m2575030536((&V_10), /*hidden argument*/NULL); int32_t L_134 = il2cpp_codegen_abs(L_133); V_16 = L_134; String_t* L_135 = Int32_ToString_m1064459878((&V_16), _stringLiteral98844766, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_132, L_135, /*hidden argument*/NULL); goto IL_03ff; } IL_03ff: { goto IL_06c6; } IL_0404: { V_3 = 1; bool L_136 = Nullable_1_get_HasValue_m3663286555((&___utc_offset1), /*hidden argument*/Nullable_1_get_HasValue_m3663286555_MethodInfo_var); if (L_136) { goto IL_041f; } } { int32_t L_137 = DateTime_get_Kind_m1331920314((&___dt0), /*hidden argument*/NULL); if ((!(((uint32_t)L_137) == ((uint32_t)2)))) { goto IL_04b9; } } IL_041f: { bool L_138 = Nullable_1_get_HasValue_m3663286555((&___utc_offset1), /*hidden argument*/Nullable_1_get_HasValue_m3663286555_MethodInfo_var); if (!L_138) { goto IL_0437; } } { TimeSpan_t3430258949 L_139 = Nullable_1_get_Value_m1743067844((&___utc_offset1), /*hidden argument*/Nullable_1_get_Value_m1743067844_MethodInfo_var); G_B71_0 = L_139; goto IL_0442; } IL_0437: { IL2CPP_RUNTIME_CLASS_INIT(TimeZone_t4008205267_il2cpp_TypeInfo_var); TimeZone_t4008205267 * L_140 = TimeZone_get_CurrentTimeZone_m3729014954(NULL /*static, unused*/, /*hidden argument*/NULL); DateTime_t693205669 L_141 = ___dt0; TimeSpan_t3430258949 L_142 = VirtFuncInvoker1< TimeSpan_t3430258949 , DateTime_t693205669 >::Invoke(5 /* System.TimeSpan System.TimeZone::GetUtcOffset(System.DateTime) */, L_140, L_141); G_B71_0 = L_142; } IL_0442: { V_10 = G_B71_0; int64_t L_143 = TimeSpan_get_Ticks_m2285358246((&V_10), /*hidden argument*/NULL); if ((((int64_t)L_143) < ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0460; } } { StringBuilder_t1221177846 * L_144 = V_0; StringBuilder_Append_m3618697540(L_144, ((int32_t)43), /*hidden argument*/NULL); goto IL_0469; } IL_0460: { StringBuilder_t1221177846 * L_145 = V_0; StringBuilder_Append_m3618697540(L_145, ((int32_t)45), /*hidden argument*/NULL); } IL_0469: { StringBuilder_t1221177846 * L_146 = V_0; int32_t L_147 = TimeSpan_get_Hours_m3804628138((&V_10), /*hidden argument*/NULL); int32_t L_148 = il2cpp_codegen_abs(L_147); V_13 = L_148; String_t* L_149 = Int32_ToString_m1064459878((&V_13), _stringLiteral98844766, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_146, L_149, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_150 = V_0; StringBuilder_Append_m3618697540(L_150, ((int32_t)58), /*hidden argument*/NULL); StringBuilder_t1221177846 * L_151 = V_0; int32_t L_152 = TimeSpan_get_Minutes_m2575030536((&V_10), /*hidden argument*/NULL); int32_t L_153 = il2cpp_codegen_abs(L_152); V_17 = L_153; String_t* L_154 = Int32_ToString_m1064459878((&V_17), _stringLiteral98844766, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_151, L_154, /*hidden argument*/NULL); goto IL_04cf; } IL_04b9: { int32_t L_155 = DateTime_get_Kind_m1331920314((&___dt0), /*hidden argument*/NULL); if ((!(((uint32_t)L_155) == ((uint32_t)1)))) { goto IL_04cf; } } { StringBuilder_t1221177846 * L_156 = V_0; StringBuilder_Append_m3618697540(L_156, ((int32_t)90), /*hidden argument*/NULL); } IL_04cf: { goto IL_06c6; } IL_04d4: { String_t* L_157 = ___format2; int32_t L_158 = V_2; Il2CppChar L_159 = V_5; int32_t L_160 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_157, L_158, L_159, /*hidden argument*/NULL); V_3 = L_160; int32_t L_161 = V_3; if ((((int32_t)L_161) > ((int32_t)2))) { goto IL_050a; } } { StringBuilder_t1221177846 * L_162 = V_0; DateTimeFormatInfo_t2187473504 * L_163 = ___dfi3; Calendar_t585061108 * L_164 = DateTimeFormatInfo_get_Calendar_m532085644(L_163, /*hidden argument*/NULL); DateTime_t693205669 L_165 = ___dt0; int32_t L_166 = VirtFuncInvoker1< int32_t, DateTime_t693205669 >::Invoke(7 /* System.Int32 System.Globalization.Calendar::GetDayOfMonth(System.DateTime) */, L_164, L_165); int32_t L_167 = V_3; G_B80_0 = L_166; G_B80_1 = L_162; if ((!(((uint32_t)L_167) == ((uint32_t)1)))) { G_B81_0 = L_166; G_B81_1 = L_162; goto IL_04ff; } } { G_B82_0 = 1; G_B82_1 = G_B80_0; G_B82_2 = G_B80_1; goto IL_0500; } IL_04ff: { G_B82_0 = 2; G_B82_1 = G_B81_0; G_B82_2 = G_B81_1; } IL_0500: { DateTimeUtils_ZeroPad_m86470512(NULL /*static, unused*/, G_B82_2, G_B82_1, G_B82_0, /*hidden argument*/NULL); goto IL_0548; } IL_050a: { int32_t L_168 = V_3; if ((!(((uint32_t)L_168) == ((uint32_t)3)))) { goto IL_052f; } } { StringBuilder_t1221177846 * L_169 = V_0; DateTimeFormatInfo_t2187473504 * L_170 = ___dfi3; DateTimeFormatInfo_t2187473504 * L_171 = ___dfi3; Calendar_t585061108 * L_172 = DateTimeFormatInfo_get_Calendar_m532085644(L_171, /*hidden argument*/NULL); DateTime_t693205669 L_173 = ___dt0; int32_t L_174 = VirtFuncInvoker1< int32_t, DateTime_t693205669 >::Invoke(8 /* System.DayOfWeek System.Globalization.Calendar::GetDayOfWeek(System.DateTime) */, L_172, L_173); String_t* L_175 = DateTimeFormatInfo_GetAbbreviatedDayName_m654293155(L_170, L_174, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_169, L_175, /*hidden argument*/NULL); goto IL_0548; } IL_052f: { StringBuilder_t1221177846 * L_176 = V_0; DateTimeFormatInfo_t2187473504 * L_177 = ___dfi3; DateTimeFormatInfo_t2187473504 * L_178 = ___dfi3; Calendar_t585061108 * L_179 = DateTimeFormatInfo_get_Calendar_m532085644(L_178, /*hidden argument*/NULL); DateTime_t693205669 L_180 = ___dt0; int32_t L_181 = VirtFuncInvoker1< int32_t, DateTime_t693205669 >::Invoke(8 /* System.DayOfWeek System.Globalization.Calendar::GetDayOfWeek(System.DateTime) */, L_179, L_180); String_t* L_182 = DateTimeFormatInfo_GetDayName_m1592964076(L_177, L_181, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_176, L_182, /*hidden argument*/NULL); } IL_0548: { goto IL_06c6; } IL_054d: { String_t* L_183 = ___format2; int32_t L_184 = V_2; Il2CppChar L_185 = V_5; int32_t L_186 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_183, L_184, L_185, /*hidden argument*/NULL); V_3 = L_186; DateTimeFormatInfo_t2187473504 * L_187 = ___dfi3; Calendar_t585061108 * L_188 = DateTimeFormatInfo_get_Calendar_m532085644(L_187, /*hidden argument*/NULL); DateTime_t693205669 L_189 = ___dt0; int32_t L_190 = VirtFuncInvoker1< int32_t, DateTime_t693205669 >::Invoke(10 /* System.Int32 System.Globalization.Calendar::GetMonth(System.DateTime) */, L_188, L_189); V_11 = L_190; int32_t L_191 = V_3; if ((((int32_t)L_191) > ((int32_t)2))) { goto IL_057a; } } { StringBuilder_t1221177846 * L_192 = V_0; int32_t L_193 = V_11; int32_t L_194 = V_3; DateTimeUtils_ZeroPad_m86470512(NULL /*static, unused*/, L_192, L_193, L_194, /*hidden argument*/NULL); goto IL_05a4; } IL_057a: { int32_t L_195 = V_3; if ((!(((uint32_t)L_195) == ((uint32_t)3)))) { goto IL_0595; } } { StringBuilder_t1221177846 * L_196 = V_0; DateTimeFormatInfo_t2187473504 * L_197 = ___dfi3; int32_t L_198 = V_11; String_t* L_199 = DateTimeFormatInfo_GetAbbreviatedMonthName_m3766388(L_197, L_198, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_196, L_199, /*hidden argument*/NULL); goto IL_05a4; } IL_0595: { StringBuilder_t1221177846 * L_200 = V_0; DateTimeFormatInfo_t2187473504 * L_201 = ___dfi3; int32_t L_202 = V_11; String_t* L_203 = DateTimeFormatInfo_GetMonthName_m176552057(L_201, L_202, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_200, L_203, /*hidden argument*/NULL); } IL_05a4: { goto IL_06c6; } IL_05a9: { String_t* L_204 = ___format2; int32_t L_205 = V_2; Il2CppChar L_206 = V_5; int32_t L_207 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_204, L_205, L_206, /*hidden argument*/NULL); V_3 = L_207; int32_t L_208 = V_3; if ((((int32_t)L_208) > ((int32_t)2))) { goto IL_05d5; } } { StringBuilder_t1221177846 * L_209 = V_0; DateTimeFormatInfo_t2187473504 * L_210 = ___dfi3; Calendar_t585061108 * L_211 = DateTimeFormatInfo_get_Calendar_m532085644(L_210, /*hidden argument*/NULL); DateTime_t693205669 L_212 = ___dt0; int32_t L_213 = VirtFuncInvoker1< int32_t, DateTime_t693205669 >::Invoke(11 /* System.Int32 System.Globalization.Calendar::GetYear(System.DateTime) */, L_211, L_212); int32_t L_214 = V_3; DateTimeUtils_ZeroPad_m86470512(NULL /*static, unused*/, L_209, ((int32_t)((int32_t)L_213%(int32_t)((int32_t)100))), L_214, /*hidden argument*/NULL); goto IL_05e8; } IL_05d5: { StringBuilder_t1221177846 * L_215 = V_0; DateTimeFormatInfo_t2187473504 * L_216 = ___dfi3; Calendar_t585061108 * L_217 = DateTimeFormatInfo_get_Calendar_m532085644(L_216, /*hidden argument*/NULL); DateTime_t693205669 L_218 = ___dt0; int32_t L_219 = VirtFuncInvoker1< int32_t, DateTime_t693205669 >::Invoke(11 /* System.Int32 System.Globalization.Calendar::GetYear(System.DateTime) */, L_217, L_218); int32_t L_220 = V_3; DateTimeUtils_ZeroPad_m86470512(NULL /*static, unused*/, L_215, L_219, L_220, /*hidden argument*/NULL); } IL_05e8: { goto IL_06c6; } IL_05ed: { String_t* L_221 = ___format2; int32_t L_222 = V_2; Il2CppChar L_223 = V_5; int32_t L_224 = DateTimeUtils_CountRepeat_m2205786495(NULL /*static, unused*/, L_221, L_222, L_223, /*hidden argument*/NULL); V_3 = L_224; StringBuilder_t1221177846 * L_225 = V_0; DateTimeFormatInfo_t2187473504 * L_226 = ___dfi3; DateTimeFormatInfo_t2187473504 * L_227 = ___dfi3; Calendar_t585061108 * L_228 = DateTimeFormatInfo_get_Calendar_m532085644(L_227, /*hidden argument*/NULL); DateTime_t693205669 L_229 = ___dt0; int32_t L_230 = VirtFuncInvoker1< int32_t, DateTime_t693205669 >::Invoke(9 /* System.Int32 System.Globalization.Calendar::GetEra(System.DateTime) */, L_228, L_229); String_t* L_231 = DateTimeFormatInfo_GetEraName_m1437894363(L_226, L_230, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_225, L_231, /*hidden argument*/NULL); goto IL_06c6; } IL_0615: { StringBuilder_t1221177846 * L_232 = V_0; DateTimeFormatInfo_t2187473504 * L_233 = ___dfi3; String_t* L_234 = DateTimeFormatInfo_get_TimeSeparator_m2465837654(L_233, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_232, L_234, /*hidden argument*/NULL); V_3 = 1; goto IL_06c6; } IL_0629: { StringBuilder_t1221177846 * L_235 = V_0; DateTimeFormatInfo_t2187473504 * L_236 = ___dfi3; String_t* L_237 = DateTimeFormatInfo_get_DateSeparator_m1869791013(L_236, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_235, L_237, /*hidden argument*/NULL); V_3 = 1; goto IL_06c6; } IL_063d: { String_t* L_238 = ___format2; int32_t L_239 = V_2; StringBuilder_t1221177846 * L_240 = V_0; int32_t L_241 = DateTimeUtils_ParseQuotedString_m569743800(NULL /*static, unused*/, L_238, L_239, L_240, /*hidden argument*/NULL); V_3 = L_241; goto IL_06c6; } IL_064b: { int32_t L_242 = V_2; String_t* L_243 = ___format2; int32_t L_244 = String_get_Length_m1606060069(L_243, /*hidden argument*/NULL); if ((((int32_t)L_242) < ((int32_t)((int32_t)((int32_t)L_244-(int32_t)1))))) { goto IL_0664; } } { FormatException_t2948921286 * L_245 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_245, _stringLiteral2483320146, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_245); } IL_0664: { String_t* L_246 = ___format2; int32_t L_247 = V_2; Il2CppChar L_248 = String_get_Chars_m4230566705(L_246, ((int32_t)((int32_t)L_247+(int32_t)1)), /*hidden argument*/NULL); if ((!(((uint32_t)L_248) == ((uint32_t)((int32_t)37))))) { goto IL_067f; } } { FormatException_t2948921286 * L_249 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_249, _stringLiteral2494543854, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_249); } IL_067f: { V_3 = 1; goto IL_06c6; } IL_0686: { int32_t L_250 = V_2; String_t* L_251 = ___format2; int32_t L_252 = String_get_Length_m1606060069(L_251, /*hidden argument*/NULL); if ((((int32_t)L_250) < ((int32_t)((int32_t)((int32_t)L_252-(int32_t)1))))) { goto IL_069f; } } { FormatException_t2948921286 * L_253 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_253, _stringLiteral4237131387, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_253); } IL_069f: { StringBuilder_t1221177846 * L_254 = V_0; String_t* L_255 = ___format2; int32_t L_256 = V_2; Il2CppChar L_257 = String_get_Chars_m4230566705(L_255, ((int32_t)((int32_t)L_256+(int32_t)1)), /*hidden argument*/NULL); StringBuilder_Append_m3618697540(L_254, L_257, /*hidden argument*/NULL); V_3 = 2; goto IL_06c6; } IL_06b6: { StringBuilder_t1221177846 * L_258 = V_0; Il2CppChar L_259 = V_5; StringBuilder_Append_m3618697540(L_258, L_259, /*hidden argument*/NULL); V_3 = 1; goto IL_06c6; } IL_06c6: { int32_t L_260 = V_2; int32_t L_261 = V_3; V_2 = ((int32_t)((int32_t)L_260+(int32_t)L_261)); } IL_06ca: { int32_t L_262 = V_2; String_t* L_263 = ___format2; int32_t L_264 = String_get_Length_m1606060069(L_263, /*hidden argument*/NULL); if ((((int32_t)L_262) < ((int32_t)L_264))) { goto IL_0049; } } { StringBuilder_t1221177846 * L_265 = V_0; String_t* L_266 = StringBuilder_ToString_m1507807375(L_265, /*hidden argument*/NULL); return L_266; } } // System.Void System.DBNull::.ctor() extern "C" void DBNull__ctor_m4109231428 (DBNull_t972229383 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Void System.DBNull::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t DBNull__ctor_m3321697473_MetadataUsageId; extern "C" void DBNull__ctor_m3321697473 (DBNull_t972229383 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull__ctor_m3321697473_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); NotSupportedException_t1793819818 * L_0 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m3232764727(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void System.DBNull::.cctor() extern Il2CppClass* DBNull_t972229383_il2cpp_TypeInfo_var; extern const uint32_t DBNull__cctor_m407076097_MetadataUsageId; extern "C" void DBNull__cctor_m407076097 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull__cctor_m407076097_MetadataUsageId); s_Il2CppMethodInitialized = true; } { DBNull_t972229383 * L_0 = (DBNull_t972229383 *)il2cpp_codegen_object_new(DBNull_t972229383_il2cpp_TypeInfo_var); DBNull__ctor_m4109231428(L_0, /*hidden argument*/NULL); ((DBNull_t972229383_StaticFields*)DBNull_t972229383_il2cpp_TypeInfo_var->static_fields)->set_Value_0(L_0); return; } } // System.Boolean System.DBNull::System.IConvertible.ToBoolean(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToBoolean_m3526783932_MetadataUsageId; extern "C" bool DBNull_System_IConvertible_ToBoolean_m3526783932 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToBoolean_m3526783932_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Byte System.DBNull::System.IConvertible.ToByte(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToByte_m1356615612_MetadataUsageId; extern "C" uint8_t DBNull_System_IConvertible_ToByte_m1356615612 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToByte_m1356615612_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Char System.DBNull::System.IConvertible.ToChar(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToChar_m3344298044_MetadataUsageId; extern "C" Il2CppChar DBNull_System_IConvertible_ToChar_m3344298044 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToChar_m3344298044_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.DateTime System.DBNull::System.IConvertible.ToDateTime(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToDateTime_m185919452_MetadataUsageId; extern "C" DateTime_t693205669 DBNull_System_IConvertible_ToDateTime_m185919452 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToDateTime_m185919452_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Decimal System.DBNull::System.IConvertible.ToDecimal(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToDecimal_m3446451742_MetadataUsageId; extern "C" Decimal_t724701077 DBNull_System_IConvertible_ToDecimal_m3446451742 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToDecimal_m3446451742_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Double System.DBNull::System.IConvertible.ToDouble(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToDouble_m2070807100_MetadataUsageId; extern "C" double DBNull_System_IConvertible_ToDouble_m2070807100 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToDouble_m2070807100_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Int16 System.DBNull::System.IConvertible.ToInt16(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToInt16_m4221986684_MetadataUsageId; extern "C" int16_t DBNull_System_IConvertible_ToInt16_m4221986684 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToInt16_m4221986684_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Int32 System.DBNull::System.IConvertible.ToInt32(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToInt32_m3596596664_MetadataUsageId; extern "C" int32_t DBNull_System_IConvertible_ToInt32_m3596596664 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToInt32_m3596596664_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Int64 System.DBNull::System.IConvertible.ToInt64(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToInt64_m595250322_MetadataUsageId; extern "C" int64_t DBNull_System_IConvertible_ToInt64_m595250322 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToInt64_m595250322_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.SByte System.DBNull::System.IConvertible.ToSByte(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToSByte_m1228193074_MetadataUsageId; extern "C" int8_t DBNull_System_IConvertible_ToSByte_m1228193074 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToSByte_m1228193074_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Single System.DBNull::System.IConvertible.ToSingle(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToSingle_m2221282556_MetadataUsageId; extern "C" float DBNull_System_IConvertible_ToSingle_m2221282556 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToSingle_m2221282556_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Object System.DBNull::System.IConvertible.ToType(System.Type,System.IFormatProvider) extern const Il2CppType* String_t_0_0_0_var; extern const Il2CppType* DBNull_t972229383_0_0_0_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToType_m3862335214_MetadataUsageId; extern "C" Il2CppObject * DBNull_System_IConvertible_ToType_m3862335214 (DBNull_t972229383 * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToType_m3862335214_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___targetType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_1 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(String_t_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_0) == ((Il2CppObject*)(Type_t *)L_1)))) { goto IL_0016; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_2 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_2; } IL_0016: { Type_t * L_3 = ___targetType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_4 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(DBNull_t972229383_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_3) == ((Il2CppObject*)(Type_t *)L_4)))) { goto IL_0028; } } { return __this; } IL_0028: { InvalidCastException_t3625212209 * L_5 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_5, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } } // System.UInt16 System.DBNull::System.IConvertible.ToUInt16(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToUInt16_m3715539516_MetadataUsageId; extern "C" uint16_t DBNull_System_IConvertible_ToUInt16_m3715539516 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToUInt16_m3715539516_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.UInt32 System.DBNull::System.IConvertible.ToUInt32(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToUInt32_m2681284284_MetadataUsageId; extern "C" uint32_t DBNull_System_IConvertible_ToUInt32_m2681284284 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToUInt32_m2681284284_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.UInt64 System.DBNull::System.IConvertible.ToUInt64(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t DBNull_System_IConvertible_ToUInt64_m2919804476_MetadataUsageId; extern "C" uint64_t DBNull_System_IConvertible_ToUInt64_m2919804476 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_System_IConvertible_ToUInt64_m2919804476_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void System.DBNull::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void DBNull_GetObjectData_m2260164516 (DBNull_t972229383 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; UnitySerializationHolder_GetDBNullData_m461795932(NULL /*static, unused*/, __this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.String System.DBNull::ToString() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t DBNull_ToString_m2954676229_MetadataUsageId; extern "C" String_t* DBNull_ToString_m2954676229 (DBNull_t972229383 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_ToString_m2954676229_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_0 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_0; } } // System.String System.DBNull::ToString(System.IFormatProvider) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t DBNull_ToString_m3228904745_MetadataUsageId; extern "C" String_t* DBNull_ToString_m3228904745 (DBNull_t972229383 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DBNull_ToString_m3228904745_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_0 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_0; } } // System.Void System.Decimal::.ctor(System.Int32,System.Int32,System.Int32,System.Boolean,System.Byte) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1083199355; extern const uint32_t Decimal__ctor_m1770144563_MetadataUsageId; extern "C" void Decimal__ctor_m1770144563 (Decimal_t724701077 * __this, int32_t ___lo0, int32_t ___mid1, int32_t ___hi2, bool ___isNegative3, uint8_t ___scale4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal__ctor_m1770144563_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___lo0; __this->set_lo_7(L_0); int32_t L_1 = ___mid1; __this->set_mid_8(L_1); int32_t L_2 = ___hi2; __this->set_hi_6(L_2); uint8_t L_3 = ___scale4; if ((!(((uint32_t)L_3) > ((uint32_t)((int32_t)28))))) { goto IL_002e; } } { String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1083199355, /*hidden argument*/NULL); ArgumentOutOfRangeException_t279959794 * L_5 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_002e: { uint8_t L_6 = ___scale4; __this->set_flags_5(L_6); uint32_t L_7 = __this->get_flags_5(); __this->set_flags_5(((int32_t)((int32_t)L_7<<(int32_t)((int32_t)16)))); bool L_8 = ___isNegative3; if (!L_8) { goto IL_005e; } } { uint32_t L_9 = __this->get_flags_5(); __this->set_flags_5(((int32_t)((int32_t)L_9|(int32_t)((int32_t)-2147483648LL)))); } IL_005e: { return; } } extern "C" void Decimal__ctor_m1770144563_AdjustorThunk (Il2CppObject * __this, int32_t ___lo0, int32_t ___mid1, int32_t ___hi2, bool ___isNegative3, uint8_t ___scale4, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); Decimal__ctor_m1770144563(_thisAdjusted, ___lo0, ___mid1, ___hi2, ___isNegative3, ___scale4, method); } // System.Void System.Decimal::.ctor(System.Int32) extern "C" void Decimal__ctor_m1010012873 (Decimal_t724701077 * __this, int32_t ___value0, const MethodInfo* method) { uint32_t V_0 = 0; { int32_t L_0 = 0; V_0 = L_0; __this->set_mid_8(L_0); uint32_t L_1 = V_0; __this->set_hi_6(L_1); int32_t L_2 = ___value0; if ((((int32_t)L_2) >= ((int32_t)0))) { goto IL_0031; } } { __this->set_flags_5(((int32_t)-2147483648LL)); int32_t L_3 = ___value0; __this->set_lo_7(((int32_t)((int32_t)((~L_3))+(int32_t)1))); goto IL_003f; } IL_0031: { __this->set_flags_5(0); int32_t L_4 = ___value0; __this->set_lo_7(L_4); } IL_003f: { return; } } extern "C" void Decimal__ctor_m1010012873_AdjustorThunk (Il2CppObject * __this, int32_t ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); Decimal__ctor_m1010012873(_thisAdjusted, ___value0, method); } // System.Void System.Decimal::.ctor(System.UInt32) extern "C" void Decimal__ctor_m1376049078 (Decimal_t724701077 * __this, uint32_t ___value0, const MethodInfo* method) { uint32_t V_0 = 0; { uint32_t L_0 = ___value0; __this->set_lo_7(L_0); int32_t L_1 = 0; V_0 = L_1; __this->set_mid_8(L_1); uint32_t L_2 = V_0; uint32_t L_3 = L_2; V_0 = L_3; __this->set_hi_6(L_3); uint32_t L_4 = V_0; __this->set_flags_5(L_4); return; } } extern "C" void Decimal__ctor_m1376049078_AdjustorThunk (Il2CppObject * __this, uint32_t ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); Decimal__ctor_m1376049078(_thisAdjusted, ___value0, method); } // System.Void System.Decimal::.ctor(System.Int64) extern "C" void Decimal__ctor_m1991243832 (Decimal_t724701077 * __this, int64_t ___value0, const MethodInfo* method) { uint64_t V_0 = 0; uint64_t V_1 = 0; { __this->set_hi_6(0); int64_t L_0 = ___value0; if ((((int64_t)L_0) >= ((int64_t)(((int64_t)((int64_t)0)))))) { goto IL_0038; } } { __this->set_flags_5(((int32_t)-2147483648LL)); int64_t L_1 = ___value0; V_0 = ((int64_t)((int64_t)((~L_1))+(int64_t)(((int64_t)((int64_t)1))))); uint64_t L_2 = V_0; __this->set_lo_7((((int32_t)((uint32_t)L_2)))); uint64_t L_3 = V_0; __this->set_mid_8((((int32_t)((uint32_t)((int64_t)((uint64_t)L_3>>((int32_t)32))))))); goto IL_0054; } IL_0038: { __this->set_flags_5(0); int64_t L_4 = ___value0; V_1 = L_4; uint64_t L_5 = V_1; __this->set_lo_7((((int32_t)((uint32_t)L_5)))); uint64_t L_6 = V_1; __this->set_mid_8((((int32_t)((uint32_t)((int64_t)((uint64_t)L_6>>((int32_t)32))))))); } IL_0054: { return; } } extern "C" void Decimal__ctor_m1991243832_AdjustorThunk (Il2CppObject * __this, int64_t ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); Decimal__ctor_m1991243832(_thisAdjusted, ___value0, method); } // System.Void System.Decimal::.ctor(System.UInt64) extern "C" void Decimal__ctor_m569480123 (Decimal_t724701077 * __this, uint64_t ___value0, const MethodInfo* method) { uint32_t V_0 = 0; { int32_t L_0 = 0; V_0 = L_0; __this->set_hi_6(L_0); uint32_t L_1 = V_0; __this->set_flags_5(L_1); uint64_t L_2 = ___value0; __this->set_lo_7((((int32_t)((uint32_t)L_2)))); uint64_t L_3 = ___value0; __this->set_mid_8((((int32_t)((uint32_t)((int64_t)((uint64_t)L_3>>((int32_t)32))))))); return; } } extern "C" void Decimal__ctor_m569480123_AdjustorThunk (Il2CppObject * __this, uint64_t ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); Decimal__ctor_m569480123(_thisAdjusted, ___value0, method); } // System.Void System.Decimal::.ctor(System.Single) extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* Single_t2076509932_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3834943611; extern const uint32_t Decimal__ctor_m2078022985_MetadataUsageId; extern "C" void Decimal__ctor_m2078022985 (Decimal_t724701077 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal__ctor_m2078022985_MetadataUsageId); s_Il2CppMethodInitialized = true; } Decimal_t724701077 V_0; memset(&V_0, 0, sizeof(V_0)); { float L_0 = ___value0; if ((((float)L_0) > ((float)(7.92281625E+28f)))) { goto IL_0037; } } { float L_1 = ___value0; if ((((float)L_1) < ((float)(-7.92281625E+28f)))) { goto IL_0037; } } { float L_2 = ___value0; bool L_3 = Single_IsNaN_m2349591895(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); if (L_3) { goto IL_0037; } } { float L_4 = ___value0; bool L_5 = Single_IsNegativeInfinity_m2615809279(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); if (L_5) { goto IL_0037; } } { float L_6 = ___value0; bool L_7 = Single_IsPositiveInfinity_m869158735(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_0056; } } IL_0037: { ObjectU5BU5D_t3614634134* L_8 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1)); float L_9 = ___value0; float L_10 = L_9; Il2CppObject * L_11 = Box(Single_t2076509932_il2cpp_TypeInfo_var, &L_10); ArrayElementTypeCheck (L_8, L_11); (L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_11); String_t* L_12 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral3834943611, L_8, /*hidden argument*/NULL); OverflowException_t1075868493 * L_13 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_13, L_12, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } IL_0056: { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_14 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); String_t* L_15 = Single_ToString_m1229799376((&___value0), L_14, /*hidden argument*/NULL); CultureInfo_t3500843524 * L_16 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_17 = Decimal_Parse_m2923785927(NULL /*static, unused*/, L_15, ((int32_t)167), L_16, /*hidden argument*/NULL); V_0 = L_17; uint32_t L_18 = (&V_0)->get_flags_5(); __this->set_flags_5(L_18); uint32_t L_19 = (&V_0)->get_hi_6(); __this->set_hi_6(L_19); uint32_t L_20 = (&V_0)->get_lo_7(); __this->set_lo_7(L_20); uint32_t L_21 = (&V_0)->get_mid_8(); __this->set_mid_8(L_21); return; } } extern "C" void Decimal__ctor_m2078022985_AdjustorThunk (Il2CppObject * __this, float ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); Decimal__ctor_m2078022985(_thisAdjusted, ___value0, method); } // System.Void System.Decimal::.ctor(System.Double) extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* Double_t4078015681_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3834943611; extern const uint32_t Decimal__ctor_m3876694886_MetadataUsageId; extern "C" void Decimal__ctor_m3876694886 (Decimal_t724701077 * __this, double ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal__ctor_m3876694886_MetadataUsageId); s_Il2CppMethodInitialized = true; } Decimal_t724701077 V_0; memset(&V_0, 0, sizeof(V_0)); { double L_0 = ___value0; if ((((double)L_0) > ((double)(7.9228162514264338E+28)))) { goto IL_003f; } } { double L_1 = ___value0; if ((((double)L_1) < ((double)(-7.9228162514264338E+28)))) { goto IL_003f; } } { double L_2 = ___value0; bool L_3 = Double_IsNaN_m2289494211(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); if (L_3) { goto IL_003f; } } { double L_4 = ___value0; bool L_5 = Double_IsNegativeInfinity_m1111913183(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); if (L_5) { goto IL_003f; } } { double L_6 = ___value0; bool L_7 = Double_IsPositiveInfinity_m3525344431(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_005e; } } IL_003f: { ObjectU5BU5D_t3614634134* L_8 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1)); double L_9 = ___value0; double L_10 = L_9; Il2CppObject * L_11 = Box(Double_t4078015681_il2cpp_TypeInfo_var, &L_10); ArrayElementTypeCheck (L_8, L_11); (L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_11); String_t* L_12 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral3834943611, L_8, /*hidden argument*/NULL); OverflowException_t1075868493 * L_13 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_13, L_12, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } IL_005e: { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_14 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); String_t* L_15 = Double_ToString_m1085043609((&___value0), L_14, /*hidden argument*/NULL); CultureInfo_t3500843524 * L_16 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_17 = Decimal_Parse_m2923785927(NULL /*static, unused*/, L_15, ((int32_t)167), L_16, /*hidden argument*/NULL); V_0 = L_17; uint32_t L_18 = (&V_0)->get_flags_5(); __this->set_flags_5(L_18); uint32_t L_19 = (&V_0)->get_hi_6(); __this->set_hi_6(L_19); uint32_t L_20 = (&V_0)->get_lo_7(); __this->set_lo_7(L_20); uint32_t L_21 = (&V_0)->get_mid_8(); __this->set_mid_8(L_21); return; } } extern "C" void Decimal__ctor_m3876694886_AdjustorThunk (Il2CppObject * __this, double ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); Decimal__ctor_m3876694886(_thisAdjusted, ___value0, method); } // System.Void System.Decimal::.cctor() extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal__cctor_m2600730415_MetadataUsageId; extern "C" void Decimal__cctor_m2600730415 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal__cctor_m2600730415_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0; memset(&L_0, 0, sizeof(L_0)); Decimal__ctor_m1770144563(&L_0, (-1), (-1), (-1), (bool)(-1), 0, /*hidden argument*/NULL); ((Decimal_t724701077_StaticFields*)Decimal_t724701077_il2cpp_TypeInfo_var->static_fields)->set_MinValue_0(L_0); Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1770144563(&L_1, (-1), (-1), (-1), (bool)0, 0, /*hidden argument*/NULL); ((Decimal_t724701077_StaticFields*)Decimal_t724701077_il2cpp_TypeInfo_var->static_fields)->set_MaxValue_1(L_1); Decimal_t724701077 L_2; memset(&L_2, 0, sizeof(L_2)); Decimal__ctor_m1010012873(&L_2, (-1), /*hidden argument*/NULL); ((Decimal_t724701077_StaticFields*)Decimal_t724701077_il2cpp_TypeInfo_var->static_fields)->set_MinusOne_2(L_2); Decimal_t724701077 L_3; memset(&L_3, 0, sizeof(L_3)); Decimal__ctor_m1010012873(&L_3, 1, /*hidden argument*/NULL); ((Decimal_t724701077_StaticFields*)Decimal_t724701077_il2cpp_TypeInfo_var->static_fields)->set_One_3(L_3); Decimal_t724701077 L_4; memset(&L_4, 0, sizeof(L_4)); Decimal__ctor_m1770144563(&L_4, (-1), (-1), (-1), (bool)0, 1, /*hidden argument*/NULL); ((Decimal_t724701077_StaticFields*)Decimal_t724701077_il2cpp_TypeInfo_var->static_fields)->set_MaxValueDiv10_4(L_4); return; } } // System.Object System.Decimal::System.IConvertible.ToType(System.Type,System.IFormatProvider) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3040989817; extern const uint32_t Decimal_System_IConvertible_ToType_m3828527724_MetadataUsageId; extern "C" Il2CppObject * Decimal_System_IConvertible_ToType_m3828527724 (Decimal_t724701077 * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToType_m3828527724_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___targetType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3040989817, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Decimal_t724701077 L_2 = (*(Decimal_t724701077 *)__this); Il2CppObject * L_3 = Box(Decimal_t724701077_il2cpp_TypeInfo_var, &L_2); Type_t * L_4 = ___targetType0; Il2CppObject * L_5 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Il2CppObject * L_6 = Convert_ToType_m1408903144(NULL /*static, unused*/, L_3, L_4, L_5, (bool)0, /*hidden argument*/NULL); return L_6; } } extern "C" Il2CppObject * Decimal_System_IConvertible_ToType_m3828527724_AdjustorThunk (Il2CppObject * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToType_m3828527724(_thisAdjusted, ___targetType0, ___provider1, method); } // System.Boolean System.Decimal::System.IConvertible.ToBoolean(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToBoolean_m746732936_MetadataUsageId; extern "C" bool Decimal_System_IConvertible_ToBoolean_m746732936 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToBoolean_m746732936_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); bool L_0 = Convert_ToBoolean_m609649195(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" bool Decimal_System_IConvertible_ToBoolean_m746732936_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToBoolean_m746732936(_thisAdjusted, ___provider0, method); } // System.Byte System.Decimal::System.IConvertible.ToByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToByte_m3432160840_MetadataUsageId; extern "C" uint8_t Decimal_System_IConvertible_ToByte_m3432160840 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToByte_m3432160840_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint8_t L_0 = Convert_ToByte_m3700175607(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" uint8_t Decimal_System_IConvertible_ToByte_m3432160840_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToByte_m3432160840(_thisAdjusted, ___provider0, method); } // System.Char System.Decimal::System.IConvertible.ToChar(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToChar_m2425091200_MetadataUsageId; extern "C" Il2CppChar Decimal_System_IConvertible_ToChar_m2425091200 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToChar_m2425091200_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" Il2CppChar Decimal_System_IConvertible_ToChar_m2425091200_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToChar_m2425091200(_thisAdjusted, ___provider0, method); } // System.DateTime System.Decimal::System.IConvertible.ToDateTime(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToDateTime_m4247760250_MetadataUsageId; extern "C" DateTime_t693205669 Decimal_System_IConvertible_ToDateTime_m4247760250 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToDateTime_m4247760250_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" DateTime_t693205669 Decimal_System_IConvertible_ToDateTime_m4247760250_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToDateTime_m4247760250(_thisAdjusted, ___provider0, method); } // System.Decimal System.Decimal::System.IConvertible.ToDecimal(System.IFormatProvider) extern "C" Decimal_t724701077 Decimal_System_IConvertible_ToDecimal_m1541432424 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { { return (*(Decimal_t724701077 *)__this); } } extern "C" Decimal_t724701077 Decimal_System_IConvertible_ToDecimal_m1541432424_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToDecimal_m1541432424(_thisAdjusted, ___provider0, method); } // System.Double System.Decimal::System.IConvertible.ToDouble(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToDouble_m266191986_MetadataUsageId; extern "C" double Decimal_System_IConvertible_ToDouble_m266191986 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToDouble_m266191986_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); double L_0 = Convert_ToDouble_m1210655267(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" double Decimal_System_IConvertible_ToDouble_m266191986_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToDouble_m266191986(_thisAdjusted, ___provider0, method); } // System.Int16 System.Decimal::System.IConvertible.ToInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToInt16_m3159038792_MetadataUsageId; extern "C" int16_t Decimal_System_IConvertible_ToInt16_m3159038792 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToInt16_m3159038792_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int16_t L_0 = Convert_ToInt16_m172393227(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" int16_t Decimal_System_IConvertible_ToInt16_m3159038792_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToInt16_m3159038792(_thisAdjusted, ___provider0, method); } // System.Int32 System.Decimal::System.IConvertible.ToInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToInt32_m2951299528_MetadataUsageId; extern "C" int32_t Decimal_System_IConvertible_ToInt32_m2951299528 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToInt32_m2951299528_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int32_t L_0 = Convert_ToInt32_m2734833291(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" int32_t Decimal_System_IConvertible_ToInt32_m2951299528_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToInt32_m2951299528(_thisAdjusted, ___provider0, method); } // System.Int64 System.Decimal::System.IConvertible.ToInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToInt64_m2504363272_MetadataUsageId; extern "C" int64_t Decimal_System_IConvertible_ToInt64_m2504363272 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToInt64_m2504363272_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int64_t L_0 = Convert_ToInt64_m1722087499(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" int64_t Decimal_System_IConvertible_ToInt64_m2504363272_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToInt64_m2504363272(_thisAdjusted, ___provider0, method); } // System.SByte System.Decimal::System.IConvertible.ToSByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToSByte_m3745141000_MetadataUsageId; extern "C" int8_t Decimal_System_IConvertible_ToSByte_m3745141000 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToSByte_m3745141000_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int8_t L_0 = Convert_ToSByte_m3295168715(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" int8_t Decimal_System_IConvertible_ToSByte_m3745141000_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToSByte_m3745141000(_thisAdjusted, ___provider0, method); } // System.Single System.Decimal::System.IConvertible.ToSingle(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToSingle_m1736019752_MetadataUsageId; extern "C" float Decimal_System_IConvertible_ToSingle_m1736019752 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToSingle_m1736019752_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); float L_0 = Convert_ToSingle_m39351287(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" float Decimal_System_IConvertible_ToSingle_m1736019752_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToSingle_m1736019752(_thisAdjusted, ___provider0, method); } // System.UInt16 System.Decimal::System.IConvertible.ToUInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToUInt16_m1621568250_MetadataUsageId; extern "C" uint16_t Decimal_System_IConvertible_ToUInt16_m1621568250 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToUInt16_m1621568250_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint16_t L_0 = Convert_ToUInt16_m588378195(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" uint16_t Decimal_System_IConvertible_ToUInt16_m1621568250_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToUInt16_m1621568250(_thisAdjusted, ___provider0, method); } // System.UInt32 System.Decimal::System.IConvertible.ToUInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToUInt32_m1050425626_MetadataUsageId; extern "C" uint32_t Decimal_System_IConvertible_ToUInt32_m1050425626 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToUInt32_m1050425626_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint32_t L_0 = Convert_ToUInt32_m610956619(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" uint32_t Decimal_System_IConvertible_ToUInt32_m1050425626_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToUInt32_m1050425626(_thisAdjusted, ___provider0, method); } // System.UInt64 System.Decimal::System.IConvertible.ToUInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Decimal_System_IConvertible_ToUInt64_m2457277336_MetadataUsageId; extern "C" uint64_t Decimal_System_IConvertible_ToUInt64_m2457277336 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_System_IConvertible_ToUInt64_m2457277336_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint64_t L_0 = Convert_ToUInt64_m3944965503(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_0; } } extern "C" uint64_t Decimal_System_IConvertible_ToUInt64_m2457277336_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_System_IConvertible_ToUInt64_m2457277336(_thisAdjusted, ___provider0, method); } // System.Int32[] System.Decimal::GetBits(System.Decimal) extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern const uint32_t Decimal_GetBits_m3520401316_MetadataUsageId; extern "C" Int32U5BU5D_t3030399641* Decimal_GetBits_m3520401316 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_GetBits_m3520401316_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)4)); uint32_t L_1 = (&___d0)->get_lo_7(); (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)L_1); Int32U5BU5D_t3030399641* L_2 = L_0; uint32_t L_3 = (&___d0)->get_mid_8(); (L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (int32_t)L_3); Int32U5BU5D_t3030399641* L_4 = L_2; uint32_t L_5 = (&___d0)->get_hi_6(); (L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (int32_t)L_5); Int32U5BU5D_t3030399641* L_6 = L_4; uint32_t L_7 = (&___d0)->get_flags_5(); (L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (int32_t)L_7); return L_6; } } // System.Decimal System.Decimal::Add(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2456497478; extern const uint32_t Decimal_Add_m1535064574_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_Add_m1535064574 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Add_m1535064574_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_0 = Decimal_decimalIncr_m2819722623(NULL /*static, unused*/, (&___d10), (&___d21), /*hidden argument*/NULL); if (L_0) { goto IL_0010; } } { Decimal_t724701077 L_1 = ___d10; return L_1; } IL_0010: { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2456497478, /*hidden argument*/NULL); OverflowException_t1075868493 * L_3 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } } // System.Decimal System.Decimal::Subtract(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3093171552; extern Il2CppCodeGenString* _stringLiteral372029317; extern const uint32_t Decimal_Subtract_m505281095_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_Subtract_m505281095 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Subtract_m505281095_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { Decimal_t724701077 * L_0 = (&___d21); uint32_t L_1 = L_0->get_flags_5(); L_0->set_flags_5(((int32_t)((int32_t)L_1^(int32_t)((int32_t)-2147483648LL)))); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_2 = Decimal_decimalIncr_m2819722623(NULL /*static, unused*/, (&___d10), (&___d21), /*hidden argument*/NULL); V_0 = L_2; int32_t L_3 = V_0; if (L_3) { goto IL_0025; } } { Decimal_t724701077 L_4 = ___d10; return L_4; } IL_0025: { int32_t L_5 = V_0; int32_t L_6 = L_5; Il2CppObject * L_7 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_6); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_8 = String_Concat_m2000667605(NULL /*static, unused*/, _stringLiteral3093171552, L_7, _stringLiteral372029317, /*hidden argument*/NULL); String_t* L_9 = Locale_GetText_m1954433032(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); OverflowException_t1075868493 * L_10 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m3249894750(L_10, L_9, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } } // System.Int32 System.Decimal::GetHashCode() extern "C" int32_t Decimal_GetHashCode_m703641627 (Decimal_t724701077 * __this, const MethodInfo* method) { { uint32_t L_0 = __this->get_flags_5(); uint32_t L_1 = __this->get_hi_6(); uint32_t L_2 = __this->get_lo_7(); uint32_t L_3 = __this->get_mid_8(); return ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_0^(int32_t)L_1))^(int32_t)L_2))^(int32_t)L_3)); } } extern "C" int32_t Decimal_GetHashCode_m703641627_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_GetHashCode_m703641627(_thisAdjusted, method); } // System.UInt64 System.Decimal::u64(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern const uint32_t Decimal_u64_m3991988111_MetadataUsageId; extern "C" uint64_t Decimal_u64_m3991988111 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_u64_m3991988111_MetadataUsageId); s_Il2CppMethodInitialized = true; } uint64_t V_0 = 0; { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_decimalFloorAndTrunc_m3655683429(NULL /*static, unused*/, (&___value0), 0, /*hidden argument*/NULL); int32_t L_0 = Decimal_decimal2UInt64_m2090419396(NULL /*static, unused*/, (&___value0), (&V_0), /*hidden argument*/NULL); if (!L_0) { goto IL_001c; } } { OverflowException_t1075868493 * L_1 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m2564269836(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_001c: { uint64_t L_2 = V_0; return L_2; } } // System.Int64 System.Decimal::s64(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern const uint32_t Decimal_s64_m2965457432_MetadataUsageId; extern "C" int64_t Decimal_s64_m2965457432 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_s64_m2965457432_MetadataUsageId); s_Il2CppMethodInitialized = true; } int64_t V_0 = 0; { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_decimalFloorAndTrunc_m3655683429(NULL /*static, unused*/, (&___value0), 0, /*hidden argument*/NULL); int32_t L_0 = Decimal_decimal2Int64_m792823028(NULL /*static, unused*/, (&___value0), (&V_0), /*hidden argument*/NULL); if (!L_0) { goto IL_001c; } } { OverflowException_t1075868493 * L_1 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m2564269836(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_001c: { int64_t L_2 = V_0; return L_2; } } // System.Boolean System.Decimal::Equals(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_Equals_m3067479043_MetadataUsageId; extern "C" bool Decimal_Equals_m3067479043 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Equals_m3067479043_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___d10; Decimal_t724701077 L_1 = ___d21; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_2 = Decimal_Compare_m1330176085(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Decimal::Equals(System.Object) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_Equals_m1798565377_MetadataUsageId; extern "C" bool Decimal_Equals_m1798565377 (Decimal_t724701077 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Equals_m1798565377_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (((Il2CppObject *)IsInstSealed(L_0, Decimal_t724701077_il2cpp_TypeInfo_var))) { goto IL_000d; } } { return (bool)0; } IL_000d: { Il2CppObject * L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_Equals_m3067479043(NULL /*static, unused*/, ((*(Decimal_t724701077 *)((Decimal_t724701077 *)UnBox (L_1, Decimal_t724701077_il2cpp_TypeInfo_var)))), (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_2; } } extern "C" bool Decimal_Equals_m1798565377_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_Equals_m1798565377(_thisAdjusted, ___value0, method); } // System.Boolean System.Decimal::IsZero() extern "C" bool Decimal_IsZero_m3557909184 (Decimal_t724701077 * __this, const MethodInfo* method) { int32_t G_B4_0 = 0; { uint32_t L_0 = __this->get_hi_6(); if (L_0) { goto IL_0021; } } { uint32_t L_1 = __this->get_lo_7(); if (L_1) { goto IL_0021; } } { uint32_t L_2 = __this->get_mid_8(); G_B4_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0); goto IL_0022; } IL_0021: { G_B4_0 = 0; } IL_0022: { return (bool)G_B4_0; } } extern "C" bool Decimal_IsZero_m3557909184_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_IsZero_m3557909184(_thisAdjusted, method); } // System.Decimal System.Decimal::Floor(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_Floor_m1662853963_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_Floor_m1662853963 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Floor_m1662853963_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_decimalFloorAndTrunc_m3655683429(NULL /*static, unused*/, (&___d0), 1, /*hidden argument*/NULL); Decimal_t724701077 L_0 = ___d0; return L_0; } } // System.Decimal System.Decimal::Multiply(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern const uint32_t Decimal_Multiply_m1884379383_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_Multiply_m1884379383 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Multiply_m1884379383_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = Decimal_IsZero_m3557909184((&___d10), /*hidden argument*/NULL); if (L_0) { goto IL_0018; } } { bool L_1 = Decimal_IsZero_m3557909184((&___d21), /*hidden argument*/NULL); if (!L_1) { goto IL_001f; } } IL_0018: { Decimal_t724701077 L_2; memset(&L_2, 0, sizeof(L_2)); Decimal__ctor_m1010012873(&L_2, 0, /*hidden argument*/NULL); return L_2; } IL_001f: { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_3 = Decimal_decimalMult_m3318413437(NULL /*static, unused*/, (&___d10), (&___d21), /*hidden argument*/NULL); if (!L_3) { goto IL_0033; } } { OverflowException_t1075868493 * L_4 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m2564269836(L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0033: { Decimal_t724701077 L_5 = ___d10; return L_5; } } // System.Decimal System.Decimal::Divide(System.Decimal,System.Decimal) extern Il2CppClass* DivideByZeroException_t1660837001_il2cpp_TypeInfo_var; extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern const uint32_t Decimal_Divide_m600158300_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_Divide_m600158300 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Divide_m600158300_MetadataUsageId); s_Il2CppMethodInitialized = true; } Decimal_t724701077 V_0; memset(&V_0, 0, sizeof(V_0)); { bool L_0 = Decimal_IsZero_m3557909184((&___d21), /*hidden argument*/NULL); if (!L_0) { goto IL_0012; } } { DivideByZeroException_t1660837001 * L_1 = (DivideByZeroException_t1660837001 *)il2cpp_codegen_object_new(DivideByZeroException_t1660837001_il2cpp_TypeInfo_var); DivideByZeroException__ctor_m280382972(L_1, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0012: { bool L_2 = Decimal_IsZero_m3557909184((&___d10), /*hidden argument*/NULL); if (!L_2) { goto IL_0025; } } { Decimal_t724701077 L_3; memset(&L_3, 0, sizeof(L_3)); Decimal__ctor_m1010012873(&L_3, 0, /*hidden argument*/NULL); return L_3; } IL_0025: { Decimal_t724701077 * L_4 = (&___d10); uint32_t L_5 = L_4->get_flags_5(); L_4->set_flags_5(((int32_t)((int32_t)L_5^(int32_t)((int32_t)-2147483648LL)))); Decimal_t724701077 * L_6 = (&___d10); uint32_t L_7 = L_6->get_flags_5(); L_6->set_flags_5(((int32_t)((int32_t)L_7^(int32_t)((int32_t)-2147483648LL)))); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_8 = Decimal_decimalDiv_m900036616(NULL /*static, unused*/, (&V_0), (&___d10), (&___d21), /*hidden argument*/NULL); if (!L_8) { goto IL_0061; } } { OverflowException_t1075868493 * L_9 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m2564269836(L_9, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_9); } IL_0061: { Decimal_t724701077 L_10 = V_0; return L_10; } } // System.Int32 System.Decimal::Compare(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_Compare_m1330176085_MetadataUsageId; extern "C" int32_t Decimal_Compare_m1330176085 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Compare_m1330176085_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_0 = Decimal_decimalCompare_m26009298(NULL /*static, unused*/, (&___d10), (&___d21), /*hidden argument*/NULL); return L_0; } } // System.Int32 System.Decimal::CompareTo(System.Object) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3092437013; extern const uint32_t Decimal_CompareTo_m2454501434_MetadataUsageId; extern "C" int32_t Decimal_CompareTo_m2454501434 (Decimal_t724701077 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_CompareTo_m2454501434_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 1; } IL_0008: { Il2CppObject * L_1 = ___value0; if (((Il2CppObject *)IsInstSealed(L_1, Decimal_t724701077_il2cpp_TypeInfo_var))) { goto IL_0023; } } { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3092437013, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppObject * L_4 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_5 = Decimal_Compare_m1330176085(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), ((*(Decimal_t724701077 *)((Decimal_t724701077 *)UnBox (L_4, Decimal_t724701077_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL); return L_5; } } extern "C" int32_t Decimal_CompareTo_m2454501434_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_CompareTo_m2454501434(_thisAdjusted, ___value0, method); } // System.Int32 System.Decimal::CompareTo(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_CompareTo_m573986782_MetadataUsageId; extern "C" int32_t Decimal_CompareTo_m573986782 (Decimal_t724701077 * __this, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_CompareTo_m573986782_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_1 = Decimal_Compare_m1330176085(NULL /*static, unused*/, (*(Decimal_t724701077 *)__this), L_0, /*hidden argument*/NULL); return L_1; } } extern "C" int32_t Decimal_CompareTo_m573986782_AdjustorThunk (Il2CppObject * __this, Decimal_t724701077 ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_CompareTo_m573986782(_thisAdjusted, ___value0, method); } // System.Boolean System.Decimal::Equals(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_Equals_m1115043331_MetadataUsageId; extern "C" bool Decimal_Equals_m1115043331 (Decimal_t724701077 * __this, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Equals_m1115043331_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_1 = Decimal_Equals_m3067479043(NULL /*static, unused*/, L_0, (*(Decimal_t724701077 *)__this), /*hidden argument*/NULL); return L_1; } } extern "C" bool Decimal_Equals_m1115043331_AdjustorThunk (Il2CppObject * __this, Decimal_t724701077 ___value0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_Equals_m1115043331(_thisAdjusted, ___value0, method); } // System.Decimal System.Decimal::Parse(System.String,System.IFormatProvider) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_Parse_m2662862650_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_Parse_m2662862650 (Il2CppObject * __this /* static, unused */, String_t* ___s0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Parse_m2662862650_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___s0; Il2CppObject * L_1 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_2 = Decimal_Parse_m2923785927(NULL /*static, unused*/, L_0, ((int32_t)111), L_1, /*hidden argument*/NULL); return L_2; } } // System.Void System.Decimal::ThrowAtPos(System.Int32) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral967220416; extern const uint32_t Decimal_ThrowAtPos_m3318712794_MetadataUsageId; extern "C" void Decimal_ThrowAtPos_m3318712794 (Il2CppObject * __this /* static, unused */, int32_t ___pos0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_ThrowAtPos_m3318712794_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral967220416, /*hidden argument*/NULL); int32_t L_1 = ___pos0; int32_t L_2 = L_1; Il2CppObject * L_3 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_4 = String_Format_m2024975688(NULL /*static, unused*/, L_0, L_3, /*hidden argument*/NULL); FormatException_t2948921286 * L_5 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_5, L_4, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } } // System.Void System.Decimal::ThrowInvalidExp() extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral759175520; extern const uint32_t Decimal_ThrowInvalidExp_m3430267638_MetadataUsageId; extern "C" void Decimal_ThrowInvalidExp_m3430267638 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_ThrowInvalidExp_m3430267638_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral759175520, /*hidden argument*/NULL); FormatException_t2948921286 * L_1 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.String System.Decimal::stripStyles(System.String,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo,System.Int32&,System.Boolean&,System.Boolean&,System.Int32&,System.Boolean) extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4231630011; extern Il2CppCodeGenString* _stringLiteral838595968; extern const uint32_t Decimal_stripStyles_m294582157_MetadataUsageId; extern "C" String_t* Decimal_stripStyles_m294582157 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___style1, NumberFormatInfo_t104580544 * ___nfi2, int32_t* ___decPos3, bool* ___isNegative4, bool* ___expFlag5, int32_t* ___exp6, bool ___throwex7, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_stripStyles_m294582157_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; bool V_1 = false; bool V_2 = false; bool V_3 = false; bool V_4 = false; bool V_5 = false; bool V_6 = false; bool V_7 = false; bool V_8 = false; bool V_9 = false; bool V_10 = false; bool V_11 = false; int32_t V_12 = 0; String_t* V_13 = NULL; String_t* V_14 = NULL; int32_t V_15 = 0; int32_t V_16 = 0; StringBuilder_t1221177846 * V_17 = NULL; Il2CppChar V_18 = 0x0; int32_t V_19 = 0; int32_t V_20 = 0; int32_t V_21 = 0; Il2CppChar V_22 = 0x0; int32_t V_23 = 0; int32_t V_24 = 0; Il2CppChar V_25 = 0x0; bool V_26 = false; int32_t V_27 = 0; int32_t V_28 = 0; Il2CppChar V_29 = 0x0; int32_t V_30 = 0; int32_t V_31 = 0; String_t* G_B6_0 = NULL; String_t* G_B9_0 = NULL; { bool* L_0 = ___isNegative4; *((int8_t*)(L_0)) = (int8_t)0; bool* L_1 = ___expFlag5; *((int8_t*)(L_1)) = (int8_t)0; int32_t* L_2 = ___exp6; *((int32_t*)(L_2)) = (int32_t)0; int32_t* L_3 = ___decPos3; *((int32_t*)(L_3)) = (int32_t)(-1); V_0 = (bool)0; V_1 = (bool)0; V_2 = (bool)0; int32_t L_4 = ___style1; V_3 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_4&(int32_t)1))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_5 = ___style1; V_4 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_5&(int32_t)2))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_6 = ___style1; V_5 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_6&(int32_t)4))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_7 = ___style1; V_6 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_7&(int32_t)8))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_8 = ___style1; V_7 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_8&(int32_t)((int32_t)16)))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_9 = ___style1; V_8 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_9&(int32_t)((int32_t)64)))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_10 = ___style1; V_9 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_10&(int32_t)((int32_t)32)))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_11 = ___style1; V_10 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_11&(int32_t)((int32_t)128)))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); V_11 = (bool)0; int32_t L_12 = ___style1; if (!((int32_t)((int32_t)L_12&(int32_t)((int32_t)256)))) { goto IL_00b0; } } { String_t* L_13 = ___s0; NumberFormatInfo_t104580544 * L_14 = ___nfi2; String_t* L_15 = NumberFormatInfo_get_CurrencySymbol_m3976699491(L_14, /*hidden argument*/NULL); int32_t L_16 = String_IndexOf_m4251815737(L_13, L_15, /*hidden argument*/NULL); V_12 = L_16; int32_t L_17 = V_12; if ((((int32_t)L_17) < ((int32_t)0))) { goto IL_00b0; } } { String_t* L_18 = ___s0; int32_t L_19 = V_12; NumberFormatInfo_t104580544 * L_20 = ___nfi2; String_t* L_21 = NumberFormatInfo_get_CurrencySymbol_m3976699491(L_20, /*hidden argument*/NULL); int32_t L_22 = String_get_Length_m1606060069(L_21, /*hidden argument*/NULL); String_t* L_23 = String_Remove_m3580114465(L_18, L_19, L_22, /*hidden argument*/NULL); ___s0 = L_23; V_11 = (bool)1; } IL_00b0: { bool L_24 = V_11; if (!L_24) { goto IL_00c2; } } { NumberFormatInfo_t104580544 * L_25 = ___nfi2; String_t* L_26 = NumberFormatInfo_get_CurrencyDecimalSeparator_m3051944543(L_25, /*hidden argument*/NULL); G_B6_0 = L_26; goto IL_00c8; } IL_00c2: { NumberFormatInfo_t104580544 * L_27 = ___nfi2; String_t* L_28 = NumberFormatInfo_get_NumberDecimalSeparator_m406062319(L_27, /*hidden argument*/NULL); G_B6_0 = L_28; } IL_00c8: { V_13 = G_B6_0; bool L_29 = V_11; if (!L_29) { goto IL_00dc; } } { NumberFormatInfo_t104580544 * L_30 = ___nfi2; String_t* L_31 = NumberFormatInfo_get_CurrencyGroupSeparator_m2480433019(L_30, /*hidden argument*/NULL); G_B9_0 = L_31; goto IL_00e2; } IL_00dc: { NumberFormatInfo_t104580544 * L_32 = ___nfi2; String_t* L_33 = NumberFormatInfo_get_NumberGroupSeparator_m3576847339(L_32, /*hidden argument*/NULL); G_B9_0 = L_33; } IL_00e2: { V_14 = G_B9_0; V_15 = 0; String_t* L_34 = ___s0; int32_t L_35 = String_get_Length_m1606060069(L_34, /*hidden argument*/NULL); V_16 = L_35; int32_t L_36 = V_16; StringBuilder_t1221177846 * L_37 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var); StringBuilder__ctor_m536337337(L_37, L_36, /*hidden argument*/NULL); V_17 = L_37; goto IL_0285; } IL_00fd: { String_t* L_38 = ___s0; int32_t L_39 = V_15; Il2CppChar L_40 = String_get_Chars_m4230566705(L_38, L_39, /*hidden argument*/NULL); V_18 = L_40; Il2CppChar L_41 = V_18; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_42 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_41, /*hidden argument*/NULL); if (!L_42) { goto IL_0118; } } { goto IL_028e; } IL_0118: { bool L_43 = V_3; if (!L_43) { goto IL_0135; } } { Il2CppChar L_44 = V_18; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_45 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_44, /*hidden argument*/NULL); if (!L_45) { goto IL_0135; } } { int32_t L_46 = V_15; V_15 = ((int32_t)((int32_t)L_46+(int32_t)1)); goto IL_0285; } IL_0135: { bool L_47 = V_7; if (!L_47) { goto IL_0164; } } { Il2CppChar L_48 = V_18; if ((!(((uint32_t)L_48) == ((uint32_t)((int32_t)40))))) { goto IL_0164; } } { bool L_49 = V_0; if (L_49) { goto IL_0164; } } { bool L_50 = V_1; if (L_50) { goto IL_0164; } } { V_1 = (bool)1; V_0 = (bool)1; bool* L_51 = ___isNegative4; *((int8_t*)(L_51)) = (int8_t)1; int32_t L_52 = V_15; V_15 = ((int32_t)((int32_t)L_52+(int32_t)1)); goto IL_0285; } IL_0164: { bool L_53 = V_5; if (!L_53) { goto IL_01c2; } } { Il2CppChar L_54 = V_18; NumberFormatInfo_t104580544 * L_55 = ___nfi2; String_t* L_56 = NumberFormatInfo_get_NegativeSign_m3735050898(L_55, /*hidden argument*/NULL); Il2CppChar L_57 = String_get_Chars_m4230566705(L_56, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_54) == ((uint32_t)L_57)))) { goto IL_01c2; } } { bool L_58 = V_0; if (L_58) { goto IL_01c2; } } { NumberFormatInfo_t104580544 * L_59 = ___nfi2; String_t* L_60 = NumberFormatInfo_get_NegativeSign_m3735050898(L_59, /*hidden argument*/NULL); int32_t L_61 = String_get_Length_m1606060069(L_60, /*hidden argument*/NULL); V_19 = L_61; int32_t L_62 = V_19; if ((((int32_t)L_62) == ((int32_t)1))) { goto IL_01b0; } } { String_t* L_63 = ___s0; NumberFormatInfo_t104580544 * L_64 = ___nfi2; String_t* L_65 = NumberFormatInfo_get_NegativeSign_m3735050898(L_64, /*hidden argument*/NULL); int32_t L_66 = V_15; int32_t L_67 = V_19; int32_t L_68 = String_IndexOf_m3750299821(L_63, L_65, L_66, L_67, /*hidden argument*/NULL); int32_t L_69 = V_15; if ((!(((uint32_t)L_68) == ((uint32_t)L_69)))) { goto IL_01bd; } } IL_01b0: { V_0 = (bool)1; bool* L_70 = ___isNegative4; *((int8_t*)(L_70)) = (int8_t)1; int32_t L_71 = V_15; int32_t L_72 = V_19; V_15 = ((int32_t)((int32_t)L_71+(int32_t)L_72)); } IL_01bd: { goto IL_0285; } IL_01c2: { bool L_73 = V_5; if (!L_73) { goto IL_021c; } } { Il2CppChar L_74 = V_18; NumberFormatInfo_t104580544 * L_75 = ___nfi2; String_t* L_76 = NumberFormatInfo_get_PositiveSign_m3396333026(L_75, /*hidden argument*/NULL); Il2CppChar L_77 = String_get_Chars_m4230566705(L_76, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_74) == ((uint32_t)L_77)))) { goto IL_021c; } } { bool L_78 = V_0; if (L_78) { goto IL_021c; } } { NumberFormatInfo_t104580544 * L_79 = ___nfi2; String_t* L_80 = NumberFormatInfo_get_PositiveSign_m3396333026(L_79, /*hidden argument*/NULL); int32_t L_81 = String_get_Length_m1606060069(L_80, /*hidden argument*/NULL); V_20 = L_81; int32_t L_82 = V_20; if ((((int32_t)L_82) == ((int32_t)1))) { goto IL_020e; } } { String_t* L_83 = ___s0; NumberFormatInfo_t104580544 * L_84 = ___nfi2; String_t* L_85 = NumberFormatInfo_get_PositiveSign_m3396333026(L_84, /*hidden argument*/NULL); int32_t L_86 = V_15; int32_t L_87 = V_20; int32_t L_88 = String_IndexOf_m3750299821(L_83, L_85, L_86, L_87, /*hidden argument*/NULL); int32_t L_89 = V_15; if ((!(((uint32_t)L_88) == ((uint32_t)L_89)))) { goto IL_0217; } } IL_020e: { V_0 = (bool)1; int32_t L_90 = V_15; int32_t L_91 = V_20; V_15 = ((int32_t)((int32_t)L_90+(int32_t)L_91)); } IL_0217: { goto IL_0285; } IL_021c: { bool L_92 = V_9; if (!L_92) { goto IL_0270; } } { Il2CppChar L_93 = V_18; String_t* L_94 = V_13; Il2CppChar L_95 = String_get_Chars_m4230566705(L_94, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_93) == ((uint32_t)L_95)))) { goto IL_0270; } } { String_t* L_96 = V_13; int32_t L_97 = String_get_Length_m1606060069(L_96, /*hidden argument*/NULL); V_21 = L_97; int32_t L_98 = V_21; if ((((int32_t)L_98) == ((int32_t)1))) { goto IL_026b; } } { String_t* L_99 = ___s0; String_t* L_100 = V_13; int32_t L_101 = V_15; int32_t L_102 = V_21; int32_t L_103 = String_IndexOf_m3750299821(L_99, L_100, L_101, L_102, /*hidden argument*/NULL); int32_t L_104 = V_15; if ((((int32_t)L_103) == ((int32_t)L_104))) { goto IL_026b; } } { bool L_105 = ___throwex7; if (!L_105) { goto IL_0269; } } { int32_t L_106 = V_15; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_ThrowAtPos_m3318712794(NULL /*static, unused*/, L_106, /*hidden argument*/NULL); goto IL_026b; } IL_0269: { return (String_t*)NULL; } IL_026b: { goto IL_028e; } IL_0270: { bool L_107 = ___throwex7; if (!L_107) { goto IL_0283; } } { int32_t L_108 = V_15; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_ThrowAtPos_m3318712794(NULL /*static, unused*/, L_108, /*hidden argument*/NULL); goto IL_0285; } IL_0283: { return (String_t*)NULL; } IL_0285: { int32_t L_109 = V_15; int32_t L_110 = V_16; if ((((int32_t)L_109) < ((int32_t)L_110))) { goto IL_00fd; } } IL_028e: { int32_t L_111 = V_15; int32_t L_112 = V_16; if ((!(((uint32_t)L_111) == ((uint32_t)L_112)))) { goto IL_02b0; } } { bool L_113 = ___throwex7; if (!L_113) { goto IL_02ae; } } { String_t* L_114 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4231630011, /*hidden argument*/NULL); FormatException_t2948921286 * L_115 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_115, L_114, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_115); } IL_02ae: { return (String_t*)NULL; } IL_02b0: { goto IL_0397; } IL_02b5: { String_t* L_116 = ___s0; int32_t L_117 = V_15; Il2CppChar L_118 = String_get_Chars_m4230566705(L_116, L_117, /*hidden argument*/NULL); V_22 = L_118; Il2CppChar L_119 = V_22; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_120 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_119, /*hidden argument*/NULL); if (!L_120) { goto IL_02e0; } } { StringBuilder_t1221177846 * L_121 = V_17; Il2CppChar L_122 = V_22; StringBuilder_Append_m3618697540(L_121, L_122, /*hidden argument*/NULL); int32_t L_123 = V_15; V_15 = ((int32_t)((int32_t)L_123+(int32_t)1)); goto IL_0397; } IL_02e0: { bool L_124 = V_8; if (!L_124) { goto IL_033b; } } { Il2CppChar L_125 = V_22; String_t* L_126 = V_14; Il2CppChar L_127 = String_get_Chars_m4230566705(L_126, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_125) == ((uint32_t)L_127)))) { goto IL_033b; } } { String_t* L_128 = V_14; int32_t L_129 = String_get_Length_m1606060069(L_128, /*hidden argument*/NULL); V_23 = L_129; int32_t L_130 = V_23; if ((((int32_t)L_130) == ((int32_t)1))) { goto IL_032f; } } { String_t* L_131 = ___s0; String_t* L_132 = V_14; int32_t L_133 = V_15; int32_t L_134 = V_23; int32_t L_135 = String_IndexOf_m3750299821(L_131, L_132, L_133, L_134, /*hidden argument*/NULL); int32_t L_136 = V_15; if ((((int32_t)L_135) == ((int32_t)L_136))) { goto IL_032f; } } { bool L_137 = ___throwex7; if (!L_137) { goto IL_032d; } } { int32_t L_138 = V_15; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_ThrowAtPos_m3318712794(NULL /*static, unused*/, L_138, /*hidden argument*/NULL); goto IL_032f; } IL_032d: { return (String_t*)NULL; } IL_032f: { int32_t L_139 = V_15; int32_t L_140 = V_23; V_15 = ((int32_t)((int32_t)L_139+(int32_t)L_140)); goto IL_0397; } IL_033b: { bool L_141 = V_9; if (!L_141) { goto IL_0392; } } { Il2CppChar L_142 = V_22; String_t* L_143 = V_13; Il2CppChar L_144 = String_get_Chars_m4230566705(L_143, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_142) == ((uint32_t)L_144)))) { goto IL_0392; } } { bool L_145 = V_2; if (L_145) { goto IL_0392; } } { String_t* L_146 = V_13; int32_t L_147 = String_get_Length_m1606060069(L_146, /*hidden argument*/NULL); V_24 = L_147; int32_t L_148 = V_24; if ((((int32_t)L_148) == ((int32_t)1))) { goto IL_037b; } } { String_t* L_149 = ___s0; String_t* L_150 = V_13; int32_t L_151 = V_15; int32_t L_152 = V_24; int32_t L_153 = String_IndexOf_m3750299821(L_149, L_150, L_151, L_152, /*hidden argument*/NULL); int32_t L_154 = V_15; if ((!(((uint32_t)L_153) == ((uint32_t)L_154)))) { goto IL_038d; } } IL_037b: { int32_t* L_155 = ___decPos3; StringBuilder_t1221177846 * L_156 = V_17; int32_t L_157 = StringBuilder_get_Length_m1608241323(L_156, /*hidden argument*/NULL); *((int32_t*)(L_155)) = (int32_t)L_157; V_2 = (bool)1; int32_t L_158 = V_15; int32_t L_159 = V_24; V_15 = ((int32_t)((int32_t)L_158+(int32_t)L_159)); } IL_038d: { goto IL_0397; } IL_0392: { goto IL_03a0; } IL_0397: { int32_t L_160 = V_15; int32_t L_161 = V_16; if ((((int32_t)L_160) < ((int32_t)L_161))) { goto IL_02b5; } } IL_03a0: { int32_t L_162 = V_15; int32_t L_163 = V_16; if ((((int32_t)L_162) >= ((int32_t)L_163))) { goto IL_054e; } } { String_t* L_164 = ___s0; int32_t L_165 = V_15; Il2CppChar L_166 = String_get_Chars_m4230566705(L_164, L_165, /*hidden argument*/NULL); V_25 = L_166; bool L_167 = V_10; if (!L_167) { goto IL_054e; } } { Il2CppChar L_168 = V_25; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); Il2CppChar L_169 = Char_ToUpperInvariant_m3983736813(NULL /*static, unused*/, L_168, /*hidden argument*/NULL); if ((!(((uint32_t)L_169) == ((uint32_t)((int32_t)69))))) { goto IL_054e; } } { bool* L_170 = ___expFlag5; *((int8_t*)(L_170)) = (int8_t)1; int32_t L_171 = V_15; V_15 = ((int32_t)((int32_t)L_171+(int32_t)1)); int32_t L_172 = V_15; int32_t L_173 = V_16; if ((((int32_t)L_172) < ((int32_t)L_173))) { goto IL_03ee; } } { bool L_174 = ___throwex7; if (!L_174) { goto IL_03ec; } } { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_ThrowInvalidExp_m3430267638(NULL /*static, unused*/, /*hidden argument*/NULL); goto IL_03ee; } IL_03ec: { return (String_t*)NULL; } IL_03ee: { String_t* L_175 = ___s0; int32_t L_176 = V_15; Il2CppChar L_177 = String_get_Chars_m4230566705(L_175, L_176, /*hidden argument*/NULL); V_25 = L_177; V_26 = (bool)0; Il2CppChar L_178 = V_25; NumberFormatInfo_t104580544 * L_179 = ___nfi2; String_t* L_180 = NumberFormatInfo_get_PositiveSign_m3396333026(L_179, /*hidden argument*/NULL); Il2CppChar L_181 = String_get_Chars_m4230566705(L_180, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_178) == ((uint32_t)L_181)))) { goto IL_0462; } } { NumberFormatInfo_t104580544 * L_182 = ___nfi2; String_t* L_183 = NumberFormatInfo_get_PositiveSign_m3396333026(L_182, /*hidden argument*/NULL); int32_t L_184 = String_get_Length_m1606060069(L_183, /*hidden argument*/NULL); V_27 = L_184; int32_t L_185 = V_27; if ((((int32_t)L_185) == ((int32_t)1))) { goto IL_043a; } } { String_t* L_186 = ___s0; NumberFormatInfo_t104580544 * L_187 = ___nfi2; String_t* L_188 = NumberFormatInfo_get_PositiveSign_m3396333026(L_187, /*hidden argument*/NULL); int32_t L_189 = V_15; int32_t L_190 = V_27; int32_t L_191 = String_IndexOf_m3750299821(L_186, L_188, L_189, L_190, /*hidden argument*/NULL); int32_t L_192 = V_15; if ((!(((uint32_t)L_191) == ((uint32_t)L_192)))) { goto IL_045d; } } IL_043a: { int32_t L_193 = V_15; int32_t L_194 = V_27; V_15 = ((int32_t)((int32_t)L_193+(int32_t)L_194)); int32_t L_195 = V_15; int32_t L_196 = V_16; if ((((int32_t)L_195) < ((int32_t)L_196))) { goto IL_045d; } } { bool L_197 = ___throwex7; if (!L_197) { goto IL_045b; } } { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_ThrowInvalidExp_m3430267638(NULL /*static, unused*/, /*hidden argument*/NULL); goto IL_045d; } IL_045b: { return (String_t*)NULL; } IL_045d: { goto IL_04c7; } IL_0462: { Il2CppChar L_198 = V_25; NumberFormatInfo_t104580544 * L_199 = ___nfi2; String_t* L_200 = NumberFormatInfo_get_NegativeSign_m3735050898(L_199, /*hidden argument*/NULL); Il2CppChar L_201 = String_get_Chars_m4230566705(L_200, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_198) == ((uint32_t)L_201)))) { goto IL_04c7; } } { NumberFormatInfo_t104580544 * L_202 = ___nfi2; String_t* L_203 = NumberFormatInfo_get_NegativeSign_m3735050898(L_202, /*hidden argument*/NULL); int32_t L_204 = String_get_Length_m1606060069(L_203, /*hidden argument*/NULL); V_28 = L_204; int32_t L_205 = V_28; if ((((int32_t)L_205) == ((int32_t)1))) { goto IL_04a1; } } { String_t* L_206 = ___s0; NumberFormatInfo_t104580544 * L_207 = ___nfi2; String_t* L_208 = NumberFormatInfo_get_NegativeSign_m3735050898(L_207, /*hidden argument*/NULL); int32_t L_209 = V_15; int32_t L_210 = V_28; int32_t L_211 = String_IndexOf_m3750299821(L_206, L_208, L_209, L_210, /*hidden argument*/NULL); int32_t L_212 = V_15; if ((!(((uint32_t)L_211) == ((uint32_t)L_212)))) { goto IL_04c7; } } IL_04a1: { int32_t L_213 = V_15; int32_t L_214 = V_28; V_15 = ((int32_t)((int32_t)L_213+(int32_t)L_214)); int32_t L_215 = V_15; int32_t L_216 = V_16; if ((((int32_t)L_215) < ((int32_t)L_216))) { goto IL_04c4; } } { bool L_217 = ___throwex7; if (!L_217) { goto IL_04c2; } } { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_ThrowInvalidExp_m3430267638(NULL /*static, unused*/, /*hidden argument*/NULL); goto IL_04c4; } IL_04c2: { return (String_t*)NULL; } IL_04c4: { V_26 = (bool)1; } IL_04c7: { String_t* L_218 = ___s0; int32_t L_219 = V_15; Il2CppChar L_220 = String_get_Chars_m4230566705(L_218, L_219, /*hidden argument*/NULL); V_25 = L_220; Il2CppChar L_221 = V_25; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_222 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_221, /*hidden argument*/NULL); if (L_222) { goto IL_04f0; } } { bool L_223 = ___throwex7; if (!L_223) { goto IL_04ee; } } { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_ThrowInvalidExp_m3430267638(NULL /*static, unused*/, /*hidden argument*/NULL); goto IL_04f0; } IL_04ee: { return (String_t*)NULL; } IL_04f0: { int32_t* L_224 = ___exp6; Il2CppChar L_225 = V_25; *((int32_t*)(L_224)) = (int32_t)((int32_t)((int32_t)L_225-(int32_t)((int32_t)48))); int32_t L_226 = V_15; V_15 = ((int32_t)((int32_t)L_226+(int32_t)1)); goto IL_0524; } IL_0503: { int32_t* L_227 = ___exp6; int32_t* L_228 = ___exp6; *((int32_t*)(L_227)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_228))*(int32_t)((int32_t)10))); int32_t* L_229 = ___exp6; int32_t* L_230 = ___exp6; String_t* L_231 = ___s0; int32_t L_232 = V_15; Il2CppChar L_233 = String_get_Chars_m4230566705(L_231, L_232, /*hidden argument*/NULL); *((int32_t*)(L_229)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_230))+(int32_t)((int32_t)((int32_t)L_233-(int32_t)((int32_t)48))))); int32_t L_234 = V_15; V_15 = ((int32_t)((int32_t)L_234+(int32_t)1)); } IL_0524: { int32_t L_235 = V_15; int32_t L_236 = V_16; if ((((int32_t)L_235) >= ((int32_t)L_236))) { goto IL_053f; } } { String_t* L_237 = ___s0; int32_t L_238 = V_15; Il2CppChar L_239 = String_get_Chars_m4230566705(L_237, L_238, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_240 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_239, /*hidden argument*/NULL); if (L_240) { goto IL_0503; } } IL_053f: { bool L_241 = V_26; if (!L_241) { goto IL_054e; } } { int32_t* L_242 = ___exp6; int32_t* L_243 = ___exp6; *((int32_t*)(L_242)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_243))*(int32_t)(-1))); } IL_054e: { goto IL_066b; } IL_0553: { String_t* L_244 = ___s0; int32_t L_245 = V_15; Il2CppChar L_246 = String_get_Chars_m4230566705(L_244, L_245, /*hidden argument*/NULL); V_29 = L_246; bool L_247 = V_4; if (!L_247) { goto IL_057b; } } { Il2CppChar L_248 = V_29; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_249 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_248, /*hidden argument*/NULL); if (!L_249) { goto IL_057b; } } { int32_t L_250 = V_15; V_15 = ((int32_t)((int32_t)L_250+(int32_t)1)); goto IL_066b; } IL_057b: { bool L_251 = V_7; if (!L_251) { goto IL_059e; } } { Il2CppChar L_252 = V_29; if ((!(((uint32_t)L_252) == ((uint32_t)((int32_t)41))))) { goto IL_059e; } } { bool L_253 = V_1; if (!L_253) { goto IL_059e; } } { V_1 = (bool)0; int32_t L_254 = V_15; V_15 = ((int32_t)((int32_t)L_254+(int32_t)1)); goto IL_066b; } IL_059e: { bool L_255 = V_6; if (!L_255) { goto IL_05fc; } } { Il2CppChar L_256 = V_29; NumberFormatInfo_t104580544 * L_257 = ___nfi2; String_t* L_258 = NumberFormatInfo_get_NegativeSign_m3735050898(L_257, /*hidden argument*/NULL); Il2CppChar L_259 = String_get_Chars_m4230566705(L_258, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_256) == ((uint32_t)L_259)))) { goto IL_05fc; } } { bool L_260 = V_0; if (L_260) { goto IL_05fc; } } { NumberFormatInfo_t104580544 * L_261 = ___nfi2; String_t* L_262 = NumberFormatInfo_get_NegativeSign_m3735050898(L_261, /*hidden argument*/NULL); int32_t L_263 = String_get_Length_m1606060069(L_262, /*hidden argument*/NULL); V_30 = L_263; int32_t L_264 = V_30; if ((((int32_t)L_264) == ((int32_t)1))) { goto IL_05ea; } } { String_t* L_265 = ___s0; NumberFormatInfo_t104580544 * L_266 = ___nfi2; String_t* L_267 = NumberFormatInfo_get_NegativeSign_m3735050898(L_266, /*hidden argument*/NULL); int32_t L_268 = V_15; int32_t L_269 = V_30; int32_t L_270 = String_IndexOf_m3750299821(L_265, L_267, L_268, L_269, /*hidden argument*/NULL); int32_t L_271 = V_15; if ((!(((uint32_t)L_270) == ((uint32_t)L_271)))) { goto IL_05f7; } } IL_05ea: { V_0 = (bool)1; bool* L_272 = ___isNegative4; *((int8_t*)(L_272)) = (int8_t)1; int32_t L_273 = V_15; int32_t L_274 = V_30; V_15 = ((int32_t)((int32_t)L_273+(int32_t)L_274)); } IL_05f7: { goto IL_066b; } IL_05fc: { bool L_275 = V_6; if (!L_275) { goto IL_0656; } } { Il2CppChar L_276 = V_29; NumberFormatInfo_t104580544 * L_277 = ___nfi2; String_t* L_278 = NumberFormatInfo_get_PositiveSign_m3396333026(L_277, /*hidden argument*/NULL); Il2CppChar L_279 = String_get_Chars_m4230566705(L_278, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_276) == ((uint32_t)L_279)))) { goto IL_0656; } } { bool L_280 = V_0; if (L_280) { goto IL_0656; } } { NumberFormatInfo_t104580544 * L_281 = ___nfi2; String_t* L_282 = NumberFormatInfo_get_PositiveSign_m3396333026(L_281, /*hidden argument*/NULL); int32_t L_283 = String_get_Length_m1606060069(L_282, /*hidden argument*/NULL); V_31 = L_283; int32_t L_284 = V_31; if ((((int32_t)L_284) == ((int32_t)1))) { goto IL_0648; } } { String_t* L_285 = ___s0; NumberFormatInfo_t104580544 * L_286 = ___nfi2; String_t* L_287 = NumberFormatInfo_get_PositiveSign_m3396333026(L_286, /*hidden argument*/NULL); int32_t L_288 = V_15; int32_t L_289 = V_31; int32_t L_290 = String_IndexOf_m3750299821(L_285, L_287, L_288, L_289, /*hidden argument*/NULL); int32_t L_291 = V_15; if ((!(((uint32_t)L_290) == ((uint32_t)L_291)))) { goto IL_0651; } } IL_0648: { V_0 = (bool)1; int32_t L_292 = V_15; int32_t L_293 = V_31; V_15 = ((int32_t)((int32_t)L_292+(int32_t)L_293)); } IL_0651: { goto IL_066b; } IL_0656: { bool L_294 = ___throwex7; if (!L_294) { goto IL_0669; } } { int32_t L_295 = V_15; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_ThrowAtPos_m3318712794(NULL /*static, unused*/, L_295, /*hidden argument*/NULL); goto IL_066b; } IL_0669: { return (String_t*)NULL; } IL_066b: { int32_t L_296 = V_15; int32_t L_297 = V_16; if ((((int32_t)L_296) < ((int32_t)L_297))) { goto IL_0553; } } { bool L_298 = V_1; if (!L_298) { goto IL_0693; } } { bool L_299 = ___throwex7; if (!L_299) { goto IL_0691; } } { String_t* L_300 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral838595968, /*hidden argument*/NULL); FormatException_t2948921286 * L_301 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_301, L_300, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_301); } IL_0691: { return (String_t*)NULL; } IL_0693: { bool L_302 = V_2; if (L_302) { goto IL_06a2; } } { int32_t* L_303 = ___decPos3; StringBuilder_t1221177846 * L_304 = V_17; int32_t L_305 = StringBuilder_get_Length_m1608241323(L_304, /*hidden argument*/NULL); *((int32_t*)(L_303)) = (int32_t)L_305; } IL_06a2: { StringBuilder_t1221177846 * L_306 = V_17; String_t* L_307 = StringBuilder_ToString_m1507807375(L_306, /*hidden argument*/NULL); return L_307; } } // System.Decimal System.Decimal::Parse(System.String,System.Globalization.NumberStyles,System.IFormatProvider) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029391; extern Il2CppCodeGenString* _stringLiteral3728912399; extern Il2CppCodeGenString* _stringLiteral627234459; extern const uint32_t Decimal_Parse_m2923785927_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_Parse_m2923785927 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___style1, Il2CppObject * ___provider2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_Parse_m2923785927_MetadataUsageId); s_Il2CppMethodInitialized = true; } Decimal_t724701077 V_0; memset(&V_0, 0, sizeof(V_0)); { String_t* L_0 = ___s0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral372029391, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { int32_t L_2 = ___style1; if (!((int32_t)((int32_t)L_2&(int32_t)((int32_t)512)))) { goto IL_002d; } } { ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_3, _stringLiteral3728912399, _stringLiteral627234459, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002d: { String_t* L_4 = ___s0; int32_t L_5 = ___style1; Il2CppObject * L_6 = ___provider2; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_PerformParse_m1766978056(NULL /*static, unused*/, L_4, L_5, L_6, (&V_0), (bool)1, /*hidden argument*/NULL); Decimal_t724701077 L_7 = V_0; return L_7; } } // System.Boolean System.Decimal::PerformParse(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Decimal&,System.Boolean) extern Il2CppClass* NumberFormatInfo_t104580544_il2cpp_TypeInfo_var; extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral437617956; extern Il2CppCodeGenString* _stringLiteral3738416886; extern Il2CppCodeGenString* _stringLiteral372029325; extern const uint32_t Decimal_PerformParse_m1766978056_MetadataUsageId; extern "C" bool Decimal_PerformParse_m1766978056 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___style1, Il2CppObject * ___provider2, Decimal_t724701077 * ___res3, bool ___throwex4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_PerformParse_m1766978056_MetadataUsageId); s_Il2CppMethodInitialized = true; } NumberFormatInfo_t104580544 * V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; bool V_3 = false; bool V_4 = false; int32_t V_5 = 0; int32_t V_6 = 0; int32_t V_7 = 0; int32_t V_8 = 0; bool V_9 = false; int32_t V_10 = 0; CharU5BU5D_t1328083999* V_11 = NULL; int32_t V_12 = 0; int32_t V_13 = 0; Decimal_t724701077 V_14; memset(&V_14, 0, sizeof(V_14)); int32_t G_B16_0 = 0; { Il2CppObject * L_0 = ___provider2; IL2CPP_RUNTIME_CLASS_INIT(NumberFormatInfo_t104580544_il2cpp_TypeInfo_var); NumberFormatInfo_t104580544 * L_1 = NumberFormatInfo_GetInstance_m1119800258(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; String_t* L_2 = ___s0; int32_t L_3 = ___style1; NumberFormatInfo_t104580544 * L_4 = V_0; bool L_5 = ___throwex4; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); String_t* L_6 = Decimal_stripStyles_m294582157(NULL /*static, unused*/, L_2, L_3, L_4, (&V_1), (&V_3), (&V_4), (&V_2), L_5, /*hidden argument*/NULL); ___s0 = L_6; String_t* L_7 = ___s0; if (L_7) { goto IL_002f; } } { Decimal_t724701077 * L_8 = ___res3; Decimal_t724701077 L_9; memset(&L_9, 0, sizeof(L_9)); Decimal__ctor_m1010012873(&L_9, 0, /*hidden argument*/NULL); (*(Decimal_t724701077 *)L_8) = L_9; return (bool)0; } IL_002f: { int32_t L_10 = V_1; if ((((int32_t)L_10) >= ((int32_t)0))) { goto IL_005b; } } { bool L_11 = ___throwex4; if (!L_11) { goto IL_004d; } } { String_t* L_12 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral437617956, /*hidden argument*/NULL); Exception_t1927440687 * L_13 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var); Exception__ctor_m485833136(L_13, L_12, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_13); } IL_004d: { Decimal_t724701077 * L_14 = ___res3; Decimal_t724701077 L_15; memset(&L_15, 0, sizeof(L_15)); Decimal__ctor_m1010012873(&L_15, 0, /*hidden argument*/NULL); (*(Decimal_t724701077 *)L_14) = L_15; return (bool)0; } IL_005b: { String_t* L_16 = ___s0; int32_t L_17 = String_get_Length_m1606060069(L_16, /*hidden argument*/NULL); V_5 = L_17; V_6 = 0; goto IL_0071; } IL_006b: { int32_t L_18 = V_6; V_6 = ((int32_t)((int32_t)L_18+(int32_t)1)); } IL_0071: { int32_t L_19 = V_6; int32_t L_20 = V_1; if ((((int32_t)L_19) >= ((int32_t)L_20))) { goto IL_0088; } } { String_t* L_21 = ___s0; int32_t L_22 = V_6; Il2CppChar L_23 = String_get_Chars_m4230566705(L_21, L_22, /*hidden argument*/NULL); if ((((int32_t)L_23) == ((int32_t)((int32_t)48)))) { goto IL_006b; } } IL_0088: { int32_t L_24 = V_6; if ((((int32_t)L_24) <= ((int32_t)1))) { goto IL_00ac; } } { int32_t L_25 = V_5; if ((((int32_t)L_25) <= ((int32_t)1))) { goto IL_00ac; } } { String_t* L_26 = ___s0; int32_t L_27 = V_6; int32_t L_28 = V_5; int32_t L_29 = V_6; String_t* L_30 = String_Substring_m12482732(L_26, L_27, ((int32_t)((int32_t)L_28-(int32_t)L_29)), /*hidden argument*/NULL); ___s0 = L_30; int32_t L_31 = V_1; int32_t L_32 = V_6; V_1 = ((int32_t)((int32_t)L_31-(int32_t)L_32)); } IL_00ac: { int32_t L_33 = V_1; if (L_33) { goto IL_00b9; } } { G_B16_0 = ((int32_t)27); goto IL_00bb; } IL_00b9: { G_B16_0 = ((int32_t)28); } IL_00bb: { V_7 = G_B16_0; String_t* L_34 = ___s0; int32_t L_35 = String_get_Length_m1606060069(L_34, /*hidden argument*/NULL); V_5 = L_35; int32_t L_36 = V_5; int32_t L_37 = V_7; if ((((int32_t)L_36) < ((int32_t)((int32_t)((int32_t)L_37+(int32_t)1))))) { goto IL_00f3; } } { String_t* L_38 = ___s0; int32_t L_39 = V_7; IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_40 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); int32_t L_41 = String_Compare_m560208559(NULL /*static, unused*/, L_38, 0, _stringLiteral3738416886, 0, ((int32_t)((int32_t)L_39+(int32_t)1)), (bool)0, L_40, /*hidden argument*/NULL); if ((((int32_t)L_41) > ((int32_t)0))) { goto IL_00f3; } } { int32_t L_42 = V_7; V_7 = ((int32_t)((int32_t)L_42+(int32_t)1)); } IL_00f3: { int32_t L_43 = V_5; int32_t L_44 = V_7; if ((((int32_t)L_43) <= ((int32_t)L_44))) { goto IL_01e5; } } { int32_t L_45 = V_1; int32_t L_46 = V_5; if ((((int32_t)L_45) >= ((int32_t)L_46))) { goto IL_01e5; } } { String_t* L_47 = ___s0; int32_t L_48 = V_7; Il2CppChar L_49 = String_get_Chars_m4230566705(L_47, L_48, /*hidden argument*/NULL); V_8 = ((int32_t)((int32_t)L_49-(int32_t)((int32_t)48))); String_t* L_50 = ___s0; int32_t L_51 = V_7; String_t* L_52 = String_Substring_m12482732(L_50, 0, L_51, /*hidden argument*/NULL); ___s0 = L_52; V_9 = (bool)0; int32_t L_53 = V_8; if ((((int32_t)L_53) <= ((int32_t)5))) { goto IL_012f; } } { V_9 = (bool)1; goto IL_015d; } IL_012f: { int32_t L_54 = V_8; if ((!(((uint32_t)L_54) == ((uint32_t)5)))) { goto IL_015d; } } { bool L_55 = V_3; if (!L_55) { goto IL_0145; } } { V_9 = (bool)1; goto IL_015d; } IL_0145: { String_t* L_56 = ___s0; int32_t L_57 = V_7; Il2CppChar L_58 = String_get_Chars_m4230566705(L_56, ((int32_t)((int32_t)L_57-(int32_t)1)), /*hidden argument*/NULL); V_10 = ((int32_t)((int32_t)L_58-(int32_t)((int32_t)48))); int32_t L_59 = V_10; V_9 = (bool)((((int32_t)((int32_t)((int32_t)L_59&(int32_t)1))) == ((int32_t)1))? 1 : 0); } IL_015d: { bool L_60 = V_9; if (!L_60) { goto IL_01e5; } } { String_t* L_61 = ___s0; CharU5BU5D_t1328083999* L_62 = String_ToCharArray_m870309954(L_61, /*hidden argument*/NULL); V_11 = L_62; int32_t L_63 = V_7; V_12 = ((int32_t)((int32_t)L_63-(int32_t)1)); goto IL_01a9; } IL_0177: { CharU5BU5D_t1328083999* L_64 = V_11; int32_t L_65 = V_12; int32_t L_66 = L_65; uint16_t L_67 = (L_64)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_66)); V_13 = ((int32_t)((int32_t)L_67-(int32_t)((int32_t)48))); CharU5BU5D_t1328083999* L_68 = V_11; int32_t L_69 = V_12; int32_t L_70 = L_69; uint16_t L_71 = (L_68)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_70)); if ((((int32_t)L_71) == ((int32_t)((int32_t)57)))) { goto IL_019d; } } { CharU5BU5D_t1328083999* L_72 = V_11; int32_t L_73 = V_12; int32_t L_74 = V_13; (L_72)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_73), (Il2CppChar)(((int32_t)((uint16_t)((int32_t)((int32_t)L_74+(int32_t)((int32_t)49))))))); goto IL_01b1; } IL_019d: { CharU5BU5D_t1328083999* L_75 = V_11; int32_t L_76 = V_12; int32_t L_77 = L_76; V_12 = ((int32_t)((int32_t)L_77-(int32_t)1)); (L_75)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_77), (Il2CppChar)((int32_t)48)); } IL_01a9: { int32_t L_78 = V_12; if ((((int32_t)L_78) >= ((int32_t)0))) { goto IL_0177; } } IL_01b1: { int32_t L_79 = V_12; if ((!(((uint32_t)L_79) == ((uint32_t)(-1))))) { goto IL_01dc; } } { CharU5BU5D_t1328083999* L_80 = V_11; int32_t L_81 = 0; uint16_t L_82 = (L_80)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_81)); if ((!(((uint32_t)L_82) == ((uint32_t)((int32_t)48))))) { goto IL_01dc; } } { int32_t L_83 = V_1; V_1 = ((int32_t)((int32_t)L_83+(int32_t)1)); int32_t L_84 = V_1; String_t* L_85 = String_PadRight_m1043573208(_stringLiteral372029325, L_84, ((int32_t)48), /*hidden argument*/NULL); ___s0 = L_85; goto IL_01e5; } IL_01dc: { CharU5BU5D_t1328083999* L_86 = V_11; String_t* L_87 = String_CreateString_m3818307083(NULL, L_86, /*hidden argument*/NULL); ___s0 = L_87; } IL_01e5: { String_t* L_88 = ___s0; int32_t L_89 = V_1; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_90 = Decimal_string2decimal_m2359307539(NULL /*static, unused*/, (&V_14), L_88, L_89, 0, /*hidden argument*/NULL); if (!L_90) { goto IL_020f; } } { bool L_91 = ___throwex4; if (!L_91) { goto IL_0201; } } { OverflowException_t1075868493 * L_92 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m2564269836(L_92, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_92); } IL_0201: { Decimal_t724701077 * L_93 = ___res3; Decimal_t724701077 L_94; memset(&L_94, 0, sizeof(L_94)); Decimal__ctor_m1010012873(&L_94, 0, /*hidden argument*/NULL); (*(Decimal_t724701077 *)L_93) = L_94; return (bool)0; } IL_020f: { bool L_95 = V_4; if (!L_95) { goto IL_023e; } } { int32_t L_96 = V_2; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_97 = Decimal_decimalSetExponent_m138220099(NULL /*static, unused*/, (&V_14), L_96, /*hidden argument*/NULL); if (!L_97) { goto IL_023e; } } { bool L_98 = ___throwex4; if (!L_98) { goto IL_0230; } } { OverflowException_t1075868493 * L_99 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m2564269836(L_99, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_99); } IL_0230: { Decimal_t724701077 * L_100 = ___res3; Decimal_t724701077 L_101; memset(&L_101, 0, sizeof(L_101)); Decimal__ctor_m1010012873(&L_101, 0, /*hidden argument*/NULL); (*(Decimal_t724701077 *)L_100) = L_101; return (bool)0; } IL_023e: { bool L_102 = V_3; if (!L_102) { goto IL_0257; } } { Decimal_t724701077 * L_103 = (&V_14); uint32_t L_104 = L_103->get_flags_5(); L_103->set_flags_5(((int32_t)((int32_t)L_104^(int32_t)((int32_t)-2147483648LL)))); } IL_0257: { Decimal_t724701077 * L_105 = ___res3; Decimal_t724701077 L_106 = V_14; (*(Decimal_t724701077 *)L_105) = L_106; return (bool)1; } } // System.String System.Decimal::ToString(System.String,System.IFormatProvider) extern Il2CppClass* NumberFormatter_t2933946347_il2cpp_TypeInfo_var; extern const uint32_t Decimal_ToString_m541380585_MetadataUsageId; extern "C" String_t* Decimal_ToString_m541380585 (Decimal_t724701077 * __this, String_t* ___format0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_ToString_m541380585_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___format0; Il2CppObject * L_1 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(NumberFormatter_t2933946347_il2cpp_TypeInfo_var); String_t* L_2 = NumberFormatter_NumberToString_m3429120092(NULL /*static, unused*/, L_0, (*(Decimal_t724701077 *)__this), L_1, /*hidden argument*/NULL); return L_2; } } extern "C" String_t* Decimal_ToString_m541380585_AdjustorThunk (Il2CppObject * __this, String_t* ___format0, Il2CppObject * ___provider1, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_ToString_m541380585(_thisAdjusted, ___format0, ___provider1, method); } // System.String System.Decimal::ToString() extern Il2CppCodeGenString* _stringLiteral372029403; extern const uint32_t Decimal_ToString_m759431975_MetadataUsageId; extern "C" String_t* Decimal_ToString_m759431975 (Decimal_t724701077 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_ToString_m759431975_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Decimal_ToString_m541380585(__this, _stringLiteral372029403, (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_0; } } extern "C" String_t* Decimal_ToString_m759431975_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_ToString_m759431975(_thisAdjusted, method); } // System.String System.Decimal::ToString(System.IFormatProvider) extern Il2CppCodeGenString* _stringLiteral372029403; extern const uint32_t Decimal_ToString_m752193835_MetadataUsageId; extern "C" String_t* Decimal_ToString_m752193835 (Decimal_t724701077 * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_ToString_m752193835_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___provider0; String_t* L_1 = Decimal_ToString_m541380585(__this, _stringLiteral372029403, L_0, /*hidden argument*/NULL); return L_1; } } extern "C" String_t* Decimal_ToString_m752193835_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { Decimal_t724701077 * _thisAdjusted = reinterpret_cast<Decimal_t724701077 *>(__this + 1); return Decimal_ToString_m752193835(_thisAdjusted, ___provider0, method); } // System.Int32 System.Decimal::decimal2UInt64(System.Decimal&,System.UInt64&) extern "C" int32_t Decimal_decimal2UInt64_m2090419396 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___val0, uint64_t* ___result1, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Decimal_decimal2UInt64_m2090419396_ftn) (Decimal_t724701077 *, uint64_t*); return ((Decimal_decimal2UInt64_m2090419396_ftn)mscorlib::System::Decimal::decimal2UInt64) (___val0, ___result1); } // System.Int32 System.Decimal::decimal2Int64(System.Decimal&,System.Int64&) extern "C" int32_t Decimal_decimal2Int64_m792823028 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___val0, int64_t* ___result1, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Decimal_decimal2Int64_m792823028_ftn) (Decimal_t724701077 *, int64_t*); return ((Decimal_decimal2Int64_m792823028_ftn)mscorlib::System::Decimal::decimal2Int64) (___val0, ___result1); } // System.Int32 System.Decimal::decimalIncr(System.Decimal&,System.Decimal&) extern "C" int32_t Decimal_decimalIncr_m2819722623 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___d10, Decimal_t724701077 * ___d21, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Decimal_decimalIncr_m2819722623_ftn) (Decimal_t724701077 *, Decimal_t724701077 *); return ((Decimal_decimalIncr_m2819722623_ftn)mscorlib::System::Decimal::decimalIncr) (___d10, ___d21); } // System.Int32 System.Decimal::string2decimal(System.Decimal&,System.String,System.UInt32,System.Int32) extern "C" int32_t Decimal_string2decimal_m2359307539 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___val0, String_t* ___sDigits1, uint32_t ___decPos2, int32_t ___sign3, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Decimal_string2decimal_m2359307539_ftn) (Decimal_t724701077 *, String_t*, uint32_t, int32_t); return ((Decimal_string2decimal_m2359307539_ftn)mscorlib::System::Decimal::string2decimal) (___val0, ___sDigits1, ___decPos2, ___sign3); } // System.Int32 System.Decimal::decimalSetExponent(System.Decimal&,System.Int32) extern "C" int32_t Decimal_decimalSetExponent_m138220099 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___val0, int32_t ___exp1, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Decimal_decimalSetExponent_m138220099_ftn) (Decimal_t724701077 *, int32_t); return ((Decimal_decimalSetExponent_m138220099_ftn)mscorlib::System::Decimal::decimalSetExponent) (___val0, ___exp1); } // System.Double System.Decimal::decimal2double(System.Decimal&) extern "C" double Decimal_decimal2double_m3083866663 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___val0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef double (*Decimal_decimal2double_m3083866663_ftn) (Decimal_t724701077 *); return ((Decimal_decimal2double_m3083866663_ftn)mscorlib::System::Decimal::decimal2double) (___val0); } // System.Void System.Decimal::decimalFloorAndTrunc(System.Decimal&,System.Int32) extern "C" void Decimal_decimalFloorAndTrunc_m3655683429 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___val0, int32_t ___floorFlag1, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*Decimal_decimalFloorAndTrunc_m3655683429_ftn) (Decimal_t724701077 *, int32_t); ((Decimal_decimalFloorAndTrunc_m3655683429_ftn)mscorlib::System::Decimal::decimalFloorAndTrunc) (___val0, ___floorFlag1); } // System.Int32 System.Decimal::decimalMult(System.Decimal&,System.Decimal&) extern "C" int32_t Decimal_decimalMult_m3318413437 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___pd10, Decimal_t724701077 * ___pd21, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Decimal_decimalMult_m3318413437_ftn) (Decimal_t724701077 *, Decimal_t724701077 *); return ((Decimal_decimalMult_m3318413437_ftn)mscorlib::System::Decimal::decimalMult) (___pd10, ___pd21); } // System.Int32 System.Decimal::decimalDiv(System.Decimal&,System.Decimal&,System.Decimal&) extern "C" int32_t Decimal_decimalDiv_m900036616 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___pc0, Decimal_t724701077 * ___pa1, Decimal_t724701077 * ___pb2, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Decimal_decimalDiv_m900036616_ftn) (Decimal_t724701077 *, Decimal_t724701077 *, Decimal_t724701077 *); return ((Decimal_decimalDiv_m900036616_ftn)mscorlib::System::Decimal::decimalDiv) (___pc0, ___pa1, ___pb2); } // System.Int32 System.Decimal::decimalCompare(System.Decimal&,System.Decimal&) extern "C" int32_t Decimal_decimalCompare_m26009298 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 * ___d10, Decimal_t724701077 * ___d21, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Decimal_decimalCompare_m26009298_ftn) (Decimal_t724701077 *, Decimal_t724701077 *); return ((Decimal_decimalCompare_m26009298_ftn)mscorlib::System::Decimal::decimalCompare) (___d10, ___d21); } // System.Decimal System.Decimal::op_Increment(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Increment_m2012286538_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_op_Increment_m2012286538 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Increment_m2012286538_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___d0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, 1, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_2 = Decimal_Add_m1535064574(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Decimal System.Decimal::op_Subtraction(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Subtraction_m4281620403_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_op_Subtraction_m4281620403 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Subtraction_m4281620403_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___d10; Decimal_t724701077 L_1 = ___d21; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_2 = Decimal_Subtract_m505281095(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Decimal System.Decimal::op_Multiply(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Multiply_m363076371_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_op_Multiply_m363076371 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Multiply_m363076371_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___d10; Decimal_t724701077 L_1 = ___d21; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_2 = Decimal_Multiply_m1884379383(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Decimal System.Decimal::op_Division(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Division_m1099836590_MetadataUsageId; extern "C" Decimal_t724701077 Decimal_op_Division_m1099836590 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Division_m1099836590_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___d10; Decimal_t724701077 L_1 = ___d21; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); Decimal_t724701077 L_2 = Decimal_Divide_m600158300(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Byte System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m1053293908_MetadataUsageId; extern "C" uint8_t Decimal_op_Explicit_m1053293908 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m1053293908_MetadataUsageId); s_Il2CppMethodInitialized = true; } uint64_t V_0 = 0; { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); uint64_t L_1 = Decimal_u64_m3991988111(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; uint64_t L_2 = V_0; if ((uint64_t)(L_2) > 255LL) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception()); return (((uint8_t)((uint8_t)L_2))); } } // System.SByte System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m2135374155_MetadataUsageId; extern "C" int8_t Decimal_op_Explicit_m2135374155 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m2135374155_MetadataUsageId); s_Il2CppMethodInitialized = true; } int64_t V_0 = 0; { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int64_t L_1 = Decimal_s64_m2965457432(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; int64_t L_2 = V_0; if ((int64_t)(L_2) > 127LL) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception()); return (((int8_t)((int8_t)L_2))); } } // System.Int16 System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m3315432402_MetadataUsageId; extern "C" int16_t Decimal_op_Explicit_m3315432402 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m3315432402_MetadataUsageId); s_Il2CppMethodInitialized = true; } int64_t V_0 = 0; { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int64_t L_1 = Decimal_s64_m2965457432(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; int64_t L_2 = V_0; if ((int64_t)(L_2) > 32767LL) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception()); return (((int16_t)((int16_t)L_2))); } } // System.UInt16 System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m1986696267_MetadataUsageId; extern "C" uint16_t Decimal_op_Explicit_m1986696267 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m1986696267_MetadataUsageId); s_Il2CppMethodInitialized = true; } uint64_t V_0 = 0; { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); uint64_t L_1 = Decimal_u64_m3991988111(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; uint64_t L_2 = V_0; if ((uint64_t)(L_2) > 65535LL) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception()); return (((uint16_t)((uint16_t)L_2))); } } // System.Int32 System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m2494894232_MetadataUsageId; extern "C" int32_t Decimal_op_Explicit_m2494894232 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m2494894232_MetadataUsageId); s_Il2CppMethodInitialized = true; } int64_t V_0 = 0; { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int64_t L_1 = Decimal_s64_m2965457432(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; int64_t L_2 = V_0; if ((int64_t)(L_2) > 2147483647LL) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception()); return (((int32_t)((int32_t)L_2))); } } // System.UInt32 System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m714968249_MetadataUsageId; extern "C" uint32_t Decimal_op_Explicit_m714968249 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m714968249_MetadataUsageId); s_Il2CppMethodInitialized = true; } uint64_t V_0 = 0; { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); uint64_t L_1 = Decimal_u64_m3991988111(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; uint64_t L_2 = V_0; if ((uint64_t)(L_2) > 4294967295LL) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception()); return (((uint32_t)((uint32_t)L_2))); } } // System.Int64 System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m682912811_MetadataUsageId; extern "C" int64_t Decimal_op_Explicit_m682912811 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m682912811_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int64_t L_1 = Decimal_s64_m2965457432(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.UInt64 System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m383920456_MetadataUsageId; extern "C" uint64_t Decimal_op_Explicit_m383920456 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m383920456_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); uint64_t L_1 = Decimal_u64_m3991988111(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Implicit(System.Byte) extern "C" Decimal_t724701077 Decimal_op_Implicit_m2971610317 (Il2CppObject * __this /* static, unused */, uint8_t ___value0, const MethodInfo* method) { { uint8_t L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Implicit(System.SByte) extern "C" Decimal_t724701077 Decimal_op_Implicit_m623319612 (Il2CppObject * __this /* static, unused */, int8_t ___value0, const MethodInfo* method) { { int8_t L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, (((int32_t)((int32_t)L_0))), /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Implicit(System.Int16) extern "C" Decimal_t724701077 Decimal_op_Implicit_m987128055 (Il2CppObject * __this /* static, unused */, int16_t ___value0, const MethodInfo* method) { { int16_t L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Implicit(System.UInt16) extern "C" Decimal_t724701077 Decimal_op_Implicit_m233687092 (Il2CppObject * __this /* static, unused */, uint16_t ___value0, const MethodInfo* method) { { uint16_t L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Implicit(System.Int32) extern "C" Decimal_t724701077 Decimal_op_Implicit_m3312726949 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1010012873(&L_1, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Implicit(System.UInt32) extern "C" Decimal_t724701077 Decimal_op_Implicit_m4246329390 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method) { { uint32_t L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1376049078(&L_1, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Implicit(System.Int64) extern "C" Decimal_t724701077 Decimal_op_Implicit_m2149927308 (Il2CppObject * __this /* static, unused */, int64_t ___value0, const MethodInfo* method) { { int64_t L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m1991243832(&L_1, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Implicit(System.UInt64) extern "C" Decimal_t724701077 Decimal_op_Implicit_m2135798419 (Il2CppObject * __this /* static, unused */, uint64_t ___value0, const MethodInfo* method) { { uint64_t L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m569480123(&L_1, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Explicit(System.Single) extern "C" Decimal_t724701077 Decimal_op_Explicit_m185184148 (Il2CppObject * __this /* static, unused */, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m2078022985(&L_1, L_0, /*hidden argument*/NULL); return L_1; } } // System.Decimal System.Decimal::op_Explicit(System.Double) extern "C" Decimal_t724701077 Decimal_op_Explicit_m1194935507 (Il2CppObject * __this /* static, unused */, double ___value0, const MethodInfo* method) { { double L_0 = ___value0; Decimal_t724701077 L_1; memset(&L_1, 0, sizeof(L_1)); Decimal__ctor_m3876694886(&L_1, L_0, /*hidden argument*/NULL); return L_1; } } // System.Single System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m729046406_MetadataUsageId; extern "C" float Decimal_op_Explicit_m729046406 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m729046406_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); double L_1 = Decimal_op_Explicit_m16014099(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return (((float)((float)L_1))); } } // System.Double System.Decimal::op_Explicit(System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Explicit_m16014099_MetadataUsageId; extern "C" double Decimal_op_Explicit_m16014099 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Explicit_m16014099_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); double L_0 = Decimal_decimal2double_m3083866663(NULL /*static, unused*/, (&___value0), /*hidden argument*/NULL); return L_0; } } // System.Boolean System.Decimal::op_Inequality(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Inequality_m519758535_MetadataUsageId; extern "C" bool Decimal_op_Inequality_m519758535 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Inequality_m519758535_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___d10; Decimal_t724701077 L_1 = ___d21; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_Equals_m3067479043(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Decimal::op_Equality(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_Equality_m2278618154_MetadataUsageId; extern "C" bool Decimal_op_Equality_m2278618154 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_Equality_m2278618154_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___d10; Decimal_t724701077 L_1 = ___d21; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); bool L_2 = Decimal_Equals_m3067479043(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean System.Decimal::op_GreaterThan(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_GreaterThan_m1625379433_MetadataUsageId; extern "C" bool Decimal_op_GreaterThan_m1625379433 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_GreaterThan_m1625379433_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___d10; Decimal_t724701077 L_1 = ___d21; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_2 = Decimal_Compare_m1330176085(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return (bool)((((int32_t)L_2) > ((int32_t)0))? 1 : 0); } } // System.Boolean System.Decimal::op_LessThan(System.Decimal,System.Decimal) extern Il2CppClass* Decimal_t724701077_il2cpp_TypeInfo_var; extern const uint32_t Decimal_op_LessThan_m3672626320_MetadataUsageId; extern "C" bool Decimal_op_LessThan_m3672626320 (Il2CppObject * __this /* static, unused */, Decimal_t724701077 ___d10, Decimal_t724701077 ___d21, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Decimal_op_LessThan_m3672626320_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Decimal_t724701077 L_0 = ___d10; Decimal_t724701077 L_1 = ___d21; IL2CPP_RUNTIME_CLASS_INIT(Decimal_t724701077_il2cpp_TypeInfo_var); int32_t L_2 = Decimal_Compare_m1330176085(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return (bool)((((int32_t)L_2) < ((int32_t)0))? 1 : 0); } } // System.Reflection.MethodInfo System.Delegate::get_Method() extern Il2CppClass* IntPtr_t_il2cpp_TypeInfo_var; extern Il2CppClass* MethodInfo_t_il2cpp_TypeInfo_var; extern const uint32_t Delegate_get_Method_m2968370506_MetadataUsageId; extern "C" MethodInfo_t * Delegate_get_Method_m2968370506 (Delegate_t3022476291 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Delegate_get_Method_m2968370506_MetadataUsageId); s_Il2CppMethodInitialized = true; } { MethodInfo_t * L_0 = __this->get_method_info_6(); if (!L_0) { goto IL_0012; } } { MethodInfo_t * L_1 = __this->get_method_info_6(); return L_1; } IL_0012: { IntPtr_t L_2 = __this->get_method_3(); IntPtr_t L_3 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1(); bool L_4 = IntPtr_op_Inequality_m3044532593(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); if (!L_4) { goto IL_0042; } } { IntPtr_t L_5 = __this->get_method_3(); RuntimeMethodHandle_t894824333 L_6; memset(&L_6, 0, sizeof(L_6)); RuntimeMethodHandle__ctor_m1162528746(&L_6, L_5, /*hidden argument*/NULL); MethodBase_t904190842 * L_7 = MethodBase_GetMethodFromHandleNoGenericCheck_m4274264088(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); __this->set_method_info_6(((MethodInfo_t *)CastclassClass(L_7, MethodInfo_t_il2cpp_TypeInfo_var))); } IL_0042: { MethodInfo_t * L_8 = __this->get_method_info_6(); return L_8; } } // System.Object System.Delegate::get_Target() extern "C" Il2CppObject * Delegate_get_Target_m896795953 (Delegate_t3022476291 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_m_target_2(); return L_0; } } // System.Delegate System.Delegate::CreateDelegate_internal(System.Type,System.Object,System.Reflection.MethodInfo,System.Boolean) extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_internal_m1567874925 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, Il2CppObject * ___target1, MethodInfo_t * ___info2, bool ___throwOnBindFailure3, const MethodInfo* method) { using namespace il2cpp::icalls; typedef Delegate_t3022476291 * (*Delegate_CreateDelegate_internal_m1567874925_ftn) (Type_t *, Il2CppObject *, MethodInfo_t *, bool); return ((Delegate_CreateDelegate_internal_m1567874925_ftn)mscorlib::System::Delegate::CreateDelegate_internal) (___type0, ___target1, ___info2, ___throwOnBindFailure3); } // System.Void System.Delegate::SetMulticastInvoke() extern "C" void Delegate_SetMulticastInvoke_m361277268 (Delegate_t3022476291 * __this, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*Delegate_SetMulticastInvoke_m361277268_ftn) (Delegate_t3022476291 *); ((Delegate_SetMulticastInvoke_m361277268_ftn)mscorlib::System::Delegate::SetMulticastInvoke) (__this); } // System.Boolean System.Delegate::arg_type_match(System.Type,System.Type) extern "C" bool Delegate_arg_type_match_m1751825687 (Il2CppObject * __this /* static, unused */, Type_t * ___delArgType0, Type_t * ___argType1, const MethodInfo* method) { bool V_0 = false; { Type_t * L_0 = ___delArgType0; Type_t * L_1 = ___argType1; V_0 = (bool)((((Il2CppObject*)(Type_t *)L_0) == ((Il2CppObject*)(Type_t *)L_1))? 1 : 0); bool L_2 = V_0; if (L_2) { goto IL_0024; } } { Type_t * L_3 = ___argType1; bool L_4 = Type_get_IsValueType_m1733572463(L_3, /*hidden argument*/NULL); if (L_4) { goto IL_0024; } } { Type_t * L_5 = ___argType1; Type_t * L_6 = ___delArgType0; bool L_7 = VirtFuncInvoker1< bool, Type_t * >::Invoke(40 /* System.Boolean System.Type::IsAssignableFrom(System.Type) */, L_5, L_6); if (!L_7) { goto IL_0024; } } { V_0 = (bool)1; } IL_0024: { bool L_8 = V_0; return L_8; } } // System.Boolean System.Delegate::return_type_match(System.Type,System.Type) extern "C" bool Delegate_return_type_match_m4278947849 (Il2CppObject * __this /* static, unused */, Type_t * ___delReturnType0, Type_t * ___returnType1, const MethodInfo* method) { bool V_0 = false; { Type_t * L_0 = ___returnType1; Type_t * L_1 = ___delReturnType0; V_0 = (bool)((((Il2CppObject*)(Type_t *)L_0) == ((Il2CppObject*)(Type_t *)L_1))? 1 : 0); bool L_2 = V_0; if (L_2) { goto IL_0024; } } { Type_t * L_3 = ___returnType1; bool L_4 = Type_get_IsValueType_m1733572463(L_3, /*hidden argument*/NULL); if (L_4) { goto IL_0024; } } { Type_t * L_5 = ___delReturnType0; Type_t * L_6 = ___returnType1; bool L_7 = VirtFuncInvoker1< bool, Type_t * >::Invoke(40 /* System.Boolean System.Type::IsAssignableFrom(System.Type) */, L_5, L_6); if (!L_7) { goto IL_0024; } } { V_0 = (bool)1; } IL_0024: { bool L_8 = V_0; return L_8; } } // System.Delegate System.Delegate::CreateDelegate(System.Type,System.Object,System.Reflection.MethodInfo,System.Boolean) extern const Il2CppType* MulticastDelegate_t3201952435_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1421151742; extern Il2CppCodeGenString* _stringLiteral165463247; extern Il2CppCodeGenString* _stringLiteral349515918; extern Il2CppCodeGenString* _stringLiteral2967065526; extern Il2CppCodeGenString* _stringLiteral3587115972; extern Il2CppCodeGenString* _stringLiteral2497581798; extern Il2CppCodeGenString* _stringLiteral709201062; extern const uint32_t Delegate_CreateDelegate_m3052767705_MetadataUsageId; extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_m3052767705 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, Il2CppObject * ___firstArgument1, MethodInfo_t * ___method2, bool ___throwOnBindFailure3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Delegate_CreateDelegate_m3052767705_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; MethodInfo_t * V_1 = NULL; ParameterInfoU5BU5D_t2275869610* V_2 = NULL; ParameterInfoU5BU5D_t2275869610* V_3 = NULL; bool V_4 = false; bool V_5 = false; int32_t V_6 = 0; int32_t V_7 = 0; int32_t V_8 = 0; int32_t V_9 = 0; int32_t V_10 = 0; Delegate_t3022476291 * V_11 = NULL; { Il2CppObject * L_0 = ___firstArgument1; V_0 = L_0; Type_t * L_1 = ___type0; if (L_1) { goto IL_0013; } } { ArgumentNullException_t628810857 * L_2 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_2, _stringLiteral1421151742, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0013: { MethodInfo_t * L_3 = ___method2; if (L_3) { goto IL_0024; } } { ArgumentNullException_t628810857 * L_4 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_4, _stringLiteral165463247, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0024: { Type_t * L_5 = ___type0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_6 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(MulticastDelegate_t3201952435_0_0_0_var), /*hidden argument*/NULL); bool L_7 = VirtFuncInvoker1< bool, Type_t * >::Invoke(38 /* System.Boolean System.Type::IsSubclassOf(System.Type) */, L_5, L_6); if (L_7) { goto IL_0044; } } { ArgumentException_t3259014390 * L_8 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_8, _stringLiteral349515918, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_0044: { Type_t * L_9 = ___type0; MethodInfo_t * L_10 = Type_GetMethod_m1197504218(L_9, _stringLiteral2967065526, /*hidden argument*/NULL); V_1 = L_10; MethodInfo_t * L_11 = V_1; Type_t * L_12 = VirtFuncInvoker0< Type_t * >::Invoke(31 /* System.Type System.Reflection.MethodInfo::get_ReturnType() */, L_11); MethodInfo_t * L_13 = ___method2; Type_t * L_14 = VirtFuncInvoker0< Type_t * >::Invoke(31 /* System.Type System.Reflection.MethodInfo::get_ReturnType() */, L_13); bool L_15 = Delegate_return_type_match_m4278947849(NULL /*static, unused*/, L_12, L_14, /*hidden argument*/NULL); if (L_15) { goto IL_0079; } } { bool L_16 = ___throwOnBindFailure3; if (!L_16) { goto IL_0077; } } { ArgumentException_t3259014390 * L_17 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_17, _stringLiteral3587115972, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_17); } IL_0077: { return (Delegate_t3022476291 *)NULL; } IL_0079: { MethodInfo_t * L_18 = V_1; ParameterInfoU5BU5D_t2275869610* L_19 = VirtFuncInvoker0< ParameterInfoU5BU5D_t2275869610* >::Invoke(14 /* System.Reflection.ParameterInfo[] System.Reflection.MethodBase::GetParameters() */, L_18); V_2 = L_19; MethodInfo_t * L_20 = ___method2; ParameterInfoU5BU5D_t2275869610* L_21 = VirtFuncInvoker0< ParameterInfoU5BU5D_t2275869610* >::Invoke(14 /* System.Reflection.ParameterInfo[] System.Reflection.MethodBase::GetParameters() */, L_20); V_3 = L_21; Il2CppObject * L_22 = V_0; if (!L_22) { goto IL_00b8; } } { MethodInfo_t * L_23 = ___method2; bool L_24 = MethodBase_get_IsStatic_m1015686807(L_23, /*hidden argument*/NULL); if (L_24) { goto IL_00a7; } } { ParameterInfoU5BU5D_t2275869610* L_25 = V_3; ParameterInfoU5BU5D_t2275869610* L_26 = V_2; V_4 = (bool)((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_25)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_26)->max_length))))))? 1 : 0); goto IL_00b3; } IL_00a7: { ParameterInfoU5BU5D_t2275869610* L_27 = V_3; ParameterInfoU5BU5D_t2275869610* L_28 = V_2; V_4 = (bool)((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_27)->max_length))))) == ((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_28)->max_length))))+(int32_t)1))))? 1 : 0); } IL_00b3: { goto IL_00f1; } IL_00b8: { MethodInfo_t * L_29 = ___method2; bool L_30 = MethodBase_get_IsStatic_m1015686807(L_29, /*hidden argument*/NULL); if (L_30) { goto IL_00d4; } } { ParameterInfoU5BU5D_t2275869610* L_31 = V_3; ParameterInfoU5BU5D_t2275869610* L_32 = V_2; V_4 = (bool)((((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_31)->max_length))))+(int32_t)1))) == ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_32)->max_length))))))? 1 : 0); goto IL_00f1; } IL_00d4: { ParameterInfoU5BU5D_t2275869610* L_33 = V_3; ParameterInfoU5BU5D_t2275869610* L_34 = V_2; V_4 = (bool)((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_33)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_34)->max_length))))))? 1 : 0); bool L_35 = V_4; if (L_35) { goto IL_00f1; } } { ParameterInfoU5BU5D_t2275869610* L_36 = V_3; ParameterInfoU5BU5D_t2275869610* L_37 = V_2; V_4 = (bool)((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_36)->max_length))))) == ((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_37)->max_length))))+(int32_t)1))))? 1 : 0); } IL_00f1: { bool L_38 = V_4; if (L_38) { goto IL_010b; } } { bool L_39 = ___throwOnBindFailure3; if (!L_39) { goto IL_0109; } } { ArgumentException_t3259014390 * L_40 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_40, _stringLiteral2497581798, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_40); } IL_0109: { return (Delegate_t3022476291 *)NULL; } IL_010b: { Il2CppObject * L_41 = V_0; if (!L_41) { goto IL_01b8; } } { MethodInfo_t * L_42 = ___method2; bool L_43 = MethodBase_get_IsStatic_m1015686807(L_42, /*hidden argument*/NULL); if (L_43) { goto IL_0168; } } { Il2CppObject * L_44 = V_0; Type_t * L_45 = Object_GetType_m191970594(L_44, /*hidden argument*/NULL); MethodInfo_t * L_46 = ___method2; Type_t * L_47 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.MemberInfo::get_DeclaringType() */, L_46); bool L_48 = Delegate_arg_type_match_m1751825687(NULL /*static, unused*/, L_45, L_47, /*hidden argument*/NULL); V_5 = L_48; V_6 = 0; goto IL_0159; } IL_0137: { bool L_49 = V_5; ParameterInfoU5BU5D_t2275869610* L_50 = V_2; int32_t L_51 = V_6; int32_t L_52 = L_51; ParameterInfo_t2249040075 * L_53 = (L_50)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_52)); Type_t * L_54 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_53); ParameterInfoU5BU5D_t2275869610* L_55 = V_3; int32_t L_56 = V_6; int32_t L_57 = L_56; ParameterInfo_t2249040075 * L_58 = (L_55)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_57)); Type_t * L_59 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_58); bool L_60 = Delegate_arg_type_match_m1751825687(NULL /*static, unused*/, L_54, L_59, /*hidden argument*/NULL); V_5 = (bool)((int32_t)((int32_t)L_49&(int32_t)L_60)); int32_t L_61 = V_6; V_6 = ((int32_t)((int32_t)L_61+(int32_t)1)); } IL_0159: { int32_t L_62 = V_6; ParameterInfoU5BU5D_t2275869610* L_63 = V_3; if ((((int32_t)L_62) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_63)->max_length))))))) { goto IL_0137; } } { goto IL_01b3; } IL_0168: { Il2CppObject * L_64 = V_0; Type_t * L_65 = Object_GetType_m191970594(L_64, /*hidden argument*/NULL); ParameterInfoU5BU5D_t2275869610* L_66 = V_3; int32_t L_67 = 0; ParameterInfo_t2249040075 * L_68 = (L_66)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_67)); Type_t * L_69 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_68); bool L_70 = Delegate_arg_type_match_m1751825687(NULL /*static, unused*/, L_65, L_69, /*hidden argument*/NULL); V_5 = L_70; V_7 = 1; goto IL_01a9; } IL_0185: { bool L_71 = V_5; ParameterInfoU5BU5D_t2275869610* L_72 = V_2; int32_t L_73 = V_7; int32_t L_74 = ((int32_t)((int32_t)L_73-(int32_t)1)); ParameterInfo_t2249040075 * L_75 = (L_72)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_74)); Type_t * L_76 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_75); ParameterInfoU5BU5D_t2275869610* L_77 = V_3; int32_t L_78 = V_7; int32_t L_79 = L_78; ParameterInfo_t2249040075 * L_80 = (L_77)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_79)); Type_t * L_81 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_80); bool L_82 = Delegate_arg_type_match_m1751825687(NULL /*static, unused*/, L_76, L_81, /*hidden argument*/NULL); V_5 = (bool)((int32_t)((int32_t)L_71&(int32_t)L_82)); int32_t L_83 = V_7; V_7 = ((int32_t)((int32_t)L_83+(int32_t)1)); } IL_01a9: { int32_t L_84 = V_7; ParameterInfoU5BU5D_t2275869610* L_85 = V_3; if ((((int32_t)L_84) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_85)->max_length))))))) { goto IL_0185; } } IL_01b3: { goto IL_02a4; } IL_01b8: { MethodInfo_t * L_86 = ___method2; bool L_87 = MethodBase_get_IsStatic_m1015686807(L_86, /*hidden argument*/NULL); if (L_87) { goto IL_0213; } } { ParameterInfoU5BU5D_t2275869610* L_88 = V_2; int32_t L_89 = 0; ParameterInfo_t2249040075 * L_90 = (L_88)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_89)); Type_t * L_91 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_90); MethodInfo_t * L_92 = ___method2; Type_t * L_93 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.MemberInfo::get_DeclaringType() */, L_92); bool L_94 = Delegate_arg_type_match_m1751825687(NULL /*static, unused*/, L_91, L_93, /*hidden argument*/NULL); V_5 = L_94; V_8 = 0; goto IL_0204; } IL_01e0: { bool L_95 = V_5; ParameterInfoU5BU5D_t2275869610* L_96 = V_2; int32_t L_97 = V_8; int32_t L_98 = ((int32_t)((int32_t)L_97+(int32_t)1)); ParameterInfo_t2249040075 * L_99 = (L_96)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_98)); Type_t * L_100 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_99); ParameterInfoU5BU5D_t2275869610* L_101 = V_3; int32_t L_102 = V_8; int32_t L_103 = L_102; ParameterInfo_t2249040075 * L_104 = (L_101)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_103)); Type_t * L_105 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_104); bool L_106 = Delegate_arg_type_match_m1751825687(NULL /*static, unused*/, L_100, L_105, /*hidden argument*/NULL); V_5 = (bool)((int32_t)((int32_t)L_95&(int32_t)L_106)); int32_t L_107 = V_8; V_8 = ((int32_t)((int32_t)L_107+(int32_t)1)); } IL_0204: { int32_t L_108 = V_8; ParameterInfoU5BU5D_t2275869610* L_109 = V_3; if ((((int32_t)L_108) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_109)->max_length))))))) { goto IL_01e0; } } { goto IL_02a4; } IL_0213: { ParameterInfoU5BU5D_t2275869610* L_110 = V_2; ParameterInfoU5BU5D_t2275869610* L_111 = V_3; if ((!(((uint32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_110)->max_length))))+(int32_t)1))) == ((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_111)->max_length)))))))) { goto IL_026d; } } { ParameterInfoU5BU5D_t2275869610* L_112 = V_3; int32_t L_113 = 0; ParameterInfo_t2249040075 * L_114 = (L_112)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_113)); Type_t * L_115 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_114); bool L_116 = Type_get_IsValueType_m1733572463(L_115, /*hidden argument*/NULL); V_5 = (bool)((((int32_t)L_116) == ((int32_t)0))? 1 : 0); V_9 = 0; goto IL_025e; } IL_023a: { bool L_117 = V_5; ParameterInfoU5BU5D_t2275869610* L_118 = V_2; int32_t L_119 = V_9; int32_t L_120 = L_119; ParameterInfo_t2249040075 * L_121 = (L_118)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_120)); Type_t * L_122 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_121); ParameterInfoU5BU5D_t2275869610* L_123 = V_3; int32_t L_124 = V_9; int32_t L_125 = ((int32_t)((int32_t)L_124+(int32_t)1)); ParameterInfo_t2249040075 * L_126 = (L_123)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_125)); Type_t * L_127 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_126); bool L_128 = Delegate_arg_type_match_m1751825687(NULL /*static, unused*/, L_122, L_127, /*hidden argument*/NULL); V_5 = (bool)((int32_t)((int32_t)L_117&(int32_t)L_128)); int32_t L_129 = V_9; V_9 = ((int32_t)((int32_t)L_129+(int32_t)1)); } IL_025e: { int32_t L_130 = V_9; ParameterInfoU5BU5D_t2275869610* L_131 = V_2; if ((((int32_t)L_130) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_131)->max_length))))))) { goto IL_023a; } } { goto IL_02a4; } IL_026d: { V_5 = (bool)1; V_10 = 0; goto IL_029a; } IL_0278: { bool L_132 = V_5; ParameterInfoU5BU5D_t2275869610* L_133 = V_2; int32_t L_134 = V_10; int32_t L_135 = L_134; ParameterInfo_t2249040075 * L_136 = (L_133)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_135)); Type_t * L_137 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_136); ParameterInfoU5BU5D_t2275869610* L_138 = V_3; int32_t L_139 = V_10; int32_t L_140 = L_139; ParameterInfo_t2249040075 * L_141 = (L_138)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_140)); Type_t * L_142 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_141); bool L_143 = Delegate_arg_type_match_m1751825687(NULL /*static, unused*/, L_137, L_142, /*hidden argument*/NULL); V_5 = (bool)((int32_t)((int32_t)L_132&(int32_t)L_143)); int32_t L_144 = V_10; V_10 = ((int32_t)((int32_t)L_144+(int32_t)1)); } IL_029a: { int32_t L_145 = V_10; ParameterInfoU5BU5D_t2275869610* L_146 = V_3; if ((((int32_t)L_145) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_146)->max_length))))))) { goto IL_0278; } } IL_02a4: { bool L_147 = V_5; if (L_147) { goto IL_02be; } } { bool L_148 = ___throwOnBindFailure3; if (!L_148) { goto IL_02bc; } } { ArgumentException_t3259014390 * L_149 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_149, _stringLiteral709201062, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_149); } IL_02bc: { return (Delegate_t3022476291 *)NULL; } IL_02be: { Type_t * L_150 = ___type0; Il2CppObject * L_151 = V_0; MethodInfo_t * L_152 = ___method2; bool L_153 = ___throwOnBindFailure3; Delegate_t3022476291 * L_154 = Delegate_CreateDelegate_internal_m1567874925(NULL /*static, unused*/, L_150, L_151, L_152, L_153, /*hidden argument*/NULL); V_11 = L_154; Delegate_t3022476291 * L_155 = V_11; if (!L_155) { goto IL_02d8; } } { Delegate_t3022476291 * L_156 = V_11; MethodInfo_t * L_157 = ___method2; L_156->set_original_method_info_7(L_157); } IL_02d8: { Delegate_t3022476291 * L_158 = V_11; return L_158; } } // System.Delegate System.Delegate::CreateDelegate(System.Type,System.Object,System.Reflection.MethodInfo) extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_m2101460062 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, Il2CppObject * ___firstArgument1, MethodInfo_t * ___method2, const MethodInfo* method) { { Type_t * L_0 = ___type0; Il2CppObject * L_1 = ___firstArgument1; MethodInfo_t * L_2 = ___method2; Delegate_t3022476291 * L_3 = Delegate_CreateDelegate_m3052767705(NULL /*static, unused*/, L_0, L_1, L_2, (bool)1, /*hidden argument*/NULL); return L_3; } } // System.Delegate System.Delegate::CreateDelegate(System.Type,System.Reflection.MethodInfo,System.Boolean) extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_m3813023227 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, MethodInfo_t * ___method1, bool ___throwOnBindFailure2, const MethodInfo* method) { { Type_t * L_0 = ___type0; MethodInfo_t * L_1 = ___method1; bool L_2 = ___throwOnBindFailure2; Delegate_t3022476291 * L_3 = Delegate_CreateDelegate_m3052767705(NULL /*static, unused*/, L_0, NULL, L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.Delegate System.Delegate::CreateDelegate(System.Type,System.Reflection.MethodInfo) extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_m3441190144 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, MethodInfo_t * ___method1, const MethodInfo* method) { { Type_t * L_0 = ___type0; MethodInfo_t * L_1 = ___method1; Delegate_t3022476291 * L_2 = Delegate_CreateDelegate_m3813023227(NULL /*static, unused*/, L_0, L_1, (bool)1, /*hidden argument*/NULL); return L_2; } } // System.Delegate System.Delegate::CreateDelegate(System.Type,System.Object,System.String) extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_m2858111775 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, Il2CppObject * ___target1, String_t* ___method2, const MethodInfo* method) { { Type_t * L_0 = ___type0; Il2CppObject * L_1 = ___target1; String_t* L_2 = ___method2; Delegate_t3022476291 * L_3 = Delegate_CreateDelegate_m2923944126(NULL /*static, unused*/, L_0, L_1, L_2, (bool)0, /*hidden argument*/NULL); return L_3; } } // System.Reflection.MethodInfo System.Delegate::GetCandidateMethod(System.Type,System.Type,System.String,System.Reflection.BindingFlags,System.Boolean,System.Boolean) extern const Il2CppType* MulticastDelegate_t3201952435_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var; extern Il2CppClass* ParameterModifierU5BU5D_t963192633_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1421151742; extern Il2CppCodeGenString* _stringLiteral165463247; extern Il2CppCodeGenString* _stringLiteral1104867913; extern Il2CppCodeGenString* _stringLiteral2967065526; extern Il2CppCodeGenString* _stringLiteral2733151572; extern Il2CppCodeGenString* _stringLiteral1617874521; extern const uint32_t Delegate_GetCandidateMethod_m4178439006_MetadataUsageId; extern "C" MethodInfo_t * Delegate_GetCandidateMethod_m4178439006 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, Type_t * ___target1, String_t* ___method2, int32_t ___bflags3, bool ___ignoreCase4, bool ___throwOnBindFailure5, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Delegate_GetCandidateMethod_m4178439006_MetadataUsageId); s_Il2CppMethodInitialized = true; } MethodInfo_t * V_0 = NULL; ParameterInfoU5BU5D_t2275869610* V_1 = NULL; TypeU5BU5D_t1664964607* V_2 = NULL; int32_t V_3 = 0; int32_t V_4 = 0; MethodInfo_t * V_5 = NULL; Type_t * V_6 = NULL; MethodInfo_t * V_7 = NULL; { Type_t * L_0 = ___type0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1421151742, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___method2; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral165463247, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { Type_t * L_4 = ___type0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_5 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(MulticastDelegate_t3201952435_0_0_0_var), /*hidden argument*/NULL); bool L_6 = VirtFuncInvoker1< bool, Type_t * >::Invoke(38 /* System.Boolean System.Type::IsSubclassOf(System.Type) */, L_4, L_5); if (L_6) { goto IL_0042; } } { ArgumentException_t3259014390 * L_7 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_7, _stringLiteral1104867913, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_7); } IL_0042: { Type_t * L_8 = ___type0; MethodInfo_t * L_9 = Type_GetMethod_m1197504218(L_8, _stringLiteral2967065526, /*hidden argument*/NULL); V_0 = L_9; MethodInfo_t * L_10 = V_0; ParameterInfoU5BU5D_t2275869610* L_11 = VirtFuncInvoker0< ParameterInfoU5BU5D_t2275869610* >::Invoke(14 /* System.Reflection.ParameterInfo[] System.Reflection.MethodBase::GetParameters() */, L_10); V_1 = L_11; ParameterInfoU5BU5D_t2275869610* L_12 = V_1; V_2 = ((TypeU5BU5D_t1664964607*)SZArrayNew(TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_12)->max_length)))))); V_3 = 0; goto IL_0074; } IL_0065: { TypeU5BU5D_t1664964607* L_13 = V_2; int32_t L_14 = V_3; ParameterInfoU5BU5D_t2275869610* L_15 = V_1; int32_t L_16 = V_3; int32_t L_17 = L_16; ParameterInfo_t2249040075 * L_18 = (L_15)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_17)); Type_t * L_19 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_18); ArrayElementTypeCheck (L_13, L_19); (L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (Type_t *)L_19); int32_t L_20 = V_3; V_3 = ((int32_t)((int32_t)L_20+(int32_t)1)); } IL_0074: { int32_t L_21 = V_3; ParameterInfoU5BU5D_t2275869610* L_22 = V_1; if ((((int32_t)L_21) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_22)->max_length))))))) { goto IL_0065; } } { int32_t L_23 = ___bflags3; V_4 = ((int32_t)((int32_t)((int32_t)65586)|(int32_t)L_23)); bool L_24 = ___ignoreCase4; if (!L_24) { goto IL_0093; } } { int32_t L_25 = V_4; V_4 = ((int32_t)((int32_t)L_25|(int32_t)1)); } IL_0093: { V_5 = (MethodInfo_t *)NULL; Type_t * L_26 = ___target1; V_6 = L_26; goto IL_00e2; } IL_009e: { Type_t * L_27 = V_6; String_t* L_28 = ___method2; int32_t L_29 = V_4; TypeU5BU5D_t1664964607* L_30 = V_2; MethodInfo_t * L_31 = Type_GetMethod_m1930231379(L_27, L_28, L_29, (Binder_t3404612058 *)NULL, L_30, ((ParameterModifierU5BU5D_t963192633*)SZArrayNew(ParameterModifierU5BU5D_t963192633_il2cpp_TypeInfo_var, (uint32_t)0)), /*hidden argument*/NULL); V_7 = L_31; MethodInfo_t * L_32 = V_7; if (!L_32) { goto IL_00d9; } } { MethodInfo_t * L_33 = V_0; Type_t * L_34 = VirtFuncInvoker0< Type_t * >::Invoke(31 /* System.Type System.Reflection.MethodInfo::get_ReturnType() */, L_33); MethodInfo_t * L_35 = V_7; Type_t * L_36 = VirtFuncInvoker0< Type_t * >::Invoke(31 /* System.Type System.Reflection.MethodInfo::get_ReturnType() */, L_35); bool L_37 = Delegate_return_type_match_m4278947849(NULL /*static, unused*/, L_34, L_36, /*hidden argument*/NULL); if (!L_37) { goto IL_00d9; } } { MethodInfo_t * L_38 = V_7; V_5 = L_38; goto IL_00e9; } IL_00d9: { Type_t * L_39 = V_6; Type_t * L_40 = VirtFuncInvoker0< Type_t * >::Invoke(17 /* System.Type System.Type::get_BaseType() */, L_39); V_6 = L_40; } IL_00e2: { Type_t * L_41 = V_6; if (L_41) { goto IL_009e; } } IL_00e9: { MethodInfo_t * L_42 = V_5; if (L_42) { goto IL_010f; } } { bool L_43 = ___throwOnBindFailure5; if (!L_43) { goto IL_010d; } } { String_t* L_44 = ___method2; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_45 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral2733151572, L_44, _stringLiteral1617874521, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_46 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_46, L_45, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_46); } IL_010d: { return (MethodInfo_t *)NULL; } IL_010f: { MethodInfo_t * L_47 = V_5; return L_47; } } // System.Delegate System.Delegate::CreateDelegate(System.Type,System.Type,System.String,System.Boolean,System.Boolean) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1081251833; extern const uint32_t Delegate_CreateDelegate_m2775155596_MetadataUsageId; extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_m2775155596 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, Type_t * ___target1, String_t* ___method2, bool ___ignoreCase3, bool ___throwOnBindFailure4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Delegate_CreateDelegate_m2775155596_MetadataUsageId); s_Il2CppMethodInitialized = true; } MethodInfo_t * V_0 = NULL; { Type_t * L_0 = ___target1; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1081251833, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Type_t * L_2 = ___type0; Type_t * L_3 = ___target1; String_t* L_4 = ___method2; bool L_5 = ___ignoreCase3; bool L_6 = ___throwOnBindFailure4; MethodInfo_t * L_7 = Delegate_GetCandidateMethod_m4178439006(NULL /*static, unused*/, L_2, L_3, L_4, 8, L_5, L_6, /*hidden argument*/NULL); V_0 = L_7; MethodInfo_t * L_8 = V_0; if (L_8) { goto IL_0026; } } { return (Delegate_t3022476291 *)NULL; } IL_0026: { Type_t * L_9 = ___type0; MethodInfo_t * L_10 = V_0; bool L_11 = ___throwOnBindFailure4; Delegate_t3022476291 * L_12 = Delegate_CreateDelegate_internal_m1567874925(NULL /*static, unused*/, L_9, NULL, L_10, L_11, /*hidden argument*/NULL); return L_12; } } // System.Delegate System.Delegate::CreateDelegate(System.Type,System.Type,System.String) extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_m1864084142 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, Type_t * ___target1, String_t* ___method2, const MethodInfo* method) { { Type_t * L_0 = ___type0; Type_t * L_1 = ___target1; String_t* L_2 = ___method2; Delegate_t3022476291 * L_3 = Delegate_CreateDelegate_m2775155596(NULL /*static, unused*/, L_0, L_1, L_2, (bool)0, (bool)1, /*hidden argument*/NULL); return L_3; } } // System.Delegate System.Delegate::CreateDelegate(System.Type,System.Object,System.String,System.Boolean,System.Boolean) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1081251833; extern const uint32_t Delegate_CreateDelegate_m1706525923_MetadataUsageId; extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_m1706525923 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, Il2CppObject * ___target1, String_t* ___method2, bool ___ignoreCase3, bool ___throwOnBindFailure4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Delegate_CreateDelegate_m1706525923_MetadataUsageId); s_Il2CppMethodInitialized = true; } MethodInfo_t * V_0 = NULL; { Il2CppObject * L_0 = ___target1; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral1081251833, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Type_t * L_2 = ___type0; Il2CppObject * L_3 = ___target1; Type_t * L_4 = Object_GetType_m191970594(L_3, /*hidden argument*/NULL); String_t* L_5 = ___method2; bool L_6 = ___ignoreCase3; bool L_7 = ___throwOnBindFailure4; MethodInfo_t * L_8 = Delegate_GetCandidateMethod_m4178439006(NULL /*static, unused*/, L_2, L_4, L_5, 4, L_6, L_7, /*hidden argument*/NULL); V_0 = L_8; MethodInfo_t * L_9 = V_0; if (L_9) { goto IL_002b; } } { return (Delegate_t3022476291 *)NULL; } IL_002b: { Type_t * L_10 = ___type0; Il2CppObject * L_11 = ___target1; MethodInfo_t * L_12 = V_0; bool L_13 = ___throwOnBindFailure4; Delegate_t3022476291 * L_14 = Delegate_CreateDelegate_internal_m1567874925(NULL /*static, unused*/, L_10, L_11, L_12, L_13, /*hidden argument*/NULL); return L_14; } } // System.Delegate System.Delegate::CreateDelegate(System.Type,System.Object,System.String,System.Boolean) extern "C" Delegate_t3022476291 * Delegate_CreateDelegate_m2923944126 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, Il2CppObject * ___target1, String_t* ___method2, bool ___ignoreCase3, const MethodInfo* method) { { Type_t * L_0 = ___type0; Il2CppObject * L_1 = ___target1; String_t* L_2 = ___method2; bool L_3 = ___ignoreCase3; Delegate_t3022476291 * L_4 = Delegate_CreateDelegate_m1706525923(NULL /*static, unused*/, L_0, L_1, L_2, L_3, (bool)1, /*hidden argument*/NULL); return L_4; } } // System.Object System.Delegate::Clone() extern "C" Il2CppObject * Delegate_Clone_m2661349026 (Delegate_t3022476291 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = Object_MemberwiseClone_m2655589444(__this, /*hidden argument*/NULL); return L_0; } } // System.Boolean System.Delegate::Equals(System.Object) extern Il2CppClass* Delegate_t3022476291_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t Delegate_Equals_m2235282625_MetadataUsageId; extern "C" bool Delegate_Equals_m2235282625 (Delegate_t3022476291 * __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Delegate_Equals_m2235282625_MetadataUsageId); s_Il2CppMethodInitialized = true; } Delegate_t3022476291 * V_0 = NULL; int32_t G_B11_0 = 0; { Il2CppObject * L_0 = ___obj0; V_0 = ((Delegate_t3022476291 *)IsInstClass(L_0, Delegate_t3022476291_il2cpp_TypeInfo_var)); Delegate_t3022476291 * L_1 = V_0; if (L_1) { goto IL_000f; } } { return (bool)0; } IL_000f: { Delegate_t3022476291 * L_2 = V_0; Il2CppObject * L_3 = L_2->get_m_target_2(); Il2CppObject * L_4 = __this->get_m_target_2(); if ((!(((Il2CppObject*)(Il2CppObject *)L_3) == ((Il2CppObject*)(Il2CppObject *)L_4)))) { goto IL_00a0; } } { Delegate_t3022476291 * L_5 = V_0; IntPtr_t L_6 = L_5->get_method_3(); IntPtr_t L_7 = __this->get_method_3(); bool L_8 = IntPtr_op_Equality_m1573482188(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); if (!L_8) { goto IL_00a0; } } { Delegate_t3022476291 * L_9 = V_0; DelegateData_t1572802995 * L_10 = L_9->get_data_8(); if (L_10) { goto IL_004c; } } { DelegateData_t1572802995 * L_11 = __this->get_data_8(); if (!L_11) { goto IL_009e; } } IL_004c: { Delegate_t3022476291 * L_12 = V_0; DelegateData_t1572802995 * L_13 = L_12->get_data_8(); if (!L_13) { goto IL_009c; } } { DelegateData_t1572802995 * L_14 = __this->get_data_8(); if (!L_14) { goto IL_009c; } } { Delegate_t3022476291 * L_15 = V_0; DelegateData_t1572802995 * L_16 = L_15->get_data_8(); Type_t * L_17 = L_16->get_target_type_0(); DelegateData_t1572802995 * L_18 = __this->get_data_8(); Type_t * L_19 = L_18->get_target_type_0(); if ((!(((Il2CppObject*)(Type_t *)L_17) == ((Il2CppObject*)(Type_t *)L_19)))) { goto IL_009a; } } { Delegate_t3022476291 * L_20 = V_0; DelegateData_t1572802995 * L_21 = L_20->get_data_8(); String_t* L_22 = L_21->get_method_name_1(); DelegateData_t1572802995 * L_23 = __this->get_data_8(); String_t* L_24 = L_23->get_method_name_1(); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_25 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_22, L_24, /*hidden argument*/NULL); G_B11_0 = ((int32_t)(L_25)); goto IL_009b; } IL_009a: { G_B11_0 = 0; } IL_009b: { return (bool)G_B11_0; } IL_009c: { return (bool)0; } IL_009e: { return (bool)1; } IL_00a0: { return (bool)0; } } // System.Int32 System.Delegate::GetHashCode() extern "C" int32_t Delegate_GetHashCode_m4213744155 (Delegate_t3022476291 * __this, const MethodInfo* method) { int32_t G_B2_0 = 0; int32_t G_B1_0 = 0; int32_t G_B3_0 = 0; int32_t G_B3_1 = 0; { IntPtr_t* L_0 = __this->get_address_of_method_3(); int32_t L_1 = IntPtr_GetHashCode_m1174575389(L_0, /*hidden argument*/NULL); Il2CppObject * L_2 = __this->get_m_target_2(); G_B1_0 = L_1; if (!L_2) { G_B2_0 = L_1; goto IL_0026; } } { Il2CppObject * L_3 = __this->get_m_target_2(); int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_3); G_B3_0 = L_4; G_B3_1 = G_B1_0; goto IL_0027; } IL_0026: { G_B3_0 = 0; G_B3_1 = G_B2_0; } IL_0027: { return ((int32_t)((int32_t)G_B3_1^(int32_t)G_B3_0)); } } // System.Void System.Delegate::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void Delegate_GetObjectData_m1508449364 (Delegate_t3022476291 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; DelegateSerializationHolder_GetDelegateData_m1057136238(NULL /*static, unused*/, __this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Delegate[] System.Delegate::GetInvocationList() extern Il2CppClass* DelegateU5BU5D_t1606206610_il2cpp_TypeInfo_var; extern const uint32_t Delegate_GetInvocationList_m3706058733_MetadataUsageId; extern "C" DelegateU5BU5D_t1606206610* Delegate_GetInvocationList_m3706058733 (Delegate_t3022476291 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Delegate_GetInvocationList_m3706058733_MetadataUsageId); s_Il2CppMethodInitialized = true; } { DelegateU5BU5D_t1606206610* L_0 = ((DelegateU5BU5D_t1606206610*)SZArrayNew(DelegateU5BU5D_t1606206610_il2cpp_TypeInfo_var, (uint32_t)1)); ArrayElementTypeCheck (L_0, __this); (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Delegate_t3022476291 *)__this); return L_0; } } // System.Delegate System.Delegate::Combine(System.Delegate,System.Delegate) extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1042526043; extern const uint32_t Delegate_Combine_m3791207084_MetadataUsageId; extern "C" Delegate_t3022476291 * Delegate_Combine_m3791207084 (Il2CppObject * __this /* static, unused */, Delegate_t3022476291 * ___a0, Delegate_t3022476291 * ___b1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Delegate_Combine_m3791207084_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Delegate_t3022476291 * L_0 = ___a0; if (L_0) { goto IL_0010; } } { Delegate_t3022476291 * L_1 = ___b1; if (L_1) { goto IL_000e; } } { return (Delegate_t3022476291 *)NULL; } IL_000e: { Delegate_t3022476291 * L_2 = ___b1; return L_2; } IL_0010: { Delegate_t3022476291 * L_3 = ___b1; if (L_3) { goto IL_0018; } } { Delegate_t3022476291 * L_4 = ___a0; return L_4; } IL_0018: { Delegate_t3022476291 * L_5 = ___a0; Type_t * L_6 = Object_GetType_m191970594(L_5, /*hidden argument*/NULL); Delegate_t3022476291 * L_7 = ___b1; Type_t * L_8 = Object_GetType_m191970594(L_7, /*hidden argument*/NULL); if ((((Il2CppObject*)(Type_t *)L_6) == ((Il2CppObject*)(Type_t *)L_8))) { goto IL_0039; } } { String_t* L_9 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1042526043, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_10 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_10, L_9, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } IL_0039: { Delegate_t3022476291 * L_11 = ___a0; Delegate_t3022476291 * L_12 = ___b1; Delegate_t3022476291 * L_13 = VirtFuncInvoker1< Delegate_t3022476291 *, Delegate_t3022476291 * >::Invoke(9 /* System.Delegate System.Delegate::CombineImpl(System.Delegate) */, L_11, L_12); return L_13; } } // System.Delegate System.Delegate::Combine(System.Delegate[]) extern "C" Delegate_t3022476291 * Delegate_Combine_m1976351882 (Il2CppObject * __this /* static, unused */, DelegateU5BU5D_t1606206610* ___delegates0, const MethodInfo* method) { Delegate_t3022476291 * V_0 = NULL; Delegate_t3022476291 * V_1 = NULL; DelegateU5BU5D_t1606206610* V_2 = NULL; int32_t V_3 = 0; { DelegateU5BU5D_t1606206610* L_0 = ___delegates0; if (L_0) { goto IL_0008; } } { return (Delegate_t3022476291 *)NULL; } IL_0008: { V_0 = (Delegate_t3022476291 *)NULL; DelegateU5BU5D_t1606206610* L_1 = ___delegates0; V_2 = L_1; V_3 = 0; goto IL_0023; } IL_0013: { DelegateU5BU5D_t1606206610* L_2 = V_2; int32_t L_3 = V_3; int32_t L_4 = L_3; Delegate_t3022476291 * L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4)); V_1 = L_5; Delegate_t3022476291 * L_6 = V_0; Delegate_t3022476291 * L_7 = V_1; Delegate_t3022476291 * L_8 = Delegate_Combine_m3791207084(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); V_0 = L_8; int32_t L_9 = V_3; V_3 = ((int32_t)((int32_t)L_9+(int32_t)1)); } IL_0023: { int32_t L_10 = V_3; DelegateU5BU5D_t1606206610* L_11 = V_2; if ((((int32_t)L_10) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_11)->max_length))))))) { goto IL_0013; } } { Delegate_t3022476291 * L_12 = V_0; return L_12; } } // System.Delegate System.Delegate::CombineImpl(System.Delegate) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* MulticastNotSupportedException_t1815247018_il2cpp_TypeInfo_var; extern const uint32_t Delegate_CombineImpl_m3484632404_MetadataUsageId; extern "C" Delegate_t3022476291 * Delegate_CombineImpl_m3484632404 (Delegate_t3022476291 * __this, Delegate_t3022476291 * ___d0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Delegate_CombineImpl_m3484632404_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_0 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); MulticastNotSupportedException_t1815247018 * L_1 = (MulticastNotSupportedException_t1815247018 *)il2cpp_codegen_object_new(MulticastNotSupportedException_t1815247018_il2cpp_TypeInfo_var); MulticastNotSupportedException__ctor_m1136150637(L_1, L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } } // System.Delegate System.Delegate::Remove(System.Delegate,System.Delegate) extern "C" Delegate_t3022476291 * Delegate_Remove_m2626518725 (Il2CppObject * __this /* static, unused */, Delegate_t3022476291 * ___source0, Delegate_t3022476291 * ___value1, const MethodInfo* method) { { Delegate_t3022476291 * L_0 = ___source0; if (L_0) { goto IL_0008; } } { return (Delegate_t3022476291 *)NULL; } IL_0008: { Delegate_t3022476291 * L_1 = ___source0; Delegate_t3022476291 * L_2 = ___value1; Delegate_t3022476291 * L_3 = VirtFuncInvoker1< Delegate_t3022476291 *, Delegate_t3022476291 * >::Invoke(10 /* System.Delegate System.Delegate::RemoveImpl(System.Delegate) */, L_1, L_2); return L_3; } } // System.Delegate System.Delegate::RemoveImpl(System.Delegate) extern "C" Delegate_t3022476291 * Delegate_RemoveImpl_m3666700529 (Delegate_t3022476291 * __this, Delegate_t3022476291 * ___d0, const MethodInfo* method) { { Delegate_t3022476291 * L_0 = ___d0; bool L_1 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(0 /* System.Boolean System.Delegate::Equals(System.Object) */, __this, L_0); if (!L_1) { goto IL_000e; } } { return (Delegate_t3022476291 *)NULL; } IL_000e: { return __this; } } // System.Void System.DelegateSerializationHolder::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern const Il2CppType* DelegateEntry_t3215410094_0_0_0_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* DelegateEntry_t3215410094_il2cpp_TypeInfo_var; extern Il2CppClass* DelegateU5BU5D_t1606206610_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1392648963; extern const uint32_t DelegateSerializationHolder__ctor_m3915060553_MetadataUsageId; extern "C" void DelegateSerializationHolder__ctor_m3915060553 (DelegateSerializationHolder_t753405077 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___ctx1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DelegateSerializationHolder__ctor_m3915060553_MetadataUsageId); s_Il2CppMethodInitialized = true; } DelegateEntry_t3215410094 * V_0 = NULL; int32_t V_1 = 0; DelegateEntry_t3215410094 * V_2 = NULL; DelegateU5BU5D_t1606206610* V_3 = NULL; int32_t V_4 = 0; { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_0 = ___info0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_1 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(DelegateEntry_t3215410094_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_2 = SerializationInfo_GetValue_m1127314592(L_0, _stringLiteral1392648963, L_1, /*hidden argument*/NULL); V_0 = ((DelegateEntry_t3215410094 *)CastclassClass(L_2, DelegateEntry_t3215410094_il2cpp_TypeInfo_var)); V_1 = 0; DelegateEntry_t3215410094 * L_3 = V_0; V_2 = L_3; goto IL_0035; } IL_002a: { DelegateEntry_t3215410094 * L_4 = V_2; DelegateEntry_t3215410094 * L_5 = L_4->get_delegateEntry_6(); V_2 = L_5; int32_t L_6 = V_1; V_1 = ((int32_t)((int32_t)L_6+(int32_t)1)); } IL_0035: { DelegateEntry_t3215410094 * L_7 = V_2; if (L_7) { goto IL_002a; } } { int32_t L_8 = V_1; if ((!(((uint32_t)L_8) == ((uint32_t)1)))) { goto IL_0054; } } { DelegateEntry_t3215410094 * L_9 = V_0; SerializationInfo_t228987430 * L_10 = ___info0; Delegate_t3022476291 * L_11 = DelegateEntry_DeserializeDelegate_m1550778090(L_9, L_10, /*hidden argument*/NULL); __this->set__delegate_0(L_11); goto IL_0091; } IL_0054: { int32_t L_12 = V_1; V_3 = ((DelegateU5BU5D_t1606206610*)SZArrayNew(DelegateU5BU5D_t1606206610_il2cpp_TypeInfo_var, (uint32_t)L_12)); DelegateEntry_t3215410094 * L_13 = V_0; V_2 = L_13; V_4 = 0; goto IL_007d; } IL_0065: { DelegateU5BU5D_t1606206610* L_14 = V_3; int32_t L_15 = V_4; DelegateEntry_t3215410094 * L_16 = V_2; SerializationInfo_t228987430 * L_17 = ___info0; Delegate_t3022476291 * L_18 = DelegateEntry_DeserializeDelegate_m1550778090(L_16, L_17, /*hidden argument*/NULL); ArrayElementTypeCheck (L_14, L_18); (L_14)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15), (Delegate_t3022476291 *)L_18); DelegateEntry_t3215410094 * L_19 = V_2; DelegateEntry_t3215410094 * L_20 = L_19->get_delegateEntry_6(); V_2 = L_20; int32_t L_21 = V_4; V_4 = ((int32_t)((int32_t)L_21+(int32_t)1)); } IL_007d: { int32_t L_22 = V_4; int32_t L_23 = V_1; if ((((int32_t)L_22) < ((int32_t)L_23))) { goto IL_0065; } } { DelegateU5BU5D_t1606206610* L_24 = V_3; Delegate_t3022476291 * L_25 = Delegate_Combine_m1976351882(NULL /*static, unused*/, L_24, /*hidden argument*/NULL); __this->set__delegate_0(L_25); } IL_0091: { return; } } // System.Void System.DelegateSerializationHolder::GetDelegateData(System.Delegate,System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern const Il2CppType* DelegateSerializationHolder_t753405077_0_0_0_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* DelegateEntry_t3215410094_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1081251833; extern Il2CppCodeGenString* _stringLiteral1392648963; extern const uint32_t DelegateSerializationHolder_GetDelegateData_m1057136238_MetadataUsageId; extern "C" void DelegateSerializationHolder_GetDelegateData_m1057136238 (Il2CppObject * __this /* static, unused */, Delegate_t3022476291 * ___instance0, SerializationInfo_t228987430 * ___info1, StreamingContext_t1417235061 ___ctx2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DelegateSerializationHolder_GetDelegateData_m1057136238_MetadataUsageId); s_Il2CppMethodInitialized = true; } DelegateU5BU5D_t1606206610* V_0 = NULL; DelegateEntry_t3215410094 * V_1 = NULL; int32_t V_2 = 0; Delegate_t3022476291 * V_3 = NULL; String_t* V_4 = NULL; DelegateEntry_t3215410094 * V_5 = NULL; String_t* G_B4_0 = NULL; { Delegate_t3022476291 * L_0 = ___instance0; DelegateU5BU5D_t1606206610* L_1 = VirtFuncInvoker0< DelegateU5BU5D_t1606206610* >::Invoke(8 /* System.Delegate[] System.Delegate::GetInvocationList() */, L_0); V_0 = L_1; V_1 = (DelegateEntry_t3215410094 *)NULL; V_2 = 0; goto IL_0081; } IL_0010: { DelegateU5BU5D_t1606206610* L_2 = V_0; int32_t L_3 = V_2; int32_t L_4 = L_3; Delegate_t3022476291 * L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4)); V_3 = L_5; Delegate_t3022476291 * L_6 = V_3; Il2CppObject * L_7 = Delegate_get_Target_m896795953(L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_0034; } } { int32_t L_8 = V_2; int32_t L_9 = L_8; Il2CppObject * L_10 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_9); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_11 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral1081251833, L_10, /*hidden argument*/NULL); G_B4_0 = L_11; goto IL_0035; } IL_0034: { G_B4_0 = ((String_t*)(NULL)); } IL_0035: { V_4 = G_B4_0; Delegate_t3022476291 * L_12 = V_3; String_t* L_13 = V_4; DelegateEntry_t3215410094 * L_14 = (DelegateEntry_t3215410094 *)il2cpp_codegen_object_new(DelegateEntry_t3215410094_il2cpp_TypeInfo_var); DelegateEntry__ctor_m2996191962(L_14, L_12, L_13, /*hidden argument*/NULL); V_5 = L_14; DelegateEntry_t3215410094 * L_15 = V_1; if (L_15) { goto IL_0059; } } { SerializationInfo_t228987430 * L_16 = ___info1; DelegateEntry_t3215410094 * L_17 = V_5; SerializationInfo_AddValue_m1740888931(L_16, _stringLiteral1392648963, L_17, /*hidden argument*/NULL); goto IL_0061; } IL_0059: { DelegateEntry_t3215410094 * L_18 = V_1; DelegateEntry_t3215410094 * L_19 = V_5; L_18->set_delegateEntry_6(L_19); } IL_0061: { DelegateEntry_t3215410094 * L_20 = V_5; V_1 = L_20; Delegate_t3022476291 * L_21 = V_3; Il2CppObject * L_22 = Delegate_get_Target_m896795953(L_21, /*hidden argument*/NULL); if (!L_22) { goto IL_007d; } } { SerializationInfo_t228987430 * L_23 = ___info1; String_t* L_24 = V_4; Delegate_t3022476291 * L_25 = V_3; Il2CppObject * L_26 = Delegate_get_Target_m896795953(L_25, /*hidden argument*/NULL); SerializationInfo_AddValue_m1740888931(L_23, L_24, L_26, /*hidden argument*/NULL); } IL_007d: { int32_t L_27 = V_2; V_2 = ((int32_t)((int32_t)L_27+(int32_t)1)); } IL_0081: { int32_t L_28 = V_2; DelegateU5BU5D_t1606206610* L_29 = V_0; if ((((int32_t)L_28) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_29)->max_length))))))) { goto IL_0010; } } { SerializationInfo_t228987430 * L_30 = ___info1; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_31 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(DelegateSerializationHolder_t753405077_0_0_0_var), /*hidden argument*/NULL); SerializationInfo_SetType_m499725474(L_30, L_31, /*hidden argument*/NULL); return; } } // System.Void System.DelegateSerializationHolder::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern const uint32_t DelegateSerializationHolder_GetObjectData_m3504134864_MetadataUsageId; extern "C" void DelegateSerializationHolder_GetObjectData_m3504134864 (DelegateSerializationHolder_t753405077 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DelegateSerializationHolder_GetObjectData_m3504134864_MetadataUsageId); s_Il2CppMethodInitialized = true; } { NotSupportedException_t1793819818 * L_0 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m3232764727(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Object System.DelegateSerializationHolder::GetRealObject(System.Runtime.Serialization.StreamingContext) extern "C" Il2CppObject * DelegateSerializationHolder_GetRealObject_m1233806014 (DelegateSerializationHolder_t753405077 * __this, StreamingContext_t1417235061 ___context0, const MethodInfo* method) { { Delegate_t3022476291 * L_0 = __this->get__delegate_0(); return L_0; } } // System.Void System.DelegateSerializationHolder/DelegateEntry::.ctor(System.Delegate,System.String) extern "C" void DelegateEntry__ctor_m2996191962 (DelegateEntry_t3215410094 * __this, Delegate_t3022476291 * ___del0, String_t* ___targetLabel1, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Delegate_t3022476291 * L_0 = ___del0; Type_t * L_1 = Object_GetType_m191970594(L_0, /*hidden argument*/NULL); String_t* L_2 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_1); __this->set_type_0(L_2); Delegate_t3022476291 * L_3 = ___del0; Type_t * L_4 = Object_GetType_m191970594(L_3, /*hidden argument*/NULL); Assembly_t4268412390 * L_5 = VirtFuncInvoker0< Assembly_t4268412390 * >::Invoke(14 /* System.Reflection.Assembly System.Type::get_Assembly() */, L_4); String_t* L_6 = VirtFuncInvoker0< String_t* >::Invoke(6 /* System.String System.Reflection.Assembly::get_FullName() */, L_5); __this->set_assembly_1(L_6); String_t* L_7 = ___targetLabel1; __this->set_target_2(L_7); Delegate_t3022476291 * L_8 = ___del0; MethodInfo_t * L_9 = Delegate_get_Method_m2968370506(L_8, /*hidden argument*/NULL); Type_t * L_10 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.MemberInfo::get_DeclaringType() */, L_9); Assembly_t4268412390 * L_11 = VirtFuncInvoker0< Assembly_t4268412390 * >::Invoke(14 /* System.Reflection.Assembly System.Type::get_Assembly() */, L_10); String_t* L_12 = VirtFuncInvoker0< String_t* >::Invoke(6 /* System.String System.Reflection.Assembly::get_FullName() */, L_11); __this->set_targetTypeAssembly_3(L_12); Delegate_t3022476291 * L_13 = ___del0; MethodInfo_t * L_14 = Delegate_get_Method_m2968370506(L_13, /*hidden argument*/NULL); Type_t * L_15 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.MemberInfo::get_DeclaringType() */, L_14); String_t* L_16 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_15); __this->set_targetTypeName_4(L_16); Delegate_t3022476291 * L_17 = ___del0; MethodInfo_t * L_18 = Delegate_get_Method_m2968370506(L_17, /*hidden argument*/NULL); String_t* L_19 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Reflection.MemberInfo::get_Name() */, L_18); __this->set_methodName_5(L_19); return; } } // System.Delegate System.DelegateSerializationHolder/DelegateEntry::DeserializeDelegate(System.Runtime.Serialization.SerializationInfo) extern const Il2CppType* Il2CppObject_0_0_0_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* RemotingServices_t2399536837_il2cpp_TypeInfo_var; extern Il2CppClass* RemotingException_t109604560_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3523046631; extern const uint32_t DelegateEntry_DeserializeDelegate_m1550778090_MetadataUsageId; extern "C" Delegate_t3022476291 * DelegateEntry_DeserializeDelegate_m1550778090 (DelegateEntry_t3215410094 * __this, SerializationInfo_t228987430 * ___info0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DelegateEntry_DeserializeDelegate_m1550778090_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; Assembly_t4268412390 * V_1 = NULL; Type_t * V_2 = NULL; Delegate_t3022476291 * V_3 = NULL; Assembly_t4268412390 * V_4 = NULL; Type_t * V_5 = NULL; Assembly_t4268412390 * V_6 = NULL; Type_t * V_7 = NULL; { V_0 = NULL; Il2CppObject * L_0 = __this->get_target_2(); if (!L_0) { goto IL_0029; } } { SerializationInfo_t228987430 * L_1 = ___info0; Il2CppObject * L_2 = __this->get_target_2(); String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_2); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_4 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Il2CppObject_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_5 = SerializationInfo_GetValue_m1127314592(L_1, L_3, L_4, /*hidden argument*/NULL); V_0 = L_5; } IL_0029: { String_t* L_6 = __this->get_assembly_1(); Assembly_t4268412390 * L_7 = Assembly_Load_m902205655(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); V_1 = L_7; Assembly_t4268412390 * L_8 = V_1; String_t* L_9 = __this->get_type_0(); Type_t * L_10 = VirtFuncInvoker1< Type_t *, String_t* >::Invoke(13 /* System.Type System.Reflection.Assembly::GetType(System.String) */, L_8, L_9); V_2 = L_10; Il2CppObject * L_11 = V_0; if (!L_11) { goto IL_009a; } } { Il2CppObject * L_12 = V_0; IL2CPP_RUNTIME_CLASS_INIT(RemotingServices_t2399536837_il2cpp_TypeInfo_var); bool L_13 = RemotingServices_IsTransparentProxy_m162250343(NULL /*static, unused*/, L_12, /*hidden argument*/NULL); if (!L_13) { goto IL_0087; } } { String_t* L_14 = __this->get_targetTypeAssembly_3(); Assembly_t4268412390 * L_15 = Assembly_Load_m902205655(NULL /*static, unused*/, L_14, /*hidden argument*/NULL); V_4 = L_15; Assembly_t4268412390 * L_16 = V_4; String_t* L_17 = __this->get_targetTypeName_4(); Type_t * L_18 = VirtFuncInvoker1< Type_t *, String_t* >::Invoke(13 /* System.Type System.Reflection.Assembly::GetType(System.String) */, L_16, L_17); V_5 = L_18; Type_t * L_19 = V_5; Il2CppObject * L_20 = V_0; bool L_21 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(41 /* System.Boolean System.Type::IsInstanceOfType(System.Object) */, L_19, L_20); if (L_21) { goto IL_0087; } } { RemotingException_t109604560 * L_22 = (RemotingException_t109604560 *)il2cpp_codegen_object_new(RemotingException_t109604560_il2cpp_TypeInfo_var); RemotingException__ctor_m3568495070(L_22, _stringLiteral3523046631, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_22); } IL_0087: { Type_t * L_23 = V_2; Il2CppObject * L_24 = V_0; String_t* L_25 = __this->get_methodName_5(); Delegate_t3022476291 * L_26 = Delegate_CreateDelegate_m2858111775(NULL /*static, unused*/, L_23, L_24, L_25, /*hidden argument*/NULL); V_3 = L_26; goto IL_00c5; } IL_009a: { String_t* L_27 = __this->get_targetTypeAssembly_3(); Assembly_t4268412390 * L_28 = Assembly_Load_m902205655(NULL /*static, unused*/, L_27, /*hidden argument*/NULL); V_6 = L_28; Assembly_t4268412390 * L_29 = V_6; String_t* L_30 = __this->get_targetTypeName_4(); Type_t * L_31 = VirtFuncInvoker1< Type_t *, String_t* >::Invoke(13 /* System.Type System.Reflection.Assembly::GetType(System.String) */, L_29, L_30); V_7 = L_31; Type_t * L_32 = V_2; Type_t * L_33 = V_7; String_t* L_34 = __this->get_methodName_5(); Delegate_t3022476291 * L_35 = Delegate_CreateDelegate_m1864084142(NULL /*static, unused*/, L_32, L_33, L_34, /*hidden argument*/NULL); V_3 = L_35; } IL_00c5: { Delegate_t3022476291 * L_36 = V_3; return L_36; } } // System.Void System.Diagnostics.DebuggableAttribute::.ctor(System.Diagnostics.DebuggableAttribute/DebuggingModes) extern "C" void DebuggableAttribute__ctor_m1065484869 (DebuggableAttribute_t994551506 * __this, int32_t ___modes0, const MethodInfo* method) { { Attribute__ctor_m1730479323(__this, /*hidden argument*/NULL); int32_t L_0 = ___modes0; __this->set_debuggingModes_2(L_0); int32_t L_1 = __this->get_debuggingModes_2(); __this->set_JITTrackingEnabledFlag_0((bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_1&(int32_t)1))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)); int32_t L_2 = __this->get_debuggingModes_2(); __this->set_JITOptimizerDisabledFlag_1((bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_2&(int32_t)((int32_t)256)))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)); return; } } // System.Void System.Diagnostics.DebuggerBrowsableAttribute::.ctor(System.Diagnostics.DebuggerBrowsableState) extern "C" void DebuggerBrowsableAttribute__ctor_m3729055103 (DebuggerBrowsableAttribute_t1386379234 * __this, int32_t ___state0, const MethodInfo* method) { { Attribute__ctor_m1730479323(__this, /*hidden argument*/NULL); int32_t L_0 = ___state0; __this->set_state_0(L_0); return; } } // System.Void System.Diagnostics.DebuggerDisplayAttribute::.ctor(System.String) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t DebuggerDisplayAttribute__ctor_m1420611550_MetadataUsageId; extern "C" void DebuggerDisplayAttribute__ctor_m1420611550 (DebuggerDisplayAttribute_t1528914581 * __this, String_t* ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DebuggerDisplayAttribute__ctor_m1420611550_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Attribute__ctor_m1730479323(__this, /*hidden argument*/NULL); String_t* L_0 = ___value0; if (L_0) { goto IL_0013; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_1 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); ___value0 = L_1; } IL_0013: { String_t* L_2 = ___value0; __this->set_value_0(L_2); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_3 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); __this->set_type_1(L_3); String_t* L_4 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); __this->set_name_2(L_4); return; } } // System.Void System.Diagnostics.DebuggerDisplayAttribute::set_Name(System.String) extern "C" void DebuggerDisplayAttribute_set_Name_m3640338590 (DebuggerDisplayAttribute_t1528914581 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_name_2(L_0); return; } } // System.Void System.Diagnostics.DebuggerHiddenAttribute::.ctor() extern "C" void DebuggerHiddenAttribute__ctor_m2012788180 (DebuggerHiddenAttribute_t638884887 * __this, const MethodInfo* method) { { Attribute__ctor_m1730479323(__this, /*hidden argument*/NULL); return; } } // System.Void System.Diagnostics.DebuggerStepThroughAttribute::.ctor() extern "C" void DebuggerStepThroughAttribute__ctor_m3511084653 (DebuggerStepThroughAttribute_t518825354 * __this, const MethodInfo* method) { { Attribute__ctor_m1730479323(__this, /*hidden argument*/NULL); return; } } // System.Void System.Diagnostics.DebuggerTypeProxyAttribute::.ctor(System.Type) extern "C" void DebuggerTypeProxyAttribute__ctor_m3082078467 (DebuggerTypeProxyAttribute_t970972087 * __this, Type_t * ___type0, const MethodInfo* method) { { Attribute__ctor_m1730479323(__this, /*hidden argument*/NULL); Type_t * L_0 = ___type0; String_t* L_1 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Reflection.MemberInfo::get_Name() */, L_0); __this->set_proxy_type_name_0(L_1); return; } } // System.Void System.Diagnostics.StackFrame::.ctor() extern "C" void StackFrame__ctor_m883000144 (StackFrame_t2050294881 * __this, const MethodInfo* method) { { __this->set_ilOffset_1((-1)); __this->set_nativeOffset_2((-1)); Object__ctor_m2551263788(__this, /*hidden argument*/NULL); MethodBase_t904190842 ** L_0 = __this->get_address_of_methodBase_3(); int32_t* L_1 = __this->get_address_of_ilOffset_1(); int32_t* L_2 = __this->get_address_of_nativeOffset_2(); String_t** L_3 = __this->get_address_of_fileName_4(); int32_t* L_4 = __this->get_address_of_lineNumber_5(); int32_t* L_5 = __this->get_address_of_columnNumber_6(); StackFrame_get_frame_info_m1165897351(NULL /*static, unused*/, 2, (bool)0, L_0, L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL); return; } } // System.Void System.Diagnostics.StackFrame::.ctor(System.Int32,System.Boolean) extern "C" void StackFrame__ctor_m743151936 (StackFrame_t2050294881 * __this, int32_t ___skipFrames0, bool ___fNeedFileInfo1, const MethodInfo* method) { { __this->set_ilOffset_1((-1)); __this->set_nativeOffset_2((-1)); Object__ctor_m2551263788(__this, /*hidden argument*/NULL); int32_t L_0 = ___skipFrames0; bool L_1 = ___fNeedFileInfo1; MethodBase_t904190842 ** L_2 = __this->get_address_of_methodBase_3(); int32_t* L_3 = __this->get_address_of_ilOffset_1(); int32_t* L_4 = __this->get_address_of_nativeOffset_2(); String_t** L_5 = __this->get_address_of_fileName_4(); int32_t* L_6 = __this->get_address_of_lineNumber_5(); int32_t* L_7 = __this->get_address_of_columnNumber_6(); StackFrame_get_frame_info_m1165897351(NULL /*static, unused*/, ((int32_t)((int32_t)L_0+(int32_t)2)), L_1, L_2, L_3, L_4, L_5, L_6, L_7, /*hidden argument*/NULL); return; } } // System.Boolean System.Diagnostics.StackFrame::get_frame_info(System.Int32,System.Boolean,System.Reflection.MethodBase&,System.Int32&,System.Int32&,System.String&,System.Int32&,System.Int32&) extern "C" bool StackFrame_get_frame_info_m1165897351 (Il2CppObject * __this /* static, unused */, int32_t ___skip0, bool ___needFileInfo1, MethodBase_t904190842 ** ___method2, int32_t* ___iloffset3, int32_t* ___native_offset4, String_t** ___file5, int32_t* ___line6, int32_t* ___column7, const MethodInfo* method) { using namespace il2cpp::icalls; typedef bool (*StackFrame_get_frame_info_m1165897351_ftn) (int32_t, bool, MethodBase_t904190842 **, int32_t*, int32_t*, String_t**, int32_t*, int32_t*); return ((StackFrame_get_frame_info_m1165897351_ftn)mscorlib::System::Diagnostics::StackFrame::get_frame_info) (___skip0, ___needFileInfo1, ___method2, ___iloffset3, ___native_offset4, ___file5, ___line6, ___column7); } // System.Int32 System.Diagnostics.StackFrame::GetFileLineNumber() extern "C" int32_t StackFrame_GetFileLineNumber_m306421765 (StackFrame_t2050294881 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_lineNumber_5(); return L_0; } } // System.String System.Diagnostics.StackFrame::GetFileName() extern "C" String_t* StackFrame_GetFileName_m1442026748 (StackFrame_t2050294881 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_fileName_4(); return L_0; } } // System.String System.Diagnostics.StackFrame::GetSecureFileName() extern Il2CppClass* SecurityException_t887327375_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3936095879; extern const uint32_t StackFrame_GetSecureFileName_m389986943_MetadataUsageId; extern "C" String_t* StackFrame_GetSecureFileName_m389986943 (StackFrame_t2050294881 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (StackFrame_GetSecureFileName_m389986943_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { V_0 = _stringLiteral3936095879; String_t* L_0 = __this->get_fileName_4(); if (L_0) { goto IL_0013; } } { String_t* L_1 = V_0; return L_1; } IL_0013: try { // begin try (depth: 1) String_t* L_2 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Diagnostics.StackFrame::GetFileName() */, __this); V_0 = L_2; goto IL_0025; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (SecurityException_t887327375_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_001f; throw e; } CATCH_001f: { // begin catch(System.Security.SecurityException) goto IL_0025; } // end catch (depth: 1) IL_0025: { String_t* L_3 = V_0; return L_3; } } // System.Int32 System.Diagnostics.StackFrame::GetILOffset() extern "C" int32_t StackFrame_GetILOffset_m115192054 (StackFrame_t2050294881 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_ilOffset_1(); return L_0; } } // System.Reflection.MethodBase System.Diagnostics.StackFrame::GetMethod() extern "C" MethodBase_t904190842 * StackFrame_GetMethod_m72881026 (StackFrame_t2050294881 * __this, const MethodInfo* method) { { MethodBase_t904190842 * L_0 = __this->get_methodBase_3(); return L_0; } } // System.Int32 System.Diagnostics.StackFrame::GetNativeOffset() extern "C" int32_t StackFrame_GetNativeOffset_m1046210520 (StackFrame_t2050294881 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_nativeOffset_2(); return L_0; } } // System.String System.Diagnostics.StackFrame::GetInternalMethodName() extern "C" String_t* StackFrame_GetInternalMethodName_m3997579542 (StackFrame_t2050294881 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_internalMethodName_7(); return L_0; } } // System.String System.Diagnostics.StackFrame::ToString() extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral110011617; extern Il2CppCodeGenString* _stringLiteral4176625605; extern Il2CppCodeGenString* _stringLiteral3656970391; extern Il2CppCodeGenString* _stringLiteral3567755197; extern Il2CppCodeGenString* _stringLiteral3668228049; extern Il2CppCodeGenString* _stringLiteral423407805; extern const uint32_t StackFrame_ToString_m1351672533_MetadataUsageId; extern "C" String_t* StackFrame_ToString_m1351672533 (StackFrame_t2050294881 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (StackFrame_ToString_m1351672533_MetadataUsageId); s_Il2CppMethodInitialized = true; } StringBuilder_t1221177846 * V_0 = NULL; { StringBuilder_t1221177846 * L_0 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var); StringBuilder__ctor_m3946851802(L_0, /*hidden argument*/NULL); V_0 = L_0; MethodBase_t904190842 * L_1 = __this->get_methodBase_3(); if (L_1) { goto IL_0027; } } { StringBuilder_t1221177846 * L_2 = V_0; String_t* L_3 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral110011617, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_2, L_3, /*hidden argument*/NULL); goto IL_0039; } IL_0027: { StringBuilder_t1221177846 * L_4 = V_0; MethodBase_t904190842 * L_5 = __this->get_methodBase_3(); String_t* L_6 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Reflection.MemberInfo::get_Name() */, L_5); StringBuilder_Append_m3636508479(L_4, L_6, /*hidden argument*/NULL); } IL_0039: { StringBuilder_t1221177846 * L_7 = V_0; String_t* L_8 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4176625605, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_7, L_8, /*hidden argument*/NULL); int32_t L_9 = __this->get_ilOffset_1(); if ((!(((uint32_t)L_9) == ((uint32_t)(-1))))) { goto IL_006c; } } { StringBuilder_t1221177846 * L_10 = V_0; String_t* L_11 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3656970391, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_10, L_11, /*hidden argument*/NULL); goto IL_008a; } IL_006c: { StringBuilder_t1221177846 * L_12 = V_0; String_t* L_13 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3567755197, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_12, L_13, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_14 = V_0; int32_t L_15 = __this->get_ilOffset_1(); StringBuilder_Append_m2109474214(L_14, L_15, /*hidden argument*/NULL); } IL_008a: { StringBuilder_t1221177846 * L_16 = V_0; String_t* L_17 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3668228049, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_16, L_17, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_18 = V_0; String_t* L_19 = StackFrame_GetSecureFileName_m389986943(__this, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_18, L_19, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_20 = V_0; int32_t L_21 = __this->get_lineNumber_5(); int32_t L_22 = L_21; Il2CppObject * L_23 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_22); int32_t L_24 = __this->get_columnNumber_6(); int32_t L_25 = L_24; Il2CppObject * L_26 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_25); StringBuilder_AppendFormat_m759296786(L_20, _stringLiteral423407805, L_23, L_26, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_27 = V_0; String_t* L_28 = StringBuilder_ToString_m1507807375(L_27, /*hidden argument*/NULL); return L_28; } } // System.Void System.Diagnostics.StackTrace::.ctor() extern "C" void StackTrace__ctor_m2404985356 (StackTrace_t2500644597 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); StackTrace_init_frames_m3304642995(__this, 0, (bool)0, /*hidden argument*/NULL); return; } } // System.Void System.Diagnostics.StackTrace::.ctor(System.Int32,System.Boolean) extern "C" void StackTrace__ctor_m1811467992 (StackTrace_t2500644597 * __this, int32_t ___skipFrames0, bool ___fNeedFileInfo1, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); int32_t L_0 = ___skipFrames0; bool L_1 = ___fNeedFileInfo1; StackTrace_init_frames_m3304642995(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.Diagnostics.StackTrace::.ctor(System.Exception,System.Boolean) extern "C" void StackTrace__ctor_m772333217 (StackTrace_t2500644597 * __this, Exception_t1927440687 * ___e0, bool ___fNeedFileInfo1, const MethodInfo* method) { { Exception_t1927440687 * L_0 = ___e0; bool L_1 = ___fNeedFileInfo1; StackTrace__ctor_m3056802492(__this, L_0, 0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.Diagnostics.StackTrace::.ctor(System.Exception,System.Int32,System.Boolean) extern "C" void StackTrace__ctor_m3056802492 (StackTrace_t2500644597 * __this, Exception_t1927440687 * ___e0, int32_t ___skipFrames1, bool ___fNeedFileInfo2, const MethodInfo* method) { { Exception_t1927440687 * L_0 = ___e0; int32_t L_1 = ___skipFrames1; bool L_2 = ___fNeedFileInfo2; StackTrace__ctor_m2335548767(__this, L_0, L_1, L_2, (bool)0, /*hidden argument*/NULL); return; } } // System.Void System.Diagnostics.StackTrace::.ctor(System.Exception,System.Int32,System.Boolean,System.Boolean) extern const Il2CppType* StackFrame_t2050294881_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* StackFrameU5BU5D_t4208599292_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029369; extern Il2CppCodeGenString* _stringLiteral816987394; extern Il2CppCodeGenString* _stringLiteral3861510519; extern const uint32_t StackTrace__ctor_m2335548767_MetadataUsageId; extern "C" void StackTrace__ctor_m2335548767 (StackTrace_t2500644597 * __this, Exception_t1927440687 * ___e0, int32_t ___skipFrames1, bool ___fNeedFileInfo2, bool ___returnNativeFrames3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (StackTrace__ctor_m2335548767_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; int32_t V_1 = 0; ArrayList_t4252133567 * V_2 = NULL; int32_t V_3 = 0; { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Exception_t1927440687 * L_0 = ___e0; if (L_0) { goto IL_0017; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral372029369, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0017: { int32_t L_2 = ___skipFrames1; if ((((int32_t)L_2) >= ((int32_t)0))) { goto IL_002e; } } { ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral816987394, _stringLiteral3861510519, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002e: { Exception_t1927440687 * L_4 = ___e0; int32_t L_5 = ___skipFrames1; bool L_6 = ___fNeedFileInfo2; StackFrameU5BU5D_t4208599292* L_7 = StackTrace_get_trace_m1709902627(NULL /*static, unused*/, L_4, L_5, L_6, /*hidden argument*/NULL); __this->set_frames_1(L_7); bool L_8 = ___returnNativeFrames3; if (L_8) { goto IL_00d3; } } { V_0 = (bool)0; V_1 = 0; goto IL_0064; } IL_004c: { StackFrameU5BU5D_t4208599292* L_9 = __this->get_frames_1(); int32_t L_10 = V_1; int32_t L_11 = L_10; StackFrame_t2050294881 * L_12 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11)); MethodBase_t904190842 * L_13 = VirtFuncInvoker0< MethodBase_t904190842 * >::Invoke(7 /* System.Reflection.MethodBase System.Diagnostics.StackFrame::GetMethod() */, L_12); if (L_13) { goto IL_0060; } } { V_0 = (bool)1; } IL_0060: { int32_t L_14 = V_1; V_1 = ((int32_t)((int32_t)L_14+(int32_t)1)); } IL_0064: { int32_t L_15 = V_1; StackFrameU5BU5D_t4208599292* L_16 = __this->get_frames_1(); if ((((int32_t)L_15) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_16)->max_length))))))) { goto IL_004c; } } { bool L_17 = V_0; if (!L_17) { goto IL_00d3; } } { ArrayList_t4252133567 * L_18 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList__ctor_m4012174379(L_18, /*hidden argument*/NULL); V_2 = L_18; V_3 = 0; goto IL_00aa; } IL_0085: { StackFrameU5BU5D_t4208599292* L_19 = __this->get_frames_1(); int32_t L_20 = V_3; int32_t L_21 = L_20; StackFrame_t2050294881 * L_22 = (L_19)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_21)); MethodBase_t904190842 * L_23 = VirtFuncInvoker0< MethodBase_t904190842 * >::Invoke(7 /* System.Reflection.MethodBase System.Diagnostics.StackFrame::GetMethod() */, L_22); if (!L_23) { goto IL_00a6; } } { ArrayList_t4252133567 * L_24 = V_2; StackFrameU5BU5D_t4208599292* L_25 = __this->get_frames_1(); int32_t L_26 = V_3; int32_t L_27 = L_26; StackFrame_t2050294881 * L_28 = (L_25)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_27)); VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_24, L_28); } IL_00a6: { int32_t L_29 = V_3; V_3 = ((int32_t)((int32_t)L_29+(int32_t)1)); } IL_00aa: { int32_t L_30 = V_3; StackFrameU5BU5D_t4208599292* L_31 = __this->get_frames_1(); if ((((int32_t)L_30) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_31)->max_length))))))) { goto IL_0085; } } { ArrayList_t4252133567 * L_32 = V_2; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_33 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(StackFrame_t2050294881_0_0_0_var), /*hidden argument*/NULL); Il2CppArray * L_34 = VirtFuncInvoker1< Il2CppArray *, Type_t * >::Invoke(48 /* System.Array System.Collections.ArrayList::ToArray(System.Type) */, L_32, L_33); __this->set_frames_1(((StackFrameU5BU5D_t4208599292*)Castclass(L_34, StackFrameU5BU5D_t4208599292_il2cpp_TypeInfo_var))); } IL_00d3: { return; } } // System.Void System.Diagnostics.StackTrace::init_frames(System.Int32,System.Boolean) extern const Il2CppType* StackFrame_t2050294881_0_0_0_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var; extern Il2CppClass* StackFrame_t2050294881_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* StackFrameU5BU5D_t4208599292_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral816987394; extern Il2CppCodeGenString* _stringLiteral3861510519; extern const uint32_t StackTrace_init_frames_m3304642995_MetadataUsageId; extern "C" void StackTrace_init_frames_m3304642995 (StackTrace_t2500644597 * __this, int32_t ___skipFrames0, bool ___fNeedFileInfo1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (StackTrace_init_frames_m3304642995_MetadataUsageId); s_Il2CppMethodInitialized = true; } StackFrame_t2050294881 * V_0 = NULL; ArrayList_t4252133567 * V_1 = NULL; { int32_t L_0 = ___skipFrames0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_0017; } } { ArgumentOutOfRangeException_t279959794 * L_1 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_1, _stringLiteral816987394, _stringLiteral3861510519, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0017: { ArrayList_t4252133567 * L_2 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var); ArrayList__ctor_m4012174379(L_2, /*hidden argument*/NULL); V_1 = L_2; int32_t L_3 = ___skipFrames0; ___skipFrames0 = ((int32_t)((int32_t)L_3+(int32_t)2)); goto IL_0034; } IL_0027: { ArrayList_t4252133567 * L_4 = V_1; StackFrame_t2050294881 * L_5 = V_0; VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_4, L_5); int32_t L_6 = ___skipFrames0; ___skipFrames0 = ((int32_t)((int32_t)L_6+(int32_t)1)); } IL_0034: { int32_t L_7 = ___skipFrames0; bool L_8 = ___fNeedFileInfo1; StackFrame_t2050294881 * L_9 = (StackFrame_t2050294881 *)il2cpp_codegen_object_new(StackFrame_t2050294881_il2cpp_TypeInfo_var); StackFrame__ctor_m743151936(L_9, L_7, L_8, /*hidden argument*/NULL); StackFrame_t2050294881 * L_10 = L_9; V_0 = L_10; if (!L_10) { goto IL_004d; } } { StackFrame_t2050294881 * L_11 = V_0; MethodBase_t904190842 * L_12 = VirtFuncInvoker0< MethodBase_t904190842 * >::Invoke(7 /* System.Reflection.MethodBase System.Diagnostics.StackFrame::GetMethod() */, L_11); if (L_12) { goto IL_0027; } } IL_004d: { bool L_13 = ___fNeedFileInfo1; __this->set_debug_info_2(L_13); ArrayList_t4252133567 * L_14 = V_1; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_15 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(StackFrame_t2050294881_0_0_0_var), /*hidden argument*/NULL); Il2CppArray * L_16 = VirtFuncInvoker1< Il2CppArray *, Type_t * >::Invoke(48 /* System.Array System.Collections.ArrayList::ToArray(System.Type) */, L_14, L_15); __this->set_frames_1(((StackFrameU5BU5D_t4208599292*)Castclass(L_16, StackFrameU5BU5D_t4208599292_il2cpp_TypeInfo_var))); return; } } // System.Diagnostics.StackFrame[] System.Diagnostics.StackTrace::get_trace(System.Exception,System.Int32,System.Boolean) extern "C" StackFrameU5BU5D_t4208599292* StackTrace_get_trace_m1709902627 (Il2CppObject * __this /* static, unused */, Exception_t1927440687 * ___e0, int32_t ___skipFrames1, bool ___fNeedFileInfo2, const MethodInfo* method) { using namespace il2cpp::icalls; typedef StackFrameU5BU5D_t4208599292* (*StackTrace_get_trace_m1709902627_ftn) (Exception_t1927440687 *, int32_t, bool); return ((StackTrace_get_trace_m1709902627_ftn)mscorlib::System::Diagnostics::StackTrace::get_trace) (___e0, ___skipFrames1, ___fNeedFileInfo2); } // System.Int32 System.Diagnostics.StackTrace::get_FrameCount() extern "C" int32_t StackTrace_get_FrameCount_m1447315207 (StackTrace_t2500644597 * __this, const MethodInfo* method) { int32_t G_B3_0 = 0; { StackFrameU5BU5D_t4208599292* L_0 = __this->get_frames_1(); if (L_0) { goto IL_0011; } } { G_B3_0 = 0; goto IL_0019; } IL_0011: { StackFrameU5BU5D_t4208599292* L_1 = __this->get_frames_1(); G_B3_0 = (((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length)))); } IL_0019: { return G_B3_0; } } // System.Diagnostics.StackFrame System.Diagnostics.StackTrace::GetFrame(System.Int32) extern "C" StackFrame_t2050294881 * StackTrace_GetFrame_m722859709 (StackTrace_t2500644597 * __this, int32_t ___index0, const MethodInfo* method) { { int32_t L_0 = ___index0; if ((((int32_t)L_0) < ((int32_t)0))) { goto IL_0013; } } { int32_t L_1 = ___index0; int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 System.Diagnostics.StackTrace::get_FrameCount() */, __this); if ((((int32_t)L_1) < ((int32_t)L_2))) { goto IL_0015; } } IL_0013: { return (StackFrame_t2050294881 *)NULL; } IL_0015: { StackFrameU5BU5D_t4208599292* L_3 = __this->get_frames_1(); int32_t L_4 = ___index0; int32_t L_5 = L_4; StackFrame_t2050294881 * L_6 = (L_3)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5)); return L_6; } } // System.String System.Diagnostics.StackTrace::ToString() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3936407417; extern Il2CppCodeGenString* _stringLiteral3869568057; extern Il2CppCodeGenString* _stringLiteral110011617; extern Il2CppCodeGenString* _stringLiteral2665599194; extern Il2CppCodeGenString* _stringLiteral782277412; extern Il2CppCodeGenString* _stringLiteral3359045495; extern Il2CppCodeGenString* _stringLiteral372029318; extern Il2CppCodeGenString* _stringLiteral811305474; extern Il2CppCodeGenString* _stringLiteral372029316; extern Il2CppCodeGenString* _stringLiteral1271078008; extern Il2CppCodeGenString* _stringLiteral1367446948; extern Il2CppCodeGenString* _stringLiteral372029317; extern Il2CppCodeGenString* _stringLiteral3936095879; extern const uint32_t StackTrace_ToString_m1480148941_MetadataUsageId; extern "C" String_t* StackTrace_ToString_m1480148941 (StackTrace_t2500644597 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (StackTrace_ToString_m1480148941_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; String_t* V_1 = NULL; String_t* V_2 = NULL; StringBuilder_t1221177846 * V_3 = NULL; int32_t V_4 = 0; StackFrame_t2050294881 * V_5 = NULL; MethodBase_t904190842 * V_6 = NULL; ParameterInfoU5BU5D_t2275869610* V_7 = NULL; int32_t V_8 = 0; Type_t * V_9 = NULL; bool V_10 = false; String_t* V_11 = NULL; { String_t* L_0 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL); String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3869568057, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_2 = String_Format_m1811873526(NULL /*static, unused*/, _stringLiteral3936407417, L_0, L_1, /*hidden argument*/NULL); V_0 = L_2; String_t* L_3 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral110011617, /*hidden argument*/NULL); V_1 = L_3; String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2665599194, /*hidden argument*/NULL); V_2 = L_4; StringBuilder_t1221177846 * L_5 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var); StringBuilder__ctor_m3946851802(L_5, /*hidden argument*/NULL); V_3 = L_5; V_4 = 0; goto IL_01d6; } IL_003e: { int32_t L_6 = V_4; StackFrame_t2050294881 * L_7 = VirtFuncInvoker1< StackFrame_t2050294881 *, int32_t >::Invoke(5 /* System.Diagnostics.StackFrame System.Diagnostics.StackTrace::GetFrame(System.Int32) */, __this, L_6); V_5 = L_7; int32_t L_8 = V_4; if ((((int32_t)L_8) <= ((int32_t)0))) { goto IL_005d; } } { StringBuilder_t1221177846 * L_9 = V_3; String_t* L_10 = V_0; StringBuilder_Append_m3636508479(L_9, L_10, /*hidden argument*/NULL); goto IL_0073; } IL_005d: { StringBuilder_t1221177846 * L_11 = V_3; String_t* L_12 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3869568057, /*hidden argument*/NULL); StringBuilder_AppendFormat_m3265503696(L_11, _stringLiteral782277412, L_12, /*hidden argument*/NULL); } IL_0073: { StackFrame_t2050294881 * L_13 = V_5; MethodBase_t904190842 * L_14 = VirtFuncInvoker0< MethodBase_t904190842 * >::Invoke(7 /* System.Reflection.MethodBase System.Diagnostics.StackFrame::GetMethod() */, L_13); V_6 = L_14; MethodBase_t904190842 * L_15 = V_6; if (!L_15) { goto IL_018d; } } { StringBuilder_t1221177846 * L_16 = V_3; MethodBase_t904190842 * L_17 = V_6; Type_t * L_18 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.MemberInfo::get_DeclaringType() */, L_17); String_t* L_19 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_18); MethodBase_t904190842 * L_20 = V_6; String_t* L_21 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Reflection.MemberInfo::get_Name() */, L_20); StringBuilder_AppendFormat_m759296786(L_16, _stringLiteral3359045495, L_19, L_21, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_22 = V_3; StringBuilder_Append_m3636508479(L_22, _stringLiteral372029318, /*hidden argument*/NULL); MethodBase_t904190842 * L_23 = V_6; ParameterInfoU5BU5D_t2275869610* L_24 = VirtFuncInvoker0< ParameterInfoU5BU5D_t2275869610* >::Invoke(14 /* System.Reflection.ParameterInfo[] System.Reflection.MethodBase::GetParameters() */, L_23); V_7 = L_24; V_8 = 0; goto IL_0171; } IL_00bf: { int32_t L_25 = V_8; if ((((int32_t)L_25) <= ((int32_t)0))) { goto IL_00d3; } } { StringBuilder_t1221177846 * L_26 = V_3; StringBuilder_Append_m3636508479(L_26, _stringLiteral811305474, /*hidden argument*/NULL); } IL_00d3: { ParameterInfoU5BU5D_t2275869610* L_27 = V_7; int32_t L_28 = V_8; int32_t L_29 = L_28; ParameterInfo_t2249040075 * L_30 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_29)); Type_t * L_31 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_30); V_9 = L_31; Type_t * L_32 = V_9; bool L_33 = Type_get_IsByRef_m3523465500(L_32, /*hidden argument*/NULL); V_10 = L_33; bool L_34 = V_10; if (!L_34) { goto IL_00f8; } } { Type_t * L_35 = V_9; Type_t * L_36 = VirtFuncInvoker0< Type_t * >::Invoke(42 /* System.Type System.Type::GetElementType() */, L_35); V_9 = L_36; } IL_00f8: { Type_t * L_37 = V_9; bool L_38 = Type_get_IsClass_m2968663946(L_37, /*hidden argument*/NULL); if (!L_38) { goto IL_0134; } } { Type_t * L_39 = V_9; String_t* L_40 = VirtFuncInvoker0< String_t* >::Invoke(34 /* System.String System.Type::get_Namespace() */, L_39); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_41 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_42 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_40, L_41, /*hidden argument*/NULL); if (!L_42) { goto IL_0134; } } { StringBuilder_t1221177846 * L_43 = V_3; Type_t * L_44 = V_9; String_t* L_45 = VirtFuncInvoker0< String_t* >::Invoke(34 /* System.String System.Type::get_Namespace() */, L_44); StringBuilder_Append_m3636508479(L_43, L_45, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_46 = V_3; StringBuilder_Append_m3636508479(L_46, _stringLiteral372029316, /*hidden argument*/NULL); } IL_0134: { StringBuilder_t1221177846 * L_47 = V_3; Type_t * L_48 = V_9; String_t* L_49 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Reflection.MemberInfo::get_Name() */, L_48); StringBuilder_Append_m3636508479(L_47, L_49, /*hidden argument*/NULL); bool L_50 = V_10; if (!L_50) { goto IL_0155; } } { StringBuilder_t1221177846 * L_51 = V_3; StringBuilder_Append_m3636508479(L_51, _stringLiteral1271078008, /*hidden argument*/NULL); } IL_0155: { StringBuilder_t1221177846 * L_52 = V_3; ParameterInfoU5BU5D_t2275869610* L_53 = V_7; int32_t L_54 = V_8; int32_t L_55 = L_54; ParameterInfo_t2249040075 * L_56 = (L_53)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_55)); String_t* L_57 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String System.Reflection.ParameterInfo::get_Name() */, L_56); StringBuilder_AppendFormat_m3265503696(L_52, _stringLiteral1367446948, L_57, /*hidden argument*/NULL); int32_t L_58 = V_8; V_8 = ((int32_t)((int32_t)L_58+(int32_t)1)); } IL_0171: { int32_t L_59 = V_8; ParameterInfoU5BU5D_t2275869610* L_60 = V_7; if ((((int32_t)L_59) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_60)->max_length))))))) { goto IL_00bf; } } { StringBuilder_t1221177846 * L_61 = V_3; StringBuilder_Append_m3636508479(L_61, _stringLiteral372029317, /*hidden argument*/NULL); goto IL_0195; } IL_018d: { StringBuilder_t1221177846 * L_62 = V_3; String_t* L_63 = V_1; StringBuilder_Append_m3636508479(L_62, L_63, /*hidden argument*/NULL); } IL_0195: { bool L_64 = __this->get_debug_info_2(); if (!L_64) { goto IL_01d0; } } { StackFrame_t2050294881 * L_65 = V_5; String_t* L_66 = StackFrame_GetSecureFileName_m389986943(L_65, /*hidden argument*/NULL); V_11 = L_66; String_t* L_67 = V_11; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_68 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_67, _stringLiteral3936095879, /*hidden argument*/NULL); if (!L_68) { goto IL_01d0; } } { StringBuilder_t1221177846 * L_69 = V_3; String_t* L_70 = V_2; String_t* L_71 = V_11; StackFrame_t2050294881 * L_72 = V_5; int32_t L_73 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 System.Diagnostics.StackFrame::GetFileLineNumber() */, L_72); int32_t L_74 = L_73; Il2CppObject * L_75 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_74); StringBuilder_AppendFormat_m759296786(L_69, L_70, L_71, L_75, /*hidden argument*/NULL); } IL_01d0: { int32_t L_76 = V_4; V_4 = ((int32_t)((int32_t)L_76+(int32_t)1)); } IL_01d6: { int32_t L_77 = V_4; int32_t L_78 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 System.Diagnostics.StackTrace::get_FrameCount() */, __this); if ((((int32_t)L_77) < ((int32_t)L_78))) { goto IL_003e; } } { StringBuilder_t1221177846 * L_79 = V_3; String_t* L_80 = StringBuilder_ToString_m1507807375(L_79, /*hidden argument*/NULL); return L_80; } } // System.Void System.DivideByZeroException::.ctor() extern Il2CppCodeGenString* _stringLiteral3068749804; extern const uint32_t DivideByZeroException__ctor_m280382972_MetadataUsageId; extern "C" void DivideByZeroException__ctor_m280382972 (DivideByZeroException_t1660837001 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DivideByZeroException__ctor_m280382972_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3068749804, /*hidden argument*/NULL); ArithmeticException__ctor_m4208398840(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2147352558), /*hidden argument*/NULL); return; } } // System.Void System.DivideByZeroException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void DivideByZeroException__ctor_m179423973 (DivideByZeroException_t1660837001 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; ArithmeticException__ctor_m104771799(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.DllNotFoundException::.ctor() extern Il2CppCodeGenString* _stringLiteral2150872333; extern const uint32_t DllNotFoundException__ctor_m1088602459_MetadataUsageId; extern "C" void DllNotFoundException__ctor_m1088602459 (DllNotFoundException_t3636280042 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (DllNotFoundException__ctor_m1088602459_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2150872333, /*hidden argument*/NULL); TypeLoadException__ctor_m1903359728(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233052), /*hidden argument*/NULL); return; } } // System.Void System.DllNotFoundException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void DllNotFoundException__ctor_m267198482 (DllNotFoundException_t3636280042 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; TypeLoadException__ctor_m517092917(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Object System.Double::System.IConvertible.ToType(System.Type,System.IFormatProvider) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Double_t4078015681_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3040989817; extern const uint32_t Double_System_IConvertible_ToType_m4036266196_MetadataUsageId; extern "C" Il2CppObject * Double_System_IConvertible_ToType_m4036266196 (double* __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToType_m4036266196_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___targetType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3040989817, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { double L_2 = (*((double*)__this)); Il2CppObject * L_3 = Box(Double_t4078015681_il2cpp_TypeInfo_var, &L_2); Type_t * L_4 = ___targetType0; Il2CppObject * L_5 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Il2CppObject * L_6 = Convert_ToType_m1408903144(NULL /*static, unused*/, L_3, L_4, L_5, (bool)0, /*hidden argument*/NULL); return L_6; } } extern "C" Il2CppObject * Double_System_IConvertible_ToType_m4036266196_AdjustorThunk (Il2CppObject * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToType_m4036266196(_thisAdjusted, ___targetType0, ___provider1, method); } // System.Boolean System.Double::System.IConvertible.ToBoolean(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToBoolean_m4251806534_MetadataUsageId; extern "C" bool Double_System_IConvertible_ToBoolean_m4251806534 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToBoolean_m4251806534_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); bool L_0 = Convert_ToBoolean_m2764507461(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" bool Double_System_IConvertible_ToBoolean_m4251806534_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToBoolean_m4251806534(_thisAdjusted, ___provider0, method); } // System.Byte System.Double::System.IConvertible.ToByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToByte_m3004284950_MetadataUsageId; extern "C" uint8_t Double_System_IConvertible_ToByte_m3004284950 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToByte_m3004284950_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint8_t L_0 = Convert_ToByte_m1571267017(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint8_t Double_System_IConvertible_ToByte_m3004284950_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToByte_m3004284950(_thisAdjusted, ___provider0, method); } // System.Char System.Double::System.IConvertible.ToChar(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToChar_m398636054_MetadataUsageId; extern "C" Il2CppChar Double_System_IConvertible_ToChar_m398636054 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToChar_m398636054_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" Il2CppChar Double_System_IConvertible_ToChar_m398636054_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToChar_m398636054(_thisAdjusted, ___provider0, method); } // System.DateTime System.Double::System.IConvertible.ToDateTime(System.IFormatProvider) extern Il2CppClass* InvalidCastException_t3625212209_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToDateTime_m3663491830_MetadataUsageId; extern "C" DateTime_t693205669 Double_System_IConvertible_ToDateTime_m3663491830 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToDateTime_m3663491830_MetadataUsageId); s_Il2CppMethodInitialized = true; } { InvalidCastException_t3625212209 * L_0 = (InvalidCastException_t3625212209 *)il2cpp_codegen_object_new(InvalidCastException_t3625212209_il2cpp_TypeInfo_var); InvalidCastException__ctor_m2730571470(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } extern "C" DateTime_t693205669 Double_System_IConvertible_ToDateTime_m3663491830_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToDateTime_m3663491830(_thisAdjusted, ___provider0, method); } // System.Decimal System.Double::System.IConvertible.ToDecimal(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToDecimal_m697501012_MetadataUsageId; extern "C" Decimal_t724701077 Double_System_IConvertible_ToDecimal_m697501012 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToDecimal_m697501012_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Decimal_t724701077 L_0 = Convert_ToDecimal_m1354200421(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" Decimal_t724701077 Double_System_IConvertible_ToDecimal_m697501012_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToDecimal_m697501012(_thisAdjusted, ___provider0, method); } // System.Double System.Double::System.IConvertible.ToDouble(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToDouble_m2473983062_MetadataUsageId; extern "C" double Double_System_IConvertible_ToDouble_m2473983062 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToDouble_m2473983062_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); double L_0 = Convert_ToDouble_m1714698801(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" double Double_System_IConvertible_ToDouble_m2473983062_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToDouble_m2473983062(_thisAdjusted, ___provider0, method); } // System.Int16 System.Double::System.IConvertible.ToInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToInt16_m4200640326_MetadataUsageId; extern "C" int16_t Double_System_IConvertible_ToInt16_m4200640326 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToInt16_m4200640326_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int16_t L_0 = Convert_ToInt16_m3001914661(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int16_t Double_System_IConvertible_ToInt16_m4200640326_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToInt16_m4200640326(_thisAdjusted, ___provider0, method); } // System.Int32 System.Double::System.IConvertible.ToInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToInt32_m549769450_MetadataUsageId; extern "C" int32_t Double_System_IConvertible_ToInt32_m549769450 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToInt32_m549769450_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int32_t L_0 = Convert_ToInt32_m2988544165(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int32_t Double_System_IConvertible_ToInt32_m549769450_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToInt32_m549769450(_thisAdjusted, ___provider0, method); } // System.Int64 System.Double::System.IConvertible.ToInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToInt64_m3798425616_MetadataUsageId; extern "C" int64_t Double_System_IConvertible_ToInt64_m3798425616 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToInt64_m3798425616_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int64_t L_0 = Convert_ToInt64_m338790373(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int64_t Double_System_IConvertible_ToInt64_m3798425616_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToInt64_m3798425616(_thisAdjusted, ___provider0, method); } // System.SByte System.Double::System.IConvertible.ToSByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToSByte_m1653690240_MetadataUsageId; extern "C" int8_t Double_System_IConvertible_ToSByte_m1653690240 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToSByte_m1653690240_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int8_t L_0 = Convert_ToSByte_m3768984293(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" int8_t Double_System_IConvertible_ToSByte_m1653690240_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToSByte_m1653690240(_thisAdjusted, ___provider0, method); } // System.Single System.Double::System.IConvertible.ToSingle(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToSingle_m446336726_MetadataUsageId; extern "C" float Double_System_IConvertible_ToSingle_m446336726 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToSingle_m446336726_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); float L_0 = Convert_ToSingle_m690748777(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" float Double_System_IConvertible_ToSingle_m446336726_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToSingle_m446336726(_thisAdjusted, ___provider0, method); } // System.UInt16 System.Double::System.IConvertible.ToUInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToUInt16_m286326038_MetadataUsageId; extern "C" uint16_t Double_System_IConvertible_ToUInt16_m286326038 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToUInt16_m286326038_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint16_t L_0 = Convert_ToUInt16_m3265369225(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint16_t Double_System_IConvertible_ToUInt16_m286326038_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToUInt16_m286326038(_thisAdjusted, ___provider0, method); } // System.UInt32 System.Double::System.IConvertible.ToUInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToUInt32_m624993430_MetadataUsageId; extern "C" uint32_t Double_System_IConvertible_ToUInt32_m624993430 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToUInt32_m624993430_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint32_t L_0 = Convert_ToUInt32_m1336475941(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint32_t Double_System_IConvertible_ToUInt32_m624993430_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToUInt32_m624993430(_thisAdjusted, ___provider0, method); } // System.UInt64 System.Double::System.IConvertible.ToUInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Double_System_IConvertible_ToUInt64_m1318285078_MetadataUsageId; extern "C" uint64_t Double_System_IConvertible_ToUInt64_m1318285078 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_System_IConvertible_ToUInt64_m1318285078_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint64_t L_0 = Convert_ToUInt64_m3559662221(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_0; } } extern "C" uint64_t Double_System_IConvertible_ToUInt64_m1318285078_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_System_IConvertible_ToUInt64_m1318285078(_thisAdjusted, ___provider0, method); } // System.Int32 System.Double::CompareTo(System.Object) extern Il2CppClass* Double_t4078015681_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3591009219; extern const uint32_t Double_CompareTo_m4006568708_MetadataUsageId; extern "C" int32_t Double_CompareTo_m4006568708 (double* __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_CompareTo_m4006568708_MetadataUsageId); s_Il2CppMethodInitialized = true; } double V_0 = 0.0; { Il2CppObject * L_0 = ___value0; if (L_0) { goto IL_0008; } } { return 1; } IL_0008: { Il2CppObject * L_1 = ___value0; if (((Il2CppObject *)IsInstSealed(L_1, Double_t4078015681_il2cpp_TypeInfo_var))) { goto IL_0023; } } { String_t* L_2 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3591009219, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0023: { Il2CppObject * L_4 = ___value0; V_0 = ((*(double*)((double*)UnBox (L_4, Double_t4078015681_il2cpp_TypeInfo_var)))); bool L_5 = Double_IsPositiveInfinity_m3525344431(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); if (!L_5) { goto IL_0043; } } { double L_6 = V_0; bool L_7 = Double_IsPositiveInfinity_m3525344431(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_0043; } } { return 0; } IL_0043: { bool L_8 = Double_IsNegativeInfinity_m1111913183(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); if (!L_8) { goto IL_005c; } } { double L_9 = V_0; bool L_10 = Double_IsNegativeInfinity_m1111913183(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); if (!L_10) { goto IL_005c; } } { return 0; } IL_005c: { double L_11 = V_0; bool L_12 = Double_IsNaN_m2289494211(NULL /*static, unused*/, L_11, /*hidden argument*/NULL); if (!L_12) { goto IL_0077; } } { bool L_13 = Double_IsNaN_m2289494211(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); if (!L_13) { goto IL_0075; } } { return 0; } IL_0075: { return 1; } IL_0077: { bool L_14 = Double_IsNaN_m2289494211(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); if (!L_14) { goto IL_0092; } } { double L_15 = V_0; bool L_16 = Double_IsNaN_m2289494211(NULL /*static, unused*/, L_15, /*hidden argument*/NULL); if (!L_16) { goto IL_0090; } } { return 0; } IL_0090: { return (-1); } IL_0092: { double L_17 = V_0; if ((!(((double)(*((double*)__this))) > ((double)L_17)))) { goto IL_009c; } } { return 1; } IL_009c: { double L_18 = V_0; if ((!(((double)(*((double*)__this))) < ((double)L_18)))) { goto IL_00a6; } } { return (-1); } IL_00a6: { return 0; } } extern "C" int32_t Double_CompareTo_m4006568708_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___value0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_CompareTo_m4006568708(_thisAdjusted, ___value0, method); } // System.Boolean System.Double::Equals(System.Object) extern Il2CppClass* Double_t4078015681_il2cpp_TypeInfo_var; extern const uint32_t Double_Equals_m2792387643_MetadataUsageId; extern "C" bool Double_Equals_m2792387643 (double* __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_Equals_m2792387643_MetadataUsageId); s_Il2CppMethodInitialized = true; } double V_0 = 0.0; { Il2CppObject * L_0 = ___obj0; if (((Il2CppObject *)IsInstSealed(L_0, Double_t4078015681_il2cpp_TypeInfo_var))) { goto IL_000d; } } { return (bool)0; } IL_000d: { Il2CppObject * L_1 = ___obj0; V_0 = ((*(double*)((double*)UnBox (L_1, Double_t4078015681_il2cpp_TypeInfo_var)))); double L_2 = V_0; bool L_3 = Double_IsNaN_m2289494211(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); if (!L_3) { goto IL_0027; } } { bool L_4 = Double_IsNaN_m2289494211(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); return L_4; } IL_0027: { double L_5 = V_0; return (bool)((((double)L_5) == ((double)(*((double*)__this))))? 1 : 0); } } extern "C" bool Double_Equals_m2792387643_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___obj0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_Equals_m2792387643(_thisAdjusted, ___obj0, method); } // System.Int32 System.Double::CompareTo(System.Double) extern "C" int32_t Double_CompareTo_m3968040230 (double* __this, double ___value0, const MethodInfo* method) { { bool L_0 = Double_IsPositiveInfinity_m3525344431(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); if (!L_0) { goto IL_0019; } } { double L_1 = ___value0; bool L_2 = Double_IsPositiveInfinity_m3525344431(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0019; } } { return 0; } IL_0019: { bool L_3 = Double_IsNegativeInfinity_m1111913183(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); if (!L_3) { goto IL_0032; } } { double L_4 = ___value0; bool L_5 = Double_IsNegativeInfinity_m1111913183(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0032; } } { return 0; } IL_0032: { double L_6 = ___value0; bool L_7 = Double_IsNaN_m2289494211(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_004d; } } { bool L_8 = Double_IsNaN_m2289494211(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); if (!L_8) { goto IL_004b; } } { return 0; } IL_004b: { return 1; } IL_004d: { bool L_9 = Double_IsNaN_m2289494211(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); if (!L_9) { goto IL_0068; } } { double L_10 = ___value0; bool L_11 = Double_IsNaN_m2289494211(NULL /*static, unused*/, L_10, /*hidden argument*/NULL); if (!L_11) { goto IL_0066; } } { return 0; } IL_0066: { return (-1); } IL_0068: { double L_12 = ___value0; if ((!(((double)(*((double*)__this))) > ((double)L_12)))) { goto IL_0072; } } { return 1; } IL_0072: { double L_13 = ___value0; if ((!(((double)(*((double*)__this))) < ((double)L_13)))) { goto IL_007c; } } { return (-1); } IL_007c: { return 0; } } extern "C" int32_t Double_CompareTo_m3968040230_AdjustorThunk (Il2CppObject * __this, double ___value0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_CompareTo_m3968040230(_thisAdjusted, ___value0, method); } // System.Boolean System.Double::Equals(System.Double) extern "C" bool Double_Equals_m920556135 (double* __this, double ___obj0, const MethodInfo* method) { { double L_0 = ___obj0; bool L_1 = Double_IsNaN_m2289494211(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_001b; } } { bool L_2 = Double_IsNaN_m2289494211(NULL /*static, unused*/, (*((double*)__this)), /*hidden argument*/NULL); if (!L_2) { goto IL_0019; } } { return (bool)1; } IL_0019: { return (bool)0; } IL_001b: { double L_3 = ___obj0; return (bool)((((double)L_3) == ((double)(*((double*)__this))))? 1 : 0); } } extern "C" bool Double_Equals_m920556135_AdjustorThunk (Il2CppObject * __this, double ___obj0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_Equals_m920556135(_thisAdjusted, ___obj0, method); } // System.Int32 System.Double::GetHashCode() extern "C" int32_t Double_GetHashCode_m3403732029 (double* __this, const MethodInfo* method) { return Int64_GetHashCode_m4047499913((int64_t*)__this, NULL); } extern "C" int32_t Double_GetHashCode_m3403732029_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_GetHashCode_m3403732029(_thisAdjusted, method); } // System.Boolean System.Double::IsInfinity(System.Double) extern "C" bool Double_IsInfinity_m1190290474 (Il2CppObject * __this /* static, unused */, double ___d0, const MethodInfo* method) { int32_t G_B3_0 = 0; { double L_0 = ___d0; if ((((double)L_0) == ((double)(std::numeric_limits<double>::infinity())))) { goto IL_001d; } } { double L_1 = ___d0; G_B3_0 = ((((double)L_1) == ((double)(-std::numeric_limits<double>::infinity())))? 1 : 0); goto IL_001e; } IL_001d: { G_B3_0 = 1; } IL_001e: { return (bool)G_B3_0; } } // System.Boolean System.Double::IsNaN(System.Double) extern "C" bool Double_IsNaN_m2289494211 (Il2CppObject * __this /* static, unused */, double ___d0, const MethodInfo* method) { { double L_0 = ___d0; double L_1 = ___d0; return (bool)((((int32_t)((((double)L_0) == ((double)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Double::IsNegativeInfinity(System.Double) extern "C" bool Double_IsNegativeInfinity_m1111913183 (Il2CppObject * __this /* static, unused */, double ___d0, const MethodInfo* method) { int32_t G_B4_0 = 0; int32_t G_B6_0 = 0; { double L_0 = ___d0; if ((!(((double)L_0) < ((double)(0.0))))) { goto IL_002f; } } { double L_1 = ___d0; if ((((double)L_1) == ((double)(-std::numeric_limits<double>::infinity())))) { goto IL_002c; } } { double L_2 = ___d0; G_B4_0 = ((((double)L_2) == ((double)(std::numeric_limits<double>::infinity())))? 1 : 0); goto IL_002d; } IL_002c: { G_B4_0 = 1; } IL_002d: { G_B6_0 = G_B4_0; goto IL_0030; } IL_002f: { G_B6_0 = 0; } IL_0030: { return (bool)G_B6_0; } } // System.Boolean System.Double::IsPositiveInfinity(System.Double) extern "C" bool Double_IsPositiveInfinity_m3525344431 (Il2CppObject * __this /* static, unused */, double ___d0, const MethodInfo* method) { int32_t G_B4_0 = 0; int32_t G_B6_0 = 0; { double L_0 = ___d0; if ((!(((double)L_0) > ((double)(0.0))))) { goto IL_002f; } } { double L_1 = ___d0; if ((((double)L_1) == ((double)(-std::numeric_limits<double>::infinity())))) { goto IL_002c; } } { double L_2 = ___d0; G_B4_0 = ((((double)L_2) == ((double)(std::numeric_limits<double>::infinity())))? 1 : 0); goto IL_002d; } IL_002c: { G_B4_0 = 1; } IL_002d: { G_B6_0 = G_B4_0; goto IL_0030; } IL_002f: { G_B6_0 = 0; } IL_0030: { return (bool)G_B6_0; } } // System.Double System.Double::Parse(System.String) extern "C" double Double_Parse_m1560474910 (Il2CppObject * __this /* static, unused */, String_t* ___s0, const MethodInfo* method) { { String_t* L_0 = ___s0; double L_1 = Double_Parse_m2344589511(NULL /*static, unused*/, L_0, ((int32_t)231), (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_1; } } // System.Double System.Double::Parse(System.String,System.IFormatProvider) extern "C" double Double_Parse_m2281765178 (Il2CppObject * __this /* static, unused */, String_t* ___s0, Il2CppObject * ___provider1, const MethodInfo* method) { { String_t* L_0 = ___s0; Il2CppObject * L_1 = ___provider1; double L_2 = Double_Parse_m2344589511(NULL /*static, unused*/, L_0, ((int32_t)231), L_1, /*hidden argument*/NULL); return L_2; } } // System.Double System.Double::Parse(System.String,System.Globalization.NumberStyles,System.IFormatProvider) extern "C" double Double_Parse_m2344589511 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___style1, Il2CppObject * ___provider2, const MethodInfo* method) { Exception_t1927440687 * V_0 = NULL; double V_1 = 0.0; { String_t* L_0 = ___s0; int32_t L_1 = ___style1; Il2CppObject * L_2 = ___provider2; bool L_3 = Double_Parse_m1617409931(NULL /*static, unused*/, L_0, L_1, L_2, (bool)0, (&V_1), (&V_0), /*hidden argument*/NULL); if (L_3) { goto IL_0014; } } { Exception_t1927440687 * L_4 = V_0; IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_0014: { double L_5 = V_1; return L_5; } } // System.Boolean System.Double::Parse(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Boolean,System.Double&,System.Exception&) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* NumberFormatInfo_t104580544_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var; extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* OverflowException_t1075868493_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029391; extern Il2CppCodeGenString* _stringLiteral3595234950; extern Il2CppCodeGenString* _stringLiteral211418044; extern Il2CppCodeGenString* _stringLiteral1000208730; extern Il2CppCodeGenString* _stringLiteral485993866; extern Il2CppCodeGenString* _stringLiteral3225310752; extern const uint32_t Double_Parse_m1617409931_MetadataUsageId; extern "C" bool Double_Parse_m1617409931 (Il2CppObject * __this /* static, unused */, String_t* ___s0, int32_t ___style1, Il2CppObject * ___provider2, bool ___tryParse3, double* ___result4, Exception_t1927440687 ** ___exc5, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_Parse_m1617409931_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; NumberFormatInfo_t104580544 * V_1 = NULL; int32_t V_2 = 0; int32_t V_3 = 0; int32_t V_4 = 0; Il2CppChar V_5 = 0x0; bool V_6 = false; bool V_7 = false; int32_t V_8 = 0; ByteU5BU5D_t3397334013* V_9 = NULL; int32_t V_10 = 0; String_t* V_11 = NULL; String_t* V_12 = NULL; String_t* V_13 = NULL; int32_t V_14 = 0; int32_t V_15 = 0; int32_t V_16 = 0; String_t* V_17 = NULL; String_t* V_18 = NULL; uint8_t* V_19 = NULL; double V_20 = 0.0; int32_t V_21 = 0; { double* L_0 = ___result4; *((double*)(L_0)) = (double)(0.0); Exception_t1927440687 ** L_1 = ___exc5; *((Il2CppObject **)(L_1)) = (Il2CppObject *)NULL; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_1), (Il2CppObject *)NULL); String_t* L_2 = ___s0; if (L_2) { goto IL_002b; } } { bool L_3 = ___tryParse3; if (L_3) { goto IL_0029; } } { Exception_t1927440687 ** L_4 = ___exc5; ArgumentNullException_t628810857 * L_5 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_5, _stringLiteral372029391, /*hidden argument*/NULL); *((Il2CppObject **)(L_4)) = (Il2CppObject *)L_5; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_4), (Il2CppObject *)L_5); } IL_0029: { return (bool)0; } IL_002b: { String_t* L_6 = ___s0; int32_t L_7 = String_get_Length_m1606060069(L_6, /*hidden argument*/NULL); if (L_7) { goto IL_0046; } } { bool L_8 = ___tryParse3; if (L_8) { goto IL_0044; } } { Exception_t1927440687 ** L_9 = ___exc5; FormatException_t2948921286 * L_10 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m3521145315(L_10, /*hidden argument*/NULL); *((Il2CppObject **)(L_9)) = (Il2CppObject *)L_10; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_9), (Il2CppObject *)L_10); } IL_0044: { return (bool)0; } IL_0046: { int32_t L_11 = ___style1; if (!((int32_t)((int32_t)L_11&(int32_t)((int32_t)512)))) { goto IL_0072; } } { ObjectU5BU5D_t3614634134* L_12 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1)); ArrayElementTypeCheck (L_12, _stringLiteral211418044); (L_12)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)_stringLiteral211418044); String_t* L_13 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral3595234950, L_12, /*hidden argument*/NULL); V_0 = L_13; String_t* L_14 = V_0; ArgumentException_t3259014390 * L_15 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_15, L_14, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_15); } IL_0072: { int32_t L_16 = ___style1; if ((((int32_t)L_16) <= ((int32_t)((int32_t)511)))) { goto IL_008d; } } { bool L_17 = ___tryParse3; if (L_17) { goto IL_008b; } } { Exception_t1927440687 ** L_18 = ___exc5; ArgumentException_t3259014390 * L_19 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m2105824819(L_19, /*hidden argument*/NULL); *((Il2CppObject **)(L_18)) = (Il2CppObject *)L_19; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_18), (Il2CppObject *)L_19); } IL_008b: { return (bool)0; } IL_008d: { Il2CppObject * L_20 = ___provider2; IL2CPP_RUNTIME_CLASS_INIT(NumberFormatInfo_t104580544_il2cpp_TypeInfo_var); NumberFormatInfo_t104580544 * L_21 = NumberFormatInfo_GetInstance_m1119800258(NULL /*static, unused*/, L_20, /*hidden argument*/NULL); V_1 = L_21; NumberFormatInfo_t104580544 * L_22 = V_1; if (L_22) { goto IL_00a5; } } { Exception_t1927440687 * L_23 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var); Exception__ctor_m485833136(L_23, _stringLiteral1000208730, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_23); } IL_00a5: { String_t* L_24 = ___s0; int32_t L_25 = String_get_Length_m1606060069(L_24, /*hidden argument*/NULL); V_2 = L_25; V_3 = 0; V_4 = 0; int32_t L_26 = ___style1; V_6 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_26&(int32_t)1))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_27 = ___style1; V_7 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_27&(int32_t)2))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); bool L_28 = V_6; if (!L_28) { goto IL_010b; } } { goto IL_00d9; } IL_00d3: { int32_t L_29 = V_4; V_4 = ((int32_t)((int32_t)L_29+(int32_t)1)); } IL_00d9: { int32_t L_30 = V_4; int32_t L_31 = V_2; if ((((int32_t)L_30) >= ((int32_t)L_31))) { goto IL_00f3; } } { String_t* L_32 = ___s0; int32_t L_33 = V_4; Il2CppChar L_34 = String_get_Chars_m4230566705(L_32, L_33, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_35 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_34, /*hidden argument*/NULL); if (L_35) { goto IL_00d3; } } IL_00f3: { int32_t L_36 = V_4; int32_t L_37 = V_2; if ((!(((uint32_t)L_36) == ((uint32_t)L_37)))) { goto IL_010b; } } { bool L_38 = ___tryParse3; if (L_38) { goto IL_0109; } } { Exception_t1927440687 ** L_39 = ___exc5; Exception_t1927440687 * L_40 = Int32_GetFormatException_m1729046182(NULL /*static, unused*/, /*hidden argument*/NULL); *((Il2CppObject **)(L_39)) = (Il2CppObject *)L_40; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_39), (Il2CppObject *)L_40); } IL_0109: { return (bool)0; } IL_010b: { String_t* L_41 = ___s0; int32_t L_42 = String_get_Length_m1606060069(L_41, /*hidden argument*/NULL); V_8 = ((int32_t)((int32_t)L_42-(int32_t)1)); bool L_43 = V_7; if (!L_43) { goto IL_0139; } } { goto IL_0127; } IL_0121: { int32_t L_44 = V_8; V_8 = ((int32_t)((int32_t)L_44-(int32_t)1)); } IL_0127: { String_t* L_45 = ___s0; int32_t L_46 = V_8; Il2CppChar L_47 = String_get_Chars_m4230566705(L_45, L_46, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_48 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_47, /*hidden argument*/NULL); if (L_48) { goto IL_0121; } } IL_0139: { NumberFormatInfo_t104580544 * L_49 = V_1; String_t* L_50 = NumberFormatInfo_get_NaNSymbol_m524990617(L_49, /*hidden argument*/NULL); String_t* L_51 = ___s0; int32_t L_52 = V_4; int32_t L_53 = V_8; bool L_54 = Double_TryParseStringConstant_m2585405703(NULL /*static, unused*/, L_50, L_51, L_52, L_53, /*hidden argument*/NULL); if (!L_54) { goto IL_015c; } } { double* L_55 = ___result4; *((double*)(L_55)) = (double)(std::numeric_limits<double>::quiet_NaN()); return (bool)1; } IL_015c: { NumberFormatInfo_t104580544 * L_56 = V_1; String_t* L_57 = NumberFormatInfo_get_PositiveInfinitySymbol_m367632473(L_56, /*hidden argument*/NULL); String_t* L_58 = ___s0; int32_t L_59 = V_4; int32_t L_60 = V_8; bool L_61 = Double_TryParseStringConstant_m2585405703(NULL /*static, unused*/, L_57, L_58, L_59, L_60, /*hidden argument*/NULL); if (!L_61) { goto IL_017f; } } { double* L_62 = ___result4; *((double*)(L_62)) = (double)(std::numeric_limits<double>::infinity()); return (bool)1; } IL_017f: { NumberFormatInfo_t104580544 * L_63 = V_1; String_t* L_64 = NumberFormatInfo_get_NegativeInfinitySymbol_m333295133(L_63, /*hidden argument*/NULL); String_t* L_65 = ___s0; int32_t L_66 = V_4; int32_t L_67 = V_8; bool L_68 = Double_TryParseStringConstant_m2585405703(NULL /*static, unused*/, L_64, L_65, L_66, L_67, /*hidden argument*/NULL); if (!L_68) { goto IL_01a2; } } { double* L_69 = ___result4; *((double*)(L_69)) = (double)(-std::numeric_limits<double>::infinity()); return (bool)1; } IL_01a2: { int32_t L_70 = V_2; V_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_70+(int32_t)1)))); V_10 = 1; V_11 = (String_t*)NULL; V_12 = (String_t*)NULL; V_13 = (String_t*)NULL; V_14 = 0; V_15 = 0; V_16 = 0; int32_t L_71 = ___style1; if (!((int32_t)((int32_t)L_71&(int32_t)((int32_t)32)))) { goto IL_01db; } } { NumberFormatInfo_t104580544 * L_72 = V_1; String_t* L_73 = NumberFormatInfo_get_NumberDecimalSeparator_m406062319(L_72, /*hidden argument*/NULL); V_11 = L_73; String_t* L_74 = V_11; int32_t L_75 = String_get_Length_m1606060069(L_74, /*hidden argument*/NULL); V_14 = L_75; } IL_01db: { int32_t L_76 = ___style1; if (!((int32_t)((int32_t)L_76&(int32_t)((int32_t)64)))) { goto IL_01f5; } } { NumberFormatInfo_t104580544 * L_77 = V_1; String_t* L_78 = NumberFormatInfo_get_NumberGroupSeparator_m3576847339(L_77, /*hidden argument*/NULL); V_12 = L_78; String_t* L_79 = V_12; int32_t L_80 = String_get_Length_m1606060069(L_79, /*hidden argument*/NULL); V_15 = L_80; } IL_01f5: { int32_t L_81 = ___style1; if (!((int32_t)((int32_t)L_81&(int32_t)((int32_t)256)))) { goto IL_0212; } } { NumberFormatInfo_t104580544 * L_82 = V_1; String_t* L_83 = NumberFormatInfo_get_CurrencySymbol_m3976699491(L_82, /*hidden argument*/NULL); V_13 = L_83; String_t* L_84 = V_13; int32_t L_85 = String_get_Length_m1606060069(L_84, /*hidden argument*/NULL); V_16 = L_85; } IL_0212: { NumberFormatInfo_t104580544 * L_86 = V_1; String_t* L_87 = NumberFormatInfo_get_PositiveSign_m3396333026(L_86, /*hidden argument*/NULL); V_17 = L_87; NumberFormatInfo_t104580544 * L_88 = V_1; String_t* L_89 = NumberFormatInfo_get_NegativeSign_m3735050898(L_88, /*hidden argument*/NULL); V_18 = L_89; goto IL_062a; } IL_0227: { String_t* L_90 = ___s0; int32_t L_91 = V_4; Il2CppChar L_92 = String_get_Chars_m4230566705(L_90, L_91, /*hidden argument*/NULL); V_5 = L_92; Il2CppChar L_93 = V_5; if (L_93) { goto IL_0240; } } { int32_t L_94 = V_2; V_4 = L_94; goto IL_0624; } IL_0240: { int32_t L_95 = V_10; V_21 = L_95; int32_t L_96 = V_21; if (((int32_t)((int32_t)L_96-(int32_t)1)) == 0) { goto IL_026a; } if (((int32_t)((int32_t)L_96-(int32_t)1)) == 1) { goto IL_0304; } if (((int32_t)((int32_t)L_96-(int32_t)1)) == 2) { goto IL_0429; } if (((int32_t)((int32_t)L_96-(int32_t)1)) == 3) { goto IL_04c9; } if (((int32_t)((int32_t)L_96-(int32_t)1)) == 4) { goto IL_0599; } if (((int32_t)((int32_t)L_96-(int32_t)1)) == 5) { goto IL_05e7; } } { goto IL_0617; } IL_026a: { int32_t L_97 = ___style1; if (!((int32_t)((int32_t)L_97&(int32_t)4))) { goto IL_02fc; } } { Il2CppChar L_98 = V_5; String_t* L_99 = V_17; Il2CppChar L_100 = String_get_Chars_m4230566705(L_99, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_98) == ((uint32_t)L_100)))) { goto IL_02b2; } } { String_t* L_101 = ___s0; int32_t L_102 = V_4; String_t* L_103 = V_17; int32_t L_104 = String_get_Length_m1606060069(L_103, /*hidden argument*/NULL); String_t* L_105 = String_Substring_m12482732(L_101, L_102, L_104, /*hidden argument*/NULL); String_t* L_106 = V_17; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_107 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_105, L_106, /*hidden argument*/NULL); if (!L_107) { goto IL_02b2; } } { V_10 = 2; int32_t L_108 = V_4; String_t* L_109 = V_17; int32_t L_110 = String_get_Length_m1606060069(L_109, /*hidden argument*/NULL); V_4 = ((int32_t)((int32_t)L_108+(int32_t)((int32_t)((int32_t)L_110-(int32_t)1)))); goto IL_0624; } IL_02b2: { Il2CppChar L_111 = V_5; String_t* L_112 = V_18; Il2CppChar L_113 = String_get_Chars_m4230566705(L_112, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_111) == ((uint32_t)L_113)))) { goto IL_02fc; } } { String_t* L_114 = ___s0; int32_t L_115 = V_4; String_t* L_116 = V_18; int32_t L_117 = String_get_Length_m1606060069(L_116, /*hidden argument*/NULL); String_t* L_118 = String_Substring_m12482732(L_114, L_115, L_117, /*hidden argument*/NULL); String_t* L_119 = V_18; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_120 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_118, L_119, /*hidden argument*/NULL); if (!L_120) { goto IL_02fc; } } { V_10 = 2; ByteU5BU5D_t3397334013* L_121 = V_9; int32_t L_122 = V_3; int32_t L_123 = L_122; V_3 = ((int32_t)((int32_t)L_123+(int32_t)1)); (L_121)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_123), (uint8_t)((int32_t)45)); int32_t L_124 = V_4; String_t* L_125 = V_18; int32_t L_126 = String_get_Length_m1606060069(L_125, /*hidden argument*/NULL); V_4 = ((int32_t)((int32_t)L_124+(int32_t)((int32_t)((int32_t)L_126-(int32_t)1)))); goto IL_0624; } IL_02fc: { V_10 = 2; goto IL_0304; } IL_0304: { Il2CppChar L_127 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_128 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_127, /*hidden argument*/NULL); if (!L_128) { goto IL_0320; } } { ByteU5BU5D_t3397334013* L_129 = V_9; int32_t L_130 = V_3; int32_t L_131 = L_130; V_3 = ((int32_t)((int32_t)L_131+(int32_t)1)); Il2CppChar L_132 = V_5; (L_129)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_131), (uint8_t)(((int32_t)((uint8_t)L_132)))); goto IL_0617; } IL_0320: { Il2CppChar L_133 = V_5; if ((((int32_t)L_133) == ((int32_t)((int32_t)101)))) { goto IL_0332; } } { Il2CppChar L_134 = V_5; if ((!(((uint32_t)L_134) == ((uint32_t)((int32_t)69))))) { goto IL_0337; } } IL_0332: { goto IL_0429; } IL_0337: { int32_t L_135 = V_14; if ((((int32_t)L_135) <= ((int32_t)0))) { goto IL_037b; } } { String_t* L_136 = V_11; Il2CppChar L_137 = String_get_Chars_m4230566705(L_136, 0, /*hidden argument*/NULL); Il2CppChar L_138 = V_5; if ((!(((uint32_t)L_137) == ((uint32_t)L_138)))) { goto IL_037b; } } { String_t* L_139 = ___s0; int32_t L_140 = V_4; String_t* L_141 = V_11; int32_t L_142 = V_14; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); int32_t L_143 = String_CompareOrdinal_m244070001(NULL /*static, unused*/, L_139, L_140, L_141, 0, L_142, /*hidden argument*/NULL); if (L_143) { goto IL_037b; } } { ByteU5BU5D_t3397334013* L_144 = V_9; int32_t L_145 = V_3; int32_t L_146 = L_145; V_3 = ((int32_t)((int32_t)L_146+(int32_t)1)); (L_144)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_146), (uint8_t)((int32_t)46)); int32_t L_147 = V_4; int32_t L_148 = V_14; V_4 = ((int32_t)((int32_t)L_147+(int32_t)((int32_t)((int32_t)L_148-(int32_t)1)))); V_10 = 3; goto IL_0617; } IL_037b: { int32_t L_149 = V_15; if ((((int32_t)L_149) <= ((int32_t)0))) { goto IL_03b9; } } { String_t* L_150 = V_12; Il2CppChar L_151 = String_get_Chars_m4230566705(L_150, 0, /*hidden argument*/NULL); Il2CppChar L_152 = V_5; if ((!(((uint32_t)L_151) == ((uint32_t)L_152)))) { goto IL_03b9; } } { String_t* L_153 = ___s0; int32_t L_154 = V_4; int32_t L_155 = V_15; String_t* L_156 = String_Substring_m12482732(L_153, L_154, L_155, /*hidden argument*/NULL); String_t* L_157 = V_12; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_158 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_156, L_157, /*hidden argument*/NULL); if (!L_158) { goto IL_03b9; } } { int32_t L_159 = V_4; int32_t L_160 = V_15; V_4 = ((int32_t)((int32_t)L_159+(int32_t)((int32_t)((int32_t)L_160-(int32_t)1)))); V_10 = 2; goto IL_0617; } IL_03b9: { int32_t L_161 = V_16; if ((((int32_t)L_161) <= ((int32_t)0))) { goto IL_03f7; } } { String_t* L_162 = V_13; Il2CppChar L_163 = String_get_Chars_m4230566705(L_162, 0, /*hidden argument*/NULL); Il2CppChar L_164 = V_5; if ((!(((uint32_t)L_163) == ((uint32_t)L_164)))) { goto IL_03f7; } } { String_t* L_165 = ___s0; int32_t L_166 = V_4; int32_t L_167 = V_16; String_t* L_168 = String_Substring_m12482732(L_165, L_166, L_167, /*hidden argument*/NULL); String_t* L_169 = V_13; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_170 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_168, L_169, /*hidden argument*/NULL); if (!L_170) { goto IL_03f7; } } { int32_t L_171 = V_4; int32_t L_172 = V_16; V_4 = ((int32_t)((int32_t)L_171+(int32_t)((int32_t)((int32_t)L_172-(int32_t)1)))); V_10 = 2; goto IL_0617; } IL_03f7: { Il2CppChar L_173 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_174 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_173, /*hidden argument*/NULL); if (!L_174) { goto IL_0408; } } { goto IL_05e7; } IL_0408: { bool L_175 = ___tryParse3; if (L_175) { goto IL_0427; } } { Exception_t1927440687 ** L_176 = ___exc5; Il2CppChar L_177 = V_5; Il2CppChar L_178 = L_177; Il2CppObject * L_179 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_178); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_180 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral485993866, L_179, /*hidden argument*/NULL); FormatException_t2948921286 * L_181 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_181, L_180, /*hidden argument*/NULL); *((Il2CppObject **)(L_176)) = (Il2CppObject *)L_181; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_176), (Il2CppObject *)L_181); } IL_0427: { return (bool)0; } IL_0429: { Il2CppChar L_182 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_183 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_182, /*hidden argument*/NULL); if (!L_183) { goto IL_0445; } } { ByteU5BU5D_t3397334013* L_184 = V_9; int32_t L_185 = V_3; int32_t L_186 = L_185; V_3 = ((int32_t)((int32_t)L_186+(int32_t)1)); Il2CppChar L_187 = V_5; (L_184)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_186), (uint8_t)(((int32_t)((uint8_t)L_187)))); goto IL_0617; } IL_0445: { Il2CppChar L_188 = V_5; if ((((int32_t)L_188) == ((int32_t)((int32_t)101)))) { goto IL_0457; } } { Il2CppChar L_189 = V_5; if ((!(((uint32_t)L_189) == ((uint32_t)((int32_t)69))))) { goto IL_0497; } } IL_0457: { int32_t L_190 = ___style1; if (((int32_t)((int32_t)L_190&(int32_t)((int32_t)128)))) { goto IL_0484; } } { bool L_191 = ___tryParse3; if (L_191) { goto IL_0482; } } { Exception_t1927440687 ** L_192 = ___exc5; Il2CppChar L_193 = V_5; Il2CppChar L_194 = L_193; Il2CppObject * L_195 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_194); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_196 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral485993866, L_195, /*hidden argument*/NULL); FormatException_t2948921286 * L_197 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_197, L_196, /*hidden argument*/NULL); *((Il2CppObject **)(L_192)) = (Il2CppObject *)L_197; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_192), (Il2CppObject *)L_197); } IL_0482: { return (bool)0; } IL_0484: { ByteU5BU5D_t3397334013* L_198 = V_9; int32_t L_199 = V_3; int32_t L_200 = L_199; V_3 = ((int32_t)((int32_t)L_200+(int32_t)1)); Il2CppChar L_201 = V_5; (L_198)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_200), (uint8_t)(((int32_t)((uint8_t)L_201)))); V_10 = 4; goto IL_0617; } IL_0497: { Il2CppChar L_202 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_203 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_202, /*hidden argument*/NULL); if (!L_203) { goto IL_04a8; } } { goto IL_05e7; } IL_04a8: { bool L_204 = ___tryParse3; if (L_204) { goto IL_04c7; } } { Exception_t1927440687 ** L_205 = ___exc5; Il2CppChar L_206 = V_5; Il2CppChar L_207 = L_206; Il2CppObject * L_208 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_207); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_209 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral485993866, L_208, /*hidden argument*/NULL); FormatException_t2948921286 * L_210 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_210, L_209, /*hidden argument*/NULL); *((Il2CppObject **)(L_205)) = (Il2CppObject *)L_210; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_205), (Il2CppObject *)L_210); } IL_04c7: { return (bool)0; } IL_04c9: { Il2CppChar L_211 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_212 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_211, /*hidden argument*/NULL); if (!L_212) { goto IL_04dd; } } { V_10 = 5; goto IL_0599; } IL_04dd: { Il2CppChar L_213 = V_5; String_t* L_214 = V_17; Il2CppChar L_215 = String_get_Chars_m4230566705(L_214, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_213) == ((uint32_t)L_215)))) { goto IL_051d; } } { String_t* L_216 = ___s0; int32_t L_217 = V_4; String_t* L_218 = V_17; int32_t L_219 = String_get_Length_m1606060069(L_218, /*hidden argument*/NULL); String_t* L_220 = String_Substring_m12482732(L_216, L_217, L_219, /*hidden argument*/NULL); String_t* L_221 = V_17; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_222 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_220, L_221, /*hidden argument*/NULL); if (!L_222) { goto IL_051d; } } { V_10 = 2; int32_t L_223 = V_4; String_t* L_224 = V_17; int32_t L_225 = String_get_Length_m1606060069(L_224, /*hidden argument*/NULL); V_4 = ((int32_t)((int32_t)L_223+(int32_t)((int32_t)((int32_t)L_225-(int32_t)1)))); goto IL_0624; } IL_051d: { Il2CppChar L_226 = V_5; String_t* L_227 = V_18; Il2CppChar L_228 = String_get_Chars_m4230566705(L_227, 0, /*hidden argument*/NULL); if ((!(((uint32_t)L_226) == ((uint32_t)L_228)))) { goto IL_0567; } } { String_t* L_229 = ___s0; int32_t L_230 = V_4; String_t* L_231 = V_18; int32_t L_232 = String_get_Length_m1606060069(L_231, /*hidden argument*/NULL); String_t* L_233 = String_Substring_m12482732(L_229, L_230, L_232, /*hidden argument*/NULL); String_t* L_234 = V_18; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_235 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_233, L_234, /*hidden argument*/NULL); if (!L_235) { goto IL_0567; } } { V_10 = 2; ByteU5BU5D_t3397334013* L_236 = V_9; int32_t L_237 = V_3; int32_t L_238 = L_237; V_3 = ((int32_t)((int32_t)L_238+(int32_t)1)); (L_236)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_238), (uint8_t)((int32_t)45)); int32_t L_239 = V_4; String_t* L_240 = V_18; int32_t L_241 = String_get_Length_m1606060069(L_240, /*hidden argument*/NULL); V_4 = ((int32_t)((int32_t)L_239+(int32_t)((int32_t)((int32_t)L_241-(int32_t)1)))); goto IL_0624; } IL_0567: { Il2CppChar L_242 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_243 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_242, /*hidden argument*/NULL); if (!L_243) { goto IL_0578; } } { goto IL_05e7; } IL_0578: { bool L_244 = ___tryParse3; if (L_244) { goto IL_0597; } } { Exception_t1927440687 ** L_245 = ___exc5; Il2CppChar L_246 = V_5; Il2CppChar L_247 = L_246; Il2CppObject * L_248 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_247); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_249 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral485993866, L_248, /*hidden argument*/NULL); FormatException_t2948921286 * L_250 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_250, L_249, /*hidden argument*/NULL); *((Il2CppObject **)(L_245)) = (Il2CppObject *)L_250; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_245), (Il2CppObject *)L_250); } IL_0597: { return (bool)0; } IL_0599: { Il2CppChar L_251 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_252 = Char_IsDigit_m751559221(NULL /*static, unused*/, L_251, /*hidden argument*/NULL); if (!L_252) { goto IL_05b5; } } { ByteU5BU5D_t3397334013* L_253 = V_9; int32_t L_254 = V_3; int32_t L_255 = L_254; V_3 = ((int32_t)((int32_t)L_255+(int32_t)1)); Il2CppChar L_256 = V_5; (L_253)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_255), (uint8_t)(((int32_t)((uint8_t)L_256)))); goto IL_0617; } IL_05b5: { Il2CppChar L_257 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_258 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_257, /*hidden argument*/NULL); if (!L_258) { goto IL_05c6; } } { goto IL_05e7; } IL_05c6: { bool L_259 = ___tryParse3; if (L_259) { goto IL_05e5; } } { Exception_t1927440687 ** L_260 = ___exc5; Il2CppChar L_261 = V_5; Il2CppChar L_262 = L_261; Il2CppObject * L_263 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_262); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_264 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral485993866, L_263, /*hidden argument*/NULL); FormatException_t2948921286 * L_265 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_265, L_264, /*hidden argument*/NULL); *((Il2CppObject **)(L_260)) = (Il2CppObject *)L_265; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_260), (Il2CppObject *)L_265); } IL_05e5: { return (bool)0; } IL_05e7: { bool L_266 = V_7; if (!L_266) { goto IL_0602; } } { Il2CppChar L_267 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var); bool L_268 = Char_IsWhiteSpace_m1507160293(NULL /*static, unused*/, L_267, /*hidden argument*/NULL); if (!L_268) { goto IL_0602; } } { V_10 = 6; goto IL_0617; } IL_0602: { bool L_269 = ___tryParse3; if (L_269) { goto IL_0615; } } { Exception_t1927440687 ** L_270 = ___exc5; FormatException_t2948921286 * L_271 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_271, _stringLiteral3225310752, /*hidden argument*/NULL); *((Il2CppObject **)(L_270)) = (Il2CppObject *)L_271; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_270), (Il2CppObject *)L_271); } IL_0615: { return (bool)0; } IL_0617: { int32_t L_272 = V_10; if ((!(((uint32_t)L_272) == ((uint32_t)7)))) { goto IL_0624; } } { goto IL_0632; } IL_0624: { int32_t L_273 = V_4; V_4 = ((int32_t)((int32_t)L_273+(int32_t)1)); } IL_062a: { int32_t L_274 = V_4; int32_t L_275 = V_2; if ((((int32_t)L_274) < ((int32_t)L_275))) { goto IL_0227; } } IL_0632: { ByteU5BU5D_t3397334013* L_276 = V_9; int32_t L_277 = V_3; (L_276)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_277), (uint8_t)0); ByteU5BU5D_t3397334013* L_278 = V_9; V_19 = (uint8_t*)((L_278)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(0))); uint8_t* L_279 = V_19; bool L_280 = Double_ParseImpl_m2833623002(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_279, (&V_20), /*hidden argument*/NULL); if (L_280) { goto IL_065f; } } { bool L_281 = ___tryParse3; if (L_281) { goto IL_065d; } } { Exception_t1927440687 ** L_282 = ___exc5; Exception_t1927440687 * L_283 = Int32_GetFormatException_m1729046182(NULL /*static, unused*/, /*hidden argument*/NULL); *((Il2CppObject **)(L_282)) = (Il2CppObject *)L_283; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_282), (Il2CppObject *)L_283); } IL_065d: { return (bool)0; } IL_065f: { double L_284 = V_20; bool L_285 = Double_IsPositiveInfinity_m3525344431(NULL /*static, unused*/, L_284, /*hidden argument*/NULL); if (L_285) { goto IL_0677; } } { double L_286 = V_20; bool L_287 = Double_IsNegativeInfinity_m1111913183(NULL /*static, unused*/, L_286, /*hidden argument*/NULL); if (!L_287) { goto IL_0687; } } IL_0677: { bool L_288 = ___tryParse3; if (L_288) { goto IL_0685; } } { Exception_t1927440687 ** L_289 = ___exc5; OverflowException_t1075868493 * L_290 = (OverflowException_t1075868493 *)il2cpp_codegen_object_new(OverflowException_t1075868493_il2cpp_TypeInfo_var); OverflowException__ctor_m2564269836(L_290, /*hidden argument*/NULL); *((Il2CppObject **)(L_289)) = (Il2CppObject *)L_290; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_289), (Il2CppObject *)L_290); } IL_0685: { return (bool)0; } IL_0687: { double* L_291 = ___result4; double L_292 = V_20; *((double*)(L_291)) = (double)L_292; return (bool)1; } } // System.Boolean System.Double::TryParseStringConstant(System.String,System.String,System.Int32,System.Int32) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t Double_TryParseStringConstant_m2585405703_MetadataUsageId; extern "C" bool Double_TryParseStringConstant_m2585405703 (Il2CppObject * __this /* static, unused */, String_t* ___format0, String_t* ___s1, int32_t ___start2, int32_t ___end3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_TryParseStringConstant_m2585405703_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t G_B3_0 = 0; { int32_t L_0 = ___end3; int32_t L_1 = ___start2; String_t* L_2 = ___format0; int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL); if ((!(((uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_0-(int32_t)L_1))+(int32_t)1))) == ((uint32_t)L_3)))) { goto IL_0024; } } { String_t* L_4 = ___format0; String_t* L_5 = ___s1; int32_t L_6 = ___start2; String_t* L_7 = ___format0; int32_t L_8 = String_get_Length_m1606060069(L_7, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); int32_t L_9 = String_CompareOrdinal_m244070001(NULL /*static, unused*/, L_4, 0, L_5, L_6, L_8, /*hidden argument*/NULL); G_B3_0 = ((((int32_t)L_9) == ((int32_t)0))? 1 : 0); goto IL_0025; } IL_0024: { G_B3_0 = 0; } IL_0025: { return (bool)G_B3_0; } } // System.Boolean System.Double::ParseImpl(System.Byte*,System.Double&) extern "C" bool Double_ParseImpl_m2833623002 (Il2CppObject * __this /* static, unused */, uint8_t* ___byte_ptr0, double* ___value1, const MethodInfo* method) { using namespace il2cpp::icalls; typedef bool (*Double_ParseImpl_m2833623002_ftn) (uint8_t*, double*); return ((Double_ParseImpl_m2833623002_ftn)mscorlib::System::Double::ParseImpl) (___byte_ptr0, ___value1); } // System.String System.Double::ToString() extern Il2CppClass* NumberFormatter_t2933946347_il2cpp_TypeInfo_var; extern const uint32_t Double_ToString_m1864290157_MetadataUsageId; extern "C" String_t* Double_ToString_m1864290157 (double* __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_ToString_m1864290157_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(NumberFormatter_t2933946347_il2cpp_TypeInfo_var); String_t* L_0 = NumberFormatter_NumberToString_m2620669178(NULL /*static, unused*/, (*((double*)__this)), (Il2CppObject *)NULL, /*hidden argument*/NULL); return L_0; } } extern "C" String_t* Double_ToString_m1864290157_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_ToString_m1864290157(_thisAdjusted, method); } // System.String System.Double::ToString(System.IFormatProvider) extern Il2CppClass* NumberFormatter_t2933946347_il2cpp_TypeInfo_var; extern const uint32_t Double_ToString_m1085043609_MetadataUsageId; extern "C" String_t* Double_ToString_m1085043609 (double* __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_ToString_m1085043609_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(NumberFormatter_t2933946347_il2cpp_TypeInfo_var); String_t* L_1 = NumberFormatter_NumberToString_m2620669178(NULL /*static, unused*/, (*((double*)__this)), L_0, /*hidden argument*/NULL); return L_1; } } extern "C" String_t* Double_ToString_m1085043609_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_ToString_m1085043609(_thisAdjusted, ___provider0, method); } // System.String System.Double::ToString(System.String,System.IFormatProvider) extern Il2CppClass* NumberFormatter_t2933946347_il2cpp_TypeInfo_var; extern const uint32_t Double_ToString_m1474956491_MetadataUsageId; extern "C" String_t* Double_ToString_m1474956491 (double* __this, String_t* ___format0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Double_ToString_m1474956491_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___format0; Il2CppObject * L_1 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(NumberFormatter_t2933946347_il2cpp_TypeInfo_var); String_t* L_2 = NumberFormatter_NumberToString_m178266682(NULL /*static, unused*/, L_0, (*((double*)__this)), L_1, /*hidden argument*/NULL); return L_2; } } extern "C" String_t* Double_ToString_m1474956491_AdjustorThunk (Il2CppObject * __this, String_t* ___format0, Il2CppObject * ___provider1, const MethodInfo* method) { double* _thisAdjusted = reinterpret_cast<double*>(__this + 1); return Double_ToString_m1474956491(_thisAdjusted, ___format0, ___provider1, method); } // System.Void System.EntryPointNotFoundException::.ctor() extern Il2CppCodeGenString* _stringLiteral734133939; extern const uint32_t EntryPointNotFoundException__ctor_m278583439_MetadataUsageId; extern "C" void EntryPointNotFoundException__ctor_m278583439 (EntryPointNotFoundException_t3956266210 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (EntryPointNotFoundException__ctor_m278583439_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral734133939, /*hidden argument*/NULL); TypeLoadException__ctor_m1903359728(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233053), /*hidden argument*/NULL); return; } } // System.Void System.EntryPointNotFoundException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void EntryPointNotFoundException__ctor_m1386578372 (EntryPointNotFoundException_t3956266210 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; TypeLoadException__ctor_m517092917(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.Enum::.ctor() extern "C" void Enum__ctor_m4107488614 (Il2CppObject * __this, const MethodInfo* method) { { ValueType__ctor_m1334403178(__this, /*hidden argument*/NULL); return; } } // System.Void System.Enum::.cctor() extern Il2CppClass* CharU5BU5D_t1328083999_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern const uint32_t Enum__cctor_m3214832791_MetadataUsageId; extern "C" void Enum__cctor_m3214832791 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum__cctor_m3214832791_MetadataUsageId); s_Il2CppMethodInitialized = true; } { CharU5BU5D_t1328083999* L_0 = ((CharU5BU5D_t1328083999*)SZArrayNew(CharU5BU5D_t1328083999_il2cpp_TypeInfo_var, (uint32_t)1)); (L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)44)); ((Enum_t2459695545_StaticFields*)Enum_t2459695545_il2cpp_TypeInfo_var->static_fields)->set_split_char_0(L_0); return; } } // System.Boolean System.Enum::System.IConvertible.ToBoolean(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToBoolean_m1514431386_MetadataUsageId; extern "C" bool Enum_System_IConvertible_ToBoolean_m1514431386 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToBoolean_m1514431386_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); bool L_2 = Convert_ToBoolean_m949259033(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Byte System.Enum::System.IConvertible.ToByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToByte_m38374586_MetadataUsageId; extern "C" uint8_t Enum_System_IConvertible_ToByte_m38374586 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToByte_m38374586_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint8_t L_2 = Convert_ToByte_m9159597(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Char System.Enum::System.IConvertible.ToChar(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToChar_m1838232954_MetadataUsageId; extern "C" Il2CppChar Enum_System_IConvertible_ToChar_m1838232954 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToChar_m1838232954_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Il2CppChar L_2 = Convert_ToChar_m460260673(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.DateTime System.Enum::System.IConvertible.ToDateTime(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToDateTime_m2924690746_MetadataUsageId; extern "C" DateTime_t693205669 Enum_System_IConvertible_ToDateTime_m2924690746 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToDateTime_m2924690746_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); DateTime_t693205669 L_2 = Convert_ToDateTime_m1910077341(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Decimal System.Enum::System.IConvertible.ToDecimal(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToDecimal_m3295004384_MetadataUsageId; extern "C" Decimal_t724701077 Enum_System_IConvertible_ToDecimal_m3295004384 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToDecimal_m3295004384_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Decimal_t724701077 L_2 = Convert_ToDecimal_m349440953(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Double System.Enum::System.IConvertible.ToDouble(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToDouble_m2570712410_MetadataUsageId; extern "C" double Enum_System_IConvertible_ToDouble_m2570712410 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToDouble_m2570712410_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); double L_2 = Convert_ToDouble_m574888941(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Int16 System.Enum::System.IConvertible.ToInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToInt16_m3801781082_MetadataUsageId; extern "C" int16_t Enum_System_IConvertible_ToInt16_m3801781082 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToInt16_m3801781082_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int16_t L_2 = Convert_ToInt16_m591571705(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Int32 System.Enum::System.IConvertible.ToInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToInt32_m2459904362_MetadataUsageId; extern "C" int32_t Enum_System_IConvertible_ToInt32_m2459904362 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToInt32_m2459904362_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int32_t L_2 = Convert_ToInt32_m805451385(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Int64 System.Enum::System.IConvertible.ToInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToInt64_m3674510904_MetadataUsageId; extern "C" int64_t Enum_System_IConvertible_ToInt64_m3674510904 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToInt64_m3674510904_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int64_t L_2 = Convert_ToInt64_m3844533817(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.SByte System.Enum::System.IConvertible.ToSByte(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToSByte_m3488526280_MetadataUsageId; extern "C" int8_t Enum_System_IConvertible_ToSByte_m3488526280 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToSByte_m3488526280_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int8_t L_2 = Convert_ToSByte_m1972336057(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Single System.Enum::System.IConvertible.ToSingle(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToSingle_m780777210_MetadataUsageId; extern "C" float Enum_System_IConvertible_ToSingle_m780777210 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToSingle_m780777210_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); float L_2 = Convert_ToSingle_m1901383565(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Object System.Enum::System.IConvertible.ToType(System.Type,System.IFormatProvider) extern const Il2CppType* String_t_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3040989817; extern const uint32_t Enum_System_IConvertible_ToType_m2669300536_MetadataUsageId; extern "C" Il2CppObject * Enum_System_IConvertible_ToType_m2669300536 (Il2CppObject * __this, Type_t * ___targetType0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToType_m2669300536_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___targetType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral3040989817, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Type_t * L_2 = ___targetType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_3 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(String_t_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_2) == ((Il2CppObject*)(Type_t *)L_3)))) { goto IL_0029; } } { Il2CppObject * L_4 = ___provider1; String_t* L_5 = Enum_ToString_m3754726711(__this, L_4, /*hidden argument*/NULL); return L_5; } IL_0029: { Il2CppObject * L_6 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Type_t * L_7 = ___targetType0; Il2CppObject * L_8 = ___provider1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); Il2CppObject * L_9 = Convert_ToType_m1408903144(NULL /*static, unused*/, L_6, L_7, L_8, (bool)0, /*hidden argument*/NULL); return L_9; } } // System.UInt16 System.Enum::System.IConvertible.ToUInt16(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToUInt16_m1001858842_MetadataUsageId; extern "C" uint16_t Enum_System_IConvertible_ToUInt16_m1001858842 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToUInt16_m1001858842_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint16_t L_2 = Convert_ToUInt16_m590399293(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.UInt32 System.Enum::System.IConvertible.ToUInt32(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToUInt32_m3575456858_MetadataUsageId; extern "C" uint32_t Enum_System_IConvertible_ToUInt32_m3575456858 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToUInt32_m3575456858_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint32_t L_2 = Convert_ToUInt32_m817681977(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.UInt64 System.Enum::System.IConvertible.ToUInt64(System.IFormatProvider) extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern const uint32_t Enum_System_IConvertible_ToUInt64_m337748154_MetadataUsageId; extern "C" uint64_t Enum_System_IConvertible_ToUInt64_m337748154 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_System_IConvertible_ToUInt64_m337748154_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); Il2CppObject * L_1 = ___provider0; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint64_t L_2 = Convert_ToUInt64_m345450801(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.TypeCode System.Enum::GetTypeCode() extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern const uint32_t Enum_GetTypeCode_m149067422_MetadataUsageId; extern "C" int32_t Enum_GetTypeCode_m149067422 (Il2CppObject * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_GetTypeCode_m149067422_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = Object_GetType_m191970594(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Type_t * L_1 = Enum_GetUnderlyingType_m3513899012(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); int32_t L_2 = Type_GetTypeCode_m1044483454(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } } // System.Object System.Enum::get_value() extern "C" Il2CppObject * Enum_get_value_m1179303235 (Il2CppObject * __this, const MethodInfo* method) { using namespace il2cpp::icalls; typedef Il2CppObject * (*Enum_get_value_m1179303235_ftn) (Il2CppObject *); return ((Enum_get_value_m1179303235_ftn)mscorlib::System::Enum::get_value) (__this); } // System.Object System.Enum::get_Value() extern "C" Il2CppObject * Enum_get_Value_m1180385699 (Il2CppObject * __this, const MethodInfo* method) { { Il2CppObject * L_0 = Enum_get_value_m1179303235(__this, /*hidden argument*/NULL); return L_0; } } // System.Int32 System.Enum::FindPosition(System.Object,System.Array) extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var; extern Il2CppClass* UInt16U5BU5D_t2527266722_il2cpp_TypeInfo_var; extern Il2CppClass* UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var; extern Il2CppClass* UInt64U5BU5D_t1668688775_il2cpp_TypeInfo_var; extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var; extern Il2CppClass* MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var; extern Il2CppClass* Int16U5BU5D_t3104283263_il2cpp_TypeInfo_var; extern Il2CppClass* SByteU5BU5D_t3472287392_il2cpp_TypeInfo_var; extern Il2CppClass* Int64U5BU5D_t717125112_il2cpp_TypeInfo_var; extern const uint32_t Enum_FindPosition_m988648412_MetadataUsageId; extern "C" int32_t Enum_FindPosition_m988648412 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, Il2CppArray * ___values1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_FindPosition_m988648412_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; { V_0 = (Il2CppObject *)NULL; Il2CppArray * L_0 = ___values1; if (((ByteU5BU5D_t3397334013*)IsInst(L_0, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var))) { goto IL_008e; } } { Il2CppArray * L_1 = ___values1; if (((UInt16U5BU5D_t2527266722*)IsInst(L_1, UInt16U5BU5D_t2527266722_il2cpp_TypeInfo_var))) { goto IL_008e; } } { Il2CppArray * L_2 = ___values1; if (((UInt32U5BU5D_t59386216*)IsInst(L_2, UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var))) { goto IL_008e; } } { Il2CppArray * L_3 = ___values1; if (((UInt64U5BU5D_t1668688775*)IsInst(L_3, UInt64U5BU5D_t1668688775_il2cpp_TypeInfo_var))) { goto IL_008e; } } { Il2CppArray * L_4 = ___values1; if (!((Int32U5BU5D_t3030399641*)IsInst(L_4, Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var))) { goto IL_0046; } } { Il2CppArray * L_5 = ___values1; Il2CppObject * L_6 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var); IntComparer_t1754594706 * L_7 = ((MonoEnumInfo_t2335995564_StaticFields*)MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var->static_fields)->get_int_comparer_9(); int32_t L_8 = Array_BinarySearch_m1368352453(NULL /*static, unused*/, L_5, L_6, L_7, /*hidden argument*/NULL); return L_8; } IL_0046: { Il2CppArray * L_9 = ___values1; if (!((Int16U5BU5D_t3104283263*)IsInst(L_9, Int16U5BU5D_t3104283263_il2cpp_TypeInfo_var))) { goto IL_005e; } } { Il2CppArray * L_10 = ___values1; Il2CppObject * L_11 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var); ShortComparer_t1280224355 * L_12 = ((MonoEnumInfo_t2335995564_StaticFields*)MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var->static_fields)->get_short_comparer_8(); int32_t L_13 = Array_BinarySearch_m1368352453(NULL /*static, unused*/, L_10, L_11, L_12, /*hidden argument*/NULL); return L_13; } IL_005e: { Il2CppArray * L_14 = ___values1; if (!((SByteU5BU5D_t3472287392*)IsInst(L_14, SByteU5BU5D_t3472287392_il2cpp_TypeInfo_var))) { goto IL_0076; } } { Il2CppArray * L_15 = ___values1; Il2CppObject * L_16 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var); SByteComparer_t4284068120 * L_17 = ((MonoEnumInfo_t2335995564_StaticFields*)MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var->static_fields)->get_sbyte_comparer_7(); int32_t L_18 = Array_BinarySearch_m1368352453(NULL /*static, unused*/, L_15, L_16, L_17, /*hidden argument*/NULL); return L_18; } IL_0076: { Il2CppArray * L_19 = ___values1; if (!((Int64U5BU5D_t717125112*)IsInst(L_19, Int64U5BU5D_t717125112_il2cpp_TypeInfo_var))) { goto IL_008e; } } { Il2CppArray * L_20 = ___values1; Il2CppObject * L_21 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var); LongComparer_t3923115571 * L_22 = ((MonoEnumInfo_t2335995564_StaticFields*)MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var->static_fields)->get_long_comparer_10(); int32_t L_23 = Array_BinarySearch_m1368352453(NULL /*static, unused*/, L_20, L_21, L_22, /*hidden argument*/NULL); return L_23; } IL_008e: { Il2CppArray * L_24 = ___values1; Il2CppObject * L_25 = ___value0; int32_t L_26 = Array_BinarySearch_m3522310993(NULL /*static, unused*/, L_24, L_25, /*hidden argument*/NULL); return L_26; } } // System.String System.Enum::GetName(System.Type,System.Object) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern Il2CppClass* MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2585149747; extern Il2CppCodeGenString* _stringLiteral1803325615; extern Il2CppCodeGenString* _stringLiteral1493249126; extern const uint32_t Enum_GetName_m1226611481_MetadataUsageId; extern "C" String_t* Enum_GetName_m1226611481 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_GetName_m1226611481_MetadataUsageId); s_Il2CppMethodInitialized = true; } MonoEnumInfo_t2335995564 V_0; memset(&V_0, 0, sizeof(V_0)); int32_t V_1 = 0; String_t* G_B9_0 = NULL; { Type_t * L_0 = ___enumType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppObject * L_2 = ___value1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { Type_t * L_4 = ___enumType0; bool L_5 = Type_get_IsEnum_m313908919(L_4, /*hidden argument*/NULL); if (L_5) { goto IL_003d; } } { ArgumentException_t3259014390 * L_6 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_6, _stringLiteral1493249126, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003d: { Type_t * L_7 = ___enumType0; Il2CppObject * L_8 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_9 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL); ___value1 = L_9; Type_t * L_10 = ___enumType0; IL2CPP_RUNTIME_CLASS_INIT(MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var); MonoEnumInfo_GetInfo_m899954493(NULL /*static, unused*/, L_10, (&V_0), /*hidden argument*/NULL); Il2CppObject * L_11 = ___value1; Il2CppArray * L_12 = (&V_0)->get_values_1(); int32_t L_13 = Enum_FindPosition_m988648412(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL); V_1 = L_13; int32_t L_14 = V_1; if ((((int32_t)L_14) < ((int32_t)0))) { goto IL_0071; } } { StringU5BU5D_t1642385972* L_15 = (&V_0)->get_names_2(); int32_t L_16 = V_1; int32_t L_17 = L_16; String_t* L_18 = (L_15)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_17)); G_B9_0 = L_18; goto IL_0072; } IL_0071: { G_B9_0 = ((String_t*)(NULL)); } IL_0072: { return G_B9_0; } } // System.Boolean System.Enum::IsDefined(System.Type,System.Object) extern const Il2CppType* String_t_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* IList_t3321498491_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2585149747; extern Il2CppCodeGenString* _stringLiteral1803325615; extern Il2CppCodeGenString* _stringLiteral1493249126; extern Il2CppCodeGenString* _stringLiteral2120611820; extern const uint32_t Enum_IsDefined_m92789062_MetadataUsageId; extern "C" bool Enum_IsDefined_m92789062 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_IsDefined_m92789062_MetadataUsageId); s_Il2CppMethodInitialized = true; } MonoEnumInfo_t2335995564 V_0; memset(&V_0, 0, sizeof(V_0)); Type_t * V_1 = NULL; { Type_t * L_0 = ___enumType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppObject * L_2 = ___value1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { Type_t * L_4 = ___enumType0; bool L_5 = Type_get_IsEnum_m313908919(L_4, /*hidden argument*/NULL); if (L_5) { goto IL_003d; } } { ArgumentException_t3259014390 * L_6 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_6, _stringLiteral1493249126, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003d: { Type_t * L_7 = ___enumType0; IL2CPP_RUNTIME_CLASS_INIT(MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var); MonoEnumInfo_GetInfo_m899954493(NULL /*static, unused*/, L_7, (&V_0), /*hidden argument*/NULL); Il2CppObject * L_8 = ___value1; Type_t * L_9 = Object_GetType_m191970594(L_8, /*hidden argument*/NULL); V_1 = L_9; Type_t * L_10 = V_1; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_11 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(String_t_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_10) == ((Il2CppObject*)(Type_t *)L_11)))) { goto IL_006a; } } { StringU5BU5D_t1642385972* L_12 = (&V_0)->get_names_2(); Il2CppObject * L_13 = ___value1; bool L_14 = InterfaceFuncInvoker1< bool, Il2CppObject * >::Invoke(6 /* System.Boolean System.Collections.IList::Contains(System.Object) */, IList_t3321498491_il2cpp_TypeInfo_var, (Il2CppObject *)(Il2CppObject *)L_12, L_13); return L_14; } IL_006a: { Type_t * L_15 = V_1; Type_t * L_16 = (&V_0)->get_utype_0(); if ((((Il2CppObject*)(Type_t *)L_15) == ((Il2CppObject*)(Type_t *)L_16))) { goto IL_007e; } } { Type_t * L_17 = V_1; Type_t * L_18 = ___enumType0; if ((!(((Il2CppObject*)(Type_t *)L_17) == ((Il2CppObject*)(Type_t *)L_18)))) { goto IL_00a3; } } IL_007e: { Type_t * L_19 = ___enumType0; Il2CppObject * L_20 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_21 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_19, L_20, /*hidden argument*/NULL); ___value1 = L_21; Type_t * L_22 = ___enumType0; IL2CPP_RUNTIME_CLASS_INIT(MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var); MonoEnumInfo_GetInfo_m899954493(NULL /*static, unused*/, L_22, (&V_0), /*hidden argument*/NULL); Il2CppObject * L_23 = ___value1; Il2CppArray * L_24 = (&V_0)->get_values_1(); int32_t L_25 = Enum_FindPosition_m988648412(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL); return (bool)((((int32_t)((((int32_t)L_25) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } IL_00a3: { ArgumentException_t3259014390 * L_26 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_26, _stringLiteral2120611820, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_26); } } // System.Type System.Enum::get_underlying_type(System.Type) extern "C" Type_t * Enum_get_underlying_type_m2195909400 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef Type_t * (*Enum_get_underlying_type_m2195909400_ftn) (Type_t *); return ((Enum_get_underlying_type_m2195909400_ftn)mscorlib::System::Enum::get_underlying_type) (___enumType0); } // System.Type System.Enum::GetUnderlyingType(System.Type) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2585149747; extern Il2CppCodeGenString* _stringLiteral1493249126; extern const uint32_t Enum_GetUnderlyingType_m3513899012_MetadataUsageId; extern "C" Type_t * Enum_GetUnderlyingType_m3513899012 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_GetUnderlyingType_m3513899012_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___enumType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Type_t * L_2 = ___enumType0; bool L_3 = Type_get_IsEnum_m313908919(L_2, /*hidden argument*/NULL); if (L_3) { goto IL_002c; } } { ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_4, _stringLiteral1493249126, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_4); } IL_002c: { Type_t * L_5 = ___enumType0; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Type_t * L_6 = Enum_get_underlying_type_m2195909400(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); return L_6; } } // System.Int32 System.Enum::FindName(System.Collections.Hashtable,System.String[],System.String,System.Boolean) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t Enum_FindName_m482077153_MetadataUsageId; extern "C" int32_t Enum_FindName_m482077153 (Il2CppObject * __this /* static, unused */, Hashtable_t909839986 * ___name_hash0, StringU5BU5D_t1642385972* ___names1, String_t* ___name2, bool ___ignoreCase3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_FindName_m482077153_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; { bool L_0 = ___ignoreCase3; if (L_0) { goto IL_004f; } } { Hashtable_t909839986 * L_1 = ___name_hash0; if (!L_1) { goto IL_0026; } } { Hashtable_t909839986 * L_2 = ___name_hash0; String_t* L_3 = ___name2; Il2CppObject * L_4 = VirtFuncInvoker1< Il2CppObject *, Il2CppObject * >::Invoke(22 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, L_2, L_3); V_0 = L_4; Il2CppObject * L_5 = V_0; if (!L_5) { goto IL_0021; } } { Il2CppObject * L_6 = V_0; return ((*(int32_t*)((int32_t*)UnBox (L_6, Int32_t2071877448_il2cpp_TypeInfo_var)))); } IL_0021: { goto IL_004a; } IL_0026: { V_1 = 0; goto IL_0041; } IL_002d: { String_t* L_7 = ___name2; StringU5BU5D_t1642385972* L_8 = ___names1; int32_t L_9 = V_1; int32_t L_10 = L_9; String_t* L_11 = (L_8)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_10)); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_12 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_7, L_11, /*hidden argument*/NULL); if (!L_12) { goto IL_003d; } } { int32_t L_13 = V_1; return L_13; } IL_003d: { int32_t L_14 = V_1; V_1 = ((int32_t)((int32_t)L_14+(int32_t)1)); } IL_0041: { int32_t L_15 = V_1; StringU5BU5D_t1642385972* L_16 = ___names1; if ((((int32_t)L_15) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_16)->max_length))))))) { goto IL_002d; } } IL_004a: { goto IL_0079; } IL_004f: { V_2 = 0; goto IL_0070; } IL_0056: { String_t* L_17 = ___name2; StringU5BU5D_t1642385972* L_18 = ___names1; int32_t L_19 = V_2; int32_t L_20 = L_19; String_t* L_21 = (L_18)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_20)); bool L_22 = ___ignoreCase3; IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_23 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); int32_t L_24 = String_Compare_m1847873744(NULL /*static, unused*/, L_17, L_21, L_22, L_23, /*hidden argument*/NULL); if (L_24) { goto IL_006c; } } { int32_t L_25 = V_2; return L_25; } IL_006c: { int32_t L_26 = V_2; V_2 = ((int32_t)((int32_t)L_26+(int32_t)1)); } IL_0070: { int32_t L_27 = V_2; StringU5BU5D_t1642385972* L_28 = ___names1; if ((((int32_t)L_27) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_28)->max_length))))))) { goto IL_0056; } } IL_0079: { return (-1); } } // System.UInt64 System.Enum::GetValue(System.Object,System.TypeCode) extern Il2CppClass* Byte_t3683104436_il2cpp_TypeInfo_var; extern Il2CppClass* SByte_t454417549_il2cpp_TypeInfo_var; extern Il2CppClass* Int16_t4041245914_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* Int64_t909078037_il2cpp_TypeInfo_var; extern Il2CppClass* UInt16_t986882611_il2cpp_TypeInfo_var; extern Il2CppClass* UInt32_t2149682021_il2cpp_TypeInfo_var; extern Il2CppClass* UInt64_t2909196914_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral152107899; extern const uint32_t Enum_GetValue_m2448824149_MetadataUsageId; extern "C" uint64_t Enum_GetValue_m2448824149 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___value0, int32_t ___typeCode1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_GetValue_m2448824149_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { int32_t L_0 = ___typeCode1; V_0 = L_0; int32_t L_1 = V_0; if (((int32_t)((int32_t)L_1-(int32_t)5)) == 0) { goto IL_0037; } if (((int32_t)((int32_t)L_1-(int32_t)5)) == 1) { goto IL_002f; } if (((int32_t)((int32_t)L_1-(int32_t)5)) == 2) { goto IL_0040; } if (((int32_t)((int32_t)L_1-(int32_t)5)) == 3) { goto IL_0058; } if (((int32_t)((int32_t)L_1-(int32_t)5)) == 4) { goto IL_0049; } if (((int32_t)((int32_t)L_1-(int32_t)5)) == 5) { goto IL_0060; } if (((int32_t)((int32_t)L_1-(int32_t)5)) == 6) { goto IL_0051; } if (((int32_t)((int32_t)L_1-(int32_t)5)) == 7) { goto IL_0068; } } { goto IL_006f; } IL_002f: { Il2CppObject * L_2 = ___value0; return (((int64_t)((uint64_t)((*(uint8_t*)((uint8_t*)UnBox (L_2, Byte_t3683104436_il2cpp_TypeInfo_var))))))); } IL_0037: { Il2CppObject * L_3 = ___value0; return (((int64_t)((uint64_t)(((uint32_t)((uint32_t)(((int32_t)((uint8_t)((*(int8_t*)((int8_t*)UnBox (L_3, SByte_t454417549_il2cpp_TypeInfo_var))))))))))))); } IL_0040: { Il2CppObject * L_4 = ___value0; return (((int64_t)((uint64_t)(((uint32_t)((uint32_t)(((int32_t)((uint16_t)((*(int16_t*)((int16_t*)UnBox (L_4, Int16_t4041245914_il2cpp_TypeInfo_var))))))))))))); } IL_0049: { Il2CppObject * L_5 = ___value0; return (((int64_t)((uint64_t)(((uint32_t)((uint32_t)((*(int32_t*)((int32_t*)UnBox (L_5, Int32_t2071877448_il2cpp_TypeInfo_var)))))))))); } IL_0051: { Il2CppObject * L_6 = ___value0; return ((*(int64_t*)((int64_t*)UnBox (L_6, Int64_t909078037_il2cpp_TypeInfo_var)))); } IL_0058: { Il2CppObject * L_7 = ___value0; return (((int64_t)((uint64_t)((*(uint16_t*)((uint16_t*)UnBox (L_7, UInt16_t986882611_il2cpp_TypeInfo_var))))))); } IL_0060: { Il2CppObject * L_8 = ___value0; return (((int64_t)((uint64_t)((*(uint32_t*)((uint32_t*)UnBox (L_8, UInt32_t2149682021_il2cpp_TypeInfo_var))))))); } IL_0068: { Il2CppObject * L_9 = ___value0; return ((*(uint64_t*)((uint64_t*)UnBox (L_9, UInt64_t2909196914_il2cpp_TypeInfo_var)))); } IL_006f: { ArgumentException_t3259014390 * L_10 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_10, _stringLiteral152107899, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_10); } } // System.Object System.Enum::Parse(System.Type,System.String,System.Boolean) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2585149747; extern Il2CppCodeGenString* _stringLiteral1803325615; extern Il2CppCodeGenString* _stringLiteral1493249126; extern Il2CppCodeGenString* _stringLiteral871151778; extern Il2CppCodeGenString* _stringLiteral661755402; extern Il2CppCodeGenString* _stringLiteral3189255804; extern const uint32_t Enum_Parse_m982704874_MetadataUsageId; extern "C" Il2CppObject * Enum_Parse_m982704874 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, String_t* ___value1, bool ___ignoreCase2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_Parse_m982704874_MetadataUsageId); s_Il2CppMethodInitialized = true; } MonoEnumInfo_t2335995564 V_0; memset(&V_0, 0, sizeof(V_0)); int32_t V_1 = 0; int32_t V_2 = 0; StringU5BU5D_t1642385972* V_3 = NULL; uint64_t V_4 = 0; int32_t V_5 = 0; int8_t V_6 = 0x0; uint8_t V_7 = 0x0; int16_t V_8 = 0; uint16_t V_9 = 0; int32_t V_10 = 0; uint32_t V_11 = 0; int64_t V_12 = 0; uint64_t V_13 = 0; int32_t V_14 = 0; { Type_t * L_0 = ___enumType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___value1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { Type_t * L_4 = ___enumType0; bool L_5 = Type_get_IsEnum_m313908919(L_4, /*hidden argument*/NULL); if (L_5) { goto IL_003d; } } { ArgumentException_t3259014390 * L_6 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_6, _stringLiteral1493249126, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_6); } IL_003d: { String_t* L_7 = ___value1; String_t* L_8 = String_Trim_m2668767713(L_7, /*hidden argument*/NULL); ___value1 = L_8; String_t* L_9 = ___value1; int32_t L_10 = String_get_Length_m1606060069(L_9, /*hidden argument*/NULL); if (L_10) { goto IL_005b; } } { ArgumentException_t3259014390 * L_11 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_11, _stringLiteral871151778, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_005b: { Type_t * L_12 = ___enumType0; IL2CPP_RUNTIME_CLASS_INIT(MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var); MonoEnumInfo_GetInfo_m899954493(NULL /*static, unused*/, L_12, (&V_0), /*hidden argument*/NULL); Hashtable_t909839986 * L_13 = (&V_0)->get_name_hash_3(); StringU5BU5D_t1642385972* L_14 = (&V_0)->get_names_2(); String_t* L_15 = ___value1; bool L_16 = ___ignoreCase2; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); int32_t L_17 = Enum_FindName_m482077153(NULL /*static, unused*/, L_13, L_14, L_15, L_16, /*hidden argument*/NULL); V_1 = L_17; int32_t L_18 = V_1; if ((((int32_t)L_18) < ((int32_t)0))) { goto IL_008e; } } { Il2CppArray * L_19 = (&V_0)->get_values_1(); int32_t L_20 = V_1; Il2CppObject * L_21 = Array_GetValue_m3284370071(L_19, L_20, /*hidden argument*/NULL); return L_21; } IL_008e: { Il2CppArray * L_22 = (&V_0)->get_values_1(); Il2CppObject * L_23 = Array_GetValue_m3284370071(L_22, 0, /*hidden argument*/NULL); int32_t L_24 = Enum_GetTypeCode_m149067422(((Enum_t2459695545 *)CastclassClass(L_23, Enum_t2459695545_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); V_2 = L_24; String_t* L_25 = ___value1; int32_t L_26 = String_IndexOf_m2358239236(L_25, ((int32_t)44), /*hidden argument*/NULL); if ((((int32_t)L_26) == ((int32_t)(-1)))) { goto IL_012d; } } { String_t* L_27 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); CharU5BU5D_t1328083999* L_28 = ((Enum_t2459695545_StaticFields*)Enum_t2459695545_il2cpp_TypeInfo_var->static_fields)->get_split_char_0(); StringU5BU5D_t1642385972* L_29 = String_Split_m3326265864(L_27, L_28, /*hidden argument*/NULL); V_3 = L_29; V_4 = (((int64_t)((int64_t)0))); V_5 = 0; goto IL_011a; } IL_00cc: { Hashtable_t909839986 * L_30 = (&V_0)->get_name_hash_3(); StringU5BU5D_t1642385972* L_31 = (&V_0)->get_names_2(); StringU5BU5D_t1642385972* L_32 = V_3; int32_t L_33 = V_5; int32_t L_34 = L_33; String_t* L_35 = (L_32)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_34)); String_t* L_36 = String_Trim_m2668767713(L_35, /*hidden argument*/NULL); bool L_37 = ___ignoreCase2; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); int32_t L_38 = Enum_FindName_m482077153(NULL /*static, unused*/, L_30, L_31, L_36, L_37, /*hidden argument*/NULL); V_1 = L_38; int32_t L_39 = V_1; if ((((int32_t)L_39) >= ((int32_t)0))) { goto IL_00fc; } } { ArgumentException_t3259014390 * L_40 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_40, _stringLiteral661755402, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_40); } IL_00fc: { uint64_t L_41 = V_4; Il2CppArray * L_42 = (&V_0)->get_values_1(); int32_t L_43 = V_1; Il2CppObject * L_44 = Array_GetValue_m3284370071(L_42, L_43, /*hidden argument*/NULL); int32_t L_45 = V_2; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); uint64_t L_46 = Enum_GetValue_m2448824149(NULL /*static, unused*/, L_44, L_45, /*hidden argument*/NULL); V_4 = ((int64_t)((int64_t)L_41|(int64_t)L_46)); int32_t L_47 = V_5; V_5 = ((int32_t)((int32_t)L_47+(int32_t)1)); } IL_011a: { int32_t L_48 = V_5; StringU5BU5D_t1642385972* L_49 = V_3; if ((((int32_t)L_48) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_49)->max_length))))))) { goto IL_00cc; } } { Type_t * L_50 = ___enumType0; uint64_t L_51 = V_4; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_52 = Enum_ToObject_m1438724003(NULL /*static, unused*/, L_50, L_51, /*hidden argument*/NULL); return L_52; } IL_012d: { int32_t L_53 = V_2; V_14 = L_53; int32_t L_54 = V_14; if (((int32_t)((int32_t)L_54-(int32_t)5)) == 0) { goto IL_015e; } if (((int32_t)((int32_t)L_54-(int32_t)5)) == 1) { goto IL_0179; } if (((int32_t)((int32_t)L_54-(int32_t)5)) == 2) { goto IL_0194; } if (((int32_t)((int32_t)L_54-(int32_t)5)) == 3) { goto IL_01af; } if (((int32_t)((int32_t)L_54-(int32_t)5)) == 4) { goto IL_01ca; } if (((int32_t)((int32_t)L_54-(int32_t)5)) == 5) { goto IL_01e5; } if (((int32_t)((int32_t)L_54-(int32_t)5)) == 6) { goto IL_0200; } if (((int32_t)((int32_t)L_54-(int32_t)5)) == 7) { goto IL_021b; } } { goto IL_0236; } IL_015e: { String_t* L_55 = ___value1; bool L_56 = SByte_TryParse_m1263156074(NULL /*static, unused*/, L_55, (&V_6), /*hidden argument*/NULL); if (!L_56) { goto IL_0174; } } { Type_t * L_57 = ___enumType0; int8_t L_58 = V_6; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_59 = Enum_ToObject_m2216605710(NULL /*static, unused*/, L_57, L_58, /*hidden argument*/NULL); return L_59; } IL_0174: { goto IL_023b; } IL_0179: { String_t* L_60 = ___value1; bool L_61 = Byte_TryParse_m3515996530(NULL /*static, unused*/, L_60, (&V_7), /*hidden argument*/NULL); if (!L_61) { goto IL_018f; } } { Type_t * L_62 = ___enumType0; uint8_t L_63 = V_7; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_64 = Enum_ToObject_m1688724857(NULL /*static, unused*/, L_62, L_63, /*hidden argument*/NULL); return L_64; } IL_018f: { goto IL_023b; } IL_0194: { String_t* L_65 = ___value1; bool L_66 = Int16_TryParse_m2354700840(NULL /*static, unused*/, L_65, (&V_8), /*hidden argument*/NULL); if (!L_66) { goto IL_01aa; } } { Type_t * L_67 = ___enumType0; int16_t L_68 = V_8; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_69 = Enum_ToObject_m604645223(NULL /*static, unused*/, L_67, L_68, /*hidden argument*/NULL); return L_69; } IL_01aa: { goto IL_023b; } IL_01af: { String_t* L_70 = ___value1; bool L_71 = UInt16_TryParse_m4241404978(NULL /*static, unused*/, L_70, (&V_9), /*hidden argument*/NULL); if (!L_71) { goto IL_01c5; } } { Type_t * L_72 = ___enumType0; uint16_t L_73 = V_9; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_74 = Enum_ToObject_m275924358(NULL /*static, unused*/, L_72, L_73, /*hidden argument*/NULL); return L_74; } IL_01c5: { goto IL_023b; } IL_01ca: { String_t* L_75 = ___value1; bool L_76 = Int32_TryParse_m656840904(NULL /*static, unused*/, L_75, (&V_10), /*hidden argument*/NULL); if (!L_76) { goto IL_01e0; } } { Type_t * L_77 = ___enumType0; int32_t L_78 = V_10; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_79 = Enum_ToObject_m322320225(NULL /*static, unused*/, L_77, L_78, /*hidden argument*/NULL); return L_79; } IL_01e0: { goto IL_023b; } IL_01e5: { String_t* L_80 = ___value1; bool L_81 = UInt32_TryParse_m4283512434(NULL /*static, unused*/, L_80, (&V_11), /*hidden argument*/NULL); if (!L_81) { goto IL_01fb; } } { Type_t * L_82 = ___enumType0; uint32_t L_83 = V_11; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_84 = Enum_ToObject_m2601523252(NULL /*static, unused*/, L_82, L_83, /*hidden argument*/NULL); return L_84; } IL_01fb: { goto IL_023b; } IL_0200: { String_t* L_85 = ___value1; bool L_86 = Int64_TryParse_m948922810(NULL /*static, unused*/, L_85, (&V_12), /*hidden argument*/NULL); if (!L_86) { goto IL_0216; } } { Type_t * L_87 = ___enumType0; int64_t L_88 = V_12; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_89 = Enum_ToObject_m745807726(NULL /*static, unused*/, L_87, L_88, /*hidden argument*/NULL); return L_89; } IL_0216: { goto IL_023b; } IL_021b: { String_t* L_90 = ___value1; bool L_91 = UInt64_TryParse_m3722071442(NULL /*static, unused*/, L_90, (&V_13), /*hidden argument*/NULL); if (!L_91) { goto IL_0231; } } { Type_t * L_92 = ___enumType0; uint64_t L_93 = V_13; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_94 = Enum_ToObject_m1438724003(NULL /*static, unused*/, L_92, L_93, /*hidden argument*/NULL); return L_94; } IL_0231: { goto IL_023b; } IL_0236: { goto IL_023b; } IL_023b: { String_t* L_95 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_96 = String_Format_m2024975688(NULL /*static, unused*/, _stringLiteral3189255804, L_95, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_97 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_97, L_96, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_97); } } // System.Int32 System.Enum::compare_value_to(System.Object) extern "C" int32_t Enum_compare_value_to_m1687780407 (Il2CppObject * __this, Il2CppObject * ___other0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Enum_compare_value_to_m1687780407_ftn) (Il2CppObject *, Il2CppObject *); return ((Enum_compare_value_to_m1687780407_ftn)mscorlib::System::Enum::compare_value_to) (__this, ___other0); } // System.Int32 System.Enum::CompareTo(System.Object) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3980953650; extern const uint32_t Enum_CompareTo_m4082875812_MetadataUsageId; extern "C" int32_t Enum_CompareTo_m4082875812 (Il2CppObject * __this, Il2CppObject * ___target0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_CompareTo_m4082875812_MetadataUsageId); s_Il2CppMethodInitialized = true; } Type_t * V_0 = NULL; { Il2CppObject * L_0 = ___target0; if (L_0) { goto IL_0008; } } { return 1; } IL_0008: { Type_t * L_1 = Object_GetType_m191970594(__this, /*hidden argument*/NULL); V_0 = L_1; Il2CppObject * L_2 = ___target0; Type_t * L_3 = Object_GetType_m191970594(L_2, /*hidden argument*/NULL); Type_t * L_4 = V_0; if ((((Il2CppObject*)(Type_t *)L_3) == ((Il2CppObject*)(Type_t *)L_4))) { goto IL_0032; } } { Il2CppObject * L_5 = ___target0; Type_t * L_6 = Object_GetType_m191970594(L_5, /*hidden argument*/NULL); Type_t * L_7 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_8 = String_Format_m1811873526(NULL /*static, unused*/, _stringLiteral3980953650, L_6, L_7, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_9 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_9, L_8, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_9); } IL_0032: { Il2CppObject * L_10 = ___target0; int32_t L_11 = Enum_compare_value_to_m1687780407(__this, L_10, /*hidden argument*/NULL); return L_11; } } // System.String System.Enum::ToString() extern Il2CppCodeGenString* _stringLiteral372029403; extern const uint32_t Enum_ToString_m2112979707_MetadataUsageId; extern "C" String_t* Enum_ToString_m2112979707 (Il2CppObject * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToString_m2112979707_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Enum_ToString_m947578005(__this, _stringLiteral372029403, /*hidden argument*/NULL); return L_0; } } // System.String System.Enum::ToString(System.IFormatProvider) extern Il2CppCodeGenString* _stringLiteral372029403; extern const uint32_t Enum_ToString_m3754726711_MetadataUsageId; extern "C" String_t* Enum_ToString_m3754726711 (Il2CppObject * __this, Il2CppObject * ___provider0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToString_m3754726711_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = ___provider0; String_t* L_1 = Enum_ToString_m662345249(__this, _stringLiteral372029403, L_0, /*hidden argument*/NULL); return L_1; } } // System.String System.Enum::ToString(System.String) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029403; extern const uint32_t Enum_ToString_m947578005_MetadataUsageId; extern "C" String_t* Enum_ToString_m947578005 (Il2CppObject * __this, String_t* ___format0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToString_m947578005_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___format0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_1 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_2 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_0016; } } { String_t* L_3 = ___format0; if (L_3) { goto IL_001d; } } IL_0016: { ___format0 = _stringLiteral372029403; } IL_001d: { Type_t * L_4 = Object_GetType_m191970594(__this, /*hidden argument*/NULL); Il2CppObject * L_5 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); String_t* L_6 = ___format0; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); String_t* L_7 = Enum_Format_m2294492821(NULL /*static, unused*/, L_4, L_5, L_6, /*hidden argument*/NULL); return L_7; } } // System.String System.Enum::ToString(System.String,System.IFormatProvider) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029403; extern const uint32_t Enum_ToString_m662345249_MetadataUsageId; extern "C" String_t* Enum_ToString_m662345249 (Il2CppObject * __this, String_t* ___format0, Il2CppObject * ___provider1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToString_m662345249_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___format0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_1 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_2 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_0016; } } { String_t* L_3 = ___format0; if (L_3) { goto IL_001d; } } IL_0016: { ___format0 = _stringLiteral372029403; } IL_001d: { Type_t * L_4 = Object_GetType_m191970594(__this, /*hidden argument*/NULL); Il2CppObject * L_5 = Enum_get_Value_m1180385699(__this, /*hidden argument*/NULL); String_t* L_6 = ___format0; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); String_t* L_7 = Enum_Format_m2294492821(NULL /*static, unused*/, L_4, L_5, L_6, /*hidden argument*/NULL); return L_7; } } // System.Object System.Enum::ToObject(System.Type,System.Byte) extern Il2CppClass* Byte_t3683104436_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern const uint32_t Enum_ToObject_m1688724857_MetadataUsageId; extern "C" Il2CppObject * Enum_ToObject_m1688724857 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, uint8_t ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToObject_m1688724857_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___enumType0; uint8_t L_1 = ___value1; uint8_t L_2 = L_1; Il2CppObject * L_3 = Box(Byte_t3683104436_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_4 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_0, L_3, /*hidden argument*/NULL); return L_4; } } // System.Object System.Enum::ToObject(System.Type,System.Int16) extern Il2CppClass* Int16_t4041245914_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern const uint32_t Enum_ToObject_m604645223_MetadataUsageId; extern "C" Il2CppObject * Enum_ToObject_m604645223 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, int16_t ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToObject_m604645223_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___enumType0; int16_t L_1 = ___value1; int16_t L_2 = L_1; Il2CppObject * L_3 = Box(Int16_t4041245914_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_4 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_0, L_3, /*hidden argument*/NULL); return L_4; } } // System.Object System.Enum::ToObject(System.Type,System.Int32) extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern const uint32_t Enum_ToObject_m322320225_MetadataUsageId; extern "C" Il2CppObject * Enum_ToObject_m322320225 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, int32_t ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToObject_m322320225_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___enumType0; int32_t L_1 = ___value1; int32_t L_2 = L_1; Il2CppObject * L_3 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_4 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_0, L_3, /*hidden argument*/NULL); return L_4; } } // System.Object System.Enum::ToObject(System.Type,System.Int64) extern Il2CppClass* Int64_t909078037_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern const uint32_t Enum_ToObject_m745807726_MetadataUsageId; extern "C" Il2CppObject * Enum_ToObject_m745807726 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, int64_t ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToObject_m745807726_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___enumType0; int64_t L_1 = ___value1; int64_t L_2 = L_1; Il2CppObject * L_3 = Box(Int64_t909078037_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_4 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_0, L_3, /*hidden argument*/NULL); return L_4; } } // System.Object System.Enum::ToObject(System.Type,System.Object) extern "C" Il2CppObject * Enum_ToObject_m2460371738 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, Il2CppObject * ___value1, const MethodInfo* method) { using namespace il2cpp::icalls; typedef Il2CppObject * (*Enum_ToObject_m2460371738_ftn) (Type_t *, Il2CppObject *); return ((Enum_ToObject_m2460371738_ftn)mscorlib::System::Enum::ToObject) (___enumType0, ___value1); } // System.Object System.Enum::ToObject(System.Type,System.SByte) extern Il2CppClass* SByte_t454417549_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern const uint32_t Enum_ToObject_m2216605710_MetadataUsageId; extern "C" Il2CppObject * Enum_ToObject_m2216605710 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, int8_t ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToObject_m2216605710_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___enumType0; int8_t L_1 = ___value1; int8_t L_2 = L_1; Il2CppObject * L_3 = Box(SByte_t454417549_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_4 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_0, L_3, /*hidden argument*/NULL); return L_4; } } // System.Object System.Enum::ToObject(System.Type,System.UInt16) extern Il2CppClass* UInt16_t986882611_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern const uint32_t Enum_ToObject_m275924358_MetadataUsageId; extern "C" Il2CppObject * Enum_ToObject_m275924358 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, uint16_t ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToObject_m275924358_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___enumType0; uint16_t L_1 = ___value1; uint16_t L_2 = L_1; Il2CppObject * L_3 = Box(UInt16_t986882611_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_4 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_0, L_3, /*hidden argument*/NULL); return L_4; } } // System.Object System.Enum::ToObject(System.Type,System.UInt32) extern Il2CppClass* UInt32_t2149682021_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern const uint32_t Enum_ToObject_m2601523252_MetadataUsageId; extern "C" Il2CppObject * Enum_ToObject_m2601523252 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, uint32_t ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToObject_m2601523252_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___enumType0; uint32_t L_1 = ___value1; uint32_t L_2 = L_1; Il2CppObject * L_3 = Box(UInt32_t2149682021_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_4 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_0, L_3, /*hidden argument*/NULL); return L_4; } } // System.Object System.Enum::ToObject(System.Type,System.UInt64) extern Il2CppClass* UInt64_t2909196914_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern const uint32_t Enum_ToObject_m1438724003_MetadataUsageId; extern "C" Il2CppObject * Enum_ToObject_m1438724003 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, uint64_t ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_ToObject_m1438724003_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Type_t * L_0 = ___enumType0; uint64_t L_1 = ___value1; uint64_t L_2 = L_1; Il2CppObject * L_3 = Box(UInt64_t2909196914_il2cpp_TypeInfo_var, &L_2); IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Il2CppObject * L_4 = Enum_ToObject_m2460371738(NULL /*static, unused*/, L_0, L_3, /*hidden argument*/NULL); return L_4; } } // System.Boolean System.Enum::Equals(System.Object) extern "C" bool Enum_Equals_m3783516389 (Il2CppObject * __this, Il2CppObject * ___obj0, const MethodInfo* method) { { Il2CppObject * L_0 = ___obj0; bool L_1 = ValueType_DefaultEquals_m2245650968(NULL /*static, unused*/, __this, L_0, /*hidden argument*/NULL); return L_1; } } // System.Int32 System.Enum::get_hashcode() extern "C" int32_t Enum_get_hashcode_m1795278772 (Il2CppObject * __this, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Enum_get_hashcode_m1795278772_ftn) (Il2CppObject *); return ((Enum_get_hashcode_m1795278772_ftn)mscorlib::System::Enum::get_hashcode) (__this); } // System.Int32 System.Enum::GetHashCode() extern "C" int32_t Enum_GetHashCode_m1822821507 (Il2CppObject * __this, const MethodInfo* method) { { int32_t L_0 = Enum_get_hashcode_m1795278772(__this, /*hidden argument*/NULL); return L_0; } } // System.String System.Enum::FormatSpecifier_X(System.Type,System.Object,System.Boolean) extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* SByte_t454417549_il2cpp_TypeInfo_var; extern Il2CppClass* Byte_t3683104436_il2cpp_TypeInfo_var; extern Il2CppClass* Int16_t4041245914_il2cpp_TypeInfo_var; extern Il2CppClass* UInt16_t986882611_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* UInt32_t2149682021_il2cpp_TypeInfo_var; extern Il2CppClass* Int64_t909078037_il2cpp_TypeInfo_var; extern Il2CppClass* UInt64_t2909196914_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3231012752; extern Il2CppCodeGenString* _stringLiteral3231012720; extern Il2CppCodeGenString* _stringLiteral2424443698; extern Il2CppCodeGenString* _stringLiteral2424443666; extern Il2CppCodeGenString* _stringLiteral4037581806; extern Il2CppCodeGenString* _stringLiteral4037581774; extern Il2CppCodeGenString* _stringLiteral2833413391; extern Il2CppCodeGenString* _stringLiteral2833412271; extern Il2CppCodeGenString* _stringLiteral3149212794; extern const uint32_t Enum_FormatSpecifier_X_m1025568603_MetadataUsageId; extern "C" String_t* Enum_FormatSpecifier_X_m1025568603 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, Il2CppObject * ___value1, bool ___upper2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_FormatSpecifier_X_m1025568603_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; int8_t V_1 = 0x0; uint8_t V_2 = 0x0; int16_t V_3 = 0; uint16_t V_4 = 0; int32_t V_5 = 0; uint32_t V_6 = 0; int64_t V_7 = 0; uint64_t V_8 = 0; int8_t* G_B4_0 = NULL; int8_t* G_B3_0 = NULL; String_t* G_B5_0 = NULL; int8_t* G_B5_1 = NULL; uint8_t* G_B8_0 = NULL; uint8_t* G_B7_0 = NULL; String_t* G_B9_0 = NULL; uint8_t* G_B9_1 = NULL; int16_t* G_B12_0 = NULL; int16_t* G_B11_0 = NULL; String_t* G_B13_0 = NULL; int16_t* G_B13_1 = NULL; uint16_t* G_B16_0 = NULL; uint16_t* G_B15_0 = NULL; String_t* G_B17_0 = NULL; uint16_t* G_B17_1 = NULL; int32_t* G_B20_0 = NULL; int32_t* G_B19_0 = NULL; String_t* G_B21_0 = NULL; int32_t* G_B21_1 = NULL; uint32_t* G_B24_0 = NULL; uint32_t* G_B23_0 = NULL; String_t* G_B25_0 = NULL; uint32_t* G_B25_1 = NULL; int64_t* G_B28_0 = NULL; int64_t* G_B27_0 = NULL; String_t* G_B29_0 = NULL; int64_t* G_B29_1 = NULL; uint64_t* G_B32_0 = NULL; uint64_t* G_B31_0 = NULL; String_t* G_B33_0 = NULL; uint64_t* G_B33_1 = NULL; { Type_t * L_0 = ___enumType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); int32_t L_1 = Type_GetTypeCode_m1044483454(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = V_0; if (((int32_t)((int32_t)L_2-(int32_t)5)) == 0) { goto IL_0034; } if (((int32_t)((int32_t)L_2-(int32_t)5)) == 1) { goto IL_0058; } if (((int32_t)((int32_t)L_2-(int32_t)5)) == 2) { goto IL_007c; } if (((int32_t)((int32_t)L_2-(int32_t)5)) == 3) { goto IL_00a0; } if (((int32_t)((int32_t)L_2-(int32_t)5)) == 4) { goto IL_00c5; } if (((int32_t)((int32_t)L_2-(int32_t)5)) == 5) { goto IL_00ea; } if (((int32_t)((int32_t)L_2-(int32_t)5)) == 6) { goto IL_010f; } if (((int32_t)((int32_t)L_2-(int32_t)5)) == 7) { goto IL_0134; } } { goto IL_0159; } IL_0034: { Il2CppObject * L_3 = ___value1; V_1 = ((*(int8_t*)((int8_t*)UnBox (L_3, SByte_t454417549_il2cpp_TypeInfo_var)))); bool L_4 = ___upper2; G_B3_0 = (&V_1); if (!L_4) { G_B4_0 = (&V_1); goto IL_004d; } } { G_B5_0 = _stringLiteral3231012752; G_B5_1 = G_B3_0; goto IL_0052; } IL_004d: { G_B5_0 = _stringLiteral3231012720; G_B5_1 = G_B4_0; } IL_0052: { String_t* L_5 = SByte_ToString_m1422933503(G_B5_1, G_B5_0, /*hidden argument*/NULL); return L_5; } IL_0058: { Il2CppObject * L_6 = ___value1; V_2 = ((*(uint8_t*)((uint8_t*)UnBox (L_6, Byte_t3683104436_il2cpp_TypeInfo_var)))); bool L_7 = ___upper2; G_B7_0 = (&V_2); if (!L_7) { G_B8_0 = (&V_2); goto IL_0071; } } { G_B9_0 = _stringLiteral3231012752; G_B9_1 = G_B7_0; goto IL_0076; } IL_0071: { G_B9_0 = _stringLiteral3231012720; G_B9_1 = G_B8_0; } IL_0076: { String_t* L_8 = Byte_ToString_m1309661918(G_B9_1, G_B9_0, /*hidden argument*/NULL); return L_8; } IL_007c: { Il2CppObject * L_9 = ___value1; V_3 = ((*(int16_t*)((int16_t*)UnBox (L_9, Int16_t4041245914_il2cpp_TypeInfo_var)))); bool L_10 = ___upper2; G_B11_0 = (&V_3); if (!L_10) { G_B12_0 = (&V_3); goto IL_0095; } } { G_B13_0 = _stringLiteral2424443698; G_B13_1 = G_B11_0; goto IL_009a; } IL_0095: { G_B13_0 = _stringLiteral2424443666; G_B13_1 = G_B12_0; } IL_009a: { String_t* L_11 = Int16_ToString_m2592645088(G_B13_1, G_B13_0, /*hidden argument*/NULL); return L_11; } IL_00a0: { Il2CppObject * L_12 = ___value1; V_4 = ((*(uint16_t*)((uint16_t*)UnBox (L_12, UInt16_t986882611_il2cpp_TypeInfo_var)))); bool L_13 = ___upper2; G_B15_0 = (&V_4); if (!L_13) { G_B16_0 = (&V_4); goto IL_00ba; } } { G_B17_0 = _stringLiteral2424443698; G_B17_1 = G_B15_0; goto IL_00bf; } IL_00ba: { G_B17_0 = _stringLiteral2424443666; G_B17_1 = G_B16_0; } IL_00bf: { String_t* L_14 = UInt16_ToString_m3280699191(G_B17_1, G_B17_0, /*hidden argument*/NULL); return L_14; } IL_00c5: { Il2CppObject * L_15 = ___value1; V_5 = ((*(int32_t*)((int32_t*)UnBox (L_15, Int32_t2071877448_il2cpp_TypeInfo_var)))); bool L_16 = ___upper2; G_B19_0 = (&V_5); if (!L_16) { G_B20_0 = (&V_5); goto IL_00df; } } { G_B21_0 = _stringLiteral4037581806; G_B21_1 = G_B19_0; goto IL_00e4; } IL_00df: { G_B21_0 = _stringLiteral4037581774; G_B21_1 = G_B20_0; } IL_00e4: { String_t* L_17 = Int32_ToString_m1064459878(G_B21_1, G_B21_0, /*hidden argument*/NULL); return L_17; } IL_00ea: { Il2CppObject * L_18 = ___value1; V_6 = ((*(uint32_t*)((uint32_t*)UnBox (L_18, UInt32_t2149682021_il2cpp_TypeInfo_var)))); bool L_19 = ___upper2; G_B23_0 = (&V_6); if (!L_19) { G_B24_0 = (&V_6); goto IL_0104; } } { G_B25_0 = _stringLiteral4037581806; G_B25_1 = G_B23_0; goto IL_0109; } IL_0104: { G_B25_0 = _stringLiteral4037581774; G_B25_1 = G_B24_0; } IL_0109: { String_t* L_20 = UInt32_ToString_m1783596809(G_B25_1, G_B25_0, /*hidden argument*/NULL); return L_20; } IL_010f: { Il2CppObject * L_21 = ___value1; V_7 = ((*(int64_t*)((int64_t*)UnBox (L_21, Int64_t909078037_il2cpp_TypeInfo_var)))); bool L_22 = ___upper2; G_B27_0 = (&V_7); if (!L_22) { G_B28_0 = (&V_7); goto IL_0129; } } { G_B29_0 = _stringLiteral2833413391; G_B29_1 = G_B27_0; goto IL_012e; } IL_0129: { G_B29_0 = _stringLiteral2833412271; G_B29_1 = G_B28_0; } IL_012e: { String_t* L_23 = Int64_ToString_m2785525583(G_B29_1, G_B29_0, /*hidden argument*/NULL); return L_23; } IL_0134: { Il2CppObject * L_24 = ___value1; V_8 = ((*(uint64_t*)((uint64_t*)UnBox (L_24, UInt64_t2909196914_il2cpp_TypeInfo_var)))); bool L_25 = ___upper2; G_B31_0 = (&V_8); if (!L_25) { G_B32_0 = (&V_8); goto IL_014e; } } { G_B33_0 = _stringLiteral2833413391; G_B33_1 = G_B31_0; goto IL_0153; } IL_014e: { G_B33_0 = _stringLiteral2833412271; G_B33_1 = G_B32_0; } IL_0153: { String_t* L_26 = UInt64_ToString_m794467354(G_B33_1, G_B33_0, /*hidden argument*/NULL); return L_26; } IL_0159: { Exception_t1927440687 * L_27 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var); Exception__ctor_m485833136(L_27, _stringLiteral3149212794, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_27); } } // System.String System.Enum::FormatFlags(System.Type,System.Object) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern Il2CppClass* SByte_t454417549_il2cpp_TypeInfo_var; extern Il2CppClass* Byte_t3683104436_il2cpp_TypeInfo_var; extern Il2CppClass* Int16_t4041245914_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* UInt16_t986882611_il2cpp_TypeInfo_var; extern Il2CppClass* UInt32_t2149682021_il2cpp_TypeInfo_var; extern Il2CppClass* Int64_t909078037_il2cpp_TypeInfo_var; extern Il2CppClass* UInt64_t2909196914_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029326; extern Il2CppCodeGenString* _stringLiteral811305474; extern const uint32_t Enum_FormatFlags_m2752609772_MetadataUsageId; extern "C" String_t* Enum_FormatFlags_m2752609772 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, Il2CppObject * ___value1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_FormatFlags_m2752609772_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; MonoEnumInfo_t2335995564 V_1; memset(&V_1, 0, sizeof(V_1)); String_t* V_2 = NULL; int8_t V_3 = 0x0; int8_t V_4 = 0x0; int32_t V_5 = 0; uint8_t V_6 = 0x0; uint8_t V_7 = 0x0; int32_t V_8 = 0; int16_t V_9 = 0; int16_t V_10 = 0; int32_t V_11 = 0; int32_t V_12 = 0; int32_t V_13 = 0; int32_t V_14 = 0; uint16_t V_15 = 0; uint16_t V_16 = 0; int32_t V_17 = 0; uint32_t V_18 = 0; uint32_t V_19 = 0; int32_t V_20 = 0; int64_t V_21 = 0; int64_t V_22 = 0; int32_t V_23 = 0; uint64_t V_24 = 0; uint64_t V_25 = 0; int32_t V_26 = 0; int32_t V_27 = 0; String_t* G_B12_0 = NULL; String_t* G_B11_0 = NULL; String_t* G_B13_0 = NULL; String_t* G_B13_1 = NULL; String_t* G_B25_0 = NULL; String_t* G_B24_0 = NULL; String_t* G_B26_0 = NULL; String_t* G_B26_1 = NULL; String_t* G_B38_0 = NULL; String_t* G_B37_0 = NULL; String_t* G_B39_0 = NULL; String_t* G_B39_1 = NULL; String_t* G_B51_0 = NULL; String_t* G_B50_0 = NULL; String_t* G_B52_0 = NULL; String_t* G_B52_1 = NULL; String_t* G_B64_0 = NULL; String_t* G_B63_0 = NULL; String_t* G_B65_0 = NULL; String_t* G_B65_1 = NULL; String_t* G_B77_0 = NULL; String_t* G_B76_0 = NULL; String_t* G_B78_0 = NULL; String_t* G_B78_1 = NULL; String_t* G_B90_0 = NULL; String_t* G_B89_0 = NULL; String_t* G_B91_0 = NULL; String_t* G_B91_1 = NULL; String_t* G_B103_0 = NULL; String_t* G_B102_0 = NULL; String_t* G_B104_0 = NULL; String_t* G_B104_1 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_0 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); V_0 = L_0; Type_t * L_1 = ___enumType0; IL2CPP_RUNTIME_CLASS_INIT(MonoEnumInfo_t2335995564_il2cpp_TypeInfo_var); MonoEnumInfo_GetInfo_m899954493(NULL /*static, unused*/, L_1, (&V_1), /*hidden argument*/NULL); Il2CppObject * L_2 = ___value1; String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_2); V_2 = L_3; String_t* L_4 = V_2; bool L_5 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_4, _stringLiteral372029326, /*hidden argument*/NULL); if (!L_5) { goto IL_0037; } } { Type_t * L_6 = ___enumType0; Il2CppObject * L_7 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); String_t* L_8 = Enum_GetName_m1226611481(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); V_0 = L_8; String_t* L_9 = V_0; if (L_9) { goto IL_0035; } } { String_t* L_10 = V_2; V_0 = L_10; } IL_0035: { String_t* L_11 = V_0; return L_11; } IL_0037: { Il2CppArray * L_12 = (&V_1)->get_values_1(); Il2CppObject * L_13 = Array_GetValue_m3284370071(L_12, 0, /*hidden argument*/NULL); int32_t L_14 = Enum_GetTypeCode_m149067422(((Enum_t2459695545 *)CastclassClass(L_13, Enum_t2459695545_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); V_27 = L_14; int32_t L_15 = V_27; if (((int32_t)((int32_t)L_15-(int32_t)5)) == 0) { goto IL_007e; } if (((int32_t)((int32_t)L_15-(int32_t)5)) == 1) { goto IL_011e; } if (((int32_t)((int32_t)L_15-(int32_t)5)) == 2) { goto IL_01bc; } if (((int32_t)((int32_t)L_15-(int32_t)5)) == 3) { goto IL_02f7; } if (((int32_t)((int32_t)L_15-(int32_t)5)) == 4) { goto IL_025a; } if (((int32_t)((int32_t)L_15-(int32_t)5)) == 5) { goto IL_0395; } if (((int32_t)((int32_t)L_15-(int32_t)5)) == 6) { goto IL_0432; } if (((int32_t)((int32_t)L_15-(int32_t)5)) == 7) { goto IL_04cf; } } { goto IL_056c; } IL_007e: { Il2CppObject * L_16 = ___value1; V_3 = ((*(int8_t*)((int8_t*)UnBox (L_16, SByte_t454417549_il2cpp_TypeInfo_var)))); Il2CppArray * L_17 = (&V_1)->get_values_1(); int32_t L_18 = Array_get_Length_m1498215565(L_17, /*hidden argument*/NULL); V_5 = ((int32_t)((int32_t)L_18-(int32_t)1)); goto IL_0108; } IL_009a: { Il2CppArray * L_19 = (&V_1)->get_values_1(); int32_t L_20 = V_5; Il2CppObject * L_21 = Array_GetValue_m3284370071(L_19, L_20, /*hidden argument*/NULL); V_4 = ((*(int8_t*)((int8_t*)UnBox (L_21, SByte_t454417549_il2cpp_TypeInfo_var)))); int8_t L_22 = V_4; if ((((int32_t)((int32_t)L_22)))) { goto IL_00bc; } } { goto IL_0102; } IL_00bc: { int8_t L_23 = V_3; int8_t L_24 = V_4; int8_t L_25 = V_4; if ((!(((uint32_t)((int32_t)((int32_t)(((int32_t)((int32_t)L_23)))&(int32_t)(((int32_t)((int32_t)L_24)))))) == ((uint32_t)(((int32_t)((int32_t)L_25))))))) { goto IL_0102; } } { StringU5BU5D_t1642385972* L_26 = (&V_1)->get_names_2(); int32_t L_27 = V_5; int32_t L_28 = L_27; String_t* L_29 = (L_26)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_28)); String_t* L_30 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_31 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_32 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_30, L_31, /*hidden argument*/NULL); G_B11_0 = L_29; if (!L_32) { G_B12_0 = L_29; goto IL_00ee; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_33 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); G_B13_0 = L_33; G_B13_1 = G_B11_0; goto IL_00f3; } IL_00ee: { G_B13_0 = _stringLiteral811305474; G_B13_1 = G_B12_0; } IL_00f3: { String_t* L_34 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_35 = String_Concat_m612901809(NULL /*static, unused*/, G_B13_1, G_B13_0, L_34, /*hidden argument*/NULL); V_0 = L_35; int8_t L_36 = V_3; int8_t L_37 = V_4; V_3 = (((int8_t)((int8_t)((int32_t)((int32_t)(((int32_t)((int32_t)L_36)))-(int32_t)(((int32_t)((int32_t)L_37)))))))); } IL_0102: { int32_t L_38 = V_5; V_5 = ((int32_t)((int32_t)L_38-(int32_t)1)); } IL_0108: { int32_t L_39 = V_5; if ((((int32_t)L_39) >= ((int32_t)0))) { goto IL_009a; } } { int8_t L_40 = V_3; if (!(((int32_t)((int32_t)L_40)))) { goto IL_0119; } } { String_t* L_41 = V_2; return L_41; } IL_0119: { goto IL_056c; } IL_011e: { Il2CppObject * L_42 = ___value1; V_6 = ((*(uint8_t*)((uint8_t*)UnBox (L_42, Byte_t3683104436_il2cpp_TypeInfo_var)))); Il2CppArray * L_43 = (&V_1)->get_values_1(); int32_t L_44 = Array_get_Length_m1498215565(L_43, /*hidden argument*/NULL); V_8 = ((int32_t)((int32_t)L_44-(int32_t)1)); goto IL_01a6; } IL_013b: { Il2CppArray * L_45 = (&V_1)->get_values_1(); int32_t L_46 = V_8; Il2CppObject * L_47 = Array_GetValue_m3284370071(L_45, L_46, /*hidden argument*/NULL); V_7 = ((*(uint8_t*)((uint8_t*)UnBox (L_47, Byte_t3683104436_il2cpp_TypeInfo_var)))); uint8_t L_48 = V_7; if (L_48) { goto IL_015c; } } { goto IL_01a0; } IL_015c: { uint8_t L_49 = V_6; uint8_t L_50 = V_7; uint8_t L_51 = V_7; if ((!(((uint32_t)((int32_t)((int32_t)L_49&(int32_t)L_50))) == ((uint32_t)L_51)))) { goto IL_01a0; } } { StringU5BU5D_t1642385972* L_52 = (&V_1)->get_names_2(); int32_t L_53 = V_8; int32_t L_54 = L_53; String_t* L_55 = (L_52)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_54)); String_t* L_56 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_57 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_58 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_56, L_57, /*hidden argument*/NULL); G_B24_0 = L_55; if (!L_58) { G_B25_0 = L_55; goto IL_018c; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_59 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); G_B26_0 = L_59; G_B26_1 = G_B24_0; goto IL_0191; } IL_018c: { G_B26_0 = _stringLiteral811305474; G_B26_1 = G_B25_0; } IL_0191: { String_t* L_60 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_61 = String_Concat_m612901809(NULL /*static, unused*/, G_B26_1, G_B26_0, L_60, /*hidden argument*/NULL); V_0 = L_61; uint8_t L_62 = V_6; uint8_t L_63 = V_7; V_6 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_62-(int32_t)L_63))))); } IL_01a0: { int32_t L_64 = V_8; V_8 = ((int32_t)((int32_t)L_64-(int32_t)1)); } IL_01a6: { int32_t L_65 = V_8; if ((((int32_t)L_65) >= ((int32_t)0))) { goto IL_013b; } } { uint8_t L_66 = V_6; if (!L_66) { goto IL_01b7; } } { String_t* L_67 = V_2; return L_67; } IL_01b7: { goto IL_056c; } IL_01bc: { Il2CppObject * L_68 = ___value1; V_9 = ((*(int16_t*)((int16_t*)UnBox (L_68, Int16_t4041245914_il2cpp_TypeInfo_var)))); Il2CppArray * L_69 = (&V_1)->get_values_1(); int32_t L_70 = Array_get_Length_m1498215565(L_69, /*hidden argument*/NULL); V_11 = ((int32_t)((int32_t)L_70-(int32_t)1)); goto IL_0244; } IL_01d9: { Il2CppArray * L_71 = (&V_1)->get_values_1(); int32_t L_72 = V_11; Il2CppObject * L_73 = Array_GetValue_m3284370071(L_71, L_72, /*hidden argument*/NULL); V_10 = ((*(int16_t*)((int16_t*)UnBox (L_73, Int16_t4041245914_il2cpp_TypeInfo_var)))); int16_t L_74 = V_10; if (L_74) { goto IL_01fa; } } { goto IL_023e; } IL_01fa: { int16_t L_75 = V_9; int16_t L_76 = V_10; int16_t L_77 = V_10; if ((!(((uint32_t)((int32_t)((int32_t)L_75&(int32_t)L_76))) == ((uint32_t)L_77)))) { goto IL_023e; } } { StringU5BU5D_t1642385972* L_78 = (&V_1)->get_names_2(); int32_t L_79 = V_11; int32_t L_80 = L_79; String_t* L_81 = (L_78)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_80)); String_t* L_82 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_83 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_84 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_82, L_83, /*hidden argument*/NULL); G_B37_0 = L_81; if (!L_84) { G_B38_0 = L_81; goto IL_022a; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_85 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); G_B39_0 = L_85; G_B39_1 = G_B37_0; goto IL_022f; } IL_022a: { G_B39_0 = _stringLiteral811305474; G_B39_1 = G_B38_0; } IL_022f: { String_t* L_86 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_87 = String_Concat_m612901809(NULL /*static, unused*/, G_B39_1, G_B39_0, L_86, /*hidden argument*/NULL); V_0 = L_87; int16_t L_88 = V_9; int16_t L_89 = V_10; V_9 = (((int16_t)((int16_t)((int32_t)((int32_t)L_88-(int32_t)L_89))))); } IL_023e: { int32_t L_90 = V_11; V_11 = ((int32_t)((int32_t)L_90-(int32_t)1)); } IL_0244: { int32_t L_91 = V_11; if ((((int32_t)L_91) >= ((int32_t)0))) { goto IL_01d9; } } { int16_t L_92 = V_9; if (!L_92) { goto IL_0255; } } { String_t* L_93 = V_2; return L_93; } IL_0255: { goto IL_056c; } IL_025a: { Il2CppObject * L_94 = ___value1; V_12 = ((*(int32_t*)((int32_t*)UnBox (L_94, Int32_t2071877448_il2cpp_TypeInfo_var)))); Il2CppArray * L_95 = (&V_1)->get_values_1(); int32_t L_96 = Array_get_Length_m1498215565(L_95, /*hidden argument*/NULL); V_14 = ((int32_t)((int32_t)L_96-(int32_t)1)); goto IL_02e1; } IL_0277: { Il2CppArray * L_97 = (&V_1)->get_values_1(); int32_t L_98 = V_14; Il2CppObject * L_99 = Array_GetValue_m3284370071(L_97, L_98, /*hidden argument*/NULL); V_13 = ((*(int32_t*)((int32_t*)UnBox (L_99, Int32_t2071877448_il2cpp_TypeInfo_var)))); int32_t L_100 = V_13; if (L_100) { goto IL_0298; } } { goto IL_02db; } IL_0298: { int32_t L_101 = V_12; int32_t L_102 = V_13; int32_t L_103 = V_13; if ((!(((uint32_t)((int32_t)((int32_t)L_101&(int32_t)L_102))) == ((uint32_t)L_103)))) { goto IL_02db; } } { StringU5BU5D_t1642385972* L_104 = (&V_1)->get_names_2(); int32_t L_105 = V_14; int32_t L_106 = L_105; String_t* L_107 = (L_104)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_106)); String_t* L_108 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_109 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_110 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_108, L_109, /*hidden argument*/NULL); G_B50_0 = L_107; if (!L_110) { G_B51_0 = L_107; goto IL_02c8; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_111 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); G_B52_0 = L_111; G_B52_1 = G_B50_0; goto IL_02cd; } IL_02c8: { G_B52_0 = _stringLiteral811305474; G_B52_1 = G_B51_0; } IL_02cd: { String_t* L_112 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_113 = String_Concat_m612901809(NULL /*static, unused*/, G_B52_1, G_B52_0, L_112, /*hidden argument*/NULL); V_0 = L_113; int32_t L_114 = V_12; int32_t L_115 = V_13; V_12 = ((int32_t)((int32_t)L_114-(int32_t)L_115)); } IL_02db: { int32_t L_116 = V_14; V_14 = ((int32_t)((int32_t)L_116-(int32_t)1)); } IL_02e1: { int32_t L_117 = V_14; if ((((int32_t)L_117) >= ((int32_t)0))) { goto IL_0277; } } { int32_t L_118 = V_12; if (!L_118) { goto IL_02f2; } } { String_t* L_119 = V_2; return L_119; } IL_02f2: { goto IL_056c; } IL_02f7: { Il2CppObject * L_120 = ___value1; V_15 = ((*(uint16_t*)((uint16_t*)UnBox (L_120, UInt16_t986882611_il2cpp_TypeInfo_var)))); Il2CppArray * L_121 = (&V_1)->get_values_1(); int32_t L_122 = Array_get_Length_m1498215565(L_121, /*hidden argument*/NULL); V_17 = ((int32_t)((int32_t)L_122-(int32_t)1)); goto IL_037f; } IL_0314: { Il2CppArray * L_123 = (&V_1)->get_values_1(); int32_t L_124 = V_17; Il2CppObject * L_125 = Array_GetValue_m3284370071(L_123, L_124, /*hidden argument*/NULL); V_16 = ((*(uint16_t*)((uint16_t*)UnBox (L_125, UInt16_t986882611_il2cpp_TypeInfo_var)))); uint16_t L_126 = V_16; if (L_126) { goto IL_0335; } } { goto IL_0379; } IL_0335: { uint16_t L_127 = V_15; uint16_t L_128 = V_16; uint16_t L_129 = V_16; if ((!(((uint32_t)((int32_t)((int32_t)L_127&(int32_t)L_128))) == ((uint32_t)L_129)))) { goto IL_0379; } } { StringU5BU5D_t1642385972* L_130 = (&V_1)->get_names_2(); int32_t L_131 = V_17; int32_t L_132 = L_131; String_t* L_133 = (L_130)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_132)); String_t* L_134 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_135 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_136 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_134, L_135, /*hidden argument*/NULL); G_B63_0 = L_133; if (!L_136) { G_B64_0 = L_133; goto IL_0365; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_137 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); G_B65_0 = L_137; G_B65_1 = G_B63_0; goto IL_036a; } IL_0365: { G_B65_0 = _stringLiteral811305474; G_B65_1 = G_B64_0; } IL_036a: { String_t* L_138 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_139 = String_Concat_m612901809(NULL /*static, unused*/, G_B65_1, G_B65_0, L_138, /*hidden argument*/NULL); V_0 = L_139; uint16_t L_140 = V_15; uint16_t L_141 = V_16; V_15 = (((int32_t)((uint16_t)((int32_t)((int32_t)L_140-(int32_t)L_141))))); } IL_0379: { int32_t L_142 = V_17; V_17 = ((int32_t)((int32_t)L_142-(int32_t)1)); } IL_037f: { int32_t L_143 = V_17; if ((((int32_t)L_143) >= ((int32_t)0))) { goto IL_0314; } } { uint16_t L_144 = V_15; if (!L_144) { goto IL_0390; } } { String_t* L_145 = V_2; return L_145; } IL_0390: { goto IL_056c; } IL_0395: { Il2CppObject * L_146 = ___value1; V_18 = ((*(uint32_t*)((uint32_t*)UnBox (L_146, UInt32_t2149682021_il2cpp_TypeInfo_var)))); Il2CppArray * L_147 = (&V_1)->get_values_1(); int32_t L_148 = Array_get_Length_m1498215565(L_147, /*hidden argument*/NULL); V_20 = ((int32_t)((int32_t)L_148-(int32_t)1)); goto IL_041c; } IL_03b2: { Il2CppArray * L_149 = (&V_1)->get_values_1(); int32_t L_150 = V_20; Il2CppObject * L_151 = Array_GetValue_m3284370071(L_149, L_150, /*hidden argument*/NULL); V_19 = ((*(uint32_t*)((uint32_t*)UnBox (L_151, UInt32_t2149682021_il2cpp_TypeInfo_var)))); uint32_t L_152 = V_19; if (L_152) { goto IL_03d3; } } { goto IL_0416; } IL_03d3: { uint32_t L_153 = V_18; uint32_t L_154 = V_19; uint32_t L_155 = V_19; if ((!(((uint32_t)((int32_t)((int32_t)L_153&(int32_t)L_154))) == ((uint32_t)L_155)))) { goto IL_0416; } } { StringU5BU5D_t1642385972* L_156 = (&V_1)->get_names_2(); int32_t L_157 = V_20; int32_t L_158 = L_157; String_t* L_159 = (L_156)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_158)); String_t* L_160 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_161 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_162 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_160, L_161, /*hidden argument*/NULL); G_B76_0 = L_159; if (!L_162) { G_B77_0 = L_159; goto IL_0403; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_163 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); G_B78_0 = L_163; G_B78_1 = G_B76_0; goto IL_0408; } IL_0403: { G_B78_0 = _stringLiteral811305474; G_B78_1 = G_B77_0; } IL_0408: { String_t* L_164 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_165 = String_Concat_m612901809(NULL /*static, unused*/, G_B78_1, G_B78_0, L_164, /*hidden argument*/NULL); V_0 = L_165; uint32_t L_166 = V_18; uint32_t L_167 = V_19; V_18 = ((int32_t)((int32_t)L_166-(int32_t)L_167)); } IL_0416: { int32_t L_168 = V_20; V_20 = ((int32_t)((int32_t)L_168-(int32_t)1)); } IL_041c: { int32_t L_169 = V_20; if ((((int32_t)L_169) >= ((int32_t)0))) { goto IL_03b2; } } { uint32_t L_170 = V_18; if (!L_170) { goto IL_042d; } } { String_t* L_171 = V_2; return L_171; } IL_042d: { goto IL_056c; } IL_0432: { Il2CppObject * L_172 = ___value1; V_21 = ((*(int64_t*)((int64_t*)UnBox (L_172, Int64_t909078037_il2cpp_TypeInfo_var)))); Il2CppArray * L_173 = (&V_1)->get_values_1(); int32_t L_174 = Array_get_Length_m1498215565(L_173, /*hidden argument*/NULL); V_23 = ((int32_t)((int32_t)L_174-(int32_t)1)); goto IL_04b9; } IL_044f: { Il2CppArray * L_175 = (&V_1)->get_values_1(); int32_t L_176 = V_23; Il2CppObject * L_177 = Array_GetValue_m3284370071(L_175, L_176, /*hidden argument*/NULL); V_22 = ((*(int64_t*)((int64_t*)UnBox (L_177, Int64_t909078037_il2cpp_TypeInfo_var)))); int64_t L_178 = V_22; if (L_178) { goto IL_0470; } } { goto IL_04b3; } IL_0470: { int64_t L_179 = V_21; int64_t L_180 = V_22; int64_t L_181 = V_22; if ((!(((uint64_t)((int64_t)((int64_t)L_179&(int64_t)L_180))) == ((uint64_t)L_181)))) { goto IL_04b3; } } { StringU5BU5D_t1642385972* L_182 = (&V_1)->get_names_2(); int32_t L_183 = V_23; int32_t L_184 = L_183; String_t* L_185 = (L_182)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_184)); String_t* L_186 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_187 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_188 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_186, L_187, /*hidden argument*/NULL); G_B89_0 = L_185; if (!L_188) { G_B90_0 = L_185; goto IL_04a0; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_189 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); G_B91_0 = L_189; G_B91_1 = G_B89_0; goto IL_04a5; } IL_04a0: { G_B91_0 = _stringLiteral811305474; G_B91_1 = G_B90_0; } IL_04a5: { String_t* L_190 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_191 = String_Concat_m612901809(NULL /*static, unused*/, G_B91_1, G_B91_0, L_190, /*hidden argument*/NULL); V_0 = L_191; int64_t L_192 = V_21; int64_t L_193 = V_22; V_21 = ((int64_t)((int64_t)L_192-(int64_t)L_193)); } IL_04b3: { int32_t L_194 = V_23; V_23 = ((int32_t)((int32_t)L_194-(int32_t)1)); } IL_04b9: { int32_t L_195 = V_23; if ((((int32_t)L_195) >= ((int32_t)0))) { goto IL_044f; } } { int64_t L_196 = V_21; if (!L_196) { goto IL_04ca; } } { String_t* L_197 = V_2; return L_197; } IL_04ca: { goto IL_056c; } IL_04cf: { Il2CppObject * L_198 = ___value1; V_24 = ((*(uint64_t*)((uint64_t*)UnBox (L_198, UInt64_t2909196914_il2cpp_TypeInfo_var)))); Il2CppArray * L_199 = (&V_1)->get_values_1(); int32_t L_200 = Array_get_Length_m1498215565(L_199, /*hidden argument*/NULL); V_26 = ((int32_t)((int32_t)L_200-(int32_t)1)); goto IL_0556; } IL_04ec: { Il2CppArray * L_201 = (&V_1)->get_values_1(); int32_t L_202 = V_26; Il2CppObject * L_203 = Array_GetValue_m3284370071(L_201, L_202, /*hidden argument*/NULL); V_25 = ((*(uint64_t*)((uint64_t*)UnBox (L_203, UInt64_t2909196914_il2cpp_TypeInfo_var)))); uint64_t L_204 = V_25; if (L_204) { goto IL_050d; } } { goto IL_0550; } IL_050d: { uint64_t L_205 = V_24; uint64_t L_206 = V_25; uint64_t L_207 = V_25; if ((!(((uint64_t)((int64_t)((int64_t)L_205&(int64_t)L_206))) == ((uint64_t)L_207)))) { goto IL_0550; } } { StringU5BU5D_t1642385972* L_208 = (&V_1)->get_names_2(); int32_t L_209 = V_26; int32_t L_210 = L_209; String_t* L_211 = (L_208)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_210)); String_t* L_212 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_213 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_214 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_212, L_213, /*hidden argument*/NULL); G_B102_0 = L_211; if (!L_214) { G_B103_0 = L_211; goto IL_053d; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_215 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); G_B104_0 = L_215; G_B104_1 = G_B102_0; goto IL_0542; } IL_053d: { G_B104_0 = _stringLiteral811305474; G_B104_1 = G_B103_0; } IL_0542: { String_t* L_216 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_217 = String_Concat_m612901809(NULL /*static, unused*/, G_B104_1, G_B104_0, L_216, /*hidden argument*/NULL); V_0 = L_217; uint64_t L_218 = V_24; uint64_t L_219 = V_25; V_24 = ((int64_t)((int64_t)L_218-(int64_t)L_219)); } IL_0550: { int32_t L_220 = V_26; V_26 = ((int32_t)((int32_t)L_220-(int32_t)1)); } IL_0556: { int32_t L_221 = V_26; if ((((int32_t)L_221) >= ((int32_t)0))) { goto IL_04ec; } } { uint64_t L_222 = V_24; if (!L_222) { goto IL_0567; } } { String_t* L_223 = V_2; return L_223; } IL_0567: { goto IL_056c; } IL_056c: { String_t* L_224 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_225 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_226 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_224, L_225, /*hidden argument*/NULL); if (!L_226) { goto IL_057e; } } { String_t* L_227 = V_2; return L_227; } IL_057e: { String_t* L_228 = V_0; return L_228; } } // System.String System.Enum::Format(System.Type,System.Object,System.String) extern const Il2CppType* FlagsAttribute_t859561169_0_0_0_var; extern const Il2CppType* UInt64_t2909196914_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* Enum_t2459695545_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2585149747; extern Il2CppCodeGenString* _stringLiteral1803325615; extern Il2CppCodeGenString* _stringLiteral1334200623; extern Il2CppCodeGenString* _stringLiteral1493249126; extern Il2CppCodeGenString* _stringLiteral3980953650; extern Il2CppCodeGenString* _stringLiteral2132846484; extern Il2CppCodeGenString* _stringLiteral4090604568; extern const uint32_t Enum_Format_m2294492821_MetadataUsageId; extern "C" String_t* Enum_Format_m2294492821 (Il2CppObject * __this /* static, unused */, Type_t * ___enumType0, Il2CppObject * ___value1, String_t* ___format2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Enum_Format_m2294492821_MetadataUsageId); s_Il2CppMethodInitialized = true; } Type_t * V_0 = NULL; Type_t * V_1 = NULL; Il2CppChar V_2 = 0x0; String_t* V_3 = NULL; uint64_t V_4 = 0; int64_t V_5 = 0; Il2CppChar V_6 = 0x0; { Type_t * L_0 = ___enumType0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { Il2CppObject * L_2 = ___value1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { String_t* L_4 = ___format2; if (L_4) { goto IL_0033; } } { ArgumentNullException_t628810857 * L_5 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_5, _stringLiteral1334200623, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0033: { Type_t * L_6 = ___enumType0; bool L_7 = Type_get_IsEnum_m313908919(L_6, /*hidden argument*/NULL); if (L_7) { goto IL_004e; } } { ArgumentException_t3259014390 * L_8 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_8, _stringLiteral1493249126, _stringLiteral2585149747, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_8); } IL_004e: { Il2CppObject * L_9 = ___value1; Type_t * L_10 = Object_GetType_m191970594(L_9, /*hidden argument*/NULL); V_0 = L_10; Type_t * L_11 = ___enumType0; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); Type_t * L_12 = Enum_GetUnderlyingType_m3513899012(NULL /*static, unused*/, L_11, /*hidden argument*/NULL); V_1 = L_12; Type_t * L_13 = V_0; bool L_14 = Type_get_IsEnum_m313908919(L_13, /*hidden argument*/NULL); if (!L_14) { goto IL_00a0; } } { Type_t * L_15 = V_0; Type_t * L_16 = ___enumType0; if ((((Il2CppObject*)(Type_t *)L_15) == ((Il2CppObject*)(Type_t *)L_16))) { goto IL_009b; } } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_17 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); ObjectU5BU5D_t3614634134* L_18 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)2)); Type_t * L_19 = V_0; String_t* L_20 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_19); ArrayElementTypeCheck (L_18, L_20); (L_18)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_20); ObjectU5BU5D_t3614634134* L_21 = L_18; Type_t * L_22 = ___enumType0; String_t* L_23 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_22); ArrayElementTypeCheck (L_21, L_23); (L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_23); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_24 = String_Format_m876527052(NULL /*static, unused*/, L_17, _stringLiteral3980953650, L_21, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_25 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_25, L_24, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_25); } IL_009b: { goto IL_00d4; } IL_00a0: { Type_t * L_26 = V_0; Type_t * L_27 = V_1; if ((((Il2CppObject*)(Type_t *)L_26) == ((Il2CppObject*)(Type_t *)L_27))) { goto IL_00d4; } } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_28 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); ObjectU5BU5D_t3614634134* L_29 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)2)); Type_t * L_30 = V_0; String_t* L_31 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_30); ArrayElementTypeCheck (L_29, L_31); (L_29)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_31); ObjectU5BU5D_t3614634134* L_32 = L_29; Type_t * L_33 = V_1; String_t* L_34 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_33); ArrayElementTypeCheck (L_32, L_34); (L_32)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_34); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_35 = String_Format_m876527052(NULL /*static, unused*/, L_28, _stringLiteral2132846484, L_32, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_36 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_36, L_35, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_36); } IL_00d4: { String_t* L_37 = ___format2; int32_t L_38 = String_get_Length_m1606060069(L_37, /*hidden argument*/NULL); if ((((int32_t)L_38) == ((int32_t)1))) { goto IL_00eb; } } { FormatException_t2948921286 * L_39 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_39, _stringLiteral4090604568, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_39); } IL_00eb: { String_t* L_40 = ___format2; Il2CppChar L_41 = String_get_Chars_m4230566705(L_40, 0, /*hidden argument*/NULL); V_2 = L_41; Il2CppChar L_42 = V_2; if ((((int32_t)L_42) == ((int32_t)((int32_t)71)))) { goto IL_0103; } } { Il2CppChar L_43 = V_2; if ((!(((uint32_t)L_43) == ((uint32_t)((int32_t)103))))) { goto IL_0133; } } IL_0103: { Type_t * L_44 = ___enumType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_45 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(FlagsAttribute_t859561169_0_0_0_var), /*hidden argument*/NULL); bool L_46 = VirtFuncInvoker2< bool, Type_t *, bool >::Invoke(11 /* System.Boolean System.Reflection.MemberInfo::IsDefined(System.Type,System.Boolean) */, L_44, L_45, (bool)0); if (L_46) { goto IL_0130; } } { Type_t * L_47 = ___enumType0; Il2CppObject * L_48 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); String_t* L_49 = Enum_GetName_m1226611481(NULL /*static, unused*/, L_47, L_48, /*hidden argument*/NULL); V_3 = L_49; String_t* L_50 = V_3; if (L_50) { goto IL_012e; } } { Il2CppObject * L_51 = ___value1; String_t* L_52 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_51); V_3 = L_52; } IL_012e: { String_t* L_53 = V_3; return L_53; } IL_0130: { V_2 = ((int32_t)102); } IL_0133: { Il2CppChar L_54 = V_2; if ((((int32_t)L_54) == ((int32_t)((int32_t)102)))) { goto IL_0143; } } { Il2CppChar L_55 = V_2; if ((!(((uint32_t)L_55) == ((uint32_t)((int32_t)70))))) { goto IL_014b; } } IL_0143: { Type_t * L_56 = ___enumType0; Il2CppObject * L_57 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); String_t* L_58 = Enum_FormatFlags_m2752609772(NULL /*static, unused*/, L_56, L_57, /*hidden argument*/NULL); return L_58; } IL_014b: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_59 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); V_3 = L_59; Il2CppChar L_60 = V_2; V_6 = L_60; Il2CppChar L_61 = V_6; if ((((int32_t)L_61) == ((int32_t)((int32_t)68)))) { goto IL_0199; } } { Il2CppChar L_62 = V_6; if ((((int32_t)L_62) == ((int32_t)((int32_t)88)))) { goto IL_017d; } } { Il2CppChar L_63 = V_6; if ((((int32_t)L_63) == ((int32_t)((int32_t)100)))) { goto IL_0199; } } { Il2CppChar L_64 = V_6; if ((((int32_t)L_64) == ((int32_t)((int32_t)120)))) { goto IL_018b; } } { goto IL_01d3; } IL_017d: { Type_t * L_65 = ___enumType0; Il2CppObject * L_66 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); String_t* L_67 = Enum_FormatSpecifier_X_m1025568603(NULL /*static, unused*/, L_65, L_66, (bool)1, /*hidden argument*/NULL); V_3 = L_67; goto IL_01de; } IL_018b: { Type_t * L_68 = ___enumType0; Il2CppObject * L_69 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Enum_t2459695545_il2cpp_TypeInfo_var); String_t* L_70 = Enum_FormatSpecifier_X_m1025568603(NULL /*static, unused*/, L_68, L_69, (bool)0, /*hidden argument*/NULL); V_3 = L_70; goto IL_01de; } IL_0199: { Type_t * L_71 = V_1; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_72 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(UInt64_t2909196914_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_71) == ((Il2CppObject*)(Type_t *)L_72)))) { goto IL_01be; } } { Il2CppObject * L_73 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); uint64_t L_74 = Convert_ToUInt64_m1896191125(NULL /*static, unused*/, L_73, /*hidden argument*/NULL); V_4 = L_74; String_t* L_75 = UInt64_ToString_m446228920((&V_4), /*hidden argument*/NULL); V_3 = L_75; goto IL_01ce; } IL_01be: { Il2CppObject * L_76 = ___value1; IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var); int64_t L_77 = Convert_ToInt64_m954367741(NULL /*static, unused*/, L_76, /*hidden argument*/NULL); V_5 = L_77; String_t* L_78 = Int64_ToString_m689375889((&V_5), /*hidden argument*/NULL); V_3 = L_78; } IL_01ce: { goto IL_01de; } IL_01d3: { FormatException_t2948921286 * L_79 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var); FormatException__ctor_m1466217969(L_79, _stringLiteral4090604568, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_79); } IL_01de: { String_t* L_80 = V_3; return L_80; } } // Conversion methods for marshalling of: System.Enum extern "C" void Enum_t2459695545_marshal_pinvoke(const Enum_t2459695545& unmarshaled, Enum_t2459695545_marshaled_pinvoke& marshaled) { } extern "C" void Enum_t2459695545_marshal_pinvoke_back(const Enum_t2459695545_marshaled_pinvoke& marshaled, Enum_t2459695545& unmarshaled) { } // Conversion method for clean up from marshalling of: System.Enum extern "C" void Enum_t2459695545_marshal_pinvoke_cleanup(Enum_t2459695545_marshaled_pinvoke& marshaled) { } // Conversion methods for marshalling of: System.Enum extern "C" void Enum_t2459695545_marshal_com(const Enum_t2459695545& unmarshaled, Enum_t2459695545_marshaled_com& marshaled) { } extern "C" void Enum_t2459695545_marshal_com_back(const Enum_t2459695545_marshaled_com& marshaled, Enum_t2459695545& unmarshaled) { } // Conversion method for clean up from marshalling of: System.Enum extern "C" void Enum_t2459695545_marshal_com_cleanup(Enum_t2459695545_marshaled_com& marshaled) { } // System.Boolean System.Environment::get_SocketSecurityEnabled() extern "C" bool Environment_get_SocketSecurityEnabled_m1758378561 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { using namespace il2cpp::icalls; typedef bool (*Environment_get_SocketSecurityEnabled_m1758378561_ftn) (); return ((Environment_get_SocketSecurityEnabled_m1758378561_ftn)mscorlib::System::Environment::get_SocketSecurityEnabled) (); } // System.String System.Environment::get_NewLine() extern "C" String_t* Environment_get_NewLine_m266316410 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { using namespace il2cpp::icalls; typedef String_t* (*Environment_get_NewLine_m266316410_ftn) (); return ((Environment_get_NewLine_m266316410_ftn)mscorlib::System::Environment::get_NewLine) (); } // System.PlatformID System.Environment::get_Platform() extern "C" int32_t Environment_get_Platform_m2874211026 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*Environment_get_Platform_m2874211026_ftn) (); return ((Environment_get_Platform_m2874211026_ftn)mscorlib::System::Environment::get_Platform) (); } // System.String System.Environment::GetOSVersionString() extern "C" String_t* Environment_GetOSVersionString_m3848984846 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { using namespace il2cpp::icalls; typedef String_t* (*Environment_GetOSVersionString_m3848984846_ftn) (); return ((Environment_GetOSVersionString_m3848984846_ftn)mscorlib::System::Environment::GetOSVersionString) (); } // System.OperatingSystem System.Environment::get_OSVersion() extern Il2CppClass* Environment_t3662374671_il2cpp_TypeInfo_var; extern Il2CppClass* OperatingSystem_t290860502_il2cpp_TypeInfo_var; extern const uint32_t Environment_get_OSVersion_m1247315981_MetadataUsageId; extern "C" OperatingSystem_t290860502 * Environment_get_OSVersion_m1247315981 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Environment_get_OSVersion_m1247315981_MetadataUsageId); s_Il2CppMethodInitialized = true; } Version_t1755874712 * V_0 = NULL; int32_t V_1 = 0; { OperatingSystem_t290860502 * L_0 = ((Environment_t3662374671_StaticFields*)Environment_t3662374671_il2cpp_TypeInfo_var->static_fields)->get_os_1(); if (L_0) { goto IL_0027; } } { String_t* L_1 = Environment_GetOSVersionString_m3848984846(NULL /*static, unused*/, /*hidden argument*/NULL); Version_t1755874712 * L_2 = Version_CreateFromString_m3879424010(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); V_0 = L_2; int32_t L_3 = Environment_get_Platform_m2874211026(NULL /*static, unused*/, /*hidden argument*/NULL); V_1 = L_3; int32_t L_4 = V_1; Version_t1755874712 * L_5 = V_0; OperatingSystem_t290860502 * L_6 = (OperatingSystem_t290860502 *)il2cpp_codegen_object_new(OperatingSystem_t290860502_il2cpp_TypeInfo_var); OperatingSystem__ctor_m988315539(L_6, L_4, L_5, /*hidden argument*/NULL); ((Environment_t3662374671_StaticFields*)Environment_t3662374671_il2cpp_TypeInfo_var->static_fields)->set_os_1(L_6); } IL_0027: { OperatingSystem_t290860502 * L_7 = ((Environment_t3662374671_StaticFields*)Environment_t3662374671_il2cpp_TypeInfo_var->static_fields)->get_os_1(); return L_7; } } // System.String System.Environment::internalGetEnvironmentVariable(System.String) extern "C" String_t* Environment_internalGetEnvironmentVariable_m793691779 (Il2CppObject * __this /* static, unused */, String_t* ___variable0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef String_t* (*Environment_internalGetEnvironmentVariable_m793691779_ftn) (String_t*); return ((Environment_internalGetEnvironmentVariable_m793691779_ftn)mscorlib::System::Environment::internalGetEnvironmentVariable) (___variable0); } // System.String System.Environment::GetEnvironmentVariable(System.String) extern "C" String_t* Environment_GetEnvironmentVariable_m4292917946 (Il2CppObject * __this /* static, unused */, String_t* ___variable0, const MethodInfo* method) { { String_t* L_0 = ___variable0; String_t* L_1 = Environment_internalGetEnvironmentVariable_m793691779(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return L_1; } } // System.String System.Environment::GetWindowsFolderPath(System.Int32) extern "C" String_t* Environment_GetWindowsFolderPath_m1236279486 (Il2CppObject * __this /* static, unused */, int32_t ___folder0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef String_t* (*Environment_GetWindowsFolderPath_m1236279486_ftn) (int32_t); return ((Environment_GetWindowsFolderPath_m1236279486_ftn)mscorlib::System::Environment::GetWindowsFolderPath) (___folder0); } // System.String System.Environment::GetFolderPath(System.Environment/SpecialFolder) extern "C" String_t* Environment_GetFolderPath_m1849163024 (Il2CppObject * __this /* static, unused */, int32_t ___folder0, const MethodInfo* method) { String_t* V_0 = NULL; { V_0 = (String_t*)NULL; bool L_0 = Environment_get_IsRunningOnWindows_m2990729574(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_0) { goto IL_0018; } } { int32_t L_1 = ___folder0; String_t* L_2 = Environment_GetWindowsFolderPath_m1236279486(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); V_0 = L_2; goto IL_001f; } IL_0018: { int32_t L_3 = ___folder0; String_t* L_4 = Environment_InternalGetFolderPath_m2949665159(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); V_0 = L_4; } IL_001f: { String_t* L_5 = V_0; return L_5; } } // System.String System.Environment::ReadXdgUserDir(System.String,System.String,System.String,System.String) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Path_t41728875_il2cpp_TypeInfo_var; extern Il2CppClass* StreamReader_t2360341767_il2cpp_TypeInfo_var; extern Il2CppClass* CharU5BU5D_t1328083999_il2cpp_TypeInfo_var; extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var; extern Il2CppClass* FileNotFoundException_t4200667904_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2003549458; extern Il2CppCodeGenString* _stringLiteral1382612534; extern Il2CppCodeGenString* _stringLiteral372029315; extern const uint32_t Environment_ReadXdgUserDir_m3426336950_MetadataUsageId; extern "C" String_t* Environment_ReadXdgUserDir_m3426336950 (Il2CppObject * __this /* static, unused */, String_t* ___config_dir0, String_t* ___home_dir1, String_t* ___key2, String_t* ___fallback3, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Environment_ReadXdgUserDir_m3426336950_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; String_t* V_1 = NULL; StreamReader_t2360341767 * V_2 = NULL; String_t* V_3 = NULL; int32_t V_4 = 0; String_t* V_5 = NULL; bool V_6 = false; String_t* V_7 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); String_t* G_B16_0 = NULL; { String_t* L_0 = ___key2; String_t* L_1 = Environment_internalGetEnvironmentVariable_m793691779(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; String_t* L_2 = V_0; if (!L_2) { goto IL_001f; } } { String_t* L_3 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_4 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_5 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_001f; } } { String_t* L_6 = V_0; return L_6; } IL_001f: { String_t* L_7 = ___config_dir0; IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var); String_t* L_8 = Path_Combine_m3185811654(NULL /*static, unused*/, L_7, _stringLiteral2003549458, /*hidden argument*/NULL); V_1 = L_8; String_t* L_9 = V_1; bool L_10 = File_Exists_m1685968367(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); if (L_10) { goto IL_003e; } } { String_t* L_11 = ___home_dir1; String_t* L_12 = ___fallback3; IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var); String_t* L_13 = Path_Combine_m3185811654(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL); return L_13; } IL_003e: try { // begin try (depth: 1) { String_t* L_14 = V_1; StreamReader_t2360341767 * L_15 = (StreamReader_t2360341767 *)il2cpp_codegen_object_new(StreamReader_t2360341767_il2cpp_TypeInfo_var); StreamReader__ctor_m3454466728(L_15, L_14, /*hidden argument*/NULL); V_2 = L_15; } IL_0045: try { // begin try (depth: 2) { goto IL_00ea; } IL_004a: { String_t* L_16 = V_3; String_t* L_17 = String_Trim_m2668767713(L_16, /*hidden argument*/NULL); V_3 = L_17; String_t* L_18 = V_3; int32_t L_19 = String_IndexOf_m2358239236(L_18, ((int32_t)61), /*hidden argument*/NULL); V_4 = L_19; int32_t L_20 = V_4; if ((((int32_t)L_20) <= ((int32_t)8))) { goto IL_00ea; } } IL_0063: { String_t* L_21 = V_3; int32_t L_22 = V_4; String_t* L_23 = String_Substring_m12482732(L_21, 0, L_22, /*hidden argument*/NULL); String_t* L_24 = ___key2; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_25 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL); if (!L_25) { goto IL_00ea; } } IL_0077: { String_t* L_26 = V_3; int32_t L_27 = V_4; String_t* L_28 = String_Substring_m2032624251(L_26, ((int32_t)((int32_t)L_27+(int32_t)1)), /*hidden argument*/NULL); CharU5BU5D_t1328083999* L_29 = ((CharU5BU5D_t1328083999*)SZArrayNew(CharU5BU5D_t1328083999_il2cpp_TypeInfo_var, (uint32_t)1)); (L_29)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)34)); String_t* L_30 = String_Trim_m3982520224(L_28, L_29, /*hidden argument*/NULL); V_5 = L_30; V_6 = (bool)0; String_t* L_31 = V_5; bool L_32 = String_StartsWith_m1841920685(L_31, _stringLiteral1382612534, /*hidden argument*/NULL); if (!L_32) { goto IL_00b9; } } IL_00a7: { V_6 = (bool)1; String_t* L_33 = V_5; String_t* L_34 = String_Substring_m2032624251(L_33, 6, /*hidden argument*/NULL); V_5 = L_34; goto IL_00cd; } IL_00b9: { String_t* L_35 = V_5; bool L_36 = String_StartsWith_m1841920685(L_35, _stringLiteral372029315, /*hidden argument*/NULL); if (L_36) { goto IL_00cd; } } IL_00ca: { V_6 = (bool)1; } IL_00cd: { bool L_37 = V_6; if (!L_37) { goto IL_00e1; } } IL_00d4: { String_t* L_38 = ___home_dir1; String_t* L_39 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var); String_t* L_40 = Path_Combine_m3185811654(NULL /*static, unused*/, L_38, L_39, /*hidden argument*/NULL); G_B16_0 = L_40; goto IL_00e3; } IL_00e1: { String_t* L_41 = V_5; G_B16_0 = L_41; } IL_00e3: { V_7 = G_B16_0; IL2CPP_LEAVE(0x11C, FINALLY_00fc); } IL_00ea: { StreamReader_t2360341767 * L_42 = V_2; String_t* L_43 = VirtFuncInvoker0< String_t* >::Invoke(10 /* System.String System.IO.StreamReader::ReadLine() */, L_42); String_t* L_44 = L_43; V_3 = L_44; if (L_44) { goto IL_004a; } } IL_00f7: { IL2CPP_LEAVE(0x109, FINALLY_00fc); } } // end try (depth: 2) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_00fc; } FINALLY_00fc: { // begin finally (depth: 2) { StreamReader_t2360341767 * L_45 = V_2; if (!L_45) { goto IL_0108; } } IL_0102: { StreamReader_t2360341767 * L_46 = V_2; InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_46); } IL_0108: { IL2CPP_END_FINALLY(252) } } // end finally (depth: 2) IL2CPP_CLEANUP(252) { IL2CPP_JUMP_TBL(0x11C, IL_011c) IL2CPP_JUMP_TBL(0x109, IL_0109) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0109: { goto IL_0114; } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (FileNotFoundException_t4200667904_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_010e; throw e; } CATCH_010e: { // begin catch(System.IO.FileNotFoundException) goto IL_0114; } // end catch (depth: 1) IL_0114: { String_t* L_47 = ___home_dir1; String_t* L_48 = ___fallback3; IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var); String_t* L_49 = Path_Combine_m3185811654(NULL /*static, unused*/, L_47, L_48, /*hidden argument*/NULL); return L_49; } IL_011c: { String_t* L_50 = V_7; return L_50; } } // System.String System.Environment::InternalGetFolderPath(System.Environment/SpecialFolder) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Path_t41728875_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral303115974; extern Il2CppCodeGenString* _stringLiteral914453987; extern Il2CppCodeGenString* _stringLiteral869153773; extern Il2CppCodeGenString* _stringLiteral2872308020; extern Il2CppCodeGenString* _stringLiteral1342503082; extern Il2CppCodeGenString* _stringLiteral3119855852; extern Il2CppCodeGenString* _stringLiteral3882359914; extern Il2CppCodeGenString* _stringLiteral2555205525; extern Il2CppCodeGenString* _stringLiteral1527925909; extern Il2CppCodeGenString* _stringLiteral2812424851; extern Il2CppCodeGenString* _stringLiteral4286930051; extern Il2CppCodeGenString* _stringLiteral90935893; extern Il2CppCodeGenString* _stringLiteral511855470; extern const uint32_t Environment_InternalGetFolderPath_m2949665159_MetadataUsageId; extern "C" String_t* Environment_InternalGetFolderPath_m2949665159 (Il2CppObject * __this /* static, unused */, int32_t ___folder0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Environment_InternalGetFolderPath_m2949665159_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; String_t* V_1 = NULL; String_t* V_2 = NULL; int32_t V_3 = 0; { String_t* L_0 = Environment_internalGetHome_m264525465(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_0; String_t* L_1 = Environment_internalGetEnvironmentVariable_m793691779(NULL /*static, unused*/, _stringLiteral303115974, /*hidden argument*/NULL); V_1 = L_1; String_t* L_2 = V_1; if (!L_2) { goto IL_0027; } } { String_t* L_3 = V_1; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_4 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_5 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_003f; } } IL_0027: { String_t* L_6 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var); String_t* L_7 = Path_Combine_m3185811654(NULL /*static, unused*/, L_6, _stringLiteral914453987, /*hidden argument*/NULL); V_1 = L_7; String_t* L_8 = V_1; String_t* L_9 = Path_Combine_m3185811654(NULL /*static, unused*/, L_8, _stringLiteral869153773, /*hidden argument*/NULL); V_1 = L_9; } IL_003f: { String_t* L_10 = Environment_internalGetEnvironmentVariable_m793691779(NULL /*static, unused*/, _stringLiteral2872308020, /*hidden argument*/NULL); V_2 = L_10; String_t* L_11 = V_2; if (!L_11) { goto IL_0060; } } { String_t* L_12 = V_2; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_13 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_14 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL); if (!L_14) { goto IL_006c; } } IL_0060: { String_t* L_15 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var); String_t* L_16 = Path_Combine_m3185811654(NULL /*static, unused*/, L_15, _stringLiteral1342503082, /*hidden argument*/NULL); V_2 = L_16; } IL_006c: { int32_t L_17 = ___folder0; V_3 = L_17; int32_t L_18 = V_3; if (L_18 == 0) { goto IL_0135; } if (L_18 == 1) { goto IL_0177; } if (L_18 == 2) { goto IL_016b; } if (L_18 == 3) { goto IL_0177; } if (L_18 == 4) { goto IL_0177; } if (L_18 == 5) { goto IL_012f; } if (L_18 == 6) { goto IL_016b; } if (L_18 == 7) { goto IL_016b; } if (L_18 == 8) { goto IL_016b; } if (L_18 == 9) { goto IL_016b; } if (L_18 == 10) { goto IL_0177; } if (L_18 == 11) { goto IL_016b; } if (L_18 == 12) { goto IL_0177; } if (L_18 == 13) { goto IL_0147; } if (L_18 == 14) { goto IL_0177; } if (L_18 == 15) { goto IL_0177; } if (L_18 == 16) { goto IL_0135; } if (L_18 == 17) { goto IL_0129; } if (L_18 == 18) { goto IL_0177; } if (L_18 == 19) { goto IL_0177; } if (L_18 == 20) { goto IL_0177; } if (L_18 == 21) { goto IL_016b; } if (L_18 == 22) { goto IL_0177; } if (L_18 == 23) { goto IL_0177; } if (L_18 == 24) { goto IL_0177; } if (L_18 == 25) { goto IL_0177; } if (L_18 == 26) { goto IL_0131; } if (L_18 == 27) { goto IL_0177; } if (L_18 == 28) { goto IL_0133; } if (L_18 == 29) { goto IL_0177; } if (L_18 == 30) { goto IL_0177; } if (L_18 == 31) { goto IL_0177; } if (L_18 == 32) { goto IL_016b; } if (L_18 == 33) { goto IL_016b; } if (L_18 == 34) { goto IL_016b; } if (L_18 == 35) { goto IL_0171; } if (L_18 == 36) { goto IL_0177; } if (L_18 == 37) { goto IL_016b; } if (L_18 == 38) { goto IL_016b; } if (L_18 == 39) { goto IL_0159; } if (L_18 == 40) { goto IL_0177; } if (L_18 == 41) { goto IL_0177; } if (L_18 == 42) { goto IL_0177; } if (L_18 == 43) { goto IL_016b; } } { goto IL_0177; } IL_0129: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_19 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_19; } IL_012f: { String_t* L_20 = V_0; return L_20; } IL_0131: { String_t* L_21 = V_2; return L_21; } IL_0133: { String_t* L_22 = V_1; return L_22; } IL_0135: { String_t* L_23 = V_2; String_t* L_24 = V_0; String_t* L_25 = Environment_ReadXdgUserDir_m3426336950(NULL /*static, unused*/, L_23, L_24, _stringLiteral3119855852, _stringLiteral3882359914, /*hidden argument*/NULL); return L_25; } IL_0147: { String_t* L_26 = V_2; String_t* L_27 = V_0; String_t* L_28 = Environment_ReadXdgUserDir_m3426336950(NULL /*static, unused*/, L_26, L_27, _stringLiteral2555205525, _stringLiteral1527925909, /*hidden argument*/NULL); return L_28; } IL_0159: { String_t* L_29 = V_2; String_t* L_30 = V_0; String_t* L_31 = Environment_ReadXdgUserDir_m3426336950(NULL /*static, unused*/, L_29, L_30, _stringLiteral2812424851, _stringLiteral4286930051, /*hidden argument*/NULL); return L_31; } IL_016b: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_32 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_32; } IL_0171: { return _stringLiteral90935893; } IL_0177: { ArgumentException_t3259014390 * L_33 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_33, _stringLiteral511855470, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_33); } } // System.Boolean System.Environment::get_IsRunningOnWindows() extern "C" bool Environment_get_IsRunningOnWindows_m2990729574 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { { int32_t L_0 = Environment_get_Platform_m2874211026(NULL /*static, unused*/, /*hidden argument*/NULL); return (bool)((((int32_t)L_0) < ((int32_t)4))? 1 : 0); } } // System.String System.Environment::GetMachineConfigPath() extern "C" String_t* Environment_GetMachineConfigPath_m1118347127 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { using namespace il2cpp::icalls; typedef String_t* (*Environment_GetMachineConfigPath_m1118347127_ftn) (); return ((Environment_GetMachineConfigPath_m1118347127_ftn)mscorlib::System::Environment::GetMachineConfigPath) (); } // System.String System.Environment::internalGetHome() extern "C" String_t* Environment_internalGetHome_m264525465 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { using namespace il2cpp::icalls; typedef String_t* (*Environment_internalGetHome_m264525465_ftn) (); return ((Environment_internalGetHome_m264525465_ftn)mscorlib::System::Environment::internalGetHome) (); } // System.Void System.EventArgs::.ctor() extern "C" void EventArgs__ctor_m3696060910 (EventArgs_t3289624707 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Void System.EventArgs::.cctor() extern Il2CppClass* EventArgs_t3289624707_il2cpp_TypeInfo_var; extern const uint32_t EventArgs__cctor_m1350395667_MetadataUsageId; extern "C" void EventArgs__cctor_m1350395667 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (EventArgs__cctor_m1350395667_MetadataUsageId); s_Il2CppMethodInitialized = true; } { EventArgs_t3289624707 * L_0 = (EventArgs_t3289624707 *)il2cpp_codegen_object_new(EventArgs_t3289624707_il2cpp_TypeInfo_var); EventArgs__ctor_m3696060910(L_0, /*hidden argument*/NULL); ((EventArgs_t3289624707_StaticFields*)EventArgs_t3289624707_il2cpp_TypeInfo_var->static_fields)->set_Empty_0(L_0); return; } } // System.Void System.EventHandler::.ctor(System.Object,System.IntPtr) extern "C" void EventHandler__ctor_m3447735595 (EventHandler_t277755526 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) { __this->set_method_ptr_0((Il2CppMethodPointer)((MethodInfo*)___method1.get_m_value_0())->methodPointer); __this->set_method_3(___method1); __this->set_m_target_2(___object0); } // System.Void System.EventHandler::Invoke(System.Object,System.EventArgs) extern "C" void EventHandler_Invoke_m1137722757 (EventHandler_t277755526 * __this, Il2CppObject * ___sender0, EventArgs_t3289624707 * ___e1, const MethodInfo* method) { if(__this->get_prev_9() != NULL) { EventHandler_Invoke_m1137722757((EventHandler_t277755526 *)__this->get_prev_9(),___sender0, ___e1, method); } il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((MethodInfo*)(__this->get_method_3().get_m_value_0())); bool ___methodIsStatic = MethodIsStatic((MethodInfo*)(__this->get_method_3().get_m_value_0())); if (__this->get_m_target_2() != NULL && ___methodIsStatic) { typedef void (*FunctionPointerType) (Il2CppObject *, void* __this, Il2CppObject * ___sender0, EventArgs_t3289624707 * ___e1, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___sender0, ___e1,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } else if (__this->get_m_target_2() != NULL || ___methodIsStatic) { typedef void (*FunctionPointerType) (void* __this, Il2CppObject * ___sender0, EventArgs_t3289624707 * ___e1, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___sender0, ___e1,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } else { typedef void (*FunctionPointerType) (void* __this, EventArgs_t3289624707 * ___e1, const MethodInfo* method); ((FunctionPointerType)__this->get_method_ptr_0())(___sender0, ___e1,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } } // System.IAsyncResult System.EventHandler::BeginInvoke(System.Object,System.EventArgs,System.AsyncCallback,System.Object) extern "C" Il2CppObject * EventHandler_BeginInvoke_m3027583606 (EventHandler_t277755526 * __this, Il2CppObject * ___sender0, EventArgs_t3289624707 * ___e1, AsyncCallback_t163412349 * ___callback2, Il2CppObject * ___object3, const MethodInfo* method) { void *__d_args[3] = {0}; __d_args[0] = ___sender0; __d_args[1] = ___e1; return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback2, (Il2CppObject*)___object3); } // System.Void System.EventHandler::EndInvoke(System.IAsyncResult) extern "C" void EventHandler_EndInvoke_m512077257 (EventHandler_t277755526 * __this, Il2CppObject * ___result0, const MethodInfo* method) { il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0); } // System.Void System.Exception::.ctor() extern "C" void Exception__ctor_m3886110570 (Exception_t1927440687 * __this, const MethodInfo* method) { { __this->set_hresult_8(((int32_t)-2146233088)); Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Void System.Exception::.ctor(System.String) extern "C" void Exception__ctor_m485833136 (Exception_t1927440687 * __this, String_t* ___message0, const MethodInfo* method) { { __this->set_hresult_8(((int32_t)-2146233088)); Object__ctor_m2551263788(__this, /*hidden argument*/NULL); String_t* L_0 = ___message0; __this->set_message_2(L_0); return; } } // System.Void System.Exception::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern const Il2CppType* Exception_t1927440687_0_0_0_var; extern const Il2CppType* IDictionary_t596158605_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* IDictionary_t596158605_il2cpp_TypeInfo_var; extern Il2CppClass* SerializationException_t753258759_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2792112382; extern Il2CppCodeGenString* _stringLiteral2809705325; extern Il2CppCodeGenString* _stringLiteral360502915; extern Il2CppCodeGenString* _stringLiteral3640842434; extern Il2CppCodeGenString* _stringLiteral1365451322; extern Il2CppCodeGenString* _stringLiteral3092519868; extern Il2CppCodeGenString* _stringLiteral3694824164; extern Il2CppCodeGenString* _stringLiteral1056687537; extern Il2CppCodeGenString* _stringLiteral4211207601; extern Il2CppCodeGenString* _stringLiteral1306070641; extern Il2CppCodeGenString* _stringLiteral2620942; extern const uint32_t Exception__ctor_m3836998015_MetadataUsageId; extern "C" void Exception__ctor_m3836998015 (Exception_t1927440687 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Exception__ctor_m3836998015_MetadataUsageId); s_Il2CppMethodInitialized = true; } Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { __this->set_hresult_8(((int32_t)-2146233088)); Object__ctor_m2551263788(__this, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_0 = ___info0; if (L_0) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2792112382, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0022: { SerializationInfo_t228987430 * L_2 = ___info0; String_t* L_3 = SerializationInfo_GetString_m547109409(L_2, _stringLiteral2809705325, /*hidden argument*/NULL); __this->set_class_name_4(L_3); SerializationInfo_t228987430 * L_4 = ___info0; String_t* L_5 = SerializationInfo_GetString_m547109409(L_4, _stringLiteral360502915, /*hidden argument*/NULL); __this->set_message_2(L_5); SerializationInfo_t228987430 * L_6 = ___info0; String_t* L_7 = SerializationInfo_GetString_m547109409(L_6, _stringLiteral3640842434, /*hidden argument*/NULL); __this->set_help_link_3(L_7); SerializationInfo_t228987430 * L_8 = ___info0; String_t* L_9 = SerializationInfo_GetString_m547109409(L_8, _stringLiteral1365451322, /*hidden argument*/NULL); __this->set_stack_trace_5(L_9); SerializationInfo_t228987430 * L_10 = ___info0; String_t* L_11 = SerializationInfo_GetString_m547109409(L_10, _stringLiteral3092519868, /*hidden argument*/NULL); __this->set__remoteStackTraceString_6(L_11); SerializationInfo_t228987430 * L_12 = ___info0; int32_t L_13 = SerializationInfo_GetInt32_m4039439501(L_12, _stringLiteral3694824164, /*hidden argument*/NULL); __this->set_remote_stack_index_7(L_13); SerializationInfo_t228987430 * L_14 = ___info0; int32_t L_15 = SerializationInfo_GetInt32_m4039439501(L_14, _stringLiteral1056687537, /*hidden argument*/NULL); __this->set_hresult_8(L_15); SerializationInfo_t228987430 * L_16 = ___info0; String_t* L_17 = SerializationInfo_GetString_m547109409(L_16, _stringLiteral4211207601, /*hidden argument*/NULL); __this->set_source_9(L_17); SerializationInfo_t228987430 * L_18 = ___info0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_19 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Exception_t1927440687_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_20 = SerializationInfo_GetValue_m1127314592(L_18, _stringLiteral1306070641, L_19, /*hidden argument*/NULL); __this->set_inner_exception_1(((Exception_t1927440687 *)CastclassClass(L_20, Exception_t1927440687_il2cpp_TypeInfo_var))); } IL_00ca: try { // begin try (depth: 1) SerializationInfo_t228987430 * L_21 = ___info0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_22 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(IDictionary_t596158605_0_0_0_var), /*hidden argument*/NULL); Il2CppObject * L_23 = SerializationInfo_GetValue_m1127314592(L_21, _stringLiteral2620942, L_22, /*hidden argument*/NULL); __this->set__data_10(((Il2CppObject *)Castclass(L_23, IDictionary_t596158605_il2cpp_TypeInfo_var))); goto IL_00f5; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (SerializationException_t753258759_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_00ef; throw e; } CATCH_00ef: { // begin catch(System.Runtime.Serialization.SerializationException) goto IL_00f5; } // end catch (depth: 1) IL_00f5: { return; } } // System.Void System.Exception::.ctor(System.String,System.Exception) extern "C" void Exception__ctor_m2453009240 (Exception_t1927440687 * __this, String_t* ___message0, Exception_t1927440687 * ___innerException1, const MethodInfo* method) { { __this->set_hresult_8(((int32_t)-2146233088)); Object__ctor_m2551263788(__this, /*hidden argument*/NULL); Exception_t1927440687 * L_0 = ___innerException1; __this->set_inner_exception_1(L_0); String_t* L_1 = ___message0; __this->set_message_2(L_1); return; } } // System.Exception System.Exception::get_InnerException() extern "C" Exception_t1927440687 * Exception_get_InnerException_m3722561235 (Exception_t1927440687 * __this, const MethodInfo* method) { { Exception_t1927440687 * L_0 = __this->get_inner_exception_1(); return L_0; } } // System.Int32 System.Exception::get_HResult() extern "C" int32_t Exception_get_HResult_m19783860 (Exception_t1927440687 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_hresult_8(); return L_0; } } // System.Void System.Exception::set_HResult(System.Int32) extern "C" void Exception_set_HResult_m2376998645 (Exception_t1927440687 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_hresult_8(L_0); return; } } // System.String System.Exception::get_ClassName() extern "C" String_t* Exception_get_ClassName_m2189012117 (Exception_t1927440687 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_class_name_4(); if (L_0) { goto IL_001c; } } { Type_t * L_1 = Exception_GetType_m3898489832(__this, /*hidden argument*/NULL); String_t* L_2 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Type::ToString() */, L_1); __this->set_class_name_4(L_2); } IL_001c: { String_t* L_3 = __this->get_class_name_4(); return L_3; } } // System.String System.Exception::get_Message() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2813850071; extern const uint32_t Exception_get_Message_m173095527_MetadataUsageId; extern "C" String_t* Exception_get_Message_m173095527 (Exception_t1927440687 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Exception_get_Message_m173095527_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = __this->get_message_2(); if (L_0) { goto IL_0026; } } { String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2813850071, /*hidden argument*/NULL); String_t* L_2 = Exception_get_ClassName_m2189012117(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_3 = String_Format_m2024975688(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); __this->set_message_2(L_3); } IL_0026: { String_t* L_4 = __this->get_message_2(); return L_4; } } // System.String System.Exception::get_Source() extern Il2CppClass* StackTrace_t2500644597_il2cpp_TypeInfo_var; extern const uint32_t Exception_get_Source_m1610892645_MetadataUsageId; extern "C" String_t* Exception_get_Source_m1610892645 (Exception_t1927440687 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Exception_get_Source_m1610892645_MetadataUsageId); s_Il2CppMethodInitialized = true; } StackTrace_t2500644597 * V_0 = NULL; StackFrame_t2050294881 * V_1 = NULL; MethodBase_t904190842 * V_2 = NULL; { String_t* L_0 = __this->get_source_9(); if (L_0) { goto IL_0055; } } { StackTrace_t2500644597 * L_1 = (StackTrace_t2500644597 *)il2cpp_codegen_object_new(StackTrace_t2500644597_il2cpp_TypeInfo_var); StackTrace__ctor_m772333217(L_1, __this, (bool)1, /*hidden argument*/NULL); V_0 = L_1; StackTrace_t2500644597 * L_2 = V_0; int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 System.Diagnostics.StackTrace::get_FrameCount() */, L_2); if ((((int32_t)L_3) <= ((int32_t)0))) { goto IL_0055; } } { StackTrace_t2500644597 * L_4 = V_0; StackFrame_t2050294881 * L_5 = VirtFuncInvoker1< StackFrame_t2050294881 *, int32_t >::Invoke(5 /* System.Diagnostics.StackFrame System.Diagnostics.StackTrace::GetFrame(System.Int32) */, L_4, 0); V_1 = L_5; StackTrace_t2500644597 * L_6 = V_0; if (!L_6) { goto IL_0055; } } { StackFrame_t2050294881 * L_7 = V_1; MethodBase_t904190842 * L_8 = VirtFuncInvoker0< MethodBase_t904190842 * >::Invoke(7 /* System.Reflection.MethodBase System.Diagnostics.StackFrame::GetMethod() */, L_7); V_2 = L_8; MethodBase_t904190842 * L_9 = V_2; if (!L_9) { goto IL_0055; } } { MethodBase_t904190842 * L_10 = V_2; Type_t * L_11 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.MemberInfo::get_DeclaringType() */, L_10); Assembly_t4268412390 * L_12 = VirtFuncInvoker0< Assembly_t4268412390 * >::Invoke(14 /* System.Reflection.Assembly System.Type::get_Assembly() */, L_11); AssemblyName_t894705941 * L_13 = VirtFuncInvoker0< AssemblyName_t894705941 * >::Invoke(17 /* System.Reflection.AssemblyName System.Reflection.Assembly::UnprotectedGetName() */, L_12); String_t* L_14 = AssemblyName_get_Name_m1815759940(L_13, /*hidden argument*/NULL); __this->set_source_9(L_14); } IL_0055: { String_t* L_15 = __this->get_source_9(); return L_15; } } // System.String System.Exception::get_StackTrace() extern Il2CppClass* StackTrace_t2500644597_il2cpp_TypeInfo_var; extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2410774001; extern Il2CppCodeGenString* _stringLiteral3869568057; extern Il2CppCodeGenString* _stringLiteral110011617; extern Il2CppCodeGenString* _stringLiteral2209684524; extern Il2CppCodeGenString* _stringLiteral2878084610; extern Il2CppCodeGenString* _stringLiteral2171805923; extern Il2CppCodeGenString* _stringLiteral3618230171; extern Il2CppCodeGenString* _stringLiteral1655909934; extern const uint32_t Exception_get_StackTrace_m2513587087_MetadataUsageId; extern "C" String_t* Exception_get_StackTrace_m2513587087 (Exception_t1927440687 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Exception_get_StackTrace_m2513587087_MetadataUsageId); s_Il2CppMethodInitialized = true; } StackTrace_t2500644597 * V_0 = NULL; StringBuilder_t1221177846 * V_1 = NULL; String_t* V_2 = NULL; String_t* V_3 = NULL; int32_t V_4 = 0; StackFrame_t2050294881 * V_5 = NULL; String_t* V_6 = NULL; { String_t* L_0 = __this->get_stack_trace_5(); if (L_0) { goto IL_015f; } } { IntPtrU5BU5D_t169632028* L_1 = __this->get_trace_ips_0(); if (L_1) { goto IL_0018; } } { return (String_t*)NULL; } IL_0018: { StackTrace_t2500644597 * L_2 = (StackTrace_t2500644597 *)il2cpp_codegen_object_new(StackTrace_t2500644597_il2cpp_TypeInfo_var); StackTrace__ctor_m2335548767(L_2, __this, 0, (bool)1, (bool)1, /*hidden argument*/NULL); V_0 = L_2; StringBuilder_t1221177846 * L_3 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var); StringBuilder__ctor_m3946851802(L_3, /*hidden argument*/NULL); V_1 = L_3; String_t* L_4 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL); String_t* L_5 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3869568057, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_6 = String_Format_m1811873526(NULL /*static, unused*/, _stringLiteral2410774001, L_4, L_5, /*hidden argument*/NULL); V_2 = L_6; String_t* L_7 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral110011617, /*hidden argument*/NULL); V_3 = L_7; V_4 = 0; goto IL_0146; } IL_0055: { StackTrace_t2500644597 * L_8 = V_0; int32_t L_9 = V_4; StackFrame_t2050294881 * L_10 = VirtFuncInvoker1< StackFrame_t2050294881 *, int32_t >::Invoke(5 /* System.Diagnostics.StackFrame System.Diagnostics.StackTrace::GetFrame(System.Int32) */, L_8, L_9); V_5 = L_10; int32_t L_11 = V_4; if (L_11) { goto IL_0081; } } { StringBuilder_t1221177846 * L_12 = V_1; String_t* L_13 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3869568057, /*hidden argument*/NULL); StringBuilder_AppendFormat_m3265503696(L_12, _stringLiteral2209684524, L_13, /*hidden argument*/NULL); goto IL_0089; } IL_0081: { StringBuilder_t1221177846 * L_14 = V_1; String_t* L_15 = V_2; StringBuilder_Append_m3636508479(L_14, L_15, /*hidden argument*/NULL); } IL_0089: { StackFrame_t2050294881 * L_16 = V_5; MethodBase_t904190842 * L_17 = VirtFuncInvoker0< MethodBase_t904190842 * >::Invoke(7 /* System.Reflection.MethodBase System.Diagnostics.StackFrame::GetMethod() */, L_16); if (L_17) { goto IL_00d1; } } { StackFrame_t2050294881 * L_18 = V_5; String_t* L_19 = StackFrame_GetInternalMethodName_m3997579542(L_18, /*hidden argument*/NULL); V_6 = L_19; String_t* L_20 = V_6; if (!L_20) { goto IL_00b3; } } { StringBuilder_t1221177846 * L_21 = V_1; String_t* L_22 = V_6; StringBuilder_Append_m3636508479(L_21, L_22, /*hidden argument*/NULL); goto IL_00cc; } IL_00b3: { StringBuilder_t1221177846 * L_23 = V_1; StackFrame_t2050294881 * L_24 = V_5; int32_t L_25 = VirtFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 System.Diagnostics.StackFrame::GetNativeOffset() */, L_24); int32_t L_26 = L_25; Il2CppObject * L_27 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_26); String_t* L_28 = V_3; StringBuilder_AppendFormat_m759296786(L_23, _stringLiteral2878084610, L_27, L_28, /*hidden argument*/NULL); } IL_00cc: { goto IL_0140; } IL_00d1: { StringBuilder_t1221177846 * L_29 = V_1; StackFrame_t2050294881 * L_30 = V_5; MethodBase_t904190842 * L_31 = VirtFuncInvoker0< MethodBase_t904190842 * >::Invoke(7 /* System.Reflection.MethodBase System.Diagnostics.StackFrame::GetMethod() */, L_30); Exception_GetFullNameForStackTrace_m1429773294(__this, L_29, L_31, /*hidden argument*/NULL); StackFrame_t2050294881 * L_32 = V_5; int32_t L_33 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Diagnostics.StackFrame::GetILOffset() */, L_32); if ((!(((uint32_t)L_33) == ((uint32_t)(-1))))) { goto IL_0109; } } { StringBuilder_t1221177846 * L_34 = V_1; StackFrame_t2050294881 * L_35 = V_5; int32_t L_36 = VirtFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 System.Diagnostics.StackFrame::GetNativeOffset() */, L_35); int32_t L_37 = L_36; Il2CppObject * L_38 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_37); StringBuilder_AppendFormat_m3265503696(L_34, _stringLiteral2171805923, L_38, /*hidden argument*/NULL); goto IL_0121; } IL_0109: { StringBuilder_t1221177846 * L_39 = V_1; StackFrame_t2050294881 * L_40 = V_5; int32_t L_41 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Diagnostics.StackFrame::GetILOffset() */, L_40); int32_t L_42 = L_41; Il2CppObject * L_43 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_42); StringBuilder_AppendFormat_m3265503696(L_39, _stringLiteral3618230171, L_43, /*hidden argument*/NULL); } IL_0121: { StringBuilder_t1221177846 * L_44 = V_1; StackFrame_t2050294881 * L_45 = V_5; String_t* L_46 = StackFrame_GetSecureFileName_m389986943(L_45, /*hidden argument*/NULL); StackFrame_t2050294881 * L_47 = V_5; int32_t L_48 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 System.Diagnostics.StackFrame::GetFileLineNumber() */, L_47); int32_t L_49 = L_48; Il2CppObject * L_50 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_49); StringBuilder_AppendFormat_m759296786(L_44, _stringLiteral1655909934, L_46, L_50, /*hidden argument*/NULL); } IL_0140: { int32_t L_51 = V_4; V_4 = ((int32_t)((int32_t)L_51+(int32_t)1)); } IL_0146: { int32_t L_52 = V_4; StackTrace_t2500644597 * L_53 = V_0; int32_t L_54 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 System.Diagnostics.StackTrace::get_FrameCount() */, L_53); if ((((int32_t)L_52) < ((int32_t)L_54))) { goto IL_0055; } } { StringBuilder_t1221177846 * L_55 = V_1; String_t* L_56 = StringBuilder_ToString_m1507807375(L_55, /*hidden argument*/NULL); __this->set_stack_trace_5(L_56); } IL_015f: { String_t* L_57 = __this->get_stack_trace_5(); return L_57; } } // System.Void System.Exception::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern const Il2CppType* IDictionary_t596158605_0_0_0_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2792112382; extern Il2CppCodeGenString* _stringLiteral2809705325; extern Il2CppCodeGenString* _stringLiteral360502915; extern Il2CppCodeGenString* _stringLiteral1306070641; extern Il2CppCodeGenString* _stringLiteral3640842434; extern Il2CppCodeGenString* _stringLiteral1365451322; extern Il2CppCodeGenString* _stringLiteral3092519868; extern Il2CppCodeGenString* _stringLiteral3694824164; extern Il2CppCodeGenString* _stringLiteral1056687537; extern Il2CppCodeGenString* _stringLiteral4211207601; extern Il2CppCodeGenString* _stringLiteral3345307718; extern Il2CppCodeGenString* _stringLiteral2620942; extern const uint32_t Exception_GetObjectData_m2653827630_MetadataUsageId; extern "C" void Exception_GetObjectData_m2653827630 (Exception_t1927440687 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Exception_GetObjectData_m2653827630_MetadataUsageId); s_Il2CppMethodInitialized = true; } { SerializationInfo_t228987430 * L_0 = ___info0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2792112382, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { SerializationInfo_t228987430 * L_2 = ___info0; String_t* L_3 = Exception_get_ClassName_m2189012117(__this, /*hidden argument*/NULL); SerializationInfo_AddValue_m1740888931(L_2, _stringLiteral2809705325, L_3, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_4 = ___info0; String_t* L_5 = __this->get_message_2(); SerializationInfo_AddValue_m1740888931(L_4, _stringLiteral360502915, L_5, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_6 = ___info0; Exception_t1927440687 * L_7 = __this->get_inner_exception_1(); SerializationInfo_AddValue_m1740888931(L_6, _stringLiteral1306070641, L_7, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_8 = ___info0; String_t* L_9 = __this->get_help_link_3(); SerializationInfo_AddValue_m1740888931(L_8, _stringLiteral3640842434, L_9, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_10 = ___info0; String_t* L_11 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Exception::get_StackTrace() */, __this); SerializationInfo_AddValue_m1740888931(L_10, _stringLiteral1365451322, L_11, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_12 = ___info0; String_t* L_13 = __this->get__remoteStackTraceString_6(); SerializationInfo_AddValue_m1740888931(L_12, _stringLiteral3092519868, L_13, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_14 = ___info0; int32_t L_15 = __this->get_remote_stack_index_7(); SerializationInfo_AddValue_m902275108(L_14, _stringLiteral3694824164, L_15, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_16 = ___info0; int32_t L_17 = __this->get_hresult_8(); SerializationInfo_AddValue_m902275108(L_16, _stringLiteral1056687537, L_17, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_18 = ___info0; String_t* L_19 = VirtFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Exception::get_Source() */, __this); SerializationInfo_AddValue_m1740888931(L_18, _stringLiteral4211207601, L_19, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_20 = ___info0; SerializationInfo_AddValue_m1740888931(L_20, _stringLiteral3345307718, NULL, /*hidden argument*/NULL); SerializationInfo_t228987430 * L_21 = ___info0; Il2CppObject * L_22 = __this->get__data_10(); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_23 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(IDictionary_t596158605_0_0_0_var), /*hidden argument*/NULL); SerializationInfo_AddValue_m1781549036(L_21, _stringLiteral2620942, L_22, L_23, /*hidden argument*/NULL); return; } } // System.String System.Exception::ToString() extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral811305496; extern Il2CppCodeGenString* _stringLiteral2507369743; extern Il2CppCodeGenString* _stringLiteral3179584526; extern const uint32_t Exception_ToString_m627574695_MetadataUsageId; extern "C" String_t* Exception_ToString_m627574695 (Exception_t1927440687 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Exception_ToString_m627574695_MetadataUsageId); s_Il2CppMethodInitialized = true; } StringBuilder_t1221177846 * V_0 = NULL; { String_t* L_0 = Exception_get_ClassName_m2189012117(__this, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_1 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var); StringBuilder__ctor_m782331808(L_1, L_0, /*hidden argument*/NULL); V_0 = L_1; StringBuilder_t1221177846 * L_2 = V_0; StringBuilder_t1221177846 * L_3 = StringBuilder_Append_m3636508479(L_2, _stringLiteral811305496, /*hidden argument*/NULL); String_t* L_4 = VirtFuncInvoker0< String_t* >::Invoke(6 /* System.String System.Exception::get_Message() */, __this); StringBuilder_Append_m3636508479(L_3, L_4, /*hidden argument*/NULL); String_t* L_5 = __this->get__remoteStackTraceString_6(); if (!L_5) { goto IL_003b; } } { StringBuilder_t1221177846 * L_6 = V_0; String_t* L_7 = __this->get__remoteStackTraceString_6(); StringBuilder_Append_m3636508479(L_6, L_7, /*hidden argument*/NULL); } IL_003b: { Exception_t1927440687 * L_8 = __this->get_inner_exception_1(); if (!L_8) { goto IL_007f; } } { StringBuilder_t1221177846 * L_9 = V_0; StringBuilder_t1221177846 * L_10 = StringBuilder_Append_m3636508479(L_9, _stringLiteral2507369743, /*hidden argument*/NULL); Exception_t1927440687 * L_11 = __this->get_inner_exception_1(); String_t* L_12 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Exception::ToString() */, L_11); StringBuilder_Append_m3636508479(L_10, L_12, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_13 = V_0; String_t* L_14 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_13, L_14, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_15 = V_0; String_t* L_16 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3179584526, /*hidden argument*/NULL); StringBuilder_Append_m3636508479(L_15, L_16, /*hidden argument*/NULL); } IL_007f: { String_t* L_17 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Exception::get_StackTrace() */, __this); if (!L_17) { goto IL_00a1; } } { StringBuilder_t1221177846 * L_18 = V_0; String_t* L_19 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_20 = StringBuilder_Append_m3636508479(L_18, L_19, /*hidden argument*/NULL); String_t* L_21 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Exception::get_StackTrace() */, __this); StringBuilder_Append_m3636508479(L_20, L_21, /*hidden argument*/NULL); } IL_00a1: { StringBuilder_t1221177846 * L_22 = V_0; String_t* L_23 = StringBuilder_ToString_m1507807375(L_22, /*hidden argument*/NULL); return L_23; } } // System.Void System.Exception::GetFullNameForStackTrace(System.Text.StringBuilder,System.Reflection.MethodBase) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral372029316; extern Il2CppCodeGenString* _stringLiteral372029431; extern Il2CppCodeGenString* _stringLiteral372029314; extern Il2CppCodeGenString* _stringLiteral372029425; extern Il2CppCodeGenString* _stringLiteral455075110; extern Il2CppCodeGenString* _stringLiteral811305474; extern Il2CppCodeGenString* _stringLiteral372029310; extern Il2CppCodeGenString* _stringLiteral372029317; extern const uint32_t Exception_GetFullNameForStackTrace_m1429773294_MetadataUsageId; extern "C" void Exception_GetFullNameForStackTrace_m1429773294 (Exception_t1927440687 * __this, StringBuilder_t1221177846 * ___sb0, MethodBase_t904190842 * ___mi1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Exception_GetFullNameForStackTrace_m1429773294_MetadataUsageId); s_Il2CppMethodInitialized = true; } ParameterInfoU5BU5D_t2275869610* V_0 = NULL; TypeU5BU5D_t1664964607* V_1 = NULL; int32_t V_2 = 0; int32_t V_3 = 0; Type_t * V_4 = NULL; { MethodBase_t904190842 * L_0 = ___mi1; ParameterInfoU5BU5D_t2275869610* L_1 = VirtFuncInvoker0< ParameterInfoU5BU5D_t2275869610* >::Invoke(14 /* System.Reflection.ParameterInfo[] System.Reflection.MethodBase::GetParameters() */, L_0); V_0 = L_1; StringBuilder_t1221177846 * L_2 = ___sb0; MethodBase_t904190842 * L_3 = ___mi1; Type_t * L_4 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.MemberInfo::get_DeclaringType() */, L_3); String_t* L_5 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Type::ToString() */, L_4); StringBuilder_Append_m3636508479(L_2, L_5, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_6 = ___sb0; StringBuilder_Append_m3636508479(L_6, _stringLiteral372029316, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_7 = ___sb0; MethodBase_t904190842 * L_8 = ___mi1; String_t* L_9 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Reflection.MemberInfo::get_Name() */, L_8); StringBuilder_Append_m3636508479(L_7, L_9, /*hidden argument*/NULL); MethodBase_t904190842 * L_10 = ___mi1; bool L_11 = VirtFuncInvoker0< bool >::Invoke(29 /* System.Boolean System.Reflection.MethodBase::get_IsGenericMethod() */, L_10); if (!L_11) { goto IL_0092; } } { MethodBase_t904190842 * L_12 = ___mi1; TypeU5BU5D_t1664964607* L_13 = VirtFuncInvoker0< TypeU5BU5D_t1664964607* >::Invoke(26 /* System.Type[] System.Reflection.MethodBase::GetGenericArguments() */, L_12); V_1 = L_13; StringBuilder_t1221177846 * L_14 = ___sb0; StringBuilder_Append_m3636508479(L_14, _stringLiteral372029431, /*hidden argument*/NULL); V_2 = 0; goto IL_007d; } IL_0057: { int32_t L_15 = V_2; if ((((int32_t)L_15) <= ((int32_t)0))) { goto IL_006a; } } { StringBuilder_t1221177846 * L_16 = ___sb0; StringBuilder_Append_m3636508479(L_16, _stringLiteral372029314, /*hidden argument*/NULL); } IL_006a: { StringBuilder_t1221177846 * L_17 = ___sb0; TypeU5BU5D_t1664964607* L_18 = V_1; int32_t L_19 = V_2; int32_t L_20 = L_19; Type_t * L_21 = (L_18)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_20)); String_t* L_22 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Reflection.MemberInfo::get_Name() */, L_21); StringBuilder_Append_m3636508479(L_17, L_22, /*hidden argument*/NULL); int32_t L_23 = V_2; V_2 = ((int32_t)((int32_t)L_23+(int32_t)1)); } IL_007d: { int32_t L_24 = V_2; TypeU5BU5D_t1664964607* L_25 = V_1; if ((((int32_t)L_24) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_25)->max_length))))))) { goto IL_0057; } } { StringBuilder_t1221177846 * L_26 = ___sb0; StringBuilder_Append_m3636508479(L_26, _stringLiteral372029425, /*hidden argument*/NULL); } IL_0092: { StringBuilder_t1221177846 * L_27 = ___sb0; StringBuilder_Append_m3636508479(L_27, _stringLiteral455075110, /*hidden argument*/NULL); V_3 = 0; goto IL_0138; } IL_00a5: { int32_t L_28 = V_3; if ((((int32_t)L_28) <= ((int32_t)0))) { goto IL_00b8; } } { StringBuilder_t1221177846 * L_29 = ___sb0; StringBuilder_Append_m3636508479(L_29, _stringLiteral811305474, /*hidden argument*/NULL); } IL_00b8: { ParameterInfoU5BU5D_t2275869610* L_30 = V_0; int32_t L_31 = V_3; int32_t L_32 = L_31; ParameterInfo_t2249040075 * L_33 = (L_30)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_32)); Type_t * L_34 = VirtFuncInvoker0< Type_t * >::Invoke(6 /* System.Type System.Reflection.ParameterInfo::get_ParameterType() */, L_33); V_4 = L_34; Type_t * L_35 = V_4; bool L_36 = Type_get_IsClass_m2968663946(L_35, /*hidden argument*/NULL); if (!L_36) { goto IL_00fe; } } { Type_t * L_37 = V_4; String_t* L_38 = VirtFuncInvoker0< String_t* >::Invoke(34 /* System.String System.Type::get_Namespace() */, L_37); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_39 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); bool L_40 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_38, L_39, /*hidden argument*/NULL); if (!L_40) { goto IL_00fe; } } { StringBuilder_t1221177846 * L_41 = ___sb0; Type_t * L_42 = V_4; String_t* L_43 = VirtFuncInvoker0< String_t* >::Invoke(34 /* System.String System.Type::get_Namespace() */, L_42); StringBuilder_Append_m3636508479(L_41, L_43, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_44 = ___sb0; StringBuilder_Append_m3636508479(L_44, _stringLiteral372029316, /*hidden argument*/NULL); } IL_00fe: { StringBuilder_t1221177846 * L_45 = ___sb0; Type_t * L_46 = V_4; String_t* L_47 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Reflection.MemberInfo::get_Name() */, L_46); StringBuilder_Append_m3636508479(L_45, L_47, /*hidden argument*/NULL); ParameterInfoU5BU5D_t2275869610* L_48 = V_0; int32_t L_49 = V_3; int32_t L_50 = L_49; ParameterInfo_t2249040075 * L_51 = (L_48)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_50)); String_t* L_52 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String System.Reflection.ParameterInfo::get_Name() */, L_51); if (!L_52) { goto IL_0134; } } { StringBuilder_t1221177846 * L_53 = ___sb0; StringBuilder_Append_m3636508479(L_53, _stringLiteral372029310, /*hidden argument*/NULL); StringBuilder_t1221177846 * L_54 = ___sb0; ParameterInfoU5BU5D_t2275869610* L_55 = V_0; int32_t L_56 = V_3; int32_t L_57 = L_56; ParameterInfo_t2249040075 * L_58 = (L_55)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_57)); String_t* L_59 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String System.Reflection.ParameterInfo::get_Name() */, L_58); StringBuilder_Append_m3636508479(L_54, L_59, /*hidden argument*/NULL); } IL_0134: { int32_t L_60 = V_3; V_3 = ((int32_t)((int32_t)L_60+(int32_t)1)); } IL_0138: { int32_t L_61 = V_3; ParameterInfoU5BU5D_t2275869610* L_62 = V_0; if ((((int32_t)L_61) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_62)->max_length))))))) { goto IL_00a5; } } { StringBuilder_t1221177846 * L_63 = ___sb0; StringBuilder_Append_m3636508479(L_63, _stringLiteral372029317, /*hidden argument*/NULL); return; } } // System.Type System.Exception::GetType() extern "C" Type_t * Exception_GetType_m3898489832 (Exception_t1927440687 * __this, const MethodInfo* method) { { Type_t * L_0 = Object_GetType_m191970594(__this, /*hidden argument*/NULL); return L_0; } } // System.Void System.ExecutionEngineException::.ctor() extern Il2CppCodeGenString* _stringLiteral4137582018; extern const uint32_t ExecutionEngineException__ctor_m988484498_MetadataUsageId; extern "C" void ExecutionEngineException__ctor_m988484498 (ExecutionEngineException_t1360775125 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (ExecutionEngineException__ctor_m988484498_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4137582018, /*hidden argument*/NULL); SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL); return; } } // System.Void System.ExecutionEngineException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void ExecutionEngineException__ctor_m2032171055 (ExecutionEngineException_t1360775125 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; SystemException__ctor_m2688248668(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.FieldAccessException::.ctor() extern Il2CppCodeGenString* _stringLiteral1181890314; extern const uint32_t FieldAccessException__ctor_m1240495912_MetadataUsageId; extern "C" void FieldAccessException__ctor_m1240495912 (FieldAccessException_t1797813379 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FieldAccessException__ctor_m1240495912_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1181890314, /*hidden argument*/NULL); MemberAccessException__ctor_m111743236(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233081), /*hidden argument*/NULL); return; } } // System.Void System.FieldAccessException::.ctor(System.String) extern "C" void FieldAccessException__ctor_m3893881490 (FieldAccessException_t1797813379 * __this, String_t* ___message0, const MethodInfo* method) { { String_t* L_0 = ___message0; MemberAccessException__ctor_m111743236(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233081), /*hidden argument*/NULL); return; } } // System.Void System.FieldAccessException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void FieldAccessException__ctor_m3669477145 (FieldAccessException_t1797813379 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; MemberAccessException__ctor_m154213803(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.FlagsAttribute::.ctor() extern "C" void FlagsAttribute__ctor_m1848108622 (FlagsAttribute_t859561169 * __this, const MethodInfo* method) { { Attribute__ctor_m1730479323(__this, /*hidden argument*/NULL); return; } } // System.Void System.FormatException::.ctor() extern Il2CppCodeGenString* _stringLiteral890488242; extern const uint32_t FormatException__ctor_m3521145315_MetadataUsageId; extern "C" void FormatException__ctor_m3521145315 (FormatException_t2948921286 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (FormatException__ctor_m3521145315_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral890488242, /*hidden argument*/NULL); SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233033), /*hidden argument*/NULL); return; } } // System.Void System.FormatException::.ctor(System.String) extern "C" void FormatException__ctor_m1466217969 (FormatException_t2948921286 * __this, String_t* ___message0, const MethodInfo* method) { { String_t* L_0 = ___message0; SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL); Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233033), /*hidden argument*/NULL); return; } } // System.Void System.FormatException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void FormatException__ctor_m3740644286 (FormatException_t2948921286 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) { { SerializationInfo_t228987430 * L_0 = ___info0; StreamingContext_t1417235061 L_1 = ___context1; SystemException__ctor_m2688248668(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void System.GC::SuppressFinalize(System.Object) extern "C" void GC_SuppressFinalize_m953228702 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___obj0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*GC_SuppressFinalize_m953228702_ftn) (Il2CppObject *); ((GC_SuppressFinalize_m953228702_ftn)mscorlib::System::GC::SuppressFinalize) (___obj0); } // System.Void System.Globalization.Calendar::.ctor() extern "C" void Calendar__ctor_m1687153432 (Calendar_t585061108 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); __this->set_twoDigitYearMax_1(((int32_t)99)); return; } } // System.Object System.Globalization.Calendar::Clone() extern Il2CppClass* Calendar_t585061108_il2cpp_TypeInfo_var; extern const uint32_t Calendar_Clone_m3159430630_MetadataUsageId; extern "C" Il2CppObject * Calendar_Clone_m3159430630 (Calendar_t585061108 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Calendar_Clone_m3159430630_MetadataUsageId); s_Il2CppMethodInitialized = true; } Calendar_t585061108 * V_0 = NULL; { Il2CppObject * L_0 = Object_MemberwiseClone_m2655589444(__this, /*hidden argument*/NULL); V_0 = ((Calendar_t585061108 *)CastclassClass(L_0, Calendar_t585061108_il2cpp_TypeInfo_var)); Calendar_t585061108 * L_1 = V_0; L_1->set_m_isReadOnly_0((bool)0); Calendar_t585061108 * L_2 = V_0; return L_2; } } // System.Void System.Globalization.Calendar::CheckReadOnly() extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3362759107; extern const uint32_t Calendar_CheckReadOnly_m2489518342_MetadataUsageId; extern "C" void Calendar_CheckReadOnly_m2489518342 (Calendar_t585061108 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Calendar_CheckReadOnly_m2489518342_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = __this->get_m_isReadOnly_0(); if (!L_0) { goto IL_0016; } } { InvalidOperationException_t721527559 * L_1 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_1, _stringLiteral3362759107, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0016: { return; } } // System.String[] System.Globalization.Calendar::get_EraNames() extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var; extern Il2CppClass* StringU5BU5D_t1642385972_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3473493109; extern const uint32_t Calendar_get_EraNames_m452820602_MetadataUsageId; extern "C" StringU5BU5D_t1642385972* Calendar_get_EraNames_m452820602 (Calendar_t585061108 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Calendar_get_EraNames_m452820602_MetadataUsageId); s_Il2CppMethodInitialized = true; } { StringU5BU5D_t1642385972* L_0 = __this->get_M_EraNames_3(); if (!L_0) { goto IL_0020; } } { StringU5BU5D_t1642385972* L_1 = __this->get_M_EraNames_3(); Int32U5BU5D_t3030399641* L_2 = VirtFuncInvoker0< Int32U5BU5D_t3030399641* >::Invoke(5 /* System.Int32[] System.Globalization.Calendar::get_Eras() */, __this); if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))))))) { goto IL_002b; } } IL_0020: { Exception_t1927440687 * L_3 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var); Exception__ctor_m485833136(L_3, _stringLiteral3473493109, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002b: { StringU5BU5D_t1642385972* L_4 = __this->get_M_EraNames_3(); Il2CppObject * L_5 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_4, /*hidden argument*/NULL); return ((StringU5BU5D_t1642385972*)Castclass(L_5, StringU5BU5D_t1642385972_il2cpp_TypeInfo_var)); } } // System.Int32 System.Globalization.CCFixed::FromDateTime(System.DateTime) extern "C" int32_t CCFixed_FromDateTime_m2873486417 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___time0, const MethodInfo* method) { { int64_t L_0 = DateTime_get_Ticks_m310281298((&___time0), /*hidden argument*/NULL); return ((int32_t)((int32_t)1+(int32_t)(((int32_t)((int32_t)((int64_t)((int64_t)L_0/(int64_t)((int64_t)864000000000LL)))))))); } } // System.DayOfWeek System.Globalization.CCFixed::day_of_week(System.Int32) extern "C" int32_t CCFixed_day_of_week_m1538122263 (Il2CppObject * __this /* static, unused */, int32_t ___date0, const MethodInfo* method) { { int32_t L_0 = ___date0; int32_t L_1 = CCMath_mod_m3612151074(NULL /*static, unused*/, L_0, 7, /*hidden argument*/NULL); return (int32_t)(L_1); } } // System.Boolean System.Globalization.CCGregorianCalendar::is_leap_year(System.Int32) extern "C" bool CCGregorianCalendar_is_leap_year_m567513478 (Il2CppObject * __this /* static, unused */, int32_t ___year0, const MethodInfo* method) { int32_t V_0 = 0; { int32_t L_0 = ___year0; int32_t L_1 = CCMath_mod_m3612151074(NULL /*static, unused*/, L_0, 4, /*hidden argument*/NULL); if (!L_1) { goto IL_000e; } } { return (bool)0; } IL_000e: { int32_t L_2 = ___year0; int32_t L_3 = CCMath_mod_m3612151074(NULL /*static, unused*/, L_2, ((int32_t)400), /*hidden argument*/NULL); V_0 = L_3; int32_t L_4 = V_0; if ((((int32_t)L_4) == ((int32_t)((int32_t)100)))) { goto IL_003d; } } { int32_t L_5 = V_0; if ((((int32_t)L_5) == ((int32_t)((int32_t)200)))) { goto IL_003f; } } { int32_t L_6 = V_0; if ((((int32_t)L_6) == ((int32_t)((int32_t)300)))) { goto IL_0041; } } { goto IL_0043; } IL_003d: { return (bool)0; } IL_003f: { return (bool)0; } IL_0041: { return (bool)0; } IL_0043: { return (bool)1; } } // System.Int32 System.Globalization.CCGregorianCalendar::fixed_from_dmy(System.Int32,System.Int32,System.Int32) extern "C" int32_t CCGregorianCalendar_fixed_from_dmy_m3599278993 (Il2CppObject * __this /* static, unused */, int32_t ___day0, int32_t ___month1, int32_t ___year2, const MethodInfo* method) { int32_t V_0 = 0; int32_t G_B3_0 = 0; int32_t G_B2_0 = 0; int32_t G_B4_0 = 0; int32_t G_B4_1 = 0; { V_0 = 0; int32_t L_0 = V_0; int32_t L_1 = ___year2; V_0 = ((int32_t)((int32_t)L_0+(int32_t)((int32_t)((int32_t)((int32_t)365)*(int32_t)((int32_t)((int32_t)L_1-(int32_t)1)))))); int32_t L_2 = V_0; int32_t L_3 = ___year2; int32_t L_4 = CCMath_div_m1996795405(NULL /*static, unused*/, ((int32_t)((int32_t)L_3-(int32_t)1)), 4, /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_2+(int32_t)L_4)); int32_t L_5 = V_0; int32_t L_6 = ___year2; int32_t L_7 = CCMath_div_m1996795405(NULL /*static, unused*/, ((int32_t)((int32_t)L_6-(int32_t)1)), ((int32_t)100), /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_5-(int32_t)L_7)); int32_t L_8 = V_0; int32_t L_9 = ___year2; int32_t L_10 = CCMath_div_m1996795405(NULL /*static, unused*/, ((int32_t)((int32_t)L_9-(int32_t)1)), ((int32_t)400), /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_8+(int32_t)L_10)); int32_t L_11 = V_0; int32_t L_12 = ___month1; int32_t L_13 = CCMath_div_m1996795405(NULL /*static, unused*/, ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)367)*(int32_t)L_12))-(int32_t)((int32_t)362))), ((int32_t)12), /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_11+(int32_t)L_13)); int32_t L_14 = ___month1; if ((((int32_t)L_14) <= ((int32_t)2))) { goto IL_006b; } } { int32_t L_15 = V_0; int32_t L_16 = ___year2; bool L_17 = CCGregorianCalendar_is_leap_year_m567513478(NULL /*static, unused*/, L_16, /*hidden argument*/NULL); G_B2_0 = L_15; if (!L_17) { G_B3_0 = L_15; goto IL_0067; } } { G_B4_0 = (-1); G_B4_1 = G_B2_0; goto IL_0069; } IL_0067: { G_B4_0 = ((int32_t)-2); G_B4_1 = G_B3_0; } IL_0069: { V_0 = ((int32_t)((int32_t)G_B4_1+(int32_t)G_B4_0)); } IL_006b: { int32_t L_18 = V_0; int32_t L_19 = ___day0; V_0 = ((int32_t)((int32_t)L_18+(int32_t)L_19)); int32_t L_20 = V_0; return L_20; } } // System.Int32 System.Globalization.CCGregorianCalendar::year_from_fixed(System.Int32) extern "C" int32_t CCGregorianCalendar_year_from_fixed_m950407162 (Il2CppObject * __this /* static, unused */, int32_t ___date0, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; int32_t V_3 = 0; int32_t V_4 = 0; int32_t V_5 = 0; int32_t G_B4_0 = 0; { int32_t L_0 = ___date0; V_0 = ((int32_t)((int32_t)L_0-(int32_t)1)); int32_t L_1 = V_0; int32_t L_2 = CCMath_div_mod_m4257470219(NULL /*static, unused*/, (&V_0), L_1, ((int32_t)146097), /*hidden argument*/NULL); V_1 = L_2; int32_t L_3 = V_0; int32_t L_4 = CCMath_div_mod_m4257470219(NULL /*static, unused*/, (&V_0), L_3, ((int32_t)36524), /*hidden argument*/NULL); V_2 = L_4; int32_t L_5 = V_0; int32_t L_6 = CCMath_div_mod_m4257470219(NULL /*static, unused*/, (&V_0), L_5, ((int32_t)1461), /*hidden argument*/NULL); V_3 = L_6; int32_t L_7 = V_0; int32_t L_8 = CCMath_div_m1996795405(NULL /*static, unused*/, L_7, ((int32_t)365), /*hidden argument*/NULL); V_4 = L_8; int32_t L_9 = V_1; int32_t L_10 = V_2; int32_t L_11 = V_3; int32_t L_12 = V_4; V_5 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)400)*(int32_t)L_9))+(int32_t)((int32_t)((int32_t)((int32_t)100)*(int32_t)L_10))))+(int32_t)((int32_t)((int32_t)4*(int32_t)L_11))))+(int32_t)L_12)); int32_t L_13 = V_2; if ((((int32_t)L_13) == ((int32_t)4))) { goto IL_005f; } } { int32_t L_14 = V_4; if ((!(((uint32_t)L_14) == ((uint32_t)4)))) { goto IL_0066; } } IL_005f: { int32_t L_15 = V_5; G_B4_0 = L_15; goto IL_006a; } IL_0066: { int32_t L_16 = V_5; G_B4_0 = ((int32_t)((int32_t)L_16+(int32_t)1)); } IL_006a: { return G_B4_0; } } // System.Void System.Globalization.CCGregorianCalendar::my_from_fixed(System.Int32&,System.Int32&,System.Int32) extern "C" void CCGregorianCalendar_my_from_fixed_m3246142135 (Il2CppObject * __this /* static, unused */, int32_t* ___month0, int32_t* ___year1, int32_t ___date2, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; { int32_t* L_0 = ___year1; int32_t L_1 = ___date2; int32_t L_2 = CCGregorianCalendar_year_from_fixed_m950407162(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); *((int32_t*)(L_0)) = (int32_t)L_2; int32_t L_3 = ___date2; int32_t* L_4 = ___year1; int32_t L_5 = CCGregorianCalendar_fixed_from_dmy_m3599278993(NULL /*static, unused*/, 1, 1, (*((int32_t*)L_4)), /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_3-(int32_t)L_5)); int32_t L_6 = ___date2; int32_t* L_7 = ___year1; int32_t L_8 = CCGregorianCalendar_fixed_from_dmy_m3599278993(NULL /*static, unused*/, 1, 3, (*((int32_t*)L_7)), /*hidden argument*/NULL); if ((((int32_t)L_6) >= ((int32_t)L_8))) { goto IL_002a; } } { V_1 = 0; goto IL_003f; } IL_002a: { int32_t* L_9 = ___year1; bool L_10 = CCGregorianCalendar_is_leap_year_m567513478(NULL /*static, unused*/, (*((int32_t*)L_9)), /*hidden argument*/NULL); if (!L_10) { goto IL_003d; } } { V_1 = 1; goto IL_003f; } IL_003d: { V_1 = 2; } IL_003f: { int32_t* L_11 = ___month0; int32_t L_12 = V_0; int32_t L_13 = V_1; int32_t L_14 = CCMath_div_m1996795405(NULL /*static, unused*/, ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)12)*(int32_t)((int32_t)((int32_t)L_12+(int32_t)L_13))))+(int32_t)((int32_t)373))), ((int32_t)367), /*hidden argument*/NULL); *((int32_t*)(L_11)) = (int32_t)L_14; return; } } // System.Void System.Globalization.CCGregorianCalendar::dmy_from_fixed(System.Int32&,System.Int32&,System.Int32&,System.Int32) extern "C" void CCGregorianCalendar_dmy_from_fixed_m2992247462 (Il2CppObject * __this /* static, unused */, int32_t* ___day0, int32_t* ___month1, int32_t* ___year2, int32_t ___date3, const MethodInfo* method) { { int32_t* L_0 = ___month1; int32_t* L_1 = ___year2; int32_t L_2 = ___date3; CCGregorianCalendar_my_from_fixed_m3246142135(NULL /*static, unused*/, L_0, L_1, L_2, /*hidden argument*/NULL); int32_t* L_3 = ___day0; int32_t L_4 = ___date3; int32_t* L_5 = ___month1; int32_t* L_6 = ___year2; int32_t L_7 = CCGregorianCalendar_fixed_from_dmy_m3599278993(NULL /*static, unused*/, 1, (*((int32_t*)L_5)), (*((int32_t*)L_6)), /*hidden argument*/NULL); *((int32_t*)(L_3)) = (int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_4-(int32_t)L_7))+(int32_t)1)); return; } } // System.Int32 System.Globalization.CCGregorianCalendar::month_from_fixed(System.Int32) extern "C" int32_t CCGregorianCalendar_month_from_fixed_m1322406109 (Il2CppObject * __this /* static, unused */, int32_t ___date0, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; { int32_t L_0 = ___date0; CCGregorianCalendar_my_from_fixed_m3246142135(NULL /*static, unused*/, (&V_0), (&V_1), L_0, /*hidden argument*/NULL); int32_t L_1 = V_0; return L_1; } } // System.Int32 System.Globalization.CCGregorianCalendar::day_from_fixed(System.Int32) extern "C" int32_t CCGregorianCalendar_day_from_fixed_m3991975629 (Il2CppObject * __this /* static, unused */, int32_t ___date0, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; { int32_t L_0 = ___date0; CCGregorianCalendar_dmy_from_fixed_m2992247462(NULL /*static, unused*/, (&V_0), (&V_1), (&V_2), L_0, /*hidden argument*/NULL); int32_t L_1 = V_0; return L_1; } } // System.Int32 System.Globalization.CCGregorianCalendar::GetDayOfMonth(System.DateTime) extern "C" int32_t CCGregorianCalendar_GetDayOfMonth_m3108144925 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___time0, const MethodInfo* method) { { DateTime_t693205669 L_0 = ___time0; int32_t L_1 = CCFixed_FromDateTime_m2873486417(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); int32_t L_2 = CCGregorianCalendar_day_from_fixed_m3991975629(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } } // System.Int32 System.Globalization.CCGregorianCalendar::GetMonth(System.DateTime) extern "C" int32_t CCGregorianCalendar_GetMonth_m1267068874 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___time0, const MethodInfo* method) { { DateTime_t693205669 L_0 = ___time0; int32_t L_1 = CCFixed_FromDateTime_m2873486417(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); int32_t L_2 = CCGregorianCalendar_month_from_fixed_m1322406109(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } } // System.Int32 System.Globalization.CCGregorianCalendar::GetYear(System.DateTime) extern "C" int32_t CCGregorianCalendar_GetYear_m1289900195 (Il2CppObject * __this /* static, unused */, DateTime_t693205669 ___time0, const MethodInfo* method) { { DateTime_t693205669 L_0 = ___time0; int32_t L_1 = CCFixed_FromDateTime_m2873486417(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); int32_t L_2 = CCGregorianCalendar_year_from_fixed_m950407162(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } } // System.Int32 System.Globalization.CCMath::div(System.Int32,System.Int32) extern "C" int32_t CCMath_div_m1996795405 (Il2CppObject * __this /* static, unused */, int32_t ___x0, int32_t ___y1, const MethodInfo* method) { { int32_t L_0 = ___x0; int32_t L_1 = ___y1; double L_2 = floor(((double)((double)(((double)((double)L_0)))/(double)(((double)((double)L_1)))))); return (((int32_t)((int32_t)L_2))); } } // System.Int32 System.Globalization.CCMath::mod(System.Int32,System.Int32) extern "C" int32_t CCMath_mod_m3612151074 (Il2CppObject * __this /* static, unused */, int32_t ___x0, int32_t ___y1, const MethodInfo* method) { { int32_t L_0 = ___x0; int32_t L_1 = ___y1; int32_t L_2 = ___x0; int32_t L_3 = ___y1; int32_t L_4 = CCMath_div_m1996795405(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_0-(int32_t)((int32_t)((int32_t)L_1*(int32_t)L_4)))); } } // System.Int32 System.Globalization.CCMath::div_mod(System.Int32&,System.Int32,System.Int32) extern "C" int32_t CCMath_div_mod_m4257470219 (Il2CppObject * __this /* static, unused */, int32_t* ___remainder0, int32_t ___x1, int32_t ___y2, const MethodInfo* method) { int32_t V_0 = 0; { int32_t L_0 = ___x1; int32_t L_1 = ___y2; int32_t L_2 = CCMath_div_m1996795405(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); V_0 = L_2; int32_t* L_3 = ___remainder0; int32_t L_4 = ___x1; int32_t L_5 = ___y2; int32_t L_6 = V_0; *((int32_t*)(L_3)) = (int32_t)((int32_t)((int32_t)L_4-(int32_t)((int32_t)((int32_t)L_5*(int32_t)L_6)))); int32_t L_7 = V_0; return L_7; } } // System.Void System.Globalization.CompareInfo::.ctor() extern "C" void CompareInfo__ctor_m3537279649 (CompareInfo_t2310920157 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); return; } } // System.Void System.Globalization.CompareInfo::.ctor(System.Globalization.CultureInfo) extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var; extern const uint32_t CompareInfo__ctor_m2066631099_MetadataUsageId; extern "C" void CompareInfo__ctor_m2066631099 (CompareInfo_t2310920157 * __this, CultureInfo_t3500843524 * ___ci0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo__ctor_m2066631099_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); CultureInfo_t3500843524 * L_0 = ___ci0; int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Globalization.CultureInfo::get_LCID() */, L_0); __this->set_culture_1(L_1); IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); bool L_2 = CompareInfo_get_UseManagedCollation_m2316526027(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_2) { goto IL_009f; } } { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); Il2CppObject * L_3 = ((CompareInfo_t2310920157_StaticFields*)CompareInfo_t2310920157_il2cpp_TypeInfo_var->static_fields)->get_monitor_5(); V_0 = L_3; Il2CppObject * L_4 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); } IL_0028: try { // begin try (depth: 1) { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); Hashtable_t909839986 * L_5 = ((CompareInfo_t2310920157_StaticFields*)CompareInfo_t2310920157_il2cpp_TypeInfo_var->static_fields)->get_collators_4(); if (L_5) { goto IL_003c; } } IL_0032: { Hashtable_t909839986 * L_6 = (Hashtable_t909839986 *)il2cpp_codegen_object_new(Hashtable_t909839986_il2cpp_TypeInfo_var); Hashtable__ctor_m1884964176(L_6, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); ((CompareInfo_t2310920157_StaticFields*)CompareInfo_t2310920157_il2cpp_TypeInfo_var->static_fields)->set_collators_4(L_6); } IL_003c: { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); Hashtable_t909839986 * L_7 = ((CompareInfo_t2310920157_StaticFields*)CompareInfo_t2310920157_il2cpp_TypeInfo_var->static_fields)->get_collators_4(); CultureInfo_t3500843524 * L_8 = ___ci0; int32_t L_9 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Globalization.CultureInfo::get_LCID() */, L_8); int32_t L_10 = L_9; Il2CppObject * L_11 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_10); Il2CppObject * L_12 = VirtFuncInvoker1< Il2CppObject *, Il2CppObject * >::Invoke(22 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, L_7, L_11); __this->set_collator_3(((SimpleCollator_t4081201584 *)CastclassClass(L_12, SimpleCollator_t4081201584_il2cpp_TypeInfo_var))); SimpleCollator_t4081201584 * L_13 = __this->get_collator_3(); if (L_13) { goto IL_008e; } } IL_0067: { CultureInfo_t3500843524 * L_14 = ___ci0; SimpleCollator_t4081201584 * L_15 = (SimpleCollator_t4081201584 *)il2cpp_codegen_object_new(SimpleCollator_t4081201584_il2cpp_TypeInfo_var); SimpleCollator__ctor_m3789916787(L_15, L_14, /*hidden argument*/NULL); __this->set_collator_3(L_15); IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); Hashtable_t909839986 * L_16 = ((CompareInfo_t2310920157_StaticFields*)CompareInfo_t2310920157_il2cpp_TypeInfo_var->static_fields)->get_collators_4(); CultureInfo_t3500843524 * L_17 = ___ci0; int32_t L_18 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Globalization.CultureInfo::get_LCID() */, L_17); int32_t L_19 = L_18; Il2CppObject * L_20 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_19); SimpleCollator_t4081201584 * L_21 = __this->get_collator_3(); VirtActionInvoker2< Il2CppObject *, Il2CppObject * >::Invoke(23 /* System.Void System.Collections.Hashtable::set_Item(System.Object,System.Object) */, L_16, L_20, L_21); } IL_008e: { IL2CPP_LEAVE(0x9A, FINALLY_0093); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0093; } FINALLY_0093: { // begin finally (depth: 1) Il2CppObject * L_22 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_22, /*hidden argument*/NULL); IL2CPP_END_FINALLY(147) } // end finally (depth: 1) IL2CPP_CLEANUP(147) { IL2CPP_JUMP_TBL(0x9A, IL_009a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_009a: { goto IL_00b7; } IL_009f: { CultureInfo_t3500843524 * L_23 = ___ci0; String_t* L_24 = CultureInfo_get_IcuName_m2551455630(L_23, /*hidden argument*/NULL); __this->set_icu_name_2(L_24); String_t* L_25 = __this->get_icu_name_2(); CompareInfo_construct_compareinfo_m1849123306(__this, L_25, /*hidden argument*/NULL); } IL_00b7: { return; } } // System.Void System.Globalization.CompareInfo::.cctor() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var; extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral604416204; extern Il2CppCodeGenString* _stringLiteral3021628911; extern const uint32_t CompareInfo__cctor_m374454560_MetadataUsageId; extern "C" void CompareInfo__cctor_m374454560 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo__cctor_m374454560_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t G_B3_0 = 0; { String_t* L_0 = Environment_internalGetEnvironmentVariable_m793691779(NULL /*static, unused*/, _stringLiteral604416204, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_1 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_0, _stringLiteral3021628911, /*hidden argument*/NULL); if (!L_1) { goto IL_0020; } } { IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var); bool L_2 = MSCompatUnicodeTable_get_IsReady_m562849792(NULL /*static, unused*/, /*hidden argument*/NULL); G_B3_0 = ((int32_t)(L_2)); goto IL_0021; } IL_0020: { G_B3_0 = 0; } IL_0021: { ((CompareInfo_t2310920157_StaticFields*)CompareInfo_t2310920157_il2cpp_TypeInfo_var->static_fields)->set_useManagedCollation_0((bool)G_B3_0); Il2CppObject * L_3 = (Il2CppObject *)il2cpp_codegen_object_new(Il2CppObject_il2cpp_TypeInfo_var); Object__ctor_m2551263788(L_3, /*hidden argument*/NULL); ((CompareInfo_t2310920157_StaticFields*)CompareInfo_t2310920157_il2cpp_TypeInfo_var->static_fields)->set_monitor_5(L_3); return; } } // System.Void System.Globalization.CompareInfo::System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(System.Object) extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var; extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern const uint32_t CompareInfo_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m3125905389_MetadataUsageId; extern "C" void CompareInfo_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m3125905389 (CompareInfo_t2310920157 * __this, Il2CppObject * ___sender0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m3125905389_MetadataUsageId); s_Il2CppMethodInitialized = true; } Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); bool L_0 = CompareInfo_get_UseManagedCollation_m2316526027(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_0) { goto IL_0025; } } { int32_t L_1 = __this->get_culture_1(); CultureInfo_t3500843524 * L_2 = (CultureInfo_t3500843524 *)il2cpp_codegen_object_new(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo__ctor_m3417484387(L_2, L_1, /*hidden argument*/NULL); SimpleCollator_t4081201584 * L_3 = (SimpleCollator_t4081201584 *)il2cpp_codegen_object_new(SimpleCollator_t4081201584_il2cpp_TypeInfo_var); SimpleCollator__ctor_m3789916787(L_3, L_2, /*hidden argument*/NULL); __this->set_collator_3(L_3); goto IL_003c; } IL_0025: try { // begin try (depth: 1) String_t* L_4 = __this->get_icu_name_2(); CompareInfo_construct_compareinfo_m1849123306(__this, L_4, /*hidden argument*/NULL); goto IL_003c; } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1927440687 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Il2CppObject_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0036; throw e; } CATCH_0036: { // begin catch(System.Object) goto IL_003c; } // end catch (depth: 1) IL_003c: { return; } } // System.Boolean System.Globalization.CompareInfo::get_UseManagedCollation() extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern const uint32_t CompareInfo_get_UseManagedCollation_m2316526027_MetadataUsageId; extern "C" bool CompareInfo_get_UseManagedCollation_m2316526027 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_get_UseManagedCollation_m2316526027_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); bool L_0 = ((CompareInfo_t2310920157_StaticFields*)CompareInfo_t2310920157_il2cpp_TypeInfo_var->static_fields)->get_useManagedCollation_0(); return L_0; } } // System.Void System.Globalization.CompareInfo::construct_compareinfo(System.String) extern "C" void CompareInfo_construct_compareinfo_m1849123306 (CompareInfo_t2310920157 * __this, String_t* ___locale0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*CompareInfo_construct_compareinfo_m1849123306_ftn) (CompareInfo_t2310920157 *, String_t*); ((CompareInfo_construct_compareinfo_m1849123306_ftn)mscorlib::System::Globalization::CompareInfo::construct_compareinfo) (__this, ___locale0); } // System.Void System.Globalization.CompareInfo::free_internal_collator() extern "C" void CompareInfo_free_internal_collator_m2713722336 (CompareInfo_t2310920157 * __this, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*CompareInfo_free_internal_collator_m2713722336_ftn) (CompareInfo_t2310920157 *); ((CompareInfo_free_internal_collator_m2713722336_ftn)mscorlib::System::Globalization::CompareInfo::free_internal_collator) (__this); } // System.Int32 System.Globalization.CompareInfo::internal_compare(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) extern "C" int32_t CompareInfo_internal_compare_m2427268655 (CompareInfo_t2310920157 * __this, String_t* ___str10, int32_t ___offset11, int32_t ___length12, String_t* ___str23, int32_t ___offset24, int32_t ___length25, int32_t ___options6, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*CompareInfo_internal_compare_m2427268655_ftn) (CompareInfo_t2310920157 *, String_t*, int32_t, int32_t, String_t*, int32_t, int32_t, int32_t); return ((CompareInfo_internal_compare_m2427268655_ftn)mscorlib::System::Globalization::CompareInfo::internal_compare) (__this, ___str10, ___offset11, ___length12, ___str23, ___offset24, ___length25, ___options6); } // System.Void System.Globalization.CompareInfo::assign_sortkey(System.Object,System.String,System.Globalization.CompareOptions) extern "C" void CompareInfo_assign_sortkey_m4147041957 (CompareInfo_t2310920157 * __this, Il2CppObject * ___key0, String_t* ___source1, int32_t ___options2, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*CompareInfo_assign_sortkey_m4147041957_ftn) (CompareInfo_t2310920157 *, Il2CppObject *, String_t*, int32_t); ((CompareInfo_assign_sortkey_m4147041957_ftn)mscorlib::System::Globalization::CompareInfo::assign_sortkey) (__this, ___key0, ___source1, ___options2); } // System.Int32 System.Globalization.CompareInfo::internal_index(System.String,System.Int32,System.Int32,System.String,System.Globalization.CompareOptions,System.Boolean) extern "C" int32_t CompareInfo_internal_index_m3516012977 (CompareInfo_t2310920157 * __this, String_t* ___source0, int32_t ___sindex1, int32_t ___count2, String_t* ___value3, int32_t ___options4, bool ___first5, const MethodInfo* method) { using namespace il2cpp::icalls; typedef int32_t (*CompareInfo_internal_index_m3516012977_ftn) (CompareInfo_t2310920157 *, String_t*, int32_t, int32_t, String_t*, int32_t, bool); return ((CompareInfo_internal_index_m3516012977_ftn)mscorlib::System::Globalization::CompareInfo::internal_index) (__this, ___source0, ___sindex1, ___count2, ___value3, ___options4, ___first5); } // System.Void System.Globalization.CompareInfo::Finalize() extern "C" void CompareInfo_Finalize_m2868735867 (CompareInfo_t2310920157 * __this, const MethodInfo* method) { Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); IL_0000: try { // begin try (depth: 1) CompareInfo_free_internal_collator_m2713722336(__this, /*hidden argument*/NULL); IL2CPP_LEAVE(0x12, FINALLY_000b); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_000b; } FINALLY_000b: { // begin finally (depth: 1) Object_Finalize_m4087144328(__this, /*hidden argument*/NULL); IL2CPP_END_FINALLY(11) } // end finally (depth: 1) IL2CPP_CLEANUP(11) { IL2CPP_JUMP_TBL(0x12, IL_0012) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0012: { return; } } // System.Int32 System.Globalization.CompareInfo::internal_compare_managed(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) extern "C" int32_t CompareInfo_internal_compare_managed_m1173317301 (CompareInfo_t2310920157 * __this, String_t* ___str10, int32_t ___offset11, int32_t ___length12, String_t* ___str23, int32_t ___offset24, int32_t ___length25, int32_t ___options6, const MethodInfo* method) { { SimpleCollator_t4081201584 * L_0 = __this->get_collator_3(); String_t* L_1 = ___str10; int32_t L_2 = ___offset11; int32_t L_3 = ___length12; String_t* L_4 = ___str23; int32_t L_5 = ___offset24; int32_t L_6 = ___length25; int32_t L_7 = ___options6; int32_t L_8 = SimpleCollator_Compare_m168545919(L_0, L_1, L_2, L_3, L_4, L_5, L_6, L_7, /*hidden argument*/NULL); return L_8; } } // System.Int32 System.Globalization.CompareInfo::internal_compare_switch(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern const uint32_t CompareInfo_internal_compare_switch_m1232517870_MetadataUsageId; extern "C" int32_t CompareInfo_internal_compare_switch_m1232517870 (CompareInfo_t2310920157 * __this, String_t* ___str10, int32_t ___offset11, int32_t ___length12, String_t* ___str23, int32_t ___offset24, int32_t ___length25, int32_t ___options6, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_internal_compare_switch_m1232517870_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t G_B3_0 = 0; { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); bool L_0 = CompareInfo_get_UseManagedCollation_m2316526027(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_0) { goto IL_0020; } } { String_t* L_1 = ___str10; int32_t L_2 = ___offset11; int32_t L_3 = ___length12; String_t* L_4 = ___str23; int32_t L_5 = ___offset24; int32_t L_6 = ___length25; int32_t L_7 = ___options6; int32_t L_8 = CompareInfo_internal_compare_managed_m1173317301(__this, L_1, L_2, L_3, L_4, L_5, L_6, L_7, /*hidden argument*/NULL); G_B3_0 = L_8; goto IL_0031; } IL_0020: { String_t* L_9 = ___str10; int32_t L_10 = ___offset11; int32_t L_11 = ___length12; String_t* L_12 = ___str23; int32_t L_13 = ___offset24; int32_t L_14 = ___length25; int32_t L_15 = ___options6; int32_t L_16 = CompareInfo_internal_compare_m2427268655(__this, L_9, L_10, L_11, L_12, L_13, L_14, L_15, /*hidden argument*/NULL); G_B3_0 = L_16; } IL_0031: { return G_B3_0; } } // System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.String) extern "C" int32_t CompareInfo_Compare_m529052140 (CompareInfo_t2310920157 * __this, String_t* ___string10, String_t* ___string21, const MethodInfo* method) { { String_t* L_0 = ___string10; String_t* L_1 = ___string21; int32_t L_2 = VirtFuncInvoker3< int32_t, String_t*, String_t*, int32_t >::Invoke(6 /* System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.String,System.Globalization.CompareOptions) */, __this, L_0, L_1, 0); return L_2; } } // System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.String,System.Globalization.CompareOptions) extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1510501756; extern const uint32_t CompareInfo_Compare_m3983294983_MetadataUsageId; extern "C" int32_t CompareInfo_Compare_m3983294983 (CompareInfo_t2310920157 * __this, String_t* ___string10, String_t* ___string21, int32_t ___options2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_Compare_m3983294983_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___options2; int32_t L_1 = ___options2; if ((((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)1879048223)))) == ((int32_t)L_1))) { goto IL_0018; } } { ArgumentException_t3259014390 * L_2 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_2, _stringLiteral1510501756, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_0018: { String_t* L_3 = ___string10; if (L_3) { goto IL_0028; } } { String_t* L_4 = ___string21; if (L_4) { goto IL_0026; } } { return 0; } IL_0026: { return (-1); } IL_0028: { String_t* L_5 = ___string21; if (L_5) { goto IL_0030; } } { return 1; } IL_0030: { String_t* L_6 = ___string10; int32_t L_7 = String_get_Length_m1606060069(L_6, /*hidden argument*/NULL); if (L_7) { goto IL_0048; } } { String_t* L_8 = ___string21; int32_t L_9 = String_get_Length_m1606060069(L_8, /*hidden argument*/NULL); if (L_9) { goto IL_0048; } } { return 0; } IL_0048: { String_t* L_10 = ___string10; String_t* L_11 = ___string10; int32_t L_12 = String_get_Length_m1606060069(L_11, /*hidden argument*/NULL); String_t* L_13 = ___string21; String_t* L_14 = ___string21; int32_t L_15 = String_get_Length_m1606060069(L_14, /*hidden argument*/NULL); int32_t L_16 = ___options2; int32_t L_17 = CompareInfo_internal_compare_switch_m1232517870(__this, L_10, 0, L_12, L_13, 0, L_15, L_16, /*hidden argument*/NULL); return L_17; } } // System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1510501756; extern Il2CppCodeGenString* _stringLiteral4120004399; extern Il2CppCodeGenString* _stringLiteral2285299333; extern Il2CppCodeGenString* _stringLiteral4187429989; extern Il2CppCodeGenString* _stringLiteral355306801; extern Il2CppCodeGenString* _stringLiteral3258051662; extern const uint32_t CompareInfo_Compare_m1376863687_MetadataUsageId; extern "C" int32_t CompareInfo_Compare_m1376863687 (CompareInfo_t2310920157 * __this, String_t* ___string10, int32_t ___offset11, int32_t ___length12, String_t* ___string23, int32_t ___offset24, int32_t ___length25, int32_t ___options6, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_Compare_m1376863687_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = ___options6; int32_t L_1 = ___options6; if ((((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)1879048223)))) == ((int32_t)L_1))) { goto IL_001a; } } { ArgumentException_t3259014390 * L_2 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_2, _stringLiteral1510501756, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_2); } IL_001a: { String_t* L_3 = ___string10; if (L_3) { goto IL_002b; } } { String_t* L_4 = ___string23; if (L_4) { goto IL_0029; } } { return 0; } IL_0029: { return (-1); } IL_002b: { String_t* L_5 = ___string23; if (L_5) { goto IL_0034; } } { return 1; } IL_0034: { String_t* L_6 = ___string10; int32_t L_7 = String_get_Length_m1606060069(L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_0051; } } { int32_t L_8 = ___offset11; String_t* L_9 = ___string10; int32_t L_10 = String_get_Length_m1606060069(L_9, /*hidden argument*/NULL); if ((((int32_t)L_8) == ((int32_t)L_10))) { goto IL_0051; } } { int32_t L_11 = ___length12; if (L_11) { goto IL_0074; } } IL_0051: { String_t* L_12 = ___string23; int32_t L_13 = String_get_Length_m1606060069(L_12, /*hidden argument*/NULL); if (!L_13) { goto IL_0072; } } { int32_t L_14 = ___offset24; String_t* L_15 = ___string23; int32_t L_16 = String_get_Length_m1606060069(L_15, /*hidden argument*/NULL); if ((((int32_t)L_14) == ((int32_t)L_16))) { goto IL_0072; } } { int32_t L_17 = ___length25; if (L_17) { goto IL_0074; } } IL_0072: { return 0; } IL_0074: { int32_t L_18 = ___offset11; if ((((int32_t)L_18) < ((int32_t)0))) { goto IL_0092; } } { int32_t L_19 = ___length12; if ((((int32_t)L_19) < ((int32_t)0))) { goto IL_0092; } } { int32_t L_20 = ___offset24; if ((((int32_t)L_20) < ((int32_t)0))) { goto IL_0092; } } { int32_t L_21 = ___length25; if ((((int32_t)L_21) >= ((int32_t)0))) { goto IL_009d; } } IL_0092: { ArgumentOutOfRangeException_t279959794 * L_22 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_22, _stringLiteral4120004399, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_22); } IL_009d: { int32_t L_23 = ___offset11; String_t* L_24 = ___string10; int32_t L_25 = String_get_Length_m1606060069(L_24, /*hidden argument*/NULL); if ((((int32_t)L_23) <= ((int32_t)L_25))) { goto IL_00b4; } } { ArgumentOutOfRangeException_t279959794 * L_26 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_26, _stringLiteral2285299333, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_26); } IL_00b4: { int32_t L_27 = ___offset24; String_t* L_28 = ___string23; int32_t L_29 = String_get_Length_m1606060069(L_28, /*hidden argument*/NULL); if ((((int32_t)L_27) <= ((int32_t)L_29))) { goto IL_00cd; } } { ArgumentOutOfRangeException_t279959794 * L_30 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_30, _stringLiteral4187429989, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_30); } IL_00cd: { int32_t L_31 = ___length12; String_t* L_32 = ___string10; int32_t L_33 = String_get_Length_m1606060069(L_32, /*hidden argument*/NULL); int32_t L_34 = ___offset11; if ((((int32_t)L_31) <= ((int32_t)((int32_t)((int32_t)L_33-(int32_t)L_34))))) { goto IL_00e6; } } { ArgumentOutOfRangeException_t279959794 * L_35 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_35, _stringLiteral355306801, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_35); } IL_00e6: { int32_t L_36 = ___length25; String_t* L_37 = ___string23; int32_t L_38 = String_get_Length_m1606060069(L_37, /*hidden argument*/NULL); int32_t L_39 = ___offset24; if ((((int32_t)L_36) <= ((int32_t)((int32_t)((int32_t)L_38-(int32_t)L_39))))) { goto IL_0102; } } { ArgumentOutOfRangeException_t279959794 * L_40 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_40, _stringLiteral3258051662, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_40); } IL_0102: { String_t* L_41 = ___string10; int32_t L_42 = ___offset11; int32_t L_43 = ___length12; String_t* L_44 = ___string23; int32_t L_45 = ___offset24; int32_t L_46 = ___length25; int32_t L_47 = ___options6; int32_t L_48 = CompareInfo_internal_compare_switch_m1232517870(__this, L_41, L_42, L_43, L_44, L_45, L_46, L_47, /*hidden argument*/NULL); return L_48; } } // System.Boolean System.Globalization.CompareInfo::Equals(System.Object) extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern const uint32_t CompareInfo_Equals_m1849093104_MetadataUsageId; extern "C" bool CompareInfo_Equals_m1849093104 (CompareInfo_t2310920157 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_Equals_m1849093104_MetadataUsageId); s_Il2CppMethodInitialized = true; } CompareInfo_t2310920157 * V_0 = NULL; { Il2CppObject * L_0 = ___value0; V_0 = ((CompareInfo_t2310920157 *)IsInstClass(L_0, CompareInfo_t2310920157_il2cpp_TypeInfo_var)); CompareInfo_t2310920157 * L_1 = V_0; if (L_1) { goto IL_000f; } } { return (bool)0; } IL_000f: { CompareInfo_t2310920157 * L_2 = V_0; int32_t L_3 = L_2->get_culture_1(); int32_t L_4 = __this->get_culture_1(); return (bool)((((int32_t)L_3) == ((int32_t)L_4))? 1 : 0); } } // System.Int32 System.Globalization.CompareInfo::GetHashCode() extern "C" int32_t CompareInfo_GetHashCode_m103561552 (CompareInfo_t2310920157 * __this, const MethodInfo* method) { { int32_t L_0 = CompareInfo_get_LCID_m3346446356(__this, /*hidden argument*/NULL); return L_0; } } // System.Globalization.SortKey System.Globalization.CompareInfo::GetSortKey(System.String,System.Globalization.CompareOptions) extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern Il2CppClass* SortKey_t1270563137_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1852084015; extern Il2CppCodeGenString* _stringLiteral1510501756; extern const uint32_t CompareInfo_GetSortKey_m3691382873_MetadataUsageId; extern "C" SortKey_t1270563137 * CompareInfo_GetSortKey_m3691382873 (CompareInfo_t2310920157 * __this, String_t* ___source0, int32_t ___options1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_GetSortKey_m3691382873_MetadataUsageId); s_Il2CppMethodInitialized = true; } SortKey_t1270563137 * V_0 = NULL; int32_t V_1 = 0; { int32_t L_0 = ___options1; V_1 = L_0; int32_t L_1 = V_1; if ((((int32_t)L_1) == ((int32_t)((int32_t)268435456)))) { goto IL_001d; } } { int32_t L_2 = V_1; if ((((int32_t)L_2) == ((int32_t)((int32_t)1073741824)))) { goto IL_001d; } } { goto IL_002d; } IL_001d: { ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_3, _stringLiteral1852084015, _stringLiteral1510501756, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_002d: { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); bool L_4 = CompareInfo_get_UseManagedCollation_m2316526027(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_4) { goto IL_0045; } } { SimpleCollator_t4081201584 * L_5 = __this->get_collator_3(); String_t* L_6 = ___source0; int32_t L_7 = ___options1; SortKey_t1270563137 * L_8 = SimpleCollator_GetSortKey_m540875593(L_5, L_6, L_7, /*hidden argument*/NULL); return L_8; } IL_0045: { int32_t L_9 = __this->get_culture_1(); String_t* L_10 = ___source0; int32_t L_11 = ___options1; SortKey_t1270563137 * L_12 = (SortKey_t1270563137 *)il2cpp_codegen_object_new(SortKey_t1270563137_il2cpp_TypeInfo_var); SortKey__ctor_m2383358977(L_12, L_9, L_10, L_11, /*hidden argument*/NULL); V_0 = L_12; SortKey_t1270563137 * L_13 = V_0; String_t* L_14 = ___source0; int32_t L_15 = ___options1; CompareInfo_assign_sortkey_m4147041957(__this, L_13, L_14, L_15, /*hidden argument*/NULL); SortKey_t1270563137 * L_16 = V_0; return L_16; } } // System.Int32 System.Globalization.CompareInfo::IndexOf(System.String,System.String,System.Int32,System.Int32) extern "C" int32_t CompareInfo_IndexOf_m1755461348 (CompareInfo_t2310920157 * __this, String_t* ___source0, String_t* ___value1, int32_t ___startIndex2, int32_t ___count3, const MethodInfo* method) { { String_t* L_0 = ___source0; String_t* L_1 = ___value1; int32_t L_2 = ___startIndex2; int32_t L_3 = ___count3; int32_t L_4 = VirtFuncInvoker5< int32_t, String_t*, String_t*, int32_t, int32_t, int32_t >::Invoke(10 /* System.Int32 System.Globalization.CompareInfo::IndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) */, __this, L_0, L_1, L_2, L_3, 0); return L_4; } } // System.Int32 System.Globalization.CompareInfo::internal_index_managed(System.String,System.Int32,System.Int32,System.String,System.Globalization.CompareOptions,System.Boolean) extern "C" int32_t CompareInfo_internal_index_managed_m859405335 (CompareInfo_t2310920157 * __this, String_t* ___s10, int32_t ___sindex1, int32_t ___count2, String_t* ___s23, int32_t ___opt4, bool ___first5, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = ___first5; if (!L_0) { goto IL_001e; } } { SimpleCollator_t4081201584 * L_1 = __this->get_collator_3(); String_t* L_2 = ___s10; String_t* L_3 = ___s23; int32_t L_4 = ___sindex1; int32_t L_5 = ___count2; int32_t L_6 = ___opt4; int32_t L_7 = SimpleCollator_IndexOf_m2575613007(L_1, L_2, L_3, L_4, L_5, L_6, /*hidden argument*/NULL); G_B3_0 = L_7; goto IL_0030; } IL_001e: { SimpleCollator_t4081201584 * L_8 = __this->get_collator_3(); String_t* L_9 = ___s10; String_t* L_10 = ___s23; int32_t L_11 = ___sindex1; int32_t L_12 = ___count2; int32_t L_13 = ___opt4; int32_t L_14 = SimpleCollator_LastIndexOf_m3919677393(L_8, L_9, L_10, L_11, L_12, L_13, /*hidden argument*/NULL); G_B3_0 = L_14; } IL_0030: { return G_B3_0; } } // System.Int32 System.Globalization.CompareInfo::internal_index_switch(System.String,System.Int32,System.Int32,System.String,System.Globalization.CompareOptions,System.Boolean) extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern const uint32_t CompareInfo_internal_index_switch_m3568425406_MetadataUsageId; extern "C" int32_t CompareInfo_internal_index_switch_m3568425406 (CompareInfo_t2310920157 * __this, String_t* ___s10, int32_t ___sindex1, int32_t ___count2, String_t* ___s23, int32_t ___opt4, bool ___first5, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_internal_index_switch_m3568425406_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t G_B5_0 = 0; { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); bool L_0 = CompareInfo_get_UseManagedCollation_m2316526027(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_0) { goto IL_0031; } } { bool L_1 = ___first5; if (!L_1) { goto IL_001d; } } { int32_t L_2 = ___opt4; if ((((int32_t)L_2) == ((int32_t)((int32_t)1073741824)))) { goto IL_0031; } } IL_001d: { String_t* L_3 = ___s10; int32_t L_4 = ___sindex1; int32_t L_5 = ___count2; String_t* L_6 = ___s23; int32_t L_7 = ___opt4; bool L_8 = ___first5; int32_t L_9 = CompareInfo_internal_index_managed_m859405335(__this, L_3, L_4, L_5, L_6, L_7, L_8, /*hidden argument*/NULL); G_B5_0 = L_9; goto IL_0040; } IL_0031: { String_t* L_10 = ___s10; int32_t L_11 = ___sindex1; int32_t L_12 = ___count2; String_t* L_13 = ___s23; int32_t L_14 = ___opt4; bool L_15 = ___first5; int32_t L_16 = CompareInfo_internal_index_m3516012977(__this, L_10, L_11, L_12, L_13, L_14, L_15, /*hidden argument*/NULL); G_B5_0 = L_16; } IL_0040: { return G_B5_0; } } // System.Int32 System.Globalization.CompareInfo::IndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4211174801; extern Il2CppCodeGenString* _stringLiteral1803325615; extern Il2CppCodeGenString* _stringLiteral2445621174; extern Il2CppCodeGenString* _stringLiteral1554746267; extern Il2CppCodeGenString* _stringLiteral1510501756; extern const uint32_t CompareInfo_IndexOf_m3290589503_MetadataUsageId; extern "C" int32_t CompareInfo_IndexOf_m3290589503 (CompareInfo_t2310920157 * __this, String_t* ___source0, String_t* ___value1, int32_t ___startIndex2, int32_t ___count3, int32_t ___options4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_IndexOf_m3290589503_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___source0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral4211174801, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___value1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int32_t L_4 = ___startIndex2; if ((((int32_t)L_4) >= ((int32_t)0))) { goto IL_0034; } } { ArgumentOutOfRangeException_t279959794 * L_5 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_5, _stringLiteral2445621174, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0034: { int32_t L_6 = ___count3; if ((((int32_t)L_6) < ((int32_t)0))) { goto IL_004b; } } { String_t* L_7 = ___source0; int32_t L_8 = String_get_Length_m1606060069(L_7, /*hidden argument*/NULL); int32_t L_9 = ___startIndex2; int32_t L_10 = ___count3; if ((((int32_t)((int32_t)((int32_t)L_8-(int32_t)L_9))) >= ((int32_t)L_10))) { goto IL_0056; } } IL_004b: { ArgumentOutOfRangeException_t279959794 * L_11 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_11, _stringLiteral1554746267, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_11); } IL_0056: { int32_t L_12 = ___options4; int32_t L_13 = ___options4; if ((((int32_t)((int32_t)((int32_t)L_12&(int32_t)((int32_t)1342177311)))) == ((int32_t)L_13))) { goto IL_0070; } } { ArgumentException_t3259014390 * L_14 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_14, _stringLiteral1510501756, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_14); } IL_0070: { String_t* L_15 = ___value1; int32_t L_16 = String_get_Length_m1606060069(L_15, /*hidden argument*/NULL); if (L_16) { goto IL_007d; } } { int32_t L_17 = ___startIndex2; return L_17; } IL_007d: { int32_t L_18 = ___count3; if (L_18) { goto IL_0086; } } { return (-1); } IL_0086: { String_t* L_19 = ___source0; int32_t L_20 = ___startIndex2; int32_t L_21 = ___count3; String_t* L_22 = ___value1; int32_t L_23 = ___options4; int32_t L_24 = CompareInfo_internal_index_switch_m3568425406(__this, L_19, L_20, L_21, L_22, L_23, (bool)1, /*hidden argument*/NULL); return L_24; } } // System.Boolean System.Globalization.CompareInfo::IsPrefix(System.String,System.String,System.Globalization.CompareOptions) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4211174801; extern Il2CppCodeGenString* _stringLiteral2488368518; extern const uint32_t CompareInfo_IsPrefix_m4278207924_MetadataUsageId; extern "C" bool CompareInfo_IsPrefix_m4278207924 (CompareInfo_t2310920157 * __this, String_t* ___source0, String_t* ___prefix1, int32_t ___options2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_IsPrefix_m4278207924_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___source0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral4211174801, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___prefix1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral2488368518, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); bool L_4 = CompareInfo_get_UseManagedCollation_m2316526027(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_4) { goto IL_003b; } } { SimpleCollator_t4081201584 * L_5 = __this->get_collator_3(); String_t* L_6 = ___source0; String_t* L_7 = ___prefix1; int32_t L_8 = ___options2; bool L_9 = SimpleCollator_IsPrefix_m3427394972(L_5, L_6, L_7, L_8, /*hidden argument*/NULL); return L_9; } IL_003b: { String_t* L_10 = ___source0; int32_t L_11 = String_get_Length_m1606060069(L_10, /*hidden argument*/NULL); String_t* L_12 = ___prefix1; int32_t L_13 = String_get_Length_m1606060069(L_12, /*hidden argument*/NULL); if ((((int32_t)L_11) >= ((int32_t)L_13))) { goto IL_004e; } } { return (bool)0; } IL_004e: { String_t* L_14 = ___source0; String_t* L_15 = ___prefix1; int32_t L_16 = String_get_Length_m1606060069(L_15, /*hidden argument*/NULL); String_t* L_17 = ___prefix1; String_t* L_18 = ___prefix1; int32_t L_19 = String_get_Length_m1606060069(L_18, /*hidden argument*/NULL); int32_t L_20 = ___options2; int32_t L_21 = VirtFuncInvoker7< int32_t, String_t*, int32_t, int32_t, String_t*, int32_t, int32_t, int32_t >::Invoke(7 /* System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) */, __this, L_14, 0, L_16, L_17, 0, L_19, L_20); return (bool)((((int32_t)L_21) == ((int32_t)0))? 1 : 0); } } // System.Boolean System.Globalization.CompareInfo::IsSuffix(System.String,System.String,System.Globalization.CompareOptions) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4211174801; extern Il2CppCodeGenString* _stringLiteral1194093599; extern const uint32_t CompareInfo_IsSuffix_m2927043075_MetadataUsageId; extern "C" bool CompareInfo_IsSuffix_m2927043075 (CompareInfo_t2310920157 * __this, String_t* ___source0, String_t* ___suffix1, int32_t ___options2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_IsSuffix_m2927043075_MetadataUsageId); s_Il2CppMethodInitialized = true; } { String_t* L_0 = ___source0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral4211174801, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___suffix1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1194093599, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { IL2CPP_RUNTIME_CLASS_INIT(CompareInfo_t2310920157_il2cpp_TypeInfo_var); bool L_4 = CompareInfo_get_UseManagedCollation_m2316526027(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_4) { goto IL_003b; } } { SimpleCollator_t4081201584 * L_5 = __this->get_collator_3(); String_t* L_6 = ___source0; String_t* L_7 = ___suffix1; int32_t L_8 = ___options2; bool L_9 = SimpleCollator_IsSuffix_m3137828155(L_5, L_6, L_7, L_8, /*hidden argument*/NULL); return L_9; } IL_003b: { String_t* L_10 = ___source0; int32_t L_11 = String_get_Length_m1606060069(L_10, /*hidden argument*/NULL); String_t* L_12 = ___suffix1; int32_t L_13 = String_get_Length_m1606060069(L_12, /*hidden argument*/NULL); if ((((int32_t)L_11) >= ((int32_t)L_13))) { goto IL_004e; } } { return (bool)0; } IL_004e: { String_t* L_14 = ___source0; String_t* L_15 = ___source0; int32_t L_16 = String_get_Length_m1606060069(L_15, /*hidden argument*/NULL); String_t* L_17 = ___suffix1; int32_t L_18 = String_get_Length_m1606060069(L_17, /*hidden argument*/NULL); String_t* L_19 = ___suffix1; int32_t L_20 = String_get_Length_m1606060069(L_19, /*hidden argument*/NULL); String_t* L_21 = ___suffix1; String_t* L_22 = ___suffix1; int32_t L_23 = String_get_Length_m1606060069(L_22, /*hidden argument*/NULL); int32_t L_24 = ___options2; int32_t L_25 = VirtFuncInvoker7< int32_t, String_t*, int32_t, int32_t, String_t*, int32_t, int32_t, int32_t >::Invoke(7 /* System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) */, __this, L_14, ((int32_t)((int32_t)L_16-(int32_t)L_18)), L_20, L_21, 0, L_23, L_24); return (bool)((((int32_t)L_25) == ((int32_t)0))? 1 : 0); } } // System.Int32 System.Globalization.CompareInfo::LastIndexOf(System.String,System.String,System.Int32,System.Int32) extern "C" int32_t CompareInfo_LastIndexOf_m2978196696 (CompareInfo_t2310920157 * __this, String_t* ___source0, String_t* ___value1, int32_t ___startIndex2, int32_t ___count3, const MethodInfo* method) { { String_t* L_0 = ___source0; String_t* L_1 = ___value1; int32_t L_2 = ___startIndex2; int32_t L_3 = ___count3; int32_t L_4 = VirtFuncInvoker5< int32_t, String_t*, String_t*, int32_t, int32_t, int32_t >::Invoke(14 /* System.Int32 System.Globalization.CompareInfo::LastIndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) */, __this, L_0, L_1, L_2, L_3, 0); return L_4; } } // System.Int32 System.Globalization.CompareInfo::LastIndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4211174801; extern Il2CppCodeGenString* _stringLiteral1803325615; extern Il2CppCodeGenString* _stringLiteral2445621174; extern Il2CppCodeGenString* _stringLiteral1554746267; extern Il2CppCodeGenString* _stringLiteral1510501756; extern const uint32_t CompareInfo_LastIndexOf_m3171401641_MetadataUsageId; extern "C" int32_t CompareInfo_LastIndexOf_m3171401641 (CompareInfo_t2310920157 * __this, String_t* ___source0, String_t* ___value1, int32_t ___startIndex2, int32_t ___count3, int32_t ___options4, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_LastIndexOf_m3171401641_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { String_t* L_0 = ___source0; if (L_0) { goto IL_0011; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral4211174801, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0011: { String_t* L_2 = ___value1; if (L_2) { goto IL_0022; } } { ArgumentNullException_t628810857 * L_3 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_3, _stringLiteral1803325615, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0022: { int32_t L_4 = ___startIndex2; if ((((int32_t)L_4) >= ((int32_t)0))) { goto IL_0034; } } { ArgumentOutOfRangeException_t279959794 * L_5 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_5, _stringLiteral2445621174, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0034: { int32_t L_6 = ___count3; if ((((int32_t)L_6) < ((int32_t)0))) { goto IL_0046; } } { int32_t L_7 = ___startIndex2; int32_t L_8 = ___count3; if ((((int32_t)((int32_t)((int32_t)L_7-(int32_t)L_8))) >= ((int32_t)(-1)))) { goto IL_0051; } } IL_0046: { ArgumentOutOfRangeException_t279959794 * L_9 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m1595007065(L_9, _stringLiteral1554746267, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_9); } IL_0051: { int32_t L_10 = ___options4; int32_t L_11 = ___options4; if ((((int32_t)((int32_t)((int32_t)L_10&(int32_t)((int32_t)1342177311)))) == ((int32_t)L_11))) { goto IL_006b; } } { ArgumentException_t3259014390 * L_12 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m3739475201(L_12, _stringLiteral1510501756, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_006b: { int32_t L_13 = ___count3; if (L_13) { goto IL_0074; } } { return (-1); } IL_0074: { String_t* L_14 = ___value1; int32_t L_15 = String_get_Length_m1606060069(L_14, /*hidden argument*/NULL); V_0 = L_15; int32_t L_16 = V_0; if (L_16) { goto IL_0083; } } { return 0; } IL_0083: { String_t* L_17 = ___source0; int32_t L_18 = ___startIndex2; int32_t L_19 = ___count3; String_t* L_20 = ___value1; int32_t L_21 = ___options4; int32_t L_22 = CompareInfo_internal_index_switch_m3568425406(__this, L_17, L_18, L_19, L_20, L_21, (bool)0, /*hidden argument*/NULL); return L_22; } } // System.String System.Globalization.CompareInfo::ToString() extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4067130182; extern const uint32_t CompareInfo_ToString_m3102502680_MetadataUsageId; extern "C" String_t* CompareInfo_ToString_m3102502680 (CompareInfo_t2310920157 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CompareInfo_ToString_m3102502680_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get_culture_1(); int32_t L_1 = L_0; Il2CppObject * L_2 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_1); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_3 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral4067130182, L_2, /*hidden argument*/NULL); return L_3; } } // System.Int32 System.Globalization.CompareInfo::get_LCID() extern "C" int32_t CompareInfo_get_LCID_m3346446356 (CompareInfo_t2310920157 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_culture_1(); return L_0; } } // System.Void System.Globalization.CultureInfo::.ctor(System.Int32) extern "C" void CultureInfo__ctor_m3417484387 (CultureInfo_t3500843524 * __this, int32_t ___culture0, const MethodInfo* method) { { int32_t L_0 = ___culture0; CultureInfo__ctor_m3007508210(__this, L_0, (bool)1, /*hidden argument*/NULL); return; } } // System.Void System.Globalization.CultureInfo::.ctor(System.Int32,System.Boolean) extern "C" void CultureInfo__ctor_m3007508210 (CultureInfo_t3500843524 * __this, int32_t ___culture0, bool ___useUserOverride1, const MethodInfo* method) { { int32_t L_0 = ___culture0; bool L_1 = ___useUserOverride1; CultureInfo__ctor_m1916039599(__this, L_0, L_1, (bool)0, /*hidden argument*/NULL); return; } } // System.Void System.Globalization.CultureInfo::.ctor(System.Int32,System.Boolean,System.Boolean) extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral1206263880; extern Il2CppCodeGenString* _stringLiteral1128127371; extern Il2CppCodeGenString* _stringLiteral1157747176; extern const uint32_t CultureInfo__ctor_m1916039599_MetadataUsageId; extern "C" void CultureInfo__ctor_m1916039599 (CultureInfo_t3500843524 * __this, int32_t ___culture0, bool ___useUserOverride1, bool ___read_only2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo__ctor_m1916039599_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); int32_t L_0 = ___culture0; if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_001d; } } { ArgumentOutOfRangeException_t279959794 * L_1 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var); ArgumentOutOfRangeException__ctor_m4234257711(L_1, _stringLiteral1206263880, _stringLiteral1128127371, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_001d: { __this->set_constructed_33((bool)1); bool L_2 = ___read_only2; __this->set_m_isReadOnly_7(L_2); bool L_3 = ___useUserOverride1; __this->set_m_useUserOverride_13(L_3); int32_t L_4 = ___culture0; if ((!(((uint32_t)L_4) == ((uint32_t)((int32_t)127))))) { goto IL_0042; } } { bool L_5 = ___read_only2; CultureInfo_ConstructInvariant_m2492947178(__this, L_5, /*hidden argument*/NULL); return; } IL_0042: { int32_t L_6 = ___culture0; bool L_7 = CultureInfo_ConstructInternalLocaleFromLcid_m1929848881(__this, L_6, /*hidden argument*/NULL); if (L_7) { goto IL_0069; } } { int32_t L_8 = ___culture0; int32_t L_9 = L_8; Il2CppObject * L_10 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_9); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_11 = String_Format_m2024975688(NULL /*static, unused*/, _stringLiteral1157747176, L_10, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_12 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_12, L_11, _stringLiteral1206263880, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_0069: { return; } } // System.Void System.Globalization.CultureInfo::.ctor(System.String,System.Boolean,System.Boolean) extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2328218955; extern Il2CppCodeGenString* _stringLiteral3893721683; extern Il2CppCodeGenString* _stringLiteral2393788683; extern const uint32_t CultureInfo__ctor_m182018410_MetadataUsageId; extern "C" void CultureInfo__ctor_m182018410 (CultureInfo_t3500843524 * __this, String_t* ___name0, bool ___useUserOverride1, bool ___read_only2, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo__ctor_m182018410_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); String_t* L_0 = ___name0; if (L_0) { goto IL_0017; } } { ArgumentNullException_t628810857 * L_1 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_1, _stringLiteral2328218955, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_1); } IL_0017: { __this->set_constructed_33((bool)1); bool L_2 = ___read_only2; __this->set_m_isReadOnly_7(L_2); bool L_3 = ___useUserOverride1; __this->set_m_useUserOverride_13(L_3); String_t* L_4 = ___name0; int32_t L_5 = String_get_Length_m1606060069(L_4, /*hidden argument*/NULL); if (L_5) { goto IL_003f; } } { bool L_6 = ___read_only2; CultureInfo_ConstructInvariant_m2492947178(__this, L_6, /*hidden argument*/NULL); return; } IL_003f: { String_t* L_7 = ___name0; String_t* L_8 = String_ToLowerInvariant_m3152527487(L_7, /*hidden argument*/NULL); bool L_9 = CultureInfo_ConstructInternalLocaleFromName_m2808296363(__this, L_8, /*hidden argument*/NULL); if (L_9) { goto IL_006b; } } { String_t* L_10 = ___name0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_11 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral3893721683, L_10, _stringLiteral2393788683, /*hidden argument*/NULL); ArgumentException_t3259014390 * L_12 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var); ArgumentException__ctor_m544251339(L_12, L_11, _stringLiteral2328218955, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_12); } IL_006b: { return; } } // System.Void System.Globalization.CultureInfo::.ctor() extern "C" void CultureInfo__ctor_m456863818 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { { Object__ctor_m2551263788(__this, /*hidden argument*/NULL); __this->set_constructed_33((bool)1); return; } } // System.Void System.Globalization.CultureInfo::.cctor() extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var; extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3621353335; extern const uint32_t CultureInfo__cctor_m2290268677_MetadataUsageId; extern "C" void CultureInfo__cctor_m2290268677 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo__cctor_m2290268677_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Il2CppObject * L_0 = (Il2CppObject *)il2cpp_codegen_object_new(Il2CppObject_il2cpp_TypeInfo_var); Object__ctor_m2551263788(L_0, /*hidden argument*/NULL); ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->set_shared_table_lock_5(L_0); ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->set_MSG_READONLY_35(_stringLiteral3621353335); CultureInfo_t3500843524 * L_1 = (CultureInfo_t3500843524 *)il2cpp_codegen_object_new(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo__ctor_m1916039599(L_1, ((int32_t)127), (bool)0, (bool)1, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->set_invariant_culture_info_4(L_1); return; } } // System.Globalization.CultureInfo System.Globalization.CultureInfo::get_InvariantCulture() extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_get_InvariantCulture_m398972276_MetadataUsageId; extern "C" CultureInfo_t3500843524 * CultureInfo_get_InvariantCulture_m398972276 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_get_InvariantCulture_m398972276_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_0 = ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->get_invariant_culture_info_4(); il2cpp_codegen_memory_barrier(); return L_0; } } // System.Globalization.CultureInfo System.Globalization.CultureInfo::get_CurrentCulture() extern Il2CppClass* Thread_t241561612_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_get_CurrentCulture_m711066087_MetadataUsageId; extern "C" CultureInfo_t3500843524 * CultureInfo_get_CurrentCulture_m711066087 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_get_CurrentCulture_m711066087_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Thread_t241561612_il2cpp_TypeInfo_var); Thread_t241561612 * L_0 = Thread_get_CurrentThread_m3667342817(NULL /*static, unused*/, /*hidden argument*/NULL); CultureInfo_t3500843524 * L_1 = Thread_get_CurrentCulture_m1387904254(L_0, /*hidden argument*/NULL); return L_1; } } // System.Globalization.CultureInfo System.Globalization.CultureInfo::get_CurrentUICulture() extern Il2CppClass* Thread_t241561612_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_get_CurrentUICulture_m3242413191_MetadataUsageId; extern "C" CultureInfo_t3500843524 * CultureInfo_get_CurrentUICulture_m3242413191 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_get_CurrentUICulture_m3242413191_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Thread_t241561612_il2cpp_TypeInfo_var); Thread_t241561612 * L_0 = Thread_get_CurrentThread_m3667342817(NULL /*static, unused*/, /*hidden argument*/NULL); CultureInfo_t3500843524 * L_1 = Thread_get_CurrentUICulture_m4211585028(L_0, /*hidden argument*/NULL); return L_1; } } // System.Globalization.CultureInfo System.Globalization.CultureInfo::ConstructCurrentCulture() extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_ConstructCurrentCulture_m1264488007_MetadataUsageId; extern "C" CultureInfo_t3500843524 * CultureInfo_ConstructCurrentCulture_m1264488007 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_ConstructCurrentCulture_m1264488007_MetadataUsageId); s_Il2CppMethodInitialized = true; } CultureInfo_t3500843524 * V_0 = NULL; { CultureInfo_t3500843524 * L_0 = (CultureInfo_t3500843524 *)il2cpp_codegen_object_new(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo__ctor_m456863818(L_0, /*hidden argument*/NULL); V_0 = L_0; CultureInfo_t3500843524 * L_1 = V_0; IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); bool L_2 = CultureInfo_ConstructInternalLocaleFromCurrentLocale_m1342751405(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); if (L_2) { goto IL_0017; } } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_3 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_3; } IL_0017: { CultureInfo_t3500843524 * L_4 = V_0; int32_t L_5 = L_4->get_cultureID_8(); IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->set_BootstrapCultureID_6(L_5); CultureInfo_t3500843524 * L_6 = V_0; return L_6; } } // System.Globalization.CultureInfo System.Globalization.CultureInfo::ConstructCurrentUICulture() extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_ConstructCurrentUICulture_m3363349599_MetadataUsageId; extern "C" CultureInfo_t3500843524 * CultureInfo_ConstructCurrentUICulture_m3363349599 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_ConstructCurrentUICulture_m3363349599_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_0 = CultureInfo_ConstructCurrentCulture_m1264488007(NULL /*static, unused*/, /*hidden argument*/NULL); return L_0; } } // System.Int32 System.Globalization.CultureInfo::get_LCID() extern "C" int32_t CultureInfo_get_LCID_m1392728055 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_cultureID_8(); return L_0; } } // System.String System.Globalization.CultureInfo::get_Name() extern "C" String_t* CultureInfo_get_Name_m3316229893 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_name_17(); return L_0; } } // System.Globalization.CultureInfo System.Globalization.CultureInfo::get_Parent() extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_get_Parent_m3248846518_MetadataUsageId; extern "C" CultureInfo_t3500843524 * CultureInfo_get_Parent_m3248846518 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_get_Parent_m3248846518_MetadataUsageId); s_Il2CppMethodInitialized = true; } { CultureInfo_t3500843524 * L_0 = __this->get_parent_culture_30(); if (L_0) { goto IL_0076; } } { bool L_1 = __this->get_constructed_33(); if (L_1) { goto IL_001c; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_001c: { int32_t L_2 = __this->get_parent_lcid_9(); int32_t L_3 = __this->get_cultureID_8(); if ((!(((uint32_t)L_2) == ((uint32_t)L_3)))) { goto IL_002f; } } { return (CultureInfo_t3500843524 *)NULL; } IL_002f: { int32_t L_4 = __this->get_parent_lcid_9(); if ((!(((uint32_t)L_4) == ((uint32_t)((int32_t)127))))) { goto IL_004c; } } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo_t3500843524 * L_5 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_parent_culture_30(L_5); goto IL_0076; } IL_004c: { int32_t L_6 = __this->get_cultureID_8(); if ((!(((uint32_t)L_6) == ((uint32_t)((int32_t)127))))) { goto IL_0065; } } { __this->set_parent_culture_30(__this); goto IL_0076; } IL_0065: { int32_t L_7 = __this->get_parent_lcid_9(); CultureInfo_t3500843524 * L_8 = (CultureInfo_t3500843524 *)il2cpp_codegen_object_new(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo__ctor_m3417484387(L_8, L_7, /*hidden argument*/NULL); __this->set_parent_culture_30(L_8); } IL_0076: { CultureInfo_t3500843524 * L_9 = __this->get_parent_culture_30(); return L_9; } } // System.Globalization.TextInfo System.Globalization.CultureInfo::get_TextInfo() extern "C" TextInfo_t3620182823 * CultureInfo_get_TextInfo_m1582311326 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { CultureInfo_t3500843524 * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { TextInfo_t3620182823 * L_0 = __this->get_textInfo_16(); il2cpp_codegen_memory_barrier(); if (L_0) { goto IL_0053; } } { bool L_1 = __this->get_constructed_33(); if (L_1) { goto IL_001e; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_001e: { V_0 = __this; CultureInfo_t3500843524 * L_2 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_0026: try { // begin try (depth: 1) { TextInfo_t3620182823 * L_3 = __this->get_textInfo_16(); il2cpp_codegen_memory_barrier(); if (L_3) { goto IL_0047; } } IL_0033: { bool L_4 = __this->get_m_isReadOnly_7(); TextInfo_t3620182823 * L_5 = CultureInfo_CreateTextInfo_m2269397562(__this, L_4, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); __this->set_textInfo_16(L_5); } IL_0047: { IL2CPP_LEAVE(0x53, FINALLY_004c); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_004c; } FINALLY_004c: { // begin finally (depth: 1) CultureInfo_t3500843524 * L_6 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); IL2CPP_END_FINALLY(76) } // end finally (depth: 1) IL2CPP_CLEANUP(76) { IL2CPP_JUMP_TBL(0x53, IL_0053) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_0053: { TextInfo_t3620182823 * L_7 = __this->get_textInfo_16(); il2cpp_codegen_memory_barrier(); return L_7; } } // System.String System.Globalization.CultureInfo::get_IcuName() extern "C" String_t* CultureInfo_get_IcuName_m2551455630 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { { bool L_0 = __this->get_constructed_33(); if (L_0) { goto IL_0011; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_0011: { String_t* L_1 = __this->get_icu_name_23(); return L_1; } } // System.Object System.Globalization.CultureInfo::Clone() extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* NumberFormatInfo_t104580544_il2cpp_TypeInfo_var; extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_Clone_m2970753766_MetadataUsageId; extern "C" Il2CppObject * CultureInfo_Clone_m2970753766 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_Clone_m2970753766_MetadataUsageId); s_Il2CppMethodInitialized = true; } CultureInfo_t3500843524 * V_0 = NULL; { bool L_0 = __this->get_constructed_33(); if (L_0) { goto IL_0011; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_0011: { Il2CppObject * L_1 = Object_MemberwiseClone_m2655589444(__this, /*hidden argument*/NULL); V_0 = ((CultureInfo_t3500843524 *)CastclassClass(L_1, CultureInfo_t3500843524_il2cpp_TypeInfo_var)); CultureInfo_t3500843524 * L_2 = V_0; L_2->set_m_isReadOnly_7((bool)0); CultureInfo_t3500843524 * L_3 = V_0; L_3->set_cached_serialized_form_34((ByteU5BU5D_t3397334013*)NULL); bool L_4 = VirtFuncInvoker0< bool >::Invoke(12 /* System.Boolean System.Globalization.CultureInfo::get_IsNeutralCulture() */, __this); if (L_4) { goto IL_0062; } } { CultureInfo_t3500843524 * L_5 = V_0; NumberFormatInfo_t104580544 * L_6 = VirtFuncInvoker0< NumberFormatInfo_t104580544 * >::Invoke(13 /* System.Globalization.NumberFormatInfo System.Globalization.CultureInfo::get_NumberFormat() */, __this); Il2CppObject * L_7 = NumberFormatInfo_Clone_m40553114(L_6, /*hidden argument*/NULL); VirtActionInvoker1< NumberFormatInfo_t104580544 * >::Invoke(14 /* System.Void System.Globalization.CultureInfo::set_NumberFormat(System.Globalization.NumberFormatInfo) */, L_5, ((NumberFormatInfo_t104580544 *)CastclassSealed(L_7, NumberFormatInfo_t104580544_il2cpp_TypeInfo_var))); CultureInfo_t3500843524 * L_8 = V_0; DateTimeFormatInfo_t2187473504 * L_9 = VirtFuncInvoker0< DateTimeFormatInfo_t2187473504 * >::Invoke(15 /* System.Globalization.DateTimeFormatInfo System.Globalization.CultureInfo::get_DateTimeFormat() */, __this); Il2CppObject * L_10 = DateTimeFormatInfo_Clone_m1101948106(L_9, /*hidden argument*/NULL); VirtActionInvoker1< DateTimeFormatInfo_t2187473504 * >::Invoke(16 /* System.Void System.Globalization.CultureInfo::set_DateTimeFormat(System.Globalization.DateTimeFormatInfo) */, L_8, ((DateTimeFormatInfo_t2187473504 *)CastclassSealed(L_10, DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var))); } IL_0062: { CultureInfo_t3500843524 * L_11 = V_0; return L_11; } } // System.Boolean System.Globalization.CultureInfo::Equals(System.Object) extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_Equals_m1273044155_MetadataUsageId; extern "C" bool CultureInfo_Equals_m1273044155 (CultureInfo_t3500843524 * __this, Il2CppObject * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_Equals_m1273044155_MetadataUsageId); s_Il2CppMethodInitialized = true; } CultureInfo_t3500843524 * V_0 = NULL; { Il2CppObject * L_0 = ___value0; V_0 = ((CultureInfo_t3500843524 *)IsInstClass(L_0, CultureInfo_t3500843524_il2cpp_TypeInfo_var)); CultureInfo_t3500843524 * L_1 = V_0; if (!L_1) { goto IL_001c; } } { CultureInfo_t3500843524 * L_2 = V_0; int32_t L_3 = L_2->get_cultureID_8(); int32_t L_4 = __this->get_cultureID_8(); return (bool)((((int32_t)L_3) == ((int32_t)L_4))? 1 : 0); } IL_001c: { return (bool)0; } } // System.Int32 System.Globalization.CultureInfo::GetHashCode() extern "C" int32_t CultureInfo_GetHashCode_m927602525 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_cultureID_8(); return L_0; } } // System.String System.Globalization.CultureInfo::ToString() extern "C" String_t* CultureInfo_ToString_m2835610349 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_name_17(); return L_0; } } // System.Globalization.CompareInfo System.Globalization.CultureInfo::get_CompareInfo() extern Il2CppClass* CompareInfo_t2310920157_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_get_CompareInfo_m3085280862_MetadataUsageId; extern "C" CompareInfo_t2310920157 * CultureInfo_get_CompareInfo_m3085280862 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_get_CompareInfo_m3085280862_MetadataUsageId); s_Il2CppMethodInitialized = true; } CultureInfo_t3500843524 * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { CompareInfo_t2310920157 * L_0 = __this->get_compareInfo_26(); il2cpp_codegen_memory_barrier(); if (L_0) { goto IL_004d; } } { bool L_1 = __this->get_constructed_33(); if (L_1) { goto IL_001e; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_001e: { V_0 = __this; CultureInfo_t3500843524 * L_2 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_0026: try { // begin try (depth: 1) { CompareInfo_t2310920157 * L_3 = __this->get_compareInfo_26(); il2cpp_codegen_memory_barrier(); if (L_3) { goto IL_0041; } } IL_0033: { CompareInfo_t2310920157 * L_4 = (CompareInfo_t2310920157 *)il2cpp_codegen_object_new(CompareInfo_t2310920157_il2cpp_TypeInfo_var); CompareInfo__ctor_m2066631099(L_4, __this, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); __this->set_compareInfo_26(L_4); } IL_0041: { IL2CPP_LEAVE(0x4D, FINALLY_0046); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0046; } FINALLY_0046: { // begin finally (depth: 1) CultureInfo_t3500843524 * L_5 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); IL2CPP_END_FINALLY(70) } // end finally (depth: 1) IL2CPP_CLEANUP(70) { IL2CPP_JUMP_TBL(0x4D, IL_004d) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_004d: { CompareInfo_t2310920157 * L_6 = __this->get_compareInfo_26(); il2cpp_codegen_memory_barrier(); return L_6; } } // System.Boolean System.Globalization.CultureInfo::get_IsNeutralCulture() extern "C" bool CultureInfo_get_IsNeutralCulture_m3874876470 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { int32_t G_B7_0 = 0; { bool L_0 = __this->get_constructed_33(); if (L_0) { goto IL_0011; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_0011: { int32_t L_1 = __this->get_cultureID_8(); if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)127))))) { goto IL_0020; } } { return (bool)0; } IL_0020: { int32_t L_2 = __this->get_cultureID_8(); if (!((int32_t)((int32_t)L_2&(int32_t)((int32_t)65280)))) { goto IL_003c; } } { int32_t L_3 = __this->get_specific_lcid_10(); G_B7_0 = ((((int32_t)L_3) == ((int32_t)0))? 1 : 0); goto IL_003d; } IL_003c: { G_B7_0 = 1; } IL_003d: { return (bool)G_B7_0; } } // System.Void System.Globalization.CultureInfo::CheckNeutral() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4057765286; extern Il2CppCodeGenString* _stringLiteral889959884; extern const uint32_t CultureInfo_CheckNeutral_m2904724585_MetadataUsageId; extern "C" void CultureInfo_CheckNeutral_m2904724585 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_CheckNeutral_m2904724585_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = VirtFuncInvoker0< bool >::Invoke(12 /* System.Boolean System.Globalization.CultureInfo::get_IsNeutralCulture() */, __this); if (!L_0) { goto IL_0026; } } { String_t* L_1 = __this->get_m_name_17(); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_2 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral4057765286, L_1, _stringLiteral889959884, /*hidden argument*/NULL); NotSupportedException_t1793819818 * L_3 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var); NotSupportedException__ctor_m836173213(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0026: { return; } } // System.Globalization.NumberFormatInfo System.Globalization.CultureInfo::get_NumberFormat() extern Il2CppClass* NumberFormatInfo_t104580544_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_get_NumberFormat_m724925476_MetadataUsageId; extern "C" NumberFormatInfo_t104580544 * CultureInfo_get_NumberFormat_m724925476 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_get_NumberFormat_m724925476_MetadataUsageId); s_Il2CppMethodInitialized = true; } CultureInfo_t3500843524 * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { bool L_0 = __this->get_constructed_33(); if (L_0) { goto IL_0011; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_0011: { CultureInfo_CheckNeutral_m2904724585(__this, /*hidden argument*/NULL); NumberFormatInfo_t104580544 * L_1 = __this->get_numInfo_14(); il2cpp_codegen_memory_barrier(); if (L_1) { goto IL_005e; } } { V_0 = __this; CultureInfo_t3500843524 * L_2 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_002c: try { // begin try (depth: 1) { NumberFormatInfo_t104580544 * L_3 = __this->get_numInfo_14(); il2cpp_codegen_memory_barrier(); if (L_3) { goto IL_0052; } } IL_0039: { bool L_4 = __this->get_m_isReadOnly_7(); NumberFormatInfo_t104580544 * L_5 = (NumberFormatInfo_t104580544 *)il2cpp_codegen_object_new(NumberFormatInfo_t104580544_il2cpp_TypeInfo_var); NumberFormatInfo__ctor_m1805216409(L_5, L_4, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); __this->set_numInfo_14(L_5); CultureInfo_construct_number_format_m2069641695(__this, /*hidden argument*/NULL); } IL_0052: { IL2CPP_LEAVE(0x5E, FINALLY_0057); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0057; } FINALLY_0057: { // begin finally (depth: 1) CultureInfo_t3500843524 * L_6 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); IL2CPP_END_FINALLY(87) } // end finally (depth: 1) IL2CPP_CLEANUP(87) { IL2CPP_JUMP_TBL(0x5E, IL_005e) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_005e: { NumberFormatInfo_t104580544 * L_7 = __this->get_numInfo_14(); il2cpp_codegen_memory_barrier(); return L_7; } } // System.Void System.Globalization.CultureInfo::set_NumberFormat(System.Globalization.NumberFormatInfo) extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral592638884; extern const uint32_t CultureInfo_set_NumberFormat_m1618950525_MetadataUsageId; extern "C" void CultureInfo_set_NumberFormat_m1618950525 (CultureInfo_t3500843524 * __this, NumberFormatInfo_t104580544 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_set_NumberFormat_m1618950525_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = __this->get_constructed_33(); if (L_0) { goto IL_0011; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_0011: { bool L_1 = __this->get_m_isReadOnly_7(); if (!L_1) { goto IL_0027; } } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); String_t* L_2 = ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->get_MSG_READONLY_35(); InvalidOperationException_t721527559 * L_3 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0027: { NumberFormatInfo_t104580544 * L_4 = ___value0; if (L_4) { goto IL_0038; } } { ArgumentNullException_t628810857 * L_5 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_5, _stringLiteral592638884, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0038: { NumberFormatInfo_t104580544 * L_6 = ___value0; il2cpp_codegen_memory_barrier(); __this->set_numInfo_14(L_6); return; } } // System.Globalization.DateTimeFormatInfo System.Globalization.CultureInfo::get_DateTimeFormat() extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_get_DateTimeFormat_m1833759772_MetadataUsageId; extern "C" DateTimeFormatInfo_t2187473504 * CultureInfo_get_DateTimeFormat_m1833759772 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_get_DateTimeFormat_m1833759772_MetadataUsageId); s_Il2CppMethodInitialized = true; } CultureInfo_t3500843524 * V_0 = NULL; Exception_t1927440687 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1927440687 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { bool L_0 = __this->get_constructed_33(); if (L_0) { goto IL_0011; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_0011: { CultureInfo_CheckNeutral_m2904724585(__this, /*hidden argument*/NULL); DateTimeFormatInfo_t2187473504 * L_1 = __this->get_dateTimeInfo_15(); il2cpp_codegen_memory_barrier(); if (L_1) { goto IL_007e; } } { V_0 = __this; CultureInfo_t3500843524 * L_2 = V_0; Monitor_Enter_m2136705809(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); } IL_002c: try { // begin try (depth: 1) { DateTimeFormatInfo_t2187473504 * L_3 = __this->get_dateTimeInfo_15(); il2cpp_codegen_memory_barrier(); if (L_3) { goto IL_0072; } } IL_0039: { bool L_4 = __this->get_m_isReadOnly_7(); DateTimeFormatInfo_t2187473504 * L_5 = (DateTimeFormatInfo_t2187473504 *)il2cpp_codegen_object_new(DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var); DateTimeFormatInfo__ctor_m913756651(L_5, L_4, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); __this->set_dateTimeInfo_15(L_5); CultureInfo_construct_datetime_format_m268249821(__this, /*hidden argument*/NULL); CalendarU5BU5D_t3654442685* L_6 = __this->get_optional_calendars_29(); if (!L_6) { goto IL_0072; } } IL_005d: { DateTimeFormatInfo_t2187473504 * L_7 = __this->get_dateTimeInfo_15(); il2cpp_codegen_memory_barrier(); CalendarU5BU5D_t3654442685* L_8 = __this->get_optional_calendars_29(); int32_t L_9 = 0; Calendar_t585061108 * L_10 = (L_8)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9)); DateTimeFormatInfo_set_Calendar_m3919319357(L_7, L_10, /*hidden argument*/NULL); } IL_0072: { IL2CPP_LEAVE(0x7E, FINALLY_0077); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1927440687 *)e.ex; goto FINALLY_0077; } FINALLY_0077: { // begin finally (depth: 1) CultureInfo_t3500843524 * L_11 = V_0; Monitor_Exit_m2677760297(NULL /*static, unused*/, L_11, /*hidden argument*/NULL); IL2CPP_END_FINALLY(119) } // end finally (depth: 1) IL2CPP_CLEANUP(119) { IL2CPP_JUMP_TBL(0x7E, IL_007e) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *) } IL_007e: { DateTimeFormatInfo_t2187473504 * L_12 = __this->get_dateTimeInfo_15(); il2cpp_codegen_memory_barrier(); return L_12; } } // System.Void System.Globalization.CultureInfo::set_DateTimeFormat(System.Globalization.DateTimeFormatInfo) extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* InvalidOperationException_t721527559_il2cpp_TypeInfo_var; extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3800071456; extern const uint32_t CultureInfo_set_DateTimeFormat_m4021616765_MetadataUsageId; extern "C" void CultureInfo_set_DateTimeFormat_m4021616765 (CultureInfo_t3500843524 * __this, DateTimeFormatInfo_t2187473504 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_set_DateTimeFormat_m4021616765_MetadataUsageId); s_Il2CppMethodInitialized = true; } { bool L_0 = __this->get_constructed_33(); if (L_0) { goto IL_0011; } } { CultureInfo_Construct_m896220827(__this, /*hidden argument*/NULL); } IL_0011: { bool L_1 = __this->get_m_isReadOnly_7(); if (!L_1) { goto IL_0027; } } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); String_t* L_2 = ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->get_MSG_READONLY_35(); InvalidOperationException_t721527559 * L_3 = (InvalidOperationException_t721527559 *)il2cpp_codegen_object_new(InvalidOperationException_t721527559_il2cpp_TypeInfo_var); InvalidOperationException__ctor_m2801133788(L_3, L_2, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_3); } IL_0027: { DateTimeFormatInfo_t2187473504 * L_4 = ___value0; if (L_4) { goto IL_0038; } } { ArgumentNullException_t628810857 * L_5 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var); ArgumentNullException__ctor_m3380712306(L_5, _stringLiteral3800071456, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_5); } IL_0038: { DateTimeFormatInfo_t2187473504 * L_6 = ___value0; il2cpp_codegen_memory_barrier(); __this->set_dateTimeInfo_15(L_6); return; } } // System.Boolean System.Globalization.CultureInfo::get_IsReadOnly() extern "C" bool CultureInfo_get_IsReadOnly_m1391179347 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_isReadOnly_7(); return L_0; } } // System.Object System.Globalization.CultureInfo::GetFormat(System.Type) extern const Il2CppType* NumberFormatInfo_t104580544_0_0_0_var; extern const Il2CppType* DateTimeFormatInfo_t2187473504_0_0_0_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_GetFormat_m3560116485_MetadataUsageId; extern "C" Il2CppObject * CultureInfo_GetFormat_m3560116485 (CultureInfo_t3500843524 * __this, Type_t * ___formatType0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_GetFormat_m3560116485_MetadataUsageId); s_Il2CppMethodInitialized = true; } Il2CppObject * V_0 = NULL; { V_0 = NULL; Type_t * L_0 = ___formatType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_1 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(NumberFormatInfo_t104580544_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_0) == ((Il2CppObject*)(Type_t *)L_1)))) { goto IL_001e; } } { NumberFormatInfo_t104580544 * L_2 = VirtFuncInvoker0< NumberFormatInfo_t104580544 * >::Invoke(13 /* System.Globalization.NumberFormatInfo System.Globalization.CultureInfo::get_NumberFormat() */, __this); V_0 = L_2; goto IL_0035; } IL_001e: { Type_t * L_3 = ___formatType0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_4 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(DateTimeFormatInfo_t2187473504_0_0_0_var), /*hidden argument*/NULL); if ((!(((Il2CppObject*)(Type_t *)L_3) == ((Il2CppObject*)(Type_t *)L_4)))) { goto IL_0035; } } { DateTimeFormatInfo_t2187473504 * L_5 = VirtFuncInvoker0< DateTimeFormatInfo_t2187473504 * >::Invoke(15 /* System.Globalization.DateTimeFormatInfo System.Globalization.CultureInfo::get_DateTimeFormat() */, __this); V_0 = L_5; } IL_0035: { Il2CppObject * L_6 = V_0; return L_6; } } // System.Void System.Globalization.CultureInfo::Construct() extern "C" void CultureInfo_Construct_m896220827 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_cultureID_8(); CultureInfo_construct_internal_locale_from_lcid_m498096141(__this, L_0, /*hidden argument*/NULL); __this->set_constructed_33((bool)1); return; } } // System.Boolean System.Globalization.CultureInfo::ConstructInternalLocaleFromName(System.String) extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern Il2CppClass* Dictionary_2_t3986656710_il2cpp_TypeInfo_var; extern const MethodInfo* Dictionary_2__ctor_m2118310873_MethodInfo_var; extern const MethodInfo* Dictionary_2_Add_m1209957957_MethodInfo_var; extern const MethodInfo* Dictionary_2_TryGetValue_m2977303364_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2918829687; extern Il2CppCodeGenString* _stringLiteral2918829694; extern Il2CppCodeGenString* _stringLiteral2058952011; extern Il2CppCodeGenString* _stringLiteral1655667484; extern const uint32_t CultureInfo_ConstructInternalLocaleFromName_m2808296363_MetadataUsageId; extern "C" bool CultureInfo_ConstructInternalLocaleFromName_m2808296363 (CultureInfo_t3500843524 * __this, String_t* ___locale0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_ConstructInternalLocaleFromName_m2808296363_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; Dictionary_2_t3986656710 * V_1 = NULL; int32_t V_2 = 0; { String_t* L_0 = ___locale0; V_0 = L_0; String_t* L_1 = V_0; if (!L_1) { goto IL_0073; } } { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); Dictionary_2_t3986656710 * L_2 = ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map19_38(); if (L_2) { goto IL_0037; } } { Dictionary_2_t3986656710 * L_3 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var); Dictionary_2__ctor_m2118310873(L_3, 2, /*hidden argument*/Dictionary_2__ctor_m2118310873_MethodInfo_var); V_1 = L_3; Dictionary_2_t3986656710 * L_4 = V_1; Dictionary_2_Add_m1209957957(L_4, _stringLiteral2918829687, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var); Dictionary_2_t3986656710 * L_5 = V_1; Dictionary_2_Add_m1209957957(L_5, _stringLiteral2918829694, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var); Dictionary_2_t3986656710 * L_6 = V_1; IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24map19_38(L_6); } IL_0037: { IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); Dictionary_2_t3986656710 * L_7 = ((CultureInfo_t3500843524_StaticFields*)CultureInfo_t3500843524_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map19_38(); String_t* L_8 = V_0; bool L_9 = Dictionary_2_TryGetValue_m2977303364(L_7, L_8, (&V_2), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var); if (!L_9) { goto IL_0073; } } { int32_t L_10 = V_2; if (!L_10) { goto IL_005b; } } { int32_t L_11 = V_2; if ((((int32_t)L_11) == ((int32_t)1))) { goto IL_0067; } } { goto IL_0073; } IL_005b: { ___locale0 = _stringLiteral2058952011; goto IL_0073; } IL_0067: { ___locale0 = _stringLiteral1655667484; goto IL_0073; } IL_0073: { String_t* L_12 = ___locale0; bool L_13 = CultureInfo_construct_internal_locale_from_name_m971766383(__this, L_12, /*hidden argument*/NULL); if (L_13) { goto IL_0081; } } { return (bool)0; } IL_0081: { return (bool)1; } } // System.Boolean System.Globalization.CultureInfo::ConstructInternalLocaleFromLcid(System.Int32) extern "C" bool CultureInfo_ConstructInternalLocaleFromLcid_m1929848881 (CultureInfo_t3500843524 * __this, int32_t ___lcid0, const MethodInfo* method) { { int32_t L_0 = ___lcid0; bool L_1 = CultureInfo_construct_internal_locale_from_lcid_m498096141(__this, L_0, /*hidden argument*/NULL); if (L_1) { goto IL_000e; } } { return (bool)0; } IL_000e: { return (bool)1; } } // System.Boolean System.Globalization.CultureInfo::ConstructInternalLocaleFromCurrentLocale(System.Globalization.CultureInfo) extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_ConstructInternalLocaleFromCurrentLocale_m1342751405_MetadataUsageId; extern "C" bool CultureInfo_ConstructInternalLocaleFromCurrentLocale_m1342751405 (Il2CppObject * __this /* static, unused */, CultureInfo_t3500843524 * ___ci0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_ConstructInternalLocaleFromCurrentLocale_m1342751405_MetadataUsageId); s_Il2CppMethodInitialized = true; } { CultureInfo_t3500843524 * L_0 = ___ci0; IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var); bool L_1 = CultureInfo_construct_internal_locale_from_current_locale_m2029574092(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); if (L_1) { goto IL_000d; } } { return (bool)0; } IL_000d: { return (bool)1; } } // System.Boolean System.Globalization.CultureInfo::construct_internal_locale_from_lcid(System.Int32) extern "C" bool CultureInfo_construct_internal_locale_from_lcid_m498096141 (CultureInfo_t3500843524 * __this, int32_t ___lcid0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef bool (*CultureInfo_construct_internal_locale_from_lcid_m498096141_ftn) (CultureInfo_t3500843524 *, int32_t); return ((CultureInfo_construct_internal_locale_from_lcid_m498096141_ftn)mscorlib::System::Globalization::CultureInfo::construct_internal_locale_from_lcid) (__this, ___lcid0); } // System.Boolean System.Globalization.CultureInfo::construct_internal_locale_from_name(System.String) extern "C" bool CultureInfo_construct_internal_locale_from_name_m971766383 (CultureInfo_t3500843524 * __this, String_t* ___name0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef bool (*CultureInfo_construct_internal_locale_from_name_m971766383_ftn) (CultureInfo_t3500843524 *, String_t*); return ((CultureInfo_construct_internal_locale_from_name_m971766383_ftn)mscorlib::System::Globalization::CultureInfo::construct_internal_locale_from_name) (__this, ___name0); } // System.Boolean System.Globalization.CultureInfo::construct_internal_locale_from_current_locale(System.Globalization.CultureInfo) extern "C" bool CultureInfo_construct_internal_locale_from_current_locale_m2029574092 (Il2CppObject * __this /* static, unused */, CultureInfo_t3500843524 * ___ci0, const MethodInfo* method) { using namespace il2cpp::icalls; typedef bool (*CultureInfo_construct_internal_locale_from_current_locale_m2029574092_ftn) (CultureInfo_t3500843524 *); return ((CultureInfo_construct_internal_locale_from_current_locale_m2029574092_ftn)mscorlib::System::Globalization::CultureInfo::construct_internal_locale_from_current_locale) (___ci0); } // System.Void System.Globalization.CultureInfo::construct_datetime_format() extern "C" void CultureInfo_construct_datetime_format_m268249821 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*CultureInfo_construct_datetime_format_m268249821_ftn) (CultureInfo_t3500843524 *); ((CultureInfo_construct_datetime_format_m268249821_ftn)mscorlib::System::Globalization::CultureInfo::construct_datetime_format) (__this); } // System.Void System.Globalization.CultureInfo::construct_number_format() extern "C" void CultureInfo_construct_number_format_m2069641695 (CultureInfo_t3500843524 * __this, const MethodInfo* method) { using namespace il2cpp::icalls; typedef void (*CultureInfo_construct_number_format_m2069641695_ftn) (CultureInfo_t3500843524 *); ((CultureInfo_construct_number_format_m2069641695_ftn)mscorlib::System::Globalization::CultureInfo::construct_number_format) (__this); } // System.Void System.Globalization.CultureInfo::ConstructInvariant(System.Boolean) extern Il2CppClass* NumberFormatInfo_t104580544_il2cpp_TypeInfo_var; extern Il2CppClass* DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral518377335; extern Il2CppCodeGenString* _stringLiteral1287531775; extern Il2CppCodeGenString* _stringLiteral2706768651; extern Il2CppCodeGenString* _stringLiteral3023962330; extern const uint32_t CultureInfo_ConstructInvariant_m2492947178_MetadataUsageId; extern "C" void CultureInfo_ConstructInvariant_m2492947178 (CultureInfo_t3500843524 * __this, bool ___read_only0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_ConstructInvariant_m2492947178_MetadataUsageId); s_Il2CppMethodInitialized = true; } String_t* V_0 = NULL; { __this->set_cultureID_8(((int32_t)127)); IL2CPP_RUNTIME_CLASS_INIT(NumberFormatInfo_t104580544_il2cpp_TypeInfo_var); NumberFormatInfo_t104580544 * L_0 = NumberFormatInfo_get_InvariantInfo_m2658215204(NULL /*static, unused*/, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); __this->set_numInfo_14(L_0); IL2CPP_RUNTIME_CLASS_INIT(DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var); DateTimeFormatInfo_t2187473504 * L_1 = DateTimeFormatInfo_get_InvariantInfo_m1865598692(NULL /*static, unused*/, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); __this->set_dateTimeInfo_15(L_1); bool L_2 = ___read_only0; if (L_2) { goto IL_005c; } } { NumberFormatInfo_t104580544 * L_3 = __this->get_numInfo_14(); il2cpp_codegen_memory_barrier(); Il2CppObject * L_4 = NumberFormatInfo_Clone_m40553114(L_3, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); __this->set_numInfo_14(((NumberFormatInfo_t104580544 *)CastclassSealed(L_4, NumberFormatInfo_t104580544_il2cpp_TypeInfo_var))); DateTimeFormatInfo_t2187473504 * L_5 = __this->get_dateTimeInfo_15(); il2cpp_codegen_memory_barrier(); Il2CppObject * L_6 = DateTimeFormatInfo_Clone_m1101948106(L_5, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); __this->set_dateTimeInfo_15(((DateTimeFormatInfo_t2187473504 *)CastclassSealed(L_6, DateTimeFormatInfo_t2187473504_il2cpp_TypeInfo_var))); } IL_005c: { bool L_7 = ___read_only0; TextInfo_t3620182823 * L_8 = CultureInfo_CreateTextInfo_m2269397562(__this, L_7, /*hidden argument*/NULL); il2cpp_codegen_memory_barrier(); __this->set_textInfo_16(L_8); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_9 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); __this->set_m_name_17(L_9); String_t* L_10 = _stringLiteral518377335; V_0 = L_10; __this->set_nativename_20(L_10); String_t* L_11 = V_0; String_t* L_12 = L_11; V_0 = L_12; __this->set_englishname_19(L_12); String_t* L_13 = V_0; __this->set_displayname_18(L_13); __this->set_iso3lang_21(_stringLiteral1287531775); __this->set_iso2lang_22(_stringLiteral2706768651); __this->set_icu_name_23(_stringLiteral3023962330); __this->set_win3lang_24(_stringLiteral1287531775); return; } } // System.Globalization.TextInfo System.Globalization.CultureInfo::CreateTextInfo(System.Boolean) extern Il2CppClass* TextInfo_t3620182823_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_CreateTextInfo_m2269397562_MetadataUsageId; extern "C" TextInfo_t3620182823 * CultureInfo_CreateTextInfo_m2269397562 (CultureInfo_t3500843524 * __this, bool ___readOnly0, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_CreateTextInfo_m2269397562_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = __this->get_cultureID_8(); void* L_1 = __this->get_textinfo_data_28(); bool L_2 = ___readOnly0; TextInfo_t3620182823 * L_3 = (TextInfo_t3620182823 *)il2cpp_codegen_object_new(TextInfo_t3620182823_il2cpp_TypeInfo_var); TextInfo__ctor_m2782608694(L_3, __this, L_0, (void*)(void*)L_1, L_2, /*hidden argument*/NULL); return L_3; } } // System.Globalization.CultureInfo System.Globalization.CultureInfo::CreateCulture(System.String,System.Boolean) extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var; extern const uint32_t CultureInfo_CreateCulture_m4241453908_MetadataUsageId; extern "C" CultureInfo_t3500843524 * CultureInfo_CreateCulture_m4241453908 (Il2CppObject * __this /* static, unused */, String_t* ___name0, bool ___reference1, const MethodInfo* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CultureInfo_CreateCulture_m4241453908_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; bool V_1 = false; bool V_2 = false; int32_t G_B4_0 = 0; int32_t G_B8_0 = 0; { String_t* L_0 = ___name0; int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL); V_2 = (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0); bool L_2 = ___reference1; if (!L_2) { goto IL_0025; } } { bool L_3 = V_2; if (!L_3) { goto IL_001c; } } { G_B4_0 = 0; goto IL_001d; } IL_001c: { G_B4_0 = 1; } IL_001d: { V_1 = (bool)G_B4_0; V_0 = (bool)0; goto IL_0035; } IL_0025: { V_0 = (bool)0; bool L_4 = V_2; if (!L_4) { goto IL_0033; } } { G_B8_0 = 0; goto IL_0034; } IL_0033: { G_B8_0 = 1; } IL_0034: { V_1 = (bool)G_B8_0; } IL_0035: { String_t* L_5 = ___name0; bool L_6 = V_1; bool L_7 = V_0; CultureInfo_t3500843524 * L_8 = (CultureInfo_t3500843524 *)il2cpp_codegen_object_new(CultureInfo_t3500843524_il2cpp_TypeInfo_var); CultureInfo__ctor_m182018410(L_8, L_5, L_6, L_7, /*hidden argument*/NULL); return L_8; } } #ifdef __clang__ #pragma clang diagnostic pop #endif
[ "goadrich@hendrix.edu" ]
goadrich@hendrix.edu
d3243b540689412638b93ed6462ea89068eaebc9
f529fd9d0078858b2887746de2082bb9660b69d4
/sources/engine/music.cpp
68aab412b5a610ec788fcc494f23450f5124b8dd
[]
no_license
iomeone/cage-examples
6e3e81ee5e7c927c8ded453c30ad1398f7ff5b93
911909c493f2d984acdb4e0dc159c164d798d68c
refs/heads/master
2023-03-27T08:13:48.564225
2021-03-12T10:44:58
2021-03-12T10:44:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,569
cpp
#include <cage-core/logger.h> #include <cage-core/entities.h> #include <cage-core/assetManager.h> #include <cage-core/hashString.h> #include <cage-core/enumerate.h> #include <cage-core/string.h> #include <cage-engine/window.h> #include <cage-engine/engine.h> #include <cage-engine/highPerformanceGpuHint.h> #include <cage-engine/engineProfiling.h> #include <cage-engine/fpsCamera.h> using namespace cage; constexpr uint32 assetsName = HashString("cage-tests/music/music.pack"); void windowClose() { engineStop(); } void init() { EntityManager *ents = engineEntities(); { // camera Entity *e = ents->create(1); CAGE_COMPONENT_ENGINE(Transform, t, e); t.position = vec3(0, 1.7, 0); CAGE_COMPONENT_ENGINE(Camera, c, e); c.ambientColor = vec3(1); c.ambientIntensity = 0.2; c.ambientDirectionalColor = vec3(1); c.ambientDirectionalIntensity = 0.2; c.near = 0.1; c.far = 500; CAGE_COMPONENT_ENGINE(Listener, l, e); l.attenuation = vec3(0, 0.03, 0.001); } { // sun Entity *e = ents->createAnonymous(); CAGE_COMPONENT_ENGINE(Transform, t, e); t.orientation = quat(degs(-90), {}, {}); CAGE_COMPONENT_ENGINE(Light, l, e); l.lightType = LightTypeEnum::Directional; CAGE_COMPONENT_ENGINE(Shadowmap, s, e); s.resolution = 4096; s.worldSize = vec3(200); } { // floor Entity *e = ents->createAnonymous(); CAGE_COMPONENT_ENGINE(Transform, t, e); t.scale = 200 / 8; CAGE_COMPONENT_ENGINE(Render, r, e); r.object = HashString("cage-tests/lods/floor.object"); } constexpr const char *names[] = { "BigDayOut.mp3", "Civilisation.mp3", "FunkCity.mp3", "IntoBattle.mp3", "RetroGamer.mp3", "TrueFaith.mp3" }; for (auto it : enumerate(names)) { // sound source { Entity *e = ents->create(numeric_cast<uint32>(it.cnt) + 100); CAGE_COMPONENT_ENGINE(Transform, t, e); t.scale = 2; CAGE_COMPONENT_ENGINE(Sound, s, e); s.name = HashString(string(stringizer() + "cage-tests/music/PurplePlanet/" + *it)); CAGE_COMPONENT_ENGINE(Render, r, e); r.color = vec3(1); r.object = HashString("scenes/common/lightbulb.obj"); CAGE_COMPONENT_ENGINE(Light, l, e); l.intensity = 2; } { Entity *e = ents->create(numeric_cast<uint32>(it.cnt) + 200); CAGE_COMPONENT_ENGINE(Transform, t, e); t.scale = 0.5; CAGE_COMPONENT_ENGINE(Text, l, e); string n = *it; l.value = split(n, "."); } } } void update() { EntityManager *ents = engineEntities(); const vec3 cameraPos = [&]() { Entity *e = ents->get(1); CAGE_COMPONENT_ENGINE(Transform, t, e); return t.position; }(); vec3 positions[] = { vec3(-100, 1, -100), vec3(0, 1, -100), vec3(100, 1, -100), vec3(-100, 1, 0), vec3(100, 2, 0), vec3(0, 1, 100), }; { const uint64 t = engineControlTime(); rads a = rads(t * 3e-7); real r = 10; positions[3] = vec3(positions[3][0] + sin(a) * r, positions[3][1], positions[3][2] + cos(a) * r); a = rads(t * 5e-7); r = 2; positions[4] = vec3(positions[4][0], positions[4][1] + sin(a) * r, positions[4][2] + cos(a) * r); a = rads(t * 2e-7); r = 20; positions[5] = vec3(positions[5][0] + cos(a) * r, positions[5][1], positions[5][2]); } for (auto it : enumerate(positions)) { { Entity *e = ents->get(numeric_cast<uint32>(it.cnt) + 100); CAGE_COMPONENT_ENGINE(Transform, t, e); t.position = *it; } { Entity *e = ents->get(numeric_cast<uint32>(it.cnt) + 200); CAGE_COMPONENT_ENGINE(Transform, t, e); t.position = *it + vec3(0, 0.25, 0); if (distance(cameraPos, t.position) > 0.1) t.orientation = quat(t.position - cameraPos, vec3(0, 1, 0)); } } } int main(int argc, char *args[]) { try { // log to console Holder<Logger> log1 = newLogger(); log1->format.bind<logFormatConsole>(); log1->output.bind<logOutputStdOut>(); engineInitialize(EngineCreateConfig()); // events EventListener<void()> updateListener; updateListener.bind<&update>(); updateListener.attach(controlThread().update); EventListener<void()> windowCloseListener; windowCloseListener.bind<&windowClose>(); windowCloseListener.attach(engineWindow()->events.windowClose); engineWindow()->setMaximized(); engineWindow()->title("music"); init(); engineAssets()->add(assetsName); { Holder<EngineProfiling> profiling = newEngineProfiling(); Holder<FpsCamera> fps = newFpsCamera(engineEntities()->get(1)); fps->mouseButton = MouseButtonsFlags::Left; engineStart(); } engineAssets()->remove(assetsName); engineFinalize(); return 0; } catch (...) { detail::logCurrentCaughtException(); return 1; } }
[ "malytomas@ucpu.cz" ]
malytomas@ucpu.cz
c6f9eb85fca9e06cc001c96de4f2a5118272c830
412bf1c63d44a73b7881f1e4e9c2c3dab41dc673
/src/checkpoints.h
553d9d5ad05ec02479fe47fee233de12cc035909
[ "MIT" ]
permissive
NasdaCash/NSDC
72ecdd22492d4f75a6b8a80a2ff8e2d2632600d7
2fcbb7075b5c4e6eaaf9419cdaa0cdbf75915e23
refs/heads/master
2022-12-15T21:53:37.247070
2020-09-18T02:59:52
2020-09-18T02:59:52
295,922,583
0
0
null
null
null
null
UTF-8
C++
false
false
1,275
h
// Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2017-2020 The PIVX developers // Copyright (c) 2020 The Nasda Cash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_CHECKPOINTS_H #define BITCOIN_CHECKPOINTS_H #include "uint256.h" #include <map> class CBlockIndex; /** * Block-chain checkpoints are compiled-in sanity checks. * They are updated every release or three. */ namespace Checkpoints { typedef std::map<int, uint256> MapCheckpoints; struct CCheckpointData { const MapCheckpoints* mapCheckpoints; int64_t nTimeLastCheckpoint; int64_t nTransactionsLastCheckpoint; double fTransactionsPerDay; }; //! Returns true if block passes checkpoint checks bool CheckBlock(int nHeight, const uint256& hash, bool fMatchesCheckpoint = false); //! Return conservative estimate of total number of blocks, 0 if unknown int GetTotalBlocksEstimate(); //! Returns last CBlockIndex* in mapBlockIndex that is a checkpoint CBlockIndex* GetLastCheckpoint(); double GuessVerificationProgress(const CBlockIndex* pindex, bool fSigchecks = true); extern bool fEnabled; } //namespace Checkpoints #endif // BITCOIN_CHECKPOINTS_H
[ "71147574+NasdaCash@users.noreply.github.com" ]
71147574+NasdaCash@users.noreply.github.com
c7e1cac11a8dba970ddae453e0fc864ec800918f
1834c0796ee324243f550357c67d8bcd7c94de17
/SDK/TCF_Activity_FunctionLibrary_BP_classes.hpp
7779c3848c01f6f53913ece10c4f5563c45ecbc4
[]
no_license
DarkCodez/TCF-SDK
ce41cc7dab47c98b382ad0f87696780fab9898d2
134a694d3f0a42ea149a811750fcc945437a70cc
refs/heads/master
2023-08-25T20:54:04.496383
2021-10-25T11:26:18
2021-10-25T11:26:18
423,337,506
1
0
null
2021-11-01T04:31:21
2021-11-01T04:31:20
null
UTF-8
C++
false
false
1,279
hpp
#pragma once // The Cycle Frontier (1.X) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "TCF_Activity_FunctionLibrary_BP_structs.hpp" namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // BlueprintGeneratedClass Activity_FunctionLibrary_BP.Activity_FunctionLibrary_BP_C // 0x0000 (0x0028 - 0x0028) class UActivity_FunctionLibrary_BP_C : public UBlueprintFunctionLibrary { public: static UClass* StaticClass() { static auto ptr = UObject::FindObject<UClass>("BlueprintGeneratedClass Activity_FunctionLibrary_BP.Activity_FunctionLibrary_BP_C"); return ptr; } static class AYActivityActorManager* GetActivityByType(EYActivityType activityType, class UObject* __WorldContext); static void GenerateBugItGoStringForActor(class AActor* Actor, class UObject* __WorldContext, struct FString* BugItGoString); static void FindDropLocation(class AYPlayerCharacter* Pawn, class UObject* __WorldContext, struct FVector* Location); static void GetGenericActivityBIData(class AActor* Actor, class UObject* __WorldContext, int* PositionX, int* PositionY, int* TimeSinceMatchStart); }; } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "30532128+pubgsdk@users.noreply.github.com" ]
30532128+pubgsdk@users.noreply.github.com
7a8ba8577f141d456a7ba59fa1f0bcbec3e008e9
971d01281a76f1ac78d3f33bc6d8559ddb378558
/C++_Basic_Plus/C++_Basic_Plus/Tree.h
c500ce1ddd99bbfec18f45498d4aa81ba659576d
[]
no_license
sksqwer/C_Basic_Plus
99e124bfe531faecbc4abe3a437e928e38f3aa6a
c183a23bf206280b682ff04e88d3d3948807d3bd
refs/heads/master
2023-06-24T03:16:22.598505
2021-07-03T04:33:27
2021-07-03T04:33:27
366,296,098
0
0
null
null
null
null
UTF-8
C++
false
false
508
h
#pragma once #ifndef TREE_H_ #define TREE_H_ template<typename T> struct node { int value; T data; node * left = NULL; node * right = NULL; node<T>(int value, T data) : value(value), data(data) {} }; template<typename T> class Tree { public: node<T> *Root = NULL; Tree() {} // ~Tree(); void insert(node<T> v); void Delete(node<T> v); node<T> Search(node<T> *root, T data); void print(node<T> *root); void reset(node<T> *root); int check_depth(node<T> *root, int &size); }; #endif // !TREE_H_
[ "sksqwer123@gmail.com" ]
sksqwer123@gmail.com
c9c861de250c73b15fc9a14d49631fdb41ed754b
79ef0e333ed1523cbd647f126db6d91c06b6097a
/uva231/uva231.cpp
0f3f25e98e85febf6242a274252b8b54757e808e
[]
no_license
sam2377/UVA
de768cefcb804735906b5bb9dfe4ecf8079f65b8
b668b5bb0457e93b7513b168d0c918b818d0a005
refs/heads/master
2020-04-27T06:52:10.397501
2019-03-06T10:05:44
2019-03-06T10:05:44
174,120,132
0
0
null
null
null
null
UTF-8
C++
false
false
950
cpp
#include<cstdio> #include<cstdlib> #include<iostream> #include<vector> #include<algorithm> using namespace std; void find_LIS(); vector<int> arr,LIS; int cases=1; int flag=1; int main(){ for(;;cases++){ int data; for(;;){ scanf("%d",&data); if(data==-1) { flag--; if(flag<0) return 0; break; } else flag=1; arr.push_back(data); LIS.push_back(0); } arr.push_back(0); LIS.push_back(0); find_LIS(); // for(int i=0;i<LIS.size();i++) // printf("%d ",LIS[i]); // printf("\n"); sort(LIS.begin(),LIS.end()); if(cases!=1) printf("\n"); printf("Test #%d:\n",cases); printf(" maximum possible interceptions: %d\n",LIS[LIS.size()-1]); while(!arr.empty()) arr.erase(arr.begin()); while(!LIS.empty()) LIS.erase(LIS.begin()); } } void find_LIS(){ for(int i=LIS.size()-2;i>=0;i--){ LIS[i]=1; for(int j=arr.size()-2;j>i;j--){ if(arr[i]>arr[j]&&LIS[j]+1>LIS[i]) LIS[i]=LIS[j]+1; } } }
[ "samcheng168@gmail.com" ]
samcheng168@gmail.com
fc109ea867e7e6503feb94dcf874fda1f15b1c05
e3739dd8218adc7c02909c2f10166b1e751f810a
/ice/src/db/GetJobsByDNMyProxy.cpp
6ebc162976e06c15ffc8015806fab0559588cb72
[ "Apache-2.0" ]
permissive
italiangrid/wms
811bda160e5d70d7760d6956fb5d0be2b12c0faa
5b2adda72ba13cf2a85ec488894c2024e155a4b5
refs/heads/master
2021-01-10T10:27:48.592117
2013-11-14T14:07:14
2013-11-14T14:07:14
8,455,769
1
0
null
null
null
null
UTF-8
C++
false
false
1,506
cpp
/* LICENSE: Copyright (c) Members of the EGEE Collaboration. 2010. See http://www.eu-egee.org/partners/ for details on the copyright holders. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. END LICENSE */ #include "utils/IceUtils.h" #include "GetJobsByDNMyProxy.h" #include <cstdlib> using namespace glite::wms::ice; using namespace std; namespace cream_api = glite::ce::cream_client_api; void db::GetJobsByDNMyProxy::execute( sqlite3* db ) throw ( DbOperationException& ) { string sqlcmd; sqlcmd += "SELECT "; sqlcmd += util::CreamJob::get_query_fields() ; sqlcmd += " FROM jobs WHERE "; sqlcmd += util::CreamJob::user_dn_field(); sqlcmd += "="; sqlcmd += glite::wms::ice::util::IceUtils::withSQLDelimiters( m_dn ); sqlcmd += " AND "; sqlcmd += util::CreamJob::myproxy_address_field() ; sqlcmd += "="; sqlcmd += glite::wms::ice::util::IceUtils::withSQLDelimiters( m_myproxy); sqlcmd += ";"; do_query( db, sqlcmd, glite::wms::ice::util::IceUtils::fetch_jobs_callback, m_result ); }
[ "alvise.dorigo@pd.infn.it" ]
alvise.dorigo@pd.infn.it
265566891cfd69f12c8935d74b682a089f914ce4
d0936f19fd00b79705e7e27bb4d46d1f80f16d8d
/04/main.cpp
0298c9393be205d66d8e18b294c9aa182e3ed638
[]
no_license
EvgenijGod/sphere_1sem_cpp_autumn_2019
9dba840d582a0836a13217a875bd1c2104261eda
c7051d39f1c83aa34f67ece113df1dbf90357384
refs/heads/master
2022-04-01T13:14:27.678881
2020-01-21T09:09:11
2020-01-21T09:09:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,311
cpp
#include <iostream> #include <stdlib.h> #include "BigInt.h" #include <sstream> #include <limits.h> using namespace std; enum { TESTCNT = 5 }; int main() { stringstream s[TESTCNT][2]; s[0][0] << BigInt(0) << ' ' << -BigInt(0) << ' ' << BigInt(INT_MAX) << ' ' << BigInt(INT_MIN) << ' '; s[0][0] << BigInt(static_cast<int>(2e9)) << ' ' << BigInt(static_cast<int>(-2e9)); s[0][1] << 0 << ' ' << 0 << ' ' << INT_MAX << ' ' << INT_MIN << ' '; s[0][1] << static_cast<int>(2e9) << ' ' << static_cast<int>(-2e9); if (s[0][0].str() != s[0][1].str()) { cout << "Error in test1 (out and construct from int)" << endl; cout << "s0: " << s[0][0].str() << endl; cout << "s1: " << s[0][1].str() << endl; return 0; } BigInt a = INT_MAX; BigInt b = INT_MIN; long long a1 = INT_MAX, b1 = INT_MIN, st1 = INT_MAX, st2 = INT_MIN, st = b1; BigInt step1 = a, step2 = b , step = b; for (int i = 0; i < 10; ++i) { step1 = step1 + step1; step2 += step2; st1 += st1; st2 += st2; step -= b + 10; st -= b1 + 10; } s[1][0] << step1 << ' ' << step2 << ' ' << a - b << ' ' << b - a << ' ' << b - b << ' ' << a + b << ' ' << 0 - step2 << ' ' << step << ' '; s[1][1] << st1 << ' ' << st2 << ' ' << a1 - b1 << ' ' << b1 - a1 << ' ' << 0 << ' ' << a1 + b1 << ' ' << -st2 << ' ' << st << ' '; BigInt z = 0; s[1][0] << z - a << ' ' << z + a << ' ' << -z - a << ' ' << -z + a << ' '; s[1][1] << -a1 << ' ' << a1 << ' ' << -a1 << ' ' << a1 << ' '; s[1][0] << z - b << ' ' << z + b << ' ' << -z - b << ' ' << -z + b << ' '; s[1][1] << -b1 << ' ' << b1 << ' ' << -b1 << ' ' << b1 << ' '; if (s[1][0].str() != s[1][1].str()) { cout << "Error in test2 (out, construct from BigInt [copy], summ and diff)" << endl; cout << "s0: " << s[1][0].str() << endl; cout << "s1: " << s[1][1].str() << endl; return 0; } BigInt c1(INT_MAX), c2(a), c3(INT_MIN), c4(b); s[2][0] << (a == a) << ' ' << (a == c1) << ' ' << (a == c2) << ' ' << (c1 == c1) << ' ' << (c1 == c2) << ' ' << (c2 == c2); s[2][1] << "1 1 1 1 1 1"; s[2][0] << (a != b) << ' ' << (a != c3) << ' ' << (a != c4) << ' ' << (c3 != c1) << ' ' << (c3 != c2) << ' ' << (c4 != a); s[2][1] << "1 1 1 1 1 1"; s[2][0] << (a != a) << ' ' << (a != c1) << ' ' << (a != c2) << ' ' << (c1 != c1) << ' ' << (c1 != c2) << ' ' << (c2 != c2); s[2][1] << "0 0 0 0 0 0"; s[2][0] << (a == b) << ' ' << (a == c3) << ' ' << (a == c4) << ' ' << (c3 == c1) << ' ' << (c3 == c2) << ' ' << (c4 == a); s[2][1] << "0 0 0 0 0 0"; s[2][0] << (a - a == 0) << ' ' << (0 == a - a) << ' ' << (a - 10 - a == -10) << ' ' << (-10 == a - 10 - a) << ' '; s[2][0] << (a != -a) << ' ' << ((a - a) == -(a - a)); s[2][1] << "1 1 1 1 1 1"; BigInt t1(c1); BigInt t2(move(c1)); s[2][0] << (c1 == BigInt()) << ' ' << (t2 == t1); s[2][1] << "1 1"; if (s[2][0].str() != s[2][1].str()) { cout << "Error in test3 (out, equality, construct from BigInt BigInt[move])" << endl; cout << "s0: " << s[2][0].str() << endl; cout << "s1: " << s[2][1].str() << endl; return 0; } s[3][0] << (a <= a) << ' ' << (a <= b) << ' ' << (b <= b) << ' ' << (b <= a); s[3][1] << "1 0 1 1"; s[3][0] << (a >= a) << ' ' << (a >= b) << ' ' << (b >= b) << ' ' << (b >= a); s[3][1] << "1 1 1 0"; s[3][0] << (a < a) << ' ' << (a < b) << ' ' << (b < b) << ' ' << (b < a); s[3][1] << "0 0 0 1"; s[3][0] << (a > a) << ' ' << (a > b) << ' ' << (b > b) << ' ' << (b > a); s[3][1] << "0 1 0 0"; if (s[3][0].str() != s[3][1].str()) { cout << "Error in test4 (out, inequality)" << endl; cout << "s0: " << s[3][0].str() << endl; cout << "s1: " << s[3][1].str() << endl; return 0; } BigInt g(42), g1, g2; g1 = g; g2 = move(g); s[4][0] << (g == BigInt()) << ' ' << (g1 == g2) << ' ' << (g1 == 42); s[4][1] << "1 1 1"; if (s[4][0].str() != s[4][1].str()) { cout << "Error in test5 (out, operator=[move and copy])" << endl; cout << "s0: " << s[4][0].str() << endl; cout << "s1: " << s[4][1].str() << endl; return 0; } cout << "OK" << endl; }
[ "EvgenijGod@users.noreply.github.com" ]
EvgenijGod@users.noreply.github.com
8a8c298563af88f53d5d240f34abba09f89d670e
21553f6afd6b81ae8403549467230cdc378f32c9
/arm/cortex/Freescale/MK26F18/include/arch/reg/llwu.hpp
c3b00632b6c8310e6f30e8066711a963c9764b39
[]
no_license
digint/openmptl-reg-arm-cortex
3246b68dcb60d4f7c95a46423563cab68cb02b5e
88e105766edc9299348ccc8d2ff7a9c34cddacd3
refs/heads/master
2021-07-18T19:56:42.569685
2017-10-26T11:11:35
2017-10-26T11:11:35
108,407,162
3
1
null
null
null
null
UTF-8
C++
false
false
12,197
hpp
/* * OpenMPTL - C++ Microprocessor Template Library * * This program is a derivative representation of a CMSIS System View * Description (SVD) file, and is subject to the corresponding license * (see "Freescale CMSIS-SVD License Agreement.pdf" in the parent directory). * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ //////////////////////////////////////////////////////////////////////// // // Import from CMSIS-SVD: "Freescale/MK26F18.svd" // // vendor: Freescale Semiconductor, Inc. // vendorID: Freescale // name: MK26F18 // series: Kinetis_K // version: 1.6 // description: MK26F18 Freescale Microcontroller // -------------------------------------------------------------------- // // C++ Header file, containing architecture specific register // declarations for use in OpenMPTL. It has been converted directly // from a CMSIS-SVD file. // // https://digint.ch/openmptl // https://github.com/posborne/cmsis-svd // #ifndef ARCH_REG_LLWU_HPP_INCLUDED #define ARCH_REG_LLWU_HPP_INCLUDED #warning "using untested register declarations" #include <register.hpp> namespace mptl { /** * Low leakage wakeup unit */ struct LLWU { static constexpr reg_addr_t base_addr = 0x4007c000; /** * LLWU Pin Enable 1 register */ struct PE1 : public reg< uint8_t, base_addr + 0, rw, 0 > { using type = reg< uint8_t, base_addr + 0, rw, 0 >; using WUPE0 = regbits< type, 0, 2 >; /**< Wakeup Pin Enable For LLWU_P0 */ using WUPE1 = regbits< type, 2, 2 >; /**< Wakeup Pin Enable For LLWU_P1 */ using WUPE2 = regbits< type, 4, 2 >; /**< Wakeup Pin Enable For LLWU_P2 */ using WUPE3 = regbits< type, 6, 2 >; /**< Wakeup Pin Enable For LLWU_P3 */ }; /** * LLWU Pin Enable 2 register */ struct PE2 : public reg< uint8_t, base_addr + 0x1, rw, 0 > { using type = reg< uint8_t, base_addr + 0x1, rw, 0 >; using WUPE4 = regbits< type, 0, 2 >; /**< Wakeup Pin Enable For LLWU_P4 */ using WUPE5 = regbits< type, 2, 2 >; /**< Wakeup Pin Enable For LLWU_P5 */ using WUPE6 = regbits< type, 4, 2 >; /**< Wakeup Pin Enable For LLWU_P6 */ using WUPE7 = regbits< type, 6, 2 >; /**< Wakeup Pin Enable For LLWU_P7 */ }; /** * LLWU Pin Enable 3 register */ struct PE3 : public reg< uint8_t, base_addr + 0x2, rw, 0 > { using type = reg< uint8_t, base_addr + 0x2, rw, 0 >; using WUPE8 = regbits< type, 0, 2 >; /**< Wakeup Pin Enable For LLWU_P8 */ using WUPE9 = regbits< type, 2, 2 >; /**< Wakeup Pin Enable For LLWU_P9 */ using WUPE10 = regbits< type, 4, 2 >; /**< Wakeup Pin Enable For LLWU_P10 */ using WUPE11 = regbits< type, 6, 2 >; /**< Wakeup Pin Enable For LLWU_P11 */ }; /** * LLWU Pin Enable 4 register */ struct PE4 : public reg< uint8_t, base_addr + 0x3, rw, 0 > { using type = reg< uint8_t, base_addr + 0x3, rw, 0 >; using WUPE12 = regbits< type, 0, 2 >; /**< Wakeup Pin Enable For LLWU_P12 */ using WUPE13 = regbits< type, 2, 2 >; /**< Wakeup Pin Enable For LLWU_P13 */ using WUPE14 = regbits< type, 4, 2 >; /**< Wakeup Pin Enable For LLWU_P14 */ using WUPE15 = regbits< type, 6, 2 >; /**< Wakeup Pin Enable For LLWU_P15 */ }; /** * LLWU Pin Enable 5 register */ struct PE5 : public reg< uint8_t, base_addr + 0x4, rw, 0 > { using type = reg< uint8_t, base_addr + 0x4, rw, 0 >; using WUPE16 = regbits< type, 0, 2 >; /**< Wakeup Pin Enable For LLWU_P16 */ using WUPE17 = regbits< type, 2, 2 >; /**< Wakeup Pin Enable For LLWU_P17 */ using WUPE18 = regbits< type, 4, 2 >; /**< Wakeup Pin Enable For LLWU_P18 */ using WUPE19 = regbits< type, 6, 2 >; /**< Wakeup Pin Enable For LLWU_P19 */ }; /** * LLWU Pin Enable 6 register */ struct PE6 : public reg< uint8_t, base_addr + 0x5, rw, 0 > { using type = reg< uint8_t, base_addr + 0x5, rw, 0 >; using WUPE20 = regbits< type, 0, 2 >; /**< Wakeup Pin Enable For LLWU_P20 */ using WUPE21 = regbits< type, 2, 2 >; /**< Wakeup Pin Enable For LLWU_P21 */ using WUPE22 = regbits< type, 4, 2 >; /**< Wakeup Pin Enable For LLWU_P22 */ using WUPE23 = regbits< type, 6, 2 >; /**< Wakeup Pin Enable For LLWU_P23 */ }; /** * LLWU Pin Enable 7 register */ struct PE7 : public reg< uint8_t, base_addr + 0x6, rw, 0 > { using type = reg< uint8_t, base_addr + 0x6, rw, 0 >; using WUPE24 = regbits< type, 0, 2 >; /**< Wakeup Pin Enable For LLWU_P24 */ using WUPE25 = regbits< type, 2, 2 >; /**< Wakeup Pin Enable For LLWU_P25 */ using WUPE26 = regbits< type, 4, 2 >; /**< Wakeup Pin Enable For LLWU_P26 */ using WUPE27 = regbits< type, 6, 2 >; /**< Wakeup Pin Enable For LLWU_P27 */ }; /** * LLWU Pin Enable 8 register */ struct PE8 : public reg< uint8_t, base_addr + 0x7, rw, 0 > { using type = reg< uint8_t, base_addr + 0x7, rw, 0 >; using WUPE28 = regbits< type, 0, 2 >; /**< Wakeup Pin Enable For LLWU_P28 */ using WUPE29 = regbits< type, 2, 2 >; /**< Wakeup Pin Enable For LLWU_P29 */ using WUPE30 = regbits< type, 4, 2 >; /**< Wakeup Pin Enable For LLWU_P30 */ using WUPE31 = regbits< type, 6, 2 >; /**< Wakeup Pin Enable For LLWU_P31 */ }; /** * LLWU Module Enable register */ struct ME : public reg< uint8_t, base_addr + 0x8, rw, 0 > { using type = reg< uint8_t, base_addr + 0x8, rw, 0 >; using WUME0 = regbits< type, 0, 1 >; /**< Wakeup Module Enable For Module 0 */ using WUME1 = regbits< type, 1, 1 >; /**< Wakeup Module Enable for Module 1 */ using WUME2 = regbits< type, 2, 1 >; /**< Wakeup Module Enable For Module 2 */ using WUME3 = regbits< type, 3, 1 >; /**< Wakeup Module Enable For Module 3 */ using WUME4 = regbits< type, 4, 1 >; /**< Wakeup Module Enable For Module 4 */ using WUME5 = regbits< type, 5, 1 >; /**< Wakeup Module Enable For Module 5 */ using WUME6 = regbits< type, 6, 1 >; /**< Wakeup Module Enable For Module 6 */ using WUME7 = regbits< type, 7, 1 >; /**< Wakeup Module Enable For Module 7 */ }; /** * LLWU Pin Flag 1 register */ struct PF1 : public reg< uint8_t, base_addr + 0x9, rw, 0 > { using type = reg< uint8_t, base_addr + 0x9, rw, 0 >; using WUF0 = regbits< type, 0, 1 >; /**< Wakeup Flag For LLWU_P0 */ using WUF1 = regbits< type, 1, 1 >; /**< Wakeup Flag For LLWU_P1 */ using WUF2 = regbits< type, 2, 1 >; /**< Wakeup Flag For LLWU_P2 */ using WUF3 = regbits< type, 3, 1 >; /**< Wakeup Flag For LLWU_P3 */ using WUF4 = regbits< type, 4, 1 >; /**< Wakeup Flag For LLWU_P4 */ using WUF5 = regbits< type, 5, 1 >; /**< Wakeup Flag For LLWU_P5 */ using WUF6 = regbits< type, 6, 1 >; /**< Wakeup Flag For LLWU_P6 */ using WUF7 = regbits< type, 7, 1 >; /**< Wakeup Flag For LLWU_P7 */ }; /** * LLWU Pin Flag 2 register */ struct PF2 : public reg< uint8_t, base_addr + 0xa, rw, 0 > { using type = reg< uint8_t, base_addr + 0xa, rw, 0 >; using WUF8 = regbits< type, 0, 1 >; /**< Wakeup Flag For LLWU_P8 */ using WUF9 = regbits< type, 1, 1 >; /**< Wakeup Flag For LLWU_P9 */ using WUF10 = regbits< type, 2, 1 >; /**< Wakeup Flag For LLWU_P10 */ using WUF11 = regbits< type, 3, 1 >; /**< Wakeup Flag For LLWU_P11 */ using WUF12 = regbits< type, 4, 1 >; /**< Wakeup Flag For LLWU_P12 */ using WUF13 = regbits< type, 5, 1 >; /**< Wakeup Flag For LLWU_P13 */ using WUF14 = regbits< type, 6, 1 >; /**< Wakeup Flag For LLWU_P14 */ using WUF15 = regbits< type, 7, 1 >; /**< Wakeup Flag For LLWU_P15 */ }; /** * LLWU Pin Flag 3 register */ struct PF3 : public reg< uint8_t, base_addr + 0xb, rw, 0 > { using type = reg< uint8_t, base_addr + 0xb, rw, 0 >; using WUF16 = regbits< type, 0, 1 >; /**< Wakeup Flag For LLWU_P16 */ using WUF17 = regbits< type, 1, 1 >; /**< Wakeup Flag For LLWU_P17 */ using WUF18 = regbits< type, 2, 1 >; /**< Wakeup Flag For LLWU_P18 */ using WUF19 = regbits< type, 3, 1 >; /**< Wakeup Flag For LLWU_P19 */ using WUF20 = regbits< type, 4, 1 >; /**< Wakeup Flag For LLWU_P20 */ using WUF21 = regbits< type, 5, 1 >; /**< Wakeup Flag For LLWU_P21 */ using WUF22 = regbits< type, 6, 1 >; /**< Wakeup Flag For LLWU_P22 */ using WUF23 = regbits< type, 7, 1 >; /**< Wakeup Flag For LLWU_P23 */ }; /** * LLWU Pin Flag 4 register */ struct PF4 : public reg< uint8_t, base_addr + 0xc, rw, 0 > { using type = reg< uint8_t, base_addr + 0xc, rw, 0 >; using WUF24 = regbits< type, 0, 1 >; /**< Wakeup Flag For LLWU_P24 */ using WUF25 = regbits< type, 1, 1 >; /**< Wakeup Flag For LLWU_P25 */ using WUF26 = regbits< type, 2, 1 >; /**< Wakeup Flag For LLWU_P26 */ using WUF27 = regbits< type, 3, 1 >; /**< Wakeup Flag For LLWU_P27 */ using WUF28 = regbits< type, 4, 1 >; /**< Wakeup Flag For LLWU_P28 */ using WUF29 = regbits< type, 5, 1 >; /**< Wakeup Flag For LLWU_P29 */ using WUF30 = regbits< type, 6, 1 >; /**< Wakeup Flag For LLWU_P30 */ using WUF31 = regbits< type, 7, 1 >; /**< Wakeup Flag For LLWU_P31 */ }; /** * LLWU Module Flag 5 register */ struct MF5 : public reg< uint8_t, base_addr + 0xd, ro, 0 > { using type = reg< uint8_t, base_addr + 0xd, ro, 0 >; using MWUF0 = regbits< type, 0, 1 >; /**< Wakeup flag For module 0 */ using MWUF1 = regbits< type, 1, 1 >; /**< Wakeup flag For module 1 */ using MWUF2 = regbits< type, 2, 1 >; /**< Wakeup flag For module 2 */ using MWUF3 = regbits< type, 3, 1 >; /**< Wakeup flag For module 3 */ using MWUF4 = regbits< type, 4, 1 >; /**< Wakeup flag For module 4 */ using MWUF5 = regbits< type, 5, 1 >; /**< Wakeup flag For module 5 */ using MWUF6 = regbits< type, 6, 1 >; /**< Wakeup flag For module 6 */ using MWUF7 = regbits< type, 7, 1 >; /**< Wakeup flag For module 7 */ }; /** * LLWU Pin Filter 1 register */ struct FILT1 : public reg< uint8_t, base_addr + 0xe, rw, 0 > { using type = reg< uint8_t, base_addr + 0xe, rw, 0 >; using FILTSEL = regbits< type, 0, 5 >; /**< Filter Pin Select */ using FILTE = regbits< type, 5, 2 >; /**< Digital Filter On External Pin */ using FILTF = regbits< type, 7, 1 >; /**< Filter Detect Flag */ }; /** * LLWU Pin Filter 2 register */ struct FILT2 : public reg< uint8_t, base_addr + 0xf, rw, 0 > { using type = reg< uint8_t, base_addr + 0xf, rw, 0 >; using FILTSEL = regbits< type, 0, 5 >; /**< Filter Pin Select */ using FILTE = regbits< type, 5, 2 >; /**< Digital Filter On External Pin */ using FILTF = regbits< type, 7, 1 >; /**< Filter Detect Flag */ }; /** * LLWU Pin Filter 3 register */ struct FILT3 : public reg< uint8_t, base_addr + 0x10, rw, 0 > { using type = reg< uint8_t, base_addr + 0x10, rw, 0 >; using FILTSEL = regbits< type, 0, 5 >; /**< Filter Pin Select */ using FILTE = regbits< type, 5, 2 >; /**< Digital Filter On External Pin */ using FILTF = regbits< type, 7, 1 >; /**< Filter Detect Flag */ }; /** * LLWU Pin Filter 4 register */ struct FILT4 : public reg< uint8_t, base_addr + 0x11, rw, 0 > { using type = reg< uint8_t, base_addr + 0x11, rw, 0 >; using FILTSEL = regbits< type, 0, 5 >; /**< Filter Pin Select */ using FILTE = regbits< type, 5, 2 >; /**< Digital Filter On External Pin */ using FILTF = regbits< type, 7, 1 >; /**< Filter Detect Flag */ }; }; } // namespace mptl #endif // ARCH_REG_LLWU_HPP_INCLUDED
[ "axel@tty0.ch" ]
axel@tty0.ch
b2936f61611c200aae0a0e4b81e89534448e4001
9fd7c8a1e7551cce2374117a86ec84f11f79a6fd
/src/cryptoapi/CryptException.cpp
2e5fef35d1dd0076a3e1f0fa2512ac8221afb4d6
[]
no_license
madcato/StreamLib
92dc7356f6dbfb773523ef9d075b3293c2976b53
1c8c1f3fd0169d6199988c914454aa74f03e738b
refs/heads/master
2020-04-01T22:57:33.522490
2015-07-07T08:24:43
2015-07-07T08:24:43
38,674,078
4
1
null
null
null
null
UTF-8
C++
false
false
707
cpp
// CryptException.cpp: implementation of the CryptException class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Exceptions.h" #include "CryptException.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// /// namespace stream namespace stream { /// namespace exceptions namespace exceptions { CryptException::CryptException(const std::string& file,long line):Win32ErrorException(file,line) { } CryptException::~CryptException() { } } /// namespace exceptions } /// namespace stream
[ "dani_vela@me.com" ]
dani_vela@me.com
0194ed877385110be9c2d97edc6b977a7701f928
287b14395f1509784f5c76ca898c0319447be111
/branchingLogic/IF/4.1.TRIYGYLNIK.cpp
2836039508815c5cfafd8a28d833f15a6551ff74
[ "MIT" ]
permissive
dovanduy/cppTopics
48045085e7afff79e22373aa04dc688056cda118
94461d25832b53e6c40c374fb2ff1695b3dfe3c7
refs/heads/master
2020-05-26T19:22:24.706301
2017-06-28T19:38:57
2017-06-28T19:38:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
461
cpp
// 4.1.TRIYGYLNIK.cpp #include <iostream> using namespace std; main() { short a, b, c, // input variables as original and a set of // temporary variables during algo tilth. max, min, mid ; cin >>a >>b >>c ; min = (a < b) ? a : b ; min = (min < c) ? min : c ; max = (a > b) ? a : b ; max = (max > c) ? max : c ; mid = a + b + c - (max + min) ; cout <<" " <<max <<endl <<" " <<mid <<mid <<mid <<endl <<min <<min <<min <<min <<min ; }
[ "k.ilarionov@gmail.com" ]
k.ilarionov@gmail.com
bbc3063f3d34d99f9c54e663c3de9abdd752c296
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium/chrome/browser/ssl/ssl_add_cert_handler.h
46d8c7df3b7c054d2feb8886bba54c292e9f97c3
[ "BSD-3-Clause", "MIT" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
C++
false
false
1,900
h
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_SSL_SSL_ADD_CERT_HANDLER_H_ #define CHROME_BROWSER_SSL_SSL_ADD_CERT_HANDLER_H_ #pragma once #include "base/basictypes.h" #include "base/memory/ref_counted.h" namespace net { class URLRequest; class X509Certificate; } // This class handles adding a newly-generated client cert. It ensures there's a // private key for the cert, displays the cert to the user, and adds it upon // user approval. // It is self-owned and deletes itself when finished. class SSLAddCertHandler : public base::RefCountedThreadSafe<SSLAddCertHandler> { public: SSLAddCertHandler(net::URLRequest* request, net::X509Certificate* cert, int render_process_host_id, int render_view_id); net::X509Certificate* cert() { return cert_; } int network_request_id() const { return network_request_id_; } // The platform-specific code calls this when it's done, to clean up. // If |addCert| is true, the cert will be added to the CertDatabase. void Finished(bool add_cert); private: friend class base::RefCountedThreadSafe<SSLAddCertHandler>; virtual ~SSLAddCertHandler(); // Runs the handler. Called on the IO thread. void Run(); // Platform-specific code that asks the user whether to add the cert. // Called on the UI thread. void AskToAddCert(); // The cert to add. scoped_refptr<net::X509Certificate> cert_; // The id of the request which started the process. int network_request_id_; // The id of the |RenderProcessHost| which started the download. int render_process_host_id_; // The id of the |RenderView| which started the download. int render_view_id_; DISALLOW_COPY_AND_ASSIGN(SSLAddCertHandler); }; #endif // CHROME_BROWSER_SSL_SSL_ADD_CERT_HANDLER_H_
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
3baa07165661551c5b57e0048406bce0dee75d96
a8084776026e0fe82cb10dd9aea60868490dabe5
/sources/MapEditor/ScnCauses.cpp
3fea370e1b9a90061fa5db57d6c63ece43eb6440
[]
no_license
arey/zegame
e593f35766a6ef87ddd8dadd7f347703f223c307
6550ad403b794d1945957afa5592484f3a95f87d
refs/heads/master
2020-12-01T22:16:23.629412
2020-01-03T17:45:23
2020-01-03T17:45:23
230,787,538
0
0
null
null
null
null
ISO-8859-1
C++
false
false
9,175
cpp
//////////////////////////////////////////////////////////////////////////////// // Unité "ScnCauses.h" : implémentation de la classe TCause // // // // Description : // // // // Copyright (C) 1999 Antoine Rey arey@insa-lyon.fr // // antrey@club-internet.fr // // Version : beta 0.20 // // Creation : 17/07/1999 // // Last upgrade : <none> // //////////////////////////////////////////////////////////////////////////////// #ifdef MICROSOFT #pragma warning(disable : 4786 4100) #endif //---------------------------------------------------------------------- Include #include "ZeNain.h" //--- Special for Visual C++ 6 MFC --- #include "TimeClock.h" // Lib. de gestion temporelle du jeu #include "GameObject.h" // Gestion des objets du jeu #include "ScnScript.h" // Librairie des Scripts du jeu #pragma hdrstop #include "ScnCauses.h" // son Header //////////////////////////////////////////////////////////////////////////////// // Classe TCause // //////////////////////////////////////////////////////////////////////////////// int TCause::iLastID = 0; // N°ID à attribuer à la prochaine cause //=== Constructeur par défaut ================================================// TCause::TCause() { iCauseID = iLastID++; // Attribution d'un n°ID libre iCauseType = CAUSE_TYPE_NONE; } //----------------------------------------------------------------------------// //=== Destructeur ============================================================// TCause::~TCause() { } //----------------------------------------------------------------------------// /////////////////// Fin de la classe TCause /////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // Classe TCAUSE_STRIKE_BY // //////////////////////////////////////////////////////////////////////////////// //=== Constructeur ==========================================================// TCause_StrikeBy::TCause_StrikeBy(int thingID): iThingID(thingID) { iCauseType = CAUSE_TYPE_THING_STRIKE_BY; } //----------------------------------------------------------------------------// //=== Destructeur ============================================================// TCause_StrikeBy::~TCause_StrikeBy() { } //----------------------------------------------------------------------------// //=== Joue une animation superposée "classique" au décors ====================// bool TCause_StrikeBy::isCauseRealized(TScriptManager* SptMgr) { return false; } //----------------------------------------------------------------------------// ////////////////// Fin de la classe TCAUSE_STRIKE_BY ////////////////////////// //////////////////////////////////////////////////////////////////////////////// // Classe TCAUSE_STRIKE_WITH // //////////////////////////////////////////////////////////////////////////////// //=== Constructeur ==========================================================// TCause_StrikeWith::TCause_StrikeWith(int thingID): iThingID(thingID) { iCauseType = CAUSE_TYPE_THING_STRIKE_WITH; } //----------------------------------------------------------------------------// //=== Destructeur ============================================================// TCause_StrikeWith::~TCause_StrikeWith() { } //----------------------------------------------------------------------------// //=== Joue une animation superposée "classique" au décors ====================// bool TCause_StrikeWith::isCauseRealized(TScriptManager* SptMgr) { return false; } //----------------------------------------------------------------------------// ///////////////// Fin de la classe TCAUSE_STRIKE_WITH ////////////////////////// //////////////////////////////////////////////////////////////////////////////// // Classe TCAUSE_RANDOM // //////////////////////////////////////////////////////////////////////////////// //=== Constructeur ==========================================================// TCause_Random::TCause_Random(int numb): iNumber(numb) { iCauseType = CAUSE_TYPE_RANDOM; } //----------------------------------------------------------------------------// //=== Destructeur ============================================================// TCause_Random::~TCause_Random() { } //----------------------------------------------------------------------------// //=== Joue une animation superposée "classique" au décors ====================// bool TCause_Random::isCauseRealized(TScriptManager* SptMgr) { return ( (rand() % iNumber) == iNumber-1 ); } //----------------------------------------------------------------------------// ////////////////////// Fin de la classe TCAUSE_RANDOM ////////////////////////// //////////////////////////////////////////////////////////////////////////////// // Classe TCAUSE_MEMORY_IN // //////////////////////////////////////////////////////////////////////////////// //=== Constructeur ==========================================================// TCause_MemoryIn::TCause_MemoryIn(int numb): iMemoryID(numb) { iCauseType = CAUSE_TYPE_THING_MEMORY_IN; } //----------------------------------------------------------------------------// //=== Destructeur ============================================================// TCause_MemoryIn::~TCause_MemoryIn() { } //----------------------------------------------------------------------------// //=== Joue une animation superposée "classique" au décors ====================// bool TCause_MemoryIn::isCauseRealized(TScriptManager* SptMgr) { return SptMgr->GetSrcGO()->isInMemory(iMemoryID); } //----------------------------------------------------------------------------// ///////////////////// Fin de la classe TCAUSE_MEMORY_IN //////////////////////// //////////////////////////////////////////////////////////////////////////////// // Classe TCAUSE_MEMORY_NO // //////////////////////////////////////////////////////////////////////////////// //=== Constructeur ==========================================================// TCause_MemoryNo::TCause_MemoryNo(int numb): iMemoryID(numb) { iCauseType = CAUSE_TYPE_THING_MEMORY_NO; } //----------------------------------------------------------------------------// //=== Destructeur ============================================================// TCause_MemoryNo::~TCause_MemoryNo() { } //----------------------------------------------------------------------------// //=== Joue une animation superposée "classique" au décors ====================// bool TCause_MemoryNo::isCauseRealized(TScriptManager* SptMgr) { return !SptMgr->GetSrcGO()->isInMemory(iMemoryID); } //----------------------------------------------------------------------------// ///////////////////// Fin de la classe TCAUSE_MEMORY_NO //////////////////////// //////////////////////////////////////////////////////////////////////////////// // Classe TCAUSE_RANDOM // //////////////////////////////////////////////////////////////////////////////// //=== Constructeur ==========================================================// TCause_Timer::TCause_Timer(int numb): iNbMs(numb) { iCauseType = CAUSE_TYPE_TIMER; } //----------------------------------------------------------------------------// //=== Destructeur ============================================================// TCause_Timer::~TCause_Timer() { } //----------------------------------------------------------------------------// //=== Renvoie vrai lorsque l'on est arrivé au bout du tps ====================// bool TCause_Timer::isCauseRealized(TScriptManager* SptMgr) { // Quitte si l'on a omis le gestionaire de scripts if (SptMgr==NULL) return false; DWORD dwTimer; DWORD dwCurrentTime = GameHistory->GetTime(); // Regarde si le script est déjà en cours d'évaluation if (!SptMgr->IsTimer(iCauseID)) { // Si ce n'est pas le cas, on crée cette paire SptMgr->SetTimer(iCauseID, dwCurrentTime + iNbMs); } else { // Sinon, on récupère la valeur et on regarde si l'heure actuelle lui est supérieure dwTimer = SptMgr->GetTimer(iCauseID); if (dwTimer <= dwCurrentTime) { SptMgr->SetTimer(iCauseID, dwCurrentTime + iNbMs); return true; } } return false; } //----------------------------------------------------------------------------// ////////////////////// Fin de la classe TCAUSE_RANDOM //////////////////////////
[ "antoine.rey@gmail.com" ]
antoine.rey@gmail.com
608fb0a462531bc7ec538a1348f68e6c0b56ba94
91a882547e393d4c4946a6c2c99186b5f72122dd
/Source/XPSP1/NT/shell/services/hdsrv/pipeclnt/main.cpp
07836f618938b2b57a6b10c5c4690b590eb66bac
[]
no_license
IAmAnubhavSaini/cryptoAlgorithm-nt5src
94f9b46f101b983954ac6e453d0cf8d02aa76fc7
d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2
refs/heads/master
2023-09-02T10:14:14.795579
2021-11-20T13:47:06
2021-11-20T13:47:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,063
cpp
#include <tchar.h> #include <stdio.h> #include <io.h> #include <objbase.h> #ifndef UNICODE #error This has to be UNICODE #endif #define ARRAYSIZE(a) (sizeof((a))/sizeof((a)[0])) int Do(int argc, wchar_t* argv[]); static BOOL fUnicode = TRUE; static SECURITY_ATTRIBUTES _sa = {0}; static ACL* _pacl = NULL; static SID* _psidLocalUsers = NULL; static SECURITY_DESCRIPTOR* _psd = NULL; HRESULT _InitSecurityDescriptor(); extern "C" { int __cdecl wmain(int argc, wchar_t* argv[]) { return Do(argc, argv); } } VOID InstanceThread(LPVOID lpvParam) { BYTE bRequest[4096]; DWORD cbBytesRead; BOOL fSuccess; HANDLE hPipe = (HANDLE)lpvParam; /* EnterCriticalSection(&g_cs); ++g_cReply; cReply = g_cReply; LeaveCriticalSection(&g_cs);*/ fSuccess = ReadFile(hPipe, bRequest, sizeof(bRequest), &cbBytesRead, NULL); if (fSuccess && cbBytesRead) { // printf(TEXT("[%08u]"), cReply); if (fUnicode) { wprintf((LPWSTR)bRequest); } else { printf((LPSTR)bRequest); } } DisconnectNamedPipe(hPipe); CloseHandle(hPipe); } int Do(int argc, wchar_t* argv[]) { if (argc >= 3) { TCHAR szPipeName[MAX_PATH]; wsprintf(szPipeName, TEXT("\\\\%s\\pipe\\%s"), argv[1], argv[2]); if (4 == argc) { if (lstrcmpi(argv[3], TEXT("/a"))) { fUnicode = FALSE; } } // The main loop creates an instance of the named pipe and // then waits for a client to connect to it. When the client // connects, a thread is created to handle communications // with that client, and the loop is repeated. do { HRESULT hres = _InitSecurityDescriptor(); if (SUCCEEDED(hres)) { HANDLE hPipe = CreateNamedPipe( szPipeName, // pipe name PIPE_ACCESS_DUPLEX, // read/write access PIPE_TYPE_MESSAGE | // message type pipe PIPE_READMODE_MESSAGE | // message-read mode PIPE_WAIT, // blocking mode PIPE_UNLIMITED_INSTANCES, // max. instances 256, // output buffer size 4096, // input buffer size 10 * 1000, // client time-out &_sa); if (hPipe != INVALID_HANDLE_VALUE) { // Wait for the client to connect; if it succeeds, // the function returns a nonzero value. If the function returns // zero, GetLastError returns ERROR_PIPE_CONNECTED. BOOL fConnected = ConnectNamedPipe(hPipe, NULL) ? TRUE : (GetLastError() == ERROR_PIPE_CONNECTED); if (fConnected) { DWORD dwThreadId; // Create a thread for this client. HANDLE hThread = CreateThread( NULL, // no security attribute 0, // default stack size (LPTHREAD_START_ROUTINE) InstanceThread, (LPVOID) hPipe, // thread parameter 0, // not suspended &dwThreadId); // returns thread ID if (hThread) { BOOL f = CloseHandle(hThread); } } else { // The client could not connect, so close the pipe. CloseHandle(hPipe); } } } } while (1); } else { wprintf(L"\nUsage: \n\n"); wprintf(L"pipeclnt MachineName PipeName [/a]\n\n"); wprintf(L" MachineName: e.g.: stephstm_dev (no leading '\\\\')\n"); wprintf(L" Use '.' for local machine\n"); wprintf(L" PipeName: The pipename, usually the debuggee module name\n"); wprintf(L" [/a]: Treat the incoming data as ANSI (default is UNICODE)\n\n"); } return 0; } HRESULT _InitSecurityDescriptor() { HRESULT hres; if (_pacl) { hres = S_OK; } else { hres = E_FAIL; SID_IDENTIFIER_AUTHORITY sidAuthNT = SECURITY_WORLD_SID_AUTHORITY; if (AllocateAndInitializeSid(&sidAuthNT, 1, SECURITY_WORLD_RID, 0, 0, 0, 0, 0, 0, 0, (void**)&_psidLocalUsers)) { DWORD cbacl = sizeof(ACL) + sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD/*ACCESS_ALLOWED_ACE.SidStart*/) + GetLengthSid(_psidLocalUsers); _pacl = (ACL*)LocalAlloc(LPTR, cbacl); if (_pacl) { if (InitializeAcl(_pacl, cbacl, ACL_REVISION)) { if (AddAccessAllowedAce(_pacl, ACL_REVISION, FILE_ALL_ACCESS, _psidLocalUsers)) { _psd = (SECURITY_DESCRIPTOR*)LocalAlloc(LPTR, sizeof(SECURITY_DESCRIPTOR)); if (_psd) { if (InitializeSecurityDescriptor(_psd, SECURITY_DESCRIPTOR_REVISION)) { if (SetSecurityDescriptorDacl(_psd, TRUE, _pacl, FALSE)) { if (IsValidSecurityDescriptor(_psd)) { _sa.nLength = sizeof(_sa); _sa.lpSecurityDescriptor = _psd; _sa.bInheritHandle = TRUE; hres = S_OK; } } } } else { hres = E_OUTOFMEMORY; } } } } else { hres = E_OUTOFMEMORY; } } if (FAILED(hres)) { if (_psidLocalUsers) { FreeSid(_psidLocalUsers); } if (_pacl) { LocalFree((HLOCAL)_pacl); } if (_psd) { LocalFree((HLOCAL)_psd); } } } return hres; }
[ "support@cryptoalgo.cf" ]
support@cryptoalgo.cf
cb09ab74322af3f890cce75ee5bb31c09b9b2205
ca955b81a32f75fc2d01a689d1b8ea1bcae4cec1
/ImpAlgo/RemoveCycleLL.cpp
678e4fec1177c82d591dfa9cfd9c9515ee30c9aa
[]
no_license
lakshya03/DSA_Program_Sol
9451017cb9fd68fccc74ea283525ea3d2232dbe9
5beae29997f96c734930c87f0653f896a26c9da5
refs/heads/master
2023-08-14T21:10:33.478675
2021-09-29T17:37:40
2021-09-29T17:37:40
387,117,120
0
0
null
null
null
null
UTF-8
C++
false
false
524
cpp
ListNode* remoceCycle(ListNode* root) { ListNode* slow=root, *fast=root; while(fast && fast->next) { slow=slow->next; fast=fast->next->next; if(slow==fast) { slow=root; if(slow==fast) { while(fast->next != slow) fast = fast->next; } else{ while(fast->next!=slow->next) { slow= slow->next; prev=fast; fast= fast->next; } } fast->next=NULL; } return root; } } Q22 even/od
[ "lakshyajain03@gmail.com" ]
lakshyajain03@gmail.com
e39e4ad9407d7efc1a605925ed7530c823dcd8ec
ae9df4db0dc16065b53030e39d1325d0c81e0221
/include/FalconEngine/Graphics/Renderer/Font/FontText.h
4bc10ff06b26ffb9c5f1d94ff67b4695e16192ad
[ "MIT" ]
permissive
LiuYiZhou95/FalconEngine
c0895dba8c2a86a8dcdf156da1537d4f2e9724c3
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
refs/heads/master
2021-10-25T18:40:42.868445
2017-07-30T10:23:26
2017-07-30T10:23:26
285,249,037
0
1
null
2020-08-05T09:58:53
2020-08-05T09:58:52
null
UTF-8
C++
false
false
1,578
h
#pragma once #include <FalconEngine/Graphics/Common.h> #include <FalconEngine/Math/Vector2.h> #include <FalconEngine/Math/Vector4.h> namespace FalconEngine { // @summary The class the user would use to specify the all the information in // text rendering. The design is implemented this way for avoiding user // specifying shader related graphics pipeline information. The user should not // do this. The user should be able to "select" from renderer API to render the // text in specific way and that should be isolated from user-provided data. // // @design The user data should consists of: // 1. font // 2. font size // 3. text string // 4. text position and bounds // // The renderer API should process additional information, which consists of: // 1. font color // 2. font shader // // The font size has connection to the font shader uniform variables. The renderer // should be able to extract font size from text group and streamline the shader // variable processing. // // @note The structure of this class should be able to support different // font type. #pragma warning(disable: 4251) class FontText { public: FontText(float fontSize, const std::wstring& textString, const Vector2f& textPosition, float textLineWidth); FontText(float fontSize, const std::wstring& textString, const Vector4f& textBounds); public: float mFontSize; Vector4f mTextBounds; std::wstring mTextString; }; #pragma warning(default: 4251) }
[ "linwx_xin@hotmail.com" ]
linwx_xin@hotmail.com
b619a20a9a4818299d2acb0eda3f1540c27211e4
1005f450818900b923e345b73d77628f20d1875e
/thirdparty/msgpack-c/include/msgpack/v3/adaptor/raw_decl.hpp
e0133608b5befaabf72b21c77d0377fd8c523847
[ "MIT" ]
permissive
qicosmos/rest_rpc
c7ad37547a9dcb616832b32bc110a237977b8c74
93088a7e0f0ddb3786de40ed7b6311852644edbf
refs/heads/master
2023-08-23T06:56:42.464323
2023-07-04T02:57:13
2023-07-04T02:57:13
162,215,656
1,504
354
MIT
2023-07-05T03:37:24
2018-12-18T02:01:52
C++
UTF-8
C++
false
false
655
hpp
// // MessagePack for C++ static resolution routine // // Copyright (C) 2016 KONDO Takatoshi // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef MSGPACK_V3_TYPE_RAW_DECL_HPP #define MSGPACK_V3_TYPE_RAW_DECL_HPP #include "msgpack/v2/adaptor/raw_decl.hpp" namespace msgpack { /// @cond MSGPACK_API_VERSION_NAMESPACE(v3) { /// @endcond namespace type { using v2::type::raw_ref; } // namespace type /// @cond } // MSGPACK_API_VERSION_NAMESPACE(v3) /// @endcond } // namespace msgpack #endif // MSGPACK_V3_TYPE_RAW_DECL_HPP
[ "qicosmos@163.com" ]
qicosmos@163.com
2bb3e7445b9e29e1e0183d14c415cf120c0fb148
bb16234206184e6299bba33e03ec0ad10f8c3749
/frameworks/cocos2d-x/cocos/base/CCConsole.h
cd8d4fa37cc24cb6e5f1f83cb66da02b9a224715
[]
no_license
FootBallX/FootballXLua
1a779f63a5f9020a5a3dfe174f12b7a0a0c7ee29
5bcf689438b177730939cff264353e06c2aeaad2
refs/heads/master
2021-01-23T11:19:53.697952
2014-09-02T09:34:25
2014-09-02T09:34:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,614
h
/**************************************************************************** Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************************************************/ #ifndef __CCCONSOLE_H__ #define __CCCONSOLE_H__ #if defined(_MSC_VER) || defined(__MINGW32__) #include <BaseTsd.h> #include <WinSock2.h> #ifndef __SSIZE_T #define __SSIZE_T #define _SSIZE_T_ // for libuv typedef SSIZE_T ssize_t; #endif // __SSIZE_T #else #include <sys/select.h> #endif #include <thread> #include <vector> #include <map> #include <functional> #include <string> #include <mutex> #include <stdarg.h> #include "base/CCRef.h" #include "base/ccMacros.h" #include "base/CCPlatformMacros.h" NS_CC_BEGIN /// The max length of CCLog message. static const int MAX_LOG_LENGTH = 16*1024; /** @brief Output Debug message. */ void CC_DLL log(const char * format, ...) CC_FORMAT_PRINTF(1, 2); /** Console is helper class that lets the developer control the game from TCP connection. Console will spawn a new thread that will listen to a specified TCP port. Console has a basic token parser. Each token is associated with an std::function<void(int)>. If the std::function<> needs to use the cocos2d API, it needs to call ``` scheduler->performFunctionInCocosThread( ... ); ``` */ #if (CC_TARGET_PLATFORM != CC_PLATFORM_WINRT) class CC_DLL Console : public Ref { public: struct Command { std::string name; std::string help; std::function<void(int, const std::string&)> callback; }; /** Constructor */ Console(); /** Destructor */ virtual ~Console(); /** starts listening to specifed TCP port */ bool listenOnTCP(int port); /** starts listening to specifed file descriptor */ bool listenOnFileDescriptor(int fd); /** stops the Console. 'stop' will be called at destruction time as well */ void stop(); /** add custom command */ void addCommand(const Command& cmd); /** log something in the console */ void log(const char *buf); protected: void loop(); ssize_t readline(int fd, char *buf, size_t maxlen); ssize_t readBytes(int fd, char* buffer, size_t maxlen, bool* more); bool parseCommand(int fd); void addClient(); // Add commands here void commandHelp(int fd, const std::string &args); void commandExit(int fd, const std::string &args); void commandSceneGraph(int fd, const std::string &args); void commandFileUtils(int fd, const std::string &args); void commandConfig(int fd, const std::string &args); void commandTextures(int fd, const std::string &args); void commandResolution(int fd, const std::string &args); void commandProjection(int fd, const std::string &args); void commandDirector(int fd, const std::string &args); void commandTouch(int fd, const std::string &args); void commandUpload(int fd); // file descriptor: socket, console, etc. int _listenfd; int _maxfd; std::vector<int> _fds; std::thread _thread; fd_set _read_set; bool _running; bool _endThread; std::string _writablePath; std::map<std::string, Command> _commands; // strings generated by cocos2d sent to the remote console bool _sendDebugStrings; std::mutex _DebugStringsMutex; std::vector<std::string> _DebugStrings; intptr_t _touchId; private: CC_DISALLOW_COPY_AND_ASSIGN(Console); }; #endif /* #if (CC_TARGET_PLATFORM != CC_PLATFORM_WINRT) */ NS_CC_END #endif /* defined(__CCCONSOLE_H__) */
[ "559210@qq.com" ]
559210@qq.com
e86e53d6dcafcc7e24573cd326b61bee2286fd38
a06515f4697a3dbcbae4e3c05de2f8632f8d5f46
/corpus/taken_from_cppcheck_tests/stolen_3883.cpp
90f4559d879fad063047b08bcda06c503ce7c2b0
[]
no_license
pauldreik/fuzzcppcheck
12d9c11bcc182cc1f1bb4893e0925dc05fcaf711
794ba352af45971ff1f76d665b52adeb42dcab5f
refs/heads/master
2020-05-01T01:55:04.280076
2019-03-22T21:05:28
2019-03-22T21:05:28
177,206,313
0
0
null
null
null
null
UTF-8
C++
false
false
35
cpp
void f(){bool x; scanf("%Lx", &x);}
[ "github@pauldreik.se" ]
github@pauldreik.se
65441a4d8f6618ce2435d0ae6a524ea5212a4af6
64d401b998d689d9c937988c5ad8badaffeb29ed
/content/browser/download/parallel_download_utils.cc
a54cfa67622d67d628ea9b58268fb9437c5f2dec
[ "BSD-3-Clause" ]
permissive
Snger/chromium
77c1ae991b5d92d830d83e2bbd6890673d98c963
23c9664fcc2ffd6bdcffbca5355ba4cd083f7060
refs/heads/master
2023-02-26T16:06:16.690161
2017-03-30T03:45:22
2017-03-30T03:45:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,616
cc
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/download/parallel_download_utils.h" #include "base/metrics/field_trial_params.h" #include "base/strings/string_number_conversions.h" #include "base/time/time.h" #include "content/public/browser/download_save_info.h" #include "content/public/common/content_features.h" namespace content { namespace { // Finch parameter key value for minimum slice size in bytes to use parallel // download. const char kMinSliceSizeFinchKey[] = "min_slice_size"; // Default value for |kMinSliceSizeFinchKey|, when no parameter is specified. const int64_t kMinSliceSizeParallelDownload = 2097152; // Finch parameter key value for number of parallel requests in a parallel // download, including the original request. const char kParallelRequestCountFinchKey[] = "request_count"; // Default value for |kParallelRequestCountFinchKey|, when no parameter is // specified. const int kParallelRequestCount = 2; // Finch parameter key value for the delay time in milliseconds to send // parallel requests after response of the original request is handled. const char kParallelRequestDelayFinchKey[] = "parallel_request_delay"; // TODO(qinmin): replace this with a comparator operator in // DownloadItem::ReceivedSlice. bool compareReceivedSlices(const DownloadItem::ReceivedSlice& lhs, const DownloadItem::ReceivedSlice& rhs) { return lhs.offset < rhs.offset; } } // namespace bool ShouldUseParallelDownload(const DownloadCreateInfo& create_info) { // To enable parallel download, following conditions need to be satisfied. // 1. Accept-Ranges, Content-Length and strong validators response headers. // 2. Feature |kParallelDownloading| enabled. // 3. Content-Length is no less than the minimum slice size configuration. // 3. HTTP/1.1 protocol, not QUIC nor HTTP/1.0. // Etag and last modified are stored into DownloadCreateInfo in // DownloadRequestCore only if the response header complies to the strong // validator rule. bool has_strong_validator = !create_info.etag.empty() || !create_info.last_modified.empty(); return has_strong_validator && create_info.accept_range && create_info.total_bytes >= GetMinSliceSizeConfig() && create_info.connection_info == net::HttpResponseInfo::CONNECTION_INFO_HTTP1_1 && base::FeatureList::IsEnabled(features::kParallelDownloading); } std::vector<DownloadItem::ReceivedSlice> FindSlicesForRemainingContent( int64_t bytes_received, int64_t content_length, int request_count) { std::vector<DownloadItem::ReceivedSlice> slices_to_download; if (request_count <= 0) return slices_to_download; // TODO(xingliu): Consider to use minimum size of a slice. int64_t slice_size = content_length / request_count; slice_size = slice_size > 0 ? slice_size : 1; int64_t current_offset = bytes_received; for (int i = 0, num_requests = content_length / slice_size; i < num_requests - 1; ++i) { slices_to_download.emplace_back(current_offset, slice_size); current_offset += slice_size; } // Last slice is a half open slice, which results in sending range request // like "Range:50-" to fetch from 50 bytes to the end of the file. slices_to_download.emplace_back(current_offset, DownloadSaveInfo::kLengthFullContent); return slices_to_download; } std::vector<DownloadItem::ReceivedSlice> FindSlicesToDownload( const std::vector<DownloadItem::ReceivedSlice>& received_slices) { std::vector<DownloadItem::ReceivedSlice> result; if (received_slices.empty()) { result.emplace_back(0, DownloadSaveInfo::kLengthFullContent); return result; } std::vector<DownloadItem::ReceivedSlice>::const_iterator iter = received_slices.begin(); DCHECK_GE(iter->offset, 0); if (iter->offset != 0) result.emplace_back(0, iter->offset); while (true) { int64_t offset = iter->offset + iter->received_bytes; std::vector<DownloadItem::ReceivedSlice>::const_iterator next = std::next(iter); if (next == received_slices.end()) { result.emplace_back(offset, DownloadSaveInfo::kLengthFullContent); break; } DCHECK_GE(next->offset, offset); if (next->offset > offset) result.emplace_back(offset, next->offset - offset); iter = next; } return result; } size_t AddOrMergeReceivedSliceIntoSortedArray( const DownloadItem::ReceivedSlice& new_slice, std::vector<DownloadItem::ReceivedSlice>& received_slices) { std::vector<DownloadItem::ReceivedSlice>::iterator it = std::upper_bound(received_slices.begin(), received_slices.end(), new_slice, compareReceivedSlices); if (it != received_slices.begin()) { std::vector<DownloadItem::ReceivedSlice>::iterator prev = std::prev(it); if (prev->offset + prev->received_bytes == new_slice.offset) { prev->received_bytes += new_slice.received_bytes; return static_cast<size_t>(std::distance(received_slices.begin(), prev)); } } it = received_slices.emplace(it, new_slice); return static_cast<size_t>(std::distance(received_slices.begin(), it)); } int64_t GetMinSliceSizeConfig() { std::string finch_value = base::GetFieldTrialParamValueByFeature( features::kParallelDownloading, kMinSliceSizeFinchKey); int64_t result; return base::StringToInt64(finch_value, &result) ? result : kMinSliceSizeParallelDownload; } int GetParallelRequestCountConfig() { std::string finch_value = base::GetFieldTrialParamValueByFeature( features::kParallelDownloading, kParallelRequestCountFinchKey); int result; return base::StringToInt(finch_value, &result) ? result : kParallelRequestCount; } base::TimeDelta GetParallelRequestDelayConfig() { std::string finch_value = base::GetFieldTrialParamValueByFeature( features::kParallelDownloading, kParallelRequestDelayFinchKey); int64_t time_ms = 0; return base::StringToInt64(finch_value, &time_ms) ? base::TimeDelta::FromMilliseconds(time_ms) : base::TimeDelta::FromMilliseconds(0); } void DebugSlicesInfo(const DownloadItem::ReceivedSlices& slices) { DVLOG(1) << "Received slices size : " << slices.size(); for (const auto& it : slices) { DVLOG(1) << "Slice offset = " << it.offset << " , received_bytes = " << it.received_bytes; } } } // namespace content
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
f6304522ddd3df2070fe5bf139d6d287772aceaa
3b1c7561c8d3b9452fc0cdefe299b208e0db1853
/bench/GMBench.cpp
32468e45d887c63cbcd1e0dc1a1c157923800e44
[ "BSD-3-Clause" ]
permissive
NearTox/Skia
dee04fc980bd40c1861c424b5643e7873f656b01
4d0cd2b6deca44eb2255651c4f04396963688761
refs/heads/master
2022-12-24T02:01:41.138176
2022-08-27T14:32:37
2022-08-27T14:32:37
153,816,056
0
0
BSD-3-Clause
2022-12-13T23:42:44
2018-10-19T17:05:47
C++
UTF-8
C++
false
false
1,340
cpp
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "bench/GMBench.h" #include "include/gpu/GrRecordingContext.h" #include "src/gpu/ganesh/GrRecordingContextPriv.h" GMBench::GMBench(std::unique_ptr<skiagm::GM> gm) : fGM(std::move(gm)) { fGM->setMode(skiagm::GM::kBench_Mode); fName.printf("GM_%s", fGM->getName()); } const char* GMBench::onGetName() { return fName.c_str(); } bool GMBench::isSuitableFor(Backend backend) { return kNonRendering_Backend != backend; } void GMBench::onPerCanvasPreDraw(SkCanvas* canvas) { auto direct = GrAsDirectContext(canvas->recordingContext()); if (fGM->gpuSetup(direct, canvas) != skiagm::DrawResult::kOk) { fGpuSetupFailed = true; } fGM->onceBeforeDraw(); } void GMBench::onPerCanvasPostDraw(SkCanvas*) { fGM->gpuTeardown(); // The same GM will be reused with multiple GrContexts. Let the next GrContext start // afresh. fGpuSetupFailed = false; } void GMBench::onDraw(int loops, SkCanvas* canvas) { if (fGpuSetupFailed) { return; } fGM->drawBackground(canvas); for (int i = 0; i < loops; ++i) { fGM->drawContent(canvas); } } SkIPoint GMBench::onGetSize() { SkISize size = fGM->getISize(); return SkIPoint::Make(size.fWidth, size.fHeight); }
[ "NearTox@outlook.com" ]
NearTox@outlook.com
a5325a1ee3db3c78c7dccbc229159a5d5f98d5d6
e211a5ac470b6e58c511b1a2acaebade67c404e0
/common/fftmath.h
ed019e7a5b7d5369e3c48caf6ff108a45e2200db
[]
no_license
taylorlu/transcli
030b4bb52a054fa698b56268a8c0d3949c0ec087
94f75e2333b9e7a7738839243b46de9e8cc24642
refs/heads/master
2020-04-28T13:54:14.602129
2019-03-13T01:30:17
2019-03-13T01:30:17
175,320,906
0
2
null
null
null
null
UTF-8
C++
false
false
58,785
h
#ifndef _DSP_MATH_SHARED_H_ #define _DSP_MATH_SHARED_H_ #ifdef WIN32 #pragma warning(disable:4244) #else #include <math.h> #endif #define PI 3.1415926535897932384626433832795 template<class REAL> class dsp_math { public: /* Fast Fourier/Cosine/Sine Transform dimension :one data length :power of 2 decimation :frequency radix :split-radix data :inplace table :use functions cdft: Complex Discrete Fourier Transform rdft: Real Discrete Fourier Transform ddct: Discrete Cosine Transform ddst: Discrete Sine Transform dfct: Cosine Transform of RDFT (Real Symmetric DFT) dfst: Sine Transform of RDFT (Real Anti-symmetric DFT) function prototypes void cdft(int, int, REAL *, int *, REAL *); void rdft(int, int, REAL *, int *, REAL *); void ddct(int, int, REAL *, int *, REAL *); void ddst(int, int, REAL *, int *, REAL *); void dfct(int, REAL *, REAL *, int *, REAL *); void dfst(int, REAL *, REAL *, int *, REAL *); -------- Complex DFT (Discrete Fourier Transform) -------- [definition] <case1> X[k] = sum_j=0^n-1 x[j]*exp(2*pi*i*j*k/n), 0<=k<n <case2> X[k] = sum_j=0^n-1 x[j]*exp(-2*pi*i*j*k/n), 0<=k<n (notes: sum_j=0^n-1 is a summation from j=0 to n-1) [usage] <case1> ip[0] = 0; // first time only cdft(2*n, 1, a, ip, w); <case2> ip[0] = 0; // first time only cdft(2*n, -1, a, ip, w); [parameters] 2*n :data length (int) n >= 1, n = power of 2 a[0...2*n-1] :input/output data (REAL *) input data a[2*j] = Re(x[j]), a[2*j+1] = Im(x[j]), 0<=j<n output data a[2*k] = Re(X[k]), a[2*k+1] = Im(X[k]), 0<=k<n ip[0...*] :work area for bit reversal (int *) length of ip >= 2+sqrt(n) strictly, length of ip >= 2+(1<<(int)(log(n+0.5)/log(2))/2). ip[0],ip[1] are pointers of the cos/sin table. w[0...n/2-1] :cos/sin table (REAL *) w[],ip[] are initialized if ip[0] == 0. [remark] Inverse of cdft(2*n, -1, a, ip, w); is cdft(2*n, 1, a, ip, w); for (j = 0; j <= 2 * n - 1; j++) { a[j] *= 1.0 / n; } . -------- Real DFT / Inverse of Real DFT -------- [definition] <case1> RDFT R[k] = sum_j=0^n-1 a[j]*cos(2*pi*j*k/n), 0<=k<=n/2 I[k] = sum_j=0^n-1 a[j]*sin(2*pi*j*k/n), 0<k<n/2 <case2> IRDFT (excluding scale) a[k] = (R[0] + R[n/2]*cos(pi*k))/2 + sum_j=1^n/2-1 R[j]*cos(2*pi*j*k/n) + sum_j=1^n/2-1 I[j]*sin(2*pi*j*k/n), 0<=k<n [usage] <case1> ip[0] = 0; // first time only rdft(n, 1, a, ip, w); <case2> ip[0] = 0; // first time only rdft(n, -1, a, ip, w); [parameters] n :data length (int) n >= 2, n = power of 2 a[0...n-1] :input/output data (REAL *) <case1> output data a[2*k] = R[k], 0<=k<n/2 a[2*k+1] = I[k], 0<k<n/2 a[1] = R[n/2] <case2> input data a[2*j] = R[j], 0<=j<n/2 a[2*j+1] = I[j], 0<j<n/2 a[1] = R[n/2] ip[0...*] :work area for bit reversal (int *) length of ip >= 2+sqrt(n/2) strictly, length of ip >= 2+(1<<(int)(log(n/2+0.5)/log(2))/2). ip[0],ip[1] are pointers of the cos/sin table. w[0...n/2-1] :cos/sin table (REAL *) w[],ip[] are initialized if ip[0] == 0. [remark] Inverse of rdft(n, 1, a, ip, w); is rdft(n, -1, a, ip, w); for (j = 0; j <= n - 1; j++) { a[j] *= 2.0 / n; } . -------- DCT (Discrete Cosine Transform) / Inverse of DCT -------- [definition] <case1> IDCT (excluding scale) C[k] = sum_j=0^n-1 a[j]*cos(pi*j*(k+1/2)/n), 0<=k<n <case2> DCT C[k] = sum_j=0^n-1 a[j]*cos(pi*(j+1/2)*k/n), 0<=k<n [usage] <case1> ip[0] = 0; // first time only ddct(n, 1, a, ip, w); <case2> ip[0] = 0; // first time only ddct(n, -1, a, ip, w); [parameters] n :data length (int) n >= 2, n = power of 2 a[0...n-1] :input/output data (REAL *) output data a[k] = C[k], 0<=k<n ip[0...*] :work area for bit reversal (int *) length of ip >= 2+sqrt(n/2) strictly, length of ip >= 2+(1<<(int)(log(n/2+0.5)/log(2))/2). ip[0],ip[1] are pointers of the cos/sin table. w[0...n*5/4-1] :cos/sin table (REAL *) w[],ip[] are initialized if ip[0] == 0. [remark] Inverse of ddct(n, -1, a, ip, w); is a[0] *= 0.5; ddct(n, 1, a, ip, w); for (j = 0; j <= n - 1; j++) { a[j] *= 2.0 / n; } . -------- DST (Discrete Sine Transform) / Inverse of DST -------- [definition] <case1> IDST (excluding scale) S[k] = sum_j=1^n A[j]*sin(pi*j*(k+1/2)/n), 0<=k<n <case2> DST S[k] = sum_j=0^n-1 a[j]*sin(pi*(j+1/2)*k/n), 0<k<=n [usage] <case1> ip[0] = 0; // first time only ddst(n, 1, a, ip, w); <case2> ip[0] = 0; // first time only ddst(n, -1, a, ip, w); [parameters] n :data length (int) n >= 2, n = power of 2 a[0...n-1] :input/output data (REAL *) <case1> input data a[j] = A[j], 0<j<n a[0] = A[n] output data a[k] = S[k], 0<=k<n <case2> output data a[k] = S[k], 0<k<n a[0] = S[n] ip[0...*] :work area for bit reversal (int *) length of ip >= 2+sqrt(n/2) strictly, length of ip >= 2+(1<<(int)(log(n/2+0.5)/log(2))/2). ip[0],ip[1] are pointers of the cos/sin table. w[0...n*5/4-1] :cos/sin table (REAL *) w[],ip[] are initialized if ip[0] == 0. [remark] Inverse of ddst(n, -1, a, ip, w); is a[0] *= 0.5; ddst(n, 1, a, ip, w); for (j = 0; j <= n - 1; j++) { a[j] *= 2.0 / n; } . -------- Cosine Transform of RDFT (Real Symmetric DFT) -------- [definition] C[k] = sum_j=0^n a[j]*cos(pi*j*k/n), 0<=k<=n [usage] ip[0] = 0; // first time only dfct(n, a, t, ip, w); [parameters] n :data length - 1 (int) n >= 2, n = power of 2 a[0...n] :input/output data (REAL *) output data a[k] = C[k], 0<=k<=n t[0...n/2] :work area (REAL *) ip[0...*] :work area for bit reversal (int *) length of ip >= 2+sqrt(n/4) strictly, length of ip >= 2+(1<<(int)(log(n/4+0.5)/log(2))/2). ip[0],ip[1] are pointers of the cos/sin table. w[0...n*5/8-1] :cos/sin table (REAL *) w[],ip[] are initialized if ip[0] == 0. [remark] Inverse of a[0] *= 0.5; a[n] *= 0.5; dfct(n, a, t, ip, w); is a[0] *= 0.5; a[n] *= 0.5; dfct(n, a, t, ip, w); for (j = 0; j <= n; j++) { a[j] *= 2.0 / n; } . -------- Sine Transform of RDFT (Real Anti-symmetric DFT) -------- [definition] S[k] = sum_j=1^n-1 a[j]*sin(pi*j*k/n), 0<k<n [usage] ip[0] = 0; // first time only dfst(n, a, t, ip, w); [parameters] n :data length + 1 (int) n >= 2, n = power of 2 a[0...n-1] :input/output data (REAL *) output data a[k] = S[k], 0<k<n (a[0] is used for work area) t[0...n/2-1] :work area (REAL *) ip[0...*] :work area for bit reversal (int *) length of ip >= 2+sqrt(n/4) strictly, length of ip >= 2+(1<<(int)(log(n/4+0.5)/log(2))/2). ip[0],ip[1] are pointers of the cos/sin table. w[0...n*5/8-1] :cos/sin table (REAL *) w[],ip[] are initialized if ip[0] == 0. [remark] Inverse of dfst(n, a, t, ip, w); is dfst(n, a, t, ip, w); for (j = 1; j <= n - 1; j++) { a[j] *= 2.0 / n; } . Appendix : The cos/sin table is recalculated when the larger table required. w[] and ip[] are compatible with all routines. */ static void cdft(int n, int isgn, REAL *a, int *ip, REAL *w) { int nw; nw = ip[0]; if (n > (nw << 2)) { nw = n >> 2; makewt(nw, ip, w); } if (isgn >= 0) { cftfsub(n, a, ip + 2, nw, w); } else { cftbsub(n, a, ip + 2, nw, w); } } static void rdft(int n, int isgn, REAL *a, int *ip, REAL *w) { int nw, nc; REAL xi; nw = ip[0]; if (n > (nw << 2)) { nw = n >> 2; makewt(nw, ip, w); } nc = ip[1]; if (n > (nc << 2)) { nc = n >> 2; makect(nc, ip, w + nw); } if (isgn >= 0) { if (n > 4) { cftfsub(n, a, ip + 2, nw, w); rftfsub(n, a, nc, w + nw); } else if (n == 4) { cftfsub(n, a, ip + 2, nw, w); } xi = a[0] - a[1]; a[0] += a[1]; a[1] = xi; } else { a[1] = 0.5 * (a[0] - a[1]); a[0] -= a[1]; if (n > 4) { rftbsub(n, a, nc, w + nw); cftbsub(n, a, ip + 2, nw, w); } else if (n == 4) { cftbsub(n, a, ip + 2, nw, w); } } } static void ddct(int n, int isgn, REAL *a, int *ip, REAL *w) { int j, nw, nc; REAL xr; nw = ip[0]; if (n > (nw << 2)) { nw = n >> 2; makewt(nw, ip, w); } nc = ip[1]; if (n > nc) { nc = n; makect(nc, ip, w + nw); } if (isgn < 0) { xr = a[n - 1]; for (j = n - 2; j >= 2; j -= 2) { a[j + 1] = a[j] - a[j - 1]; a[j] += a[j - 1]; } a[1] = a[0] - xr; a[0] += xr; if (n > 4) { rftbsub(n, a, nc, w + nw); cftbsub(n, a, ip + 2, nw, w); } else if (n == 4) { cftbsub(n, a, ip + 2, nw, w); } } dctsub(n, a, nc, w + nw); if (isgn >= 0) { if (n > 4) { cftfsub(n, a, ip + 2, nw, w); rftfsub(n, a, nc, w + nw); } else if (n == 4) { cftfsub(n, a, ip + 2, nw, w); } xr = a[0] - a[1]; a[0] += a[1]; for (j = 2; j < n; j += 2) { a[j - 1] = a[j] - a[j + 1]; a[j] += a[j + 1]; } a[n - 1] = xr; } } static void ddst(int n, int isgn, REAL *a, int *ip, REAL *w) { int j, nw, nc; REAL xr; nw = ip[0]; if (n > (nw << 2)) { nw = n >> 2; makewt(nw, ip, w); } nc = ip[1]; if (n > nc) { nc = n; makect(nc, ip, w + nw); } if (isgn < 0) { xr = a[n - 1]; for (j = n - 2; j >= 2; j -= 2) { a[j + 1] = -a[j] - a[j - 1]; a[j] -= a[j - 1]; } a[1] = a[0] + xr; a[0] -= xr; if (n > 4) { rftbsub(n, a, nc, w + nw); cftbsub(n, a, ip + 2, nw, w); } else if (n == 4) { cftbsub(n, a, ip + 2, nw, w); } } dstsub(n, a, nc, w + nw); if (isgn >= 0) { if (n > 4) { cftfsub(n, a, ip + 2, nw, w); rftfsub(n, a, nc, w + nw); } else if (n == 4) { cftfsub(n, a, ip + 2, nw, w); } xr = a[0] - a[1]; a[0] += a[1]; for (j = 2; j < n; j += 2) { a[j - 1] = -a[j] - a[j + 1]; a[j] -= a[j + 1]; } a[n - 1] = -xr; } } static void dfct(int n, REAL *a, REAL *t, int *ip, REAL *w) { int j, k, l, m, mh, nw, nc; REAL xr, xi, yr, yi; nw = ip[0]; if (n > (nw << 3)) { nw = n >> 3; makewt(nw, ip, w); } nc = ip[1]; if (n > (nc << 1)) { nc = n >> 1; makect(nc, ip, w + nw); } m = n >> 1; yi = a[m]; xi = a[0] + a[n]; a[0] -= a[n]; t[0] = xi - yi; t[m] = xi + yi; if (n > 2) { mh = m >> 1; for (j = 1; j < mh; j++) { k = m - j; xr = a[j] - a[n - j]; xi = a[j] + a[n - j]; yr = a[k] - a[n - k]; yi = a[k] + a[n - k]; a[j] = xr; a[k] = yr; t[j] = xi - yi; t[k] = xi + yi; } t[mh] = a[mh] + a[n - mh]; a[mh] -= a[n - mh]; dctsub(m, a, nc, w + nw); if (m > 4) { cftfsub(m, a, ip + 2, nw, w); rftfsub(m, a, nc, w + nw); } else if (m == 4) { cftfsub(m, a, ip + 2, nw, w); } a[n - 1] = a[0] - a[1]; a[1] = a[0] + a[1]; for (j = m - 2; j >= 2; j -= 2) { a[2 * j + 1] = a[j] + a[j + 1]; a[2 * j - 1] = a[j] - a[j + 1]; } l = 2; m = mh; while (m >= 2) { dctsub(m, t, nc, w + nw); if (m > 4) { cftfsub(m, t, ip + 2, nw, w); rftfsub(m, t, nc, w + nw); } else if (m == 4) { cftfsub(m, t, ip + 2, nw, w); } a[n - l] = t[0] - t[1]; a[l] = t[0] + t[1]; k = 0; for (j = 2; j < m; j += 2) { k += l << 2; a[k - l] = t[j] - t[j + 1]; a[k + l] = t[j] + t[j + 1]; } l <<= 1; mh = m >> 1; for (j = 0; j < mh; j++) { k = m - j; t[j] = t[m + k] - t[m + j]; t[k] = t[m + k] + t[m + j]; } t[mh] = t[m + mh]; m = mh; } a[l] = t[0]; a[n] = t[2] - t[1]; a[0] = t[2] + t[1]; } else { a[1] = a[0]; a[2] = t[0]; a[0] = t[1]; } } static void dfst(int n, REAL *a, REAL *t, int *ip, REAL *w) { int j, k, l, m, mh, nw, nc; REAL xr, xi, yr, yi; nw = ip[0]; if (n > (nw << 3)) { nw = n >> 3; makewt(nw, ip, w); } nc = ip[1]; if (n > (nc << 1)) { nc = n >> 1; makect(nc, ip, w + nw); } if (n > 2) { m = n >> 1; mh = m >> 1; for (j = 1; j < mh; j++) { k = m - j; xr = a[j] + a[n - j]; xi = a[j] - a[n - j]; yr = a[k] + a[n - k]; yi = a[k] - a[n - k]; a[j] = xr; a[k] = yr; t[j] = xi + yi; t[k] = xi - yi; } t[0] = a[mh] - a[n - mh]; a[mh] += a[n - mh]; a[0] = a[m]; dstsub(m, a, nc, w + nw); if (m > 4) { cftfsub(m, a, ip + 2, nw, w); rftfsub(m, a, nc, w + nw); } else if (m == 4) { cftfsub(m, a, ip + 2, nw, w); } a[n - 1] = a[1] - a[0]; a[1] = a[0] + a[1]; for (j = m - 2; j >= 2; j -= 2) { a[2 * j + 1] = a[j] - a[j + 1]; a[2 * j - 1] = -a[j] - a[j + 1]; } l = 2; m = mh; while (m >= 2) { dstsub(m, t, nc, w + nw); if (m > 4) { cftfsub(m, t, ip + 2, nw, w); rftfsub(m, t, nc, w + nw); } else if (m == 4) { cftfsub(m, t, ip + 2, nw, w); } a[n - l] = t[1] - t[0]; a[l] = t[0] + t[1]; k = 0; for (j = 2; j < m; j += 2) { k += l << 2; a[k - l] = -t[j] - t[j + 1]; a[k + l] = t[j] - t[j + 1]; } l <<= 1; mh = m >> 1; for (j = 1; j < mh; j++) { k = m - j; t[j] = t[m + k] + t[m + j]; t[k] = t[m + k] - t[m + j]; } t[0] = t[m + mh]; m = mh; } a[l] = t[0]; } a[0] = 0; } static void makewt(int nw, int *ip, REAL *w) { int j, nwh, nw0, nw1; REAL delta, wn4r, wk1r, wk1i, wk3r, wk3i; ip[0] = nw; ip[1] = 1; if (nw > 2) { nwh = nw >> 1; delta = atan(1.0) / nwh; wn4r = cos(delta * nwh); w[0] = 1; w[1] = wn4r; if (nwh >= 4) { w[2] = 0.5 / cos(delta * 2); w[3] = 0.5 / cos(delta * 6); } for (j = 4; j < nwh; j += 4) { w[j] = cos(delta * j); w[j + 1] = sin(delta * j); w[j + 2] = cos(3 * delta * j); w[j + 3] = sin(3 * delta * j); } nw0 = 0; while (nwh > 2) { nw1 = nw0 + nwh; nwh >>= 1; w[nw1] = 1; w[nw1 + 1] = wn4r; if (nwh >= 4) { wk1r = w[nw0 + 4]; wk3r = w[nw0 + 6]; w[nw1 + 2] = 0.5 / wk1r; w[nw1 + 3] = 0.5 / wk3r; } for (j = 4; j < nwh; j += 4) { wk1r = w[nw0 + 2 * j]; wk1i = w[nw0 + 2 * j + 1]; wk3r = w[nw0 + 2 * j + 2]; wk3i = w[nw0 + 2 * j + 3]; w[nw1 + j] = wk1r; w[nw1 + j + 1] = wk1i; w[nw1 + j + 2] = wk3r; w[nw1 + j + 3] = wk3i; } nw0 = nw1; } } } static void makect(int nc, int *ip, REAL *c) { int j, nch; REAL delta; ip[1] = nc; if (nc > 1) { nch = nc >> 1; delta = atan(1.0) / nch; c[0] = cos(delta * nch); c[nch] = 0.5 * c[0]; for (j = 1; j < nch; j++) { c[j] = 0.5 * cos(delta * j); c[nc - j] = 0.5 * sin(delta * j); } } } /* -------- child routines -------- */ #ifndef CDFT_RECURSIVE_N /* length of the recursive FFT mode */ #define CDFT_RECURSIVE_N 512 /* <= (L1 cache size) / 16 */ #endif static void cftfsub(int n, REAL *a, int *ip, int nw, REAL *w) { int m; if (n > 32) { m = n >> 2; cftf1st(n, a, &w[nw - m]); if (n > CDFT_RECURSIVE_N) { cftrec1(m, a, nw, w); cftrec2(m, &a[m], nw, w); cftrec1(m, &a[2 * m], nw, w); cftrec1(m, &a[3 * m], nw, w); } else if (m > 32) { cftexp1(n, a, nw, w); } else { cftfx41(n, a, nw, w); } bitrv2(n, ip, a); } else if (n > 8) { if (n == 32) { cftf161(a, &w[nw - 8]); bitrv216(a); } else { cftf081(a, w); bitrv208(a); } } else if (n == 8) { cftf040(a); } else if (n == 4) { cftx020(a); } } static void cftbsub(int n, REAL *a, int *ip, int nw, REAL *w) { int m; if (n > 32) { m = n >> 2; cftb1st(n, a, &w[nw - m]); if (n > CDFT_RECURSIVE_N) { cftrec1(m, a, nw, w); cftrec2(m, &a[m], nw, w); cftrec1(m, &a[2 * m], nw, w); cftrec1(m, &a[3 * m], nw, w); } else if (m > 32) { cftexp1(n, a, nw, w); } else { cftfx41(n, a, nw, w); } bitrv2conj(n, ip, a); } else if (n > 8) { if (n == 32) { cftf161(a, &w[nw - 8]); bitrv216neg(a); } else { cftf081(a, w); bitrv208neg(a); } } else if (n == 8) { cftb040(a); } else if (n == 4) { cftx020(a); } } static void bitrv2(int n, int *ip, REAL *a) { int j, j1, k, k1, l, m, m2; REAL xr, xi, yr, yi; ip[0] = 0; l = n; m = 1; while ((m << 3) < l) { l >>= 1; for (j = 0; j < m; j++) { ip[m + j] = ip[j] + l; } m <<= 1; } m2 = 2 * m; if ((m << 3) == l) { for (k = 0; k < m; k++) { for (j = 0; j < k; j++) { j1 = 2 * j + ip[k]; k1 = 2 * k + ip[j]; xr = a[j1]; xi = a[j1 + 1]; yr = a[k1]; yi = a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; j1 += m2; k1 += 2 * m2; xr = a[j1]; xi = a[j1 + 1]; yr = a[k1]; yi = a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; j1 += m2; k1 -= m2; xr = a[j1]; xi = a[j1 + 1]; yr = a[k1]; yi = a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; j1 += m2; k1 += 2 * m2; xr = a[j1]; xi = a[j1 + 1]; yr = a[k1]; yi = a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; } j1 = 2 * k + m2 + ip[k]; k1 = j1 + m2; xr = a[j1]; xi = a[j1 + 1]; yr = a[k1]; yi = a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; } } else { for (k = 1; k < m; k++) { for (j = 0; j < k; j++) { j1 = 2 * j + ip[k]; k1 = 2 * k + ip[j]; xr = a[j1]; xi = a[j1 + 1]; yr = a[k1]; yi = a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; j1 += m2; k1 += m2; xr = a[j1]; xi = a[j1 + 1]; yr = a[k1]; yi = a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; } } } } static void bitrv2conj(int n, int *ip, REAL *a) { int j, j1, k, k1, l, m, m2; REAL xr, xi, yr, yi; ip[0] = 0; l = n; m = 1; while ((m << 3) < l) { l >>= 1; for (j = 0; j < m; j++) { ip[m + j] = ip[j] + l; } m <<= 1; } m2 = 2 * m; if ((m << 3) == l) { for (k = 0; k < m; k++) { for (j = 0; j < k; j++) { j1 = 2 * j + ip[k]; k1 = 2 * k + ip[j]; xr = a[j1]; xi = -a[j1 + 1]; yr = a[k1]; yi = -a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; j1 += m2; k1 += 2 * m2; xr = a[j1]; xi = -a[j1 + 1]; yr = a[k1]; yi = -a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; j1 += m2; k1 -= m2; xr = a[j1]; xi = -a[j1 + 1]; yr = a[k1]; yi = -a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; j1 += m2; k1 += 2 * m2; xr = a[j1]; xi = -a[j1 + 1]; yr = a[k1]; yi = -a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; } k1 = 2 * k + ip[k]; a[k1 + 1] = -a[k1 + 1]; j1 = k1 + m2; k1 = j1 + m2; xr = a[j1]; xi = -a[j1 + 1]; yr = a[k1]; yi = -a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; k1 += m2; a[k1 + 1] = -a[k1 + 1]; } } else { a[1] = -a[1]; a[m2 + 1] = -a[m2 + 1]; for (k = 1; k < m; k++) { for (j = 0; j < k; j++) { j1 = 2 * j + ip[k]; k1 = 2 * k + ip[j]; xr = a[j1]; xi = -a[j1 + 1]; yr = a[k1]; yi = -a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; j1 += m2; k1 += m2; xr = a[j1]; xi = -a[j1 + 1]; yr = a[k1]; yi = -a[k1 + 1]; a[j1] = yr; a[j1 + 1] = yi; a[k1] = xr; a[k1 + 1] = xi; } k1 = 2 * k + ip[k]; a[k1 + 1] = -a[k1 + 1]; a[k1 + m2 + 1] = -a[k1 + m2 + 1]; } } } static void bitrv216(REAL *a) { REAL x1r, x1i, x2r, x2i, x3r, x3i, x4r, x4i, x5r, x5i, x7r, x7i, x8r, x8i, x10r, x10i, x11r, x11i, x12r, x12i, x13r, x13i, x14r, x14i; x1r = a[2]; x1i = a[3]; x2r = a[4]; x2i = a[5]; x3r = a[6]; x3i = a[7]; x4r = a[8]; x4i = a[9]; x5r = a[10]; x5i = a[11]; x7r = a[14]; x7i = a[15]; x8r = a[16]; x8i = a[17]; x10r = a[20]; x10i = a[21]; x11r = a[22]; x11i = a[23]; x12r = a[24]; x12i = a[25]; x13r = a[26]; x13i = a[27]; x14r = a[28]; x14i = a[29]; a[2] = x8r; a[3] = x8i; a[4] = x4r; a[5] = x4i; a[6] = x12r; a[7] = x12i; a[8] = x2r; a[9] = x2i; a[10] = x10r; a[11] = x10i; a[14] = x14r; a[15] = x14i; a[16] = x1r; a[17] = x1i; a[20] = x5r; a[21] = x5i; a[22] = x13r; a[23] = x13i; a[24] = x3r; a[25] = x3i; a[26] = x11r; a[27] = x11i; a[28] = x7r; a[29] = x7i; } static void bitrv216neg(REAL *a) { REAL x1r, x1i, x2r, x2i, x3r, x3i, x4r, x4i, x5r, x5i, x6r, x6i, x7r, x7i, x8r, x8i, x9r, x9i, x10r, x10i, x11r, x11i, x12r, x12i, x13r, x13i, x14r, x14i, x15r, x15i; x1r = a[2]; x1i = a[3]; x2r = a[4]; x2i = a[5]; x3r = a[6]; x3i = a[7]; x4r = a[8]; x4i = a[9]; x5r = a[10]; x5i = a[11]; x6r = a[12]; x6i = a[13]; x7r = a[14]; x7i = a[15]; x8r = a[16]; x8i = a[17]; x9r = a[18]; x9i = a[19]; x10r = a[20]; x10i = a[21]; x11r = a[22]; x11i = a[23]; x12r = a[24]; x12i = a[25]; x13r = a[26]; x13i = a[27]; x14r = a[28]; x14i = a[29]; x15r = a[30]; x15i = a[31]; a[2] = x15r; a[3] = x15i; a[4] = x7r; a[5] = x7i; a[6] = x11r; a[7] = x11i; a[8] = x3r; a[9] = x3i; a[10] = x13r; a[11] = x13i; a[12] = x5r; a[13] = x5i; a[14] = x9r; a[15] = x9i; a[16] = x1r; a[17] = x1i; a[18] = x14r; a[19] = x14i; a[20] = x6r; a[21] = x6i; a[22] = x10r; a[23] = x10i; a[24] = x2r; a[25] = x2i; a[26] = x12r; a[27] = x12i; a[28] = x4r; a[29] = x4i; a[30] = x8r; a[31] = x8i; } static void bitrv208(REAL *a) { REAL x1r, x1i, x3r, x3i, x4r, x4i, x6r, x6i; x1r = a[2]; x1i = a[3]; x3r = a[6]; x3i = a[7]; x4r = a[8]; x4i = a[9]; x6r = a[12]; x6i = a[13]; a[2] = x4r; a[3] = x4i; a[6] = x6r; a[7] = x6i; a[8] = x1r; a[9] = x1i; a[12] = x3r; a[13] = x3i; } static void bitrv208neg(REAL *a) { REAL x1r, x1i, x2r, x2i, x3r, x3i, x4r, x4i, x5r, x5i, x6r, x6i, x7r, x7i; x1r = a[2]; x1i = a[3]; x2r = a[4]; x2i = a[5]; x3r = a[6]; x3i = a[7]; x4r = a[8]; x4i = a[9]; x5r = a[10]; x5i = a[11]; x6r = a[12]; x6i = a[13]; x7r = a[14]; x7i = a[15]; a[2] = x7r; a[3] = x7i; a[4] = x3r; a[5] = x3i; a[6] = x5r; a[7] = x5i; a[8] = x1r; a[9] = x1i; a[10] = x6r; a[11] = x6i; a[12] = x2r; a[13] = x2i; a[14] = x4r; a[15] = x4i; } static void cftf1st(int n, REAL *a, REAL *w) { int j, j0, j1, j2, j3, k, m, mh; REAL wn4r, csc1, csc3, wk1r, wk1i, wk3r, wk3i, wd1r, wd1i, wd3r, wd3i; REAL x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i, y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i; mh = n >> 3; m = 2 * mh; j1 = m; j2 = j1 + m; j3 = j2 + m; x0r = a[0] + a[j2]; x0i = a[1] + a[j2 + 1]; x1r = a[0] - a[j2]; x1i = a[1] - a[j2 + 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; a[0] = x0r + x2r; a[1] = x0i + x2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i - x2i; a[j2] = x1r - x3i; a[j2 + 1] = x1i + x3r; a[j3] = x1r + x3i; a[j3 + 1] = x1i - x3r; wn4r = w[1]; csc1 = w[2]; csc3 = w[3]; wd1r = 1; wd1i = 0; wd3r = 1; wd3i = 0; k = 0; for (j = 2; j < mh - 2; j += 4) { k += 4; wk1r = csc1 * (wd1r + w[k]); wk1i = csc1 * (wd1i + w[k + 1]); wk3r = csc3 * (wd3r + w[k + 2]); wk3i = csc3 * (wd3i - w[k + 3]); wd1r = w[k]; wd1i = w[k + 1]; wd3r = w[k + 2]; wd3i = -w[k + 3]; j1 = j + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j] + a[j2]; x0i = a[j + 1] + a[j2 + 1]; x1r = a[j] - a[j2]; x1i = a[j + 1] - a[j2 + 1]; y0r = a[j + 2] + a[j2 + 2]; y0i = a[j + 3] + a[j2 + 3]; y1r = a[j + 2] - a[j2 + 2]; y1i = a[j + 3] - a[j2 + 3]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; y2r = a[j1 + 2] + a[j3 + 2]; y2i = a[j1 + 3] + a[j3 + 3]; y3r = a[j1 + 2] - a[j3 + 2]; y3i = a[j1 + 3] - a[j3 + 3]; a[j] = x0r + x2r; a[j + 1] = x0i + x2i; a[j + 2] = y0r + y2r; a[j + 3] = y0i + y2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i - x2i; a[j1 + 2] = y0r - y2r; a[j1 + 3] = y0i - y2i; x0r = x1r - x3i; x0i = x1i + x3r; a[j2] = wk1r * x0r - wk1i * x0i; a[j2 + 1] = wk1r * x0i + wk1i * x0r; x0r = y1r - y3i; x0i = y1i + y3r; a[j2 + 2] = wd1r * x0r - wd1i * x0i; a[j2 + 3] = wd1r * x0i + wd1i * x0r; x0r = x1r + x3i; x0i = x1i - x3r; a[j3] = wk3r * x0r + wk3i * x0i; a[j3 + 1] = wk3r * x0i - wk3i * x0r; x0r = y1r + y3i; x0i = y1i - y3r; a[j3 + 2] = wd3r * x0r + wd3i * x0i; a[j3 + 3] = wd3r * x0i - wd3i * x0r; j0 = m - j; j1 = j0 + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j0] + a[j2]; x0i = a[j0 + 1] + a[j2 + 1]; x1r = a[j0] - a[j2]; x1i = a[j0 + 1] - a[j2 + 1]; y0r = a[j0 - 2] + a[j2 - 2]; y0i = a[j0 - 1] + a[j2 - 1]; y1r = a[j0 - 2] - a[j2 - 2]; y1i = a[j0 - 1] - a[j2 - 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; y2r = a[j1 - 2] + a[j3 - 2]; y2i = a[j1 - 1] + a[j3 - 1]; y3r = a[j1 - 2] - a[j3 - 2]; y3i = a[j1 - 1] - a[j3 - 1]; a[j0] = x0r + x2r; a[j0 + 1] = x0i + x2i; a[j0 - 2] = y0r + y2r; a[j0 - 1] = y0i + y2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i - x2i; a[j1 - 2] = y0r - y2r; a[j1 - 1] = y0i - y2i; x0r = x1r - x3i; x0i = x1i + x3r; a[j2] = wk1i * x0r - wk1r * x0i; a[j2 + 1] = wk1i * x0i + wk1r * x0r; x0r = y1r - y3i; x0i = y1i + y3r; a[j2 - 2] = wd1i * x0r - wd1r * x0i; a[j2 - 1] = wd1i * x0i + wd1r * x0r; x0r = x1r + x3i; x0i = x1i - x3r; a[j3] = wk3i * x0r + wk3r * x0i; a[j3 + 1] = wk3i * x0i - wk3r * x0r; x0r = y1r + y3i; x0i = y1i - y3r; a[j3 - 2] = wd3i * x0r + wd3r * x0i; a[j3 - 1] = wd3i * x0i - wd3r * x0r; } wk1r = csc1 * (wd1r + wn4r); wk1i = csc1 * (wd1i + wn4r); wk3r = csc3 * (wd3r - wn4r); wk3i = csc3 * (wd3i - wn4r); j0 = mh; j1 = j0 + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j0 - 2] + a[j2 - 2]; x0i = a[j0 - 1] + a[j2 - 1]; x1r = a[j0 - 2] - a[j2 - 2]; x1i = a[j0 - 1] - a[j2 - 1]; x2r = a[j1 - 2] + a[j3 - 2]; x2i = a[j1 - 1] + a[j3 - 1]; x3r = a[j1 - 2] - a[j3 - 2]; x3i = a[j1 - 1] - a[j3 - 1]; a[j0 - 2] = x0r + x2r; a[j0 - 1] = x0i + x2i; a[j1 - 2] = x0r - x2r; a[j1 - 1] = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; a[j2 - 2] = wk1r * x0r - wk1i * x0i; a[j2 - 1] = wk1r * x0i + wk1i * x0r; x0r = x1r + x3i; x0i = x1i - x3r; a[j3 - 2] = wk3r * x0r + wk3i * x0i; a[j3 - 1] = wk3r * x0i - wk3i * x0r; x0r = a[j0] + a[j2]; x0i = a[j0 + 1] + a[j2 + 1]; x1r = a[j0] - a[j2]; x1i = a[j0 + 1] - a[j2 + 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; a[j0] = x0r + x2r; a[j0 + 1] = x0i + x2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; a[j2] = wn4r * (x0r - x0i); a[j2 + 1] = wn4r * (x0i + x0r); x0r = x1r + x3i; x0i = x1i - x3r; a[j3] = -wn4r * (x0r + x0i); a[j3 + 1] = -wn4r * (x0i - x0r); x0r = a[j0 + 2] + a[j2 + 2]; x0i = a[j0 + 3] + a[j2 + 3]; x1r = a[j0 + 2] - a[j2 + 2]; x1i = a[j0 + 3] - a[j2 + 3]; x2r = a[j1 + 2] + a[j3 + 2]; x2i = a[j1 + 3] + a[j3 + 3]; x3r = a[j1 + 2] - a[j3 + 2]; x3i = a[j1 + 3] - a[j3 + 3]; a[j0 + 2] = x0r + x2r; a[j0 + 3] = x0i + x2i; a[j1 + 2] = x0r - x2r; a[j1 + 3] = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; a[j2 + 2] = wk1i * x0r - wk1r * x0i; a[j2 + 3] = wk1i * x0i + wk1r * x0r; x0r = x1r + x3i; x0i = x1i - x3r; a[j3 + 2] = wk3i * x0r + wk3r * x0i; a[j3 + 3] = wk3i * x0i - wk3r * x0r; } static void cftb1st(int n, REAL *a, REAL *w) { int j, j0, j1, j2, j3, k, m, mh; REAL wn4r, csc1, csc3, wk1r, wk1i, wk3r, wk3i, wd1r, wd1i, wd3r, wd3i; REAL x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i, y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i; mh = n >> 3; m = 2 * mh; j1 = m; j2 = j1 + m; j3 = j2 + m; x0r = a[0] + a[j2]; x0i = -a[1] - a[j2 + 1]; x1r = a[0] - a[j2]; x1i = -a[1] + a[j2 + 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; a[0] = x0r + x2r; a[1] = x0i - x2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i + x2i; a[j2] = x1r + x3i; a[j2 + 1] = x1i + x3r; a[j3] = x1r - x3i; a[j3 + 1] = x1i - x3r; wn4r = w[1]; csc1 = w[2]; csc3 = w[3]; wd1r = 1; wd1i = 0; wd3r = 1; wd3i = 0; k = 0; for (j = 2; j < mh - 2; j += 4) { k += 4; wk1r = csc1 * (wd1r + w[k]); wk1i = csc1 * (wd1i + w[k + 1]); wk3r = csc3 * (wd3r + w[k + 2]); wk3i = csc3 * (wd3i - w[k + 3]); wd1r = w[k]; wd1i = w[k + 1]; wd3r = w[k + 2]; wd3i = -w[k + 3]; j1 = j + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j] + a[j2]; x0i = -a[j + 1] - a[j2 + 1]; x1r = a[j] - a[j2]; x1i = -a[j + 1] + a[j2 + 1]; y0r = a[j + 2] + a[j2 + 2]; y0i = -a[j + 3] - a[j2 + 3]; y1r = a[j + 2] - a[j2 + 2]; y1i = -a[j + 3] + a[j2 + 3]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; y2r = a[j1 + 2] + a[j3 + 2]; y2i = a[j1 + 3] + a[j3 + 3]; y3r = a[j1 + 2] - a[j3 + 2]; y3i = a[j1 + 3] - a[j3 + 3]; a[j] = x0r + x2r; a[j + 1] = x0i - x2i; a[j + 2] = y0r + y2r; a[j + 3] = y0i - y2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i + x2i; a[j1 + 2] = y0r - y2r; a[j1 + 3] = y0i + y2i; x0r = x1r + x3i; x0i = x1i + x3r; a[j2] = wk1r * x0r - wk1i * x0i; a[j2 + 1] = wk1r * x0i + wk1i * x0r; x0r = y1r + y3i; x0i = y1i + y3r; a[j2 + 2] = wd1r * x0r - wd1i * x0i; a[j2 + 3] = wd1r * x0i + wd1i * x0r; x0r = x1r - x3i; x0i = x1i - x3r; a[j3] = wk3r * x0r + wk3i * x0i; a[j3 + 1] = wk3r * x0i - wk3i * x0r; x0r = y1r - y3i; x0i = y1i - y3r; a[j3 + 2] = wd3r * x0r + wd3i * x0i; a[j3 + 3] = wd3r * x0i - wd3i * x0r; j0 = m - j; j1 = j0 + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j0] + a[j2]; x0i = -a[j0 + 1] - a[j2 + 1]; x1r = a[j0] - a[j2]; x1i = -a[j0 + 1] + a[j2 + 1]; y0r = a[j0 - 2] + a[j2 - 2]; y0i = -a[j0 - 1] - a[j2 - 1]; y1r = a[j0 - 2] - a[j2 - 2]; y1i = -a[j0 - 1] + a[j2 - 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; y2r = a[j1 - 2] + a[j3 - 2]; y2i = a[j1 - 1] + a[j3 - 1]; y3r = a[j1 - 2] - a[j3 - 2]; y3i = a[j1 - 1] - a[j3 - 1]; a[j0] = x0r + x2r; a[j0 + 1] = x0i - x2i; a[j0 - 2] = y0r + y2r; a[j0 - 1] = y0i - y2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i + x2i; a[j1 - 2] = y0r - y2r; a[j1 - 1] = y0i + y2i; x0r = x1r + x3i; x0i = x1i + x3r; a[j2] = wk1i * x0r - wk1r * x0i; a[j2 + 1] = wk1i * x0i + wk1r * x0r; x0r = y1r + y3i; x0i = y1i + y3r; a[j2 - 2] = wd1i * x0r - wd1r * x0i; a[j2 - 1] = wd1i * x0i + wd1r * x0r; x0r = x1r - x3i; x0i = x1i - x3r; a[j3] = wk3i * x0r + wk3r * x0i; a[j3 + 1] = wk3i * x0i - wk3r * x0r; x0r = y1r - y3i; x0i = y1i - y3r; a[j3 - 2] = wd3i * x0r + wd3r * x0i; a[j3 - 1] = wd3i * x0i - wd3r * x0r; } wk1r = csc1 * (wd1r + wn4r); wk1i = csc1 * (wd1i + wn4r); wk3r = csc3 * (wd3r - wn4r); wk3i = csc3 * (wd3i - wn4r); j0 = mh; j1 = j0 + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j0 - 2] + a[j2 - 2]; x0i = -a[j0 - 1] - a[j2 - 1]; x1r = a[j0 - 2] - a[j2 - 2]; x1i = -a[j0 - 1] + a[j2 - 1]; x2r = a[j1 - 2] + a[j3 - 2]; x2i = a[j1 - 1] + a[j3 - 1]; x3r = a[j1 - 2] - a[j3 - 2]; x3i = a[j1 - 1] - a[j3 - 1]; a[j0 - 2] = x0r + x2r; a[j0 - 1] = x0i - x2i; a[j1 - 2] = x0r - x2r; a[j1 - 1] = x0i + x2i; x0r = x1r + x3i; x0i = x1i + x3r; a[j2 - 2] = wk1r * x0r - wk1i * x0i; a[j2 - 1] = wk1r * x0i + wk1i * x0r; x0r = x1r - x3i; x0i = x1i - x3r; a[j3 - 2] = wk3r * x0r + wk3i * x0i; a[j3 - 1] = wk3r * x0i - wk3i * x0r; x0r = a[j0] + a[j2]; x0i = -a[j0 + 1] - a[j2 + 1]; x1r = a[j0] - a[j2]; x1i = -a[j0 + 1] + a[j2 + 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; a[j0] = x0r + x2r; a[j0 + 1] = x0i - x2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i + x2i; x0r = x1r + x3i; x0i = x1i + x3r; a[j2] = wn4r * (x0r - x0i); a[j2 + 1] = wn4r * (x0i + x0r); x0r = x1r - x3i; x0i = x1i - x3r; a[j3] = -wn4r * (x0r + x0i); a[j3 + 1] = -wn4r * (x0i - x0r); x0r = a[j0 + 2] + a[j2 + 2]; x0i = -a[j0 + 3] - a[j2 + 3]; x1r = a[j0 + 2] - a[j2 + 2]; x1i = -a[j0 + 3] + a[j2 + 3]; x2r = a[j1 + 2] + a[j3 + 2]; x2i = a[j1 + 3] + a[j3 + 3]; x3r = a[j1 + 2] - a[j3 + 2]; x3i = a[j1 + 3] - a[j3 + 3]; a[j0 + 2] = x0r + x2r; a[j0 + 3] = x0i - x2i; a[j1 + 2] = x0r - x2r; a[j1 + 3] = x0i + x2i; x0r = x1r + x3i; x0i = x1i + x3r; a[j2 + 2] = wk1i * x0r - wk1r * x0i; a[j2 + 3] = wk1i * x0i + wk1r * x0r; x0r = x1r - x3i; x0i = x1i - x3r; a[j3 + 2] = wk3i * x0r + wk3r * x0i; a[j3 + 3] = wk3i * x0i - wk3r * x0r; } static void cftrec1(int n, REAL *a, int nw, REAL *w) { int m; m = n >> 2; cftmdl1(n, a, &w[nw - 2 * m]); if (n > CDFT_RECURSIVE_N) { cftrec1(m, a, nw, w); cftrec2(m, &a[m], nw, w); cftrec1(m, &a[2 * m], nw, w); cftrec1(m, &a[3 * m], nw, w); } else { cftexp1(n, a, nw, w); } } static void cftrec2(int n, REAL *a, int nw, REAL *w) { int m; m = n >> 2; cftmdl2(n, a, &w[nw - n]); if (n > CDFT_RECURSIVE_N) { cftrec1(m, a, nw, w); cftrec2(m, &a[m], nw, w); cftrec1(m, &a[2 * m], nw, w); cftrec2(m, &a[3 * m], nw, w); } else { cftexp2(n, a, nw, w); } } static void cftexp1(int n, REAL *a, int nw, REAL *w) { int j, k, l; l = n >> 2; while (l > 128) { for (k = l; k < n; k <<= 2) { for (j = k - l; j < n; j += 4 * k) { cftmdl1(l, &a[j], &w[nw - (l >> 1)]); cftmdl2(l, &a[k + j], &w[nw - l]); cftmdl1(l, &a[2 * k + j], &w[nw - (l >> 1)]); } } cftmdl1(l, &a[n - l], &w[nw - (l >> 1)]); l >>= 2; } for (k = l; k < n; k <<= 2) { for (j = k - l; j < n; j += 4 * k) { cftmdl1(l, &a[j], &w[nw - (l >> 1)]); cftfx41(l, &a[j], nw, w); cftmdl2(l, &a[k + j], &w[nw - l]); cftfx42(l, &a[k + j], nw, w); cftmdl1(l, &a[2 * k + j], &w[nw - (l >> 1)]); cftfx41(l, &a[2 * k + j], nw, w); } } cftmdl1(l, &a[n - l], &w[nw - (l >> 1)]); cftfx41(l, &a[n - l], nw, w); } static void cftexp2(int n, REAL *a, int nw, REAL *w) { int j, k, l, m; m = n >> 1; l = n >> 2; while (l > 128) { for (k = l; k < m; k <<= 2) { for (j = k - l; j < m; j += 2 * k) { cftmdl1(l, &a[j], &w[nw - (l >> 1)]); cftmdl1(l, &a[m + j], &w[nw - (l >> 1)]); } for (j = 2 * k - l; j < m; j += 4 * k) { cftmdl2(l, &a[j], &w[nw - l]); cftmdl2(l, &a[m + j], &w[nw - l]); } } l >>= 2; } for (k = l; k < m; k <<= 2) { for (j = k - l; j < m; j += 2 * k) { cftmdl1(l, &a[j], &w[nw - (l >> 1)]); cftfx41(l, &a[j], nw, w); cftmdl1(l, &a[m + j], &w[nw - (l >> 1)]); cftfx41(l, &a[m + j], nw, w); } for (j = 2 * k - l; j < m; j += 4 * k) { cftmdl2(l, &a[j], &w[nw - l]); cftfx42(l, &a[j], nw, w); cftmdl2(l, &a[m + j], &w[nw - l]); cftfx42(l, &a[m + j], nw, w); } } } static void cftmdl1(int n, REAL *a, REAL *w) { int j, j0, j1, j2, j3, k, m, mh; REAL wn4r, wk1r, wk1i, wk3r, wk3i; REAL x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i; mh = n >> 3; m = 2 * mh; j1 = m; j2 = j1 + m; j3 = j2 + m; x0r = a[0] + a[j2]; x0i = a[1] + a[j2 + 1]; x1r = a[0] - a[j2]; x1i = a[1] - a[j2 + 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; a[0] = x0r + x2r; a[1] = x0i + x2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i - x2i; a[j2] = x1r - x3i; a[j2 + 1] = x1i + x3r; a[j3] = x1r + x3i; a[j3 + 1] = x1i - x3r; wn4r = w[1]; k = 0; for (j = 2; j < mh; j += 2) { k += 4; wk1r = w[k]; wk1i = w[k + 1]; wk3r = w[k + 2]; wk3i = -w[k + 3]; j1 = j + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j] + a[j2]; x0i = a[j + 1] + a[j2 + 1]; x1r = a[j] - a[j2]; x1i = a[j + 1] - a[j2 + 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; a[j] = x0r + x2r; a[j + 1] = x0i + x2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; a[j2] = wk1r * x0r - wk1i * x0i; a[j2 + 1] = wk1r * x0i + wk1i * x0r; x0r = x1r + x3i; x0i = x1i - x3r; a[j3] = wk3r * x0r + wk3i * x0i; a[j3 + 1] = wk3r * x0i - wk3i * x0r; j0 = m - j; j1 = j0 + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j0] + a[j2]; x0i = a[j0 + 1] + a[j2 + 1]; x1r = a[j0] - a[j2]; x1i = a[j0 + 1] - a[j2 + 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; a[j0] = x0r + x2r; a[j0 + 1] = x0i + x2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; a[j2] = wk1i * x0r - wk1r * x0i; a[j2 + 1] = wk1i * x0i + wk1r * x0r; x0r = x1r + x3i; x0i = x1i - x3r; a[j3] = wk3i * x0r + wk3r * x0i; a[j3 + 1] = wk3i * x0i - wk3r * x0r; } j0 = mh; j1 = j0 + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j0] + a[j2]; x0i = a[j0 + 1] + a[j2 + 1]; x1r = a[j0] - a[j2]; x1i = a[j0 + 1] - a[j2 + 1]; x2r = a[j1] + a[j3]; x2i = a[j1 + 1] + a[j3 + 1]; x3r = a[j1] - a[j3]; x3i = a[j1 + 1] - a[j3 + 1]; a[j0] = x0r + x2r; a[j0 + 1] = x0i + x2i; a[j1] = x0r - x2r; a[j1 + 1] = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; a[j2] = wn4r * (x0r - x0i); a[j2 + 1] = wn4r * (x0i + x0r); x0r = x1r + x3i; x0i = x1i - x3r; a[j3] = -wn4r * (x0r + x0i); a[j3 + 1] = -wn4r * (x0i - x0r); } static void cftmdl2(int n, REAL *a, REAL *w) { int j, j0, j1, j2, j3, k, kr, m, mh; REAL wn4r, wk1r, wk1i, wk3r, wk3i, wd1r, wd1i, wd3r, wd3i; REAL x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i, y0r, y0i, y2r, y2i; mh = n >> 3; m = 2 * mh; wn4r = w[1]; j1 = m; j2 = j1 + m; j3 = j2 + m; x0r = a[0] - a[j2 + 1]; x0i = a[1] + a[j2]; x1r = a[0] + a[j2 + 1]; x1i = a[1] - a[j2]; x2r = a[j1] - a[j3 + 1]; x2i = a[j1 + 1] + a[j3]; x3r = a[j1] + a[j3 + 1]; x3i = a[j1 + 1] - a[j3]; y0r = wn4r * (x2r - x2i); y0i = wn4r * (x2i + x2r); a[0] = x0r + y0r; a[1] = x0i + y0i; a[j1] = x0r - y0r; a[j1 + 1] = x0i - y0i; y0r = wn4r * (x3r - x3i); y0i = wn4r * (x3i + x3r); a[j2] = x1r - y0i; a[j2 + 1] = x1i + y0r; a[j3] = x1r + y0i; a[j3 + 1] = x1i - y0r; k = 0; kr = 2 * m; for (j = 2; j < mh; j += 2) { k += 4; wk1r = w[k]; wk1i = w[k + 1]; wk3r = w[k + 2]; wk3i = -w[k + 3]; kr -= 4; wd1i = w[kr]; wd1r = w[kr + 1]; wd3i = w[kr + 2]; wd3r = -w[kr + 3]; j1 = j + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j] - a[j2 + 1]; x0i = a[j + 1] + a[j2]; x1r = a[j] + a[j2 + 1]; x1i = a[j + 1] - a[j2]; x2r = a[j1] - a[j3 + 1]; x2i = a[j1 + 1] + a[j3]; x3r = a[j1] + a[j3 + 1]; x3i = a[j1 + 1] - a[j3]; y0r = wk1r * x0r - wk1i * x0i; y0i = wk1r * x0i + wk1i * x0r; y2r = wd1r * x2r - wd1i * x2i; y2i = wd1r * x2i + wd1i * x2r; a[j] = y0r + y2r; a[j + 1] = y0i + y2i; a[j1] = y0r - y2r; a[j1 + 1] = y0i - y2i; y0r = wk3r * x1r + wk3i * x1i; y0i = wk3r * x1i - wk3i * x1r; y2r = wd3r * x3r + wd3i * x3i; y2i = wd3r * x3i - wd3i * x3r; a[j2] = y0r + y2r; a[j2 + 1] = y0i + y2i; a[j3] = y0r - y2r; a[j3 + 1] = y0i - y2i; j0 = m - j; j1 = j0 + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j0] - a[j2 + 1]; x0i = a[j0 + 1] + a[j2]; x1r = a[j0] + a[j2 + 1]; x1i = a[j0 + 1] - a[j2]; x2r = a[j1] - a[j3 + 1]; x2i = a[j1 + 1] + a[j3]; x3r = a[j1] + a[j3 + 1]; x3i = a[j1 + 1] - a[j3]; y0r = wd1i * x0r - wd1r * x0i; y0i = wd1i * x0i + wd1r * x0r; y2r = wk1i * x2r - wk1r * x2i; y2i = wk1i * x2i + wk1r * x2r; a[j0] = y0r + y2r; a[j0 + 1] = y0i + y2i; a[j1] = y0r - y2r; a[j1 + 1] = y0i - y2i; y0r = wd3i * x1r + wd3r * x1i; y0i = wd3i * x1i - wd3r * x1r; y2r = wk3i * x3r + wk3r * x3i; y2i = wk3i * x3i - wk3r * x3r; a[j2] = y0r + y2r; a[j2 + 1] = y0i + y2i; a[j3] = y0r - y2r; a[j3 + 1] = y0i - y2i; } wk1r = w[m]; wk1i = w[m + 1]; j0 = mh; j1 = j0 + m; j2 = j1 + m; j3 = j2 + m; x0r = a[j0] - a[j2 + 1]; x0i = a[j0 + 1] + a[j2]; x1r = a[j0] + a[j2 + 1]; x1i = a[j0 + 1] - a[j2]; x2r = a[j1] - a[j3 + 1]; x2i = a[j1 + 1] + a[j3]; x3r = a[j1] + a[j3 + 1]; x3i = a[j1 + 1] - a[j3]; y0r = wk1r * x0r - wk1i * x0i; y0i = wk1r * x0i + wk1i * x0r; y2r = wk1i * x2r - wk1r * x2i; y2i = wk1i * x2i + wk1r * x2r; a[j0] = y0r + y2r; a[j0 + 1] = y0i + y2i; a[j1] = y0r - y2r; a[j1 + 1] = y0i - y2i; y0r = wk1i * x1r - wk1r * x1i; y0i = wk1i * x1i + wk1r * x1r; y2r = wk1r * x3r - wk1i * x3i; y2i = wk1r * x3i + wk1i * x3r; a[j2] = y0r - y2r; a[j2 + 1] = y0i - y2i; a[j3] = y0r + y2r; a[j3 + 1] = y0i + y2i; } static void cftfx41(int n, REAL *a, int nw, REAL *w) { if (n == 128) { cftf161(a, &w[nw - 8]); cftf162(&a[32], &w[nw - 32]); cftf161(&a[64], &w[nw - 8]); cftf161(&a[96], &w[nw - 8]); } else { cftf081(a, &w[nw - 16]); cftf082(&a[16], &w[nw - 16]); cftf081(&a[32], &w[nw - 16]); cftf081(&a[48], &w[nw - 16]); } } static void cftfx42(int n, REAL *a, int nw, REAL *w) { if (n == 128) { cftf161(a, &w[nw - 8]); cftf162(&a[32], &w[nw - 32]); cftf161(&a[64], &w[nw - 8]); cftf162(&a[96], &w[nw - 32]); } else { cftf081(a, &w[nw - 16]); cftf082(&a[16], &w[nw - 16]); cftf081(&a[32], &w[nw - 16]); cftf082(&a[48], &w[nw - 16]); } } static void cftf161(REAL *a, REAL *w) { REAL wn4r, wk1r, wk1i, x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i, y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i, y4r, y4i, y5r, y5i, y6r, y6i, y7r, y7i, y8r, y8i, y9r, y9i, y10r, y10i, y11r, y11i, y12r, y12i, y13r, y13i, y14r, y14i, y15r, y15i; wn4r = w[1]; wk1i = wn4r * w[2]; wk1r = wk1i + w[2]; x0r = a[0] + a[16]; x0i = a[1] + a[17]; x1r = a[0] - a[16]; x1i = a[1] - a[17]; x2r = a[8] + a[24]; x2i = a[9] + a[25]; x3r = a[8] - a[24]; x3i = a[9] - a[25]; y0r = x0r + x2r; y0i = x0i + x2i; y4r = x0r - x2r; y4i = x0i - x2i; y8r = x1r - x3i; y8i = x1i + x3r; y12r = x1r + x3i; y12i = x1i - x3r; x0r = a[2] + a[18]; x0i = a[3] + a[19]; x1r = a[2] - a[18]; x1i = a[3] - a[19]; x2r = a[10] + a[26]; x2i = a[11] + a[27]; x3r = a[10] - a[26]; x3i = a[11] - a[27]; y1r = x0r + x2r; y1i = x0i + x2i; y5r = x0r - x2r; y5i = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; y9r = wk1r * x0r - wk1i * x0i; y9i = wk1r * x0i + wk1i * x0r; x0r = x1r + x3i; x0i = x1i - x3r; y13r = wk1i * x0r - wk1r * x0i; y13i = wk1i * x0i + wk1r * x0r; x0r = a[4] + a[20]; x0i = a[5] + a[21]; x1r = a[4] - a[20]; x1i = a[5] - a[21]; x2r = a[12] + a[28]; x2i = a[13] + a[29]; x3r = a[12] - a[28]; x3i = a[13] - a[29]; y2r = x0r + x2r; y2i = x0i + x2i; y6r = x0r - x2r; y6i = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; y10r = wn4r * (x0r - x0i); y10i = wn4r * (x0i + x0r); x0r = x1r + x3i; x0i = x1i - x3r; y14r = wn4r * (x0r + x0i); y14i = wn4r * (x0i - x0r); x0r = a[6] + a[22]; x0i = a[7] + a[23]; x1r = a[6] - a[22]; x1i = a[7] - a[23]; x2r = a[14] + a[30]; x2i = a[15] + a[31]; x3r = a[14] - a[30]; x3i = a[15] - a[31]; y3r = x0r + x2r; y3i = x0i + x2i; y7r = x0r - x2r; y7i = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; y11r = wk1i * x0r - wk1r * x0i; y11i = wk1i * x0i + wk1r * x0r; x0r = x1r + x3i; x0i = x1i - x3r; y15r = wk1r * x0r - wk1i * x0i; y15i = wk1r * x0i + wk1i * x0r; x0r = y12r - y14r; x0i = y12i - y14i; x1r = y12r + y14r; x1i = y12i + y14i; x2r = y13r - y15r; x2i = y13i - y15i; x3r = y13r + y15r; x3i = y13i + y15i; a[24] = x0r + x2r; a[25] = x0i + x2i; a[26] = x0r - x2r; a[27] = x0i - x2i; a[28] = x1r - x3i; a[29] = x1i + x3r; a[30] = x1r + x3i; a[31] = x1i - x3r; x0r = y8r + y10r; x0i = y8i + y10i; x1r = y8r - y10r; x1i = y8i - y10i; x2r = y9r + y11r; x2i = y9i + y11i; x3r = y9r - y11r; x3i = y9i - y11i; a[16] = x0r + x2r; a[17] = x0i + x2i; a[18] = x0r - x2r; a[19] = x0i - x2i; a[20] = x1r - x3i; a[21] = x1i + x3r; a[22] = x1r + x3i; a[23] = x1i - x3r; x0r = y5r - y7i; x0i = y5i + y7r; x2r = wn4r * (x0r - x0i); x2i = wn4r * (x0i + x0r); x0r = y5r + y7i; x0i = y5i - y7r; x3r = wn4r * (x0r - x0i); x3i = wn4r * (x0i + x0r); x0r = y4r - y6i; x0i = y4i + y6r; x1r = y4r + y6i; x1i = y4i - y6r; a[8] = x0r + x2r; a[9] = x0i + x2i; a[10] = x0r - x2r; a[11] = x0i - x2i; a[12] = x1r - x3i; a[13] = x1i + x3r; a[14] = x1r + x3i; a[15] = x1i - x3r; x0r = y0r + y2r; x0i = y0i + y2i; x1r = y0r - y2r; x1i = y0i - y2i; x2r = y1r + y3r; x2i = y1i + y3i; x3r = y1r - y3r; x3i = y1i - y3i; a[0] = x0r + x2r; a[1] = x0i + x2i; a[2] = x0r - x2r; a[3] = x0i - x2i; a[4] = x1r - x3i; a[5] = x1i + x3r; a[6] = x1r + x3i; a[7] = x1i - x3r; } static void cftf162(REAL *a, REAL *w) { REAL wn4r, wk1r, wk1i, wk2r, wk2i, wk3r, wk3i, x0r, x0i, x1r, x1i, x2r, x2i, y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i, y4r, y4i, y5r, y5i, y6r, y6i, y7r, y7i, y8r, y8i, y9r, y9i, y10r, y10i, y11r, y11i, y12r, y12i, y13r, y13i, y14r, y14i, y15r, y15i; wn4r = w[1]; wk1r = w[4]; wk1i = w[5]; wk3r = w[6]; wk3i = w[7]; wk2r = w[8]; wk2i = w[9]; x1r = a[0] - a[17]; x1i = a[1] + a[16]; x0r = a[8] - a[25]; x0i = a[9] + a[24]; x2r = wn4r * (x0r - x0i); x2i = wn4r * (x0i + x0r); y0r = x1r + x2r; y0i = x1i + x2i; y4r = x1r - x2r; y4i = x1i - x2i; x1r = a[0] + a[17]; x1i = a[1] - a[16]; x0r = a[8] + a[25]; x0i = a[9] - a[24]; x2r = wn4r * (x0r - x0i); x2i = wn4r * (x0i + x0r); y8r = x1r - x2i; y8i = x1i + x2r; y12r = x1r + x2i; y12i = x1i - x2r; x0r = a[2] - a[19]; x0i = a[3] + a[18]; x1r = wk1r * x0r - wk1i * x0i; x1i = wk1r * x0i + wk1i * x0r; x0r = a[10] - a[27]; x0i = a[11] + a[26]; x2r = wk3i * x0r - wk3r * x0i; x2i = wk3i * x0i + wk3r * x0r; y1r = x1r + x2r; y1i = x1i + x2i; y5r = x1r - x2r; y5i = x1i - x2i; x0r = a[2] + a[19]; x0i = a[3] - a[18]; x1r = wk3r * x0r - wk3i * x0i; x1i = wk3r * x0i + wk3i * x0r; x0r = a[10] + a[27]; x0i = a[11] - a[26]; x2r = wk1r * x0r + wk1i * x0i; x2i = wk1r * x0i - wk1i * x0r; y9r = x1r - x2r; y9i = x1i - x2i; y13r = x1r + x2r; y13i = x1i + x2i; x0r = a[4] - a[21]; x0i = a[5] + a[20]; x1r = wk2r * x0r - wk2i * x0i; x1i = wk2r * x0i + wk2i * x0r; x0r = a[12] - a[29]; x0i = a[13] + a[28]; x2r = wk2i * x0r - wk2r * x0i; x2i = wk2i * x0i + wk2r * x0r; y2r = x1r + x2r; y2i = x1i + x2i; y6r = x1r - x2r; y6i = x1i - x2i; x0r = a[4] + a[21]; x0i = a[5] - a[20]; x1r = wk2i * x0r - wk2r * x0i; x1i = wk2i * x0i + wk2r * x0r; x0r = a[12] + a[29]; x0i = a[13] - a[28]; x2r = wk2r * x0r - wk2i * x0i; x2i = wk2r * x0i + wk2i * x0r; y10r = x1r - x2r; y10i = x1i - x2i; y14r = x1r + x2r; y14i = x1i + x2i; x0r = a[6] - a[23]; x0i = a[7] + a[22]; x1r = wk3r * x0r - wk3i * x0i; x1i = wk3r * x0i + wk3i * x0r; x0r = a[14] - a[31]; x0i = a[15] + a[30]; x2r = wk1i * x0r - wk1r * x0i; x2i = wk1i * x0i + wk1r * x0r; y3r = x1r + x2r; y3i = x1i + x2i; y7r = x1r - x2r; y7i = x1i - x2i; x0r = a[6] + a[23]; x0i = a[7] - a[22]; x1r = wk1i * x0r + wk1r * x0i; x1i = wk1i * x0i - wk1r * x0r; x0r = a[14] + a[31]; x0i = a[15] - a[30]; x2r = wk3i * x0r - wk3r * x0i; x2i = wk3i * x0i + wk3r * x0r; y11r = x1r + x2r; y11i = x1i + x2i; y15r = x1r - x2r; y15i = x1i - x2i; x1r = y0r + y2r; x1i = y0i + y2i; x2r = y1r + y3r; x2i = y1i + y3i; a[0] = x1r + x2r; a[1] = x1i + x2i; a[2] = x1r - x2r; a[3] = x1i - x2i; x1r = y0r - y2r; x1i = y0i - y2i; x2r = y1r - y3r; x2i = y1i - y3i; a[4] = x1r - x2i; a[5] = x1i + x2r; a[6] = x1r + x2i; a[7] = x1i - x2r; x1r = y4r - y6i; x1i = y4i + y6r; x0r = y5r - y7i; x0i = y5i + y7r; x2r = wn4r * (x0r - x0i); x2i = wn4r * (x0i + x0r); a[8] = x1r + x2r; a[9] = x1i + x2i; a[10] = x1r - x2r; a[11] = x1i - x2i; x1r = y4r + y6i; x1i = y4i - y6r; x0r = y5r + y7i; x0i = y5i - y7r; x2r = wn4r * (x0r - x0i); x2i = wn4r * (x0i + x0r); a[12] = x1r - x2i; a[13] = x1i + x2r; a[14] = x1r + x2i; a[15] = x1i - x2r; x1r = y8r + y10r; x1i = y8i + y10i; x2r = y9r - y11r; x2i = y9i - y11i; a[16] = x1r + x2r; a[17] = x1i + x2i; a[18] = x1r - x2r; a[19] = x1i - x2i; x1r = y8r - y10r; x1i = y8i - y10i; x2r = y9r + y11r; x2i = y9i + y11i; a[20] = x1r - x2i; a[21] = x1i + x2r; a[22] = x1r + x2i; a[23] = x1i - x2r; x1r = y12r - y14i; x1i = y12i + y14r; x0r = y13r + y15i; x0i = y13i - y15r; x2r = wn4r * (x0r - x0i); x2i = wn4r * (x0i + x0r); a[24] = x1r + x2r; a[25] = x1i + x2i; a[26] = x1r - x2r; a[27] = x1i - x2i; x1r = y12r + y14i; x1i = y12i - y14r; x0r = y13r - y15i; x0i = y13i + y15r; x2r = wn4r * (x0r - x0i); x2i = wn4r * (x0i + x0r); a[28] = x1r - x2i; a[29] = x1i + x2r; a[30] = x1r + x2i; a[31] = x1i - x2r; } static void cftf081(REAL *a, REAL *w) { REAL wn4r, x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i, y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i, y4r, y4i, y5r, y5i, y6r, y6i, y7r, y7i; wn4r = w[1]; x0r = a[0] + a[8]; x0i = a[1] + a[9]; x1r = a[0] - a[8]; x1i = a[1] - a[9]; x2r = a[4] + a[12]; x2i = a[5] + a[13]; x3r = a[4] - a[12]; x3i = a[5] - a[13]; y0r = x0r + x2r; y0i = x0i + x2i; y2r = x0r - x2r; y2i = x0i - x2i; y1r = x1r - x3i; y1i = x1i + x3r; y3r = x1r + x3i; y3i = x1i - x3r; x0r = a[2] + a[10]; x0i = a[3] + a[11]; x1r = a[2] - a[10]; x1i = a[3] - a[11]; x2r = a[6] + a[14]; x2i = a[7] + a[15]; x3r = a[6] - a[14]; x3i = a[7] - a[15]; y4r = x0r + x2r; y4i = x0i + x2i; y6r = x0r - x2r; y6i = x0i - x2i; x0r = x1r - x3i; x0i = x1i + x3r; x2r = x1r + x3i; x2i = x1i - x3r; y5r = wn4r * (x0r - x0i); y5i = wn4r * (x0r + x0i); y7r = wn4r * (x2r - x2i); y7i = wn4r * (x2r + x2i); a[8] = y1r + y5r; a[9] = y1i + y5i; a[10] = y1r - y5r; a[11] = y1i - y5i; a[12] = y3r - y7i; a[13] = y3i + y7r; a[14] = y3r + y7i; a[15] = y3i - y7r; a[0] = y0r + y4r; a[1] = y0i + y4i; a[2] = y0r - y4r; a[3] = y0i - y4i; a[4] = y2r - y6i; a[5] = y2i + y6r; a[6] = y2r + y6i; a[7] = y2i - y6r; } static void cftf082(REAL *a, REAL *w) { REAL wn4r, wk1r, wk1i, x0r, x0i, x1r, x1i, y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i, y4r, y4i, y5r, y5i, y6r, y6i, y7r, y7i; wn4r = w[1]; wk1r = w[4]; wk1i = w[5]; y0r = a[0] - a[9]; y0i = a[1] + a[8]; y1r = a[0] + a[9]; y1i = a[1] - a[8]; x0r = a[4] - a[13]; x0i = a[5] + a[12]; y2r = wn4r * (x0r - x0i); y2i = wn4r * (x0i + x0r); x0r = a[4] + a[13]; x0i = a[5] - a[12]; y3r = wn4r * (x0r - x0i); y3i = wn4r * (x0i + x0r); x0r = a[2] - a[11]; x0i = a[3] + a[10]; y4r = wk1r * x0r - wk1i * x0i; y4i = wk1r * x0i + wk1i * x0r; x0r = a[2] + a[11]; x0i = a[3] - a[10]; y5r = wk1i * x0r - wk1r * x0i; y5i = wk1i * x0i + wk1r * x0r; x0r = a[6] - a[15]; x0i = a[7] + a[14]; y6r = wk1i * x0r - wk1r * x0i; y6i = wk1i * x0i + wk1r * x0r; x0r = a[6] + a[15]; x0i = a[7] - a[14]; y7r = wk1r * x0r - wk1i * x0i; y7i = wk1r * x0i + wk1i * x0r; x0r = y0r + y2r; x0i = y0i + y2i; x1r = y4r + y6r; x1i = y4i + y6i; a[0] = x0r + x1r; a[1] = x0i + x1i; a[2] = x0r - x1r; a[3] = x0i - x1i; x0r = y0r - y2r; x0i = y0i - y2i; x1r = y4r - y6r; x1i = y4i - y6i; a[4] = x0r - x1i; a[5] = x0i + x1r; a[6] = x0r + x1i; a[7] = x0i - x1r; x0r = y1r - y3i; x0i = y1i + y3r; x1r = y5r - y7r; x1i = y5i - y7i; a[8] = x0r + x1r; a[9] = x0i + x1i; a[10] = x0r - x1r; a[11] = x0i - x1i; x0r = y1r + y3i; x0i = y1i - y3r; x1r = y5r + y7r; x1i = y5i + y7i; a[12] = x0r - x1i; a[13] = x0i + x1r; a[14] = x0r + x1i; a[15] = x0i - x1r; } static void cftf040(REAL *a) { REAL x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i; x0r = a[0] + a[4]; x0i = a[1] + a[5]; x1r = a[0] - a[4]; x1i = a[1] - a[5]; x2r = a[2] + a[6]; x2i = a[3] + a[7]; x3r = a[2] - a[6]; x3i = a[3] - a[7]; a[0] = x0r + x2r; a[1] = x0i + x2i; a[4] = x0r - x2r; a[5] = x0i - x2i; a[2] = x1r - x3i; a[3] = x1i + x3r; a[6] = x1r + x3i; a[7] = x1i - x3r; } static void cftb040(REAL *a) { REAL x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i; x0r = a[0] + a[4]; x0i = a[1] + a[5]; x1r = a[0] - a[4]; x1i = a[1] - a[5]; x2r = a[2] + a[6]; x2i = a[3] + a[7]; x3r = a[2] - a[6]; x3i = a[3] - a[7]; a[0] = x0r + x2r; a[1] = x0i + x2i; a[4] = x0r - x2r; a[5] = x0i - x2i; a[2] = x1r + x3i; a[3] = x1i - x3r; a[6] = x1r - x3i; a[7] = x1i + x3r; } static void cftx020(REAL *a) { REAL x0r, x0i; x0r = a[0] - a[2]; x0i = a[1] - a[3]; a[0] += a[2]; a[1] += a[3]; a[2] = x0r; a[3] = x0i; } static void rftfsub(int n, REAL *a, int nc, REAL *c) { int j, k, kk, ks, m; REAL wkr, wki, xr, xi, yr, yi; m = n >> 1; ks = 2 * nc / m; kk = 0; for (j = 2; j < m; j += 2) { k = n - j; kk += ks; wkr = 0.5 - c[nc - kk]; wki = c[kk]; xr = a[j] - a[k]; xi = a[j + 1] + a[k + 1]; yr = wkr * xr - wki * xi; yi = wkr * xi + wki * xr; a[j] -= yr; a[j + 1] -= yi; a[k] += yr; a[k + 1] -= yi; } } static void rftbsub(int n, REAL *a, int nc, REAL *c) { int j, k, kk, ks, m; REAL wkr, wki, xr, xi, yr, yi; m = n >> 1; ks = 2 * nc / m; kk = 0; for (j = 2; j < m; j += 2) { k = n - j; kk += ks; wkr = 0.5 - c[nc - kk]; wki = c[kk]; xr = a[j] - a[k]; xi = a[j + 1] + a[k + 1]; yr = wkr * xr + wki * xi; yi = wkr * xi - wki * xr; a[j] -= yr; a[j + 1] -= yi; a[k] += yr; a[k + 1] -= yi; } } static void dctsub(int n, REAL *a, int nc, REAL *c) { int j, k, kk, ks, m; REAL wkr, wki, xr; m = n >> 1; ks = nc / n; kk = 0; for (j = 1; j < m; j++) { k = n - j; kk += ks; wkr = c[kk] - c[nc - kk]; wki = c[kk] + c[nc - kk]; xr = wki * a[j] - wkr * a[k]; a[j] = wkr * a[j] + wki * a[k]; a[k] = xr; } a[m] *= c[0]; } static void dstsub(int n, REAL *a, int nc, REAL *c) { int j, k, kk, ks, m; REAL wkr, wki, xr; m = n >> 1; ks = nc / n; kk = 0; for (j = 1; j < m; j++) { k = n - j; kk += ks; wkr = c[kk] - c[nc - kk]; wki = c[kk] + c[nc - kk]; xr = wki * a[k] - wkr * a[j]; a[k] = wkr * a[k] + wki * a[j]; a[j] = xr; } a[m] *= c[0]; } }; #endif //_DSP_MATH_SHARED_H_
[ "zoominlazhu@653f6834-aab9-c84e-bf21-5865e8c89758" ]
zoominlazhu@653f6834-aab9-c84e-bf21-5865e8c89758
69b5ca1d5b67bc0ab4b6f25603b0462b54b4b2d0
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIOrgApacheJackrabbitOakPluginsIndexSolrOsgiSolrServerProviderSeProperties.h
26bef52db997b9512623bdeadb3b4c366956d9c7
[ "Apache-2.0", "MIT" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
C++
false
false
1,737
h
/** * Adobe Experience Manager OSGI config (AEM) API * Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API * * OpenAPI spec version: 1.0.0-pre.0 * Contact: opensource@shinesolutions.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /* * OAIOrgApacheJackrabbitOakPluginsIndexSolrOsgiSolrServerProviderSeProperties.h * * */ #ifndef OAIOrgApacheJackrabbitOakPluginsIndexSolrOsgiSolrServerProviderSeProperties_H #define OAIOrgApacheJackrabbitOakPluginsIndexSolrOsgiSolrServerProviderSeProperties_H #include <QJsonObject> #include "OAIConfigNodePropertyDropDown.h" #include "OAIObject.h" namespace OpenAPI { class OAIOrgApacheJackrabbitOakPluginsIndexSolrOsgiSolrServerProviderSeProperties: public OAIObject { public: OAIOrgApacheJackrabbitOakPluginsIndexSolrOsgiSolrServerProviderSeProperties(); OAIOrgApacheJackrabbitOakPluginsIndexSolrOsgiSolrServerProviderSeProperties(QString json); ~OAIOrgApacheJackrabbitOakPluginsIndexSolrOsgiSolrServerProviderSeProperties() override; void init(); QString asJson () const override; QJsonObject asJsonObject() const override; void fromJsonObject(QJsonObject json) override; void fromJson(QString jsonString) override; OAIConfigNodePropertyDropDown getServerType() const; void setServerType(const OAIConfigNodePropertyDropDown &server_type); virtual bool isSet() const override; private: OAIConfigNodePropertyDropDown server_type; bool m_server_type_isSet; }; } #endif // OAIOrgApacheJackrabbitOakPluginsIndexSolrOsgiSolrServerProviderSeProperties_H
[ "cliffano@gmail.com" ]
cliffano@gmail.com
9716ff03f70a85e130405cee619b7c27fd249774
e21be810f6005af0139fa4a208607382d3f84ba5
/Labs/Lab 10/lab10exercise-testPoint.cc
300a43471c79aabc6a306d6fddd366dfb42f1db3
[]
no_license
yid164/Principles-of-Computer-Science
0ecb1fa9ac3ccbd91377d1d7bab991be3e016d1d
bb787e9d93625eaf52396d62b13d364af3f49ba4
refs/heads/master
2020-06-26T05:57:27.665116
2019-07-30T02:09:19
2019-07-30T02:09:19
199,553,230
0
0
null
null
null
null
UTF-8
C++
false
false
740
cc
// Name: Yinsheng Dong // Student Number: 11148648 // NSID: yid164 // Lecture Section: CMPT 115 (02) /* * test.cpp * * * Created by Ian McQuillan on 19/03/07. * Copyright 2007 __MyCompanyName__. All rights reserved. * */ #include <iostream> #include <math.h> #include "lab10exercise-Point.h" using namespace std; int main() { int x; int y; cout << "\nPlease enter x coordinate: "<<endl; cin >> x; cout << "\nPlease enter y coordinate: "<< endl; cin >> y; Point *p = new Point (x,y); p->setX(x); p->setY(y); cout << "The x you entered: "<< p->getX() << ". The y you entered: " << p->getY() << endl; cout << "\nThe x, y distance is: " << p->displacement(x,y)<< endl; delete p; return 0; }
[ "32180311+yid164@users.noreply.github.com" ]
32180311+yid164@users.noreply.github.com
e54e5394cbb0f5ee86d820102e4c0cdd0b2a8513
fa0c642ba67143982d3381f66c029690b6d2bd17
/Source/Engine/Parser/RegularExpression.h
a5b962d17af570129a5bee2b105124e09a9fb3cf
[ "MIT" ]
permissive
blockspacer/EasyGameEngine
3f605fb2d5747ab250ef8929b0b60e5a41cf6966
da0b0667138573948cbd2e90e56ece5c42cb0392
refs/heads/master
2023-05-05T20:01:31.532452
2021-06-01T13:35:54
2021-06-01T13:35:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,056
h
//! @file RegularExpression.h //! @author LiCode //! @version 1.1 //! @date 2007.10 //! Copyright ... #pragma once namespace EGE { //---------------------------------------------------------------------------- // RegularExpression //---------------------------------------------------------------------------- class RegularExpression : public INTERFACE_OBJECT_IMPL( IRegularExpression ) { private: //! The match options _dword mOptions; //! The PCRE context handle _handle mPCREContext; //! The PCRE extra for speedup matching _handle mPCREExtra; //! The PCRE pattern string WString mPCREPatternString; private: //! Clear PCRE context. _void Clear( ); public: RegularExpression( ); virtual ~RegularExpression( ); // IRegularExpression Interface public: virtual _ubool SetPattern( WStringPtr pattern, _dword options = _MATCH_CASELESS ) override; virtual WStringPtr GetPattern( ) const override; virtual _ubool Match( AStringPtr string ) const override; virtual _ubool Match( WStringPtr string ) const override; }; }
[ "zopenge@126.com" ]
zopenge@126.com
19e6b44c0b086864a0bfaa02fe2433d008673d5b
ab59bcbabe117d40d850fc1b3da37012cbd9c7f6
/src/MC_Delete_Current_Value.cpp
5b3beb4778b1e7f5eec96abdb885a8cae136c1e6
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
ekhidbor/FUMe
6ea945c4b71b91ae9a96315dff73dcb5f621e80b
de50357efcb6dbfd0114802bc72ad316daca0ce3
refs/heads/master
2020-12-24T11:16:30.345862
2016-11-27T08:03:40
2016-11-27T08:03:40
73,048,176
0
0
null
null
null
null
UTF-8
C++
false
false
1,743
cpp
/** * This file is a part of the FUMe project. * * To the extent possible under law, the person who associated CC0 with * FUMe has waived all copyright and related or neighboring rights * to FUMe. * * You should have received a copy of the CC0 legalcode along with this * work. If not, see http://creativecommons.org/publicdomain/zero/1.0/. */ // std // boost #include "boost/numeric/conversion/cast.hpp" // local public #include "mcstatus.h" #include "mc3msg.h" // local private #include "fume/library_context.h" #include "fume/data_dictionary.h" #include "fume/value_representation.h" using boost::numeric_cast; using boost::bad_numeric_cast; using fume::g_context; using fume::data_dictionary; using fume::value_representation; MC_STATUS MC_Delete_Current_Value( int MsgFileItemID, unsigned long Tag ) { MC_STATUS ret = MC_CANNOT_COMPLY; try { if( g_context != nullptr ) { data_dictionary* dict = g_context->get_object( MsgFileItemID ); if( dict != nullptr ) { value_representation* element = dict->at( numeric_cast<uint32_t>( Tag ) ); if( element != nullptr ) { ret = element->delete_current(); } else { ret = MC_INVALID_TAG; } } else { ret = MC_INVALID_MESSAGE_ID; } } else { ret = MC_LIBRARY_NOT_INITIALIZED; } } catch( const bad_numeric_cast& ) { ret = MC_INVALID_TAG; } catch( ... ) { ret = MC_SYSTEM_ERROR; } return ret; }
[ "ekhidbor@protonmail.com" ]
ekhidbor@protonmail.com
5068ab074006343f408bfd8551feaa599512efd3
892c18dcf9acd82129a27d7dbc6f44ba3250f900
/unsafe-rust/unix-networking-programming/src/main.cpp
15dda109f831654c231f0ca4792b1b32b537c8f5
[]
no_license
zzl133/my_rust_road
eeab0b971b88144a5bdc274f9528f3bf65a7df09
5582c1ea165165eb9cfee16c6d34e91c32c38979
refs/heads/master
2023-02-24T19:18:15.720251
2021-02-02T10:27:52
2021-02-02T10:27:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
476
cpp
#include "../include/easylogging++.h" INITIALIZE_EASYLOGGINGPP int main(int argc, char* argv[]) { // LOG(GLOBAL) << "This is global"; LOG(INFO) << "My first info log using default logger"; LOG(DEBUG) << "This is DEBUG"; LOG(TRACE) << "This is Trace"; // LOG(FATAL) << "This is Fatal"; LOG(ERROR) << "This is Error"; LOG(WARNING) << "This is warning"; // LOG(GLOBAL) << "This is global"; // LOG(GLOBAL) << "This is global"; return 0; }
[ "davirain.yin@gmail.com" ]
davirain.yin@gmail.com
23bdc55a46751b6c15f18334f1b89514d2089128
f7ed25a8fc729c1995f52c7136db3cd8c7953969
/Hazel/src/Platform/Windows/WindowsWindow.cpp
46e86c02c2773538e4fd808827e1f2b9931da609
[ "Apache-2.0" ]
permissive
deadmann/Cherno-Hazel
94a400d918ca9ad8e6b06f1e7d69c877d55ff9dc
a59779914d5eb9ac7173804d96fbaf5444a3c470
refs/heads/main
2023-01-19T17:57:47.308602
2020-11-23T14:58:29
2020-11-23T14:58:29
310,801,610
0
0
null
null
null
null
UTF-8
C++
false
false
3,768
cpp
#include "hzpch.h" #include "WindowsWindow.h" #include "Hazel/Log.h" #include "Hazel/Events/ApplicationEvent.h" #include "Hazel/Events/MouseEvent.h" #include "Hazel/Events/KeyEvent.h" namespace Hazel { static bool s_GLFWInitialized = false; static void GLFWErrorCallback(int error, const char* description) { HZ_CORE_ERROR("GLFW Error ({0}): {1}", error, description); } Window* Window::Create(const WindowProps& props) { return new WindowsWindow(props); } WindowsWindow::WindowsWindow(const WindowProps& props) { Init(props); } WindowsWindow::~WindowsWindow() { Shutdown(); } void WindowsWindow::Init(const WindowProps& props) { m_Data.Title = props.Title; m_Data.Width = props.Width; m_Data.Height = props.Height; HZ_CORE_INFO("Creating window {0} ({1}, {2})", props.Title, props.Width, props.Height); if (!s_GLFWInitialized) { // TODO: gflwTerminate on system shutdown int success = glfwInit(); HZ_CORE_ASSERT(success, "Could not initialize GLFW!"); glfwSetErrorCallback(GLFWErrorCallback); s_GLFWInitialized = true; } m_Window = glfwCreateWindow((int)props.Width, (int)props.Height, m_Data.Title.c_str(), nullptr, nullptr); glfwMakeContextCurrent(m_Window); glfwSetWindowUserPointer(m_Window, &m_Data); SetVSync(true); // SET GLFW callbacks glfwSetWindowSizeCallback(m_Window, [](GLFWwindow* window, int width, int height) { WindowData& data = *(WindowData*) glfwGetWindowUserPointer(window); data.Width = width; data.Height = height; WindowResizeEvent event(width, height); data.EventCallback(event); }); glfwSetWindowCloseCallback(m_Window, [](GLFWwindow* window) { WindowData& data = *(WindowData*)glfwGetWindowUserPointer(window); WindowCloseEvent event; data.EventCallback(event); }); glfwSetKeyCallback(m_Window, [](GLFWwindow* window, int key, int scancode, int action, int mods) { WindowData& data = *(WindowData*)glfwGetWindowUserPointer(window); switch (action) { case GLFW_PRESS: { KeyPressedEvent event(key, 0); data.EventCallback(event); } break; case GLFW_RELEASE: { KeyReleasedEvent event(key); data.EventCallback(event); } break; case GLFW_REPEAT: { KeyPressedEvent event(key, 1); data.EventCallback(event); } break; } }); glfwSetMouseButtonCallback(m_Window, [](GLFWwindow* window, int button, int action, int modes) { WindowData& data = *(WindowData*)glfwGetWindowUserPointer(window); switch (action) { case GLFW_PRESS: { MouseButtonPressedEvent event(button); data.EventCallback(event); break; } case GLFW_RELEASE: { MouseButtonReleasedEvent event(button); data.EventCallback(event); break; } } }); glfwSetScrollCallback(m_Window, [](GLFWwindow* window, double xOffset, double yOffset) { WindowData& data = *(WindowData*)glfwGetWindowUserPointer(window); MouseScrolledEvent event((float)xOffset, (float)yOffset); data.EventCallback(event); }); glfwSetCursorPosCallback(m_Window, [](GLFWwindow* window, double xPos, double yPos) { WindowData& data = *(WindowData*)glfwGetWindowUserPointer(window); MouseMovedEvent event((float)xPos, (float)yPos); data.EventCallback(event); }); } void WindowsWindow::Shutdown() { glfwDestroyWindow(m_Window); } void WindowsWindow::OnUpdate() { glfwPollEvents(); glfwSwapBuffers(m_Window); } void WindowsWindow::SetVSync(bool enabled) { if (enabled) glfwSwapInterval(1); else glfwSwapInterval(0); m_Data.VSync = enabled; } bool WindowsWindow::IsVSync() const { return m_Data.VSync; } }
[ "mimosh.pisholack@gmail.com" ]
mimosh.pisholack@gmail.com
bd393a3a1ad1f9946479697c8c1f9fba11e6877c
608684f5bdb6fc0257524042a68ae9c026a9cfff
/CCI03_06_02/CCI03_06_02/Animal.cpp
4656f472334425e53bd09c14980940b7af528459
[]
no_license
jschar/CCI_2
ea8e57d6ddfccf5e2d8247f23bad62ae0dd3e7ac
686fadcb49031f60243dbd53aa6eef5c6b291088
refs/heads/master
2021-04-26T23:32:36.513360
2018-03-14T17:25:54
2018-03-14T17:25:54
124,011,772
0
0
null
null
null
null
UTF-8
C++
false
false
1,617
cpp
#include "Animal.h" //////////////// // Animal /////////////// Animal::Animal() : rEntered(time_t(0)), name("No Name") { } Animal::Animal(time_t &inTime, std::string &inName) { rEntered = inTime; localtime_s(&dtEntered, &rEntered); asctime_s(cEntered, 26, &dtEntered); name = inName; } Animal::Animal(Animal &&inAn) : rEntered(0), name("") { if (this != &inAn) { *this = std::move(inAn); } } Animal& Animal::operator= (Animal&& other) { this->name = other.name; this->setTime(other.getrTime()); other.name = "No name"; other.setTime(time_t(0)); return *this; } void Animal::setTime(time_t inTime) { rEntered = inTime; localtime_s(&dtEntered, &rEntered); asctime_s(cEntered, 26, &dtEntered); } time_t Animal::getrTime() const { return rEntered; } std::string Animal::getTime() const { return std::string(cEntered); } void Animal::setName(const std::string &inName) { name = inName; } std::string Animal::getName() const { return name; } std::ostream & operator<<(std::ostream &output, const Animal & obj) { output << obj.getName() << " : " << obj.getTime(); return output; } template<typename T> static std::shared_ptr<T> Animal::creat(std::string &&name) { return make_shared<T>(std::move(name)); } ///////// // Dog ///////// Dog::Dog() { } Dog::Dog(const Dog& inDog) { } Dog::Dog(Animal &&inAn) : Animal(std::move(inAn)) { } void Dog::speak() { std::cout << "Woof!" << std::endl; } ///////// // Cat ///////// Cat::Cat() { } Cat::Cat(const Cat& inCat) { } Cat::Cat(Animal &&inAn) : Animal(std::move(inAn)) { } void Cat::speak() { std::cout << "Meow" << std::endl; }
[ "johnschar2001@yahoo.com" ]
johnschar2001@yahoo.com
6ade75d7086c4c300f9dd7ef3c3c04ea2740b138
16ccb5abf1db19769e50c68262fefb3d283b1a25
/Linked List/Remove loop in Linked List.cpp
c54bdeb51aa931a4f9614b0284f431f6fc1077a9
[]
no_license
chiranjev/my-geeksforgeeks-solution
0fe321d4fb36f146f8fd9feb12cc25e523dbb9ca
59e0ffc1acc3a12de02e7ff62dc76630a2d61fe5
refs/heads/master
2020-03-23T02:37:30.035606
2018-08-23T21:09:10
2018-08-23T21:09:10
140,983,025
0
0
null
null
null
null
UTF-8
C++
false
false
2,703
cpp
{ // C program to detect loop in a linked list #include<bits/stdc++.h> using namespace std; /* Link list Node */ struct Node { int data; struct Node* next; }; vector<int> _A_; void removeLoop(struct Node *, struct Node *); void removeTheLoop(Node *); void push(struct Node** head_ref, int new_data) { /* allocate Node */ struct Node* new_Node = (struct Node*) malloc(sizeof(struct Node)); /* put in the data */ new_Node->data = new_data; /* link the old list off the new Node */ new_Node->next = (*head_ref); /* move the head to point to the new Node */ (*head_ref) = new_Node; } void removeTheLoop(struct Node *list); int __detectloop(struct Node *list) { struct Node *slow_p = list, *fast_p = list; bool fA=0; bool fB =0; while (slow_p && fast_p && fast_p->next ) { slow_p = slow_p->next; fast_p = fast_p->next->next; if (slow_p == fast_p) { fA=1; } } //Check for valid list if(fA) return 1; else return 0; } /* Drier program to test above function*/ int main() { int t,n,c,x,i; cin>>t; while(t--){ /* Start with the empty list */ cin>>n; _A_.clear(); struct Node *head = NULL; struct Node* temp; struct Node *s; cin>>x; push(&head,x); s=head; _A_.push_back(x); for(i=1;i<n;i++){ cin>>x; _A_.push_back(x); push(&head,x);} /* Create a loop for testing */ cin>>c; if(c>0){ c=c-1; temp=head; while(c--) temp=temp->next; s->next=temp; } removeTheLoop(head); int g = __detectloop(head); Node *test = head; int c_=0; int fB=0; reverse(_A_.begin(),_A_.end()); while(test!=NULL) { if(test->data!=_A_[c_]){ fB=1; break; } test=test->next; c_++; } if(g or fB) cout<<"0 "; else cout<<"1 "; } return 0; } } /*Please note that it's Function problem i.e. you need to write your solution in the form of Function(s) only. Driver Code to call/invoke your function is mentioned above.*/ /*The structure of linked list is the following struct Node { int data; Node* next; };*/ /*The function removes the loop from the linked list if present You are required to complete this method*/ void removeTheLoop(Node *node) { Node *slow = node; Node *fast = node; while(fast!=NULL&&fast->next!=NULL){ slow=slow->next; fast=fast->next->next; if(slow==fast){ slow = node; while(slow->next!=fast->next){ slow=slow->next; fast=fast->next; } fast->next = NULL; } } }
[ "koulsahil04321@gmail.com" ]
koulsahil04321@gmail.com
357618245b82a77d61b5b01523594c83723986d3
d49a5f23d3efbf3b71a824a8cd9ed3e0787c01d7
/arduinoGPS/EEPROM.h
bde6959bbd0ebec8e54878b19637abf8582766ba
[]
no_license
anava014/SmartGarage
8f5aa0986c32126248865b19e864f6d353d02cf3
c2ef88360678d686fe81c3acd7884d00514e559e
refs/heads/master
2016-08-12T05:21:08.591369
2015-10-15T20:44:50
2015-10-15T20:44:50
36,569,258
0
0
null
null
null
null
UTF-8
C++
false
false
994
h
/* EEPROM.h - EEPROM library Copyright (c) 2006 David A. Mellis. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef EEPROM_h #define EEPROM_h #include <inttypes.h> class EEPROMClass { public: uint8_t read(int); void write(int, uint8_t); }; extern EEPROMClass EEPROM; #endif
[ "anava014@ucr.edu" ]
anava014@ucr.edu
04c6f44d33247e24a5035acb0baf947ab15108a2
7c42f69b96f1631f0f7c566ccf56eef9131860c4
/core/msg.cc
9ea49464ed4bf1dc905a6438164f6008cfda58d8
[ "MIT" ]
permissive
prateek-s/manysat2.0
8189a43181257feb474af03f16ef2beac93c0b77
4fedde1b0781c5c00b12b78159c97a173e8861c7
refs/heads/master
2021-01-10T05:18:25.697920
2015-12-18T16:52:14
2015-12-18T16:52:14
47,474,413
0
0
null
null
null
null
UTF-8
C++
false
false
7,654
cc
#include "core/msg.h" #include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <fcntl.h> #include <endian.h> #include <iostream> #include <vector> #include <mutex> #include <string> #include <omp.h> //Need to maintain some buffer of clauses rcvd but not yet pushed here.. ? using namespace Minisat; struct my_net_addr { std::string addr ; int port ; }; std::vector<Lit> remote_units ; std::vector<std::vector<Lit> > remote_clauses ; std::mutex pull_mutex ; omp_lock_t _pull_lock; omp_lock_t _push_lock; struct my_net_addr myaddr ; std::vector<my_net_addr> other_addrs; std::vector<int> broadcast_socketfds; /* Read 'n' bytes from 'fd' into 'buf', restarting after partial reads or interruptions by a signal handlers */ /*******************************************************************************/ void pull_lock() { omp_set_lock(&_pull_lock); } void pull_unlock() { omp_unset_lock(&_pull_lock); } void push_lock() { omp_set_lock(&_push_lock); } void push_unlock() { omp_unset_lock(&_push_lock); } /*******************************************************************************/ ssize_t readn(int fd, void *buffer, size_t n) { ssize_t numRead; /* # of bytes fetched by last read() */ size_t totRead; /* Total # of bytes read so far */ char *buf; buf = (char*) buffer; /* No pointer arithmetic on "void *" */ for (totRead = 0; totRead < n; ) { numRead = read(fd, buf, n - totRead); if (numRead == 0) /* EOF */ return totRead; /* May be 0 if this is first read() */ if (numRead == -1) { if (errno == EINTR) continue; /* Interrupted --> restart read() */ else return -1; /* Some other error */ } totRead += numRead; buf += numRead; } return totRead; /* Must be 'n' bytes if we get here */ } /* Write 'n' bytes to 'fd' from 'buf', restarting after partial write or interruptions by a signal handlers */ ssize_t writen(int fd, const void *buffer, size_t n) { ssize_t numWritten; /* # of bytes written by last write() */ size_t totWritten; /* Total # of bytes written so far */ const char *buf; buf = (char*) buffer; /* No pointer arithmetic on "void *" */ for (totWritten = 0; totWritten < n; ) { numWritten = write(fd, buf, n - totWritten); /* The "write() returns 0" case should never happen, but the following ensures that we don't loop forever if it does */ if (numWritten <= 0) { if (numWritten == -1 && errno == EINTR) continue; /* Interrupted --> restart write() */ else return -1; /* Some other error */ } totWritten += numWritten; buf += numWritten; } return totWritten; /* Must be 'n' bytes if we get here */ } /*******************************************************************************/ //or maybe OpenMP locks http://stackoverflow.com/questions/2396430/how-to-use-lock-in-openmp //myaddr //broadcast-list //Should just return the literal int msg_recv() { return 0; } /* Size of clause, and an array of integers */ int process_new_clause(int size, int* litbuf) { pull_lock(); //size,clause if(size == 1) { // remote_units.push(mklit(*litbuf)); } //Add to separate unit and clause vectors //When pull from remote is called, then pull_unlock(); return 0; } void pull_clauses_from_remote(Solver* s, Cooperation* coop, int tid) { vec<Lit> ans ; coop->importRemoteClause(s, ans); } vec<Lit> pull_units_from_remote(int tid) { //Separate handling of Unit and non-unit clauses. Icky.... pull_lock() ; while (remote_units.size() > 1) { //slurp from this by popping Lit unit = remote_units.back(); remote_units.pop_back() ; //do something with it! } //TODO: convert from std::vector to vec below. std::vector<Lit> clause = remote_clauses.back() ; remote_clauses.pop_back(); pull_unlock() ; } /*******************************************************************************/ int broadcast_msg(void* buf, int sz) { //mutex lock here? //send buffer to all remotes push_lock(); for(std::vector<int>::iterator it = broadcast_socketfds.begin(); it != broadcast_socketfds.end(); ++it) { /* std::cout << *it; ... */ int socketfd = *it; writen(socketfd, buf, sz); } push_unlock(); return 0 ; } int push_unit_remote(Lit unit) { //just a msg send after making into byte array and sending? vec<Lit> uc ; uc.push(unit) ; push_clause_remote(uc) ; return 0 ; } int push_clause_remote(vec<Lit>& learnt_clause) { //transform the vector into a suitable byte array and then send int sz = learnt_clause.size() ; int* tosend = (int*) malloc(sizeof(int)*(sz+1)); tosend[0] = sz*sizeof(int) ; //this has to be in bytes! tosend = tosend + 1 ; Lit lit ; int x ; for(int i = 0 ; i < sz ; i++) { lit = learnt_clause[i] ; *(tosend++) = lit.x ; } broadcast_msg(tosend, sizeof(int)*(sz+1)) ; //once sent, free this up? free(tosend) ; return 0; } /*******************************************************************************/ //vec<Lit> get_remote_units() //{ //Just return the vector //Garbage collection etc later?? //Keep a counter or something? // //} //read the files and fill in the corresponding structures void read_network_info() { //Also keep the sockets open! No need to close them!! } /*******************************************************************************/ int msg_main_loop() { printf("----------------- MAIN LOOP CALLED ! \n") ; fflush(NULL); omp_init_lock(&_pull_lock); omp_init_lock(&_push_lock) ; read_network_info() ; int clause_size ; int max_clause = 1024 ; int* litbuf = (int*)malloc(sizeof(int)*max_clause) ; //create and listen on my socket int port = myaddr.port ; int listenfd, connfd = 0 ; int sockid ; struct sockaddr_in client_addr ; socklen_t ca_len ; struct sockaddr_in serv_addr ; memset(&serv_addr, '0', sizeof(serv_addr)) ; serv_addr.sin_family = AF_INET ; serv_addr.sin_port = htons(port) ; serv_addr.sin_addr.s_addr = htonl(INADDR_ANY) ; sockid = socket(AF_INET, SOCK_STREAM, 0) ; if(sockid < 0) { printf("cant create socket!\n"); return -1 ; } int errbind= bind(sockid, (struct sockaddr*) &serv_addr, sizeof(serv_addr)) ; if(errbind < 0) { printf("cant bind \n"); //is bind required? dont exit here } if(listen(sockid, 10) == -1) { printf("cant listen \n"); return -1 ; } printf("accept now... \n"); int s ; while(1) { s = accept(sockid, (struct sockaddr*) &client_addr, &ca_len); printf("waiting for recv \n") ; readn(s, &clause_size, sizeof(int)) ; clause_size = (int) ntohl(clause_size) ; //Now I know how much to read! readn(s, &litbuf, sizeof(int)*clause_size) ; process_new_clause(clause_size, litbuf) ; close(s) ; } //close socket //goto before the accept? after bind, definitely. keep listening as well? return 0; }
[ "prateeks@prateek-desktop" ]
prateeks@prateek-desktop
5986bb91d92717a9038f4329238134bf44dfe541
4969ffb371b731c5b0c670017060968a718c5b97
/src/Graphite/moving_average.h
1e8da264b349f65d820877a5d7b5aaa45c4079f1
[ "MIT", "BSD-3-Clause" ]
permissive
angl-dev/primesim
6cf0bee0de016c54d82142f6a31e134647d7d134
9731582ca6c055c0ba8875e03aaaa0f42f2559b2
refs/heads/master
2023-01-13T11:22:26.793923
2018-04-10T21:52:58
2018-04-10T21:52:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,976
h
//=========================================================================== // moving_average.h //=========================================================================== #ifndef __MOVING_AVERAGE_H__ #define __MOVING_AVERAGE_H__ #include <vector> #include <string> #include <cmath> #include <cstdio> #include "fixed_types.h" #include "modulo_num.h" using namespace std; template <class T> class MovingAverage { public: enum AvgType_t { ARITHMETIC_MEAN = 0, GEOMETRIC_MEAN, MEDIAN, NUM_AVG_TYPES }; MovingAverage(UInt32 max_window_size); virtual ~MovingAverage(); static MovingAverage<T>* createAvgType(string avg_type, UInt32 max_window_size); virtual T compute(T next_num) { return (T) 0; } protected: vector<T> _num_list; UInt32 _max_window_size; ModuloNum _curr_window_front; ModuloNum _curr_window_back; void addToWindow(T next_num); void printElements() { printf("Elements: "); ModuloNum curr_num(_curr_window_front); for ( ; curr_num != _curr_window_back; curr_num = curr_num + 1) printf("%llu ", _num_list[curr_num._value]); printf("\n"); } }; template<class T> MovingAverage<T>::MovingAverage(UInt32 max_window_size) : _max_window_size(max_window_size) { _num_list.resize(_max_window_size + 1); _curr_window_front = ModuloNum(_max_window_size + 1); _curr_window_back = ModuloNum(_max_window_size + 1); } template<class T> MovingAverage<T>::~MovingAverage() { } template<class T> void MovingAverage<T>::addToWindow(T next_num) { _num_list[_curr_window_back._value] = next_num; _curr_window_back = _curr_window_back + 1; if (_curr_window_back == _curr_window_front) { _curr_window_front = _curr_window_front + 1; } } template <class T> class MovingArithmeticMean : public MovingAverage<T> { private: volatile double _arithmetic_mean; public: MovingArithmeticMean(UInt32 max_window_size): MovingAverage<T>(max_window_size), _arithmetic_mean(0.0) { } T compute(T next_num) { UInt32 curr_window_size = (this->_curr_window_back - this->_curr_window_front)._value; if (curr_window_size == this->_max_window_size) { T old_num = this->_num_list[this->_curr_window_front._value]; _arithmetic_mean += ( ((double) next_num / curr_window_size) - \ ((double) old_num / curr_window_size) ); } else // Still adding elements to fill the window { _arithmetic_mean = (_arithmetic_mean * curr_window_size + next_num) / (curr_window_size + 1); } this->addToWindow(next_num); return (T) _arithmetic_mean; } }; template <class T> class MovingGeometricMean : public MovingAverage<T> { private: volatile double _geometric_mean; public: MovingGeometricMean(UInt32 max_window_size): MovingAverage<T>(max_window_size), _geometric_mean(1.0) { } T compute(T next_num) { UInt32 curr_window_size = (this->_curr_window_back - this->_curr_window_front)._value; if (curr_window_size == this->_max_window_size) { T old_num = this->_num_list[this->_curr_window_front._value]; _geometric_mean *= ( pow((double) next_num, (1.0 / curr_window_size)) / pow((double) old_num, (1.0 / curr_window_size)) ); } else // Still adding elements to fill the window { _geometric_mean = pow( pow(_geometric_mean, (int)curr_window_size) * next_num, (int)(1.0 / (curr_window_size+1)) ); } this->addToWindow(next_num); return (T) _geometric_mean; } }; template <class T> class MovingMedian : public MovingAverage<T> { public: MovingMedian(UInt32 max_window_size): MovingAverage<T>(max_window_size) { } T compute(T next_num) { // FIXME: Might want to sort this before returning any value this->addToWindow(next_num); UInt32 curr_window_size = (this->_curr_window_back - this->_curr_window_front)._value; UInt32 median_index = (this->_curr_window_front + (curr_window_size / 2))._value; return this->_num_list[median_index]; } }; template <class T> MovingAverage<T>* MovingAverage<T>::createAvgType(string avg_type, UInt32 max_window_size) { if (avg_type == "arithmetic_mean") return new MovingArithmeticMean<T>(max_window_size); else if (avg_type == "geometric_mean") return new MovingGeometricMean<T>(max_window_size); else if (avg_type == "median") return new MovingMedian<T>(max_window_size); else { printf("ERROR: Unsupported Average Type: %s\n", avg_type.c_str()); return NULL; } } #endif /* __MOVING_AVERAGE_H__ */
[ "yfu@trin@princeton.edu" ]
yfu@trin@princeton.edu
968c5c2cbc18c79f5a0137c5fbefa64b96d4afa0
00507ef2ec3a8a28d2c0e6a3283226cc77e79180
/maximim sum increasing subsequence/main.cpp
66f24083f6eb1d70bf8d1fe8cd4c7688b22ba9b4
[]
no_license
AnandDev006/CPlusPlusCodes
bac2167fd664e665e755a1fe20b5880353055b26
7f13292f97e7089ff470152d7a893bb095a768a5
refs/heads/master
2021-08-08T13:38:27.426066
2021-05-17T14:30:47
2021-05-17T14:30:47
114,906,052
2
0
null
null
null
null
UTF-8
C++
false
false
760
cpp
#include <bits/stdc++.h> using namespace std; int DP[1005]; int input[1005]; int N; int main() { cin >> N; int i, j; for( i = 0 ; i < N ; ++i ) cin >> input[i]; // Build int Pos = 0 ; for( i = 0 ; i < N ; ++i ) DP[i] = input[i]; for( i = 1 ; i < N ; ++i ){ for( j = 0 ; j < i ; ++j ){ if( input[j] < input[i] ){ DP[i] = max( DP[i], DP[j] + input[i]); } } if( DP[i] > DP[Pos] ) Pos = i ; } int result = DP[Pos]; cout << result << endl; // Retrace while ( result ){ cout << input[Pos] << " " ; result -= input[Pos]; while( DP[Pos] != result ){ --Pos; } } return 0; }
[ "anand.dev.006@gmail.com" ]
anand.dev.006@gmail.com
03dd98437c6a1d96c93f3a473f298960385b4cf0
1f1ebc14fc4e21d8fd0699f3b378631c87f64582
/test/cctest/interpreter/test-bytecode-generator.cc
f56b4dca7d0f6fc34ab313d64d3a8a94ceb2bbec
[ "BSD-3-Clause", "bzip2-1.0.6" ]
permissive
Kasiviswanathan3876/v8
bb72b8d8d6cfe9c4d1ea35f11b8d3ecd2d5bff97
e814457675d615aaebb14ae723a42c756492f732
refs/heads/master
2021-01-18T04:35:53.873004
2016-02-03T13:52:30
2016-02-03T13:52:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
307,242
cc
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/v8.h" #include "src/compiler.h" #include "src/interpreter/bytecode-array-iterator.h" #include "src/interpreter/bytecode-generator.h" #include "src/interpreter/interpreter.h" #include "test/cctest/cctest.h" #include "test/cctest/test-feedback-vector.h" namespace v8 { namespace internal { namespace interpreter { class BytecodeGeneratorHelper { public: const char* kFunctionName = "f"; static const int kLastParamIndex = -InterpreterFrameConstants::kLastParamFromRegisterPointer / kPointerSize; BytecodeGeneratorHelper() { i::FLAG_ignition = true; i::FLAG_ignition_filter = StrDup(kFunctionName); i::FLAG_always_opt = false; i::FLAG_allow_natives_syntax = true; i::FLAG_legacy_const = true; CcTest::i_isolate()->interpreter()->Initialize(); } Isolate* isolate() { return CcTest::i_isolate(); } Factory* factory() { return CcTest::i_isolate()->factory(); } Handle<BytecodeArray> MakeTopLevelBytecode(const char* source) { const char* old_ignition_filter = i::FLAG_ignition_filter; i::FLAG_ignition_filter = "*"; Local<v8::Script> script = v8_compile(source); i::FLAG_ignition_filter = old_ignition_filter; i::Handle<i::JSFunction> js_function = v8::Utils::OpenHandle(*script); return handle(js_function->shared()->bytecode_array(), CcTest::i_isolate()); } Handle<BytecodeArray> MakeBytecode(const char* script, const char* function_name) { CompileRun(script); v8::Local<v8::Context> context = v8::Isolate::GetCurrent()->GetCurrentContext(); Local<Function> function = Local<Function>::Cast( CcTest::global()->Get(context, v8_str(function_name)).ToLocalChecked()); i::Handle<i::JSFunction> js_function = i::Handle<i::JSFunction>::cast(v8::Utils::OpenHandle(*function)); return handle(js_function->shared()->bytecode_array(), CcTest::i_isolate()); } Handle<BytecodeArray> MakeBytecode(const char* script, const char* filter, const char* function_name) { const char* old_ignition_filter = i::FLAG_ignition_filter; i::FLAG_ignition_filter = filter; Handle<BytecodeArray> return_val = MakeBytecode(script, function_name); i::FLAG_ignition_filter = old_ignition_filter; return return_val; } Handle<BytecodeArray> MakeBytecodeForFunctionBody(const char* body) { static const char kFormat[] = "function %s() { %s }\n%s();"; static const int kFormatLength = arraysize(kFormat); int length = kFormatLength + 2 * StrLength(kFunctionName) + StrLength(body); ScopedVector<char> program(length); length = SNPrintF(program, kFormat, kFunctionName, body, kFunctionName); CHECK_GT(length, 0); return MakeBytecode(program.start(), kFunctionName); } Handle<BytecodeArray> MakeBytecodeForFunction(const char* function) { ScopedVector<char> program(3072); SNPrintF(program, "%s\n%s();", function, kFunctionName); return MakeBytecode(program.start(), kFunctionName); } Handle<BytecodeArray> MakeBytecodeForFunctionNoFilter(const char* function) { ScopedVector<char> program(3072); SNPrintF(program, "%s\n%s();", function, kFunctionName); return MakeBytecode(program.start(), "*", kFunctionName); } }; // Helper macros for handcrafting bytecode sequences. #define B(x) static_cast<uint8_t>(Bytecode::k##x) #define U8(x) static_cast<uint8_t>((x) & 0xff) #define R(x) static_cast<uint8_t>(-(x) & 0xff) #define R16(x) U16(-(x)) #define A(x, n) R(helper.kLastParamIndex - (n) + 1 + (x)) #define THIS(n) A(0, n) #if defined(V8_TARGET_LITTLE_ENDIAN) #define U16(x) static_cast<uint8_t>((x) & 0xff), \ static_cast<uint8_t>(((x) >> kBitsPerByte) & 0xff) #define U16I(x) static_cast<uint8_t>((x) & 0xff), \ static_cast<uint8_t>(((x++) >> kBitsPerByte) & 0xff) #elif defined(V8_TARGET_BIG_ENDIAN) #define U16(x) static_cast<uint8_t>(((x) >> kBitsPerByte) & 0xff), \ static_cast<uint8_t>((x) & 0xff) #define U16I(x) static_cast<uint8_t>(((x) >> kBitsPerByte) & 0xff), \ static_cast<uint8_t>((x++) & 0xff) #else #error Unknown byte ordering #endif #define XSTR(A) #A #define STR(A) XSTR(A) #define COMMA() , #define SPACE() #define UNIQUE_VAR() "var a" STR(__COUNTER__) " = 0;\n" #define REPEAT_2(SEP, ...) \ __VA_ARGS__ SEP() __VA_ARGS__ #define REPEAT_4(SEP, ...) \ REPEAT_2(SEP, __VA_ARGS__) SEP() REPEAT_2(SEP, __VA_ARGS__) #define REPEAT_8(SEP, ...) \ REPEAT_4(SEP, __VA_ARGS__) SEP() REPEAT_4(SEP, __VA_ARGS__) #define REPEAT_16(SEP, ...) \ REPEAT_8(SEP, __VA_ARGS__) SEP() REPEAT_8(SEP, __VA_ARGS__) #define REPEAT_32(SEP, ...) \ REPEAT_16(SEP, __VA_ARGS__) SEP() REPEAT_16(SEP, __VA_ARGS__) #define REPEAT_64(SEP, ...) \ REPEAT_32(SEP, __VA_ARGS__) SEP() REPEAT_32(SEP, __VA_ARGS__) #define REPEAT_128(SEP, ...) \ REPEAT_64(SEP, __VA_ARGS__) SEP() REPEAT_64(SEP, __VA_ARGS__) #define REPEAT_256(SEP, ...) \ REPEAT_128(SEP, __VA_ARGS__) SEP() REPEAT_128(SEP, __VA_ARGS__) #define REPEAT_127(SEP, ...) \ REPEAT_64(SEP, __VA_ARGS__) SEP() REPEAT_32(SEP, __VA_ARGS__) SEP() \ REPEAT_16(SEP, __VA_ARGS__) SEP() REPEAT_8(SEP, __VA_ARGS__) SEP() \ REPEAT_4(SEP, __VA_ARGS__) SEP() REPEAT_2(SEP, __VA_ARGS__) SEP() \ __VA_ARGS__ #define REPEAT_249(SEP, ...) \ REPEAT_127(SEP, __VA_ARGS__) SEP() REPEAT_64(SEP, __VA_ARGS__) SEP() \ REPEAT_32(SEP, __VA_ARGS__) SEP() REPEAT_16(SEP, __VA_ARGS__) SEP() \ REPEAT_8(SEP, __VA_ARGS__) SEP() REPEAT_2(SEP, __VA_ARGS__) #define REPEAT_249_UNIQUE_VARS() \ UNIQUE_VAR() REPEAT_127(UNIQUE_VAR) UNIQUE_VAR() REPEAT_64(UNIQUE_VAR) \ UNIQUE_VAR() REPEAT_32(UNIQUE_VAR) UNIQUE_VAR() REPEAT_16(UNIQUE_VAR) \ UNIQUE_VAR() REPEAT_8(UNIQUE_VAR) UNIQUE_VAR() REPEAT_2(UNIQUE_VAR) // Structure for containing expected bytecode snippets. template<typename T, int C = 6> struct ExpectedSnippet { const char* code_snippet; int frame_size; int parameter_count; int bytecode_length; const uint8_t bytecode[2048]; int constant_count; T constants[C]; int handler_count; struct { int start; int end; int handler; } handlers[C]; }; static void CheckConstant(int expected, Object* actual) { CHECK_EQ(expected, Smi::cast(actual)->value()); } static void CheckConstant(double expected, Object* actual) { CHECK_EQ(expected, HeapNumber::cast(actual)->value()); } static void CheckConstant(const char* expected, Object* actual) { Handle<String> expected_string = CcTest::i_isolate()->factory()->NewStringFromAsciiChecked(expected); CHECK(String::cast(actual)->Equals(*expected_string)); } static void CheckConstant(Handle<Object> expected, Object* actual) { CHECK(actual == *expected || expected->StrictEquals(actual)); } static void CheckConstant(InstanceType expected, Object* actual) { CHECK_EQ(expected, HeapObject::cast(actual)->map()->instance_type()); } template <typename T, int C> static void CheckBytecodeArrayEqual(const ExpectedSnippet<T, C>& expected, Handle<BytecodeArray> actual) { CHECK_EQ(expected.frame_size, actual->frame_size()); CHECK_EQ(expected.parameter_count, actual->parameter_count()); CHECK_EQ(expected.bytecode_length, actual->length()); if (expected.constant_count == 0) { CHECK_EQ(CcTest::heap()->empty_fixed_array(), actual->constant_pool()); } else { CHECK_EQ(expected.constant_count, actual->constant_pool()->length()); for (int i = 0; i < expected.constant_count; i++) { CheckConstant(expected.constants[i], actual->constant_pool()->get(i)); } } if (expected.handler_count == 0) { CHECK_EQ(CcTest::heap()->empty_fixed_array(), actual->handler_table()); } else { HandlerTable* table = HandlerTable::cast(actual->handler_table()); CHECK_EQ(expected.handler_count, table->NumberOfRangeEntries()); for (int i = 0; i < expected.handler_count; i++) { CHECK_EQ(expected.handlers[i].start, table->GetRangeStart(i)); CHECK_EQ(expected.handlers[i].end, table->GetRangeEnd(i)); CHECK_EQ(expected.handlers[i].handler, table->GetRangeHandler(i)); } } BytecodeArrayIterator iterator(actual); int i = 0; while (!iterator.done()) { int bytecode_index = i++; Bytecode bytecode = iterator.current_bytecode(); if (Bytecodes::ToByte(bytecode) != expected.bytecode[bytecode_index]) { std::ostringstream stream; stream << "Check failed: expected bytecode [" << bytecode_index << "] to be " << Bytecodes::ToString(static_cast<Bytecode>( expected.bytecode[bytecode_index])) << " but got " << Bytecodes::ToString(bytecode); FATAL(stream.str().c_str()); } for (int j = 0; j < Bytecodes::NumberOfOperands(bytecode); ++j) { OperandType operand_type = Bytecodes::GetOperandType(bytecode, j); int operand_index = i; i += static_cast<int>(Bytecodes::SizeOfOperand(operand_type)); uint32_t raw_operand = iterator.GetRawOperand(j, operand_type); uint32_t expected_operand; switch (Bytecodes::SizeOfOperand(operand_type)) { case OperandSize::kNone: UNREACHABLE(); return; case OperandSize::kByte: expected_operand = static_cast<uint32_t>(expected.bytecode[operand_index]); break; case OperandSize::kShort: expected_operand = ReadUnalignedUInt16(&expected.bytecode[operand_index]); break; default: UNREACHABLE(); return; } if (raw_operand != expected_operand) { std::ostringstream stream; stream << "Check failed: expected operand [" << j << "] for bytecode [" << bytecode_index << "] to be " << static_cast<unsigned int>(expected_operand) << " but got " << static_cast<unsigned int>(raw_operand); FATAL(stream.str().c_str()); } } iterator.Advance(); } } TEST(PrimitiveReturnStatements) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"", 0, 1, 2, {B(LdaUndefined), B(Return)}, 0}, {"return;", 0, 1, 2, {B(LdaUndefined), B(Return)}, 0}, {"return null;", 0, 1, 2, {B(LdaNull), B(Return)}, 0}, {"return true;", 0, 1, 2, {B(LdaTrue), B(Return)}, 0}, {"return false;", 0, 1, 2, {B(LdaFalse), B(Return)}, 0}, {"return 0;", 0, 1, 2, {B(LdaZero), B(Return)}, 0}, {"return +1;", 0, 1, 3, {B(LdaSmi8), U8(1), B(Return)}, 0}, {"return -1;", 0, 1, 3, {B(LdaSmi8), U8(-1), B(Return)}, 0}, {"return +127;", 0, 1, 3, {B(LdaSmi8), U8(127), B(Return)}, 0}, {"return -128;", 0, 1, 3, {B(LdaSmi8), U8(-128), B(Return)}, 0}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(PrimitiveExpressions) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"var x = 0; return x;", kPointerSize, 1, 4, {B(LdaZero), // B(Star), R(0), // B(Return)}, 0}, {"var x = 0; return x + 3;", 2 * kPointerSize, 1, 10, {B(LdaZero), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Add), R(1), // B(Return)}, 0}, {"var x = 0; return x - 3;", 2 * kPointerSize, 1, 10, {B(LdaZero), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Sub), R(1), // B(Return)}, 0}, {"var x = 4; return x * 3;", 2 * kPointerSize, 1, 11, {B(LdaSmi8), U8(4), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Mul), R(1), // B(Return)}, 0}, {"var x = 4; return x / 3;", 2 * kPointerSize, 1, 11, {B(LdaSmi8), U8(4), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Div), R(1), // B(Return)}, 0}, {"var x = 4; return x % 3;", 2 * kPointerSize, 1, 11, {B(LdaSmi8), U8(4), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Mod), R(1), // B(Return)}, 0}, {"var x = 1; return x | 2;", 2 * kPointerSize, 1, 11, {B(LdaSmi8), U8(1), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(BitwiseOr), R(1), // B(Return)}, 0}, {"var x = 1; return x ^ 2;", 2 * kPointerSize, 1, 11, {B(LdaSmi8), U8(1), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(BitwiseXor), R(1), // B(Return)}, 0}, {"var x = 1; return x & 2;", 2 * kPointerSize, 1, 11, {B(LdaSmi8), U8(1), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(BitwiseAnd), R(1), // B(Return)}, 0}, {"var x = 10; return x << 3;", 2 * kPointerSize, 1, 11, {B(LdaSmi8), U8(10), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(ShiftLeft), R(1), // B(Return)}, 0}, {"var x = 10; return x >> 3;", 2 * kPointerSize, 1, 11, {B(LdaSmi8), U8(10), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(ShiftRight), R(1), // B(Return)}, 0}, {"var x = 10; return x >>> 3;", 2 * kPointerSize, 1, 11, {B(LdaSmi8), U8(10), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(ShiftRightLogical), R(1), // B(Return)}, 0}, {"var x = 0; return (x, 3);", 1 * kPointerSize, 1, 6, {B(LdaZero), // B(Star), R(0), // B(LdaSmi8), U8(3), // B(Return)}, 0}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(LogicalExpressions) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"var x = 0; return x || 3;", 1 * kPointerSize, 1, 8, {B(LdaZero), // B(Star), R(0), // B(JumpIfToBooleanTrue), U8(4), // B(LdaSmi8), U8(3), // B(Return)}, 0}, {"var x = 0; return (x == 1) || 3;", 2 * kPointerSize, 1, 14, {B(LdaZero), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(TestEqual), R(1), // B(JumpIfTrue), U8(4), // B(LdaSmi8), U8(3), // B(Return)}, 0}, {"var x = 0; return x && 3;", 1 * kPointerSize, 1, 8, {B(LdaZero), // B(Star), R(0), // B(JumpIfToBooleanFalse), U8(4), // B(LdaSmi8), U8(3), // B(Return)}, 0}, {"var x = 0; return (x == 0) && 3;", 2 * kPointerSize, 1, 13, {B(LdaZero), // B(Star), R(0), // B(Star), R(1), // B(LdaZero), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(LdaSmi8), U8(3), // B(Return)}, 0}, {"var x = 0; return x || (1, 2, 3);", 1 * kPointerSize, 1, 8, {B(LdaZero), // B(Star), R(0), // B(JumpIfToBooleanTrue), U8(4), // B(LdaSmi8), U8(3), // B(Return)}, 0}, {"var a = 2, b = 3, c = 4; return a || (a, b, a, b, c = 5, 3);", 3 * kPointerSize, 1, 31, {B(LdaSmi8), U8(2), // B(Star), R(0), // B(LdaSmi8), U8(3), // B(Star), R(1), // B(LdaSmi8), U8(4), // B(Star), R(2), // B(Ldar), R(0), // B(JumpIfToBooleanTrue), U8(16), // B(Ldar), R(0), // B(Ldar), R(1), // B(Ldar), R(0), // B(Ldar), R(1), // B(LdaSmi8), U8(5), // B(Star), R(2), // B(LdaSmi8), U8(3), // B(Return)}, 0}, {"var x = 1; var a = 2, b = 3; return x || (" REPEAT_32(SPACE, "a = 1, b = 2, ") "3);", 3 * kPointerSize, 1, 275, {B(LdaSmi8), U8(1), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Star), R(2), // B(Ldar), R(0), // B(JumpIfToBooleanTrueConstant), U8(0), // REPEAT_32(COMMA, // B(LdaSmi8), U8(1), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(Star), R(2)), // B(LdaSmi8), U8(3), // B(Return)}, 1, {260, 0, 0, 0}}, {"var x = 0; var a = 2, b = 3; return x && (" REPEAT_32(SPACE, "a = 1, b = 2, ") "3);", 3 * kPointerSize, 1, 274, {B(LdaZero), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Star), R(2), // B(Ldar), R(0), // B(JumpIfToBooleanFalseConstant), U8(0), // REPEAT_32(COMMA, // B(LdaSmi8), U8(1), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(Star), R(2)), // B(LdaSmi8), U8(3), // B(Return)}, // 1, {260, 0, 0, 0}}, {"var x = 1; var a = 2, b = 3; return (x > 3) || (" REPEAT_32(SPACE, "a = 1, b = 2, ") "3);", 4 * kPointerSize, 1, 281, {B(LdaSmi8), U8(1), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Star), R(2), // B(Ldar), R(0), // B(Star), R(3), // B(LdaSmi8), U8(3), // B(TestGreaterThan), R(3), // B(JumpIfTrueConstant), U8(0), // REPEAT_32(COMMA, // B(LdaSmi8), U8(1), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(Star), R(2)), // B(LdaSmi8), U8(3), // B(Return)}, 1, {260, 0, 0, 0}}, {"var x = 0; var a = 2, b = 3; return (x < 5) && (" REPEAT_32(SPACE, "a = 1, b = 2, ") "3);", 4 * kPointerSize, 1, 280, {B(LdaZero), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Star), R(2), // B(Ldar), R(0), // B(Star), R(3), // B(LdaSmi8), U8(5), // B(TestLessThan), R(3), // B(JumpIfFalseConstant), U8(0), // REPEAT_32(COMMA, // B(LdaSmi8), U8(1), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(Star), R(2)), // B(LdaSmi8), U8(3), // B(Return)}, 1, {260, 0, 0, 0}}, {"return 0 && 3;", 0 * kPointerSize, 1, 2, {B(LdaZero), // B(Return)}, 0}, {"return 1 || 3;", 0 * kPointerSize, 1, 3, {B(LdaSmi8), U8(1), // B(Return)}, 0}, {"var x = 1; return x && 3 || 0, 1;", 1 * kPointerSize, 1, 14, {B(LdaSmi8), U8(1), // B(Star), R(0), // B(JumpIfToBooleanFalse), U8(4), // B(LdaSmi8), U8(3), // B(JumpIfToBooleanTrue), U8(3), // B(LdaZero), // B(LdaSmi8), U8(1), // B(Return)}, 0}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(Parameters) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"function f() { return this; }", 0, 1, 3, {B(Ldar), THIS(1), B(Return)}, 0}, {"function f(arg1) { return arg1; }", 0, 2, 3, {B(Ldar), A(1, 2), B(Return)}, 0}, {"function f(arg1) { return this; }", 0, 2, 3, {B(Ldar), THIS(2), B(Return)}, 0}, {"function f(arg1, arg2, arg3, arg4, arg5, arg6, arg7) { return arg4; }", 0, 8, 3, {B(Ldar), A(4, 8), B(Return)}, 0}, {"function f(arg1, arg2, arg3, arg4, arg5, arg6, arg7) { return this; }", 0, 8, 3, {B(Ldar), THIS(8), B(Return)}, 0}, {"function f(arg1) { arg1 = 1; }", 0, 2, 6, {B(LdaSmi8), U8(1), // B(Star), A(1, 2), // B(LdaUndefined), // B(Return)}, 0}, {"function f(arg1, arg2, arg3, arg4) { arg2 = 1; }", 0, 5, 6, {B(LdaSmi8), U8(1), // B(Star), A(2, 5), // B(LdaUndefined), // B(Return)}, 0}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunction(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(IntegerConstants) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"return 12345678;", 0, 1, 3, { B(LdaConstant), U8(0), // B(Return) // }, 1, {12345678}}, {"var a = 1234; return 5678;", 1 * kPointerSize, 1, 7, { B(LdaConstant), U8(0), // B(Star), R(0), // B(LdaConstant), U8(1), // B(Return) // }, 2, {1234, 5678}}, {"var a = 1234; return 1234;", 1 * kPointerSize, 1, 7, { B(LdaConstant), U8(0), // B(Star), R(0), // B(LdaConstant), U8(0), // B(Return) // }, 1, {1234}}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(HeapNumberConstants) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int wide_idx = 0; ExpectedSnippet<double, 257> snippets[] = { {"return 1.2;", 0, 1, 3, { B(LdaConstant), U8(0), // B(Return) // }, 1, {1.2}}, {"var a = 1.2; return 2.6;", 1 * kPointerSize, 1, 7, { B(LdaConstant), U8(0), // B(Star), R(0), // B(LdaConstant), U8(1), // B(Return) // }, 2, {1.2, 2.6}}, {"var a = 3.14; return 3.14;", 1 * kPointerSize, 1, 7, { B(LdaConstant), U8(0), // B(Star), R(0), // B(LdaConstant), U8(1), // B(Return) // }, 2, {3.14, 3.14}}, {"var a;" REPEAT_256(SPACE, " a = 1.414;") " a = 3.14;", 1 * kPointerSize, 1, 1031, { REPEAT_256(COMMA, // B(LdaConstant), U8(wide_idx++), // B(Star), R(0)), // B(LdaConstantWide), U16(wide_idx), // B(Star), R(0), // B(LdaUndefined), // B(Return), // }, 257, {REPEAT_256(COMMA, 1.414), 3.14}} }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(StringConstants) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<const char*> snippets[] = { {"return \"This is a string\";", 0, 1, 3, { B(LdaConstant), U8(0), // B(Return) // }, 1, {"This is a string"}}, {"var a = \"First string\"; return \"Second string\";", 1 * kPointerSize, 1, 7, { B(LdaConstant), U8(0), // B(Star), R(0), // B(LdaConstant), U8(1), // B(Return) // }, 2, {"First string", "Second string"}}, {"var a = \"Same string\"; return \"Same string\";", 1 * kPointerSize, 1, 7, { B(LdaConstant), U8(0), // B(Star), R(0), // B(LdaConstant), U8(0), // B(Return) // }, 1, {"Same string"}}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(PropertyLoads) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddLoadICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddLoadICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); // These are a hack used by the LoadICXXXWide tests below. int wide_idx_1 = vector->GetIndex(slot1) - 2; int wide_idx_2 = vector->GetIndex(slot1) - 2; int wide_idx_3 = vector->GetIndex(slot1) - 2; int wide_idx_4 = vector->GetIndex(slot1) - 2; ExpectedSnippet<const char*> snippets[] = { {"function f(a) { return a.name; }\nf({name : \"test\"})", 1 * kPointerSize, 2, 9, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICSloppy), R(0), U8(0), U8(vector->GetIndex(slot1)), // B(Return), // }, 1, {"name"}}, {"function f(a) { return a[\"key\"]; }\nf({key : \"test\"})", 1 * kPointerSize, 2, 9, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICSloppy), R(0), U8(0), U8(vector->GetIndex(slot1)), // B(Return) // }, 1, {"key"}}, {"function f(a) { return a[100]; }\nf({100 : \"test\"})", 1 * kPointerSize, 2, 10, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaSmi8), U8(100), // B(KeyedLoadICSloppy), R(0), U8(vector->GetIndex(slot1)), // B(Return) // }, 0}, {"function f(a, b) { return a[b]; }\nf({arg : \"test\"}, \"arg\")", 1 * kPointerSize, 3, 10, { B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(1, 2), // B(KeyedLoadICSloppy), R(0), U8(vector->GetIndex(slot1)), // B(Return) // }, 0}, {"function f(a) { var b = a.name; return a[-124]; }\n" "f({\"-124\" : \"test\", name : 123 })", 2 * kPointerSize, 2, 20, { B(Ldar), A(1, 2), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(0), U8(vector->GetIndex(slot1)), // B(Star), R(0), // B(Ldar), A(1, 2), // B(Star), R(1), // B(LdaSmi8), U8(-124), // B(KeyedLoadICSloppy), R(1), U8(vector->GetIndex(slot2)), // B(Return), // }, 1, {"name"}}, {"function f(a) { \"use strict\"; return a.name; }\nf({name : \"test\"})", 1 * kPointerSize, 2, 9, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICStrict), R(0), U8(0), U8(vector->GetIndex(slot1)), // B(Return), // }, 1, {"name"}}, {"function f(a, b) { \"use strict\"; return a[b]; }\n" "f({arg : \"test\"}, \"arg\")", 1 * kPointerSize, 3, 10, { B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(KeyedLoadICStrict), R(0), U8(vector->GetIndex(slot1)), // B(Return), // }, 0}, {"function f(a) {\n" " var b;\n" "b = a.name;" REPEAT_127(SPACE, " b = a.name; ") " return a.name; }\n" "f({name : \"test\"})\n", 2 * kPointerSize, 2, 1291, { B(Ldar), A(1, 2), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(0), U8(wide_idx_1 += 2), // B(Star), R(0), // REPEAT_127(COMMA, // B(Ldar), A(1, 2), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(0), // U8((wide_idx_1 += 2)), // B(Star), R(0)), // B(Ldar), A(1, 2), // B(Star), R(1), // B(LoadICSloppyWide), R(1), U16(0), U16(wide_idx_1 + 2), // B(Return), // }, 1, {"name"}}, {"function f(a) {\n" " 'use strict'; var b;\n" " b = a.name;\n" REPEAT_127(SPACE, " b = a.name; ") " return a.name; }\n" "f({name : \"test\"})\n", 2 * kPointerSize, 2, 1291, { B(Ldar), A(1, 2), // B(Star), R(1), // B(LoadICStrict), R(1), U8(0), U8((wide_idx_2 += 2)), // B(Star), R(0), // REPEAT_127(COMMA, // B(Ldar), A(1, 2), // B(Star), R(1), // B(LoadICStrict), R(1), U8(0), // U8((wide_idx_2 += 2)), // B(Star), R(0)), // B(Ldar), A(1, 2), // B(Star), R(1), // B(LoadICStrictWide), R(1), U16(0), U16(wide_idx_2 + 2), // B(Return), // }, 1, {"name"}}, {"function f(a, b) {\n" " var c;\n" " c = a[b];" REPEAT_127(SPACE, " c = a[b]; ") " return a[b]; }\n" "f({name : \"test\"}, \"name\")\n", 2 * kPointerSize, 3, 1419, { B(Ldar), A(1, 3), // B(Star), R(1), // B(Ldar), A(2, 3), // B(KeyedLoadICSloppy), R(1), U8((wide_idx_3 += 2)), // B(Star), R(0), // REPEAT_127(COMMA, // B(Ldar), A(1, 3), // B(Star), R(1), // B(Ldar), A(2, 3), // B(KeyedLoadICSloppy), R(1), U8((wide_idx_3 += 2)), // B(Star), R(0)), // B(Ldar), A(1, 3), // B(Star), R(1), // B(Ldar), A(2, 3), // B(KeyedLoadICSloppyWide), R(1), U16(wide_idx_3 + 2), // B(Return), // }}, {"function f(a, b) {\n" " 'use strict'; var c;\n" " c = a[b];" REPEAT_127(SPACE, " c = a[b]; ") " return a[b]; }\n" "f({name : \"test\"}, \"name\")\n", 2 * kPointerSize, 3, 1419, { B(Ldar), A(1, 3), // B(Star), R(1), // B(Ldar), A(2, 3), // B(KeyedLoadICStrict), R(1), U8((wide_idx_4 += 2)), // B(Star), R(0), // REPEAT_127(COMMA, // B(Ldar), A(1, 3), // B(Star), R(1), // B(Ldar), A(2, 3), // B(KeyedLoadICStrict), R(1), U8((wide_idx_4 += 2)), // B(Star), R(0)), // B(Ldar), A(1, 3), // B(Star), R(1), // B(Ldar), A(2, 3), // B(KeyedLoadICStrictWide), R(1), U16(wide_idx_4 + 2), // B(Return), // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, helper.kFunctionName); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(PropertyStores) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddStoreICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddStoreICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); // These are a hack used by the StoreICXXXWide tests below. int wide_idx_1 = vector->GetIndex(slot1) - 2; int wide_idx_2 = vector->GetIndex(slot1) - 2; int wide_idx_3 = vector->GetIndex(slot1) - 2; int wide_idx_4 = vector->GetIndex(slot1) - 2; ExpectedSnippet<const char*> snippets[] = { {"function f(a) { a.name = \"val\"; }\nf({name : \"test\"})", kPointerSize, 2, 12, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaConstant), U8(0), // B(StoreICSloppy), R(0), U8(1), U8(vector->GetIndex(slot1)), // B(LdaUndefined), // B(Return), // }, 2, {"val", "name"}}, {"function f(a) { a[\"key\"] = \"val\"; }\nf({key : \"test\"})", kPointerSize, 2, 12, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaConstant), U8(0), // B(StoreICSloppy), R(0), U8(1), U8(vector->GetIndex(slot1)), // B(LdaUndefined), // B(Return), // }, 2, {"val", "key"}}, {"function f(a) { a[100] = \"val\"; }\nf({100 : \"test\"})", 2 * kPointerSize, 2, 16, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaSmi8), U8(100), // B(Star), R(1), // B(LdaConstant), U8(0), // B(KeyedStoreICSloppy), R(0), R(1), // U8(vector->GetIndex(slot1)), // B(LdaUndefined), // B(Return), // }, 1, {"val"}}, {"function f(a, b) { a[b] = \"val\"; }\nf({arg : \"test\"}, \"arg\")", 2 * kPointerSize, 3, 16, { B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(Star), R(1), // B(LdaConstant), U8(0), // B(KeyedStoreICSloppy), R(0), R(1), // U8(vector->GetIndex(slot1)), // B(LdaUndefined), // B(Return), // }, 1, {"val"}}, {"function f(a) { a.name = a[-124]; }\n" "f({\"-124\" : \"test\", name : 123 })", 2 * kPointerSize, 2, 19, { B(Ldar), A(1, 2), // B(Star), R(0), // B(Ldar), A(1, 2), // B(Star), R(1), // B(LdaSmi8), U8(-124), // B(KeyedLoadICSloppy), R(1), U8(vector->GetIndex(slot1)), // B(StoreICSloppy), R(0), U8(0), U8(vector->GetIndex(slot2)), // B(LdaUndefined), // B(Return), // }, 1, {"name"}}, {"function f(a) { \"use strict\"; a.name = \"val\"; }\n" "f({name : \"test\"})", kPointerSize, 2, 12, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaConstant), U8(0), // B(StoreICStrict), R(0), U8(1), U8(vector->GetIndex(slot1)), // B(LdaUndefined), // B(Return), // }, 2, {"val", "name"}}, {"function f(a, b) { \"use strict\"; a[b] = \"val\"; }\n" "f({arg : \"test\"}, \"arg\")", 2 * kPointerSize, 3, 16, { B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(Star), R(1), // B(LdaConstant), U8(0), // B(KeyedStoreICStrict), R(0), R(1), U8(vector->GetIndex(slot1)), // B(LdaUndefined), // B(Return), // }, 1, {"val"}}, {"function f(a) {\n" "a.name = 1;" REPEAT_127(SPACE, " a.name = 1; ") " a.name = 2; }\n" "f({name : \"test\"})\n", kPointerSize, 2, 1294, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(StoreICSloppy), R(0), U8(0), U8((wide_idx_1 += 2)), // REPEAT_127(COMMA, // B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(StoreICSloppy), R(0), U8(0), // U8((wide_idx_1 += 2))), // B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(StoreICSloppyWide), R(0), U16(0), U16(wide_idx_1 + 2), // B(LdaUndefined), // B(Return), // }, 1, {"name"}}, {"function f(a) {\n" " 'use strict';\n" " a.name = 1;" REPEAT_127(SPACE, " a.name = 1; ") " a.name = 2; }\n" "f({name : \"test\"})\n", kPointerSize, 2, 1294, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(StoreICStrict), R(0), U8(0), U8(wide_idx_2 += 2), // REPEAT_127(COMMA, // B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(StoreICStrict), R(0), U8(0), // U8((wide_idx_2 += 2))), // B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(StoreICStrictWide), R(0), U16(0), U16(wide_idx_2 + 2), // B(LdaUndefined), // B(Return), // }, 1, {"name"}}, {"function f(a, b) {\n" " a[b] = 1;" REPEAT_127(SPACE, " a[b] = 1; ") " a[b] = 2; }\n" "f({name : \"test\"})\n", 2 * kPointerSize, 3, 1809, { B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(KeyedStoreICSloppy), R(0), R(1), U8(wide_idx_3 += 2), // REPEAT_127(COMMA, // B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(KeyedStoreICSloppy), R(0), R(1), // U8((wide_idx_3 += 2))), // B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(KeyedStoreICSloppyWide), R(0), R(1), U16(wide_idx_3 + 2), // B(LdaUndefined), // B(Return), // }}, {"function f(a, b) {\n" " 'use strict';\n" " a[b] = 1;" REPEAT_127(SPACE, " a[b] = 1; ") " a[b] = 2; }\n" "f({name : \"test\"})\n", 2 * kPointerSize, 3, 1809, { B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(KeyedStoreICStrict), R(0), R(1), U8(wide_idx_4 += 2), // REPEAT_127(COMMA, // B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(KeyedStoreICStrict), R(0), R(1), // U8((wide_idx_4 += 2))), // B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(KeyedStoreICStrictWide), R(0), R(1), U16(wide_idx_4 + 2), // B(LdaUndefined), // B(Return), // }}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, helper.kFunctionName); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } #define FUNC_ARG "new (function Obj() { this.func = function() { return; }})()" TEST(PropertyCall) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddCallICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddLoadICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); // These are a hack used by the CallWide test below. int wide_idx = vector->GetIndex(slot1) - 2; ExpectedSnippet<const char*> snippets[] = { {"function f(a) { return a.func(); }\nf(" FUNC_ARG ")", 2 * kPointerSize, 2, 16, { B(Ldar), A(1, 2), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(0), U8(vector->GetIndex(slot2)), // B(Star), R(0), // B(Call), R(0), R(1), U8(0), U8(vector->GetIndex(slot1)), // B(Return), // }, 1, {"func"}}, {"function f(a, b, c) { return a.func(b, c); }\nf(" FUNC_ARG ", 1, 2)", 4 * kPointerSize, 4, 24, { B(Ldar), A(1, 4), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(0), U8(vector->GetIndex(slot2)), // B(Star), R(0), // B(Ldar), A(2, 4), // B(Star), R(2), // B(Ldar), A(3, 4), // B(Star), R(3), // B(Call), R(0), R(1), U8(2), U8(vector->GetIndex(slot1)), // B(Return) // }, 1, {"func"}}, {"function f(a, b) { return a.func(b + b, b); }\nf(" FUNC_ARG ", 1)", 4 * kPointerSize, 3, 30, { B(Ldar), A(1, 3), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(0), U8(vector->GetIndex(slot2)), // B(Star), R(0), // B(Ldar), A(2, 3), // B(Star), R(3), // B(Ldar), A(2, 3), // B(Add), R(3), // B(Star), R(2), // B(Ldar), A(2, 3), // B(Star), R(3), // B(Call), R(0), R(1), U8(2), U8(vector->GetIndex(slot1)), // B(Return), // }, 1, {"func"}}, {"function f(a) {\n" " a.func;\n" REPEAT_127( SPACE, " a.func;\n") " return a.func(); }\nf(" FUNC_ARG ")", 2 * kPointerSize, 2, 1046, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICSloppy), R(0), U8(0), U8(wide_idx += 2), // REPEAT_127(COMMA, // B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICSloppy), R(0), U8(0), U8((wide_idx += 2))), // B(Ldar), A(1, 2), // B(Star), R(1), // B(LoadICSloppyWide), R(1), U16(0), U16(wide_idx + 4), // B(Star), R(0), // B(CallWide), R16(0), R16(1), U16(0), U16(wide_idx + 2), // B(Return), // }, 1, {"func"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, helper.kFunctionName); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(LoadGlobal) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot = feedback_spec.AddLoadICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); // These are a hack used by the LdaGlobalXXXWide tests below. int wide_idx_1 = vector->GetIndex(slot) - 2; int wide_idx_2 = vector->GetIndex(slot) - 2; ExpectedSnippet<const char*> snippets[] = { {"var a = 1;\nfunction f() { return a; }\nf()", 0, 1, 4, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot)), // B(Return) // }, 1, {"a"}}, {"function t() { }\nfunction f() { return t; }\nf()", 0, 1, 4, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot)), // B(Return) // }, 1, {"t"}}, {"'use strict'; var a = 1;\nfunction f() { return a; }\nf()", 0, 1, 4, { B(LdaGlobalStrict), U8(0), U8(vector->GetIndex(slot)), // B(Return) // }, 1, {"a"}}, {"a = 1;\nfunction f() { return a; }\nf()", 0, 1, 4, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot)), // B(Return) // }, 1, {"a"}}, {"a = 1;" "function f(b) {\n" " b.name;\n" REPEAT_127(SPACE, "b.name; ") " return a;" "}\nf({name: 1});", kPointerSize, 2, 1030, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICSloppy), R(0), U8(0), U8(wide_idx_1 += 2), // REPEAT_127(COMMA, // B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICSloppy), R(0), U8(0), U8(wide_idx_1 += 2)), // B(LdaGlobalSloppyWide), U16(1), U16(wide_idx_1 + 2), // B(Return), // }, 2, {"name", "a"}}, {"a = 1;" "function f(b) {\n" " 'use strict';\n" " b.name\n" REPEAT_127(SPACE, "b.name; ") " return a;" "}\nf({name: 1});", kPointerSize, 2, 1030, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICStrict), R(0), U8(0), U8(wide_idx_2 += 2), // REPEAT_127(COMMA, // B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICStrict), R(0), U8(0), U8(wide_idx_2 += 2)), // B(LdaGlobalStrictWide), U16(1), U16(wide_idx_2 + 2), // B(Return), // }, 2, {"name", "a"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(StoreGlobal) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot = feedback_spec.AddStoreICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); // These are a hack used by the StaGlobalXXXWide tests below. int wide_idx_1 = vector->GetIndex(slot) - 2; int wide_idx_2 = vector->GetIndex(slot) - 2; ExpectedSnippet<const char*> snippets[] = { {"var a = 1;\nfunction f() { a = 2; }\nf()", 0, 1, 7, { B(LdaSmi8), U8(2), // B(StaGlobalSloppy), U8(0), U8(vector->GetIndex(slot)), // B(LdaUndefined), // B(Return) // }, 1, {"a"}}, {"var a = \"test\"; function f(b) { a = b; }\nf(\"global\")", 0, 2, 7, { B(Ldar), R(helper.kLastParamIndex), // B(StaGlobalSloppy), U8(0), U8(vector->GetIndex(slot)), // B(LdaUndefined), // B(Return) // }, 1, {"a"}}, {"'use strict'; var a = 1;\nfunction f() { a = 2; }\nf()", 0, 1, 7, { B(LdaSmi8), U8(2), // B(StaGlobalStrict), U8(0), U8(vector->GetIndex(slot)), // B(LdaUndefined), // B(Return) // }, 1, {"a"}}, {"a = 1;\nfunction f() { a = 2; }\nf()", 0, 1, 7, { B(LdaSmi8), U8(2), // B(StaGlobalSloppy), U8(0), U8(vector->GetIndex(slot)), // B(LdaUndefined), // B(Return) // }, 1, {"a"}}, {"a = 1;" "function f(b) {" " b.name;\n" REPEAT_127(SPACE, "b.name; ") " a = 2; }\n" "f({name: 1});", kPointerSize, 2, 1033, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICSloppy), R(0), U8(0), U8(wide_idx_1 += 2), // REPEAT_127(COMMA, // B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICSloppy), R(0), U8(0), U8(wide_idx_1 += 2)), // B(LdaSmi8), U8(2), // B(StaGlobalSloppyWide), U16(1), U16(wide_idx_1 + 2), // B(LdaUndefined), // B(Return), // }, 2, {"name", "a"}}, {"a = 1;" "function f(b) {\n" " 'use strict';\n" " b.name;\n" REPEAT_127(SPACE, "b.name; ") " a = 2; }\n" "f({name: 1});", kPointerSize, 2, 1033, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICStrict), R(0), U8(0), U8(wide_idx_2 += 2), // REPEAT_127(COMMA, // B(Ldar), A(1, 2), // B(Star), R(0), // B(LoadICStrict), R(0), U8(0), U8(wide_idx_2 += 2)), // B(LdaSmi8), U8(2), // B(StaGlobalStrictWide), U16(1), U16(wide_idx_2 + 2), // B(LdaUndefined), // B(Return), // }, 2, {"name", "a"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(CallGlobal) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddCallICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddLoadICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<const char*> snippets[] = { {"function t() { }\nfunction f() { return t(); }\nf()", 2 * kPointerSize, 1, 14, { B(LdaUndefined), // B(Star), R(1), // B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Star), R(0), // B(Call), R(0), R(1), U8(0), U8(vector->GetIndex(slot1)), // B(Return) // }, 1, {"t"}}, {"function t(a, b, c) { }\nfunction f() { return t(1, 2, 3); }\nf()", 5 * kPointerSize, 1, 26, { B(LdaUndefined), // B(Star), R(1), // B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(2), // B(LdaSmi8), U8(2), // B(Star), R(3), // B(LdaSmi8), U8(3), // B(Star), R(4), // B(Call), R(0), R(1), U8(3), U8(vector->GetIndex(slot1)), // B(Return) // }, 1, {"t"}}, }; size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); for (size_t i = 0; i < num_snippets; i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(CallRuntime) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<InstanceType> snippets[] = { { "function f() { %TheHole() }\nf()", 0, 1, 7, { B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0), // B(LdaUndefined), // B(Return) // }, }, { "function f(a) { return %IsArray(a) }\nf(undefined)", 1 * kPointerSize, 2, 10, { B(Ldar), A(1, 2), // B(Star), R(0), // B(CallRuntime), U16(Runtime::kIsArray), R(0), U8(1), // B(Return) // }, }, { "function f() { return %Add(1, 2) }\nf()", 2 * kPointerSize, 1, 14, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(CallRuntime), U16(Runtime::kAdd), R(0), U8(2), // B(Return) // }, }, { "function f() { return %spread_iterable([1]) }\nf()", 2 * kPointerSize, 1, 15, { B(LdaUndefined), // B(Star), R(0), // B(CreateArrayLiteral), U8(0), U8(0), U8(3), // B(Star), R(1), // B(CallJSRuntime), U16(Context::SPREAD_ITERABLE_INDEX), R(0), // U8(1), // B(Return), // }, 1, {InstanceType::FIXED_ARRAY_TYPE}, }, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(IfConditions) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Handle<Object> unused = helper.factory()->undefined_value(); ExpectedSnippet<Handle<Object>> snippets[] = { {"function f() { if (0) { return 1; } else { return -1; } } f()", 0, 1, 3, { B(LdaSmi8), U8(-1), // B(Return), // }, 0, {unused, unused, unused, unused, unused, unused}}, {"function f() { if ('lucky') { return 1; } else { return -1; } } f();", 0, 1, 3, { B(LdaSmi8), U8(1), // B(Return), // }, 0, {unused, unused, unused, unused, unused, unused}}, {"function f() { if (false) { return 1; } else { return -1; } } f();", 0, 1, 3, { B(LdaSmi8), U8(-1), // B(Return), // }, 0, {unused, unused, unused, unused, unused, unused}}, {"function f() { if (false) { return 1; } } f();", 0, 1, 2, { B(LdaUndefined), // B(Return), // }, 0, {unused, unused, unused, unused, unused, unused}}, {"function f() { var a = 1; if (a) { a += 1; } else { return 2; } } f();", 2 * kPointerSize, 1, 23, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(JumpIfToBooleanFalse), U8(14), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(5), // B(LdaSmi8), U8(2), // B(Return), // B(LdaUndefined), // B(Return), // }, 0, {unused, unused, unused, unused, unused, unused}}, {"function f(a) { if (a <= 0) { return 200; } else { return -200; } }" "f(99);", kPointerSize, 2, 17, { B(Ldar), A(1, 2), // B(Star), R(0), // B(LdaZero), // B(TestLessThanOrEqual), R(0), // B(JumpIfFalse), U8(5), // B(LdaConstant), U8(0), // B(Return), // B(LdaConstant), U8(1), // B(Return), // B(LdaUndefined), // B(Return), // }, 2, {helper.factory()->NewNumberFromInt(200), helper.factory()->NewNumberFromInt(-200), unused, unused, unused, unused}}, {"function f(a, b) { if (a in b) { return 200; } }" "f('prop', { prop: 'yes'});", kPointerSize, 3, 15, { B(Ldar), A(1, 3), // B(Star), R(0), // B(Ldar), A(2, 3), // B(TestIn), R(0), // B(JumpIfFalse), U8(5), // B(LdaConstant), U8(0), // B(Return), // B(LdaUndefined), // B(Return), // }, 1, {helper.factory()->NewNumberFromInt(200), unused, unused, unused, unused, unused}}, {"function f(z) { var a = 0; var b = 0; if (a === 0.01) { " REPEAT_64(SPACE, "b = a; a = b; ") " return 200; } else { return -200; } } f(0.001)", 3 * kPointerSize, 2, 282, { B(LdaZero), // B(Star), R(0), // B(LdaZero), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaConstant), U8(0), // B(TestEqualStrict), R(2), // B(JumpIfFalseConstant), U8(2), // B(Ldar), R(0), // REPEAT_64(COMMA, // B(Star), R(1), // B(Star), R(0)), // B(LdaConstant), U8(1), // B(Return), // B(LdaConstant), U8(3), // B(Return), // B(LdaUndefined), // B(Return)}, // 4, {helper.factory()->NewHeapNumber(0.01), helper.factory()->NewNumberFromInt(200), helper.factory()->NewNumberFromInt(263), helper.factory()->NewNumberFromInt(-200), unused, unused}}, {"function f() { var a = 0; var b = 0; if (a) { " REPEAT_64(SPACE, "b = a; a = b; ") " return 200; } else { return -200; } } f()", 2 * kPointerSize, 1, 276, { B(LdaZero), // B(Star), R(0), // B(LdaZero), // B(Star), R(1), // B(Ldar), R(0), // B(JumpIfToBooleanFalseConstant), U8(1), // B(Ldar), R(0), // REPEAT_64(COMMA, // B(Star), R(1), // B(Star), R(0)), // B(LdaConstant), U8(0), // B(Return), // B(LdaConstant), U8(2), // B(Return), // B(LdaUndefined), // B(Return)}, // 3, {helper.factory()->NewNumberFromInt(200), helper.factory()->NewNumberFromInt(263), helper.factory()->NewNumberFromInt(-200), unused, unused, unused}}, {"function f(a, b) {\n" " if (a == b) { return 1; }\n" " if (a === b) { return 1; }\n" " if (a < b) { return 1; }\n" " if (a > b) { return 1; }\n" " if (a <= b) { return 1; }\n" " if (a >= b) { return 1; }\n" " if (a in b) { return 1; }\n" " if (a instanceof b) { return 1; }\n" " return 0;\n" "} f(1, 1);", kPointerSize, 3, 106, { #define IF_CONDITION_RETURN(condition) \ B(Ldar), A(1, 3), \ B(Star), R(0), \ B(Ldar), A(2, 3), \ B(condition), R(0), \ B(JumpIfFalse), U8(5), \ B(LdaSmi8), U8(1), \ B(Return), IF_CONDITION_RETURN(TestEqual) // IF_CONDITION_RETURN(TestEqualStrict) // IF_CONDITION_RETURN(TestLessThan) // IF_CONDITION_RETURN(TestGreaterThan) // IF_CONDITION_RETURN(TestLessThanOrEqual) // IF_CONDITION_RETURN(TestGreaterThanOrEqual) // IF_CONDITION_RETURN(TestIn) // IF_CONDITION_RETURN(TestInstanceOf) // B(LdaZero), // B(Return)}, // #undef IF_CONDITION_RETURN 0, {unused, unused, unused, unused, unused, unused}}, {"function f() {" " var a = 0;" " if (a) {" " return 20;" "} else {" " return -20;}" "};" "f();", 1 * kPointerSize, 1, 13, { B(LdaZero), // B(Star), R(0), // B(JumpIfToBooleanFalse), U8(5), // B(LdaSmi8), U8(20), // B(Return), // B(LdaSmi8), U8(-20), // B(Return), // B(LdaUndefined), // B(Return) }, 0, {unused, unused, unused, unused, unused, unused}}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, helper.kFunctionName); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(DeclareGlobals) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; // Create different feedback vector specs to be precise on slot numbering. FeedbackVectorSpec feedback_spec_stores(&zone); FeedbackVectorSlot store_slot_1 = feedback_spec_stores.AddStoreICSlot(); FeedbackVectorSlot store_slot_2 = feedback_spec_stores.AddStoreICSlot(); USE(store_slot_1); Handle<i::TypeFeedbackVector> store_vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec_stores); FeedbackVectorSpec feedback_spec_loads(&zone); FeedbackVectorSlot load_slot_1 = feedback_spec_loads.AddLoadICSlot(); FeedbackVectorSlot call_slot_1 = feedback_spec_loads.AddCallICSlot(); Handle<i::TypeFeedbackVector> load_vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec_loads); ExpectedSnippet<InstanceType> snippets[] = { {"var a = 1;", 4 * kPointerSize, 1, 30, { B(LdaConstant), U8(0), // B(Star), R(1), // B(LdaZero), // B(Star), R(2), // B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), // B(LdaConstant), U8(1), // B(Star), R(1), // B(LdaZero), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Star), R(3), // B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), // B(LdaUndefined), // B(Return) // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"function f() {}", 2 * kPointerSize, 1, 14, { B(LdaConstant), U8(0), // B(Star), R(0), // B(LdaZero), // B(Star), R(1), // B(CallRuntime), U16(Runtime::kDeclareGlobals), R(0), U8(2), // B(LdaUndefined), // B(Return) // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"var a = 1;\na=2;", 4 * kPointerSize, 1, 36, { B(LdaConstant), U8(0), // B(Star), R(1), // B(LdaZero), // B(Star), R(2), // B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), // B(LdaConstant), U8(1), // B(Star), R(1), // B(LdaZero), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Star), R(3), // B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), // B(LdaSmi8), U8(2), // B(StaGlobalSloppy), U8(1), // U8(store_vector->GetIndex(store_slot_2)), // B(Star), R(0), // B(Return) // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"function f() {}\nf();", 3 * kPointerSize, 1, 28, { B(LdaConstant), U8(0), // B(Star), R(1), // B(LdaZero), // B(Star), R(2), // B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), // B(LdaUndefined), // B(Star), R(2), // B(LdaGlobalSloppy), U8(1), // U8(load_vector->GetIndex(load_slot_1)), // B(Star), R(1), // B(Call), R(1), R(2), U8(0), // U8(load_vector->GetIndex(call_slot_1)), // B(Star), R(0), // B(Return) // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeTopLevelBytecode(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(BreakableBlocks) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int closure = Register::function_closure().index(); int context = Register::current_context().index(); ExpectedSnippet<InstanceType> snippets[] = { {"var x = 0;\n" "label: {\n" " x = x + 1;\n" " break label;\n" " x = x + 1;\n" "}\n" "return x;", 2 * kPointerSize, 1, 16, { B(LdaZero), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(2), // B(Ldar), R(0), // B(Return) // }}, {"var sum = 0;\n" "outer: {\n" " for (var x = 0; x < 10; ++x) {\n" " for (var y = 0; y < 3; ++y) {\n" " ++sum;\n" " if (x + y == 12) { break outer; }\n" " }\n" " }\n" "}\n" "return sum;", 5 * kPointerSize, 1, 72, { B(LdaZero), // B(Star), R(0), // B(LdaZero), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(3), // B(LdaSmi8), U8(10), // B(TestLessThan), R(3), // B(JumpIfFalse), U8(55), // B(LdaZero), // B(Star), R(2), // B(Ldar), R(2), // B(Star), R(3), // B(LdaSmi8), U8(3), // B(TestLessThan), R(3), // B(JumpIfFalse), U8(34), // B(Ldar), R(0), // B(ToNumber), // B(Inc), // B(Star), R(0), // B(Ldar), R(1), // B(Star), R(3), // B(Ldar), R(2), // B(Add), R(3), // B(Star), R(4), // B(LdaSmi8), U8(12), // B(TestEqual), R(4), // B(JumpIfFalse), U8(4), // B(Jump), U8(18), // B(Ldar), R(2), // B(ToNumber), // B(Inc), // B(Star), R(2), // B(Jump), U8(-40), // B(Ldar), R(1), // B(ToNumber), // B(Inc), // B(Star), R(1), // B(Jump), U8(-61), // B(Ldar), R(0), // B(Return), // }}, {"outer: {\n" " let y = 10;" " function f() { return y; }\n" " break outer;\n" "}\n", 5 * kPointerSize, 1, 39, { B(LdaConstant), U8(0), // B(Star), R(3), // B(Ldar), R(closure), // B(Star), R(4), // B(CallRuntime), U16(Runtime::kPushBlockContext), R(3), U8(2), // B(PushContext), R(2), // B(LdaTheHole), // B(StaContextSlot), R(context), U8(4), // B(CreateClosure), U8(1), U8(0), // B(Star), R(0), // B(LdaSmi8), U8(10), // B(StaContextSlot), R(context), U8(4), // B(Ldar), R(0), // B(Star), R(1), // B(Jump), U8(2), // B(PopContext), R(2), // B(LdaUndefined), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"let x = 1;\n" "outer: {\n" " inner: {\n" " let y = 2;\n" " function f() { return x + y; }\n" " if (y) break outer;\n" " y = 3;\n" " }\n" "}\n" "x = 4;", 6 * kPointerSize, 1, 72, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(2), // B(LdaTheHole), // B(StaContextSlot), R(context), U8(4), // B(LdaSmi8), U8(1), // B(StaContextSlot), R(context), U8(4), // B(LdaConstant), U8(0), // B(Star), R(4), // B(Ldar), R(closure), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), // B(PushContext), R(3), // B(LdaTheHole), // B(StaContextSlot), R(context), U8(4), // B(CreateClosure), U8(1), U8(0), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(StaContextSlot), R(context), U8(4), // B(Ldar), R(0), // B(Star), R(1), // B(LdaContextSlot), R(context), U8(4), // B(JumpIfToBooleanFalse), U8(6), // B(PopContext), R(3), // B(Jump), U8(9), // B(LdaSmi8), U8(3), // B(StaContextSlot), R(context), U8(4), // B(PopContext), R(3), // B(LdaSmi8), U8(4), // B(StaContextSlot), R(context), U8(4), // B(LdaUndefined), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(BasicLoops) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int closure = Register::function_closure().index(); int context = Register::current_context().index(); ExpectedSnippet<InstanceType> snippets[] = { {"var x = 0;\n" "while (false) { x = 99; break; continue; }\n" "return x;", 1 * kPointerSize, 1, 4, { B(LdaZero), // B(Star), R(0), // B(Return) // }}, {"var x = 0;" "while (false) {" " x = x + 1;" "};" "return x;", 1 * kPointerSize, 1, 4, { B(LdaZero), // B(Star), R(0), // B(Return), // }, 0}, {"var x = 0;" "var y = 1;" "while (x < 10) {" " y = y * 12;" " x = x + 1;" " if (x == 3) continue;" " if (x == 4) break;" "}" "return y;", 3 * kPointerSize, 1, 64, { B(LdaZero), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(10), // B(TestLessThan), R(2), // B(JumpIfFalse), U8(46), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(12), // B(Mul), R(2), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Add), R(2), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(3), // B(TestEqual), R(2), // B(JumpIfFalse), U8(4), // B(Jump), U8(-38), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(4), // B(TestEqual), R(2), // B(JumpIfFalse), U8(4), // B(Jump), U8(4), // B(Jump), U8(-52), // B(Ldar), R(1), // B(Return), // }, 0}, {"var i = 0;" "while (true) {" " if (i < 0) continue;" " if (i == 3) break;" " if (i == 4) break;" " if (i == 10) continue;" " if (i == 5) break;" " i = i + 1;" "}" "return i;", 2 * kPointerSize, 1, 77, { B(LdaZero), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(1), // B(LdaZero), // B(TestLessThan), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(-9), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(50), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(4), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(38), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(10), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(-45), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(5), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(14), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(-69), // B(Ldar), R(0), // B(Return), // }, 0}, {"var i = 0;" "while (true) {" " while (i < 3) {" " if (i == 2) break;" " i = i + 1;" " }" " i = i + 1;" " break;" "}" "return i;", 2 * kPointerSize, 1, 54, { B(LdaZero), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(TestLessThan), R(1), // B(JumpIfFalse), U8(26), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(14), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(-32), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(4), // B(Jump), U8(-46), // B(Ldar), R(0), // B(Return), // }, 0}, {"var x = 10;" "var y = 1;" "while (x) {" " y = y * 12;" " x = x - 1;" "}" "return y;", 3 * kPointerSize, 1, 37, { B(LdaSmi8), U8(10), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Ldar), R(0), // B(JumpIfToBooleanFalse), U8(24), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(12), // B(Mul), R(2), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Sub), R(2), // B(Star), R(0), // B(Jump), U8(-24), // B(Ldar), R(1), // B(Return), // }, 0}, {"var x = 0; var y = 1;" "do {" " y = y * 10;" " if (x == 5) break;" " if (x == 6) continue;" " x = x + 1;" "} while (x < 10);" "return y;", 3 * kPointerSize, 1, 64, { B(LdaZero), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(10), // B(Mul), R(2), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(5), // B(TestEqual), R(2), // B(JumpIfFalse), U8(4), // B(Jump), U8(34), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(6), // B(TestEqual), R(2), // B(JumpIfFalse), U8(4), // B(Jump), U8(12), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Add), R(2), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(10), // B(TestLessThan), R(2), // B(JumpIfTrue), U8(-52), // B(Ldar), R(1), // B(Return), // }, 0}, {"var x = 10;" "var y = 1;" "do {" " y = y * 12;" " x = x - 1;" "} while (x);" "return y;", 3 * kPointerSize, 1, 35, { B(LdaSmi8), U8(10), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(12), // B(Mul), R(2), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Sub), R(2), // B(Star), R(0), // B(Ldar), R(0), // B(JumpIfToBooleanTrue), U8(-22), // B(Ldar), R(1), // B(Return), // }, 0}, {"var x = 0; var y = 1;" "do {" " y = y * 10;" " if (x == 5) break;" " x = x + 1;" " if (x == 6) continue;" "} while (false);" "return y;", 3 * kPointerSize, 1, 52, { B(LdaZero), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(10), // B(Mul), R(2), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(5), // B(TestEqual), R(2), // B(JumpIfFalse), U8(4), // B(Jump), U8(22), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Add), R(2), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(6), // B(TestEqual), R(2), // B(JumpIfFalse), U8(4), // B(Jump), U8(2), // B(Ldar), R(1), // B(Return), // }, 0}, {"var x = 0; var y = 1;" "do {" " y = y * 10;" " if (x == 5) break;" " x = x + 1;" " if (x == 6) continue;" "} while (true);" "return y;", 3 * kPointerSize, 1, 54, { B(LdaZero), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(10), // B(Mul), R(2), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(5), // B(TestEqual), R(2), // B(JumpIfFalse), U8(4), // B(Jump), U8(24), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Add), R(2), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(6), // B(TestEqual), R(2), // B(JumpIfFalse), U8(4), // B(Jump), U8(-40), // B(Jump), U8(-42), // B(Ldar), R(1), // B(Return), // }, 0}, {"var x = 0; " "for (;;) {" " if (x == 1) break;" " if (x == 2) continue;" " x = x + 1;" "}", 2 * kPointerSize, 1, 41, { B(LdaZero), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(26), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(-22), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(-34), // B(LdaUndefined), // B(Return), // }, 0}, {"for (var x = 0;;) {" " if (x == 1) break;" " if (x == 2) continue;" " x = x + 1;" "}", 2 * kPointerSize, 1, 41, { B(LdaZero), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(26), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(-22), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(-34), // B(LdaUndefined), // B(Return), // }, 0}, {"var x = 0; " "for (;; x = x + 1) {" " if (x == 1) break;" " if (x == 2) continue;" "}", 2 * kPointerSize, 1, 41, { B(LdaZero), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(26), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(2), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(-34), // B(LdaUndefined), // B(Return), // }, 0}, {"for (var x = 0;; x = x + 1) {" " if (x == 1) break;" " if (x == 2) continue;" "}", 2 * kPointerSize, 1, 41, { B(LdaZero), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(26), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(TestEqual), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(2), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(-34), // B(LdaUndefined), // B(Return), // }, 0}, {"var u = 0;" "for (var i = 0; i < 100; i = i + 1) {" " u = u + 1;" " continue;" "}", 3 * kPointerSize, 1, 42, { B(LdaZero), // B(Star), R(0), // B(LdaZero), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(100), // B(TestLessThan), R(2), // B(JumpIfFalse), U8(26), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Add), R(2), // B(Star), R(0), // B(Jump), U8(2), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Add), R(2), // B(Star), R(1), // B(Jump), U8(-32), // B(LdaUndefined), // B(Return), // }, 0}, {"var y = 1;" "for (var x = 10; x; --x) {" " y = y * 12;" "}" "return y;", 3 * kPointerSize, 1, 33, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(LdaSmi8), U8(10), // B(Star), R(1), // B(Ldar), R(1), // B(JumpIfToBooleanFalse), U8(20), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(12), // B(Mul), R(2), // B(Star), R(0), // B(Ldar), R(1), // B(ToNumber), // B(Dec), // B(Star), R(1), // B(Jump), U8(-20), // B(Ldar), R(0), // B(Return), // }, 0}, {"var x = 0;" "for (var i = 0; false; i++) {" " x = x + 1;" "};" "return x;", 2 * kPointerSize, 1, 9, { B(LdaZero), // B(Star), R(0), // B(LdaZero), // B(Star), R(1), // B(Ldar), R(0), // B(Return), // }, 0}, {"var x = 0;" "for (var i = 0; true; ++i) {" " x = x + 1;" " if (x == 20) break;" "};" "return x;", 3 * kPointerSize, 1, 37, { B(LdaZero), // B(Star), R(0), // B(LdaZero), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Add), R(2), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(20), // B(TestEqual), R(2), // B(JumpIfFalse), U8(4), // B(Jump), U8(10), // B(Ldar), R(1), // B(ToNumber), // B(Inc), // B(Star), R(1), // B(Jump), U8(-26), // B(Ldar), R(0), // B(Return), // }, 0}, {"var a = 0;\n" "while (a) {\n" " { \n" " let z = 1;\n" " function f() { z = 2; }\n" " if (z) continue;\n" " z++;\n" " }\n" "}\n", 6 * kPointerSize, 1, 65, { B(LdaZero), // B(Star), R(1), // B(Ldar), R(1), // B(JumpIfToBooleanFalse), U8(58), // B(LdaConstant), U8(0), // B(Star), R(4), // B(Ldar), R(closure), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), // B(PushContext), R(3), // B(LdaTheHole), // B(StaContextSlot), R(context), U8(4), // B(CreateClosure), U8(1), U8(0), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(StaContextSlot), R(context), U8(4), // B(Ldar), R(0), // B(Star), R(2), // B(LdaContextSlot), R(context), U8(4), // B(JumpIfToBooleanFalse), U8(6), // B(PopContext), R(3), // B(Jump), U8(-44), // B(LdaContextSlot), R(context), U8(4), // B(ToNumber), // B(Star), R(4), // B(Inc), // B(StaContextSlot), R(context), U8(4), // B(PopContext), R(3), // B(Jump), U8(-58), // B(LdaUndefined), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(JumpsRequiringConstantWideOperands) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int constant_count = 0; ExpectedSnippet<Handle<Object>, 316> snippets[] = { { REPEAT_256(SPACE, "var x = 0.1;") REPEAT_32(SPACE, "var x = 0.2;") REPEAT_16(SPACE, "var x = 0.3;") REPEAT_8(SPACE, "var x = 0.4;") "for (var i = 0; i < 3; i++) {\n" " if (i == 1) continue;\n" " if (i == 2) break;\n" "}\n" "return 3;", kPointerSize * 3, 1, 1359, { #define L(c) B(LdaConstant), U8(c), B(Star), R(0) REPEAT_256(COMMA, L(constant_count++)), #undef L #define LW(c) B(LdaConstantWide), U16I(c), B(Star), R(0) REPEAT_32(COMMA, LW(constant_count)), REPEAT_16(COMMA, LW(constant_count)), REPEAT_8(COMMA, LW(constant_count)), #undef LW B(LdaZero), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(3), // B(TestLessThan), R(2), // B(JumpIfFalseConstantWide), U16(313), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(TestEqual), R(2), // B(JumpIfFalseConstantWide), U16(312), // B(JumpConstantWide), U16(315), // B(Ldar), R(1), // B(Star), R(2), // B(LdaSmi8), U8(2), // B(TestEqual), R(2), // B(JumpIfFalseConstantWide), U16(312), // B(JumpConstantWide), U16(314), // B(Ldar), R(1), // B(ToNumber), // B(Star), R(2), // B(Inc), // B(Star), R(1), // B(Jump), U8(-47), // B(LdaSmi8), U8(3), // B(Return) // }, 316, { #define S(x) CcTest::i_isolate()->factory()->NewNumber(x) REPEAT_256(COMMA, S(0.1)), REPEAT_32(COMMA, S(0.2)), REPEAT_16(COMMA, S(0.3)), REPEAT_8(COMMA, S(0.4)), #undef S #define N(x) CcTest::i_isolate()->factory()->NewNumberFromInt(x) N(6), N(41), N(13), N(17) #undef N }}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(UnaryOperators) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"var x = 0;" "while (x != 10) {" " x = x + 10;" "}" "return x;", 2 * kPointerSize, 1, 29, { B(LdaZero), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(10), // B(TestEqual), R(1), // B(LogicalNot), // B(JumpIfFalse), U8(14), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(10), // B(Add), R(1), // B(Star), R(0), // B(Jump), U8(-21), // B(Ldar), R(0), // B(Return), // }, 0}, {"var x = false;" "do {" " x = !x;" "} while(x == false);" "return x;", 2 * kPointerSize, 1, 20, { B(LdaFalse), // B(Star), R(0), // B(Ldar), R(0), // B(LogicalNot), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(1), // B(LdaFalse), // B(TestEqual), R(1), // B(JumpIfTrue), U8(-12), // B(Ldar), R(0), // B(Return), // }, 0}, {"var x = 101;" "return void(x * 3);", 2 * kPointerSize, 1, 12, { B(LdaSmi8), U8(101), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Mul), R(1), // B(LdaUndefined), // B(Return), // }, 0}, {"var x = 1234;" "var y = void (x * x - 1);" "return y;", 4 * kPointerSize, 1, 20, { B(LdaConstant), U8(0), // B(Star), R(0), // B(Star), R(2), // B(Ldar), R(0), // B(Mul), R(2), // B(Star), R(3), // B(LdaSmi8), U8(1), // B(Sub), R(3), // B(LdaUndefined), // B(Star), R(1), // B(Return), // }, 1, {1234}}, {"var x = 13;" "return ~x;", 2 * kPointerSize, 1, 11, { B(LdaSmi8), U8(13), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(-1), // B(BitwiseXor), R(1), // B(Return), // }, 0}, {"var x = 13;" "return +x;", 2 * kPointerSize, 1, 11, { B(LdaSmi8), U8(13), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Mul), R(1), // B(Return), // }, 0}, {"var x = 13;" "return -x;", 2 * kPointerSize, 1, 11, { B(LdaSmi8), U8(13), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(-1), // B(Mul), R(1), // B(Return), // }, 0}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(Typeof) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot = feedback_spec.AddLoadICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<const char*> snippets[] = { {"function f() {\n" " var x = 13;\n" " return typeof(x);\n" "}; f();", kPointerSize, 1, 6, { B(LdaSmi8), U8(13), // B(Star), R(0), // B(TypeOf), // B(Return), // }}, {"var x = 13;\n" "function f() {\n" " return typeof(x);\n" "}; f();", 0, 1, 5, { B(LdaGlobalInsideTypeofSloppy), U8(0), // U8(vector->GetIndex(slot)), // B(TypeOf), // B(Return), // }, 1, {"x"}}, {"var x = 13;\n" "function f() {\n" " 'use strict';\n" " return typeof(x);\n" "}; f();", 0, 1, 5, { B(LdaGlobalInsideTypeofStrict), U8(0), // U8(vector->GetIndex(slot)), // B(TypeOf), // B(Return), // }, 1, {"x"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunction(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(Delete) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int deep_elements_flags = ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; int closure = Register::function_closure().index(); int context = Register::current_context().index(); int first_context_slot = Context::MIN_CONTEXT_SLOTS; ExpectedSnippet<InstanceType> snippets[] = { {"var a = {x:13, y:14}; return delete a.x;", 2 * kPointerSize, 1, 15, {B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(1), // B(Star), R(0), // B(Star), R(1), // B(LdaConstant), U8(1), // B(DeletePropertySloppy), R(1), // B(Return)}, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"'use strict'; var a = {x:13, y:14}; return delete a.x;", 2 * kPointerSize, 1, 15, {B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(1), // B(Star), R(0), // B(Star), R(1), // B(LdaConstant), U8(1), // B(DeletePropertyStrict), R(1), // B(Return)}, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var a = {1:13, 2:14}; return delete a[2];", 2 * kPointerSize, 1, 15, {B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(1), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(DeletePropertySloppy), R(1), // B(Return)}, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"var a = 10; return delete a;", 1 * kPointerSize, 1, 6, {B(LdaSmi8), U8(10), // B(Star), R(0), // B(LdaFalse), // B(Return)}, 0}, {"'use strict';" "var a = {1:10};" "(function f1() {return a;});" "return delete a[1];", 2 * kPointerSize, 1, 29, {B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(0), // B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(1), U8(0), // B(LdaContextSlot), R(context), U8(first_context_slot), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(DeletePropertyStrict), R(1), // B(Return)}, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"return delete 'test';", 0 * kPointerSize, 1, 2, {B(LdaTrue), // B(Return)}, 0}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(GlobalDelete) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; int context = Register::current_context().index(); int native_context_index = Context::NATIVE_CONTEXT_INDEX; int global_context_index = Context::EXTENSION_INDEX; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot = feedback_spec.AddLoadICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<InstanceType> snippets[] = { {"var a = {x:13, y:14};\n function f() { return delete a.x; };\n f();", 1 * kPointerSize, 1, 10, {B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot)), // B(Star), R(0), // B(LdaConstant), U8(1), // B(DeletePropertySloppy), R(0), // B(Return)}, 2, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"a = {1:13, 2:14};\n" "function f() {'use strict'; return delete a[1];};\n f();", 1 * kPointerSize, 1, 10, {B(LdaGlobalStrict), U8(0), U8(vector->GetIndex(slot)), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(DeletePropertyStrict), R(0), // B(Return)}, 1, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var a = {x:13, y:14};\n function f() { return delete a; };\n f();", 2 * kPointerSize, 1, 15, {B(LdaContextSlot), R(context), U8(native_context_index), // B(Star), R(0), // B(LdaContextSlot), R(0), U8(global_context_index), // B(Star), R(1), // B(LdaConstant), U8(0), // B(DeletePropertySloppy), R(1), // B(Return)}, 1, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"b = 30;\n function f() { return delete b; };\n f();", 2 * kPointerSize, 1, 15, {B(LdaContextSlot), R(context), U8(native_context_index), // B(Star), R(0), // B(LdaContextSlot), R(0), U8(global_context_index), // B(Star), R(1), // B(LdaConstant), U8(0), // B(DeletePropertySloppy), R(1), // B(Return)}, 1, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(FunctionLiterals) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot = feedback_spec.AddCallICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<InstanceType> snippets[] = { {"return function(){ }", 0, 1, 4, { B(CreateClosure), U8(0), U8(0), // B(Return) // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"return (function(){ })()", 2 * kPointerSize, 1, 14, { B(LdaUndefined), // B(Star), R(1), // B(CreateClosure), U8(0), U8(0), // B(Star), R(0), // B(Call), R(0), R(1), U8(0), U8(vector->GetIndex(slot)), // B(Return) // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"return (function(x){ return x; })(1)", 3 * kPointerSize, 1, 18, { B(LdaUndefined), // B(Star), R(1), // B(CreateClosure), U8(0), U8(0), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(2), // B(Call), R(0), R(1), U8(1), U8(vector->GetIndex(slot)), // B(Return) // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(RegExpLiterals) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddCallICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddLoadICSlot(); uint8_t i_flags = JSRegExp::kIgnoreCase; Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<const char*> snippets[] = { {"return /ab+d/;", 0 * kPointerSize, 1, 5, { B(CreateRegExpLiteral), U8(0), U8(0), U8(0), // B(Return), // }, 1, {"ab+d"}}, {"return /(\\w+)\\s(\\w+)/i;", 0 * kPointerSize, 1, 5, { B(CreateRegExpLiteral), U8(0), U8(0), U8(i_flags), // B(Return), // }, 1, {"(\\w+)\\s(\\w+)"}}, {"return /ab+d/.exec('abdd');", 3 * kPointerSize, 1, 22, { B(CreateRegExpLiteral), U8(0), U8(0), U8(0), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(1), U8(vector->GetIndex(slot2)), // B(Star), R(0), // B(LdaConstant), U8(2), // B(Star), R(2), // B(Call), R(0), R(1), U8(1), U8(vector->GetIndex(slot1)), // B(Return), // }, 3, {"ab+d", "exec", "abdd"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(RegExpLiteralsWide) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; int wide_idx = 0; ExpectedSnippet<InstanceType, 257> snippets[] = { {"var a;" REPEAT_256(SPACE, "a = 1.23;") "return /ab+d/;", 1 * kPointerSize, 1, 1031, { REPEAT_256(COMMA, // B(LdaConstant), U8(wide_idx++), // B(Star), R(0)), // B(CreateRegExpLiteralWide), U16(256), U16(0), U8(0), // B(Return) // }, 257, {REPEAT_256(COMMA, InstanceType::HEAP_NUMBER_TYPE), InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(ArrayLiterals) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddKeyedStoreICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddKeyedStoreICSlot(); FeedbackVectorSlot slot3 = feedback_spec.AddKeyedStoreICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); int simple_flags = ArrayLiteral::kDisableMementos | ArrayLiteral::kShallowElements; int deep_elements_flags = ArrayLiteral::kDisableMementos; ExpectedSnippet<InstanceType> snippets[] = { {"return [ 1, 2 ];", 0, 1, 5, { B(CreateArrayLiteral), U8(0), U8(0), U8(simple_flags), // B(Return) // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"var a = 1; return [ a, a + 1 ];", 4 * kPointerSize, 1, 38, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(CreateArrayLiteral), U8(0), U8(0), U8(3), // B(Star), R(2), // B(LdaZero), // B(Star), R(1), // B(Ldar), R(0), // B(KeyedStoreICSloppy), R(2), R(1), U8(vector->GetIndex(slot1)), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(3), // B(LdaSmi8), U8(1), // B(Add), R(3), // B(KeyedStoreICSloppy), R(2), R(1), U8(vector->GetIndex(slot1)), // B(Ldar), R(2), // B(Return), // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"return [ [ 1, 2 ], [ 3 ] ];", 0, 1, 5, { B(CreateArrayLiteral), U8(0), U8(2), U8(deep_elements_flags), // B(Return) // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"var a = 1; return [ [ a, 2 ], [ a + 2 ] ];", 6 * kPointerSize, 1, 68, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(CreateArrayLiteral), U8(0), U8(2), U8(deep_elements_flags), // B(Star), R(2), // B(LdaZero), // B(Star), R(1), // B(CreateArrayLiteral), U8(1), U8(0), U8(simple_flags), // B(Star), R(4), // B(LdaZero), // B(Star), R(3), // B(Ldar), R(0), // B(KeyedStoreICSloppy), R(4), R(3), U8(vector->GetIndex(slot1)), // B(Ldar), R(4), // B(KeyedStoreICSloppy), R(2), R(1), U8(vector->GetIndex(slot3)), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(CreateArrayLiteral), U8(2), U8(1), U8(simple_flags), // B(Star), R(4), // B(LdaZero), // B(Star), R(3), // B(Ldar), R(0), // B(Star), R(5), // B(LdaSmi8), U8(2), // B(Add), R(5), // B(KeyedStoreICSloppy), R(4), R(3), U8(vector->GetIndex(slot2)), // B(Ldar), R(4), // B(KeyedStoreICSloppy), R(2), R(1), U8(vector->GetIndex(slot3)), // B(Ldar), R(2), // B(Return), // }, 3, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::FIXED_ARRAY_TYPE, InstanceType::FIXED_ARRAY_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(ArrayLiteralsWide) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; int wide_idx = 0; int simple_flags = ArrayLiteral::kDisableMementos | ArrayLiteral::kShallowElements; ExpectedSnippet<InstanceType, 257> snippets[] = { {"var a;" REPEAT_256(SPACE, "a = 1.23;") "return [ 1 , 2 ];", 1 * kPointerSize, 1, 1031, { REPEAT_256(COMMA, // B(LdaConstant), U8(wide_idx++), // B(Star), R(0)), // B(CreateArrayLiteralWide), U16(256), U16(0), U8(simple_flags), // B(Return) // }, 257, {REPEAT_256(COMMA, InstanceType::HEAP_NUMBER_TYPE), InstanceType::FIXED_ARRAY_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(ObjectLiterals) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddStoreICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); int simple_flags = ObjectLiteral::kFastElements | ObjectLiteral::kShallowProperties | ObjectLiteral::kDisableMementos; int deep_elements_flags = ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; ExpectedSnippet<InstanceType> snippets[] = { {"return { };", kPointerSize, 1, 7, { B(CreateObjectLiteral), U8(0), U8(0), U8(simple_flags), // B(Star), R(0), // B(Return) // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"return { name: 'string', val: 9.2 };", kPointerSize, 1, 7, { B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(0), // B(Return) // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"var a = 1; return { name: 'string', val: a };", 2 * kPointerSize, 1, 19, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(1), // B(Ldar), R(0), // B(StoreICSloppy), R(1), U8(1), U8(vector->GetIndex(slot1)), // B(Ldar), R(1), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var a = 1; return { val: a, val: a + 1 };", 3 * kPointerSize, 1, 25, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Add), R(2), // B(StoreICSloppy), R(1), U8(1), U8(vector->GetIndex(slot1)), // B(Ldar), R(1), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"return { func: function() { } };", 1 * kPointerSize, 1, 16, { B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(0), // B(CreateClosure), U8(1), U8(0), // B(StoreICSloppy), R(0), U8(2), U8(vector->GetIndex(slot1)), // B(Ldar), R(0), // B(Return), // }, 3, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"return { func(a) { return a; } };", 1 * kPointerSize, 1, 16, { B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(0), // B(CreateClosure), U8(1), U8(0), // B(StoreICSloppy), R(0), U8(2), U8(vector->GetIndex(slot1)), // B(Ldar), R(0), // B(Return), // }, 3, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"return { get a() { return 2; } };", 6 * kPointerSize, 1, 32, { B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(0), // B(Mov), R(0), R(1), // B(LdaConstant), U8(1), // B(Star), R(2), // B(CreateClosure), U8(2), U8(0), // B(Star), R(3), // B(LdaNull), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), // R(1), U8(5), // B(Ldar), R(0), // B(Return), // }, 3, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"return { get a() { return this.x; }, set a(val) { this.x = val } };", 6 * kPointerSize, 1, 34, { B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(0), // B(Mov), R(0), R(1), // B(LdaConstant), U8(1), // B(Star), R(2), // B(CreateClosure), U8(2), U8(0), // B(Star), R(3), // B(CreateClosure), U8(3), U8(0), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), // R(1), U8(5), // B(Ldar), R(0), // B(Return), // }, 4, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"return { set b(val) { this.y = val } };", 6 * kPointerSize, 1, 32, { B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(0), // B(Mov), R(0), R(1), // B(LdaConstant), U8(1), // B(Star), R(2), // B(LdaNull), // B(Star), R(3), // B(CreateClosure), U8(2), U8(0), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), // R(1), U8(5), // B(Ldar), R(0), // B(Return), // }, 3, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"var a = 1; return { 1: a };", 6 * kPointerSize, 1, 32, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(1), // B(Mov), R(1), R(2), // B(LdaSmi8), U8(1), // B(Star), R(3), // B(Ldar), R(0), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kSetProperty), R(2), U8(4), // B(Ldar), R(1), // B(Return), // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"return { __proto__: null }", 3 * kPointerSize, 1, 20, { B(CreateObjectLiteral), U8(0), U8(0), U8(simple_flags), // B(Star), R(0), // B(Mov), R(0), R(1), // B(LdaNull), B(Star), R(2), // B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(1), U8(2), // B(Ldar), R(0), // B(Return), // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"var a = 'test'; return { [a]: 1 }", 6 * kPointerSize, 1, 33, { B(LdaConstant), U8(0), // B(Star), R(0), // B(CreateObjectLiteral), U8(1), U8(0), U8(simple_flags), // B(Star), R(1), // B(Mov), R(1), R(2), // B(Ldar), R(0), // B(ToName), // B(Star), R(3), // B(LdaSmi8), U8(1), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kDefineDataPropertyUnchecked), R(2), // U8(4), // B(Ldar), R(1), // B(Return), // }, 2, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::FIXED_ARRAY_TYPE}}, {"var a = 'test'; return { val: a, [a]: 1 }", 6 * kPointerSize, 1, 39, { B(LdaConstant), U8(0), // B(Star), R(0), // B(CreateObjectLiteral), U8(1), U8(0), U8(deep_elements_flags), // B(Star), R(1), // B(Ldar), R(0), // B(StoreICSloppy), R(1), U8(2), U8(vector->GetIndex(slot1)), // B(Mov), R(1), R(2), // B(Ldar), R(0), // B(ToName), // B(Star), R(3), // B(LdaSmi8), U8(1), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kDefineDataPropertyUnchecked), R(2), // U8(4), // B(Ldar), R(1), // B(Return), // }, 3, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var a = 'test'; return { [a]: 1, __proto__: {} }", 6 * kPointerSize, 1, 49, { B(LdaConstant), U8(0), // B(Star), R(0), // B(CreateObjectLiteral), U8(1), U8(1), U8(simple_flags), // B(Star), R(1), // B(Mov), R(1), R(2), // B(Ldar), R(0), // B(ToName), // B(Star), R(3), // B(LdaSmi8), U8(1), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kDefineDataPropertyUnchecked), R(2), // U8(4), // B(Mov), R(1), R(2), // B(CreateObjectLiteral), U8(1), U8(0), U8(13), // B(Star), R(4), // B(Star), R(3), // B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(2), U8(2), // B(Ldar), R(1), // B(Return), // }, 2, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::FIXED_ARRAY_TYPE}}, {"var n = 'name'; return { [n]: 'val', get a() { }, set a(b) {} };", 6 * kPointerSize, 1, 73, { B(LdaConstant), U8(0), // B(Star), R(0), // B(CreateObjectLiteral), U8(1), U8(0), U8(simple_flags), // B(Star), R(1), // B(Mov), R(1), R(2), // B(Ldar), R(0), // B(ToName), // B(Star), R(3), // B(LdaConstant), U8(2), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kDefineDataPropertyUnchecked), R(2), // U8(4), // B(Mov), R(1), R(2), // B(LdaConstant), U8(3), // B(Star), R(3), // B(CreateClosure), U8(4), U8(0), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kDefineGetterPropertyUnchecked), // R(2), U8(4), // B(Mov), R(1), R(2), // B(LdaConstant), U8(3), // B(Star), R(3), // B(CreateClosure), U8(5), U8(0), // B(Star), R(4), // B(LdaZero), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kDefineSetterPropertyUnchecked), // R(2), U8(4), // B(Ldar), R(1), // B(Return), // }, 6, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(ObjectLiteralsWide) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; int deep_elements_flags = ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; int wide_idx = 0; ExpectedSnippet<InstanceType, 257> snippets[] = { {"var a;" REPEAT_256(SPACE, "a = 1.23;") "return { name: 'string', val: 9.2 };", 2 * kPointerSize, 1, 1033, { REPEAT_256(COMMA, // B(LdaConstant), U8(wide_idx++), // B(Star), R(0)), // B(CreateObjectLiteralWide), U16(256), U16(0), // U8(deep_elements_flags), // B(Star), R(1), // B(Return) // }, 257, {REPEAT_256(COMMA, InstanceType::HEAP_NUMBER_TYPE), InstanceType::FIXED_ARRAY_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(TopLevelObjectLiterals) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int has_function_flags = ObjectLiteral::kFastElements | ObjectLiteral::kHasFunction | ObjectLiteral::kDisableMementos; ExpectedSnippet<InstanceType> snippets[] = { {"var a = { func: function() { } };", 5 * kPointerSize, 1, 48, { B(LdaConstant), U8(0), // B(Star), R(1), // B(LdaZero), // B(Star), R(2), // B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), // B(LdaConstant), U8(1), // B(Star), R(1), // B(LdaZero), // B(Star), R(2), // B(CreateObjectLiteral), U8(2), U8(0), U8(has_function_flags), // B(Star), R(4), // B(CreateClosure), U8(3), U8(1), // B(StoreICSloppy), R(4), U8(4), U8(3), // B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), // B(Ldar), R(4), // B(Star), R(3), // B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), // B(LdaUndefined), // B(Return), // }, 5, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::FIXED_ARRAY_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeTopLevelBytecode(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(TryCatch) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int closure = Register::function_closure().index(); ExpectedSnippet<const char*> snippets[] = { {"try { return 1; } catch(e) { return 2; }", 5 * kPointerSize, 1, 36, { B(LdaSmi8), U8(1), // B(Return), // B(Star), R(3), // B(LdaConstant), U8(0), // B(Star), R(2), // B(Ldar), R(closure), // B(Star), R(4), // B(CallRuntime), U16(Runtime::kPushCatchContext), R(2), U8(3), // B(Star), R(1), // B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), // /* */ R(0), U8(0), // B(Ldar), R(1), // B(PushContext), R(0), // B(LdaSmi8), U8(2), // B(PopContext), R(0), // B(Return), // // TODO(mstarzinger): Potential optimization, elide next bytes. B(LdaUndefined), // B(Return), // }, 1, {"e"}, 1, {{0, 3, 3}}}, {"var a; try { a = 1 } catch(e1) {}; try { a = 2 } catch(e2) { a = 3 }", 6 * kPointerSize, 1, 74, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(Jump), U8(30), // B(Star), R(4), // B(LdaConstant), U8(0), // B(Star), R(3), // B(Ldar), R(closure), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kPushCatchContext), R(3), U8(3), // B(Star), R(2), // B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), // /* */ R(0), U8(0), // B(Ldar), R(2), // B(PushContext), R(1), // B(PopContext), R(1), // B(LdaSmi8), U8(2), // B(Star), R(0), // B(Jump), U8(34), // B(Star), R(4), // B(LdaConstant), U8(1), // B(Star), R(3), // B(Ldar), R(closure), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kPushCatchContext), R(3), U8(3), // B(Star), R(2), // B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), // /* */ R(0), U8(0), // B(Ldar), R(2), // B(PushContext), R(1), // B(LdaSmi8), U8(3), // B(Star), R(0), // B(PopContext), R(1), // B(LdaUndefined), // B(Return), // }, 2, {"e1", "e2"}, 2, {{0, 4, 6}, {34, 38, 40}}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(TryFinally) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int closure = Register::function_closure().index(); ExpectedSnippet<const char*> snippets[] = { {"var a = 1; try { a = 2; } finally { a = 3; }", 4 * kPointerSize, 1, 47, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(Star), R(0), // B(LdaSmi8), U8(-1), // B(Star), R(1), // B(Jump), U8(7), // B(Star), R(2), // B(LdaZero), // B(Star), R(1), // B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), // /* */ R(0), U8(0), // B(Star), R(3), // B(LdaSmi8), U8(3), // B(Star), R(0), // B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), // /* */ R(3), U8(1), // B(LdaZero), // B(TestEqualStrict), R(1), // B(JumpIfTrue), U8(4), // B(Jump), U8(5), // B(Ldar), R(2), // B(ReThrow), // B(LdaUndefined), // B(Return), // }, 0, {}, 1, {{4, 8, 14}}}, {"var a = 1; try { a = 2; } catch(e) { a = 20 } finally { a = 3; }", 9 * kPointerSize, 1, 81, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(Star), R(0), // B(Jump), U8(34), // B(Star), R(7), // B(LdaConstant), U8(0), // B(Star), R(6), // B(Ldar), R(closure), // B(Star), R(8), // B(CallRuntime), U16(Runtime::kPushCatchContext), R(6), U8(3), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), // /* */ R(0), U8(0), // B(Ldar), R(5), // B(PushContext), R(1), // B(LdaSmi8), U8(20), // B(Star), R(0), // B(PopContext), R(1), // B(LdaSmi8), U8(-1), // B(Star), R(2), // B(Jump), U8(7), // B(Star), R(3), // B(LdaZero), // B(Star), R(2), // B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), // /* */ R(0), U8(0), // B(Star), R(4), // B(LdaSmi8), U8(3), // B(Star), R(0), // B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), // /* */ R(4), U8(1), // B(LdaZero), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(4), // B(Jump), U8(5), // B(Ldar), R(3), // B(ReThrow), // B(LdaUndefined), // B(Return), // }, 1, {"e"}, 2, {{4, 42, 48}, {4, 8, 10}}}, {"var a; try {" " try { a = 1 } catch(e) { a = 2 }" "} catch(e) { a = 20 } finally { a = 3; }", 10 * kPointerSize, 1, 111, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(Jump), U8(34), // B(Star), R(8), // B(LdaConstant), U8(0), // B(Star), R(7), // B(Ldar), R(closure), // B(Star), R(9), // B(CallRuntime), U16(Runtime::kPushCatchContext), R(7), U8(3), // B(Star), R(6), // B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), // /* */ R(0), U8(0), // B(Ldar), R(6), // B(PushContext), R(1), // B(LdaSmi8), U8(2), // B(Star), R(0), // B(PopContext), R(1), // B(Jump), U8(34), // B(Star), R(7), // B(LdaConstant), U8(0), // B(Star), R(6), // B(Ldar), R(closure), // B(Star), R(8), // B(CallRuntime), U16(Runtime::kPushCatchContext), R(6), U8(3), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), // /* */ R(0), U8(0), // B(Ldar), R(5), // B(PushContext), R(1), // B(LdaSmi8), U8(20), // B(Star), R(0), // B(PopContext), R(1), // B(LdaSmi8), U8(-1), // B(Star), R(2), // B(Jump), U8(7), // B(Star), R(3), // B(LdaZero), // B(Star), R(2), // B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), // /* */ R(0), U8(0), // B(Star), R(4), // B(LdaSmi8), U8(3), // B(Star), R(0), // B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), // /* */ R(4), U8(1), // B(LdaZero), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(4), // B(Jump), U8(5), // B(Ldar), R(3), // B(ReThrow), // B(LdaUndefined), // B(Return), // }, 1, {"e"}, 3, {{0, 72, 78}, {0, 38, 40}, {0, 4, 6}}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(Throw) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<const char*> snippets[] = { {"throw 1;", 0, 1, 3, { B(LdaSmi8), U8(1), // B(Throw), // }, 0}, {"throw 'Error';", 0, 1, 3, { B(LdaConstant), U8(0), // B(Throw), // }, 1, {"Error"}}, {"var a = 1; if (a) { throw 'Error'; };", 1 * kPointerSize, 1, 11, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(JumpIfToBooleanFalse), U8(5), // B(LdaConstant), U8(0), // B(Throw), // B(LdaUndefined), // B(Return), // }, 1, {"Error"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(CallNew) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddGeneralSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddLoadICSlot(); USE(slot1); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<InstanceType> snippets[] = { {"function bar() { this.value = 0; }\n" "function f() { return new bar(); }\n" "f()", 1 * kPointerSize, 1, 10, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Star), R(0), // B(New), R(0), R(0), U8(0), // B(Return), // }, 1, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"function bar(x) { this.value = 18; this.x = x;}\n" "function f() { return new bar(3); }\n" "f()", 2 * kPointerSize, 1, 14, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Star), R(0), // B(LdaSmi8), U8(3), // B(Star), R(1), // B(New), R(0), R(1), U8(1), // B(Return), // }, 1, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"function bar(w, x, y, z) {\n" " this.value = 18;\n" " this.x = x;\n" " this.y = y;\n" " this.z = z;\n" "}\n" "function f() { return new bar(3, 4, 5); }\n" "f()", 4 * kPointerSize, 1, 22, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Star), R(0), // B(LdaSmi8), U8(3), // B(Star), R(1), // B(LdaSmi8), U8(4), // B(Star), R(2), // B(LdaSmi8), U8(5), // B(Star), R(3), // B(New), R(0), R(1), U8(3), // B(Return), // }, 1, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(ContextVariables) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot = feedback_spec.AddCallICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); int closure = Register::function_closure().index(); int context = Register::current_context().index(); int new_target = Register::new_target().index(); int first_context_slot = Context::MIN_CONTEXT_SLOTS; // The wide check below relies on MIN_CONTEXT_SLOTS + 3 + 249 == 256, if this // ever changes, the REPEAT_XXX should be changed to output the correct number // of unique variables to trigger the wide slot load / store. STATIC_ASSERT(Context::MIN_CONTEXT_SLOTS + 3 + 249 == 256); int wide_slot = first_context_slot + 3; ExpectedSnippet<InstanceType> snippets[] = { {"var a; return function() { a = 1; };", 1 * kPointerSize, 1, 11, { B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(0), // B(CreateClosure), U8(0), U8(0), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"var a = 1; return function() { a = 2; };", 1 * kPointerSize, 1, 16, { B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(0), // B(LdaSmi8), U8(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(0), U8(0), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"var a = 1; var b = 2; return function() { a = 2; b = 3 };", 1 * kPointerSize, 1, 21, { B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(0), // B(LdaSmi8), U8(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(LdaSmi8), U8(2), // B(StaContextSlot), R(context), U8(first_context_slot + 1), // B(CreateClosure), U8(0), U8(0), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"var a; (function() { a = 2; })(); return a;", 3 * kPointerSize, 1, 24, { B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(0), // B(LdaUndefined), // B(Star), R(2), // B(CreateClosure), U8(0), U8(0), // B(Star), R(1), // B(Call), R(1), R(2), U8(0), U8(vector->GetIndex(slot)), // B(LdaContextSlot), R(context), U8(first_context_slot), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"'use strict'; let a = 1; { let b = 2; return function() { a + b; }; }", 4 * kPointerSize, 1, 46, { B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(0), // B(LdaTheHole), // B(StaContextSlot), R(context), U8(first_context_slot), // B(LdaSmi8), U8(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(LdaConstant), U8(0), // B(Star), R(2), // B(Ldar), R(closure), // B(Star), R(3), // B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2), // B(PushContext), R(1), // B(LdaTheHole), // B(StaContextSlot), R(context), U8(first_context_slot), // B(LdaSmi8), U8(2), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(1), U8(0), // B(PopContext), R(0), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"'use strict';\n" REPEAT_249_UNIQUE_VARS() "eval();" "var b = 100;" "return b", 3 * kPointerSize, 1, 1041, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(0), // B(Ldar), THIS(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateUnmappedArguments), // B(StaContextSlot), R(context), U8(first_context_slot + 1), // B(Ldar), R(new_target), // B(StaContextSlot), R(context), U8(first_context_slot + 2), // REPEAT_249(COMMA, // B(LdaZero), // B(StaContextSlot), R(context), U8(wide_slot++)), // B(LdaUndefined), // B(Star), R(2), // B(LdaGlobalStrict), U8(0), U8(1), // B(Star), R(1), // B(Call), R(1), R(2), U8(0), U8(0), // B(LdaSmi8), U8(100), // B(StaContextSlotWide), R(context), U16(256), // B(LdaContextSlotWide), R(context), U16(256), // B(Return), // }, 1, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(ContextParameters) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int closure = Register::function_closure().index(); int context = Register::current_context().index(); int first_context_slot = Context::MIN_CONTEXT_SLOTS; ExpectedSnippet<InstanceType> snippets[] = { {"function f(arg1) { return function() { arg1 = 2; }; }", 1 * kPointerSize, 2, 16, { B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(0), // B(Ldar), R(helper.kLastParamIndex), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(0), U8(0), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"function f(arg1) { var a = function() { arg1 = 2; }; return arg1; }", 2 * kPointerSize, 2, 21, { B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(1), // B(Ldar), R(helper.kLastParamIndex), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(0), U8(0), // B(Star), R(0), // B(LdaContextSlot), R(context), U8(first_context_slot), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"function f(a1, a2, a3, a4) { return function() { a1 = a3; }; }", 1 * kPointerSize, 5, 21, { B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(0), // B(Ldar), R(helper.kLastParamIndex - 3), // B(StaContextSlot), R(context), U8(first_context_slot + 1), // B(Ldar), R(helper.kLastParamIndex -1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(0), U8(0), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"function f() { var self = this; return function() { self = 2; }; }", 1 * kPointerSize, 1, 16, { B(CallRuntime), U16(Runtime::kNewFunctionContext), // R(closure), U8(1), // B(PushContext), R(0), // B(Ldar), R(helper.kLastParamIndex), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(0), U8(0), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunction(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(OuterContextVariables) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int context = Register::current_context().index(); int first_context_slot = Context::MIN_CONTEXT_SLOTS; ExpectedSnippet<InstanceType> snippets[] = { {"function Outer() {" " var outerVar = 1;" " function Inner(innerArg) {" " this.innerFunc = function() { return outerVar * innerArg; }" " }" " this.getInnerFunc = function() { return new Inner(1).innerFunc; }" "}" "var f = new Outer().getInnerFunc();", 2 * kPointerSize, 1, 20, { B(Ldar), R(context), // B(Star), R(0), // B(LdaContextSlot), R(0), U8(Context::PREVIOUS_INDEX), // B(Star), R(0), // B(LdaContextSlot), R(0), U8(first_context_slot), // B(Star), R(1), // B(LdaContextSlot), R(context), U8(first_context_slot), // B(Mul), R(1), // B(Return), // }}, {"function Outer() {" " var outerVar = 1;" " function Inner(innerArg) {" " this.innerFunc = function() { outerVar = innerArg; }" " }" " this.getInnerFunc = function() { return new Inner(1).innerFunc; }" "}" "var f = new Outer().getInnerFunc();", 2 * kPointerSize, 1, 21, { B(LdaContextSlot), R(context), U8(first_context_slot), // B(Star), R(0), // B(Ldar), R(context), // B(Star), R(1), // B(LdaContextSlot), R(1), U8(Context::PREVIOUS_INDEX), // B(Star), R(1), // B(Ldar), R(0), // B(StaContextSlot), R(1), U8(first_context_slot), // B(LdaUndefined), // B(Return), // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionNoFilter(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(CountOperators) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddLoadICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddStoreICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); FeedbackVectorSpec store_feedback_spec(&zone); FeedbackVectorSlot store_slot = store_feedback_spec.AddStoreICSlot(); Handle<i::TypeFeedbackVector> store_vector = i::NewTypeFeedbackVector(helper.isolate(), &store_feedback_spec); int closure = Register::function_closure().index(); int context = Register::current_context().index(); int first_context_slot = Context::MIN_CONTEXT_SLOTS; int object_literal_flags = ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; int array_literal_flags = ArrayLiteral::kDisableMementos | ArrayLiteral::kShallowElements; ExpectedSnippet<InstanceType> snippets[] = { {"var a = 1; return ++a;", 1 * kPointerSize, 1, 9, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(ToNumber), // B(Inc), // B(Star), R(0), // B(Return), // }}, {"var a = 1; return a++;", 2 * kPointerSize, 1, 13, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(ToNumber), // B(Star), R(1), // B(Inc), // B(Star), R(0), // B(Ldar), R(1), // B(Return), // }}, {"var a = 1; return --a;", 1 * kPointerSize, 1, 9, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(ToNumber), // B(Dec), // B(Star), R(0), // B(Return), // }}, {"var a = 1; return a--;", 2 * kPointerSize, 1, 13, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(ToNumber), // B(Star), R(1), // B(Dec), // B(Star), R(0), // B(Ldar), R(1), // B(Return), // }}, {"var a = { val: 1 }; return a.val++;", 3 * kPointerSize, 1, 25, { B(CreateObjectLiteral), U8(0), U8(0), U8(object_literal_flags), // B(Star), R(1), // B(Star), R(0), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(1), U8(vector->GetIndex(slot1)), // B(ToNumber), // B(Star), R(2), // B(Inc), // B(StoreICSloppy), R(1), U8(1), U8(vector->GetIndex(slot2)), // B(Ldar), R(2), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var a = { val: 1 }; return --a.val;", 2 * kPointerSize, 1, 21, { B(CreateObjectLiteral), U8(0), U8(0), U8(object_literal_flags), // B(Star), R(1), // B(Star), R(0), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(1), U8(vector->GetIndex(slot1)), // B(ToNumber), // B(Dec), // B(StoreICSloppy), R(1), U8(1), U8(vector->GetIndex(slot2)), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var name = 'var'; var a = { val: 1 }; return a[name]--;", 5 * kPointerSize, 1, 32, { B(LdaConstant), U8(0), // B(Star), R(0), // B(CreateObjectLiteral), U8(1), U8(0), U8(object_literal_flags), // B(Star), R(2), // B(Star), R(1), // B(Star), R(2), // B(Ldar), R(0), // B(Star), R(3), // B(KeyedLoadICSloppy), R(2), U8(vector->GetIndex(slot1)), // B(ToNumber), // B(Star), R(4), // B(Dec), // B(KeyedStoreICSloppy), R(2), R(3), U8(vector->GetIndex(slot2)), // B(Ldar), R(4), // B(Return), // }, 2, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::FIXED_ARRAY_TYPE}}, {"var name = 'var'; var a = { val: 1 }; return ++a[name];", 4 * kPointerSize, 1, 28, { B(LdaConstant), U8(0), // B(Star), R(0), // B(CreateObjectLiteral), U8(1), U8(0), U8(object_literal_flags), // B(Star), R(2), // B(Star), R(1), // B(Star), R(2), // B(Ldar), R(0), // B(Star), R(3), // B(KeyedLoadICSloppy), R(2), U8(vector->GetIndex(slot1)), // B(ToNumber), // B(Inc), // B(KeyedStoreICSloppy), R(2), R(3), U8(vector->GetIndex(slot2)), // B(Return), // }, 2, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::FIXED_ARRAY_TYPE}}, {"var a = 1; var b = function() { return a }; return ++a;", 2 * kPointerSize, 1, 26, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(1), // B(LdaSmi8), U8(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(0), U8(0), // B(Star), R(0), // B(LdaContextSlot), R(context), U8(first_context_slot), // B(ToNumber), // B(Inc), // B(StaContextSlot), R(context), U8(first_context_slot), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"var a = 1; var b = function() { return a }; return a--;", 3 * kPointerSize, 1, 30, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(1), // B(LdaSmi8), U8(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(0), U8(0), // B(Star), R(0), // B(LdaContextSlot), R(context), U8(first_context_slot), // B(ToNumber), // B(Star), R(2), // B(Dec), // B(StaContextSlot), R(context), U8(first_context_slot), // B(Ldar), R(2), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, {"var idx = 1; var a = [1, 2]; return a[idx++] = 2;", 4 * kPointerSize, 1, 27, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(CreateArrayLiteral), U8(0), U8(0), U8(array_literal_flags), // B(Star), R(1), // B(Star), R(2), // B(Ldar), R(0), // B(ToNumber), // B(Star), R(3), // B(Inc), // B(Star), R(0), // B(LdaSmi8), U8(2), // B(KeyedStoreICSloppy), R(2), R(3), // U8(store_vector->GetIndex(store_slot)), // B(Return), // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(GlobalCountOperators) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddLoadICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddStoreICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<const char*> snippets[] = { {"var global = 1;\nfunction f() { return ++global; }\nf()", 0, 1, 9, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot1)), // B(ToNumber), // B(Inc), // B(StaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Return), // }, 1, {"global"}}, {"var global = 1;\nfunction f() { return global--; }\nf()", 1 * kPointerSize, 1, 13, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot1)), // B(ToNumber), // B(Star), R(0), // B(Dec), // B(StaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Ldar), R(0), // B(Return), }, 1, {"global"}}, {"unallocated = 1;\nfunction f() { 'use strict'; return --unallocated; }" "f()", 0, 1, 9, { B(LdaGlobalStrict), U8(0), U8(vector->GetIndex(slot1)), // B(ToNumber), // B(Dec), // B(StaGlobalStrict), U8(0), U8(vector->GetIndex(slot2)), // B(Return), // }, 1, {"unallocated"}}, {"unallocated = 1;\nfunction f() { return unallocated++; }\nf()", 1 * kPointerSize, 1, 13, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot1)), // B(ToNumber), // B(Star), R(0), // B(Inc), // B(StaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Ldar), R(0), // B(Return), }, 1, {"unallocated"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(CompoundExpressions) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; int closure = Register::function_closure().index(); int context = Register::current_context().index(); int first_context_slot = Context::MIN_CONTEXT_SLOTS; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddLoadICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddStoreICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); int object_literal_flags = ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; ExpectedSnippet<InstanceType> snippets[] = { {"var a = 1; a += 2;", 2 * kPointerSize, 1, 14, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(Add), R(1), // B(Star), R(0), // B(LdaUndefined), // B(Return), // }}, {"var a = 1; a /= 2;", 2 * kPointerSize, 1, 14, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(Div), R(1), // B(Star), R(0), // B(LdaUndefined), // B(Return), // }}, {"var a = { val: 2 }; a.name *= 2;", 3 * kPointerSize, 1, 26, { B(CreateObjectLiteral), U8(0), U8(0), U8(object_literal_flags), // B(Star), R(1), // B(Star), R(0), // B(Star), R(1), // B(LoadICSloppy), R(1), U8(1), U8(vector->GetIndex(slot1)), // B(Star), R(2), // B(LdaSmi8), U8(2), // B(Mul), R(2), // B(StoreICSloppy), R(1), U8(1), U8(vector->GetIndex(slot2)), // B(LdaUndefined), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var a = { 1: 2 }; a[1] ^= 2;", 4 * kPointerSize, 1, 29, { B(CreateObjectLiteral), U8(0), U8(0), U8(object_literal_flags), // B(Star), R(1), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Star), R(2), // B(KeyedLoadICSloppy), R(1), U8(vector->GetIndex(slot1)), // B(Star), R(3), // B(LdaSmi8), U8(2), // B(BitwiseXor), R(3), // B(KeyedStoreICSloppy), R(1), R(2), U8(vector->GetIndex(slot2)), // B(LdaUndefined), // B(Return), // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"var a = 1; (function f() { return a; }); a |= 24;", 2 * kPointerSize, 1, 29, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(0), // B(LdaSmi8), U8(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateClosure), U8(0), U8(0), // B(LdaContextSlot), R(context), U8(first_context_slot), // B(Star), R(1), // B(LdaSmi8), U8(24), // B(BitwiseOr), R(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(LdaUndefined), // B(Return), // }, 1, {InstanceType::SHARED_FUNCTION_INFO_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(GlobalCompoundExpressions) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddLoadICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddStoreICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<const char*> snippets[] = { {"var global = 1;\nfunction f() { return global &= 1; }\nf()", 1 * kPointerSize, 1, 13, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot1)), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(BitwiseAnd), R(0), // B(StaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Return), // }, 1, {"global"}}, {"unallocated = 1;\nfunction f() { return unallocated += 1; }\nf()", 1 * kPointerSize, 1, 13, { B(LdaGlobalSloppy), U8(0), U8(vector->GetIndex(slot1)), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Add), R(0), // B(StaGlobalSloppy), U8(0), U8(vector->GetIndex(slot2)), // B(Return), // }, 1, {"unallocated"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(snippets[i].code_snippet, "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(CreateArguments) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; int closure = Register::function_closure().index(); int context = Register::current_context().index(); int first_context_slot = Context::MIN_CONTEXT_SLOTS; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot = feedback_spec.AddKeyedLoadICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<const char*> snippets[] = { {"function f() { return arguments; }", 1 * kPointerSize, 1, 4, { B(CreateMappedArguments), // B(Star), R(0), // B(Return), // }}, {"function f() { return arguments[0]; }", 2 * kPointerSize, 1, 10, { B(CreateMappedArguments), // B(Star), R(0), // B(Star), R(1), // B(LdaZero), // B(KeyedLoadICSloppy), R(1), U8(vector->GetIndex(slot)), // B(Return), // }}, {"function f() { 'use strict'; return arguments; }", 1 * kPointerSize, 1, 4, { B(CreateUnmappedArguments), // B(Star), R(0), // B(Return), // }}, {"function f(a) { return arguments[0]; }", 3 * kPointerSize, 2, 22, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(1), // B(Ldar), R(BytecodeGeneratorHelper::kLastParamIndex), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateMappedArguments), // B(Star), R(0), // B(Star), R(2), // B(LdaZero), // B(KeyedLoadICSloppy), R(2), U8(vector->GetIndex(slot)), // B(Return), // }}, {"function f(a, b, c) { return arguments; }", 2 * kPointerSize, 4, 26, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(1), // B(Ldar), R(BytecodeGeneratorHelper::kLastParamIndex - 2), // B(StaContextSlot), R(context), U8(first_context_slot + 2), // B(Ldar), R(BytecodeGeneratorHelper::kLastParamIndex - 1), // B(StaContextSlot), R(context), U8(first_context_slot + 1), // B(Ldar), R(BytecodeGeneratorHelper::kLastParamIndex), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateMappedArguments), // B(Star), R(0), // B(Return), // }}, {"function f(a, b, c) { 'use strict'; return arguments; }", 1 * kPointerSize, 4, 4, { B(CreateUnmappedArguments), // B(Star), R(0), // B(Return), // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunction(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(IllegalRedeclaration) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; CHECK_GE(MessageTemplate::kVarRedeclaration, 128); // Must adapt bytecode if this changes. ExpectedSnippet<Handle<Object>, 2> snippets[] = { {"const a = 1; { var a = 2; }", 3 * kPointerSize, 1, 14, { B(LdaConstant), U8(0), // B(Star), R(1), // B(LdaConstant), U8(1), // B(Star), R(2), // B(CallRuntime), U16(Runtime::kNewSyntaxError), R(1), U8(2), // B(Throw), // }, 2, {helper.factory()->NewNumberFromInt(MessageTemplate::kVarRedeclaration), helper.factory()->NewStringFromAsciiChecked("a")}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(ForIn) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; int simple_flags = ArrayLiteral::kDisableMementos | ArrayLiteral::kShallowElements; int deep_elements_flags = ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; FeedbackVectorSpec feedback_spec(&zone); feedback_spec.AddStoreICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddStoreICSlot(); FeedbackVectorSlot slot3 = feedback_spec.AddStoreICSlot(); FeedbackVectorSlot slot4 = feedback_spec.AddStoreICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<InstanceType> snippets[] = { {"for (var p in null) {}", 2 * kPointerSize, 1, 2, {B(LdaUndefined), B(Return)}, 0}, {"for (var p in undefined) {}", 2 * kPointerSize, 1, 2, {B(LdaUndefined), B(Return)}, 0}, {"for (var p in undefined) {}", 2 * kPointerSize, 1, 2, {B(LdaUndefined), B(Return)}, 0}, {"var x = 'potatoes';\n" "for (var p in x) { return p; }", 8 * kPointerSize, 1, 42, { B(LdaConstant), U8(0), // B(Star), R(1), // B(JumpIfUndefined), U8(36), // B(JumpIfNull), U8(34), // B(ToObject), // B(JumpIfNull), U8(31), // B(Star), R(3), // B(ForInPrepare), R(4), // B(LdaZero), // B(Star), R(7), // B(ForInDone), R(7), R(6), // B(JumpIfTrue), U8(19), // B(ForInNext), R(3), R(7), R(4), // B(JumpIfUndefined), U8(7), // B(Star), R(0), // B(Star), R(2), // B(Return), // B(ForInStep), R(7), // B(Star), R(7), // B(Jump), U8(-20), // B(LdaUndefined), // B(Return), // }, 1, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var x = 0;\n" "for (var p in [1,2,3]) { x += p; }", 9 * kPointerSize, 1, 54, { B(LdaZero), // B(Star), R(1), // B(CreateArrayLiteral), U8(0), U8(0), U8(3), // B(JumpIfUndefined), U8(45), // B(JumpIfNull), U8(43), // B(ToObject), // B(JumpIfNull), U8(40), // B(Star), R(3), // B(ForInPrepare), R(4), // B(LdaZero), // B(Star), R(7), // B(ForInDone), R(7), R(6), // B(JumpIfTrue), U8(28), // B(ForInNext), R(3), R(7), R(4), // B(JumpIfUndefined), U8(16), // B(Star), R(0), // B(Star), R(2), // B(Ldar), R(1), // B(Star), R(8), // B(Ldar), R(2), // B(Add), R(8), // B(Star), R(1), // B(ForInStep), R(7), // B(Star), R(7), // B(Jump), U8(-29), // B(LdaUndefined), // B(Return), // }, 1, {InstanceType::FIXED_ARRAY_TYPE}}, {"var x = { 'a': 1, 'b': 2 };\n" "for (x['a'] in [10, 20, 30]) {\n" " if (x['a'] == 10) continue;\n" " if (x['a'] == 20) break;\n" "}", 8 * kPointerSize, 1, 93, { B(CreateObjectLiteral), U8(0), U8(0), U8(deep_elements_flags), // B(Star), R(1), // B(Star), R(0), // B(CreateArrayLiteral), U8(1), U8(1), U8(simple_flags), // B(JumpIfUndefined), U8(79), // B(JumpIfNull), U8(77), // B(ToObject), // B(JumpIfNull), U8(74), // B(Star), R(1), // B(ForInPrepare), R(2), // B(LdaZero), // B(Star), R(5), // B(ForInDone), R(5), R(4), // B(JumpIfTrue), U8(62), // B(ForInNext), R(1), R(5), R(2), // B(JumpIfUndefined), U8(50), // B(Star), R(6), // B(Ldar), R(0), // B(Star), R(7), // B(Ldar), R(6), // B(StoreICSloppy), R(7), U8(2), U8(vector->GetIndex(slot4)), // B(Ldar), R(0), // B(Star), R(6), // B(LoadICSloppy), R(6), U8(2), U8(vector->GetIndex(slot2)), // B(Star), R(7), // B(LdaSmi8), U8(10), // B(TestEqual), R(7), // B(JumpIfFalse), U8(4), // B(Jump), U8(20), // B(Ldar), R(0), // B(Star), R(6), // B(LoadICSloppy), R(6), U8(2), U8(vector->GetIndex(slot3)), // B(Star), R(7), // B(LdaSmi8), U8(20), // B(TestEqual), R(7), // B(JumpIfFalse), U8(4), // B(Jump), U8(8), // B(ForInStep), R(5), // B(Star), R(5), // B(Jump), U8(-63), // B(LdaUndefined), // B(Return), // }, 3, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::FIXED_ARRAY_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var x = [ 10, 11, 12 ] ;\n" "for (x[0] in [1,2,3]) { return x[3]; }", 9 * kPointerSize, 1, 68, { B(CreateArrayLiteral), U8(0), U8(0), U8(simple_flags), // B(Star), R(0), // B(CreateArrayLiteral), U8(1), U8(1), U8(simple_flags), // B(JumpIfUndefined), U8(56), // B(JumpIfNull), U8(54), // B(ToObject), // B(JumpIfNull), U8(51), // B(Star), R(1), // B(ForInPrepare), R(2), // B(LdaZero), // B(Star), R(5), // B(ForInDone), R(5), R(4), // B(JumpIfTrue), U8(39), // B(ForInNext), R(1), R(5), R(2), // B(JumpIfUndefined), U8(27), // B(Star), R(6), // B(Ldar), R(0), // B(Star), R(7), // B(LdaZero), // B(Star), R(8), // B(Ldar), R(6), // B(KeyedStoreICSloppy), R(7), R(8), U8(vector->GetIndex(slot3)), // B(Ldar), R(0), // B(Star), R(6), // B(LdaSmi8), U8(3), // B(KeyedLoadICSloppy), R(6), U8(vector->GetIndex(slot2)), // B(Return), // B(ForInStep), R(5), // B(Star), R(5), // B(Jump), U8(-40), // B(LdaUndefined), // B(Return), // }, 2, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::FIXED_ARRAY_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(ForOf) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; int array_literal_flags = ArrayLiteral::kDisableMementos | ArrayLiteral::kShallowElements; int object_literal_flags = ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddCallICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddKeyedLoadICSlot(); FeedbackVectorSlot slot3 = feedback_spec.AddCallICSlot(); FeedbackVectorSlot slot4 = feedback_spec.AddLoadICSlot(); FeedbackVectorSlot slot5 = feedback_spec.AddLoadICSlot(); FeedbackVectorSlot slot6 = feedback_spec.AddLoadICSlot(); FeedbackVectorSlot slot7 = feedback_spec.AddStoreICSlot(); FeedbackVectorSlot slot8 = feedback_spec.AddLoadICSlot(); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); ExpectedSnippet<InstanceType, 8> snippets[] = { {"for (var p of [0, 1, 2]) {}", 7 * kPointerSize, 1, 82, { B(CreateArrayLiteral), U8(0), U8(0), U8(array_literal_flags), // B(Star), R(5), // B(LdaConstant), U8(1), // B(KeyedLoadICSloppy), R(5), U8(vector->GetIndex(slot2)), // B(Star), R(4), // B(Call), R(4), R(5), U8(0), U8(vector->GetIndex(slot1)), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(6), // B(LoadICSloppy), R(6), U8(2), U8(vector->GetIndex(slot4)), // B(Star), R(5), // B(Call), R(5), R(6), U8(0), U8(vector->GetIndex(slot3)), // B(Star), R(2), // B(Star), R(4), // B(CallRuntime), U16(Runtime::kInlineIsJSReceiver), R(4), U8(1), // B(LogicalNot), // B(JumpIfFalse), U8(11), // B(Ldar), R(2), // B(Star), R(4), // B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), // R(4), U8(1), // B(Ldar), R(2), // B(Star), R(4), // B(LoadICSloppy), R(4), U8(3), U8(vector->GetIndex(slot5)), // B(JumpIfToBooleanTrue), U8(16), // B(Ldar), R(2), // B(Star), R(4), // B(LoadICSloppy), R(4), U8(4), U8(vector->GetIndex(slot6)), // B(Star), R(0), // B(Star), R(3), // B(Jump), U8(-58), // B(LdaUndefined), // B(Return), // }, 5, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::SYMBOL_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var x = 'potatoes';\n" "for (var p of x) { return p; }", 8 * kPointerSize, 1, 81, { B(LdaConstant), U8(0), // B(Star), R(3), // B(Star), R(6), // B(LdaConstant), U8(1), // B(KeyedLoadICSloppy), R(6), U8(vector->GetIndex(slot2)), // B(Star), R(5), // B(Call), R(5), R(6), U8(0), U8(vector->GetIndex(slot1)), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(7), // B(LoadICSloppy), R(7), U8(2), U8(vector->GetIndex(slot4)), // B(Star), R(6), // B(Call), R(6), R(7), U8(0), U8(vector->GetIndex(slot3)), // B(Star), R(2), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kInlineIsJSReceiver), R(5), U8(1), // B(LogicalNot), // B(JumpIfFalse), U8(11), // B(Ldar), R(2), // B(Star), R(5), // B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), // R(5), U8(1), // B(Ldar), R(2), // B(Star), R(5), // B(LoadICSloppy), R(5), U8(3), U8(vector->GetIndex(slot5)), // B(JumpIfToBooleanTrue), U8(15), // B(Ldar), R(2), // B(Star), R(5), // B(LoadICSloppy), R(5), U8(4), U8(vector->GetIndex(slot6)), // B(Star), R(0), // B(Star), R(4), // B(Return), // B(LdaUndefined), // B(Return), // }, 5, {InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::SYMBOL_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"for (var x of [10, 20, 30]) {\n" " if (x == 10) continue;\n" " if (x == 20) break;\n" "}", 7 * kPointerSize, 1, 104, { B(CreateArrayLiteral), U8(0), U8(0), U8(array_literal_flags), // B(Star), R(5), // B(LdaConstant), U8(1), // B(KeyedLoadICSloppy), R(5), U8(vector->GetIndex(slot2)), // B(Star), R(4), // B(Call), R(4), R(5), U8(0), U8(vector->GetIndex(slot1)), // B(Star), R(1), // B(Ldar), R(1), // B(Star), R(6), // B(LoadICSloppy), R(6), U8(2), U8(vector->GetIndex(slot4)), // B(Star), R(5), // B(Call), R(5), R(6), U8(0), U8(vector->GetIndex(slot3)), // B(Star), R(2), // B(Star), R(4), // B(CallRuntime), U16(Runtime::kInlineIsJSReceiver), R(4), U8(1), // B(LogicalNot), // B(JumpIfFalse), U8(11), // B(Ldar), R(2), // B(Star), R(4), // B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), // R(4), U8(1), // B(Ldar), R(2), // B(Star), R(4), // B(LoadICSloppy), R(4), U8(3), U8(vector->GetIndex(slot5)), // B(JumpIfToBooleanTrue), U8(38), // B(Ldar), R(2), // B(Star), R(4), // B(LoadICSloppy), R(4), U8(4), U8(vector->GetIndex(slot6)), // B(Star), R(0), // B(Star), R(3), // B(Star), R(4), // B(LdaSmi8), U8(10), // B(TestEqual), R(4), // B(JumpIfFalse), U8(4), // B(Jump), U8(-66), // B(Ldar), R(3), // B(Star), R(4), // B(LdaSmi8), U8(20), // B(TestEqual), R(4), // B(JumpIfFalse), U8(4), // B(Jump), U8(4), // B(Jump), U8(-80), // B(LdaUndefined), // B(Return), // }, 5, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::SYMBOL_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"var x = { 'a': 1, 'b': 2 };\n" "for (x['a'] of [1,2,3]) { return x['a']; }", 6 * kPointerSize, 1, 101, { B(CreateObjectLiteral), U8(0), U8(0), U8(object_literal_flags), // B(Star), R(3), // B(Star), R(2), // B(CreateArrayLiteral), U8(1), U8(1), U8(array_literal_flags), // B(Star), R(4), // B(LdaConstant), U8(2), // B(KeyedLoadICSloppy), R(4), U8(vector->GetIndex(slot2)), // B(Star), R(3), // B(Call), R(3), R(4), U8(0), U8(vector->GetIndex(slot1)), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(5), // B(LoadICSloppy), R(5), U8(3), U8(vector->GetIndex(slot4)), // B(Star), R(4), // B(Call), R(4), R(5), U8(0), U8(vector->GetIndex(slot3)), // B(Star), R(1), // B(Star), R(3), // B(CallRuntime), U16(Runtime::kInlineIsJSReceiver), R(3), U8(1), // B(LogicalNot), // B(JumpIfFalse), U8(11), // B(Ldar), R(1), // B(Star), R(3), // B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), // R(3), U8(1), // B(Ldar), R(1), // B(Star), R(3), // B(LoadICSloppy), R(3), U8(4), U8(vector->GetIndex(slot5)), // B(JumpIfToBooleanTrue), U8(27), // B(Ldar), R(2), // B(Star), R(3), // B(Ldar), R(1), // B(Star), R(4), // B(LoadICSloppy), R(4), U8(5), U8(vector->GetIndex(slot6)), // B(StoreICSloppy), R(3), U8(6), U8(vector->GetIndex(slot7)), // B(Ldar), R(2), // B(Star), R(3), // B(LoadICSloppy), R(3), U8(6), U8(vector->GetIndex(slot8)), // B(Return), // B(LdaUndefined), // B(Return), // }, 7, {InstanceType::FIXED_ARRAY_TYPE, InstanceType::FIXED_ARRAY_TYPE, InstanceType::SYMBOL_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(Conditional) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"return 1 ? 2 : 3;", 0, 1, 11, { B(LdaSmi8), U8(1), // B(JumpIfToBooleanFalse), U8(6), // B(LdaSmi8), U8(2), // B(Jump), U8(4), // B(LdaSmi8), U8(3), // B(Return), // }}, {"return 1 ? 2 ? 3 : 4 : 5;", 0, 1, 19, { B(LdaSmi8), U8(1), // B(JumpIfToBooleanFalse), U8(14), // B(LdaSmi8), U8(2), // B(JumpIfToBooleanFalse), U8(6), // B(LdaSmi8), U8(3), // B(Jump), U8(4), // B(LdaSmi8), U8(4), // B(Jump), U8(4), // B(LdaSmi8), U8(5), // B(Return), // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(Switch) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"var a = 1;\n" "switch(a) {\n" " case 1: return 2;\n" " case 2: return 3;\n" "}\n", 3 * kPointerSize, 1, 30, { B(LdaSmi8), U8(1), // B(Star), R(1), // The tag variable is allocated as a B(Star), R(0), // local by the parser, hence the store B(Star), R(2), // to another local register. B(LdaSmi8), U8(1), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(10), // B(LdaSmi8), U8(2), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(7), // B(Jump), U8(8), // B(LdaSmi8), U8(2), // B(Return), // B(LdaSmi8), U8(3), // B(Return), // B(LdaUndefined), // B(Return), // }}, {"var a = 1;\n" "switch(a) {\n" " case 1: a = 2; break;\n" " case 2: a = 3; break;\n" "}\n", 3 * kPointerSize, 1, 36, { B(LdaSmi8), U8(1), // B(Star), R(1), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(10), // B(LdaSmi8), U8(2), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(10), // B(Jump), U8(14), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(Jump), U8(8), // B(LdaSmi8), U8(3), // B(Star), R(1), // B(Jump), U8(2), // B(LdaUndefined), // B(Return), // }}, {"var a = 1;\n" "switch(a) {\n" " case 1: a = 2; // fall-through\n" " case 2: a = 3; break;\n" "}\n", 3 * kPointerSize, 1, 34, { B(LdaSmi8), U8(1), // B(Star), R(1), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(10), // B(LdaSmi8), U8(2), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(8), // B(Jump), U8(12), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Star), R(1), // B(Jump), U8(2), // B(LdaUndefined), // B(Return), // }}, {"var a = 1;\n" "switch(a) {\n" " case 2: break;\n" " case 3: break;\n" " default: a = 1; break;\n" "}\n", 3 * kPointerSize, 1, 34, { B(LdaSmi8), U8(1), // B(Star), R(1), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(2), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(10), // B(LdaSmi8), U8(3), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(6), // B(Jump), U8(6), // B(Jump), U8(10), // B(Jump), U8(8), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Jump), U8(2), // B(LdaUndefined), // B(Return), // }}, {"var a = 1;\n" "switch(typeof(a)) {\n" " case 2: a = 1; break;\n" " case 3: a = 2; break;\n" " default: a = 3; break;\n" "}\n", 3 * kPointerSize, 1, 43, { B(LdaSmi8), U8(1), // B(Star), R(1), // B(TypeOf), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(2), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(10), // B(LdaSmi8), U8(3), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(10), // B(Jump), U8(14), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Jump), U8(14), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(Jump), U8(8), // B(LdaSmi8), U8(3), // B(Star), R(1), // B(Jump), U8(2), // B(LdaUndefined), // B(Return), // }}, {"var a = 1;\n" "switch(a) {\n" " case typeof(a): a = 1; break;\n" " default: a = 2; break;\n" "}\n", 3 * kPointerSize, 1, 31, { B(LdaSmi8), U8(1), // B(Star), R(1), // B(Star), R(0), // B(Star), R(2), // B(Ldar), R(1), // B(TypeOf), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(4), // B(Jump), U8(8), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Jump), U8(8), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(Jump), U8(2), // B(LdaUndefined), // B(Return), // }}, {"var a = 1;\n" "switch(a) {\n" " case 1:\n" REPEAT_64(SPACE, " a = 2;") "break;\n" " case 2: a = 3; break;" "}\n", 3 * kPointerSize, 1, 288, { B(LdaSmi8), U8(1), // B(Star), R(1), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(TestEqualStrict), R(2), // B(JumpIfTrue), U8(10), // B(LdaSmi8), U8(2), // B(TestEqualStrict), R(2), // B(JumpIfTrueConstant), U8(0), // B(JumpConstant), U8(1), // REPEAT_64(COMMA, // B(LdaSmi8), U8(2), // B(Star), R(1)), // B(Jump), U8(8), // B(LdaSmi8), U8(3), // B(Star), R(1), // B(Jump), U8(2), // B(LdaUndefined), // B(Return), // }, 2, {262, 266}}, {"var a = 1;\n" "switch(a) {\n" " case 1: \n" " switch(a + 1) {\n" " case 2 : a = 1; break;\n" " default : a = 2; break;\n" " } // fall-through\n" " case 2: a = 3;\n" "}\n", 5 * kPointerSize, 1, 60, { B(LdaSmi8), U8(1), // B(Star), R(2), // B(Star), R(0), // B(Star), R(3), // B(LdaSmi8), U8(1), // B(TestEqualStrict), R(3), // B(JumpIfTrue), U8(10), // B(LdaSmi8), U8(2), // B(TestEqualStrict), R(3), // B(JumpIfTrue), U8(36), // B(Jump), U8(38), // B(Ldar), R(2), // B(Star), R(4), // B(LdaSmi8), U8(1), // B(Add), R(4), // B(Star), R(1), // B(Star), R(4), // B(LdaSmi8), U8(2), // B(TestEqualStrict), R(4), // B(JumpIfTrue), U8(4), // B(Jump), U8(8), // B(LdaSmi8), U8(1), // B(Star), R(2), // B(Jump), U8(8), // B(LdaSmi8), U8(2), // B(Star), R(2), // B(Jump), U8(2), // B(LdaSmi8), U8(3), // B(Star), R(2), // B(LdaUndefined), // B(Return), // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(BasicBlockToBoolean) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; // Check that we generate JumpIfToBoolean if they are at the start of basic // blocks. ExpectedSnippet<int> snippets[] = { {"var a = 1; if (a || a < 0) { return 1; }", 2 * kPointerSize, 1, 20, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(JumpIfToBooleanTrue), U8(9), // B(Ldar), R(0), // B(Star), R(1), // B(LdaZero), // B(TestLessThan), R(1), // B(JumpIfToBooleanFalse), U8(5), // B(LdaSmi8), U8(1), // B(Return), // B(LdaUndefined), // B(Return), // }}, {"var a = 1; if (a && a < 0) { return 1; }", 2 * kPointerSize, 1, 20, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(JumpIfToBooleanFalse), U8(9), // B(Ldar), R(0), // B(Star), R(1), // B(LdaZero), // B(TestLessThan), R(1), // B(JumpIfToBooleanFalse), U8(5), // B(LdaSmi8), U8(1), // B(Return), // B(LdaUndefined), // B(Return), // }}, {"var a = 1; a = (a || a < 0) ? 2 : 3;", 2 * kPointerSize, 1, 25, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(JumpIfToBooleanTrue), U8(9), // B(Ldar), R(0), // B(Star), R(1), // B(LdaZero), // B(TestLessThan), R(1), // B(JumpIfToBooleanFalse), U8(6), // B(LdaSmi8), U8(2), // B(Jump), U8(4), // B(LdaSmi8), U8(3), // B(Star), R(0), // B(LdaUndefined), // B(Return), // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(DeadCodeRemoval) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"return; var a = 1; a();", 1 * kPointerSize, 1, 2, { B(LdaUndefined), // B(Return), // }}, {"if (false) { return; }; var a = 1;", 1 * kPointerSize, 1, 6, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(LdaUndefined), // B(Return), // }}, {"if (true) { return 1; } else { return 2; };", 0, 1, 3, { B(LdaSmi8), U8(1), // B(Return), // }}, {"var a = 1; if (a) { return 1; }; return 2;", 1 * kPointerSize, 1, 12, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(JumpIfToBooleanFalse), U8(5), // B(LdaSmi8), U8(1), // B(Return), // B(LdaSmi8), U8(2), // B(Return), // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(ThisFunction) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int closure = Register::function_closure().index(); ExpectedSnippet<int> snippets[] = { {"var f;\n f = function f() { }", 1 * kPointerSize, 1, 9, { B(LdaTheHole), // B(Star), R(0), // B(Ldar), R(closure), // B(Star), R(0), // B(LdaUndefined), // B(Return), // }}, {"var f;\n f = function f() { return f; }", 1 * kPointerSize, 1, 8, { B(LdaTheHole), // B(Star), R(0), // B(Ldar), R(closure), // B(Star), R(0), // B(Return), // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunction(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(NewTarget) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int new_target = Register::new_target().index(); ExpectedSnippet<int> snippets[] = { {"return new.target;", 1 * kPointerSize, 1, 5, { B(Ldar), R(new_target), // B(Star), R(0), // B(Return), // }}, {"new.target;", 1 * kPointerSize, 1, 6, { B(Ldar), R(new_target), // B(Star), R(0), // B(LdaUndefined), // B(Return), // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(RemoveRedundantLdar) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<int> snippets[] = { {"var ld_a = 1;\n" // This test is to check Ldar does not "while(true) {\n" // get removed if the preceding Star is " ld_a = ld_a + ld_a;\n" // in a different basicblock. " if (ld_a > 10) break;\n" "}\n" "return ld_a;", 2 * kPointerSize, 1, 29, {B(LdaSmi8), U8(1), // B(Star), R(0), // B(Ldar), R(0), // This load should not be removed as it B(Star), R(1), // is the target of the branch. B(Ldar), R(0), // B(Add), R(1), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(10), // B(TestGreaterThan), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(4), // B(Jump), U8(-20), // B(Ldar), R(0), // B(Return)}}, {"var ld_a = 1;\n" "do {\n" " ld_a = ld_a + ld_a;\n" " if (ld_a > 10) continue;\n" "} while(false);\n" "return ld_a;", 2 * kPointerSize, 1, 27, {B(LdaSmi8), U8(1), // B(Star), R(0), // B(Ldar), R(0), // B(Star), R(1), // B(Ldar), R(0), // B(Add), R(1), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(10), // B(TestGreaterThan), R(1), // B(JumpIfFalse), U8(4), // B(Jump), U8(2), // B(Ldar), R(0), // B(Return)}}, {"var ld_a = 1;\n" " ld_a = ld_a + ld_a;\n" " return ld_a;", 2 * kPointerSize, 1, 13, { B(LdaSmi8), U8(1), // B(Star), R(0), // B(Star), R(1), // B(Ldar), R(0), // B(Add), R(1), // B(Star), R(0), // B(Return) // }}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(AssignmentsInBinaryExpression) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<const char*> snippets[] = { {"var x = 0, y = 1;\n" "return (x = 2, y = 3, x = 4, y = 5)", 2 * kPointerSize, 1, 24, { B(LdaZero), B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(LdaSmi8), U8(2), // B(Star), R(0), // B(LdaSmi8), U8(3), // B(Star), R(1), // B(LdaSmi8), U8(4), // B(Star), R(0), // B(LdaSmi8), U8(5), // B(Star), R(1), // B(Return), // }, 0}, {"var x = 55;\n" "var y = (x = 100);\n" "return y", 2 * kPointerSize, 1, 11, { B(LdaSmi8), U8(55), // B(Star), R(0), // B(LdaSmi8), U8(100), // B(Star), R(0), // B(Star), R(1), // B(Return), // }, 0}, {"var x = 55;\n" "x = x + (x = 100) + (x = 101);\n" "return x;", 3 * kPointerSize, 1, 23, { B(LdaSmi8), U8(55), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(100), // B(Star), R(0), // B(Add), R(1), // B(Star), R(2), // B(LdaSmi8), U8(101), // B(Star), R(0), // B(Add), R(2), // B(Star), R(0), // B(Return), // }, 0}, {"var x = 55;\n" "x = (x = 56) - x + (x = 57);\n" "x++;\n" "return x;", 3 * kPointerSize, 1, 31, { B(LdaSmi8), U8(55), // B(Star), R(0), // B(LdaSmi8), U8(56), // B(Star), R(0), // B(Star), R(1), // B(Ldar), R(0), // B(Sub), R(1), // B(Star), R(2), // B(LdaSmi8), U8(57), // B(Star), R(0), // B(Add), R(2), // B(Star), R(0), // B(ToNumber), // B(Star), R(1), // B(Inc), // B(Star), R(0), // B(Return), // }, 0}, {"var x = 55;\n" "var y = x + (x = 1) + (x = 2) + (x = 3);\n" "return y;", 4 * kPointerSize, 1, 31, { B(LdaSmi8), U8(55), // B(Star), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Star), R(0), // B(Add), R(2), // B(Star), R(3), // B(LdaSmi8), U8(2), // B(Star), R(0), // B(Add), R(3), // B(Star), R(2), // B(LdaSmi8), U8(3), // B(Star), R(0), // B(Add), R(2), // B(Star), R(1), // B(Return), // }, 0}, {"var x = 55;\n" "var x = x + (x = 1) + (x = 2) + (x = 3);\n" "return x;", 3 * kPointerSize, 1, 31, { B(LdaSmi8), U8(55), // B(Star), R(0), // B(Star), R(1), // B(LdaSmi8), U8(1), // B(Star), R(0), // B(Add), R(1), // B(Star), R(2), // B(LdaSmi8), U8(2), // B(Star), R(0), // B(Add), R(2), // B(Star), R(1), // B(LdaSmi8), U8(3), // B(Star), R(0), // B(Add), R(1), // B(Star), R(0), // B(Return), // }, 0}, {"var x = 10, y = 20;\n" "return x + (x = 1) + (x + 1) * (y = 2) + (y = 3) + (x = 4) + (y = 5) + " "y;\n", 5 * kPointerSize, 1, 69, { B(LdaSmi8), U8(10), // B(Star), R(0), // B(LdaSmi8), U8(20), // B(Star), R(1), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Star), R(0), // B(Add), R(2), // B(Star), R(3), // B(Ldar), R(0), // B(Star), R(2), // B(LdaSmi8), U8(1), // B(Add), R(2), // B(Star), R(4), // B(LdaSmi8), U8(2), // B(Star), R(1), // B(Mul), R(4), // B(Add), R(3), // B(Star), R(2), // B(LdaSmi8), U8(3), // B(Star), R(1), // B(Add), R(2), // B(Star), R(3), // B(LdaSmi8), U8(4), // B(Star), R(0), // B(Add), R(3), // B(Star), R(2), // B(LdaSmi8), U8(5), // B(Star), R(1), // B(Add), R(2), // B(Star), R(3), // B(Ldar), R(1), // B(Add), R(3), // B(Return), // }, 0}, {"var x = 17;\n" "return 1 + x + (x++) + (++x);\n", 4 * kPointerSize, 1, 37, { B(LdaSmi8), U8(17), // B(Star), R(0), // B(LdaSmi8), U8(1), // B(Star), R(1), // B(Ldar), R(0), // B(Add), R(1), // B(Star), R(2), // B(Ldar), R(0), // B(ToNumber), // B(Star), R(1), // B(Inc), // B(Star), R(0), // B(Ldar), R(1), // B(Add), R(2), // B(Star), R(3), // B(Ldar), R(0), // B(ToNumber), // B(Inc), // B(Star), R(0), // B(Add), R(3), // B(Return), // }, 0}}; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(Eval) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; int closure = Register::function_closure().index(); int context = Register::current_context().index(); int new_target = Register::new_target().index(); int first_context_slot = Context::MIN_CONTEXT_SLOTS; ExpectedSnippet<const char*> snippets[] = { {"return eval('1;');", 9 * kPointerSize, 1, 67, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(0), // B(Ldar), THIS(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateMappedArguments), // B(StaContextSlot), R(context), U8(first_context_slot + 1), // B(Ldar), R(new_target), // B(StaContextSlot), R(context), U8(first_context_slot + 2), // B(Mov), R(context), R(3), // B(LdaConstant), U8(0), // B(Star), R(4), // B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlot), // R(3), U8(2), R(1), // B(LdaConstant), U8(1), // B(Star), R(3), // B(Mov), R(1), R(4), // B(Mov), R(3), R(5), // B(Mov), R(closure), R(6), // B(LdaZero), // B(Star), R(7), // B(LdaSmi8), U8(10), // B(Star), R(8), // B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), // U8(5), // B(Star), R(1), // B(Call), R(1), R(2), U8(1), U8(0), // B(Return), // }, 2, {"eval", "1;"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(LookupSlot) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; int closure = Register::function_closure().index(); int context = Register::current_context().index(); int first_context_slot = Context::MIN_CONTEXT_SLOTS; int new_target = Register::new_target().index(); ExpectedSnippet<const char*> snippets[] = { {"eval('var x = 10;'); return x;", 9 * kPointerSize, 1, 69, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(0), // B(Ldar), THIS(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateMappedArguments), // B(StaContextSlot), R(context), U8(first_context_slot + 1), // B(Ldar), R(new_target), // B(StaContextSlot), R(context), U8(first_context_slot + 2), // B(Mov), R(context), R(3), // B(LdaConstant), U8(0), // B(Star), R(4), // B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlot), // R(3), U8(2), R(1), // B(LdaConstant), U8(1), // B(Star), R(3), // B(Mov), R(1), R(4), // B(Mov), R(3), R(5), // B(Mov), R(closure), R(6), // B(LdaZero), // B(Star), R(7), // B(LdaSmi8), U8(10), // B(Star), R(8), // B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), // U8(5), // B(Star), R(1), // B(Call), R(1), R(2), U8(1), U8(0), // B(LdaLookupSlot), U8(2), // B(Return), // }, 3, {"eval", "var x = 10;", "x"}}, {"eval('var x = 10;'); return typeof x;", 9 * kPointerSize, 1, 70, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(0), // B(Ldar), THIS(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateMappedArguments), // B(StaContextSlot), R(context), U8(first_context_slot + 1), // B(Ldar), R(new_target), // B(StaContextSlot), R(context), U8(first_context_slot + 2), // B(Mov), R(context), R(3), // B(LdaConstant), U8(0), // B(Star), R(4), // B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlot), // R(3), U8(2), R(1), // B(LdaConstant), U8(1), // B(Star), R(3), // B(Mov), R(1), R(4), // B(Mov), R(3), R(5), // B(Mov), R(closure), R(6), // B(LdaZero), // B(Star), R(7), // B(LdaSmi8), U8(10), // B(Star), R(8), // B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), // U8(5), // B(Star), R(1), // B(Call), R(1), R(2), U8(1), U8(0), // B(LdaLookupSlotInsideTypeof), U8(2), // B(TypeOf), // B(Return), // }, 3, {"eval", "var x = 10;", "x"}}, {"x = 20; return eval('');", 9 * kPointerSize, 1, 71, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(0), // B(Ldar), THIS(1), // B(StaContextSlot), R(context), U8(first_context_slot), // B(CreateMappedArguments), // B(StaContextSlot), R(context), U8(first_context_slot + 1), // B(Ldar), R(new_target), // B(StaContextSlot), R(context), U8(first_context_slot + 2), // B(LdaSmi8), U8(20), // B(StaLookupSlotSloppy), U8(0), // B(Mov), R(context), R(3), // B(LdaConstant), U8(1), // B(Star), R(4), // B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlot), // R(3), U8(2), R(1), // B(LdaConstant), U8(2), // B(Star), R(3), // B(Mov), R(1), R(4), // B(Mov), R(3), R(5), // B(Mov), R(closure), R(6), // B(LdaZero), // B(Star), R(7), // B(LdaSmi8), U8(10), // B(Star), R(8), // B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), // U8(5), // B(Star), R(1), // B(Call), R(1), R(2), U8(1), U8(0), // B(Return), // }, 3, {"x", "eval", ""}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(CallLookupSlot) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; Zone zone; FeedbackVectorSpec feedback_spec(&zone); FeedbackVectorSlot slot1 = feedback_spec.AddLoadICSlot(); FeedbackVectorSlot slot2 = feedback_spec.AddCallICSlot(); USE(slot1); Handle<i::TypeFeedbackVector> vector = i::NewTypeFeedbackVector(helper.isolate(), &feedback_spec); int closure = Register::function_closure().index(); int context = Register::current_context().index(); int new_target = Register::new_target().index(); ExpectedSnippet<InstanceType> snippets[] = { {"g = function(){}; eval(''); return g();", 9 * kPointerSize, 1, 90, { B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), // U8(1), // B(PushContext), R(0), // B(Ldar), THIS(1), // B(StaContextSlot), R(context), U8(4), // B(CreateMappedArguments), // B(StaContextSlot), R(context), U8(5), // B(Ldar), R(new_target), // B(StaContextSlot), R(context), U8(6), // B(CreateClosure), U8(0), U8(0), // B(StaLookupSlotSloppy), U8(1), // B(Mov), R(context), R(3), // B(LdaConstant), U8(2), // B(Star), R(4), // B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlot), // R(3), U8(2), R(1), // B(LdaConstant), U8(3), // B(Star), R(3), // B(Mov), R(1), R(4), // B(Mov), R(3), R(5), // B(Mov), R(closure), R(6), // B(LdaZero), // B(Star), R(7), // B(LdaSmi8), U8(10), // B(Star), R(8), // B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), // U8(5), // B(Star), R(1), // B(Call), R(1), R(2), U8(1), U8(0), // B(Mov), R(context), R(3), // B(LdaConstant), U8(1), // B(Star), R(4), // B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlot), // R(3), U8(2), R(1), // B(Call), R(1), R(2), U8(0), U8(vector->GetIndex(slot2)), // B(Return), // }, 4, {InstanceType::SHARED_FUNCTION_INFO_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } // TODO(mythria): tests for variable/function declaration in lookup slots. TEST(LookupSlotInEval) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; const char* function_prologue = "var f;" "var x = 1;" "function f1() {" " eval(\"function t() {"; const char* function_epilogue = " }; f = t; f();\");" "}" "f1();"; ExpectedSnippet<const char*> snippets[] = { {"return x;", 0 * kPointerSize, 1, 3, { B(LdaLookupSlot), U8(0), // B(Return) // }, 1, {"x"}}, {"x = 10;", 0 * kPointerSize, 1, 6, { B(LdaSmi8), U8(10), // B(StaLookupSlotSloppy), U8(0), // B(LdaUndefined), // B(Return), // }, 1, {"x"}}, {"'use strict'; x = 10;", 0 * kPointerSize, 1, 6, { B(LdaSmi8), U8(10), // B(StaLookupSlotStrict), U8(0), // B(LdaUndefined), // B(Return), // }, 1, {"x"}}, {"return typeof x;", 0 * kPointerSize, 1, 4, { B(LdaLookupSlotInsideTypeof), U8(0), // B(TypeOf), // B(Return), // }, 1, {"x"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { std::string script = std::string(function_prologue) + std::string(snippets[i].code_snippet) + std::string(function_epilogue); Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(script.c_str(), "*", "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(LookupSlotWideInEval) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; const char* function_prologue = "var f;" "var x = 1;" "function f1() {" " eval(\"function t() {"; const char* function_epilogue = " }; f = t; f();\");" "}" "f1();"; int const_count[] = {0, 0, 0, 0}; ExpectedSnippet<InstanceType, 257> snippets[] = { {REPEAT_256(SPACE, "var y = 2.3;") "return x;", 1 * kPointerSize, 1, 1028, { REPEAT_256(SPACE, // B(LdaConstant), U8(const_count[0]++), // B(Star), R(0), ) // B(LdaLookupSlotWide), U16(256), // B(Return) // }, 257, {REPEAT_256(COMMA, InstanceType::HEAP_NUMBER_TYPE), InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {REPEAT_256(SPACE, "var y = 2.3;") "return typeof x;", 1 * kPointerSize, 1, 1029, { REPEAT_256(SPACE, // B(LdaConstant), U8(const_count[1]++), // B(Star), R(0), ) // B(LdaLookupSlotInsideTypeofWide), U16(256), // B(TypeOf), // B(Return) // }, 257, {REPEAT_256(COMMA, InstanceType::HEAP_NUMBER_TYPE), InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {REPEAT_256(SPACE, "var y = 2.3;") "x = 10;", 1 * kPointerSize, 1, 1031, { REPEAT_256(SPACE, // B(LdaConstant), U8(const_count[2]++), // B(Star), R(0), ) // B(LdaSmi8), U8(10), // B(StaLookupSlotSloppyWide), U16(256), // B(LdaUndefined), // B(Return) // }, 257, {REPEAT_256(COMMA, InstanceType::HEAP_NUMBER_TYPE), InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, {"'use strict';" REPEAT_256(SPACE, "var y = 2.3;") "x = 10;", 1 * kPointerSize, 1, 1031, { REPEAT_256(SPACE, B(LdaConstant), U8(const_count[3]++), // B(Star), R(0), ) // B(LdaSmi8), U8(10), // B(StaLookupSlotStrictWide), U16(256), // B(LdaUndefined), // B(Return) // }, 257, {REPEAT_256(COMMA, InstanceType::HEAP_NUMBER_TYPE), InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { std::string script = std::string(function_prologue) + std::string(snippets[i].code_snippet) + std::string(function_epilogue); Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(script.c_str(), "*", "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(DeleteLookupSlotInEval) { InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; const char* function_prologue = "var f;" "var x = 1;" "z = 10;" "function f1() {" " var y;" " eval(\"function t() {"; const char* function_epilogue = " }; f = t; f();\");" "}" "f1();"; ExpectedSnippet<const char*> snippets[] = { {"delete x;", 0 * kPointerSize, 1, 5, { B(LdaConstant), U8(0), // B(DeleteLookupSlot), // B(LdaUndefined), // B(Return) // }, 1, {"x"}}, {"return delete y;", 0 * kPointerSize, 1, 2, { B(LdaFalse), // B(Return) // }, 0}, {"return delete z;", 0 * kPointerSize, 1, 4, { B(LdaConstant), U8(0), // B(DeleteLookupSlot), // B(Return) // }, 1, {"z"}}, }; for (size_t i = 0; i < arraysize(snippets); i++) { std::string script = std::string(function_prologue) + std::string(snippets[i].code_snippet) + std::string(function_epilogue); Handle<BytecodeArray> bytecode_array = helper.MakeBytecode(script.c_str(), "*", "f"); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(WideRegisters) { // Prepare prologue that creates frame for lots of registers. std::ostringstream os; for (size_t i = 0; i < 157; ++i) { os << "var x" << i << ";\n"; } std::string prologue(os.str()); ExpectedSnippet<int> snippets[] = { {"x0 = x127;\n" "return x0;\n", 161 * kPointerSize, 1, 10, { B(MovWide), R16(131), R16(125), // B(Ldar), R(125), // B(Star), R(0), // B(Return), // }}, {"x127 = x126;\n" "return x127;\n", 161 * kPointerSize, 1, 22, { B(MovWide), R16(130), R16(125), // B(Ldar), R(125), // B(Star), R(125), // B(MovWide), R16(125), R16(131), // B(MovWide), R16(131), R16(125), // B(Ldar), R(125), // B(Return), // }}, {"if (x2 > 3) { return x129; }\n" "return x128;\n", 162 * kPointerSize, 1, 36, { B(Ldar), R(2), // B(Star), R(125), // B(MovWide), R16(125), R16(161), // B(LdaSmi8), U8(3), // B(MovWide), R16(161), R16(125), // B(TestGreaterThan), R(125), // B(JumpIfFalse), U8(10), // B(MovWide), R16(133), R16(125), // B(Ldar), R(125), // B(Return), // B(MovWide), R16(132), R16(125), // B(Ldar), R(125), // B(Return), // }}, {"var x0 = 0;\n" "if (x129 == 3) { var x129 = x0; }\n" "if (x2 > 3) { return x0; }\n" "return x129;\n", 162 * kPointerSize, 1, 68, { B(LdaZero), // B(Star), R(0), // B(MovWide), R16(133), R16(125), // B(Ldar), R(125), // B(Star), R(125), // B(MovWide), R16(125), R16(161), // B(LdaSmi8), U8(3), // B(MovWide), R16(161), R16(125), // B(TestEqual), R(125), // B(JumpIfFalse), U8(11), // B(Ldar), R(0), // B(Star), R(125), // B(MovWide), R16(125), R16(133), // B(Ldar), R(2), // B(Star), R(125), // B(MovWide), R16(125), R16(161), // B(LdaSmi8), U8(3), // B(MovWide), R16(161), R16(125), // B(TestGreaterThan), R(125), // B(JumpIfFalse), U8(5), // B(Ldar), R(0), // B(Return), // B(MovWide), R16(133), R16(125), // B(Ldar), R(125), // B(Return), // }}, {"var x0 = 0;\n" "var x1 = 0;\n" "for (x128 = 0; x128 < 64; x128++) {" " x1 += x128;" "}" "return x128;\n", 162 * kPointerSize, 1, 97, { B(LdaZero), // B(Star), R(0), // B(LdaZero), // B(Star), R(1), // B(LdaZero), // B(Star), R(125), // B(MovWide), R16(125), R16(132), // B(MovWide), R16(132), R16(125), // B(Ldar), R(125), // B(Star), R(125), // B(MovWide), R16(125), R16(161), // B(LdaSmi8), U8(64), // B(MovWide), R16(161), R16(125), // B(TestLessThan), R(125), // B(JumpIfFalse), U8(52), // B(Ldar), R(1), // B(Star), R(125), // B(MovWide), R16(125), R16(161), // B(MovWide), R16(132), R16(125), // B(Ldar), R(125), // B(MovWide), R16(161), R16(125), // B(Add), R(125), // B(Star), R(1), // B(MovWide), R16(132), R16(125), // B(Ldar), R(125), // B(ToNumber), // B(Star), R(125), // B(MovWide), R16(125), R16(161), // B(Inc), // B(Star), R(125), // B(MovWide), R16(125), R16(132), // B(Jump), U8(-73), // B(MovWide), R16(132), R16(125), // B(Ldar), R(125), // B(Return), // }}, {"var x0 = 1234;\n" "var x1 = 0;\n" "for (x128 in x0) {" " x1 += x128;" "}" "return x1;\n", 167 * kPointerSize, 1, 109, { B(LdaConstant), U8(0), // B(Star), R(0), // B(LdaZero), // B(Star), R(1), // B(Ldar), R(0), // B(JumpIfUndefined), U8(97), // B(JumpIfNull), U8(95), // B(ToObject), // B(JumpIfNull), U8(92), // B(Star), R(125), // B(MovWide), R16(125), R16(161), // B(ForInPrepareWide), R16(162), // B(LdaZero), // B(Star), R(125), // B(MovWide), R16(125), R16(165), // B(MovWide), R16(165), R16(125), // B(MovWide), R16(164), R16(126), // B(ForInDone), R(125), R(126), // B(JumpIfTrue), U8(59), // B(ForInNextWide), R16(161), R16(165), R16(162), // B(JumpIfUndefined), U8(34), // B(Star), R(125), // B(MovWide), R16(125), R16(132), // B(Ldar), R(1), // B(Star), R(125), // B(MovWide), R16(125), R16(166), // B(MovWide), R16(132), R16(125), // B(Ldar), R(125), // B(MovWide), R16(166), R16(125), // B(Add), R(125), // B(Star), R(1), // B(MovWide), R16(165), R16(125), // B(ForInStep), R(125), // B(Star), R(125), // B(MovWide), R16(125), R16(165), // B(Jump), U8(-70), // B(Ldar), R(1), // B(Return), // }, 1, {1234}}, {"x0 = %Add(x64, x63);\n" "x1 = %Add(x27, x143);\n" "%TheHole();\n" "return x1;\n", 163 * kPointerSize, 1, 65, { B(Ldar), R(64), // B(Star), R(125), // B(MovWide), R16(125), R16(161), // B(Ldar), R(63), // B(Star), R(125), // B(MovWide), R16(125), R16(162), // B(CallRuntimeWide), U16(Runtime::kAdd), R16(161), U8(2), // B(Star), R(0), // B(Ldar), R(27), // B(Star), R(125), // B(MovWide), R16(125), R16(161), // B(MovWide), R16(147), R16(125), // B(Ldar), R(125), // B(Star), R(125), // B(MovWide), R16(125), R16(162), // B(CallRuntimeWide), U16(Runtime::kAdd), R16(161), U8(2), // B(Star), R(1), // B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0), // B(Ldar), R(1), // B(Return), // }}}; InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; for (size_t i = 0; i < arraysize(snippets); ++i) { std::string body = prologue + snippets[i].code_snippet; Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(body.c_str()); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } } TEST(DoExpression) { bool old_flag = FLAG_harmony_do_expressions; FLAG_harmony_do_expressions = true; InitializedHandleScope handle_scope; BytecodeGeneratorHelper helper; ExpectedSnippet<const char*> snippets[] = { {"var a = do { }; return a;", 2 * kPointerSize, 1, 5, { B(Ldar), R(0), // B(Star), R(1), // B(Return) // }, 0}, {"var a = do { var x = 100; }; return a;", 3 * kPointerSize, 1, 10, { B(LdaSmi8), U8(100), // B(Star), R(1), // B(LdaUndefined), // B(Star), R(0), // B(Star), R(2), // B(Return) // }, 0}, {"while(true) { var a = 10; a = do { ++a; break; }; a = 20; }", 2 * kPointerSize, 1, 24, { B(LdaSmi8), U8(10), // B(Star), R(1), // B(ToNumber), // B(Inc), // B(Star), R(1), // B(Star), R(0), // B(Jump), U8(12), // B(Ldar), R(0), // B(Star), R(1), // B(LdaSmi8), U8(20), // B(Star), R(1), // B(Jump), U8(-20), // B(LdaUndefined), // B(Return), // }, 0}, }; for (size_t i = 0; i < arraysize(snippets); i++) { Handle<BytecodeArray> bytecode_array = helper.MakeBytecodeForFunctionBody(snippets[i].code_snippet); CheckBytecodeArrayEqual(snippets[i], bytecode_array); } FLAG_harmony_do_expressions = old_flag; } } // namespace interpreter } // namespace internal } // namespace v8
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
c8aa2a4aed415ad072a08ca1a155b1e1e9c298df
78ec7e0510cd4ef25f940d1c974c628ffc84e120
/src/position_pid/position_pid.ino
c4fd4adf4e80fab551bbdcec29c9bae730043560
[]
no_license
NURobotics/nu_urc_embedded
d71acb0ba5ded7e4ec3e7eb647fdb3f993e55869
c01fe889843592ab373df053fa604ef04032f789
refs/heads/master
2020-05-06T12:30:30.910552
2015-03-09T22:33:05
2015-03-09T22:33:05
30,570,143
0
0
null
null
null
null
UTF-8
C++
false
false
3,187
ino
#define ROT_TO_LINES 1189.875 #define ROT_TO_DEG 360.0 #define ROT_TO_RAD (2*PI) #define SEC_TO_RPM 60.0 #define MAX_IE 255.0 int32_t interrupt_count = 0; int32_t count = 0; int dir = 1; double dt = 1.0/125.0; int32_t current_count; int32_t previous_count; double current_position = 0; double previous_position = 0; double goal_position = 100; double rounded_position = 0; double current_rpm = 0; double previous_rpm = 0; double goal_rpm = 100.0; double integral_error = 0; double derivative_error = 0; double gain = 15.0; double output = 0; double control = 0; double K_p = 0.1; double K_i = 0.01; double K_d = 0.001; ISR(TIMER0_COMPA_vect) { previous_count = current_count; current_count = count; previous_rpm = current_rpm; current_rpm = ((double)(current_count - previous_count)*SEC_TO_RPM)/(dt*ROT_TO_LINES); previous_position = current_position; current_position = (current_count*ROT_TO_DEG)/ROT_TO_LINES; // Take into account the rotational constraints rounded_position = ((((int32_t)current_count)%((int32_t)ROT_TO_LINES))*ROT_TO_DEG)/ROT_TO_LINES; double error = goal_position - current_position; if(error > 180) { error = 360 - error; } else if(error < -180) { error = -360 - error; } integral_error += error*dt; if(integral_error > MAX_IE/K_i) integral_error = MAX_IE; if(integral_error < -MAX_IE/K_i) integral_error = -MAX_IE; derivative_error = (current_position - previous_position)/dt; output = gain*(K_p*error + K_i*integral_error + K_d*derivative_error); control = output; if(control < 0) { digitalWrite(12, LOW); analogWrite(11, constrain((int)-control, 0, 255)); } else { digitalWrite(12, HIGH); analogWrite(11, constrain((int)control, 0, 255)); } interrupt_count++; } void encoder_counter() { int x = PIND; if(x&(0b1000)) dir = 1; else dir = -1; count = count + dir; } void setup() { cli(); //set timer0 interrupt at 2kHz TCCR0A = 0;// set entire TCCR2A register to 0 TCCR0B = 0;// same for TCCR2B TCNT0 = 0;//initialize counter value to 0 // set compare match register for 2khz increments OCR0A = 248;// = (16*10^6) / (2000*64) - 1 (must be <256) // turn on CTC mode TCCR0A |= (1 << WGM01); // Set CS01 and CS00 bits for 64 prescaler TCCR0B |= (1 << CS02);// | (1 << CS00); // enable timer compare interrupt TIMSK0 |= (1 << OCIE0A); sei(); Serial.begin(9600); pinMode(11,OUTPUT); pinMode(12,OUTPUT); pinMode(2,INPUT); pinMode(3,INPUT); digitalWrite(12, HIGH); analogWrite(11, control); attachInterrupt(0,encoder_counter,RISING); } void loop() { if(Serial.available()) { // Write code to read goal angular position in DEG char cmd = Serial.read(); if(cmd == 'f') digitalWrite(12, HIGH); else if(cmd == 'b') digitalWrite(12, LOW); } else { long_delay(); Serial.print((double)current_count); Serial.print(" "); Serial.print(rounded_position); Serial.print(" "); Serial.println(output); //Serial.println((double)interrupt_count); } } void long_delay() { for(int i = 0; i < 10; i++) delayMicroseconds(100000000); }
[ "tgdiriba@gmail.com" ]
tgdiriba@gmail.com
d8f12f7537d983698f16a9c43d8f6ea658eb2791
ab5b050bef630246aa7941c87fa3953ed33ef5b3
/Grammar.cpp
c0d74eee748d9434d703cd605b89979c9f22e82e
[]
no_license
jorenga/AbstractVM
62ec919143ad0ea376b019e2a041bb013b42f8bd
76545fd3a0e750ceea2c28c55faada08c3f41a27
refs/heads/master
2022-10-01T21:21:53.193924
2016-11-24T13:22:07
2016-11-24T13:22:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
588
cpp
#include "Grammar.hpp" bool Grammar::isInstruction(const std::string & str) { return (insMap.count(str) == 1); } bool Grammar::isOperandType(const std::string & str) { return (opTypeMap.count(str) == 1); } std::string Grammar::typeToStr(const eOperandType & opType) { return (typeToStrMap.at(static_cast<int>(opType))); } void Grammar::printInstruction(const t_ins & ins) { std::cout << "ins opcode " << opInsMap.at(ins.opcode); if (ins.operand != nullptr) std::cout << " with operand " << ins.operand->toString(); std::cout << " on line " << ins.line << std::endl; }
[ "jrenouf-@student.42.fr" ]
jrenouf-@student.42.fr
a7942c3e064f2f9bb6b231a4ebdd1e08efa489ff
ffd0ac0c7a24a6e9f3d9bee71fa7db30c4b8fb4f
/practice6/heaps/sp20-hw5-stu-check/testing_utils/runtime_evaluator.cpp
e875ca11c3494e4217e93210db50b9cef4e7fdb0
[]
no_license
yunhaoz/C-Data-Structure
63ab522a7802d2a5c6dacfdfa74b3e117e57a7dc
dc01db11cdc139d71c3ccf69719772a843572a9c
refs/heads/main
2023-08-23T15:15:04.215445
2021-10-23T05:22:32
2021-10-23T05:22:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
16,893
cpp
#include "runtime_evaluator.h" #include "misc_utils.h" #include "rang.h" #include <iostream> #include <cassert> #include <cmath> #include <cstring> #include <sstream> #include <iomanip> #include <map> #include <algorithm> BenchmarkTimer::LibperfHolder BenchmarkTimer::holder{}; BenchmarkTimer::BenchmarkTimer(bool autoStart): accumulatedDuration(), currStartTime(), isEnabled(autoStart) { if(autoStart) { start(); } } void BenchmarkTimer::start() { accumulatedDuration = 0; currStartTime = libperf_readcounter(holder.libperf, BENCHMARK_TIMER_PERF_COUNTER); isEnabled = true; } void BenchmarkTimer::stop() { if(isEnabled) { accumulatedDuration += libperf_readcounter(holder.libperf, BENCHMARK_TIMER_PERF_COUNTER) - currStartTime; isEnabled = false; } } void BenchmarkTimer::resume() { if(!isEnabled) { currStartTime = libperf_readcounter(holder.libperf, BENCHMARK_TIMER_PERF_COUNTER); isEnabled = true; } } uint64_t BenchmarkTimer::getTime() { return accumulatedDuration; } void RuntimeEvaluator::printDataSet(DataSet const & data) { std::cout << "# of Elements, Runtime (ns)" << std::endl; std::cout << std::fixed << std::setprecision(0); for(std::pair<uint64_t, uint64_t> const & dataPoint : data) { std::cout << dataPoint.first << ", " << dataPoint.second << std::endl; } } std::pair<double, double> RuntimeEvaluator::calcLinearRegression(DataSet const & data) { double numPoints = static_cast<double>(data.size()); // calculate sums used in the formula double sumXY = 0; double sumX = 0; double sumY = 0; double sumXSquared = 0; for(std::pair<uint64_t, uint64_t> const & point : data) { sumXY += static_cast<double>(point.first * point.second); sumX += static_cast<double>(point.first); sumY += static_cast<double>(point.second); sumXSquared += static_cast<double>(point.first * point.first); } // formula from here: https://www.mathsisfun.com/data/least-squares-regression.html double regressionSlope = (numPoints * sumXY - sumX * sumY) / (numPoints * sumXSquared - sumX * sumX); double regressionYintercept = (sumY - regressionSlope * sumX) / numPoints; return std::make_pair(regressionSlope, regressionYintercept); } void RuntimeEvaluator::discardOutliers(RuntimeEvaluator::DataSet &data) { // first, figure out all the unique X values std::set<uint64_t> uniqueXValues; for(std::pair<uint64_t, uint64_t> const & point : data) { uniqueXValues.insert(point.first); } // it's easier to work with this data as a multimap std::multimap<uint64_t, uint64_t> dataMap(data.begin(), data.end()); for(uint64_t xValue : uniqueXValues) { // now get all the Y values in sorted order auto valuesIteratorPair = dataMap.equal_range(xValue); std::multimap<uint64_t, uint64_t>::iterator yValReadIter = valuesIteratorPair.first; std::multimap<uint64_t, uint64_t>::iterator yValEndIter = valuesIteratorPair.second; std::vector<uint64_t> yValues; while(yValReadIter != yValEndIter) { yValues.push_back(yValReadIter->second); ++yValReadIter; } std::sort(yValues.begin(), yValues.end()); // ...aand go back through and knock off the 10% of largest values size_t valsToRemove = static_cast<size_t>(yValues.size() * (15.0 / 100)); if(valsToRemove > 0) { for(size_t largestValIndex = yValues.size() - 1; yValues.size() - largestValIndex < valsToRemove; --largestValIndex) { // linear search through and remove this value valuesIteratorPair = dataMap.equal_range(xValue); std::multimap<uint64_t, uint64_t>::iterator yValEraseIter = valuesIteratorPair.first; yValEndIter = valuesIteratorPair.second; while(yValEraseIter != yValEndIter) { if(yValEraseIter->second == yValues.at(largestValIndex)) { if(_debug) { std::cout << "Removed outlier data point (" << xValue << ", " << yValEraseIter->second << ")" << std::endl; } dataMap.erase(yValEraseIter); break; } ++yValEraseIter; } } } } // now convert back from a multimap data = DataSet(dataMap.begin(), dataMap.end()); } RuntimeEvaluator::LinearityConclusion RuntimeEvaluator::isLinear(DataSet const & data, bool allowYIntercept) { std::pair<double, double> regressionCoefficients = calcLinearRegression(data); if(!allowYIntercept) { regressionCoefficients.second = 0; } // calculate mean squared error (and sum of squared y coefficients, to get something to compare it to) double sumErrorSquared = 0; double sumYSquared = 0; for(std::pair<uint64_t, uint64_t> const & point : data) { // estimate the time using the regression double regressionTime = static_cast<double>(point.first) * regressionCoefficients.first + static_cast<double>(regressionCoefficients.second); double regressionError = regressionTime - static_cast<double>(point.second); // to find out how close we are to the regression, we use squared errors -- this serves to weight a few large errors higher than lots of medium errors // I did modify the standard formula though by keeping the sign term. This means that if there are errors on both sides of the regression line, // they will compensate for each other and decrease the total error versus if all errors are on the same side of the line. sumErrorSquared += regressionError * regressionError * sgn(regressionError); sumYSquared += static_cast<double>(point.second * point.second); } double averageErrorSquared = fabs(sumErrorSquared / static_cast<double>(data.size())); double averageYSquared = sumYSquared / static_cast<double>(data.size()); double correlationFactor; if(averageErrorSquared == 0) { // no error means perfect linearity correlationFactor = INFINITY; } else { // in my preliminary testing, I found that comparing the average error and average y^2 values was a reasonable test for how linear the data is. // If the average y^2 is an order of magnitude or two greater than the average error, the data is more or less linear. // This ratio also has the nice property that if you multiply all times by a scalar, it stays the same, // so if the user's function gets 10x faster in every case, the correlation factor doesn't change at all. correlationFactor = log10(averageYSquared) - log10(averageErrorSquared); } if(_debug) { // always print 2 decimal places std::cout << std::scientific << std::setprecision(2); std::cout << "Average error squared: " << averageErrorSquared << std::endl; std::cout << "Average y squared: " << averageYSquared << std::endl; } std::cout << std::fixed << std::setprecision(4); if(_debug) { std::cout << "Regression formula: t = " << regressionCoefficients.first << "n + " << regressionCoefficients.second << std::endl; } std::cout << "Correlation factor (" << correlationFactor << ") is " << (correlationFactor >= _correlationThreshold ? ">=" : "<") << " threshold (" << _correlationThreshold << ')' << std::endl; return LinearityConclusion(regressionCoefficients.first, correlationFactor >= _correlationThreshold); } RuntimeEvaluator::RuntimeEvaluator(std::string snippetName, uint8_t evalRangeStart, uint8_t evalRangeEnd, uint8_t numTrialsPerSize, Snippet const & snippet): _snippetName(std::move(snippetName)), _evalRangeStart(evalRangeStart), _evalRangeEnd(evalRangeEnd), _numTrialsPerSize(numTrialsPerSize), _snippet(snippet), _debug(false), _recordedData(), _correlationThreshold(2.0), // default value determined by modeling a couple of analyses in Excel _matchedComplexities() { // note: 64 comes from log2(max value of uint64_t) assert(_evalRangeStart < 64); assert(_evalRangeEnd < 64); assert(_evalRangeStart <= _evalRangeEnd); } // my Excel models seem to indicate that linear functions would have a slope of at least 1e-5 us/item #define POSITIVE_REGRESSION_SLOPE .1e-5 void RuntimeEvaluator::evaluate() { _recordedData = std::make_shared<DataSet>(); // don't print progress when the test output is going to a file, // so the backspace characters don't mess things u1.5 bool printProgress = rang::rang_implementation::isTerminal(std::cout.rdbuf()); std::cout << ">> Evaluating runtime of " << _snippetName << std::endl; for(uint8_t currPowOf2 = _evalRangeStart; currPowOf2 <= _evalRangeEnd; ++currPowOf2) { uint64_t numElements = static_cast<uint64_t>(pow(1.6, currPowOf2)); if(printProgress) { std::cout << "Testing with 1.6^" << static_cast<uint16_t>(currPowOf2) << " (" << numElements << ") elements (trial "; } for(uint8_t trial = 1; trial <= _numTrialsPerSize; ++trial) { std::stringstream progressMessage; progressMessage << static_cast<uint16_t>(trial) << '/' << static_cast<uint16_t>(_numTrialsPerSize) << ')'; if(printProgress) { std::cout << progressMessage.str() << std::flush; } // create random seed. To get a nearly-unique uint32_t, we XOR the upper and lower halves of numElements together, then XOR trial every 4th bit RandomSeed seed = static_cast<RandomSeed>((numElements >> 32) ^ (numElements & 0xFFFFFFFF)); for(uint8_t bit = 0; bit < sizeof(uint32_t) * 8; ++bit) { uint8_t bitToXor = static_cast<uint8_t>((trial & (1 << bit)) >> bit); seed ^= bitToXor << bit * 4; } uint64_t trialDuration = _snippet(numElements, seed); _recordedData->emplace_back(numElements, trialDuration); if(trial < _numTrialsPerSize) { // erase the message we printed earlier size_t numChars = progressMessage.str().length(); if(printProgress) { std::cout << std::string(numChars, '\b'); } } } if(printProgress) { std::cout << std::endl; } } discardOutliers(*_recordedData); if(_debug) { std::cout << "Runtime data: " << std::endl; printDataSet(*_recordedData); std::cout << "----------------------------------------------" << std::endl; } // ---------------------------------------------------------------------------------------- // check data if(_recordedData->empty()) { std::cerr << "ERROR: no runtime data points recorded for " << _snippetName << "." << std::endl; std::cerr << "Perhaps you need to fix the testing range?" << std::endl; return; } bool allZeros = true; for(std::pair<uint64_t, uint64_t> const & point : *_recordedData) { if(point.second != 0) { allZeros = false; break; } } if(allZeros) { std::cout << "WARNING: All runtime data points recorded for " << _snippetName << " are zeros." << std::endl; std::cerr << "Perhaps you need to increase the number of elements used?" << std::endl; } // ---------------------------------------------------------------------------------------- std::cout << "Testing if time complexity could be linear..." << std::endl; LinearityConclusion linearConclusion = isLinear(*_recordedData); // to try and exclude constant-time functions, we disable the y-intercept and require a positive slope if(linearConclusion._isLinear && linearConclusion._regressionSlope >= POSITIVE_REGRESSION_SLOPE) { std::cout << ">> Time complexity of " << _snippetName << " is likely linear" << std::endl; _matchedComplexities.insert(TimeComplexity::LINEAR); } // ---------------------------------------------------------------------------------------- std::cout << "Testing if time complexity could be constant..." << std::endl; // t = c // nt = cn // transform data by multiplying it by the size to create a linear function. // we also make every 0 into a 1 to make sure that they don't throw off the measurement DataSet constantCompensatedData; for(std::pair<uint64_t, uint64_t> const & point : *_recordedData) { uint64_t correctedTime = point.second; if(correctedTime == 0) { correctedTime = 1; } constantCompensatedData.emplace_back(point.first, static_cast<double>(correctedTime * point.first)); } LinearityConclusion constantConclusion = isLinear(constantCompensatedData); if(constantConclusion._isLinear && constantConclusion._regressionSlope >= POSITIVE_REGRESSION_SLOPE) { std::cout << ">> Time complexity of " << _snippetName << " is likely constant" << std::endl; _matchedComplexities.insert(TimeComplexity::CONSTANT); } // ---------------------------------------------------------------------------------------- std::cout << "Testing if time complexity could be logarithmic..." << std::endl; // t = logₖ(n) // t = ln(n)/ln(k) // t * ln(k) = ln(n) [ln(k) is a constant] DataSet logarithmicCompensatedData; for(std::pair<uint64_t, uint64_t> const & point : *_recordedData) { logarithmicCompensatedData.emplace_back(log(point.first), point.second); } LinearityConclusion logarithmicConclusion = isLinear(logarithmicCompensatedData); if(logarithmicConclusion._isLinear && logarithmicConclusion._regressionSlope >= POSITIVE_REGRESSION_SLOPE) { std::cout << ">> Time complexity of " << _snippetName << " is likely logarithmic" << std::endl; _matchedComplexities.insert(TimeComplexity::LOGARITHMIC); } // ---------------------------------------------------------------------------------------- std::cout << "Testing if time complexity could be linearithmic..." << std::endl; // t = nlogₖ(n) // t = n*(ln(n)/ln(k)) // ln(k)*t/n = ln(n) DataSet linearrithmicCompensatedData; for(std::pair<uint64_t, uint64_t> const & point : *_recordedData) { linearrithmicCompensatedData.emplace_back(log(point.first), point.second / point.first); } LinearityConclusion linearithmicConclusion = isLinear(linearrithmicCompensatedData); if(linearithmicConclusion._isLinear && linearithmicConclusion._regressionSlope >= POSITIVE_REGRESSION_SLOPE) { std::cout << ">> Time complexity of " << _snippetName << " is likely linearithmic" << std::endl; _matchedComplexities.insert(TimeComplexity::LINEARITHMIC); } // ---------------------------------------------------------------------------------------- std::cout << "Testing if time complexity could be quadratic..." << std::endl; // t = n^2 // √t = n (t and n are both >0) // transform recorded data by square-rooting it DataSet quadraticCompensatedData; for(std::pair<uint64_t, uint64_t> const & point : *_recordedData) { quadraticCompensatedData.emplace_back(point.first, sqrt(static_cast<double>(point.second))); } LinearityConclusion quadraticConclusion = isLinear(quadraticCompensatedData); if(quadraticConclusion._isLinear && quadraticConclusion._regressionSlope >= POSITIVE_REGRESSION_SLOPE) { std::cout << ">> Time complexity of " << _snippetName << " is likely quadratic" << std::endl; _matchedComplexities.insert(TimeComplexity::QUADRATIC); } // ---------------------------------------------------------------------------------------- std::cout << "Testing if time complexity could be cubic..." << std::endl; // t = n^3 // ∛t = n // transform recorded data by cube-rooting it DataSet cubicCompensatedData; for(std::pair<uint64_t, uint64_t> const & point : *_recordedData) { cubicCompensatedData.emplace_back(point.first, cbrt(static_cast<double>(point.second))); } LinearityConclusion cubicConclusion = isLinear(cubicCompensatedData); if(cubicConclusion._isLinear && cubicConclusion._regressionSlope >= POSITIVE_REGRESSION_SLOPE) { std::cout << ">> Time complexity of " << _snippetName << " is likely cubic" << std::endl; _matchedComplexities.insert(TimeComplexity::CUBIC); } // ---------------------------------------------------------------------------------------- // currently commented out because it generates false positives /* std::cout << "Testing if time complexity could be exponential..." << std::endl; // t = c^n // t^(1/n) = c (t and n are both >0) // nt^(1/n) = cn // transform recorded data by nth-rooting it then multiplying it by n DataSet exponentialCompensatedData; for(std::pair<uint64_t, uint64_t> const & point : *_recordedData) { exponentialCompensatedData.emplace_back(point.first, static_cast<double>(point.first) * pow(static_cast<double>(point.second), 1/static_cast<double>(point.first))); } LinearityConclusion exponentialConclusion = isLinear(exponentialCompensatedData); if(exponentialConclusion._isLinear && exponentialConclusion._regressionSlope >= POSITIVE_REGRESSION_SLOPE) { std::cout << ">> Time complexity of " << _snippetName << " might be exponential" << std::endl; _matchedComplexities.insert(TimeComplexity::EXPONENTIAL); } */ } bool RuntimeEvaluator::meetsComplexity(TimeComplexity complexity) { // iterate backwards through the complexities smaller than or equl to the given complexity for(TimeComplexity checkingComplexity = complexity; static_cast<uint8_t>(checkingComplexity) >= static_cast<uint8_t>(TimeComplexity::CONSTANT); checkingComplexity = static_cast<TimeComplexity>(static_cast<uint8_t>(checkingComplexity) - 1)) { if(_matchedComplexities.find(checkingComplexity) != _matchedComplexities.end()) { return true; } } return false; }
[ "zhaoyunhao0121@163.com" ]
zhaoyunhao0121@163.com
b7bfda1c261cc287fc77a2b46601dcdbe8ae94a2
8a5c52d0a83e6a8ffdb6a219b6c10a116599dce2
/moc_mainwindow.cpp
58539ea9595cdfe45db8c16ef84efe42fa996323
[]
no_license
JiMingC/myGitTest
aa7eef6ad674b75c0c71033a3c0dbffc50582edc
7a28602fc5908882f9699658ce1d51c2f3b6bac2
refs/heads/master
2020-03-19T14:12:46.391912
2018-06-08T12:50:51
2018-06-08T12:50:51
136,613,601
1
0
null
null
null
null
UTF-8
C++
false
false
3,408
cpp
/**************************************************************************** ** Meta object code from reading C++ file 'mainwindow.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "mainwindow.h" #include <QtCore/qbytearray.h> #include <QtCore/qmetatype.h> #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'mainwindow.h' doesn't include <QObject>." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.7.0. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE struct qt_meta_stringdata_MainWindow_t { QByteArrayData data[3]; char stringdata0[21]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = { { QT_MOC_LITERAL(0, 0, 10), // "MainWindow" QT_MOC_LITERAL(1, 11, 8), // "showinfo" QT_MOC_LITERAL(2, 20, 0) // "" }, "MainWindow\0showinfo\0" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_MainWindow[] = { // content: 7, // revision 0, // classname 0, 0, // classinfo 1, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 0, // signalCount // slots: name, argc, parameters, tag, flags 1, 2, 19, 2, 0x08 /* Private */, // slots: parameters QMetaType::Void, QMetaType::Int, QMetaType::Int, 2, 2, 0 // eod }; void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { MainWindow *_t = static_cast<MainWindow *>(_o); Q_UNUSED(_t) switch (_id) { case 0: _t->showinfo((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; default: ; } } } const QMetaObject MainWindow::staticMetaObject = { { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data, qt_meta_data_MainWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} }; const QMetaObject *MainWindow::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *MainWindow::qt_metacast(const char *_clname) { if (!_clname) return Q_NULLPTR; if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0)) return static_cast<void*>(const_cast< MainWindow*>(this)); return QMainWindow::qt_metacast(_clname); } int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QMainWindow::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 1) qt_static_metacall(this, _c, _id, _a); _id -= 1; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 1) *reinterpret_cast<int*>(_a[0]) = -1; _id -= 1; } return _id; } QT_END_MOC_NAMESPACE
[ "623516556@qq.com" ]
623516556@qq.com
22656ed3d5c7d3fd9a2e60c6e4cf177a849b2dee
480b8ec6a1e0afb692919f207c359682b3b91131
/src/caffe/layers/triplet_image_data_layer.cpp
ed6b9978afbea732a1d65f7bcfe9618821c469e3
[ "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
dongzhang96/transferable-network-for-video-object-segmentation
75d36529d531cafc843d5692ef6eb0aaceed9088
d7a51269438985fa5ac2f476bdf6902a983469de
refs/heads/master
2021-01-01T17:33:54.863783
2018-04-12T02:57:51
2018-04-12T02:57:51
98,097,110
0
1
null
null
null
null
UTF-8
C++
false
false
7,560
cpp
#ifdef USE_OPENCV #include <opencv2/core/core.hpp> #include <fstream> // NOLINT(readability/streams) #include <iostream> // NOLINT(readability/streams) #include <string> #include <utility> #include <vector> #include "caffe/layers/triplet_image_data_layer.hpp" #include "caffe/layer.hpp" #include "caffe/util/benchmark.hpp" #include "caffe/util/io.hpp" #include "caffe/util/math_functions.hpp" #include "caffe/util/rng.hpp" namespace caffe { template <typename Dtype> TripletImageDataLayer<Dtype>::~TripletImageDataLayer<Dtype>() { this->StopInternalThread(); } template <typename Dtype> void TripletImageDataLayer<Dtype>::DataLayerSetUp(const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) { const int new_height = this->layer_param_.image_data_param().new_height(); const int new_width = this->layer_param_.image_data_param().new_width(); const bool is_color = this->layer_param_.image_data_param().is_color(); string root_folder = this->layer_param_.image_data_param().root_folder(); CHECK((new_height == 0 && new_width == 0) || (new_height > 0 && new_width > 0)) << "Current implementation requires " "new_height and new_width to be set at the same time."; // Read the file with filenames and labels const string& source = this->layer_param_.image_data_param().source(); LOG(INFO) << "Opening file " << source; std::ifstream infile(source.c_str()); vector<string> filenames(3); string line; size_t pos; int label; while (infile >> filenames[0] >> filenames[1] >> filenames[2]) { std::getline(infile, line); pos = line.find_last_of(' '); label = atoi(line.substr(pos + 1).c_str()); lines_.push_back(std::make_pair(filenames, label)); } if (this->layer_param_.image_data_param().shuffle()) { // randomly shuffle data LOG(INFO) << "Shuffling data"; const unsigned int prefetch_rng_seed = caffe_rng_rand(); prefetch_rng_.reset(new Caffe::RNG(prefetch_rng_seed)); ShuffleTriplets(); } LOG(INFO) << "A total of " << lines_.size() << " images."; lines_id_ = 0; // Check if we would need to randomly skip a few data points if (this->layer_param_.image_data_param().rand_skip()) { unsigned int skip = caffe_rng_rand() % this->layer_param_.image_data_param().rand_skip(); LOG(INFO) << "Skipping first " << skip << " data points."; CHECK_GT(lines_.size(), skip) << "Not enough points to skip"; lines_id_ = skip; } // Read an image, and use it to initialize the top blob. cv::Mat cv_img = ReadImageToCVMat(root_folder + lines_[lines_id_].first[0], new_height, new_width, is_color); CHECK(cv_img.data) << "Could not load " << lines_[lines_id_].first[0]; // Use data_transformer to infer the expected blob shape from a cv_image. vector<int> top_shape = this->data_transformer_->InferBlobShape(cv_img); this->transformed_data_.Reshape(top_shape); // Reshape prefetch_data and top[0] according to the batch_size. const int batch_size = this->layer_param_.image_data_param().batch_size(); CHECK_GT(batch_size, 0) << "Positive batch size required"; top_shape[0] = batch_size * 3; for (int i = 0; i < this->PREFETCH_COUNT; ++i) { this->prefetch_[i].data_.Reshape(top_shape); } top[0]->Reshape(top_shape); LOG(INFO) << "output data size: " << top[0]->num() << "," << top[0]->channels() << "," << top[0]->height() << "," << top[0]->width(); vector<int> label_shape; label_shape.push_back(batch_size * 3); label_shape.push_back(1); label_shape.push_back(1); label_shape.push_back(1); top[1]->Reshape(label_shape); for (int i = 0; i < this->PREFETCH_COUNT; ++i) { this->prefetch_[i].label_.Reshape(label_shape); } LOG(INFO) << "output label size: " << top[1]->num() << "," << top[1]->channels() << "," << top[1]->height() << "," << top[1]->width(); } template <typename Dtype> void TripletImageDataLayer<Dtype>::ShuffleTriplets() { caffe::rng_t* prefetch_rng = static_cast<caffe::rng_t*>(prefetch_rng_->generator()); shuffle(lines_.begin(), lines_.end(), prefetch_rng); } // This function is called on prefetch thread template <typename Dtype> void TripletImageDataLayer<Dtype>::load_batch(Batch<Dtype>* batch) { CPUTimer batch_timer; batch_timer.Start(); double read_time = 0; double trans_time = 0; CPUTimer timer; CHECK(batch->data_.count()); CHECK(this->transformed_data_.count()); ImageDataParameter image_data_param = this->layer_param_.image_data_param(); const int batch_size = image_data_param.batch_size(); const int new_height = image_data_param.new_height(); const int new_width = image_data_param.new_width(); const bool is_color = image_data_param.is_color(); string root_folder = image_data_param.root_folder(); // Reshape according to the first image of each batch // on single input batches allows for inputs of varying dimension. cv::Mat cv_img = ReadImageToCVMat(root_folder + lines_[lines_id_].first[0], new_height, new_width, is_color); CHECK(cv_img.data) << "Could not load " << lines_[lines_id_].first[0]; // Use data_transformer to infer the expected blob shape from a cv_img. vector<int> top_shape = this->data_transformer_->InferBlobShape(cv_img); this->transformed_data_.Reshape(top_shape); // Reshape batch according to the batch_size. top_shape[0] = batch_size * 3; batch->data_.Reshape(top_shape); Dtype* prefetch_data = batch->data_.mutable_cpu_data(); Dtype* prefetch_label = batch->label_.mutable_cpu_data(); // datum scales const int lines_size = lines_.size(); for (int item_id = 0; item_id < batch_size; ++item_id) { for (int tri_id=0; tri_id<3; ++tri_id) { // get a blob timer.Start(); CHECK_GT(lines_size, lines_id_); cv::Mat cv_img = ReadImageToCVMat(root_folder + lines_[lines_id_].first[tri_id], new_height, new_width, is_color); CHECK(cv_img.data) << "Could not load " << lines_[lines_id_].first[tri_id]; read_time += timer.MicroSeconds(); timer.Start(); // Apply transformations (mirror, crop...) to the image int offset = batch->data_.offset(item_id + tri_id * batch_size); this->transformed_data_.set_cpu_data(prefetch_data + offset); this->data_transformer_->Transform(cv_img, &(this->transformed_data_)); trans_time += timer.MicroSeconds(); } for (int tri_id = 0; tri_id < 3; ++tri_id) { prefetch_label[item_id + tri_id * batch_size] = lines_[lines_id_].second; //LOG(INFO) << "label place " << item_id + tri_id; //LOG(INFO) << "label value " << prefetch_label[item_id + tri_id]; } // go to the next iter lines_id_++; if (lines_id_ >= lines_size) { // We have reached the end. Restart from the first. DLOG(INFO) << "Restarting data prefetching from start."; lines_id_ = 0; if (this->layer_param_.image_data_param().shuffle()) { ShuffleTriplets(); } } } batch_timer.Stop(); DLOG(INFO) << "Prefetch batch: " << batch_timer.MilliSeconds() << " ms."; DLOG(INFO) << " Read time: " << read_time / 1000 << " ms."; DLOG(INFO) << "Transform time: " << trans_time / 1000 << " ms."; } INSTANTIATE_CLASS(TripletImageDataLayer); REGISTER_LAYER_CLASS(TripletImageData); } // namespace caffe #endif // USE_OPENCV
[ "zhangdong9612@gmail.com" ]
zhangdong9612@gmail.com
033b0d1399528ba83cf067cf8ef17a81c8176611
9f16950a070174c4ad6419b6aa48e0b3fd34a09e
/3rdparty/msdfgen/msdfgen.cpp
1d445184659c923b23e527a97eee367ca4d357f8
[ "MIT" ]
permissive
marcel303/framework
594043fad6a261ce2f8e862f921aee1192712612
9459898c280223b853bf16d6e382a6f7c573e10e
refs/heads/master
2023-05-14T02:30:51.063401
2023-05-07T07:57:12
2023-05-07T10:16:34
112,006,739
53
1
null
2020-01-13T18:48:32
2017-11-25T13:45:56
C++
UTF-8
C++
false
false
21,247
cpp
#include "msdfgen.h" #include "arithmetics.hpp" namespace msdfgen { struct MultiDistance { double r, g, b; double med; }; static inline bool pixelClash(const FloatRGBA &a, const FloatRGBA &b, double threshold) { // Only consider pair where both are on the inside or both are on the outside bool aIn = (a.r > .5f)+(a.g > .5f)+(a.b > .5f) >= 2; bool bIn = (b.r > .5f)+(b.g > .5f)+(b.b > .5f) >= 2; if (aIn != bIn) return false; // If the change is 0 <-> 1 or 2 <-> 3 channels and not 1 <-> 1 or 2 <-> 2, it is not a clash if ((a.r > .5f && a.g > .5f && a.b > .5f) || (a.r < .5f && a.g < .5f && a.b < .5f) || (b.r > .5f && b.g > .5f && b.b > .5f) || (b.r < .5f && b.g < .5f && b.b < .5f)) return false; // Find which color is which: _a, _b = the changing channels, _c = the remaining one float aa, ab, ba, bb, ac, bc; if ((a.r > .5f) != (b.r > .5f) && (a.r < .5f) != (b.r < .5f)) { aa = a.r, ba = b.r; if ((a.g > .5f) != (b.g > .5f) && (a.g < .5f) != (b.g < .5f)) { ab = a.g, bb = b.g; ac = a.b, bc = b.b; } else if ((a.b > .5f) != (b.b > .5f) && (a.b < .5f) != (b.b < .5f)) { ab = a.b, bb = b.b; ac = a.g, bc = b.g; } else return false; // this should never happen } else if ((a.g > .5f) != (b.g > .5f) && (a.g < .5f) != (b.g < .5f) && (a.b > .5f) != (b.b > .5f) && (a.b < .5f) != (b.b < .5f)) { aa = a.g, ba = b.g; ab = a.b, bb = b.b; ac = a.r, bc = b.r; } else return false; // Find if the channels are in fact discontinuous return (fabsf(aa-ba) >= threshold) && (fabsf(ab-bb) >= threshold) && fabsf(ac-.5f) >= fabsf(bc-.5f); // Out of the pair, only flag the pixel farther from a shape edge } void msdfErrorCorrection(Bitmap<FloatRGBA> &output, const Vector2 &threshold) { std::vector<std::pair<int, int> > clashes; int w = output.width(), h = output.height(); for (int y = 0; y < h; ++y) for (int x = 0; x < w; ++x) { if ((x > 0 && pixelClash(output(x, y), output(x-1, y), threshold.x)) || (x < w-1 && pixelClash(output(x, y), output(x+1, y), threshold.x)) || (y > 0 && pixelClash(output(x, y), output(x, y-1), threshold.y)) || (y < h-1 && pixelClash(output(x, y), output(x, y+1), threshold.y))) clashes.push_back(std::make_pair(x, y)); } for (std::vector<std::pair<int, int> >::const_iterator clash = clashes.begin(); clash != clashes.end(); ++clash) { FloatRGBA &pixel = output(clash->first, clash->second); float med = median(pixel.r, pixel.g, pixel.b); pixel.r = med, pixel.g = med, pixel.b = med; } } void generateSDF(Bitmap<float> &output, const Shape &shape, double range, const Vector2 &scale, const Vector2 &translate) { int contourCount = shape.contours.size(); int w = output.width(), h = output.height(); std::vector<int> windings; windings.reserve(contourCount); for (std::vector<Contour>::const_iterator contour = shape.contours.begin(); contour != shape.contours.end(); ++contour) windings.push_back(contour->winding()); #ifdef MSDFGEN_USE_OPENMP #pragma omp parallel #endif { std::vector<double> contourSD; contourSD.resize(contourCount); #ifdef MSDFGEN_USE_OPENMP #pragma omp for #endif for (int y = 0; y < h; ++y) { int row = shape.inverseYAxis ? h-y-1 : y; for (int x = 0; x < w; ++x) { double dummy; Point2 p = Vector2(x+.5, y+.5)/scale-translate; double negDist = -SignedDistance::INFINITE.distance; double posDist = SignedDistance::INFINITE.distance; int winding = 0; std::vector<Contour>::const_iterator contour = shape.contours.begin(); for (int i = 0; i < contourCount; ++i, ++contour) { SignedDistance minDistance; for (std::vector<EdgeHolder>::const_iterator edge = contour->edges.begin(); edge != contour->edges.end(); ++edge) { SignedDistance distance = (*edge)->signedDistance(p, dummy); if (distance < minDistance) minDistance = distance; } contourSD[i] = minDistance.distance; if (windings[i] > 0 && minDistance.distance >= 0 && fabs(minDistance.distance) < fabs(posDist)) posDist = minDistance.distance; if (windings[i] < 0 && minDistance.distance <= 0 && fabs(minDistance.distance) < fabs(negDist)) negDist = minDistance.distance; } double sd = SignedDistance::INFINITE.distance; if (posDist >= 0 && fabs(posDist) <= fabs(negDist)) { sd = posDist; winding = 1; for (int i = 0; i < contourCount; ++i) if (windings[i] > 0 && contourSD[i] > sd && fabs(contourSD[i]) < fabs(negDist)) sd = contourSD[i]; } else if (negDist <= 0 && fabs(negDist) <= fabs(posDist)) { sd = negDist; winding = -1; for (int i = 0; i < contourCount; ++i) if (windings[i] < 0 && contourSD[i] < sd && fabs(contourSD[i]) < fabs(posDist)) sd = contourSD[i]; } for (int i = 0; i < contourCount; ++i) if (windings[i] != winding && fabs(contourSD[i]) < fabs(sd)) sd = contourSD[i]; output(x, row) = float(sd/range+.5); } } } } void generatePseudoSDF(Bitmap<float> &output, const Shape &shape, double range, const Vector2 &scale, const Vector2 &translate) { int contourCount = shape.contours.size(); int w = output.width(), h = output.height(); std::vector<int> windings; windings.reserve(contourCount); for (std::vector<Contour>::const_iterator contour = shape.contours.begin(); contour != shape.contours.end(); ++contour) windings.push_back(contour->winding()); #ifdef MSDFGEN_USE_OPENMP #pragma omp parallel #endif { std::vector<double> contourSD; contourSD.resize(contourCount); #ifdef MSDFGEN_USE_OPENMP #pragma omp for #endif for (int y = 0; y < h; ++y) { int row = shape.inverseYAxis ? h-y-1 : y; for (int x = 0; x < w; ++x) { Point2 p = Vector2(x+.5, y+.5)/scale-translate; double sd = SignedDistance::INFINITE.distance; double negDist = -SignedDistance::INFINITE.distance; double posDist = SignedDistance::INFINITE.distance; int winding = 0; std::vector<Contour>::const_iterator contour = shape.contours.begin(); for (int i = 0; i < contourCount; ++i, ++contour) { SignedDistance minDistance; const EdgeHolder *nearEdge = NULL; double nearParam = 0; for (std::vector<EdgeHolder>::const_iterator edge = contour->edges.begin(); edge != contour->edges.end(); ++edge) { double param; SignedDistance distance = (*edge)->signedDistance(p, param); if (distance < minDistance) { minDistance = distance; nearEdge = &*edge; nearParam = param; } } if (fabs(minDistance.distance) < fabs(sd)) { sd = minDistance.distance; winding = -windings[i]; } if (nearEdge) (*nearEdge)->distanceToPseudoDistance(minDistance, p, nearParam); contourSD[i] = minDistance.distance; if (windings[i] > 0 && minDistance.distance >= 0 && fabs(minDistance.distance) < fabs(posDist)) posDist = minDistance.distance; if (windings[i] < 0 && minDistance.distance <= 0 && fabs(minDistance.distance) < fabs(negDist)) negDist = minDistance.distance; } double psd = SignedDistance::INFINITE.distance; if (posDist >= 0 && fabs(posDist) <= fabs(negDist)) { psd = posDist; winding = 1; for (int i = 0; i < contourCount; ++i) if (windings[i] > 0 && contourSD[i] > psd && fabs(contourSD[i]) < fabs(negDist)) psd = contourSD[i]; } else if (negDist <= 0 && fabs(negDist) <= fabs(posDist)) { psd = negDist; winding = -1; for (int i = 0; i < contourCount; ++i) if (windings[i] < 0 && contourSD[i] < psd && fabs(contourSD[i]) < fabs(posDist)) psd = contourSD[i]; } for (int i = 0; i < contourCount; ++i) if (windings[i] != winding && fabs(contourSD[i]) < fabs(psd)) psd = contourSD[i]; output(x, row) = float(psd/range+.5); } } } } void generateMSDF(Bitmap<FloatRGBA> &output, const Shape &shape, double range, const Vector2 &scale, const Vector2 &translate, double edgeThreshold) { int contourCount = shape.contours.size(); int w = output.width(), h = output.height(); std::vector<int> windings; windings.reserve(contourCount); for (std::vector<Contour>::const_iterator contour = shape.contours.begin(); contour != shape.contours.end(); ++contour) windings.push_back(contour->winding()); #ifdef MSDFGEN_USE_OPENMP #pragma omp parallel #endif { std::vector<MultiDistance> contourSD; contourSD.resize(contourCount); #ifdef MSDFGEN_USE_OPENMP #pragma omp for #endif for (int y = 0; y < h; ++y) { int row = shape.inverseYAxis ? h-y-1 : y; for (int x = 0; x < w; ++x) { Point2 p = Vector2(x+.5, y+.5)/scale-translate; struct EdgePoint { SignedDistance minDistance; const EdgeHolder *nearEdge; double nearParam; } sr, sg, sb; sr.nearEdge = sg.nearEdge = sb.nearEdge = NULL; sr.nearParam = sg.nearParam = sb.nearParam = 0; double d = fabs(SignedDistance::INFINITE.distance); double negDist = -SignedDistance::INFINITE.distance; double posDist = SignedDistance::INFINITE.distance; int winding = 0; std::vector<Contour>::const_iterator contour = shape.contours.begin(); for (int i = 0; i < contourCount; ++i, ++contour) { EdgePoint r, g, b; r.nearEdge = g.nearEdge = b.nearEdge = NULL; r.nearParam = g.nearParam = b.nearParam = 0; for (std::vector<EdgeHolder>::const_iterator edge = contour->edges.begin(); edge != contour->edges.end(); ++edge) { double param; SignedDistance distance = (*edge)->signedDistance(p, param); if ((*edge)->color&RED && distance < r.minDistance) { r.minDistance = distance; r.nearEdge = &*edge; r.nearParam = param; } if ((*edge)->color&GREEN && distance < g.minDistance) { g.minDistance = distance; g.nearEdge = &*edge; g.nearParam = param; } if ((*edge)->color&BLUE && distance < b.minDistance) { b.minDistance = distance; b.nearEdge = &*edge; b.nearParam = param; } } if (r.minDistance < sr.minDistance) sr = r; if (g.minDistance < sg.minDistance) sg = g; if (b.minDistance < sb.minDistance) sb = b; double medMinDistance = fabs(median(r.minDistance.distance, g.minDistance.distance, b.minDistance.distance)); if (medMinDistance < d) { d = medMinDistance; winding = -windings[i]; } if (r.nearEdge) (*r.nearEdge)->distanceToPseudoDistance(r.minDistance, p, r.nearParam); if (g.nearEdge) (*g.nearEdge)->distanceToPseudoDistance(g.minDistance, p, g.nearParam); if (b.nearEdge) (*b.nearEdge)->distanceToPseudoDistance(b.minDistance, p, b.nearParam); medMinDistance = median(r.minDistance.distance, g.minDistance.distance, b.minDistance.distance); contourSD[i].r = r.minDistance.distance; contourSD[i].g = g.minDistance.distance; contourSD[i].b = b.minDistance.distance; contourSD[i].med = medMinDistance; if (windings[i] > 0 && medMinDistance >= 0 && fabs(medMinDistance) < fabs(posDist)) posDist = medMinDistance; if (windings[i] < 0 && medMinDistance <= 0 && fabs(medMinDistance) < fabs(negDist)) negDist = medMinDistance; } if (sr.nearEdge) (*sr.nearEdge)->distanceToPseudoDistance(sr.minDistance, p, sr.nearParam); if (sg.nearEdge) (*sg.nearEdge)->distanceToPseudoDistance(sg.minDistance, p, sg.nearParam); if (sb.nearEdge) (*sb.nearEdge)->distanceToPseudoDistance(sb.minDistance, p, sb.nearParam); MultiDistance msd; msd.r = msd.g = msd.b = msd.med = SignedDistance::INFINITE.distance; if (posDist >= 0 && fabs(posDist) <= fabs(negDist)) { msd.med = SignedDistance::INFINITE.distance; winding = 1; for (int i = 0; i < contourCount; ++i) if (windings[i] > 0 && contourSD[i].med > msd.med && fabs(contourSD[i].med) < fabs(negDist)) msd = contourSD[i]; } else if (negDist <= 0 && fabs(negDist) <= fabs(posDist)) { msd.med = -SignedDistance::INFINITE.distance; winding = -1; for (int i = 0; i < contourCount; ++i) if (windings[i] < 0 && contourSD[i].med < msd.med && fabs(contourSD[i].med) < fabs(posDist)) msd = contourSD[i]; } for (int i = 0; i < contourCount; ++i) if (windings[i] != winding && fabs(contourSD[i].med) < fabs(msd.med)) msd = contourSD[i]; if (median(sr.minDistance.distance, sg.minDistance.distance, sb.minDistance.distance) == msd.med) { msd.r = sr.minDistance.distance; msd.g = sg.minDistance.distance; msd.b = sb.minDistance.distance; } if (range == 0.0) { output(x, row).r = float(msd.r); output(x, row).g = float(msd.g); output(x, row).b = float(msd.b); output(x, row).a = 1.f; } else { output(x, row).r = float(msd.r/range+.5); output(x, row).g = float(msd.g/range+.5); output(x, row).b = float(msd.b/range+.5); output(x, row).a = 1.f; } } } } if (edgeThreshold > 0) msdfErrorCorrection(output, edgeThreshold/(scale*range)); } void generateSDF_legacy(Bitmap<float> &output, const Shape &shape, double range, const Vector2 &scale, const Vector2 &translate) { int w = output.width(), h = output.height(); #ifdef MSDFGEN_USE_OPENMP #pragma omp parallel for #endif for (int y = 0; y < h; ++y) { int row = shape.inverseYAxis ? h-y-1 : y; for (int x = 0; x < w; ++x) { double dummy; Point2 p = Vector2(x+.5, y+.5)/scale-translate; SignedDistance minDistance; for (std::vector<Contour>::const_iterator contour = shape.contours.begin(); contour != shape.contours.end(); ++contour) for (std::vector<EdgeHolder>::const_iterator edge = contour->edges.begin(); edge != contour->edges.end(); ++edge) { SignedDistance distance = (*edge)->signedDistance(p, dummy); if (distance < minDistance) minDistance = distance; } output(x, row) = float(minDistance.distance/range+.5); } } } void generatePseudoSDF_legacy(Bitmap<float> &output, const Shape &shape, double range, const Vector2 &scale, const Vector2 &translate) { int w = output.width(), h = output.height(); #ifdef MSDFGEN_USE_OPENMP #pragma omp parallel for #endif for (int y = 0; y < h; ++y) { int row = shape.inverseYAxis ? h-y-1 : y; for (int x = 0; x < w; ++x) { Point2 p = Vector2(x+.5, y+.5)/scale-translate; SignedDistance minDistance; const EdgeHolder *nearEdge = NULL; double nearParam = 0; for (std::vector<Contour>::const_iterator contour = shape.contours.begin(); contour != shape.contours.end(); ++contour) for (std::vector<EdgeHolder>::const_iterator edge = contour->edges.begin(); edge != contour->edges.end(); ++edge) { double param; SignedDistance distance = (*edge)->signedDistance(p, param); if (distance < minDistance) { minDistance = distance; nearEdge = &*edge; nearParam = param; } } if (nearEdge) (*nearEdge)->distanceToPseudoDistance(minDistance, p, nearParam); output(x, row) = float(minDistance.distance/range+.5); } } } void generateMSDF_legacy(Bitmap<FloatRGBA> &output, const Shape &shape, double range, const Vector2 &scale, const Vector2 &translate, double edgeThreshold) { int w = output.width(), h = output.height(); #ifdef MSDFGEN_USE_OPENMP #pragma omp parallel for #endif for (int y = 0; y < h; ++y) { int row = shape.inverseYAxis ? h-y-1 : y; for (int x = 0; x < w; ++x) { Point2 p = Vector2(x+.5, y+.5)/scale-translate; struct { SignedDistance minDistance; const EdgeHolder *nearEdge; double nearParam; } r, g, b; r.nearEdge = g.nearEdge = b.nearEdge = NULL; r.nearParam = g.nearParam = b.nearParam = 0; for (std::vector<Contour>::const_iterator contour = shape.contours.begin(); contour != shape.contours.end(); ++contour) for (std::vector<EdgeHolder>::const_iterator edge = contour->edges.begin(); edge != contour->edges.end(); ++edge) { double param; SignedDistance distance = (*edge)->signedDistance(p, param); if ((*edge)->color&RED && distance < r.minDistance) { r.minDistance = distance; r.nearEdge = &*edge; r.nearParam = param; } if ((*edge)->color&GREEN && distance < g.minDistance) { g.minDistance = distance; g.nearEdge = &*edge; g.nearParam = param; } if ((*edge)->color&BLUE && distance < b.minDistance) { b.minDistance = distance; b.nearEdge = &*edge; b.nearParam = param; } } if (r.nearEdge) (*r.nearEdge)->distanceToPseudoDistance(r.minDistance, p, r.nearParam); if (g.nearEdge) (*g.nearEdge)->distanceToPseudoDistance(g.minDistance, p, g.nearParam); if (b.nearEdge) (*b.nearEdge)->distanceToPseudoDistance(b.minDistance, p, b.nearParam); output(x, row).r = float(r.minDistance.distance/range+.5); output(x, row).g = float(g.minDistance.distance/range+.5); output(x, row).b = float(b.minDistance.distance/range+.5); output(x, row).a = 1.f; } } if (edgeThreshold > 0) msdfErrorCorrection(output, edgeThreshold/(scale*range)); } }
[ "marcel303@gmail.com" ]
marcel303@gmail.com
39f8ff1121562217934157e5e91493f47c8c8a5c
c5c78c9f15297b8c449d02a09bea50e2236ee95f
/src/utils/glmatrix.h
468af667aa99ba1458d838d13bc7b50cd7b2135c
[ "MIT" ]
permissive
rafirafi/MonaEv
d7b791bdd77347fce3d2bb54b055a0d17085e2ac
617362df3f5a3634d263374de6d59b8d99cf8a25
refs/heads/master
2021-01-10T04:54:12.507392
2015-11-06T15:24:17
2015-11-06T15:24:17
43,838,282
0
0
null
null
null
null
UTF-8
C++
false
false
442
h
#ifndef GLMATRIX_H #define GLMATRIX_H #include <array> #include <GL/glew.h> using Matrix4=std::array<GLfloat, 16>; Matrix4 gldLoadIdentity(); Matrix4 gldOrtho(const Matrix4 &m, float left, float right, float bottom, float top, float znear, float zfar); #endif // GLMATRIX_H
[ "rafirafi.at@gmail.com" ]
rafirafi.at@gmail.com
f09921e6e43000f490d5d8f07a1fa4deaa781c16
e47d21d40be9bffd742bd0f4a2fe8a9ba68c7bd5
/System/Kafka/TopicPartition.h
793333a5b65e4bdc1d82dbc5f962bf187e978619
[]
no_license
pzhu1015/CPPSource
8dffff1572abfd7e844c926bf6f17bada8601ad5
23c17f3632a2f1a9a1c233bf8cf97d37ce85b9e5
refs/heads/master
2023-01-27T22:07:41.227234
2020-12-06T12:36:51
2020-12-06T12:36:51
275,615,449
2
0
null
null
null
null
UTF-8
C++
false
false
2,586
h
/////////////////////////////////////////////////////////////////// // Copyright 2020 Pengzhihu All Right Reserved // FileName: // Author: Pengzhihu // Date: 2020-05-20 // Version: 1.0 // Description: /////////////////////////////////////////////////////////////////// #ifndef SYSTEM_KAFKA_TOPICPARTITION_H #define SYSTEM_KAFKA_TOPICPARTITION_H #include "System/Base/DllExport.h" #include <string> #include <iosfwd> namespace System { namespace Kafka { /** * Represents a topic/partition */ class SYSTEM_API TopicPartition { public: /** * Special offsets enum */ enum Offset { OFFSET_BEGINNING = -2, OFFSET_END = -1, OFFSET_STORED = -1000, OFFSET_INVALID = -1001 }; /** * Default constructs a topic/partition */ TopicPartition(); /** * \brief Constructs a topic/partition * * The partition value will be RD_KAFKA_OFFSET_INVALID * * \param topic The topic name */ TopicPartition(const char* topic); /** * \brief Constructs a topic/partition * * The partition value will be RD_KAFKA_OFFSET_INVALID * * \param topic The topic name */ TopicPartition(std::string topic); /** * Constructs a topic/partition * * \param topic The topic name * \param partition The partition to be used */ TopicPartition(std::string topic, int partition); /** * Constructs a topic/partition * * \param topic The topic name * \param partition The partition to be used * \param offset The offset to be used */ TopicPartition(std::string topic, int partition, int64_t offset); /** * Gets the topic name */ const std::string& get_topic() const; /** * Gets the partition */ int get_partition() const; /** * Gets the offset */ int64_t get_offset() const; /** * @brief Sets the partition */ void set_partition(int partition); /** * Sets the offset */ void set_offset(int64_t offset); /** * Compare the (topic, partition) for less-than equality */ bool operator<(const TopicPartition& rhs) const; /** * Compare the (topic, partition) for equality */ bool operator==(const TopicPartition& rhs) const; /** * Compare the (topic, partition) for in-equality */ bool operator!=(const TopicPartition& rhs) const; /** * Print to a stream */ SYSTEM_API friend std::ostream& operator<<(std::ostream& output, const TopicPartition& rhs); private: std::string topic_; int partition_; int64_t offset_; }; } } #endif // !SYSTEM_KAFKA_TOPICPARTITION_H
[ "pzh@PZH" ]
pzh@PZH
efacfa1a6f1da2ee2391ece7885610f3e09cb5a2
62a9961bfabc1955c7eac0acb4a35bd6dca1d156
/Armlet/ArmletShell1/3KShellLib/Image.h
51f1bf861f65f148ea9c87f71ffcce727d380fca
[]
no_license
jordoin/nute
712ffe2aaf57ac41e44004613bc727a35ad123e0
830adcd3bd5386d03d8d49ab422f5f568643adb5
refs/heads/master
2021-01-17T07:00:40.751579
2015-03-28T20:05:30
2015-03-28T20:05:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
584
h
#pragma once #include "ScrollableControlBase.h" namespace ThreeKShell { class Image : public ScrollableControlBase { uword_t const* _bitmap; Size _bitmapSize; public: fresult virtual DrawArea( Position pos, Size size ); fresult Init(Size size, Position position, IRender* render) { fresult fres; fres = ScrollableControlBase::BaseInit(size, position, render); return fres; } fresult SetImage(uword_t const*const bitmap, Size bitmapSize) { fresult fres = SUCCESS; _bitmap = bitmap; _bitmapSize = bitmapSize; return fres; } }; }
[ "zhavnis@gmail.com" ]
zhavnis@gmail.com
bd44cf643f195c8e274cd8c29c24b00fab84fb29
91fc04cad36c339b6bb3709b1b30cb28ed8114cf
/03/03_A.cpp
c0db50827bda8568b8477a71e69345a70146d8c3
[]
no_license
alesolano/advent-of-code
71d21534a750aad7271c7b9bac1a6d34e670e2eb
77ef88c2b303e46dba3e881ae79980a894306707
refs/heads/master
2020-07-22T21:07:28.411337
2019-09-11T16:15:11
2019-09-11T16:15:11
207,327,904
0
0
null
null
null
null
UTF-8
C++
false
false
1,232
cpp
#include <iostream> #include <fstream> #include <string> #include <array> int main() { int n_collisions = 0; // Constant time access. Initialized to zero. Heap allocated. std::array<std::array<char, 1000>, 1000> matrix{}; std::string id, at, position, dimensions; std::ifstream ifile("input.txt"); if (ifile.is_open()) { while(ifile >> id >> at >> position >> dimensions) { size_t comma = position.find(","); int x = std::stoi(position.substr(0, comma)); int y = std::stoi(position.substr(comma+1, position.length() - (comma+1) - 1)); size_t cross = dimensions.find("x"); int w = std::stoi(dimensions.substr(0, cross)); int h = std::stoi(dimensions.substr(cross+1, position.length() - (cross+1))); for (int row = x; row < x+w; ++row) { for (int col = y; col < y+h; ++col) { ++matrix[row][col]; if (matrix[row][col] == 2) ++n_collisions; } } } ifile.close(); } std::cout << n_collisions << std::endl; return 0; }
[ "asolanopf@gmail.com" ]
asolanopf@gmail.com
7415353929658dce06cbbcb65af7594f966581f1
22729f0eb84230e5becbca11fb86707f61f81516
/unit-tests/log/test-cpp-enable-rolling.cpp
79cd2a5b63c268dd7751f992b132378243ec9383
[ "GPL-1.0-or-later", "OFL-1.1", "GPL-2.0-only", "GPL-3.0-only", "BSL-1.0", "MIT", "Apache-2.0", "LGPL-2.1-only", "LicenseRef-scancode-public-domain", "Zlib", "BSD-2-Clause", "BSD-3-Clause", "BSD-1-Clause", "Unlicense" ]
permissive
lips-hci/ae400-realsense-sdk
742cc375d421ee41c04d1934b5bec23d607f39ed
2554f30bdcbf71b5b7279fef494176f3fbd6c6c7
refs/heads/master
2023-04-27T01:57:34.504808
2023-03-21T09:21:34
2023-04-13T06:11:17
227,797,796
9
4
Apache-2.0
2023-08-25T07:42:36
2019-12-13T08:59:00
C++
UTF-8
C++
false
false
1,213
cpp
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2020 Intel Corporation. All Rights Reserved. //#cmake:add-file log-common.h #include "log-common.h" #include <fstream> TEST_CASE("ROLLING C++ LOGGER", "[log]") { std::string log_filename = "rolling-log.log"; rs2::log_to_file(RS2_LOG_SEVERITY_INFO, log_filename.c_str()); int max_size = 1; rs2::enable_rolling_log_file(max_size); for (int i = 0; i < 15000; ++i) { const std::string msg("debug message "); REQUIRE_NOTHROW(rs2::log(RS2_LOG_SEVERITY_INFO, (msg + std::to_string(i)).c_str())); } rs2::reset_logger(); std::ifstream log_file(log_filename.c_str(), std::ios::binary | std::ios::in); REQUIRE(log_file.good()); log_file.seekg(0, std::ios::end); auto log_size = log_file.tellg(); std::string old_filename = log_filename + ".old"; std::ifstream old_file(old_filename.c_str(), std::ios::binary | std::ios::in); REQUIRE(old_file.good()); old_file.seekg(0, std::ios::end); auto old_size = old_file.tellg(); auto max_size_in_bytes = max_size * 1024 * 1024; auto size = log_size + old_size; REQUIRE(size <= 2 * max_size_in_bytes); }
[ "timcheng@lips-hci.com" ]
timcheng@lips-hci.com
490fe67c362d9d1c122536c0553547132a7d71ca
234d3f475095bc9e2b6d4784fd2c0ac9f97cb994
/MatrixMulImage/MatrixMulImage.hpp
1a7d50bf75d20a4d715c2c1f6405501c2ea1ef51
[]
no_license
easonwang27/amd_2.8
2cf3a95dc063987b28134fedb0c6b7c058428b15
9a1416a28e4bfe3139aa69e29893136d8e521d2c
refs/heads/master
2022-11-30T05:49:12.467729
2020-08-06T08:21:49
2020-08-06T08:21:49
285,514,703
0
1
null
null
null
null
WINDOWS-1252
C++
false
false
7,939
hpp
/********************************************************************** Copyright ©2012 Advanced Micro Devices, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ********************************************************************/ #ifndef MATRIXMULTIPLICATION_IMAGE_H_ #define MATRIXMULTIPLICATION_IMAGE_H_ #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include <SDKCommon.hpp> #include <SDKApplication.hpp> #include <SDKCommandArgs.hpp> #include <SDKFile.hpp> /** * MatrixMulImage * Class implements OpenCL Matrix Multiplication sample using Images * Derived from SDKSample base class */ class MatrixMulImage : public SDKSample { cl_uint seed; /**< Seed value for random number generation */ cl_double setupTime; /**< Time for setting up OpenCL */ cl_double totalKernelTime; /**< Time for kernel execution */ cl_double totalProgramTime; /**< Time for program execution */ cl_double referenceKernelTime; /**< Time for reference implementation */ cl_float *input0; /**< Input array */ cl_int width0; /**< width of input Array */ cl_int height0; /**< height of input Array */ cl_float *input1; /**< Input array */ cl_int width1; /**< width of Input Array */ cl_int height1; /**< height of Input Array */ cl_float *output; /**< Output Array */ cl_float *verificationOutput; /**< Output array for reference implementation */ cl_uint blockSize; /**< Size of the block used for shared memory */ cl_context context; /**< CL context */ cl_device_id *devices; /**< CL device list */ cl_mem inputBuffer0; /**< CL memory buffer for matrix input0*/ cl_mem inputBuffer1; /**< CL memory buffer for matrix input1*/ cl_mem outputBuffer; /**< CL memory buffer for storing the output*/ cl_command_queue commandQueue; /**< CL command queue */ cl_program program; /**< CL program */ cl_kernel kernel; /**< CL kernel */ cl_int n; /**< for command line args */ cl_int m; cl_int k; //size_t maxWorkGroupSize; /**< Device Specific Information */ //size_t kernelWorkGroupSize; /**< Group Size returned by kernel */ //cl_uint maxDimensions; //size_t * maxWorkItemSizes; /*cl_ulong totalLocalMemory; cl_ulong usedLocalMemory; */ cl_ulong availableLocalMemory; cl_ulong neededLocalMemory; int iterations; /**< Number of iterations for kernel execution */ bool imageSupport; streamsdk::SDKDeviceInfo deviceInfo;/**< Structure to store device information*/ streamsdk::KernelWorkGroupInfo kernelInfo;/**< Structure to store kernel related info */ public: /** * Constructor * Initialize member variables * @param name name of sample (string) */ MatrixMulImage(std::string name) : SDKSample(name){ seed = 123; input0 = NULL; input1 = NULL; output = NULL; verificationOutput = NULL; n = 128; m = 128; k = 128; blockSize = 8; setupTime = 0; totalKernelTime = 0; iterations = 1; } /** * Constructor * Initialize member variables * @param name name of sample (const char*) */ MatrixMulImage(const char* name) : SDKSample(name){ seed = 123; input0 = NULL; input1 = NULL; output = NULL; verificationOutput = NULL; n = 128; m = 128; k = 128; blockSize = 8; setupTime = 0; totalKernelTime = 0; iterations = 1; } /** * Allocate and initialize host memory array with random values * @return SDK_SUCCESS on success and SDK_FAILURE on failure */ int setupMatrixMulImage(); /** * OpenCL related initialisations. * Set up Context, Device list, Command Queue, Memory buffers * Build CL kernel program executable * @return SDK_SUCCESS on success and SDK_FAILURE on failure */ int setupCL(); /** * Set values for kernels' arguments, enqueue calls to the kernels * on to the command queue, wait till end of kernel execution. * Get kernel start and end time if timing is enabled * @return SDK_SUCCESS on success and SDK_FAILURE on failure */ int runCLKernels(); /** * Reference CPU implementation of Matrix Multiplication * @param output stores the output of the multipliced matrices depthxheight * @param input0 input matrix of size width x height * @param input1 input matrix of size depth x width * @param height height of the output matrix * @param width length of the common dimension of the matrices input0 and input1 * @param depth width of the output matrix */ void MatrixMulImageCPUReference( cl_float * output, cl_float * input0, cl_float * input1, const cl_uint height, const cl_uint width, const cl_uint depth); /** * Override from SDKSample. Print sample stats. */ void printStats(); /** * Override from SDKSample. Initialize * command line parser, add custom options * @return SDK_SUCCESS on success and SDK_FAILURE on failure */ int initialize(); /** * Override from SDKSample, Generate binary image of given kernel * and exit application * @return SDK_SUCCESS on success and SDK_FAILURE on failure */ int genBinaryImage(); /** * Override from SDKSample, adjust width and height * of execution domain, perform all sample setup * @return SDK_SUCCESS on success and SDK_FAILURE on failure */ int setup(); /** * Override from SDKSample * Run OpenCL Matrix Multiplication * @return SDK_SUCCESS on success and SDK_FAILURE on failure */ int run(); /** * Override from SDKSample * Cleanup memory allocations * @return SDK_SUCCESS on success and SDK_FAILURE on failure */ int cleanup(); /** * Override from SDKSample * Verify against reference implementation * @return SDK_SUCCESS on success and SDK_FAILURE on failure */ int verifyResults(); }; #endif
[ "easonwang27@163.com" ]
easonwang27@163.com
d87f6b0e8c4fb8d267cf8baa406a2b3bcac57994
fe5aa6ffd43d5b417a09d9e4788a1ce0fa7c2623
/cmake/Tests/Complex/Executable/complex.cxx
e904f2897afceda39b791395679f1351d46188ae
[ "BSD-3-Clause" ]
permissive
soegaard/racket-osx-libs
5356e39d17ff208cb582912307e79e5baa540930
6341cc182c2645ebe9f175f56e7ba0b557eef893
refs/heads/master
2021-01-23T03:58:57.549738
2019-04-28T12:12:14
2019-04-28T12:12:14
14,662,966
5
2
null
2019-04-28T12:12:15
2013-11-24T14:50:34
C
UTF-8
C++
false
false
26,906
cxx
#include "cmTestConfigure.h" #include "cmTestConfigureEscape.h" #include "cmTestGeneratedHeader.h" #include "cmVersion.h" #include "ExtraSources/file1.h" #include "Aout.h" #include "file2.h" #include "sharedFile.h" extern "C" { #include "testConly.h" } #include <vector> #include <string> #include <iostream> #include <string.h> #include <stdio.h> #include <sys/stat.h> #if !defined(S_ISDIR) # define S_ISDIR(mode) ((mode) & _S_IFDIR) #endif #ifdef COMPLEX_TEST_LINK_STATIC extern "C" { int TestLinkGetType(); } #endif int cm_passed = 0; int cm_failed = 0; // ====================================================================== void cmFailed(const char* Message, const char* m2= "", const char* m3 = "") { std::cout << "FAILED: " << Message << m2 << m3 << "\n"; cm_failed++; } // ====================================================================== void cmPassed(const char* Message, const char* m2="") { std::cout << "Passed: " << Message << m2 << "\n"; cm_passed++; } #ifndef COMPLEX_DEFINED_PRE # error "COMPLEX_DEFINED_PRE not defined!" #endif #ifdef COMPLEX_DEFINED # error "COMPLEX_DEFINED is defined but it should not!" #endif #ifndef COMPLEX_DEFINED_POST # error "COMPLEX_DEFINED_POST not defined!" #endif #ifndef CMAKE_IS_REALLY_FUN # error This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work #endif #if defined(NDEBUG) && !defined(CMAKE_IS_FUN_IN_RELEASE_MODE) # error Per-configuration directory-level definition not inherited. #endif // ====================================================================== void TestAndRemoveFile(const char* filename) { struct stat st; if(stat(filename, &st) < 0) { cmFailed("Could not find file: ", filename); } else { if (remove(filename) < 0) { cmFailed("Unable to remove file. It does not imply that this test failed, but it *will* be corrupted thereafter if this file is not removed: ", filename); } else { cmPassed("Find and remove file: ", filename); } } } // ====================================================================== void TestDir(const char* filename) { struct stat st; if(stat(filename, &st) < 0 || !S_ISDIR(st.st_mode)) { cmFailed("Could not find dir: ", filename); } else { cmPassed("Find dir: ", filename); } } // Here is a stupid function that tries to use std::string methods // so that the dec cxx compiler will instantiate the stuff that // we are using from the CMakeLib library.... void ForceStringUse() { std::vector<std::string> v; std::vector<std::string> v2; v = v2; std::string cachetest = CACHE_TEST_VAR_INTERNAL; v.push_back(cachetest); v2 = v; std::string x(5,'x'); char buff[5]; x.copy(buff, 1, 0); x[0] = 'a'; std::string::size_type pos = 0; x.replace(pos, pos, pos, 'x'); std::string copy = cachetest; cachetest.find("bar"); cachetest.rfind("bar"); copy.append(cachetest); copy = cachetest.substr(0, cachetest.size()); } // defined in testcflags.c extern "C" int TestCFlags(char* m); extern "C" int TestTargetCompileFlags(char* m); #if 0 // defined in Sub1/NameConflictTest.c extern "C" int NameConflictTest1(); // defined in Sub2/NameConflictTest.c extern "C" int NameConflictTest2(); #endif // ====================================================================== int main() { #if 0 if(NameConflictTest1() == 0 && NameConflictTest2() == 0) { cmPassed("Sub dir with same named source works"); } else { cmFailed("Sub dir with same named source fails"); } #endif if(file1() != 1) { cmFailed("Call to file1 function from library failed."); } else { cmPassed("Call to file1 function returned 1."); } #ifndef COMPLEX_TARGET_FLAG cmFailed("COMPILE_FLAGS did not work with SET_TARGET_PROPERTIES"); #else cmPassed("COMPILE_FLAGS did work with SET_TARGET_PROPERTIES"); #endif #ifdef ELSEIF_RESULT cmPassed("ELSEIF did work"); #else cmFailed("ELSEIF did not work"); #endif #ifdef CONDITIONAL_PARENTHESES cmPassed("CONDITIONAL_PARENTHESES did work"); #else cmFailed("CONDITIONAL_PARENTHESES did not work"); #endif if(file2() != 1) { cmFailed("Call to file2 function from library failed."); } else { cmPassed("Call to file2 function returned 1."); } #ifndef TEST_CXX_FLAGS cmFailed("CMake CMAKE_CXX_FLAGS is not being passed to the compiler!"); #else cmPassed("CMake CMAKE_CXX_FLAGS is being passed to the compiler."); #endif std::string gen = CMAKE_GENERATOR; // visual studio is currently broken for c flags char msg[1024]; if(gen.find("Visual") == gen.npos) { #ifdef TEST_C_FLAGS cmFailed("CMake CMAKE_C_FLAGS are being passed to c++ files the compiler!"); #else cmPassed("CMake CMAKE_C_FLAGS are not being passed to c++ files."); #endif if(TestCFlags(msg)) { cmPassed( "CMake CMAKE_C_FLAGS are being passed to c files and CXX flags are not."); } else { cmFailed(msg); } } if(TestTargetCompileFlags(msg)) { cmPassed(msg); } else { cmFailed(msg); } // ---------------------------------------------------------------------- // Test ADD_DEFINITIONS #ifndef CMAKE_IS_FUN cmFailed("CMake is not fun, so it is broken and should be fixed."); #else cmPassed("CMAKE_IS_FUN is defined."); #endif #if defined(CMAKE_ARGV1) && defined(CMAKE_ARGV2) && defined(CMAKE_ARGV3) && defined(CMAKE_ARGV4) cmPassed("Variable args for MACROs are working."); #else cmFailed("Variable args for MACROs are failing."); #endif // ---------------------------------------------------------------------- // Test GET_SOURCE_FILE_PROPERTY for location #ifndef CMAKE_FOUND_ACXX cmFailed("CMake did not get the location of A.cxx correctly"); #else cmPassed("CMake found A.cxx properly"); #endif // ---------------------------------------------------------------------- // Test GET_DIRECTORY_PROPERTY for parent #ifndef CMAKE_FOUND_PARENT cmFailed("CMake did not get the location of the parent directory properly"); #else cmPassed("CMake found the parent directory properly"); #endif // ---------------------------------------------------------------------- // Test GET_DIRECTORY_PROPERTY for listfiles #ifndef CMAKE_FOUND_LISTFILE_STACK cmFailed("CMake did not get the listfile stack properly"); #else cmPassed("CMake found the listfile stack properly"); #endif // ---------------------------------------------------------------------- // Test SET, VARIABLE_REQUIRES #ifdef SHOULD_NOT_BE_DEFINED cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED is not defined."); #endif #ifndef SHOULD_BE_DEFINED cmFailed("IF or SET is broken, SHOULD_BE_DEFINED is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED is defined."); #endif #ifndef ONE_VAR cmFailed("cmakedefine is broken, ONE_VAR is not defined."); #else cmPassed("ONE_VAR is defined."); #endif #ifndef ONE_VAR_IS_DEFINED cmFailed("cmakedefine, SET or VARIABLE_REQUIRES is broken, " "ONE_VAR_IS_DEFINED is not defined."); #else cmPassed("ONE_VAR_IS_DEFINED is defined."); #endif #ifdef ZERO_VAR cmFailed("cmakedefine is broken, ZERO_VAR is defined."); #else cmPassed("ZERO_VAR is not defined."); #endif #ifndef STRING_VAR cmFailed("the CONFIGURE_FILE command is broken, STRING_VAR is not defined."); #else if(strcmp(STRING_VAR, "CMake is great") != 0) { cmFailed("the SET or CONFIGURE_FILE command is broken. STRING_VAR == ", STRING_VAR); } else { cmPassed("STRING_VAR == ", STRING_VAR); } #endif // ---------------------------------------------------------------------- // Test various IF/ELSE combinations #ifdef SHOULD_NOT_BE_DEFINED_NOT cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_NOT is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_NOT is not defined."); #endif #ifndef SHOULD_BE_DEFINED_NOT cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_NOT is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_NOT is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_NOT2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_NOT2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_NOT2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_NOT2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_NOT2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_NOT2 is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_AND cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_AND is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_AND is not defined."); #endif #ifndef SHOULD_BE_DEFINED_AND cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_AND is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_AND is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_AND2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_AND2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_AND2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_AND2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_AND2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_AND2 is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_OR cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_OR is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_OR is not defined."); #endif #ifndef SHOULD_BE_DEFINED_OR cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_OR is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_OR is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_OR2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_OR2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_OR2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_OR2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_OR2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_OR2 is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_MATCHES cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_MATCHES is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_MATCHES is not defined."); #endif #ifndef SHOULD_BE_DEFINED_MATCHES cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_MATCHES is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_MATCHES is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_MATCHES2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_MATCHES2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_MATCHES2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_MATCHES2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_MATCHES2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_MATCHES2 is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_COMMAND cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_COMMAND is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_COMMAND is not defined."); #endif #ifndef SHOULD_BE_DEFINED_COMMAND cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_COMMAND is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_COMMAND is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_COMMAND2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_COMMAND2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_COMMAND2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_COMMAND2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_COMMAND2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_COMMAND2 is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_EXISTS cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_EXISTS is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_EXISTS is not defined."); #endif #ifndef SHOULD_BE_DEFINED_EXISTS cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_EXISTS is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_EXISTS is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_EXISTS2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_EXISTS2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_EXISTS2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_EXISTS2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_EXISTS2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_EXISTS2 is defined."); #endif #ifndef SHOULD_BE_DEFINED_IS_DIRECTORY cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_IS_DIRECTORY is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_IS_DIRECTORY is defined."); #endif #ifndef SHOULD_BE_DEFINED_IS_DIRECTORY2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_IS_DIRECTORY2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_IS_DIRECTORY2 is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_LESS cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_LESS is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_LESS is not defined."); #endif #ifndef SHOULD_BE_DEFINED_LESS cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_LESS is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_LESS is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_LESS2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_LESS2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_LESS2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_LESS2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_LESS2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_LESS2 is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_GREATER cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_GREATER is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_GREATER is not defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_EQUAL cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_EQUAL is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_EQUAL is not defined."); #endif #ifndef SHOULD_BE_DEFINED_EQUAL cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_EQUAL is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_EQUAL is defined."); #endif #ifndef SHOULD_BE_DEFINED_GREATER cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_GREATER is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_GREATER is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_GREATER2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_GREATER2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_GREATER2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_GREATER2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_GREATER2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_GREATER2 is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_STRLESS cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_STRLESS is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_STRLESS is not defined."); #endif #ifndef SHOULD_BE_DEFINED_STRLESS cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_STRLESS is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_STRLESS is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_STRLESS2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_STRLESS2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_STRLESS2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_STRLESS2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_STRLESS2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_STRLESS2 is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_STRGREATER cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_STRGREATER is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_STRGREATER is not defined."); #endif #ifndef SHOULD_BE_DEFINED_STRGREATER cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_STRGREATER is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_STRGREATER is defined."); #endif #ifdef SHOULD_NOT_BE_DEFINED_STRGREATER2 cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_STRGREATER2 is defined."); #else cmPassed("SHOULD_NOT_BE_DEFINED_STRGREATER2 is not defined."); #endif #ifndef SHOULD_BE_DEFINED_STRGREATER2 cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_STRGREATER2 is not defined.\n"); #else cmPassed("SHOULD_BE_DEFINED_STRGREATER2 is defined."); #endif // ---------------------------------------------------------------------- // Test FOREACH #ifndef FOREACH_VAR1 cmFailed("the FOREACH, SET or CONFIGURE_FILE command is broken, " "FOREACH_VAR1 is not defined."); #else if(strcmp(FOREACH_VAR1, "VALUE1") != 0) { cmFailed("the FOREACH, SET or CONFIGURE_FILE command is broken, " "FOREACH_VAR1 == ", FOREACH_VAR1); } else { cmPassed("FOREACH_VAR1 == ", FOREACH_VAR1); } #endif #ifndef FOREACH_VAR2 cmFailed("the FOREACH, SET or CONFIGURE_FILE command is broken, " "FOREACH_VAR2 is not defined."); #else if(strcmp(FOREACH_VAR2, "VALUE2") != 0) { cmFailed("the FOREACH, SET or CONFIGURE_FILE command is broken, " "FOREACH_VAR2 == ", FOREACH_VAR2); } else { cmPassed("FOREACH_VAR2 == ", FOREACH_VAR2); } #endif #ifndef FOREACH_CONCAT cmFailed("the FOREACH, SET or CONFIGURE_FILE command is broken, " "FOREACH_CONCAT is not defined."); #else if(strcmp(FOREACH_CONCAT, "abcdefg") != 0) { cmFailed("the FOREACH, SET or CONFIGURE_FILE command is broken, " "FOREACH_CONCAT == ", FOREACH_CONCAT); } else { cmPassed("FOREACH_CONCAT == ", FOREACH_CONCAT); } #endif // ---------------------------------------------------------------------- // Test WHILE if(WHILE_VALUE != 1000) { cmFailed("WHILE command is not working"); } else { cmPassed("WHILE command is working"); } // ---------------------------------------------------------------------- // Test LOAD_CACHE #ifndef CACHE_TEST_VAR1 cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, " "CACHE_TEST_VAR1 is not defined."); #else if(strcmp(CACHE_TEST_VAR1, "foo") != 0) { cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, " "CACHE_TEST_VAR1 == ", CACHE_TEST_VAR1); } else { cmPassed("CACHE_TEST_VAR1 == ", CACHE_TEST_VAR1); } #endif #ifndef CACHE_TEST_VAR2 cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, " "CACHE_TEST_VAR2 is not defined."); #else if(strcmp(CACHE_TEST_VAR2, "bar") != 0) { cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, " "CACHE_TEST_VAR2 == ", CACHE_TEST_VAR2); } else { cmPassed("CACHE_TEST_VAR2 == ", CACHE_TEST_VAR2); } #endif #ifndef CACHE_TEST_VAR3 cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, " "CACHE_TEST_VAR3 is not defined."); #else if(strcmp(CACHE_TEST_VAR3, "1") != 0) { cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, " "CACHE_TEST_VAR3 == ", CACHE_TEST_VAR3); } else { cmPassed("CACHE_TEST_VAR3 == ", CACHE_TEST_VAR3); } #endif #ifdef CACHE_TEST_VAR_EXCLUDED cmFailed("the LOAD_CACHE or CONFIGURE_FILE command or cmakedefine is broken, " "CACHE_TEST_VAR_EXCLUDED is defined (should not have been loaded)."); #else cmPassed("CACHE_TEST_VAR_EXCLUDED is not defined."); #endif #ifndef CACHE_TEST_VAR_INTERNAL cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, " "CACHE_TEST_VAR_INTERNAL is not defined."); #else std::string cachetest = CACHE_TEST_VAR_INTERNAL; if(cachetest != "bar") { cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, " "CACHE_TEST_VAR_INTERNAL == ", CACHE_TEST_VAR_INTERNAL); } else { cmPassed("CACHE_TEST_VAR_INTERNAL == ", CACHE_TEST_VAR_INTERNAL); } #endif // ---------------------------------------------------------------------- // Some pre-build/pre-link/post-build custom-commands have been // attached to the lib (see Library/). // Each runs ${CREATE_FILE_EXE} which will create a file. // It also copies that file again using cmake -E. // Similar rules have been added to this executable. // // WARNING: if you run 'complex' manually, this *will* fail, because // the file was removed the last time 'complex' was run, and it is // only created during a build. TestAndRemoveFile(BINARY_DIR "/Library/prebuild.txt"); TestAndRemoveFile(BINARY_DIR "/Library/prelink.txt"); TestAndRemoveFile(BINARY_DIR "/Library/postbuild.txt"); TestAndRemoveFile(BINARY_DIR "/Library/postbuild2.txt"); TestAndRemoveFile(BINARY_DIR "/Executable/prebuild.txt"); TestAndRemoveFile(BINARY_DIR "/Executable/prelink.txt"); TestAndRemoveFile(BINARY_DIR "/Executable/postbuild.txt"); TestAndRemoveFile(BINARY_DIR "/Executable/postbuild2.txt"); // ---------------------------------------------------------------------- // A custom target has been created (see Library/). // It runs ${CREATE_FILE_EXE} which will create a file. // // WARNING: if you run 'complex' manually, this *will* fail, because // the file was removed the last time 'complex' was run, and it is // only created during a build. TestAndRemoveFile(BINARY_DIR "/Library/custom_target1.txt"); // ---------------------------------------------------------------------- // A directory has been created. TestDir(BINARY_DIR "/make_dir"); // ---------------------------------------------------------------------- // Test OUTPUT_REQUIRED_FILES // The files required by 'complex' have been output to a file. // The contents of this file is not tested (absolute paths). // // WARNING: if you run 'complex' manually, this *will* fail, because // the file was removed the last time 'complex' was run, and it is // only created during a build. TestAndRemoveFile(BINARY_DIR "/Executable/Temp/complex-required.txt"); // ---------------------------------------------------------------------- // Test FIND_LIBRARY #ifndef FIND_DUMMY_LIB cmFailed("the CONFIGURE_FILE command is broken, " "FIND_DUMMY_LIB is not defined."); #else if(strstr(FIND_DUMMY_LIB, "dummylib") == NULL) { cmFailed("the FIND_LIBRARY or CONFIGURE_FILE command is broken, " "FIND_DUMMY_LIB == ", FIND_DUMMY_LIB); } else { cmPassed("FIND_DUMMY_LIB == ", FIND_DUMMY_LIB); } #endif // ---------------------------------------------------------------------- // Test SET_SOURCE_FILES_PROPERTIES #ifndef FILE_HAS_EXTRA_COMPILE_FLAGS cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting FILE_HAS_EXTRA_COMPILE_FLAGS flag"); #else cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_HAS_EXTRA_COMPILE_FLAGS flag"); #endif #if 0 // Disable until implemented everywhere. #ifndef FILE_DEFINE_STRING cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting FILE_DEFINE_STRING flag"); #else if(strcmp(FILE_DEFINE_STRING, "hello") != 0) { cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting FILE_DEFINE_STRING flag correctly"); } else { cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_DEFINE_STRING flag"); } #endif #endif #ifndef FILE_HAS_ABSTRACT cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting ABSTRACT flag"); #else cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting ABSTRACT flag"); #endif #ifndef FILE_HAS_WRAP_EXCLUDE cmFailed("FILE_HAS_WRAP_EXCLUDE failed at setting WRAP_EXCLUDE flag"); #else cmPassed("FILE_HAS_WRAP_EXCLUDE succeeded in setting WRAP_EXCLUDE flag"); #endif #ifndef FILE_COMPILE_FLAGS cmFailed("the CONFIGURE_FILE command is broken, FILE_COMPILE_FLAGS is not defined."); #else if(strcmp(FILE_COMPILE_FLAGS, "-foo -bar") != 0) { cmFailed("the SET_SOURCE_FILES_PROPERTIES or CONFIGURE_FILE command is broken. FILE_COMPILE_FLAGS == ", FILE_COMPILE_FLAGS); } else { cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting extra flags == ", FILE_COMPILE_FLAGS); } #endif // ---------------------------------------------------------------------- // Test registry (win32) #if defined(_WIN32) && !defined(__CYGWIN__) #ifndef REGISTRY_TEST_PATH cmFailed("the CONFIGURE_FILE command is broken, REGISTRY_TEST_PATH is not defined."); #else std::cout << "REGISTRY_TEST_PATH == " << REGISTRY_TEST_PATH << "\n"; if(stricmp(REGISTRY_TEST_PATH, BINARY_DIR "/registry_dir") != 0) { cmFailed("the 'read registry value' function or CONFIGURE_FILE command is broken. REGISTRY_TEST_PATH == ", REGISTRY_TEST_PATH, " is not " BINARY_DIR "/registry_dir"); } else { cmPassed("REGISTRY_TEST_PATH == ", REGISTRY_TEST_PATH); } #endif #endif // defined(_WIN32) && !defined(__CYGWIN__) if(strcmp(CMAKE_MINIMUM_REQUIRED_VERSION, "1.3") == 0) { cmPassed("CMAKE_MINIMUM_REQUIRED_VERSION is set to 1.3"); } else { cmFailed("CMAKE_MINIMUM_REQUIRED_VERSION is not set to the expected 1.3"); } // ---------------------------------------------------------------------- // Test REMOVE command if (strcmp("a;b;d",REMOVE_STRING) == 0) { cmPassed("REMOVE is working"); } else { cmFailed("REMOVE is not working"); } // ---------------------------------------------------------------------- // Test SEPARATE_ARGUMENTS if(strcmp("a;b;c", TEST_SEP) == 0) { cmPassed("SEPARATE_ARGUMENTS is working"); } else { cmFailed("SEPARATE_ARGUMENTS is not working"); } // ---------------------------------------------------------------------- // Test Escape Quotes if(strcmp("\"hello world\"", STRING_WITH_QUOTES) == 0) { cmPassed("ESCAPE_QUOTES is working"); } else { cmFailed("ESCAPE_QUOTES is not working"); } // ---------------------------------------------------------------------- // Test if IF command inside a FOREACH works. #if defined(IF_INSIDE_FOREACH_THEN_EXECUTED) && !defined(IF_INSIDE_FOREACH_ELSE_EXECUTED) cmPassed("IF inside a FOREACH block works"); #else cmFailed("IF inside a FOREACH block is broken"); #endif #if defined(GENERATED_HEADER_INCLUDED) cmPassed("Generated header included by non-generated source works."); #else cmFailed("Generated header included by non-generated source failed."); #endif if(SHOULD_BE_ZERO == 0) { cmPassed("cmakedefine01 is working for 0"); } else { cmFailed("cmakedefine01 is not working for 0"); } if(SHOULD_BE_ONE == 1) { cmPassed("cmakedefine01 is working for 1"); } else { cmFailed("cmakedefine01 is not working for 1"); } #ifdef FORCE_TEST cmFailed("CMake SET CACHE FORCE"); #else cmPassed("CMake SET CACHE FORCE"); #endif #ifdef COMPLEX_TEST_LINK_STATIC if(TestLinkGetType()) { cmPassed("Link to static over shared worked."); } else { cmFailed("Link to static over shared failed."); } #endif #if defined(A_VALUE) && A_VALUE == 10 cmPassed("Single-character executable A worked."); #else cmFailed("Single-character executable A failed."); #endif // ---------------------------------------------------------------------- // Summary std::cout << "Passed: " << cm_passed << "\n"; if(cm_failed) { std::cout << "Failed: " << cm_failed << "\n"; return cm_failed; } return 0; }
[ "jensaxel@soegaard.net" ]
jensaxel@soegaard.net
155941bb7a6493cad7be977cb537c28e9ca33175
1dd1d085d6978aeb44765d8d256ea4e057475df2
/Programs/Reflection Maps/scene.cpp
68201471db3062dca35735670241147b5d0363a1
[]
no_license
kisank/Projects
1dd288953755d54fabd20a873f53bb367de11e9e
1ec0146ece6816047bc9c9c5425eddf8186c38e2
refs/heads/master
2021-07-11T19:29:36.132182
2017-10-04T18:22:55
2017-10-04T18:22:55
105,717,978
0
0
null
null
null
null
UTF-8
C++
false
false
23,018
cpp
////////////////////////////////////////////////////////////////////// // Defines and draws a scene. There are two main procedures here: // // Copyright 2013 DigiPen Institute of Technology //////////////////////////////////////////////////////////////////////// #include "math.h" #include <fstream> #include <stdlib.h> #include <glbinding/gl/gl.h> #include <glbinding/Binding.h> using namespace gl; #include <freeglut.h> #include <glu.h> // For gluErrorString #define GLM_FORCE_RADIANS #define GLM_SWIZZLE #include <glm/glm.hpp> #include "libs\\glm\\glm\gtc\matrix_transform.hpp" #include<glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> using namespace glm; #include "shader.h" #include "shapes.h" #include "scene.h" #include "object.h" #include "texture.h" #include "transform.h" const float PI = 3.14159f; const float rad = PI/180.0f; // Convert degrees to radians MAT4 Identity; const float grndSize = 100.0; // Island radius; Minimum about 20; Maximum 1000 or so const int grndTiles = int(grndSize); const float grndOctaves = 4.0; // Number of levels of detail to compute const float grndFreq = 0.03; // Number of hills per (approx) 50m const float grndPersistence = 0.03; // Terrain roughness: Slight:0.01 rough:0.05 const float grndLow = -3.0; // Lowest extent below sea level const float grndHigh = 5.0; // Highest extent above sea level // Simple procedure to print a 4x4 matrix -- useful for debugging void PrintMat(const MAT4& m) { for (int i=0; i<4; i++) for (int j=0; j<4; j++) printf("%9.4f%c", m[i][j], j==3?'\n':' '); printf("\n"); } //////////////////////////////////////////////////////////////////////// // This macro makes it easy to sprinkle checks for OpenGL errors // through out your code. Most OpenGL calls can record errors, and a // careful programmer will check the error status *often*, perhaps as // often as right after every OpenGL call. At the very least, once // per refresh will tell you if something is going wrong. #define CHECKERROR {\ GLenum err = glGetError(); \ if (err != GL_NO_ERROR) { \ (stderr, "OpenGL error (at line %d): %s\n", __LINE__, gluErrorString(err));\ exit(-1);}\ } vec3 HSV2RGB(const float h, const float s, const float v) { if (s == 0.0) return vec3(v,v,v); int i = (int)(h*6.0); float f = (h*6.0f) - i; float p = v*(1.0f - s); float q = v*(1.0f - s*f); float t = v*(1.0f - s*(1.0f-f)); if (i%6 == 0) return vec3(v,t,p); else if (i == 1) return vec3(q,v,p); else if (i == 2) return vec3(p,v,t); else if (i == 3) return vec3(p,q,v); else if (i == 4) return vec3(t,p,v); else if (i == 5) return vec3(v,p,q); } Object* SphereOfSpheres(Shape* SpherePolygons) { Object* ob = new Object(NULL, nullId); for (float angle=0.0; angle<360.0; angle+= 18.0) for (float row=0.075; row<PI/2.0; row += PI/2.0/6.0) { vec3 color = HSV2RGB(angle/360.0, 1.0f-2.0f*row/PI, 1.0f); Object* sp = new Object(SpherePolygons, spheresId, color, vec3(1.0, 1.0, 1.0), 120.0); float s = sin(row); float c = cos(row); ob->add(sp, Rotate(2,angle)*Translate(c,0,s)*Scale(0.075*c,0.075*c,0.075*c)); } return ob; } //////////////////////////////////////////////////////////////////////// // Called regularly to update the atime global variable. float atime = 0.0; void animate(int value) { atime = 360.0*glutGet((GLenum)GLUT_ELAPSED_TIME)/36000; glutPostRedisplay(); // Schedule next call to this function glutTimerFunc(30, animate, 1); } //////////////////////////////////////////////////////////////////////// // InitializeScene is called once during setup to create all the // textures, shape VAOs, and shader programs as well as a number of // other parameters. void Scene::InitializeScene() { glEnable(GL_DEPTH_TEST); CHECKERROR; // FIXME: This is a good place for initializing the transformation // values. //Set the spin and tilt parameters spin = 0.0f; tilt = -90.0f; //set the translate parameters tx = 0.0f; ty = 0.0f; //set the zoom parameter zoom = 150.0f; //set the frustum and aspect ratio varaible rx = 0.2f; ry = 0.2f; //distance of front and back clipping plane front = 0.1f; back = 1000.0f; //default value of eye eye.x = 0.0f; eye.y = 0.0f; eye.z = 2.0f; //default Light values Light.x = 3.0f; Light.y = 3.0f; Light.z = 3.0f; //default Ambient light values Ambient.x = 0.2f; Ambient.y = 0.2f; Ambient.z = 0.2f; //set this variables only for task 3 if (task_3) { //set the speed of eye speed = 0.4; //set the initial position of eye vector eye.x = 70.0f; eye.y = -15.0f; eye.z = ground->HeightAt(eye.x, eye.y) + 3.0f; } keyw = false; keya = false; keys = false; keyd = false; objectRoot = new Object(NULL, nullId); // Set the initial light position parammeters lightSpin = 98.0; lightTilt = -30.0; lightDist = 40; // Enable OpenGL depth-testing glEnable(GL_DEPTH_TEST); // FIXME: Change false to true to randomize the room's position. ground = new ProceduralGround(grndSize, grndTiles, grndOctaves, grndFreq, grndPersistence, grndLow, grndHigh, false); basePoint = ground->highPoint; // Create the lighting shader program from source code files. lightingProgram = new ShaderProgram(); lightingProgram->AddShader("lighting.vert", GL_VERTEX_SHADER); lightingProgram->AddShader("lighting.frag", GL_FRAGMENT_SHADER); glBindAttribLocation(lightingProgram->programId, 0, "vertex"); glBindAttribLocation(lightingProgram->programId, 1, "vertexNormal"); glBindAttribLocation(lightingProgram->programId, 2, "vertexTexture"); glBindAttribLocation(lightingProgram->programId, 3, "vertexTangent"); lightingProgram->LinkProgram(); //Create shadow shader program from source code files shadowProgram = new ShaderProgram(); shadowProgram->AddShader("shadow.vert", GL_VERTEX_SHADER); shadowProgram->AddShader("shadow.frag", GL_FRAGMENT_SHADER); glBindAttribLocation(shadowProgram->programId, 0, "vertex"); glBindAttribLocation(shadowProgram->programId, 1, "vertexNormal"); glBindAttribLocation(shadowProgram->programId, 2, "vertexTexture"); glBindAttribLocation(shadowProgram->programId, 3, "vertexTangent"); shadowProgram->LinkProgram(); //Create reflection shader from source code file reflectionProgram = new ShaderProgram(); reflectionProgram->AddShader("reflection.vert", GL_VERTEX_SHADER); reflectionProgram->AddShader("reflection.frag", GL_FRAGMENT_SHADER); glBindAttribLocation(reflectionProgram->programId, 0, "vertex"); glBindAttribLocation(reflectionProgram->programId, 1, "vertexNormal"); glBindAttribLocation(reflectionProgram->programId, 2, "vertexTexture"); glBindAttribLocation(reflectionProgram->programId, 3, "vertexTangent"); reflectionProgram->LinkProgram(); //Initialize shadow FBO fboObject.CreateFBO(1024, 1024); //Initialize reflection FBO's fboObjectRef1.CreateFBO(1024, 1024); fboObjectRef2.CreateFBO(1024, 1024); //Initialize shadow Projection matrix shadowProjection = Perspective(2.0, 1.0, 0.01, 2000); // Create all the Polygon shapes Shape* TeapotPolygons = new Teapot(12); Shape* BoxPolygons = new Ply("box.ply"); Shape* SpherePolygons = new Sphere(32); Shape* GroundPolygons = ground; Shape* SeaPolygons = new Plane(2000.0, 50); // Create all the models from which the scene is composed. Each // is created with a polygon shape (possible NULL), a // transformation, and the curface lighting parameters Kd, Ks, and // alpha. Object* anim = new Object(NULL, nullId); Object* teapot = new Object(TeapotPolygons, teapotId, vec3(0.5, 0.5, 0.1), vec3(0.5, 0.5, 0.5), 120); Object* podium = new Object(BoxPolygons, boxId, vec3(0.25, 0.25, 0.1), vec3(0.3, 0.3, 0.3), 10); Object* spheres = SphereOfSpheres(SpherePolygons); Object* sky = new Object(SpherePolygons, skyId, vec3(), vec3(), 0); Object* ground = new Object(GroundPolygons, groundId, vec3(0.3, 0.2, 0.1), vec3(0.0, 0.0, 0.0), 1); Object* sea = new Object(SeaPolygons, seaId, vec3(0.3, 0.3, 1.0), vec3(1.0, 1.0, 1.0), 120); // FIXME: This is where you could read in all the textures and // associate them with the various objects just created above // here. // Scene is composed of sky, ground, sea, and ... models //objectRoot->add(sky, Scale(2000.0, 2000.0, 2000.0)); objectRoot->add(ground); objectRoot->add(sea); // Two models have rudimentary animation (constant rotation on Z) animated.push_back(anim); objectRoot->add(podium, Translate(0,0,0)); objectRoot->add(anim, Translate(0,0,0)); objectRoot->add(teapot, Translate(0.0,0,1.5)*TeapotPolygons->modelTr); anim->add(spheres, Translate(0.0,0,0.0)*Scale(20,20,20)); // Schedule first timed animation call glutTimerFunc(30, animate, 1); CHECKERROR; } //////////////////////////////////////////////////////////////////////// // Procedure DrawScene is called whenever the scene needs to be drawn. void Scene::DrawScene() { //("%f",lightDist); // Calculate the light's position. float lPos[4] = { basePoint.x+lightDist*cos(lightSpin*rad)*sin(lightTilt*rad), basePoint.y+lightDist*sin(lightSpin*rad)*sin(lightTilt*rad), basePoint.z+lightDist*cos(lightTilt*rad), 1.0 }; // Set the viewport, and clear the screen glViewport(0,0,width, height); glClearColor(0.5,0.5, 0.5, 1.0); glClear(GL_COLOR_BUFFER_BIT| GL_DEPTH_BUFFER_BIT); // Compute Viewing and Perspective transformations. MAT4 WorldProj, WorldView, WorldInverse; eye.z = ground->HeightAt(eye.x, eye.y) + 3.0f; rx = ry*width / height; WorldProj = Perspective(rx, ry, front, back); if(!task_3) WorldView = Translate(tx, ty, -zoom) * Rotate(0, tilt + 90) * Rotate(2, -spin); if (task_3) WorldView = Rotate(0, tilt + 90)*Rotate(2, spin)*Translate(-eye.x, -eye.y, -eye.z); float radTheta = spin * PI / 180; if(keyw) eye += speed*vec3(sin(radTheta), cos(radTheta), 0.0); if (keys) eye -= speed*vec3(sin(radTheta), cos(radTheta), 0.0); if (keyd) eye += speed*vec3(cos(radTheta), -sin(radTheta), 0.0); if (keya) eye -= speed*vec3(cos(radTheta), -sin(radTheta), 0.0); invert(&WorldView, &WorldInverse); ///////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////PASS 1/////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////SHADOW CALCULATIONS//////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////// int shadowlocation; glm::mat4 shadowViewMatrix; MAT4 B; B = Translate(0.5f, 0.5f, 0.5f)*Scale(0.5f, 0.5f, 0.5f); //Use shadow shader shadowProgram->Use(); int shadowProgramId = shadowProgram->programId; //Bind FBO fboObject.Bind(); //Clear screen to perform shadow calculations glClearColor(1, 1, 1, 1); glClearDepth(1); glViewport(0, 0, fboObject.width, fboObject.height); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); //Calculate View matrix for shadow using lookAt shadowViewMatrix = glm::lookAt(glm::vec3(lPos[0], lPos[1], lPos[2]), vec3(0, 0, 0), vec3(0, 0, 1)); //Enable Cull Face for front to get rid of acne glEnable(GL_CULL_FACE); glCullFace(GL_FRONT); //pass the matrix to the shadow shader //Used shadow projection here to have bigger perpective for the shadow map shadowlocation = glGetUniformLocation(shadowProgramId, "ShadowWorldProj"); glUniformMatrix4fv(shadowlocation, 1, GL_TRUE, shadowProjection.Pntr()); //this is the view matrix for shadow from lights POV shadowlocation = glGetUniformLocation(shadowProgramId, "ShadowWorldView"); glUniformMatrix4fv(shadowlocation, 1, GL_FALSE, glm::value_ptr(shadowViewMatrix)); //draws the object for shadow shader objectRoot->Draw(shadowProgram, Identity); //Disable cull face once the drawing is finished glDisable(GL_CULL_FACE); //Unuse the shadow shader shadowProgram->Unuse(); //Unbind the FBO fboObject.Unbind(); //Clear screen for the lighting shader glClearColor(0, 0, 0, 1); glClearDepth(1); glViewport(0, 0, width, height); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); ///////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////Pass 2//////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////Reflection Calculations//////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////// //this bool is used so that teapot is not drawn during reflection,set false in lighting pass objectRoot->calculatingReflection = true; int reflectionlocation1; //Use reflection shader reflectionProgram->Use(); int reflectionProgramId = reflectionProgram->programId; //Bind the first reflection Fbo fboObjectRef1.Bind(); //pass the data generated from the reflection shader to lighting shader to calculate reflections glActiveTexture(GL_TEXTURE4); glBindTexture(GL_TEXTURE_2D, fboObject.texture); shadowlocation = glGetUniformLocation(reflectionProgramId, "shadowMap"); glUniform1i(shadowlocation, 4); CHECKERROR; //Clear screen to perform reflection calculations glClearColor(0, 0, 0, 1); glClearDepth(1); glViewport(0, 0, fboObjectRef1.width, fboObjectRef1.height); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); //pass the matrices to the shader shadowlocation = glGetUniformLocation(reflectionProgramId, "B"); glUniformMatrix4fv(shadowlocation, 1, GL_TRUE, B.Pntr()); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "WorldProj"); glUniformMatrix4fv(reflectionlocation1, 1, GL_TRUE, WorldProj.Pntr()); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "WorldView"); glUniformMatrix4fv(reflectionlocation1, 1, GL_TRUE, WorldView.Pntr()); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "WorldInverse"); glUniformMatrix4fv(reflectionlocation1, 1, GL_TRUE, WorldInverse.Pntr()); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "eyePos"); glUniform3fv(reflectionlocation1, 1, &(eye[0])); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "lightPos"); glUniform3fv(reflectionlocation1, 1, &(lPos[0])); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "Light"); glUniform3fv(reflectionlocation1, 1, &(Light[0])); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "Ambient"); glUniform3fv(reflectionlocation1, 1, &(Ambient[0])); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "ShadowViewMatrix"); glUniformMatrix4fv(reflectionlocation1, 1, GL_FALSE, glm::value_ptr(shadowViewMatrix)); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "ShadowWorldProjection"); glUniformMatrix4fv(reflectionlocation1, 1, GL_TRUE, shadowProjection.Pntr()); reflectionlocation1 = glGetUniformLocation(reflectionProgramId, "ReflectionID"); glUniform1i(reflectionlocation1, 1); CHECKERROR; //Draw objectRoot->Draw(reflectionProgram, Identity); //Unuse the shader reflectionProgram->Unuse(); //Unbind the first reflection FBO fboObjectRef1.Unbind(); CHECKERROR; //Clear screen for the other shader glClearDepth(1); glViewport(0, 0, width, height); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); ///////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////Pass 3//////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////Reflection Calculations//////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////// int reflectionlocation2; //Use the reflection shader reflectionProgram->Use(); //Bind the second FBO fboObjectRef2.Bind(); //pass the data generated from the reflection shader to reflection shader to calculate the reflections glActiveTexture(GL_TEXTURE4); glBindTexture(GL_TEXTURE_2D, fboObject.texture); shadowlocation = glGetUniformLocation(reflectionProgramId, "shadowMap"); glUniform1i(shadowlocation, 4); CHECKERROR; //Clear screen to perform reflection calculations glClearColor(0,0,0,1); glClearDepth(1); glViewport(0, 0, fboObjectRef2.width, fboObjectRef2.height); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); //pass the matrices to the shader shadowlocation = glGetUniformLocation(reflectionProgramId, "B"); glUniformMatrix4fv(shadowlocation, 1, GL_TRUE, B.Pntr()); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "WorldProj"); glUniformMatrix4fv(reflectionlocation2, 1, GL_TRUE, WorldProj.Pntr()); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "WorldView"); glUniformMatrix4fv(reflectionlocation2, 1, GL_TRUE, WorldView.Pntr()); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "WorldInverse"); glUniformMatrix4fv(reflectionlocation2, 1, GL_TRUE, WorldInverse.Pntr()); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "eyePos"); glUniform3fv(reflectionlocation2, 1, &(eye[0])); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "lightPos"); glUniform3fv(reflectionlocation2, 1, &(lPos[0])); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "Light"); glUniform3fv(reflectionlocation2, 1, &(Light[0])); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "Ambient"); glUniform3fv(reflectionlocation2, 1, &(Ambient[0])); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "ShadowViewMatrix"); glUniformMatrix4fv(reflectionlocation2, 1, GL_FALSE, glm::value_ptr(shadowViewMatrix)); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "ShadowWorldProjection"); glUniformMatrix4fv(reflectionlocation2, 1, GL_TRUE, shadowProjection.Pntr()); reflectionlocation2 = glGetUniformLocation(reflectionProgramId, "ReflectionID"); glUniform1i(reflectionlocation2, 2); CHECKERROR; //Draw objectRoot->Draw(reflectionProgram, Identity); //Unuse the refleciton shader reflectionProgram->Unuse(); //unbind the second FBO fboObjectRef2.Unbind(); CHECKERROR; //Clear screen for the lighting shader glClearColor(0, 0, 0, 1); glClearDepth(1); glViewport(0, 0, width, height); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); ///////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////Pass 4//////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////Light Calculations////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////// //Enable teapot in calculations objectRoot->calculatingReflection = false; // Use the lighting shader lightingProgram->Use(); int programId = lightingProgram->programId; //pass the data generated from the shadow shader to lighting shader to draw shader glActiveTexture(GL_TEXTURE4); glBindTexture(GL_TEXTURE_2D, fboObject.texture); shadowlocation = glGetUniformLocation(programId, "shadowMap"); glUniform1i(shadowlocation, 4); CHECKERROR; //pass the data generated from the reflection shader to lighting shader to draw glActiveTexture(GL_TEXTURE5); glBindTexture(GL_TEXTURE_2D, fboObjectRef1.texture); reflectionlocation1 = glGetUniformLocation(programId, "samplerTop"); glUniform1i(reflectionlocation1, 5); CHECKERROR; //pass the data generated from the reflection shader to lighting shader to draw glActiveTexture(GL_TEXTURE6); glBindTexture(GL_TEXTURE_2D, fboObjectRef2.texture); reflectionlocation2 = glGetUniformLocation(programId, "samplerBottom"); glUniform1i(reflectionlocation2, 6); CHECKERROR; //The Bias matrix used for shadoow matrix calculation,translated and scaled by (0.5f) for all values shadowlocation = glGetUniformLocation(programId, "B"); glUniformMatrix4fv(shadowlocation, 1, GL_TRUE, B.Pntr()); // Setup the perspective and viewing matrices for normal viewing. int loc; loc = glGetUniformLocation(programId, "WorldProj"); glUniformMatrix4fv(loc, 1, GL_TRUE, WorldProj.Pntr()); loc = glGetUniformLocation(programId, "WorldView"); glUniformMatrix4fv(loc, 1, GL_TRUE, WorldView.Pntr()); loc = glGetUniformLocation(programId, "WorldInverse"); glUniformMatrix4fv(loc, 1, GL_TRUE, WorldInverse.Pntr()); loc = glGetUniformLocation(programId, "eyePos"); glUniform3fv(loc, 1, &(eye[0])); loc = glGetUniformLocation(programId, "lightPos"); glUniform3fv(loc, 1, &(lPos[0])); loc = glGetUniformLocation(programId, "Light"); glUniform3fv(loc, 1, &(Light[0])); loc = glGetUniformLocation(programId, "Ambient"); glUniform3fv(loc, 1, &(Ambient[0])); loc = glGetUniformLocation(programId, "ShadowViewMatrix"); glUniformMatrix4fv(loc, 1, GL_FALSE, glm::value_ptr(shadowViewMatrix)); loc = glGetUniformLocation(programId, "ShadowWorldProjection"); glUniformMatrix4fv(loc, 1, GL_TRUE, shadowProjection.Pntr()); loc = glGetUniformLocation(programId, "mode"); glUniform1i(loc, mode); CHECKERROR; // Compute any continuously animating objects for (std::vector<Object*>::iterator m=animated.begin(); m<animated.end(); m++) (*m)->animTr = Rotate(2,atime); // Draw all objects objectRoot->Draw(lightingProgram, Identity); lightingProgram->Unuse(); CHECKERROR; /////////////////Only for Debugging///////////////////////////////////////////////// /*glBindFramebuffer(GL_READ_FRAMEBUFFER, fboObjectRef1.fbo); glReadBuffer(GL_COLOR_ATTACHMENT0); glBlitFramebuffer(0, 0, 512, 512, 0, 400, 400, 800, GL_COLOR_BUFFER_BIT, GL_LINEAR); glBindFramebuffer(GL_FRAMEBUFFER, 0); glBindFramebuffer(GL_READ_FRAMEBUFFER, fboObjectRef2.fbo); glReadBuffer(GL_COLOR_ATTACHMENT0); glBlitFramebuffer(0, 0, 512, 512, 0, 0, 400, 400, GL_COLOR_BUFFER_BIT, GL_LINEAR); glBindFramebuffer(GL_FRAMEBUFFER, 0);*/ /////////////////////////////////////////////////////////////////////////////////// }
[ "kisan.khandelwal@digipen.edu" ]
kisan.khandelwal@digipen.edu
1f7739b142fe47b627349832134675a9da553839
f5e678da1e9552b73d1e4cea6e75023f91bc4a01
/bst/node-depths.cpp
7374967b4ba2fbe71f093acca79e9f473adfd381
[ "MIT" ]
permissive
justinba1010/AlgoExpert-Practice
6f6ba20d1f09bfc24d705e0c58f8be6d5b45831d
19b2d5ac2ebb083a51f29e805f686f3301d09de3
refs/heads/main
2023-03-17T22:11:12.721775
2021-03-13T08:11:37
2021-03-13T08:11:37
343,212,491
0
0
null
null
null
null
UTF-8
C++
false
false
551
cpp
/* Copyright 2021 ** Justin Baum ** MIT License ** AlgoExpert Solutions */ using namespace std; class BinaryTree { public: int value; BinaryTree *left; BinaryTree *right; BinaryTree(int value) { this->value = value; left = nullptr; right = nullptr; } }; int nodeDepths(BinaryTree *root, int currDepth) { if (root == NULL) { return 0; } return currDepth + nodeDepths(root->left, currDepth + 1) + nodeDepths(root->right, currDepth + 1); } int nodeDepths(BinaryTree *root) { return nodeDepths(root, 0); }
[ "justin.baum@ninefx.com" ]
justin.baum@ninefx.com
a7a55832824820f19467efbcb8f6c72123190e7a
75d24ce86e1fb833974615a8c21521c918f575b4
/Ofiletxt.cpp
b7b5efa4f9315bb269a1767d824f22646a7166d0
[]
no_license
ndilday/virtualu
059100ec82b46c1def39643fdf7123d05db3796d
96012dccd26e32460403b3438ca0ce0ef7fe469b
refs/heads/master
2021-01-10T07:06:13.960690
2014-05-22T04:16:38
2014-05-22T04:16:38
47,211,286
0
0
null
null
null
null
UTF-8
C++
false
false
7,825
cpp
//Filename : OFILETXT.CPP //Description : Object Text file #include <stdlib.h> #include <ALL.H> #include <KEY.H> #include <OFILETXT.H> //---- marco function for advancing to next token, bypassing space, ',' and ':' ---// #define next_token() for( ; *data_ptr==' ' || *data_ptr==',' || *data_ptr==':' ; data_ptr++ ) //-------- Begin of function FileTxt::FileTxt ----------// //! //! <char*> fileName = name of the file //! FileTxt::FileTxt(char* fileName) { file_open(fileName); //-----------------------------------// file_length = File::file_size(); data_buf = mem_add( file_length+1 ); data_buf[file_length] = CHAR_EOF; data_ptr = data_buf; //-----------------------------------// file_read( data_buf, file_length ); file_close(); } //---------- End of function FileTxt::FileTxt ----------// //-------- Begin of function FileTxt::FileTxt ----------// //! //! Initialize this FileTxt structure with a file stream. //! //! <File*> filePtr = pointer to a file class for reading in the text //! <int> dataSize = size of the data. //! FileTxt::FileTxt(File* filePtr, int dataSize) { //-----------------------------------// file_length = dataSize; data_buf = mem_add( file_length+1 ); data_buf[file_length] = CHAR_EOF; data_ptr = data_buf; //-----------------------------------// filePtr->file_read( data_buf, file_length ); } //---------- End of function FileTxt::FileTxt ----------// //-------- Begin of function FileTxt::~FileTxt ----------// //! FileTxt::~FileTxt() { mem_del( data_buf ); } //---------- End of function FileTxt::~FileTxt ----------// //--------- Begin of function FileTxt::get_char ------// //! //! Get one character from the file stream //! //! [int] advancePointer = whether advance the text pointer after getting the char or not //! set this to 0, if you only want to get a char for testing only //! (default : 1) //! //! return : <char> the character gotten //! if EOF, return NULL //! char FileTxt::get_char(int advancePointer) { while( *data_ptr == CHAR_RETURN ) next_line(); if( *data_ptr == CHAR_EOF ) return 0; char dataChar = *data_ptr; if( advancePointer ) data_ptr++; return dataChar; } //----------- End of function FileTxt::get_char ------// //--------- Begin of function FileTxt::next_line ------// //! //! Description : move the pointer of the character buffer to the //! first character (not space) of the next line //! //! Return : <int> 1 - jump to next line //! 0 - end of file //! char* FileTxt::next_line() { for( ; *data_ptr != CHAR_RETURN && *data_ptr != CHAR_EOF ; data_ptr++ ); if( *data_ptr == CHAR_RETURN ) data_ptr++; if( *data_ptr == CHAR_LINE_FEED ) data_ptr++; next_token(); if( *data_ptr == CHAR_EOF ) return NULL; else return data_ptr; } //----------- End of function FileTxt::next_line ------// //----------- End of function FileTxt::locate_word ------// // // locate the specified word // // <char*> wordPtr = pointer to the word // // Return : the pointer to next word // NULL if not found, now pointed to EOF // char* FileTxt::locate_word(char* wordPtr) { for( ; *data_ptr != CHAR_EOF ; data_ptr++ ) { if( *data_ptr == *wordPtr ) { // match first character first for( ; *data_ptr == *wordPtr && *wordPtr ; data_ptr++, wordPtr++ ); if( *wordPtr == NULL ) { next_token(); return data_ptr; } } } return NULL; } //----------- End of function FileTxt::locate_word ------// //--------- Begin of function FileTxt::get_token ------// //! //! [int] advancePointer = whether we should advance the pointer //! after getting the token //! (default : 1) //! It it is 0, the pointer will stay there //! //! Return : the pointer to token buffer //! NULL if not found, now pointed to EOF //! char* FileTxt::get_token(int advancePointer) { int i; char pc; char* savePtr, *tokenPtr = token_buf; if( !advancePointer ) savePtr = data_ptr; next_token(); while( *data_ptr == CHAR_RETURN ) { // bypass all space lines if( !next_line() ) // End of File return NULL; } //.........................................// for( i=0 ; ; i++,data_ptr++ ) { pc = *data_ptr; if ( pc == ' ' || pc == '=' || pc == ',' || pc == ':' || pc==CHAR_RETURN ) break; else if( pc == CHAR_EOF ) { if( !advancePointer ) // don't advance the pointer after getting the token data_ptr = savePtr; return NULL; } if ( i<MAX_TOKEN_LEN ) *tokenPtr++ = *data_ptr; } //................................// *tokenPtr = NULL; next_token(); if( !advancePointer ) data_ptr = savePtr; return token_buf; } //----------- End of function FileTxt::get_token ------// //----------- End of function FileTxt::get_num ------// // // Convert current token to number and return the number // double FileTxt::get_num() { char* tokenStr = get_token(); if( !tokenStr ) return 0; else return atof( tokenStr ); } //----------- End of function FileTxt::get_num ------// //--------- Begin of function FileTxt::read_line ------// //! //! Read a line from this text file to the given buffer //! //! <char*> textBuf = a pre-allocated text buffer with a len of bufLen+1 //! <int> bufLen = max no. of chars the buffer can store //! void FileTxt::read_line(char* textBuf, int bufLen) { next_token(); // skip all leading space if( *data_ptr == CHAR_RETURN ) next_line(); //-----------------------------------------// int i; for( i=0 ; *data_ptr!=CHAR_RETURN && *data_ptr!=CHAR_EOF && i<bufLen ; i++ ) *textBuf++ = *data_ptr++; *textBuf=NULL; next_line(); } //----------- End of function FileTxt::read_line ------// //--------- Begin of function FileTxt::read_paragraph ------// //! //! Read a paragraph from the text file to the given buffer //! It will read all coming text until it encounter PAGE BREAK or EOF character //! //! <char*> textPtr = a pre-allocated text buffer with a len of bufLen+1 //! <int> bufLen = max no. of chars the buffer can store //! //! return : <int> textReadLen = the length of text actually read into textPtr //! int FileTxt::read_paragraph(char* textPtr, int bufLen) { next_token(); // skip all leading space if( *data_ptr == CHAR_RETURN ) next_line(); //-----------------------------------------// char ch; int textReadLen=0; while( *data_ptr != CHAR_EOF ) { ch = *data_ptr++; if( ch==CHAR_PAGE_BREAK || ch=='~' ) break; // RETURN + LINE_FEED = word wrap // LINE_FEED only = new line if( ch==CHAR_RETURN ) { if( *data_ptr==CHAR_LINE_FEED ) { data_ptr++; ch = ' '; // Convert RETURN + LINE_FEED to a space } } // ##### begin Gilbert 24/7 #######// if( ch== 0xb ) { //KEY_CTRL_K ) // ##### end Gilbert 24/7 #######// ch = '\n'; // CTRL-K means new line (CTRL-J) if( *data_ptr == CHAR_RETURN ) // by pass RETURN + LINE_FEED which may be turned into space if not cancelled data_ptr++; if( *data_ptr == CHAR_LINE_FEED ) data_ptr++; } *textPtr++ = ch; textReadLen++; if( textReadLen>=bufLen-1 ) // when in non-debug mode break; } *textPtr++ = NULL; textReadLen++; err_when( data_ptr-data_buf > file_length ); return textReadLen; } //----------- End of function FileTxt::read_paragraph ------//
[ "ndilday@gmail.com" ]
ndilday@gmail.com
1dd5652454e9d2c88f3e71139e31356f70efe55a
fcf1b36c49ea964d99eacc0137cf42d96096b2cf
/src/Parser.cc
b7523e785d45189d53ad95985770e20ca94c5c18
[]
no_license
DinoMasher/Lispino
a8ddbb96a76d5da670f699c378a8fc61928d1df7
f1871443bb931f7286c51de2c630702d8a0de53c
refs/heads/master
2021-01-18T00:36:17.986394
2014-09-13T14:28:01
2014-09-13T14:28:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,743
cc
#include "Parser.h" #include <vector> #include <memory> namespace Lispino { Parser::Parser(std::istream& inputStream) : allocator(VM::getAllocator()), tokenizer(inputStream) { /* DO NOTHING */ } Object* Parser::parse() { Object *expr = parseExpr(); // check for the End Of Stream std::unique_ptr<Token> token(tokenizer.next()); if (token->getType() != TokenType::EOS) throw std::runtime_error("PARSER - missing End Of Stream!"); return expr; } Object* Parser::parseExpr() { std::unique_ptr<Token> token(tokenizer.next()); return dispatch(token.get()); } Object* Parser::parseLambda() { // parse the arguments std::unique_ptr<Token> token(tokenizer.next()); std::vector<std::string> params; if (token->getType() != TokenType::OPEN_PAREN) throw std::runtime_error("PARSER - invalid LAMBDA arguments, missing '('"); token.reset(tokenizer.next()); while (token->getType() == TokenType::SYMBOL) { params.push_back(token->getSymbol()); token.reset(tokenizer.next()); } if (token->getType() != TokenType::CLOSE_PAREN) throw std::runtime_error("PARSER - invalid LAMBDA arguments, missing ')'"); // parse the body Object *body = parseExpr(); // check the ')' token.reset(tokenizer.next()); if (token->getType() != TokenType::CLOSE_PAREN) throw std::runtime_error("PARSER - invalid LAMBDA arguments, missing ')'"); return allocator.createLambda(body, params); } Object* Parser::parseDefine() { std::unique_ptr<Token> token(tokenizer.next()); std::vector<std::string> params; std::string name; bool isFunction = true; if (token->getType() == TokenType::OPEN_PAREN) { bool isFirst = true; token.reset(tokenizer.next()); while (token->getType() == TokenType::SYMBOL) { if (isFirst) { isFirst = false; name = token->getSymbol(); } else { params.push_back(token->getSymbol()); } token.reset(tokenizer.next()); } if (isFirst) throw std::runtime_error("PARSER - invalid DEFINE arguments, missing SYMBOL"); else if (token->getType() != TokenType::CLOSE_PAREN) throw std::runtime_error("PARSER - invalid DEFINE arguments, missing ')'"); } else if (token->getType() == TokenType::SYMBOL) { isFunction = false; name = token->getSymbol(); } else { throw std::runtime_error("PARSER - invalid DEFINE arguments, missing SYMBOL"); } // parse the define expressions std::vector<Object*> expressions; token.reset(tokenizer.next()); while (token->getType() != TokenType::CLOSE_PAREN) { expressions.push_back(dispatch(token.get())); token.reset(tokenizer.next()); } // check for the final paren ')' if (token->getType() != TokenType::CLOSE_PAREN) throw std::runtime_error("PARSER - invalid DEFINE body, missing ')'"); // create and optimize the define body if possible Object* value = nullptr; if (expressions.size() == 0) throw std::runtime_error("PARSER - invalid DEFINE body, it's empty!"); else if (expressions.size() == 1) value = expressions[0]; else value = allocator.createSequence(expressions); // return the proper definition object if (isFunction) return allocator.createDefine(name, allocator.createLambda(value, params)); else return allocator.createDefine(name, value); } Object* Parser::parseQuote() { Object *quote = allocator.createQuote(parseExpr()); // check for the final paren ')' std::unique_ptr<Token> token(tokenizer.next()); if (token->getType() != TokenType::CLOSE_PAREN) throw std::runtime_error("PARSER - invalid QUOTE arguments, missing ')'"); return quote; } Object* Parser::parseIf() { // parse the condition Object *condition = parseExpr(); // parse the consequent expression Object *consequent = parseExpr(); // parse the alternative if needed Object *alternative = nullptr; std::unique_ptr<Token> token(tokenizer.next()); if (token->getType() != TokenType::CLOSE_PAREN) alternative = dispatch(token.get()); else alternative = allocator.createNil(); // create the object Object *if_expr = allocator.createIf(condition, consequent, alternative); // check for the final paren ')' if (alternative != nullptr) { token.reset(tokenizer.next()); if (token->getType() != TokenType::CLOSE_PAREN) throw std::runtime_error("PARSER - invalid IF arguments, missing ')'"); } return if_expr; } Object* Parser::parseList() { std::unique_ptr<Token> token(tokenizer.next()); Object *head = nullptr; // check if the current token is a reserved keyword or the end of the list switch (token->getType()) { case TokenType::CLOSE_PAREN: return allocator.createNil(); // empty list == nil case TokenType::LAMBDA: return parseLambda(); // lambda case TokenType::DEFINE: return parseDefine(); // define case TokenType::QUOTE: return parseQuote(); // quote case TokenType::IF: return parseIf(); // if default: head = dispatch(token.get()); // other } // create the final list List *result = allocator.createList(head, allocator.createNil()); List *current = result; bool improper_list = false; // parse the tail if needed token.reset(tokenizer.next()); while (token->getType() != TokenType::CLOSE_PAREN) { if (token->getType() == TokenType::DOT) { improper_list = true; token.reset(tokenizer.next()); } if (improper_list) { current->setRest(dispatch(token.get())); improper_list = false; } else { current->setRest(allocator.createList(dispatch(token.get()), allocator.createNil())); current = static_cast<List*>(current->getRest()); } token.reset(tokenizer.next()); } return result; } Object* Parser::dispatch(Token *token) { switch (token->getType()) { case TokenType::NIL: return allocator.createNil(); case TokenType::SYMBOL: return allocator.createSymbol(token->getSymbol()); case TokenType::STRING: return allocator.createString(token->getString()); case TokenType::INT_NUMBER: return allocator.createIntNumber(token->getIntNumber()); case TokenType::FLOAT_NUMBER: return allocator.createFloatNumber(token->getFloatNumber()); case TokenType::BOOL_TRUE: return allocator.createBoolean(true); case TokenType::BOOL_FALSE: return allocator.createBoolean(false); case TokenType::SMART_QUOTE: return allocator.createQuote(parseExpr()); case TokenType::OPEN_PAREN: return parseList(); case TokenType::EOS: return nullptr; default: throw std::runtime_error("PARSER - dispatch failed"); } } }
[ "guglielmo@fachini.net" ]
guglielmo@fachini.net
90d1c810f0eb230e3e82325817a5178810fe2cc7
9b219ace0d7a0458a66968b3b955ed6312abd21b
/lapack_header.h
a5887167fae0ff043bc55d03aea4b16603d531fd
[ "MIT" ]
permissive
Migelo/standard_matrix_class
07d43b9fa350194f2b1b7e4c83658bf8244e6996
172fd4b373a410435f2a3045318c5d32ad2ba55a
refs/heads/master
2021-08-24T06:13:57.926537
2017-12-08T10:39:16
2017-12-08T10:39:16
110,233,297
0
0
null
null
null
null
UTF-8
C++
false
false
16,149
h
#ifndef LAPACK_WRAPPER_H #define LAPACK_WRAPPER_H #include<complex> typedef signed int LAPACK_INT; //Get externally defined LAPACK functions: extern "C" { //SVD routines: void sgesvd_( char * JOBU, char * JOBVT, const LAPACK_INT * M, const LAPACK_INT * N, float * A, const LAPACK_INT * LDA, float * S, float * U, const LAPACK_INT * LDU, float * VT, const LAPACK_INT * LDVT, float * WORK, const LAPACK_INT* LWORK, LAPACK_INT * INFO); void dgesvd_( char * JOBU, char * JOBVT, const LAPACK_INT * M, const LAPACK_INT * N, double * A, const LAPACK_INT * LDA, double * S, double * U, const LAPACK_INT * LDU, double * VT, const LAPACK_INT * LDVT, double * WORK, const LAPACK_INT* LWORK, LAPACK_INT * INFO); void cgesvd_( char * JOBU, char * JOBVT, const LAPACK_INT * M, const LAPACK_INT * N, std::complex<float> * A, const LAPACK_INT * LDA, float * S, std::complex<float> * U, const LAPACK_INT * LDU, std::complex<float> * VT, const LAPACK_INT * LDVT, std::complex<float> * WORK, const LAPACK_INT * LWORK, float * RWORK, LAPACK_INT * INFO); void zgesvd_( char * JOBU, char * JOBVT, const LAPACK_INT * M, const LAPACK_INT * N, std::complex<double> * A, const LAPACK_INT * LDA, double * S, std::complex<double> * U, const LAPACK_INT * LDU, std::complex<double> * VT, const LAPACK_INT * LDVT, std::complex<double> * WORK, const LAPACK_INT * LWORK, double * RWORK, LAPACK_INT * INFO); //SVD divide and conquer routines: void sgesdd_( char * JOBZ, const LAPACK_INT * M, const LAPACK_INT * N, float * A, const LAPACK_INT * LDA, float * S, float * U, const LAPACK_INT * LDU, float * VT, const LAPACK_INT * LDVT, float * WORK, const LAPACK_INT* LWORK, LAPACK_INT * IWORK, LAPACK_INT * INFO); void dgesdd_( char * JOBZ, const LAPACK_INT * M, const LAPACK_INT * N, double * A, const LAPACK_INT * LDA, double * S, double * U, const LAPACK_INT * LDU, double * VT, const LAPACK_INT * LDVT, double * WORK, const LAPACK_INT* LWORK, LAPACK_INT * IWORK, LAPACK_INT * INFO); void cgesdd_( char * JOBZ, const LAPACK_INT * M, const LAPACK_INT * N, std::complex<float> * A, const LAPACK_INT * LDA, float * S, std::complex<float> * U, const LAPACK_INT * LDU, std::complex<float> * VT, const LAPACK_INT * LDVT, std::complex<float> * WORK, const LAPACK_INT * LWORK, float * RWORK, LAPACK_INT * IWORK, LAPACK_INT * INFO); void zgesdd_( char * JOBZ, const LAPACK_INT * M, const LAPACK_INT * N, std::complex<double> * A, const LAPACK_INT * LDA, double * S, std::complex<double> * U, const LAPACK_INT * LDU, std::complex<double> * VT, const LAPACK_INT * LDVT, std::complex<double> * WORK, const LAPACK_INT * LWORK, double * RWORK, LAPACK_INT * IWORK, LAPACK_INT * INFO); //-------------------------------------------- //LUD routines: void sgetrf_( const LAPACK_INT * M, const LAPACK_INT * N, float * A, const LAPACK_INT * LDA, LAPACK_INT * IPIV, LAPACK_INT * INFO); void dgetrf_( const LAPACK_INT * M, const LAPACK_INT * N, double * A, const LAPACK_INT * LDA, LAPACK_INT * IPIV, LAPACK_INT * INFO); void cgetrf_( const LAPACK_INT * M, const LAPACK_INT * N, std::complex<float> * A, const LAPACK_INT * LDA, LAPACK_INT * IPIV, LAPACK_INT * INFO); void zgetrf_( const LAPACK_INT * M, const LAPACK_INT * N, std::complex<double> * A, const LAPACK_INT * LDA, LAPACK_INT * IPIV, LAPACK_INT * INFO); //-------------------------------------------- //LU-inverse routines: void sgetri_( const LAPACK_INT * N, float * A, const LAPACK_INT * LDA, const LAPACK_INT * IPIV, float * WORK, const LAPACK_INT * LWORK, LAPACK_INT * INFO); void dgetri_( const LAPACK_INT * N, double * A, const LAPACK_INT * LDA, const LAPACK_INT * IPIV, double * WORK, const LAPACK_INT * LWORK, LAPACK_INT * INFO); //-------------------------------------------- //QRF routines: void sgeqrf_( const LAPACK_INT * M, const LAPACK_INT * N, float * A, const LAPACK_INT * LDA, float * TAU, float * WORK, const LAPACK_INT* LWORK, LAPACK_INT * INFO); void dgeqrf_( const LAPACK_INT * M, const LAPACK_INT * N, double * A, const LAPACK_INT * LDA, double * TAU, double * WORK, const LAPACK_INT* LWORK, LAPACK_INT * INFO); void cgeqrf_( const LAPACK_INT * M, const LAPACK_INT * N, std::complex<float> * A, const LAPACK_INT * LDA, std::complex<float> * TAU, std::complex<float> * WORK, const LAPACK_INT * LWORK, LAPACK_INT * INFO); void zgeqrf_( const LAPACK_INT * M, const LAPACK_INT * N, std::complex<double> * A, const LAPACK_INT * LDA, std::complex<double> * TAU, std::complex<double> * WORK, const LAPACK_INT * LWORK, LAPACK_INT * INFO); //-------------------------------------------- //QP3 / RRQR routines: void sgeqp3_( const LAPACK_INT * M, const LAPACK_INT * N, float * A, const LAPACK_INT * LDA, LAPACK_INT * JPVT, float * TAU, float * WORK, const LAPACK_INT* LWORK, LAPACK_INT * INFO); void dgeqp3_( const LAPACK_INT * M, const LAPACK_INT * N, double * A, const LAPACK_INT * LDA, LAPACK_INT * JPVT, double * TAU, double * WORK, const LAPACK_INT* LWORK, LAPACK_INT * INFO); void cgeqp3_( const LAPACK_INT * M, const LAPACK_INT * N, std::complex<float> * A, const LAPACK_INT * LDA, LAPACK_INT * JPVT, std::complex<float> * TAU, std::complex<float> * WORK, const LAPACK_INT * LWORK, float * RWORK, LAPACK_INT * INFO); void zgeqp3_( const LAPACK_INT * M, const LAPACK_INT * N, std::complex<double> * A, const LAPACK_INT * LDA, LAPACK_INT * JPVT, std::complex<double> * TAU, std::complex<double> * WORK, const LAPACK_INT * LWORK, double * RWORK, LAPACK_INT * INFO); //-------------------------------------------- //MQR routines: void sormqr_( char * SIDE, char * TRANS, const LAPACK_INT * M, const LAPACK_INT * N, const LAPACK_INT * K, float * A, const LAPACK_INT * LDA, float * TAU, float * C, const LAPACK_INT * LDC, float * WORK, const LAPACK_INT* LWORK, LAPACK_INT * INFO); void dormqr_( char * SIDE, char * TRANS, const LAPACK_INT * M, const LAPACK_INT * N, const LAPACK_INT * K, double * A, const LAPACK_INT * LDA, double * TAU, double * C, const LAPACK_INT * LDC, double * WORK, const LAPACK_INT* LWORK, LAPACK_INT * INFO); void cunmqr_( char * SIDE, char * TRANS, const LAPACK_INT * M, const LAPACK_INT * N, const LAPACK_INT * K, std::complex<float> * A, const LAPACK_INT * LDA, std::complex<float> * TAU, std::complex<float> * C, const LAPACK_INT * LDC, std::complex<float> * WORK, const LAPACK_INT * LWORK, LAPACK_INT * INFO); void zunmqr_( char * SIDE, char * TRANS, const LAPACK_INT * M, const LAPACK_INT * N, const LAPACK_INT * K, std::complex<double> * A, const LAPACK_INT * LDA, std::complex<double> * TAU, std::complex<double> * C, const LAPACK_INT * LDC, std::complex<double> * WORK, const LAPACK_INT * LWORK, LAPACK_INT * INFO); //-------------------------------------------- //SYEV/HEEV routines: void ssyev_( char * JOBZ, char * UPLO, const LAPACK_INT * N, float * A, const LAPACK_INT * LDA, float * W, float * WORK, const LAPACK_INT * LWORK, LAPACK_INT * INFO); void dsyev_( char * JOBZ, char * UPLO, const LAPACK_INT * N, double * A, const LAPACK_INT * LDA, double * W, double * WORK, const LAPACK_INT * LWORK, LAPACK_INT * INFO); void cheev_( char * JOBZ, char * UPLO, const LAPACK_INT * N, std::complex<float> * A, const LAPACK_INT * LDA, float * W, std::complex<float> * WORK, const LAPACK_INT * LWORK, float * RWORK, LAPACK_INT * INFO); void zheev_( char * JOBZ, char * UPLO, const LAPACK_INT * N, std::complex<double> * A, const LAPACK_INT * LDA, double * W, std::complex<double> * WORK, const LAPACK_INT * LWORK, double * RWORK, LAPACK_INT * INFO); //-------------------------------------------- //STEV routines: void sstev_( char * JOBZ, const LAPACK_INT * N, float * D, float * E, float * Z, const LAPACK_INT * LDZ, float * WORK, LAPACK_INT * INFO); void dstev_( char * JOBZ, const LAPACK_INT * N, double * D, double * E, double * Z, const LAPACK_INT * LDZ, double * WORK, LAPACK_INT * INFO); //-------------------------------------------- //LANGE norm routines: float slange_( char * NORM, const LAPACK_INT * M, const LAPACK_INT * N, const float * A, const LAPACK_INT * LDA, float * WORK ); double dlange_( char * NORM, const LAPACK_INT * M, const LAPACK_INT * N, const double * A, const LAPACK_INT * LDA, double * WORK ); float clange_( char * NORM, const LAPACK_INT * M, const LAPACK_INT * N, const std::complex<float> * A, const LAPACK_INT * LDA, float * WORK ); double zlange_( char * NORM, const LAPACK_INT * M, const LAPACK_INT * N, const std::complex<double> * A, const LAPACK_INT * LDA, double * WORK ); void zgeev_( char * JOBVL, char * JOBVR, const LAPACK_INT * N, std::complex<double> * A, const LAPACK_INT * LDA, std::complex<double> * W, std::complex<double> * VL, const LAPACK_INT * LDVL, std::complex<double> * VR, const LAPACK_INT * LDVR, std::complex<double> * WORK, const LAPACK_INT * LWORK, double * RWORK, LAPACK_INT * INFO); } #endif // LAPACK_WRAPPER_H
[ "miha@filetki.si" ]
miha@filetki.si
737087387e594c23cd95be7762e6490cfe838c33
acd771a8adf0752b84cfbe1505e2659f3dc8a0b7
/abc170/C.cc
afb0f361279f4abb81adafea04083d77bd47fe10
[]
no_license
berry8192/Atc
d85b17ef51e12de30978e06a2f9105f659af5b99
b84340e32f8632fe9461816a0d42fe86f42b7161
refs/heads/master
2023-09-01T00:11:16.855065
2023-08-27T05:20:17
2023-08-27T05:20:17
186,664,102
0
1
null
2023-09-11T16:02:32
2019-05-14T16:53:36
C++
UTF-8
C++
false
false
733
cc
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define all(v) v.begin(), v.end() #define SP << " " #define LLi long long int using namespace std; int imax=2147483647; long long int llimax=9223372036854775807; //int型vectorを出力 void PV(vector<int> pvv) { rep(i, pvv.size()) cout << pvv[i] SP; cout << endl; } //LLi型vectorを出力 void PVL(vector<LLi> pvv) { rep(i, pvv.size()) cout << pvv[i] SP; cout << endl; } int main(){ int x, n, c1, c2, tmp; vector<int> v(110); cin>> x >> n; rep(i, n){ cin >> tmp; v[tmp]=1; } c1=x; c2=x; while(1){ if(v[c1]==0){ cout<< c1 <<endl; return 0; } if(v[c2]==0){ cout<< c2 <<endl; return 0; } c1--; c2++; } }
[ "berryrt8192@gmail.com" ]
berryrt8192@gmail.com
b0113434de4bdc232676115d88ced61cb01b0c21
cb55c36023f924dac6d06edc1018ec3c6eba3379
/plexe-sumo/src/microsim/cfmodels/MSCFModel_CC.h
cc091cb77df418fdfba295740156c978d4d88307
[]
no_license
gancia-kiss/SWT_Simulator
4997f11820a4d693d5542dff0015dfad0b6694f4
58572be92d46d8be2533a254ad7fd9569b6464ab
refs/heads/master
2020-03-28T10:44:10.487386
2018-10-01T06:11:32
2018-10-01T06:11:32
148,139,677
0
0
null
null
null
null
UTF-8
C++
false
false
17,545
h
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2018 German Aerospace Center (DLR) and others. // This program and the accompanying materials // are made available under the terms of the Eclipse Public License v2.0 // which accompanies this distribution, and is available at // http://www.eclipse.org/legal/epl-v20.html // SPDX-License-Identifier: EPL-2.0 /****************************************************************************/ /// @file MSCFModel_CC.h /// @author Michele Segata /// @date Wed, 18 Apr 2012 /// @version $Id$ /// // A series of automatic Cruise Controllers (CC, ACC, CACC) /****************************************************************************/ #ifndef MSCFMODEL_CC_H #define MSCFMODEL_CC_H // =========================================================================== // included modules // =========================================================================== #ifdef _MSC_VER #include <windows_config.h> #else #include <config.h> #endif #include "CC_Const.h" #include <microsim/cfmodels/MSCFModel.h> #include <microsim/MSLane.h> #include <microsim/MSVehicle.h> #include <microsim/MSVehicleType.h> #include <utils/xml/SUMOXMLDefinitions.h> #include <microsim/cfmodels/MSCFModel_Krauss.h> #include <string.h> #include "GenericEngineModel.h" #include "FirstOrderLagModel.h" #include "RealisticEngineModel.h" #include "CC_VehicleVariables.h" // =========================================================================== // class definitions // =========================================================================== /** @class MSCFModel_CC * @brief A set of automatic Cruise Controllers, including classic Cruise * Control (CC), Adaptive Cruise Control (ACC) and Cooperative Adaptive Cruise * Control (CACC). Take as references the chapters 5, 6 and 7 of the Rajamani's * book "Vehicle dynamics and control" (2011). * This model is meant to be used for simulation of platooning systems in mixed * scenarios, so with automatic and driver controlled vehicles. * The platooning manager is a distributed application implemented for veins * (so for omnet++) supported by a 802.11p based communication protocol, which * will determine the actions to be performed (such as switching on the * automatic controller, or the lane to move to) and communicate them to this * car following models via TraCI * @see MSCFModel */ class MSCFModel_CC : public MSCFModel { public: /** @brief Constructor * @param[in] accel The maximum acceleration that controllers can output (def. 1.5 m/s^2) * @param[in] decel The maximum deceleration that ACC and CACC controllers can output (def. 6 m/s^2) * @param[in] ccDecel The maximum deceleration that the CC can output (def. 1.5 m/s^2) * @param[in] headwayTime the headway gap for ACC (be aware of instabilities) (def. 1.5 s) * @param[in] constantSpacing the constant gap for CACC (def. 5 m) * @param[in] kp design constant for CC (def. 1) * @param[in] lambda design constant for ACC (def. 0.1) * @param[in] c1 design constant for CACC (def. 0.5) * @param[in] xi design constant for CACC (def. 1) * @param[in] omegaN design constant for CACC (def. 0.2) * @param[in] tau engine time constant used for actuation lag (def. 0.5 s) * @param[in] lanesCount number of lanes of the highway * @param[in] ccAccel the maximum acceleration the CC can apply */ MSCFModel_CC(const MSVehicleType* vtype, double accel, double decel, double ccDecel, double headwayTime, double constantSpacing, double kp, double lambda, double c1, double xi, double omegaN, double tau, int lanesCount, double ccAccel, double ploegH, double ploegKp, double ploegKd, double flatbedKa, double flatbedKv, double flatbedKp, double flatbedH, double flatbedD); /// @brief Destructor ~MSCFModel_CC(); /// @name Implementations of the MSCFModel interface /// @{ /** @brief Applies interaction with stops and lane changing model influences * @param[in] veh The ego vehicle * @param[in] vPos The possible velocity * @return The velocity after applying interactions with stops and lane change model influences */ virtual double finalizeSpeed(MSVehicle* const veh, double vPos) const; /** @brief Computes the vehicle's safe speed (no dawdling) * @param[in] veh The vehicle (EGO) * @param[in] speed The vehicle's speed * @param[in] gap2pred The (netto) distance to the LEADER * @param[in] predSpeed The speed of LEADER * @return EGO's safe speed * @see MSCFModel::ffeV */ double followSpeed(const MSVehicle* const veh, double speed, double gap2pred, double predSpeed, double predMaxDecel, const MSVehicle* const pred = 0) const; /** @brief Overload base MSCFModel::insertionFollowSpeed method to inject * automated vehicles as soon as they are requested, without checking * for safe speed constraints * */ virtual double insertionFollowSpeed(const MSVehicle* const veh, double speed, double gap2pred, double predSpeed, double predMaxDecel) const; /** @brief Computes the vehicle's safe speed for approaching a non-moving obstacle (no dawdling) * @param[in] veh The vehicle (EGO) * @param[in] gap2pred The (netto) distance to the the obstacle * @return EGO's safe speed for approaching a non-moving obstacle * @see MSCFModel::ffeS * @todo generic Interface, models can call for the values they need */ double stopSpeed(const MSVehicle* const veh, double speed, double gap2pred) const; /** @brief Computes the vehicle's safe speed without a leader * * Returns the velocity of the vehicle in dependence to the length of the free street and the target * velocity at the end of the free range. If onInsertion is true, the vehicle may still brake * before the next movement. * @param[in] veh The vehicle (EGO) * @param[in] speed The vehicle's speed * @param[in] seen The look ahead distance * @param[in] maxSpeed The maximum allowed speed * @param[in] onInsertion whether speed at insertion is asked for * @return EGO's safe speed */ virtual double freeSpeed(const MSVehicle* const veh, double speed, double seen, double maxSpeed, const bool onInsertion = false) const; virtual double maxNextSpeed(double speed, const MSVehicle* const veh) const; virtual double minNextSpeed(double speed, const MSVehicle* const veh = 0) const; /** @brief Returns the maximum gap at which an interaction between both vehicles occurs * * "interaction" means that the LEADER influences EGO's speed. * @param[in] veh The EGO vehicle * @param[in] vL LEADER's speed * @return The interaction gap * @todo evaluate signature * @see MSCFModel::interactionGap */ double interactionGap(const MSVehicle* const , double vL) const; /** @brief Returns the model's name * @return The model's name * @see MSCFModel::getModelName */ int getModelID() const { return SUMO_TAG_CF_CC; } /// @} /** @brief Duplicates the car-following model * @param[in] vtype The vehicle type this model belongs to (1:1) * @return A duplicate of this car-following model */ MSCFModel* duplicate(const MSVehicleType* vtype) const; VehicleVariables* createVehicleVariables() const; /** * @brief returns CACC desired constant spacing * * @param[in] veh the vehicle to get constant spacing of * @return spacing the spacing in meters */ double getCACCConstantSpacing(const MSVehicle * veh) const; /** * @brief set the information about a generic car. This method should be invoked * by TraCI when a wireless message with such data is received. For testing, it might * be also invoked from SUMO source code * * @param[in] veh the vehicle for which the data must be saved * @param[in] speed the leader speed * @param[in] acceleration the leader acceleration * @param[in] position the position of the leader * @param[in] time the time at which this data was read from leader's sensors */ // void setVehicleInformation(const MSVehicle* veh, double speed, double acceleration, Position position, double time) const; /** * @brief try to get the given parameter for this carFollowingModel * * @param[in] veh the vehicle from which the parameter must be retrieved * @param[in] key the key of the parameter * @return the value of the requested parameter */ virtual std::string getParameter(const MSVehicle *veh, const std::string& key) const; /** * @brief try to set the given parameter for this carFollowingModel * * @param[in] veh the vehicle for which the parameter must be set * @param[in] key the key of the parameter * @param[in] value the value to be set for the given parameter */ virtual void setParameter(MSVehicle *veh, const std::string& key, const std::string& value) const; /** * @brief get the information about a vehicle. This can be used by TraCI in order to * get speed and acceleration of the platoon leader before sending them to other * vehicles * * @param[in] veh the vehicle for which the data is requested * @param[out] speed where the speed is written * @param[out] acceleration where the acceleration is written * @param[out] controllerAcceleration the last acceleration value computed by * the controller will be written in this variable. This might be different from * acceleration because of actuation lag */ void getVehicleInformation(const MSVehicle* veh, double& speed, double& acceleration, double& controllerAcceleration, Position &position, double &time) const; /** * @brief switch on the ACC, so disabling the human driver car control * * @param[in] veh the vehicle for which the ACC must be switched on * @param[in] ccDesiredSpeed the cruise control speed */ void switchOnACC(const MSVehicle *veh, double ccDesiredSpeed) const; /** * @brief return the currently active controller * * @param[in] veh the vehicle for which the action is requested * @return the currently active controller */ enum Plexe::ACTIVE_CONTROLLER getActiveController(const MSVehicle *veh) const; /** * @brief return the data that is currently being measured by the radar */ void getRadarMeasurements(const MSVehicle * veh, double &distance, double &relativeSpeed) const; /** * @brief tells the module that in the last timestep the car has crashed (or not) * * @param[in] veh the vehicle * @param[in] crashed whether the car has crashed or not * @param[in] victim whether the car was the victim or not */ void setCrashed(const MSVehicle *veh, bool crashed, bool victim=false) const; /** * @brief returns the ACC computed acceleration when the faked * CACC is controlling the car. This can be used to check for * vehicles in front */ double getACCAcceleration(const MSVehicle *veh) const; /** * @brief returns the number of lanes set in the configuration file */ int getMyLanesCount() const; private: /** * @brief Recomputes controller related parameters after setting them */ void recomputeParameters(const MSVehicle *veh) const; /** * @brief Resets the consensus controller. In particular, sets the * "initialized" vector all to false. This might be useful when changing * topology. */ void resetConsensus(const MSVehicle *veh) const; private: void performAutoLaneChange(MSVehicle *const veh) const; double _v(const MSVehicle* const veh, double gap2pred, double egoSpeed, double predSpeed) const; /** @brief controller for the CC which computes the acceleration to be applied. the value needs to be passed to the actuator * * @param[in] egoSpeed vehicle current speed * @param[in] desSpeed vehicle desired speed * @return the acceleration to be given to the actuator */ double _cc(const MSVehicle *veh, double egoSpeed, double desSpeed) const; /** @brief controller for the ACC which computes the acceleration to be applied. the value needs to be passed to the actuator * * @param[in] egoSpeed vehicle current speed * @param[in] desSpeed vehicle desired speed * @param[in] gap2pred the distance to preceding vehicle * @param[in] headwayTime the headway time ACC should maintain * @return the acceleration to be given to the actuator */ double _acc(const MSVehicle *veh, double egoSpeed, double predSpeed, double gap2pred, double headwayTime) const; /** @brief controller for the CACC which computes the acceleration to be applied. the value needs to be passed to the actuator * * @param[in] egoSpeed vehicle current speed * @param[in] desSpeed vehicle desired speed * @param[in] predAcceleration acceleration of preceding vehicle * @param[in] gap2pred the distance to preceding vehicle * @param[in] leaderSpeed the speed of the platoon leader * @param[in] leaderAcceleration the acceleration of the platoon leader * @param[in] spacing the spacing to be kept * @return the acceleration to be given to the actuator */ double _cacc(const MSVehicle *veh, double egoSpeed, double predSpeed, double predAcceleration, double gap2pred, double leaderSpeed, double leaderAcceleration, double spacing) const; /** @brief controller for the Ploeg's CACC which computes the control input variation. * Opposed to other controllers, this method returns a value which needs to be summed * to the previous desired acceleration. * * @param[in] egoSpeed vehicle current speed * @param[in] predSpeed the speed of the front vehicle * @param[in] predAcceleration acceleration of preceding vehicle * @param[in] gap2pred the distance to preceding vehicle * @return the variation of desired acceleration */ double _ploeg(const MSVehicle *veh, double egoSpeed, double predSpeed, double predAcceleration, double gap2pred) const; /** @brief controller based on consensus strategy * * @param[in] egoSpeed vehicle current speed * @param[in] egoPosition vehicle current position * @param[in] time current time * @return the acceleration to be given to the actuator */ double _consensus(const MSVehicle* veh, double egoSpeed, Position egoPosition, double time) const; /** @brief computes the desired distance between vehicle i and vehicle j * * @param[in] vehicles data about all vehicles * @param[in] h vector of times headway * @param[in] i index of own vehicle * @param[in] j index of vehicle to compute distance from * @return the desired distance between vehicle i and j * */ double d_i_j(const struct Plexe::VEHICLE_DATA *vehicles, const double h[MAX_N_CARS], int i, int j) const; /** @brief flatbed platoon towing model * * @param[in] egoAcceleration vehicle current acceleration * @param[in] egoSpeed vehicle current speed * @param[in] predSpeed front vehicle speed * @param[in] gap2pred distance to front vehicle * @param[in] leaderSpeed speed of leading vehicle */ double _flatbed(const MSVehicle *veh, double egoAcceleration, double egoSpeed, double predSpeed, double gap2pred, double leaderSpeed) const; double _mycc(const MSVehicle *veh, double egoSpeed, double predSpeed, double gap2pred) const; double _sensor_error(double pos) const; double _delay(double pos) const; double _vec_init() const; private: /// @brief the car following model which drives the car when automated cruising is disabled, i.e., the human driver MSCFModel *myHumanDriver; /// @brief The maximum deceleration that the CC can output const double myCcDecel; /// @brief The maximum acceleration that the CC can output const double myCcAccel; /// @brief the constant gap for CACC const double myConstantSpacing; /// @brief design constant for CC const double myKp; /// @brief design constant for ACC const double myLambda; /// @brief design constant for CACC const double myC1; /// @brief design constant for CACC const double myXi; /// @brief design constant for CACC const double myOmegaN; /// @brief engine time constant used for actuation lag const double myTau; /// @brief number of lanes in the highway, in the absence of on-/off-ramps. This is used /// to move to the correct lane even when a lane is added for on-/off-ramps const int myLanesCount; /// @brief Ploeg's CACC parameters const double myPloegH; const double myPloegKp; const double myPloegKd; /// @brief flatbed CACC parameters const double myFlatbedKa; const double myFlatbedKv; const double myFlatbedKp; const double myFlatbedH; const double myFlatbedD; /// @brief sample MYCC controller parameters const double myCcKd; const double myCcKs; }; #endif /* MSCFMODEL_CC_H */
[ "tiadre.golo@hotmail.com" ]
tiadre.golo@hotmail.com
d3ec0fe22b6a087d434a57bc4260291bfd7e0456
08e5f869485c03027287bf7ad5771f07574f92ac
/apps/GSPMHD2D/force.h
76f7106898c3c8cb5ec59efd7be0b90710126511
[ "MIT" ]
permissive
Guo-astro/Simulations
705d092300269add4d40632fbe7a74715465d5a7
a6fbf85305f27f535736a298fa57c011fe948a92
refs/heads/master
2020-03-19T08:10:01.203480
2018-07-25T00:01:23
2018-07-25T00:01:23
136,180,899
0
0
null
null
null
null
UTF-8
C++
false
false
36,298
h
#pragma once class CalcDensity { kernel_t kernel; public: void operator ()(const EPI::Dens* const ep_i, const PS::S32 Nip, const EPJ::Dens* const ep_j, const PS::S32 Njp, RESULT::Dens* const dens) { for (PS::S32 i = 0; i < Nip; ++i) { dens[i].clear(); const EPI::Dens& ith = ep_i[i]; for (PS::S32 j = 0; j < Njp; ++j) { const EPJ::Dens& jth = ep_j[j]; const PS::F64vec dr = ith.pos - jth.pos; dens[i].dens += jth.mass * kernel.W(dr, ith.smth); } dens[i].smth = PARAM::SMTH * pow(ith.mass / dens[i].dens, 1.0 / (PS::F64)(PARAM::Dim)); } } }; class CalcDerivative { kernel_t kernel; public: void operator ()(const EPI::Drvt* ep_i, const PS::S32 Nip, const EPJ::Drvt* ep_j, const PS::S32 Njp, RESULT::Drvt* const drvt) { for (PS::S32 i = 0; i < Nip; ++i) { drvt[i].clear(); const EPI::Drvt& ith = ep_i[i]; for (PS::S32 j = 0; j < Njp; ++j) { const EPJ::Drvt& jth = ep_j[j]; const PS::F64vec dr = ith.pos - jth.pos; const PS::F64vec dv = ith.vel - jth.vel; if (dr == 0.0) { continue; } const PS::F64vec ndir = dr / sqrt(dr * dr); const PS::F64vec MagneticBPerpj = jth.MagneticB - (jth.MagneticB * ndir) * ndir; const PS::F64vec MagneticBPerpi = ith.MagneticB - (ith.MagneticB * ndir) * ndir; const PS::F64 Bperpj2 = MagneticBPerpj * MagneticBPerpj; const PS::F64 Bperpi2 = MagneticBPerpi * MagneticBPerpi; const PS::F64 PTj = jth.pres + .5 * MagneticBPerpj * MagneticBPerpj; const PS::F64 PTi = ith.pres + .5 * MagneticBPerpi * MagneticBPerpi; const PS::F64vec vperpj = jth.vel - (jth.vel * ndir) * ndir; const PS::F64vec vperpi = ith.vel - (ith.vel * ndir) * ndir; drvt[i].grad_dens += jth.mass * kernel.gradW(dr, ith.smth); drvt[i].gradP += jth.mass * (jth.pres - ith.pres) * kernel.gradW(dr, ith.smth) / jth.dens; drvt[i].gradVpara += jth.mass * ((jth.vel - ith.vel) * ndir) * kernel.gradW(dr, ith.smth) / jth.dens; drvt[i].gradvperp_x += jth.mass * (vperpj.x - vperpi.x) * kernel.gradW(dr, ith.smth) / jth.dens; drvt[i].gradvperp_y += jth.mass * (vperpj.y - vperpi.y) * kernel.gradW(dr, ith.smth) / jth.dens; drvt[i].gradBperp_x += jth.mass * (MagneticBPerpj.x - MagneticBPerpi.x) * kernel.gradW(dr, ith.smth) / jth.dens; drvt[i].gradBperp_y += jth.mass * (MagneticBPerpj.y - MagneticBPerpi.y) * kernel.gradW(dr, ith.smth) / jth.dens; drvt[i].gradBperp2 += jth.mass * (Bperpj2 - Bperpi2) * kernel.gradW(dr, ith.smth) / jth.dens; drvt[i].gradPT += jth.mass * (PTj - PTi) * kernel.gradW(dr, ith.smth) / jth.dens; } } } }; class CalcHydroForce { const kernel_t kernel; public: PS::S32 sgn(PS::F64 v) { return (v > 0) - (v < 0); } void operator ()(const EPI::Hydro* const ep_i, const PS::S32 Nip, const EPJ::Hydro* const ep_j, const PS::S32 Njp, RESULT::Hydro* const hydro) { for (PS::S32 i = 0; i < Nip; ++i) { hydro[i].clear(); PS::F64 Gamma = 5. / 3.; const EPI::Hydro& ith = ep_i[i]; for (PS::S32 j = 0; j < Njp; ++j) { const EPJ::Hydro& jth = ep_j[j]; const PS::F64vec dr = ith.pos - jth.pos; if (dr == 0.0) { continue; } const PS::F64 dr_norm = sqrt(dr * dr); const PS::F64vec ndir = dr / dr_norm; const PS::F64vec dv = ith.vel - jth.vel; const PS::F64 s_ij = dr_norm; const PS::F64 hbar_ij = .5 * (ith.smth + jth.smth); const PS::F64 F_ij = (1. / (ith.dens * ith.dens) + 1. / (jth.dens * jth.dens)) * kernel.gradW_scoord(s_ij, hbar_ij); PS::F64 Pt_RP = 0.0; PS::F64 VparaRP = 0.0; PS::F64vec BperpMoC = 0.0; PS::F64vec VperpMoC = 0.0; PS::F64 P_Bpara = 0.0; PS::F64 BparaStar = 0.0; calcRPMoC(ith.dt, Pt_RP, VparaRP, BperpMoC, VperpMoC, P_Bpara, BparaStar, Gamma, ndir, ith, jth); const PS::F64vec fac_acc_correc = BparaStar * ith.MagneticB; const PS::F64 fac_eng_dot_correc = BparaStar * ith.vel_half * ith.MagneticB; const PS::F64vec fac_acc = -(Pt_RP - P_Bpara) * ndir + BparaStar * BperpMoC - fac_acc_correc; const PS::F64 fac_eng_dot = -(Pt_RP - P_Bpara) * VparaRP + BparaStar * (BperpMoC * VperpMoC) - fac_eng_dot_correc; const PS::F64vec fac_BoverDens_dot = BparaStar * (VparaRP * ndir + VperpMoC - ith.vel_half); hydro[i].acc += jth.mass * F_ij * fac_acc; hydro[i].eng_dot += jth.mass * F_ij * fac_eng_dot; hydro[i].BoverDens_dot += jth.mass * F_ij * fac_BoverDens_dot; } const PS::F64 C_fast = sqrt((Gamma * ith.pres + ith.MagneticB * ith.MagneticB) / ith.dens); const PS::F64 dt = 0.1 * PARAM::C_CFL * ith.smth / C_fast; hydro[i].dt = dt; } } double trimin(double x, double y, double z) { return x < y ? (x < z ? x : z) : (y < z ? y : z); } //i -> R; j->L void calcRPMoC(const PS::F64 dt, PS::F64 &Pt_RP, PS::F64 &V_RP, PS::F64vec &BperpMoC, PS::F64vec &VperpMoC, PS::F64 &P_Bpara, PS::F64 &BparaStar, const PS::F64 gamma, const PS::F64vec ndir, const EPI::Hydro ep_R, const EPJ::Hydro ep_L) { const PS::F64 deltaS = sqrt((ep_R.pos - ep_L.pos) * (ep_R.pos - ep_L.pos)); //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////Original Variables Start///////////////////////////////////////////////////////////////////////////// /**Left j**/ const PS::F64 orig_vparaL = ep_L.vel * ndir; const PS::F64vec orig_MagneticBL = ep_L.MagneticB; const PS::F64vec orig_BperpL = ep_L.MagneticB - (ep_L.MagneticB * ndir) * ndir; const PS::F64 orig_BparaL = ep_L.MagneticB * ndir; const PS::F64 orig_PresL = ep_L.pres; const PS::F64 orig_DensL = ep_L.dens; /**Right i**/ const PS::F64 orig_vparaR = ep_R.vel * ndir; const PS::F64vec orig_MagneticBR = ep_R.MagneticB; const PS::F64vec orig_BperpR = ep_R.MagneticB - (ep_R.MagneticB * ndir) * ndir; const PS::F64 orig_BparaR = ep_R.MagneticB * ndir; const PS::F64 orig_PresR = ep_R.pres; const PS::F64 orig_DensR = ep_R.dens; // if (orig_BparaL != orig_BparaR) { // std::cout << orig_vparaL << " | " << orig_MagneticBL << " | " << orig_BperpL << " | " << orig_BparaL << " | " << orig_PresL << " | " << orig_DensL << std::endl; // std::cout << orig_vparaR << " | " << orig_MagneticBR << " | " << orig_BperpR << " | " << orig_BparaR << " | " << orig_PresR << " | " << orig_DensR << std::endl; // } //////////////////////////Original Variables Finish///////////////////////////////////////////////////////////////////////////// //////////////////////////Original Derivative Variables Start///////////////////////////////////////////////////////////////////////////// /**Left j**/ const PS::F64 drv_densL = ep_L.grad_dens * ndir; const PS::F64 drv_PresL = ep_L.gradP * ndir; const PS::F64 drv_PTL = ep_L.gradPT * ndir; const PS::F64 drv_velparaL = ep_L.gradVpara * ndir; const PS::F64 drv_BperpL2 = ep_L.gradBperp2 * ndir; const PS::F64 drv_BperpLx = ep_L.gradBperp_x * ndir; const PS::F64 drv_BperpLy = ep_L.gradBperp_y * ndir; /**Right i**/ const PS::F64 drv_densR = ep_R.grad_dens * ndir; const PS::F64 drv_PresR = ep_R.gradP * ndir; const PS::F64 drv_PTR = ep_R.gradPT * ndir; const PS::F64 drv_velparaR = ep_R.gradVpara * ndir; const PS::F64 drv_BperpR2 = ep_R.gradBperp2 * ndir; const PS::F64 drv_BperpRx = ep_R.gradBperp_x * ndir; const PS::F64 drv_BperpRy = ep_R.gradBperp_y * ndir; //////////////////////////Original Derivative Variables Finish///////////////////////////////////////////////////////////////////////////// //////////////////////////Original Derived Variables Start///////////////////////////////////////////////////////////////////////////// /**Left j**/ const PS::F64 orig_BperpL2 = orig_BperpL * orig_BperpL; const PS::F64 orig_BparaL2 = orig_BparaL * orig_BparaL; const PS::F64 orig_idensL = 1. / orig_DensL; const PS::F64 orig_densLsqrt = sqrt(orig_DensL); const PS::F64 orig_idensLsqrt = 1. / orig_densLsqrt; /**Right i**/ const PS::F64 orig_BperpR2 = orig_BperpR * orig_BperpR; const PS::F64 orig_BparaR2 = orig_BparaR * orig_BparaR; const PS::F64 orig_idensR = 1. / orig_DensR; const PS::F64 orig_densRsqrt = sqrt(orig_DensR); const PS::F64 orig_idensRsqrt = 1. / orig_densRsqrt; P_Bpara = .25 * (orig_BparaR2 + orig_BparaL2); //////////////////////////Original Derived Variables Finish///////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////Monotone Variables Start//////////////////////////////////////////////////////////////////////////// const PS::F64 DiffVpara = orig_vparaR - orig_vparaL; const PS::F64 DiffBperp2 = orig_BperpR2 - orig_BperpL2; const PS::F64 orig_PTL = orig_PresL + .5 * orig_BperpL2; const PS::F64 orig_PTR = orig_PresR + .5 * orig_BperpR2; const PS::F64 DiffPT = orig_PTR - orig_PTL; const PS::F64 DiffPres = orig_PresR - orig_PresL; const PS::F64 DiffDens = orig_DensR - orig_DensL; /**Left j**/ const PS::F64 DeltaVparaL = drv_velparaL * deltaS; const PS::F64 DeltaBperpL2 = drv_BperpL2 * deltaS; const PS::F64 DeltaPTL = drv_PTL * deltaS; const PS::F64 DeltaPresL = drv_PresL * deltaS; const PS::F64 DeltaDensL = drv_densL * deltaS; const PS::F64 DeltaBperpLx = drv_BperpLx * deltaS; const PS::F64 DeltaBperpLy = drv_BperpLy * deltaS; const PS::F64 DiffVpara_dashL = 2.0 * DeltaVparaL + DiffVpara; const PS::F64 DiffBperp_dashL2 = 2.0 * DeltaBperpL2 + DiffBperp2; const PS::F64 DiffPT_dashL = 2.0 * DeltaPTL + DiffPT; const PS::F64 DiffPres_dashL = 2.0 * DeltaPresL + DiffPres; const PS::F64 DiffDens_dashL = 2.0 * DeltaDensL + DiffDens; /**Right i**/ const PS::F64 DeltaVparaR = drv_velparaR * deltaS; const PS::F64 DeltaBperpR2 = drv_BperpR2 * deltaS; const PS::F64 DeltaPTR = drv_PTR * deltaS; const PS::F64 DeltaPresR = drv_PresR * deltaS; const PS::F64 DeltaDensR = drv_densR * deltaS; const PS::F64 DeltaBperpRx = drv_BperpRx * deltaS; const PS::F64 DeltaBperpRy = drv_BperpRy * deltaS; const PS::F64 DiffVpara_dashR = 2.0 * DeltaVparaR - DiffVpara; const PS::F64 DiffBperp_dashR2 = 2.0 * DeltaBperpR2 - DiffBperp2; const PS::F64 DiffPT_dashR = 2.0 * DeltaPTR - DiffPT; const PS::F64 DiffPres_dashR = 2.0 * DeltaPresR - DiffPres; const PS::F64 DiffDens_dashR = 2.0 * DeltaDensR - DiffDens; //////////////////////////Monotone Variables Finish//////////////////////////////////////////////////////////////////////////// //////////////////////////Monotone Constraints Start//////////////////////////////////////////////////////////////////////////// const PS::F64 DeltaVparaL_mono = (-sgn(DiffVpara) == sgn(DeltaVparaL) && sgn(DeltaVparaL) == sgn(DiffVpara_dashL)) ? sgn(DeltaVparaL) * trimin(2.0 * fabs(DiffVpara), fabs(DeltaVparaL), 2.0 * fabs(DiffVpara_dashL)) : 0.0; const PS::F64 DeltaBperpL2_mono = (-sgn(DiffBperp2) == sgn(DeltaBperpL2) && sgn(DeltaBperpL2) == sgn(DiffBperp_dashL2)) ? sgn(DeltaBperpL2) * trimin(2.0 * fabs(DiffBperp2), fabs(DeltaBperpL2), 2.0 * fabs(DiffBperp_dashL2)) : 0.0; const PS::F64 DeltaPTL_mono = (-sgn(DiffPT) == sgn(DeltaPTL) && sgn(DeltaPTL) == sgn(DiffPT_dashL)) ? sgn(DeltaPTL) * trimin(2.0 * fabs(DiffPT), fabs(DeltaPTL), 2.0 * fabs(DiffPT_dashL)) : 0.0; const PS::F64 DeltaPresL_mono = (-sgn(DiffPres) == sgn(DeltaPresL) && sgn(DeltaPresL) == sgn(DiffPres_dashL)) ? sgn(DeltaPresL) * trimin(2.0 * fabs(DiffPres), fabs(DeltaPresL), 2.0 * fabs(DiffPres_dashL)) : 0.0; const PS::F64 DeltaDensL_mono = (-sgn(DiffDens) == sgn(DeltaDensL) && sgn(DeltaDensL) == sgn(DiffDens_dashL)) ? sgn(DeltaDensL) * trimin(2.0 * fabs(DiffDens), fabs(DeltaDensL), 2.0 * fabs(DiffDens_dashL)) : 0.0; const PS::F64 DeltaVparaR_mono = (sgn(DiffVpara) == sgn(DeltaVparaR) && sgn(DeltaVparaR) == sgn(DiffVpara_dashR)) ? sgn(DeltaVparaR) * trimin(2.0 * fabs(DiffVpara), fabs(DeltaVparaR), 2.0 * fabs(DiffVpara_dashR)) : 0.0; const PS::F64 DeltaBperpR2_mono = (sgn(DiffBperp2) == sgn(DeltaBperpR2) && sgn(DeltaBperpR2) == sgn(DiffBperp_dashR2)) ? sgn(DeltaBperpR2) * trimin(2.0 * fabs(DiffBperp2), fabs(DeltaBperpR2), 2.0 * fabs(DiffBperp_dashR2)) : 0.0; const PS::F64 DeltaPTR_mono = (sgn(DiffPT) == sgn(DeltaPTR) && sgn(DeltaPTR) == sgn(DiffPT_dashR)) ? sgn(DeltaPTR) * trimin(2.0 * fabs(DiffPT), fabs(DeltaPTR), 2.0 * fabs(DiffPT_dashR)) : 0.0; const PS::F64 DeltaPresR_mono = (sgn(DiffPres) == sgn(DeltaPresR) && sgn(DeltaPresR) == sgn(DiffPres_dashR)) ? sgn(DeltaPresR) * trimin(2.0 * fabs(DiffPres), fabs(DeltaPresR), 2.0 * fabs(DiffPres_dashR)) : 0.0; const PS::F64 DeltaDensR_mono = (sgn(DiffDens) == sgn(DeltaDensR) && sgn(DeltaDensR) == sgn(DiffDens_dashR)) ? sgn(DeltaDensR) * trimin(2.0 * fabs(DiffDens), fabs(DeltaDensR), 2.0 * fabs(DiffDens_dashR)) : 0.0; // const PS::F64 DeltaBperpLx_mono = DeltaBperpLx; // const PS::F64 DeltaBperpLy_mono = DeltaBperpLy; // const PS::F64 DeltaBperpRx_mono = DeltaBperpRx; // const PS::F64 DeltaBperpRy_mono = DeltaBperpRy; // const PS::F64 DeltaVparaL_mono = DeltaVparaL; // const PS::F64 DeltaBperpL2_mono = DeltaBperpL2; // const PS::F64 DeltaPTL_mono = DeltaPTL; // const PS::F64 DeltaPresL_mono = DeltaPresL; // const PS::F64 DeltaDensL_mono = DeltaDensL; // const PS::F64 DeltaVparaR_mono = DeltaVparaR; // const PS::F64 DeltaBperpR2_mono = DeltaBperpR2; // const PS::F64 DeltaPTR_mono = DeltaPTR; // const PS::F64 DeltaPresR_mono = DeltaPresR; // const PS::F64 DeltaDensR_mono = DeltaDensR; //////////////////////////Monotone Constraints Finish//////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////RP Variables//////////////////////////////// const PS::F64 C_fastL = sqrt((gamma * ep_L.pres + orig_MagneticBL * orig_MagneticBL) * orig_idensL); const PS::F64 dod_facLRP = .5 * (1.0 - C_fastL * dt / deltaS); const PS::F64 C_fastR = sqrt((gamma * ep_R.pres + orig_MagneticBR * orig_MagneticBR) * orig_idensR); const PS::F64 dod_facRRP = .5 * (1.0 - C_fastR * dt / deltaS); const PS::F64 fac_velparaLRP = DeltaVparaL_mono * dod_facLRP; const PS::F64 fac_BperpL2RP = DeltaBperpL2_mono * dod_facLRP; const PS::F64 fac_PTLRP = DeltaPTL_mono * dod_facLRP; const PS::F64 fac_PresLRP = DeltaPresL_mono * dod_facLRP; const PS::F64 fac_densLRP = DeltaDensL_mono * dod_facLRP; // const PS::F64 fac_BperpLxRP = DeltaBperpLx_mono * dod_facLRP; // const PS::F64 fac_BperpLyRP = DeltaBperpLy_mono * dod_facLRP; const PS::F64 fac_velparaRRP = DeltaVparaR_mono * dod_facRRP; const PS::F64 fac_BperpR2RP = DeltaBperpR2_mono * dod_facRRP; const PS::F64 fac_PTRRP = DeltaPTR_mono * dod_facRRP; const PS::F64 fac_PresRRP = DeltaPresR_mono * dod_facRRP; const PS::F64 fac_densRRP = DeltaDensR_mono * dod_facRRP; // const PS::F64 fac_BperpRxRP = DeltaBperpRx_mono * dod_facRRP; // const PS::F64 fac_BperpRyRP = DeltaBperpRy_mono * dod_facRRP; ////////L -> j/////////////////////////// const PS::F64 vparaLRP = orig_vparaL + fac_velparaLRP; const PS::F64 BperpL2RP = orig_BperpL2 + fac_BperpL2RP; const PS::F64 presLRP = orig_PresL + fac_PresLRP; const PS::F64 densLRP = orig_DensL + fac_densLRP; // const PS::F64 BperpLxRP = orig_BperpL.x + fac_BperpLxRP; // const PS::F64 BperpLyRP = orig_BperpL.y + fac_BperpLyRP; // const PS::F64 PTLRP = presLRP + .5 * (BperpLxRP * BperpLxRP + BperpLyRP * BperpLyRP); const PS::F64 PTLRP = orig_PresL + .5 * orig_BperpL2 + fac_PTLRP; //////R -> i/////////////////////////// const PS::F64 vparaRRP = orig_vparaR - fac_velparaRRP; const PS::F64 BperpR2RP = orig_BperpR2 - fac_BperpR2RP; const PS::F64 presRRP = orig_PresR - fac_PresRRP; const PS::F64 densRRP = orig_DensR - fac_densRRP; // const PS::F64 BperpRxRP = orig_BperpR.x - fac_BperpRxRP; // const PS::F64 BperpRyRP = orig_BperpR.y - fac_BperpRyRP; // const PS::F64 PTRRP = presRRP + .5 * (BperpRxRP * BperpRxRP + BperpRyRP * BperpRyRP); const PS::F64 PTRRP = orig_PresR + .5 * orig_BperpR2 - fac_PTRRP; ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////L -> j/////////////////////////// // const PS::F64 vparaLRP = orig_vparaL; // const PS::F64 BperpL2RP = orig_BperpL2; // const PS::F64 presLRP = orig_PresL; // const PS::F64 densLRP = orig_DensL; // const PS::F64 PTLRP = orig_PresL + .5 * orig_BperpL2; // ////////R -> i/////////////////////////// // const PS::F64 vparaRRP = orig_vparaR; // const PS::F64 BperpR2RP = orig_BperpR2; // const PS::F64 presRRP = orig_PresR; // const PS::F64 densRRP = orig_DensR; // const PS::F64 PTRRP = orig_PresR + .5 * orig_BperpR2; ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// const PS::F64 ptRRP = PTRRP; const PS::F64 ptLRP = PTLRP; ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// PS::F64 ptStar = 0.5 * (ptLRP + ptRRP); PS::F64 ptStar_old = 0.0; PS::F64 loop = 1; while (loop) { loop += 1; ptStar_old = ptStar; PS::F64 DR2 = pow((gamma + 1) * ptRRP + (gamma - 1) * ptStar, 2.) - (gamma - 2) * BperpR2RP * (2. * (gamma - 3) * ptRRP + 2. * (gamma + 3) * ptStar - (gamma - 2) * BperpR2RP); PS::F64 DL2 = pow((gamma + 1) * ptLRP + (gamma - 1) * ptStar, 2.) - (gamma - 2) * BperpL2RP * (2. * (gamma - 3) * ptLRP + 2. * (gamma + 3) * ptStar - (gamma - 2) * BperpL2RP); DR2 = DR2 < 0.0 ? 0.0 : DR2; DL2 = DL2 < 0.0 ? 0.0 : DL2; if (DR2 == 0.0 || DL2 == 0.0) { std::cout << "otStar:" << loop << "otStar:" << ptRRP << " " << DR2 << " " << ptLRP << " " << DL2 << " " << sqrt(DL2) << " " << (gamma - 3.0) * ptLRP + (gamma + 3) * ptStar - (gamma - 2) * BperpL2RP << std::endl; } PS::F64 M_R2 = .25 * densRRP * ((gamma - 3.0) * ptRRP + (gamma + 3) * ptStar - (gamma - 2) * BperpR2RP + sqrt(DR2)); PS::F64 M_L2 = .25 * densLRP * ((gamma - 3.0) * ptLRP + (gamma + 3) * ptStar - (gamma - 2) * BperpL2RP + sqrt(DL2)); if (M_R2 < 0.0 || M_L2 < 0.0) { std::cout << loop << " otStar:" << ptStar << "otStar:" << ptRRP << " " << M_R2 << " " << ptLRP << " " << M_L2 << " " << sqrt(DL2) << " " << (gamma - 3.0) * ptLRP + (gamma + 3) * ptStar - (gamma - 2) * BperpL2RP << std::endl; } M_R2 = M_R2 < 0.0 ? 0.0 : M_R2; M_L2 = M_L2 < 0.0 ? 0.0 : M_L2; if (M_R2 == 0.0 || M_L2 == 0.0) { M_L2 = M_R2 = 0.0001; std::cout << loop << " otStar:" << ptStar << "otStar:" << ptRRP << " " << M_R2 << " " << ptLRP << " " << M_L2 << " " << sqrt(DL2) << " " << (gamma - 3.0) * ptLRP + (gamma + 3) * ptStar - (gamma - 2) * BperpL2RP << std::endl; // ptStar = 0.5 * (ptLRP + ptRRP); // V_RP = .5 * (vparaRRP + vparaLRP); // Pt_RP = ptStar; // // break; // while(1){} } const PS::F64 M_R = sqrt(M_R2); const PS::F64 M_L = sqrt(M_L2); ptStar = (ptRRP / M_R + ptLRP / M_L - (vparaRRP - vparaLRP)) / (1. / M_R + 1. / M_L); if (ptStar < 0.0) { // std::cout << loop << " otStar:" << ptStar << "otStar:" << ptRRP << " " << M_R2 << " " << ptLRP << " " << M_L2 << " " << sqrt(DL2) << " " << (gamma - 3.0) * ptLRP + (gamma + 3) * ptStar - (gamma - 2) * BperpL2RP << std::endl; ptStar = 0.5 * (ptLRP + ptRRP); V_RP = .5 * (vparaRRP + vparaLRP); Pt_RP = ptStar; break; } ptStar = ptStar < 0.0 ? 0.0 : ptStar; if (fabs(ptStar - ptStar_old) < 0.01) { V_RP = (vparaRRP * M_R + vparaLRP * M_L - (ptRRP - ptLRP)) / (M_R + M_L); Pt_RP = ptStar; break; } } ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////MoC Start/////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////// const PS::F64vec orig_vperpL = ep_L.vel - (ep_L.vel * ndir) * ndir; const PS::F64vec orig_vperpR = ep_R.vel - (ep_R.vel * ndir) * ndir; const PS::F64 drv_vperpxL = ep_L.gradvperp_x * ndir; const PS::F64 drv_vperpyL = ep_L.gradvperp_y * ndir; const PS::F64 drv_BperpxL = ep_L.gradBperp_x * ndir; const PS::F64 drv_BperpyL = ep_L.gradBperp_y * ndir; const PS::F64 drv_vperpxR = ep_R.gradvperp_x * ndir; const PS::F64 drv_vperpyR = ep_R.gradvperp_y * ndir; const PS::F64 drv_BperpxR = ep_R.gradBperp_x * ndir; const PS::F64 drv_BperpyR = ep_R.gradBperp_y * ndir; // const PS::F64vec DiffVperp = orig_vperpR - orig_vperpL; const PS::F64vec DiffBperp = orig_BperpR - orig_BperpL; // const PS::F64 DeltaVperpxL = drv_vperpxL * deltaS; const PS::F64 DeltaVperpyL = drv_vperpyL * deltaS; const PS::F64 DeltaBperpxL = drv_BperpxL * deltaS; const PS::F64 DeltaBperpyL = drv_BperpyL * deltaS; const PS::F64 DeltaVperpxR = drv_vperpxR * deltaS; const PS::F64 DeltaVperpyR = drv_vperpyR * deltaS; const PS::F64 DeltaBperpxR = drv_BperpxR * deltaS; const PS::F64 DeltaBperpyR = drv_BperpyR * deltaS; const PS::F64vec DeltaVperpL(DeltaVperpxL, DeltaVperpyL); const PS::F64vec DeltaBperpL(DeltaBperpxL, DeltaBperpyL); const PS::F64vec DeltaVperpR(DeltaVperpxR, DeltaVperpyR); const PS::F64vec DeltaBperpR(DeltaBperpxR, DeltaBperpyR); const PS::F64vec DiffBperp_dashL = 2.0 * DeltaBperpL + DiffBperp; const PS::F64vec DiffVperp_dashL = 2.0 * DeltaVperpL + DiffVperp; const PS::F64vec DiffBperp_dashR = 2.0 * DeltaBperpR - DiffBperp; const PS::F64vec DiffVperp_dashR = 2.0 * DeltaVperpR - DiffVperp; const PS::F64 DeltaVperpxL_mono = (-sgn(DiffVperp.x) == sgn(DeltaVperpxL) && sgn(DeltaVperpxL) == sgn(DiffVperp_dashL.x)) ? sgn(DeltaVperpxL) * trimin(2.0 * fabs(DiffVperp.x), fabs(DeltaVperpxL), 2.0 * fabs(DiffVperp_dashL.x)) : 0.0; const PS::F64 DeltaVperpyL_mono = (-sgn(DiffVperp.y) == sgn(DeltaVperpyL) && sgn(DeltaVperpyL) == sgn(DiffVperp_dashL.y)) ? sgn(DeltaVperpyL) * trimin(2.0 * fabs(DiffVperp.y), fabs(DeltaVperpyL), 2.0 * fabs(DiffVperp_dashL.y)) : 0.0; const PS::F64 DeltaBperpxL_mono = (-sgn(DiffBperp.x) == sgn(DeltaBperpxL) && sgn(DeltaBperpxL) == sgn(DiffBperp_dashL.x)) ? sgn(DeltaBperpxL) * trimin(2.0 * fabs(DiffBperp.x), fabs(DeltaBperpxL), 2.0 * fabs(DiffBperp_dashL.x)) : 0.0; const PS::F64 DeltaBperpyL_mono = (-sgn(DiffBperp.y) == sgn(DeltaBperpyL) && sgn(DeltaBperpyL) == sgn(DiffBperp_dashL.y)) ? sgn(DeltaBperpyL) * trimin(2.0 * fabs(DiffBperp.y), fabs(DeltaBperpyL), 2.0 * fabs(DiffBperp_dashL.y)) : 0.0; const PS::F64 DeltaVperpxR_mono = (sgn(DiffVperp.x) == sgn(DeltaVperpxR) && sgn(DeltaVperpxR) == sgn(DiffVperp_dashR.x)) ? sgn(DeltaVperpxR) * trimin(2.0 * fabs(DiffVperp.x), fabs(DeltaVperpxR), 2.0 * fabs(DiffVperp_dashR.x)) : 0.0; const PS::F64 DeltaVperpyR_mono = (sgn(DiffVperp.y) == sgn(DeltaVperpyR) && sgn(DeltaVperpyR) == sgn(DiffVperp_dashR.y)) ? sgn(DeltaVperpyR) * trimin(2.0 * fabs(DiffVperp.y), fabs(DeltaVperpyR), 2.0 * fabs(DiffVperp_dashR.y)) : 0.0; const PS::F64 DeltaBperpxR_mono = (sgn(DiffBperp.x) == sgn(DeltaBperpxR) && sgn(DeltaBperpxR) == sgn(DiffBperp_dashR.x)) ? sgn(DeltaBperpxR) * trimin(2.0 * fabs(DiffBperp.x), fabs(DeltaBperpxR), 2.0 * fabs(DiffBperp_dashR.x)) : 0.0; const PS::F64 DeltaBperpyR_mono = (sgn(DiffBperp.y) == sgn(DeltaBperpyR) && sgn(DeltaBperpyR) == sgn(DiffBperp_dashR.y)) ? sgn(DeltaBperpyR) * trimin(2.0 * fabs(DiffBperp.y), fabs(DeltaBperpyR), 2.0 * fabs(DiffBperp_dashR.y)) : 0.0; // const PS::F64 DeltaVperpxL_mono = DeltaVperpxL; // const PS::F64 DeltaVperpyL_mono = DeltaVperpyL; // const PS::F64 DeltaBperpxL_mono = DeltaBperpxL; // const PS::F64 DeltaBperpyL_mono = DeltaBperpyL; // const PS::F64 DeltaVperpxR_mono = DeltaVperpxR; // const PS::F64 DeltaVperpyR_mono = DeltaVperpyR; // const PS::F64 DeltaBperpxR_mono = DeltaBperpxR; // const PS::F64 DeltaBperpyR_mono = DeltaBperpyR; //ToDO Using Riemann Invariant // const PS::F64vec orig_JPlusL = orig_vperpL - orig_BperpL * orig_idensLsqrt; // const PS::F64vec orig_JMinusL = orig_vperpL + orig_BperpL * orig_idensLsqrt; // const PS::F64vec orig_JPlusR = orig_vperpR - orig_BperpR * orig_idensRsqrt; // const PS::F64vec orig_JMinusR = orig_vperpR + orig_BperpR * orig_idensRsqrt; // // const PS::F64 drv_JPlusxL = drv_vperpxL - drv_BperpxL * orig_idensLsqrt; // const PS::F64 drv_JPlusyL = drv_vperpyL - drv_BperpyL * orig_idensLsqrt; // const PS::F64 drv_JMinusxL = drv_vperpxL + drv_BperpxL * orig_idensLsqrt; // const PS::F64 drv_JMinusyL = drv_vperpyL + drv_BperpyL * orig_idensLsqrt; // // const PS::F64 drv_JPlusxR = drv_vperpxR - drv_BperpxR * orig_idensRsqrt; // const PS::F64 drv_JPlusyR = drv_vperpyR - drv_BperpyR * orig_idensRsqrt; // const PS::F64 drv_JMinusxR = drv_vperpxR + drv_BperpxR * orig_idensRsqrt; // const PS::F64 drv_JMinusyR = drv_vperpyR + drv_BperpyR * orig_idensRsqrt; // // const PS::F64vec DiffJPlus = orig_JPlusR - orig_JPlusL; // const PS::F64vec DiffJMinus = orig_JMinusR - orig_JMinusL; // const PS::F64 DeltaJPlusxL = drv_JPlusxL * deltaS; // const PS::F64 DeltaJPlusyL = drv_JPlusyL * deltaS; // const PS::F64 DeltaJPlusxR = drv_JPlusxR * deltaS; // const PS::F64 DeltaJPlusyR = drv_JPlusyR * deltaS; // const PS::F64 DeltaJMinusxL = drv_JMinusxL * deltaS; // const PS::F64 DeltaJMinusyL = drv_JMinusyL * deltaS; // const PS::F64 DeltaJMinusxR = drv_JMinusxR * deltaS; // const PS::F64 DeltaJMinusyR = drv_JMinusyR * deltaS; // const PS::F64vec DeltaJPlusL(DeltaJPlusxL, DeltaJPlusyL); // const PS::F64vec DeltaJPlusR(DeltaJPlusxR, DeltaJPlusyR); // const PS::F64vec DeltaJMinusL(DeltaJMinusxL, DeltaJMinusyL); // const PS::F64vec DeltaJMinusR(DeltaJMinusxR, DeltaJMinusyR); // const PS::F64vec DiffJPlus_dashL = 2.0 * DeltaJPlusL + DiffJPlus; // const PS::F64vec DiffJPlus_dashR = 2.0 * DeltaJPlusR - DiffJPlus; // const PS::F64vec DiffJMinus_dashL = 2.0 * DeltaJMinusL + DiffJMinus; // const PS::F64vec DiffJMinus_dashR = 2.0 * DeltaJMinusR - DiffJMinus; // const PS::F64 DeltaJPlusxL_mono = (-sgn(DiffJPlus.x) == sgn(DeltaJPlusxL) && sgn(DeltaJPlusxL) == sgn(DiffJPlus_dashL.x)) ? sgn(DeltaJPlusxL) * trimin(2.0 * fabs(DiffJPlus_dashL.x), fabs(DeltaJPlusxL), 2.0 * fabs(DiffJPlus_dashL.x)) : 0.0; // const PS::F64 DeltaJPlusyL_mono = (-sgn(DiffJPlus.y) == sgn(DeltaJPlusyL) && sgn(DeltaJPlusyL) == sgn(DiffJPlus_dashL.y)) ? sgn(DeltaJPlusyL) * trimin(2.0 * fabs(DiffJPlus_dashL.y), fabs(DeltaJPlusyL), 2.0 * fabs(DiffJPlus_dashL.y)) : 0.0; // const PS::F64 DeltaJMinusxL_mono = (-sgn(DiffJMinus.x) == sgn(DeltaJMinusxL) && sgn(DeltaJMinusxL) == sgn(DiffJMinus_dashL.x)) ? sgn(DeltaJMinusxL) * trimin(2.0 * fabs(DiffJMinus_dashL.x), fabs(DeltaJMinusxL), 2.0 * fabs(DiffJMinus_dashL.x)) : 0.0; // const PS::F64 DeltaJMinusyL_mono = (-sgn(DiffJMinus.y) == sgn(DeltaJMinusyL) && sgn(DeltaJMinusyL) == sgn(DiffJMinus_dashL.y)) ? sgn(DeltaJMinusyL) * trimin(2.0 * fabs(DiffJMinus_dashL.y), fabs(DeltaJMinusyL), 2.0 * fabs(DiffJMinus_dashL.y)) : 0.0; // const PS::F64 DeltaJPlusxR_mono = (sgn(DiffJPlus.x) == sgn(DeltaJPlusxR) && sgn(DeltaJPlusxR) == sgn(DiffJPlus_dashR.x)) ? sgn(DeltaJPlusxR) * trimin(2.0 * fabs(DiffJPlus_dashR.x), fabs(DeltaJPlusxR), 2.0 * fabs(DiffJPlus_dashR.x)) : 0.0; // const PS::F64 DeltaJPlusyR_mono = (sgn(DiffJPlus.y) == sgn(DeltaJPlusyR) && sgn(DeltaJPlusyR) == sgn(DiffJPlus_dashR.y)) ? sgn(DeltaJPlusyR) * trimin(2.0 * fabs(DiffJPlus_dashR.y), fabs(DeltaJPlusyR), 2.0 * fabs(DiffJPlus_dashR.y)) : 0.0; // const PS::F64 DeltaJMinusxR_mono = (sgn(DiffJMinus.x) == sgn(DeltaJMinusxR) && sgn(DeltaJMinusxR) == sgn(DiffJMinus_dashR.x)) ? sgn(DeltaJMinusxR) * trimin(2.0 * fabs(DiffJMinus_dashR.x), fabs(DeltaJMinusxR), 2.0 * fabs(DiffJMinus_dashR.x)) : 0.0; // const PS::F64 DeltaJMinusyR_mono = (sgn(DiffJMinus.y) == sgn(DeltaJMinusyR) && sgn(DeltaJMinusyR) == sgn(DiffJMinus_dashR.y)) ? sgn(DeltaJMinusyR) * trimin(2.0 * fabs(DiffJMinus_dashR.y), fabs(DeltaJMinusyR), 2.0 * fabs(DiffJMinus_dashR.y)) : 0.0; // const PS::F64 DeltaVperpxL_mono = .5 * (DeltaJPlusxL_mono + DeltaJMinusxL_mono); // const PS::F64 DeltaVperpyL_mono = .5 * (DeltaJPlusyL_mono + DeltaJMinusyL_mono); // const PS::F64 DeltaBperpxL_mono = .5 * (DeltaJMinusxL_mono - DeltaJPlusxL_mono) * orig_densLsqrt; // const PS::F64 DeltaBperpyL_mono = .5 * (DeltaJMinusyL_mono - DeltaJPlusyL_mono) * orig_densLsqrt; // const PS::F64 DeltaVperpxR_mono = .5 * (DeltaJPlusxR_mono + DeltaJMinusxR_mono); // const PS::F64 DeltaVperpyR_mono = .5 * (DeltaJPlusyR_mono + DeltaJMinusyR_mono); // const PS::F64 DeltaBperpxR_mono = .5 * (DeltaJMinusxR_mono - DeltaJPlusxR_mono) * orig_densRsqrt; // const PS::F64 DeltaBperpyR_mono = .5 * (DeltaJMinusyR_mono - DeltaJPlusyR_mono) * orig_densRsqrt; //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// const PS::F64 C_alvenL = fabs(orig_BparaL) * orig_idensLsqrt; const PS::F64 C_alvenR = fabs(orig_BparaR) * orig_idensRsqrt; const PS::F64 dod_fac_AlfvenL = .5 * (1.0 - C_alvenL * dt / deltaS); const PS::F64 dod_fac_AlfvenR = .5 * (1.0 - C_alvenR * dt / deltaS); const PS::F64 fac_densLMoC = DeltaDensL_mono * dod_fac_AlfvenL; const PS::F64 fac_vperpxLMoC = DeltaVperpxL_mono * dod_fac_AlfvenL; const PS::F64 fac_vperpyLMoC = DeltaVperpyL_mono * dod_fac_AlfvenL; const PS::F64 fac_BperpxLMoC = DeltaBperpxL_mono * dod_fac_AlfvenL; const PS::F64 fac_BperpyLMoC = DeltaBperpyL_mono * dod_fac_AlfvenL; const PS::F64 fac_densRMoC = DeltaDensR_mono * dod_fac_AlfvenR; const PS::F64 fac_vperpxRMoC = DeltaVperpxR_mono * dod_fac_AlfvenR; const PS::F64 fac_vperpyRMoC = DeltaVperpyR_mono * dod_fac_AlfvenR; const PS::F64 fac_BperpxRMoC = DeltaBperpxR_mono * dod_fac_AlfvenR; const PS::F64 fac_BperpyRMoC = DeltaBperpyR_mono * dod_fac_AlfvenR; const PS::F64 densL_guardMoC = orig_DensL; const PS::F64 densR_guardMoC = orig_DensR; // const PS::F64 densLMoC = densL_guardMoC < 0.0 ? orig_DensL : densL_guardMoC; // const PS::F64 densRMoC = densR_guardMoC < 0.0 ? orig_DensR : densR_guardMoC; const PS::F64 densLMoC = orig_DensL; const PS::F64 densRMoC = orig_DensR; const PS::F64 vperpxLMoC = orig_vperpL.x; const PS::F64 vperpyLMoC = orig_vperpL.y; const PS::F64 vperpxRMoC = orig_vperpR.x; const PS::F64 vperpyRMoC = orig_vperpR.y; const PS::F64 BperpxLMoC = orig_BperpL.x; const PS::F64 BperpyLMoC = orig_BperpL.y; const PS::F64 BperpxRMoC = orig_BperpR.x; const PS::F64 BperpyRMoC = orig_BperpR.y; // const PS::F64 densL_guardMoC = orig_DensL - fac_densLMoC; // const PS::F64 densR_guardMoC = orig_DensR + fac_densRMoC; // const PS::F64 densLMoC = densL_guardMoC < 0.0 ? orig_DensL : densL_guardMoC; // const PS::F64 densRMoC = densR_guardMoC < 0.0 ? orig_DensR : densR_guardMoC; // const PS::F64 vperpxLMoC = orig_vperpL.x - fac_vperpxLMoC; // const PS::F64 vperpyLMoC = orig_vperpL.y - fac_vperpyLMoC; // const PS::F64 BperpxLMoC = orig_BperpL.x - fac_BperpxLMoC; // const PS::F64 BperpyLMoC = orig_BperpL.y - fac_BperpyLMoC; // const PS::F64 vperpxRMoC = orig_vperpR.x + fac_vperpxRMoC; // const PS::F64 vperpyRMoC = orig_vperpR.y + fac_vperpyRMoC; // const PS::F64 BperpxRMoC = orig_BperpR.x + fac_BperpxRMoC; // const PS::F64 BperpyRMoC = orig_BperpR.y + fac_BperpyRMoC; const PS::F64vec vperpLMoC(vperpxLMoC, vperpyLMoC); const PS::F64vec BperpLMoC(BperpxLMoC, BperpyLMoC); const PS::F64vec vperpRMoC(vperpxRMoC, vperpyRMoC); const PS::F64vec BperpRMoC(BperpxRMoC, BperpyRMoC); const PS::F64 idensLMoC = 1. / densLMoC; const PS::F64 densLMoCsqrt = sqrt(densLMoC); const PS::F64 idensLMoCsqrt = 1. / sqrt(densLMoC); const PS::F64 idensRMoC = 1. / densRMoC; const PS::F64 densRMoCsqrt = sqrt(densRMoC); const PS::F64 idensRMoCsqrt = 1. / sqrt(densRMoC); const PS::F64 _Bpara = .5 * (orig_BparaL + orig_BparaR); BperpMoC = (BperpRMoC * idensRMoCsqrt + BperpLMoC * idensLMoCsqrt + sgn(_Bpara) * (-vperpLMoC + vperpRMoC)) / (idensLMoCsqrt + idensRMoCsqrt); VperpMoC = (densRMoCsqrt * vperpRMoC + densLMoCsqrt * vperpLMoC + sgn(_Bpara) * (-BperpLMoC + BperpRMoC)) / (densLMoCsqrt + densRMoCsqrt); // BperpMoC = .5 * (BperpRMoC + BperpLMoC); // if(BperpStar!=BperpStar){ // std::cout<<idensRMoCsqrt<<" "<<densRMoC<<" "<<idensLMoCsqrt<<" "<<densLMoC<<std::endl; // } BparaStar = _Bpara; } }; template<class TParticleJ> class CalcGravityForce { public: void operator ()(const EPI::Grav* const ep_i, const PS::S32 Nip, const TParticleJ* const ep_j, const PS::S32 Njp, RESULT::Grav* const grav) { for (PS::S32 i = 0; i < Nip; ++i) { const EPI::Grav& ith = ep_i[i]; for (PS::S32 j = 0; j < Njp; ++j) { const TParticleJ& jth = ep_j[j]; const PS::F64vec dr = ith.pos - jth.pos; const PS::F64 dr2 = dr * dr; const PS::F64 dr_inv = 1.0 / sqrt(dr2 + ith.getEps2()); const PS::F64 m_dr3_inv = jth.mass * math::pow3(dr_inv); grav[i].acc += -m_dr3_inv * dr; grav[i].pot += -jth.mass * dr_inv; } } } };
[ "guo.yansong.ngy@gmail.com" ]
guo.yansong.ngy@gmail.com
d01155b60f40e31c66f8f39b761499e45515d9ec
eb053247305ab1089909fe0cbcb352fb4001712d
/mbed_code.cpp
a14507ac37cd025f62eccbe5ef474dd1f83275cd
[]
no_license
gonzalesMK/segway_Problemas_1
f3d79ac116057dc1f671cd148372b2a9bb91d4cf
34d27b231927778adc6263a0e91b1cbec8be505b
refs/heads/master
2020-06-10T20:12:39.894471
2016-12-08T01:02:56
2016-12-08T01:02:56
75,887,105
0
0
null
null
null
null
UTF-8
C++
false
false
4,165
cpp
#include "mbed.h" #include "FastAnalogIn.h" PwmOut servod(p22), servoe(p21);// pinos setados para saída em PWM para controle do Servo. FastAnalogIn sensor_e(p19), sensor_d(p18);// pinos setados para conversão interna do ADC. DigitalOut L1(LED1),L2(LED2),L3(LED3),L4(LED4);// leds apenas para indicar movimento. // Colors representam as cores da linha: branco ou preto enum colors {BLACK, WHITE} SE, SD; // Direçao representa as possiveis movimentacoes do carrinho enum direcao {ESQUERDA, DIREITA, FRENTE}; // Essa funçao gera a velocidade proporcinal void velocidade( float &ValorE, float &ValorD, direcao dir); // Essa foi usada para ja enviar os valores absolutos void velocidade(float ValorE, float ValorD); // Funçao para ligar os leds void led( int l1, int l2, int l3, int l4); // Funcao que faz a tomada de decisao da curva void fazer_curva(int &contador); // Funçao que mante o carro fazendo curva void fazendo_curva(float ValorE , float ValorD); //, int time = 300); int main(){ float ValorE = 0, ValorD = 0; int contador = 0; servod.period(0.030); servoe.period(0.030); while(1) { SE = sensor_e.read() >= 0.030 ? WHITE : BLACK ; SD = sensor_d.read() >= 0.030 ? WHITE : BLACK ; if( SE == WHITE && SD == WHITE) { led(1,0,0,0); velocidade( ValorE, ValorD, FRENTE); } else if( SE == WHITE && SD == BLACK) { led(0,1,0,0); velocidade( ValorE, ValorD, DIREITA); } else if( SE == BLACK && SD == WHITE) { led(0,0,1,0); velocidade( ValorE, ValorD, ESQUERDA); } else if( SE == BLACK && SD == BLACK){ led(1,1,1,1); fazer_curva(contador); contador ++; } } } void velocidade(float ValorE, float ValorD){ // Testando os valores teto da velocidade if(ValorD > 90.0) {ValorD = 90.0;} if(ValorE > 90.0) {ValorE = 90.0;} if(ValorD < 0.0) {ValorD = 0.0;} if(ValorE < 0.0) {ValorE = 0.0;} // Envia o sinal servod.pulsewidth(-ValorD/100.0 * 0.0005 + 0.00138); servoe.pulsewidth( ValorE/100.0 * 0.0005 + 0.00144); } void velocidade( float &ValorE, float &ValorD, direcao dir){ float inc = 10; switch(dir){ case(FRENTE): ValorD = 60; ValorE = 90; break; case(DIREITA): ValorD = ValorD - inc * 5.0 ; ValorE = ValorE + inc; break; case(ESQUERDA): ValorD = ValorD + inc; ValorE = ValorE - inc * 5.0; break; } velocidade(ValorE, ValorD); } void led( int l1, int l2, int l3, int l4){ L1 = l1; L2 = l2; L3 = l3; L4 = l4; } void fazendo_curva(float ValorE , float ValorD){ //, int time){ colors SD,SE; SD = SE = BLACK; velocidade( ValorE, ValorD); wait_us(100000); while( SD == BLACK && SE == BLACK){ wait_ms(5); SE = sensor_e.read() >= 0.030 ? WHITE : BLACK ; SD = sensor_d.read() >= 0.030 ? WHITE : BLACK ; } } void fazer_curva( int &contador){ switch(contador){ case 0: fazendo_curva(0, 100); break; case 1: fazendo_curva(40,62); break; case 2: fazendo_curva(70, 50); break; case 12: fazendo_curva(0,100); break; case 3: fazendo_curva(30,40); break; case 4: fazendo_curva(23,2); break; case 5: fazendo_curva(33,0); break; case 6: fazendo_curva(23,10); break; case 7: fazendo_curva(10,25); break; case 8: fazendo_curva(10,13); break; case 9: fazendo_curva(0,81); break; case 10: fazendo_curva(0,100); break; case 11: fazendo_curva(10,13); break; } }
[ "judcnegri@gmail.com" ]
judcnegri@gmail.com
8c9f94fe840363952dc5a8d441838c1e4d4374e9
99a27afb908b2b8421331abe40c65308ab813552
/src/Models/Addins/IO/ASAddinsOutputBase.cpp
ffd4ce665ce7b82c0e0d1b569d343b89f4142cd0
[]
no_license
DlutMedimgGroup/AnatomySketch-Software
eb78187bb30eb9c40fb92beb4b82d709cf90354b
7c84853e1e4e6020bdfb1b39889e902d1ad3d309
refs/heads/master
2022-01-26T20:22:40.673961
2022-01-11T07:26:11
2022-01-11T07:26:11
200,750,114
79
36
null
null
null
null
UTF-8
C++
false
false
299
cpp
#include "ASAddinsOutputBase.h" ASAddinsOutputBase::ASAddinsOutputBase(ASAddinsBase* parent) : ASAddinsIOBase(parent) { } ASAddinsOutputBase::~ASAddinsOutputBase() { } bool ASAddinsOutputBase::isInput() { return false; } void ASAddinsOutputBase::GenerateFinished(const int InterfaceType) { }
[ "mingruizhuang@foxmail.com" ]
mingruizhuang@foxmail.com
d023f8ae5483f63a8f839eef89b228ed0c5d5f82
d9532047db94e5b45c807942821384fa187d3d0b
/glCanvas.cpp
5afb993aa4810eb7cbd7ee81d8066596fe2dab18
[ "MIT" ]
permissive
ludimation/acg_hw0
df1e25376d113e6cb1c5233f98ffec12ca633778
bf3a634ffe927fd7a731578e337171460005d0f2
refs/heads/master
2020-05-04T13:17:04.272050
2015-01-29T07:46:54
2015-01-29T07:46:54
29,986,111
0
0
null
null
null
null
UTF-8
C++
false
false
10,808
cpp
#include "glCanvas.h" #include "ifs.h" #include "argparser.h" #include "camera.h" // ======================================================== // static variables of GLCanvas class ArgParser* GLCanvas::args = NULL; IFS* GLCanvas::ifs = NULL; Camera* GLCanvas::camera = NULL; GLFWwindow* GLCanvas::window = NULL; // mouse position int GLCanvas::mouseX = 0; int GLCanvas::mouseY = 0; // which mouse button bool GLCanvas::leftMousePressed = false; bool GLCanvas::middleMousePressed = false; bool GLCanvas::rightMousePressed = false; // current state of modifier keys bool GLCanvas::shiftKeyPressed = false; bool GLCanvas::controlKeyPressed = false; bool GLCanvas::altKeyPressed = false; bool GLCanvas::superKeyPressed = false; // ======================================================== // Initialize all appropriate OpenGL variables, set // callback functions, and start the main event loop. // This function will not return but can be terminated // by calling 'exit(0)' // ======================================================== void GLCanvas::initialize(ArgParser *_args, IFS *_ifs) { args = _args; ifs = _ifs; // initial placement of camera glm::vec3 camera_position = glm::vec3( 0.5, 0.5, 3.0); glm::vec3 point_of_interest = glm::vec3( 0.5, 0.5, 0.5); glm::vec3 up = glm::vec3(0,1,0); #if 1 float size = 1.3; camera = new OrthographicCamera(camera_position, point_of_interest, up, size); #else float angle = 20.0; camera = new PerspectiveCamera(camera_position, point_of_interest, up, angle); #endif camera->glPlaceCamera(); glfwSetErrorCallback(error_callback); // Initialize GLFW if( !glfwInit() ) { std::cerr << "ERROR: Failed to initialize GLFW" << std::endl; exit(1); } // We will ask it to specifically open an OpenGL 3.2 context glfwWindowHint(GLFW_SAMPLES, 4); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2); glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); // Create a GLFW window window = glfwCreateWindow(args->width,args->height, "OpenGL viewer", NULL, NULL); if (!window) { std::cerr << "ERROR: Failed to open GLFW window" << std::endl; glfwTerminate(); exit(1); } glfwMakeContextCurrent(window); HandleGLError("in glcanvas first"); // Initialize GLEW glewExperimental = true; // Needed for core profile if (glewInit() != GLEW_OK) { std::cerr << "ERROR: Failed to initialize GLEW" << std::endl; glfwTerminate(); exit(1); } // there seems to be a "GL_INVALID_ENUM" error in glewInit that is a // know issue, but can safely be ignored HandleGLError("after glewInit()",true); std::cout << "-------------------------------------------------------" << std::endl; std::cout << "OpenGL Version: " << (char*)glGetString(GL_VERSION) << '\n'; std::cout << "-------------------------------------------------------" << std::endl; // Initialize callback functions glfwSetCursorPosCallback(GLCanvas::window,GLCanvas::mousemotionCB); glfwSetMouseButtonCallback(GLCanvas::window,GLCanvas::mousebuttonCB); glfwSetKeyCallback(GLCanvas::window,GLCanvas::keyboardCB); // Initialize the IFS ifs->setupVBOs(); HandleGLError("finished glcanvas initialize"); } // ======================================================== // Callback function for mouse click or release // ======================================================== void GLCanvas::mousebuttonCB(GLFWwindow *window, int which_button, int action, int mods) { // store the current state of the mouse buttons if (which_button == GLFW_MOUSE_BUTTON_1) { if (action == GLFW_PRESS) { leftMousePressed = true; } else { assert (action == GLFW_RELEASE); leftMousePressed = false; } } else if (which_button == GLFW_MOUSE_BUTTON_2) { if (action == GLFW_PRESS) { rightMousePressed = true; } else { assert (action == GLFW_RELEASE); rightMousePressed = false; } } else if (which_button == GLFW_MOUSE_BUTTON_3) { if (action == GLFW_PRESS) { middleMousePressed = true; } else { assert (action == GLFW_RELEASE); middleMousePressed = false; } } } // ======================================================== // Callback function for mouse drag // ======================================================== void GLCanvas::mousemotionCB(GLFWwindow *window, double x, double y) { // camera controls that work well for a 3 button mouse if (!shiftKeyPressed && !controlKeyPressed && !altKeyPressed) { if (leftMousePressed) { camera->rotateCamera(mouseX-x,mouseY-y); } else if (middleMousePressed) { camera->truckCamera(mouseX-x, y-mouseY); } else if (rightMousePressed) { camera->dollyCamera(mouseY-y); } } if (leftMousePressed || middleMousePressed || rightMousePressed) { if (shiftKeyPressed) { camera->zoomCamera(mouseY-y); } // allow reasonable control for a non-3 button mouse if (controlKeyPressed) { camera->truckCamera(mouseX-x, y-mouseY); } if (altKeyPressed) { camera->dollyCamera(y-mouseY); } } mouseX = x; mouseY = y; } // ======================================================== // Callback function for keyboard events // ======================================================== void GLCanvas::keyboardCB(GLFWwindow* window, int key, int scancode, int action, int mods) { // store the modifier keys shiftKeyPressed = (GLFW_MOD_SHIFT & mods); controlKeyPressed = (GLFW_MOD_CONTROL & mods); altKeyPressed = (GLFW_MOD_ALT & mods); superKeyPressed = (GLFW_MOD_SUPER & mods); // non modifier key actions if (action == GLFW_PRESS && key < 256) { if (key == GLFW_KEY_ESCAPE || key == 'q' || key == 'Q') { glfwSetWindowShouldClose(GLCanvas::window, GL_TRUE); } else { std::cout << "UNKNOWN KEYBOARD INPUT '" << (char)key << "'" << std::endl; } } } // ======================================================== // Load the vertex & fragment shaders // ======================================================== GLuint LoadShaders(const std::string &vertex_file_path,const std::string &fragment_file_path){ // Create the shaders GLuint VertexShaderID = glCreateShader(GL_VERTEX_SHADER); GLuint FragmentShaderID = glCreateShader(GL_FRAGMENT_SHADER); // Read the Vertex Shader code from the file std::string VertexShaderCode; std::ifstream VertexShaderStream(vertex_file_path.c_str(), std::ios::in); if (VertexShaderStream.is_open()){ std::string Line = ""; while(getline(VertexShaderStream, Line)) VertexShaderCode += "\n" + Line; VertexShaderStream.close(); } else { std::cerr << "ERROR: cannot open " << vertex_file_path << std::endl; exit(0); } // Read the Fragment Shader code from the file std::string FragmentShaderCode; std::ifstream FragmentShaderStream(fragment_file_path.c_str(), std::ios::in); if(FragmentShaderStream.is_open()){ std::string Line = ""; while(getline(FragmentShaderStream, Line)) FragmentShaderCode += "\n" + Line; FragmentShaderStream.close(); } else { std::cerr << "ERROR: cannot open " << vertex_file_path << std::endl; exit(0); } GLint Result = GL_FALSE; int InfoLogLength; // Compile Vertex Shader std::cout << "Compiling shader : " << vertex_file_path << std::endl; char const * VertexSourcePointer = VertexShaderCode.c_str(); glShaderSource(VertexShaderID, 1, &VertexSourcePointer , NULL); glCompileShader(VertexShaderID); // Check Vertex Shader glGetShaderiv(VertexShaderID, GL_COMPILE_STATUS, &Result); glGetShaderiv(VertexShaderID, GL_INFO_LOG_LENGTH, &InfoLogLength); if ( InfoLogLength > 0 ){ std::vector<char> VertexShaderErrorMessage(InfoLogLength+1); glGetShaderInfoLog(VertexShaderID, InfoLogLength, NULL, &VertexShaderErrorMessage[0]); std::cerr << "ERROR: " << VertexShaderErrorMessage[0] << std::endl; } // Compile Fragment Shader std::cout << "Compiling shader : " << fragment_file_path << std::endl; char const * FragmentSourcePointer = FragmentShaderCode.c_str(); glShaderSource(FragmentShaderID, 1, &FragmentSourcePointer , NULL); glCompileShader(FragmentShaderID); // Check Fragment Shader glGetShaderiv(FragmentShaderID, GL_COMPILE_STATUS, &Result); glGetShaderiv(FragmentShaderID, GL_INFO_LOG_LENGTH, &InfoLogLength); if ( InfoLogLength > 0 ){ std::vector<char> FragmentShaderErrorMessage(InfoLogLength+1); glGetShaderInfoLog(FragmentShaderID, InfoLogLength, NULL, &FragmentShaderErrorMessage[0]); std::cerr << "ERROR: " << FragmentShaderErrorMessage[0] << std::endl; } // Link the program std::cout << "Linking program" << std::endl; GLuint ProgramID = glCreateProgram(); glAttachShader(ProgramID, VertexShaderID); glAttachShader(ProgramID, FragmentShaderID); glLinkProgram(ProgramID); // Check the program glGetProgramiv(ProgramID, GL_LINK_STATUS, &Result); glGetProgramiv(ProgramID, GL_INFO_LOG_LENGTH, &InfoLogLength); if ( InfoLogLength > 0 ){ std::vector<char> ProgramErrorMessage(InfoLogLength+1); glGetProgramInfoLog(ProgramID, InfoLogLength, NULL, &ProgramErrorMessage[0]); std::cerr << "ERROR: " << ProgramErrorMessage[0] << std::endl; } glDeleteShader(VertexShaderID); glDeleteShader(FragmentShaderID); return ProgramID; } // ======================================================== // Functions related to error handling // ======================================================== void GLCanvas::error_callback(int error, const char* description) { std::cerr << "ERROR CALLBACK: " << description << std::endl; } std::string WhichGLError(GLenum &error) { switch (error) { case GL_NO_ERROR: return "NO_ERROR"; case GL_INVALID_ENUM: return "GL_INVALID_ENUM"; case GL_INVALID_VALUE: return "GL_INVALID_VALUE"; case GL_INVALID_OPERATION: return "GL_INVALID_OPERATION"; case GL_INVALID_FRAMEBUFFER_OPERATION: return "GL_INVALID_FRAMEBUFFER_OPERATION"; case GL_OUT_OF_MEMORY: return "GL_OUT_OF_MEMORY"; case GL_STACK_UNDERFLOW: return "GL_STACK_UNDERFLOW"; case GL_STACK_OVERFLOW: return "GL_STACK_OVERFLOW"; default: return "OTHER GL ERROR"; } } int HandleGLError(const std::string &message, bool ignore) { GLenum error; int i = 0; while ((error = glGetError()) != GL_NO_ERROR) { if (!ignore) { if (message != "") { std::cout << "[" << message << "] "; } std::cout << "GL ERROR(" << i << ") " << WhichGLError(error) << std::endl; } i++; } if (i == 0) return 1; return 0; } // ======================================================== // ========================================================
[ "mail@ludimotion.com" ]
mail@ludimotion.com
f52f9b5f9a7069f007b79b25d3829c12bdf5c004
ad273708d98b1f73b3855cc4317bca2e56456d15
/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchPolicy.h
30129e71544407f4691ba41d999ba5520a631ccd
[ "MIT", "Apache-2.0", "JSON" ]
permissive
novaquark/aws-sdk-cpp
b390f2e29f86f629f9efcf41c4990169b91f4f47
a0969508545bec9ae2864c9e1e2bb9aff109f90c
refs/heads/master
2022-08-28T18:28:12.742810
2020-05-27T15:46:18
2020-05-27T15:46:18
267,351,721
1
0
Apache-2.0
2020-05-27T15:08:16
2020-05-27T15:08:15
null
UTF-8
C++
false
false
5,998
h
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ #pragma once #include <aws/robomaker/RoboMaker_EXPORTS.h> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace RoboMaker { namespace Model { /** * <p>Information about the batch policy.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchPolicy">AWS * API Reference</a></p> */ class AWS_ROBOMAKER_API BatchPolicy { public: BatchPolicy(); BatchPolicy(Aws::Utils::Json::JsonView jsonValue); BatchPolicy& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * <p>The amount of time, in seconds, to wait for the batch to complete. </p> <p>If * a batch times out, and there are pending requests that were failing due to an * internal failure (like <code>InternalServiceError</code>), they will be moved to * the failed list and the batch status will be <code>Failed</code>. If the pending * requests were failing for any other reason, the failed pending requests will be * moved to the failed list and the batch status will be <code>TimedOut</code>. * </p> */ inline long long GetTimeoutInSeconds() const{ return m_timeoutInSeconds; } /** * <p>The amount of time, in seconds, to wait for the batch to complete. </p> <p>If * a batch times out, and there are pending requests that were failing due to an * internal failure (like <code>InternalServiceError</code>), they will be moved to * the failed list and the batch status will be <code>Failed</code>. If the pending * requests were failing for any other reason, the failed pending requests will be * moved to the failed list and the batch status will be <code>TimedOut</code>. * </p> */ inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; } /** * <p>The amount of time, in seconds, to wait for the batch to complete. </p> <p>If * a batch times out, and there are pending requests that were failing due to an * internal failure (like <code>InternalServiceError</code>), they will be moved to * the failed list and the batch status will be <code>Failed</code>. If the pending * requests were failing for any other reason, the failed pending requests will be * moved to the failed list and the batch status will be <code>TimedOut</code>. * </p> */ inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; } /** * <p>The amount of time, in seconds, to wait for the batch to complete. </p> <p>If * a batch times out, and there are pending requests that were failing due to an * internal failure (like <code>InternalServiceError</code>), they will be moved to * the failed list and the batch status will be <code>Failed</code>. If the pending * requests were failing for any other reason, the failed pending requests will be * moved to the failed list and the batch status will be <code>TimedOut</code>. * </p> */ inline BatchPolicy& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;} /** * <p>The number of active simulation jobs create as part of the batch that can be * in an active state at the same time. </p> <p>Active states include: * <code>Pending</code>,<code>Preparing</code>, <code>Running</code>, * <code>Restarting</code>, <code>RunningFailed</code> and * <code>Terminating</code>. All other states are terminal states. </p> */ inline int GetMaxConcurrency() const{ return m_maxConcurrency; } /** * <p>The number of active simulation jobs create as part of the batch that can be * in an active state at the same time. </p> <p>Active states include: * <code>Pending</code>,<code>Preparing</code>, <code>Running</code>, * <code>Restarting</code>, <code>RunningFailed</code> and * <code>Terminating</code>. All other states are terminal states. </p> */ inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; } /** * <p>The number of active simulation jobs create as part of the batch that can be * in an active state at the same time. </p> <p>Active states include: * <code>Pending</code>,<code>Preparing</code>, <code>Running</code>, * <code>Restarting</code>, <code>RunningFailed</code> and * <code>Terminating</code>. All other states are terminal states. </p> */ inline void SetMaxConcurrency(int value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; } /** * <p>The number of active simulation jobs create as part of the batch that can be * in an active state at the same time. </p> <p>Active states include: * <code>Pending</code>,<code>Preparing</code>, <code>Running</code>, * <code>Restarting</code>, <code>RunningFailed</code> and * <code>Terminating</code>. All other states are terminal states. </p> */ inline BatchPolicy& WithMaxConcurrency(int value) { SetMaxConcurrency(value); return *this;} private: long long m_timeoutInSeconds; bool m_timeoutInSecondsHasBeenSet; int m_maxConcurrency; bool m_maxConcurrencyHasBeenSet; }; } // namespace Model } // namespace RoboMaker } // namespace Aws
[ "aws-sdk-cpp-automation@github.com" ]
aws-sdk-cpp-automation@github.com
77b7eaae3b3c9ce07eca6c66ade296c928c49c4a
ef66e297a49d04098d98a711ca3fda7b8a9a657c
/LeetCode/95-Unique Binary Search Trees II/solution.cpp
11f11c00bb482591560fd46f0a869d9add893f0d
[]
no_license
breezy1812/MyCodes
34940357954dad35ddcf39aa6c9bc9e5cd1748eb
9e3d117d17025b3b587c5a80638cb8b3de754195
refs/heads/master
2020-07-19T13:36:05.270908
2018-12-15T08:54:30
2018-12-15T08:54:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,453
cpp
// Author: David // Email: youchen.du@gmail.com // Created: 2017-09-24 10:56 // Last modified: 2017-09-24 10:56 // Filename: solution.cpp // Description: /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<TreeNode*> build_trees(int left, int right) { vector<TreeNode*> ans; if(left > right) { ans.push_back(NULL); return ans; } else if(left == right) { ans.push_back(new TreeNode(left)); return ans; } for(int i = left; i <= right; i++) { vector<TreeNode*> left_trees = build_trees(left, i - 1); vector<TreeNode*> right_trees = build_trees(i + 1, right); for(int il = 0; il < left_trees.size(); il++) for(int ir = 0; ir < right_trees.size(); ir++) { TreeNode *root = new TreeNode(i); root->left = left_trees[il]; root->right = right_trees[ir]; ans.push_back(root); } } return ans; } vector<TreeNode*> generateTrees(int n) { vector<TreeNode*> ans; if(n == 0) return ans; ans = build_trees(1, n); return ans; } };
[ "youchen.du@gmail.com" ]
youchen.du@gmail.com
2017bc0ff95a52c52a2bd53bba29afade733ebfc
2c47c8f763c8b71fd26a8cd97c529391d1c01a22
/src/examples/Applets/App_GLSL_Bumpmapping.cpp
856400c25d3105f2ca6625384cb2820a435b6473
[ "BSD-2-Clause" ]
permissive
MicBosi/VisualizationLibrary
6780a30431085397ce1de4e8d57e618da5585408
d2a0e321288152008957e29a0bc270ad192f75be
refs/heads/master
2023-08-24T15:10:28.381277
2022-01-04T21:48:24
2022-01-04T21:48:24
32,726,740
324
92
NOASSERTION
2023-08-04T09:18:11
2015-03-23T10:57:58
C++
UTF-8
C++
false
false
8,713
cpp
/**************************************************************************************/ /* */ /* Visualization Library */ /* http://visualizationlibrary.org */ /* */ /* Copyright (c) 2005-2020, Michele Bosi */ /* All rights reserved. */ /* */ /* Redistribution and use in source and binary forms, with or without modification, */ /* are permitted provided that the following conditions are met: */ /* */ /* - Redistributions of source code must retain the above copyright notice, this */ /* list of conditions and the following disclaimer. */ /* */ /* - Redistributions in binary form must reproduce the above copyright notice, this */ /* list of conditions and the following disclaimer in the documentation and/or */ /* other materials provided with the distribution. */ /* */ /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND */ /* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */ /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */ /* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR */ /* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES */ /* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; */ /* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON */ /* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */ /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS */ /* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* */ /**************************************************************************************/ #include "BaseDemo.hpp" #include <vlGraphics/GeometryPrimitives.hpp> #include <vlCore/VisualizationLibrary.hpp> #include <vlGraphics/Light.hpp> #include <vlGraphics/GLSL.hpp> const int TORUS_SEGS = 25; class App_GLSL_Bumpmapping: public BaseDemo { public: void initEvent() { if (!vl::Has_GLSL) { vl::Log::error("OpenGL Shading Language not supported.\n"); vl::Time::sleep(2000); exit(1); } vl::Log::notify(appletInfo()); mTransform = new vl::Transform; // generate torus, with normals and uv coords vl::ref<vl::Geometry> model = vl::makeTorus( vl::vec3(0,0,0), 10, 2, TORUS_SEGS, TORUS_SEGS, 2.0f ); model->transform( vl::mat4::getRotation( 45.0f, 1.0f, 1.0f, 0.0f ) ); // setup effect vl::ref<vl::Effect> effect = new vl::Effect; effect->shader()->setRenderState( new vl::Light, 0 ); effect->shader()->enable(vl::EN_LIGHTING); effect->shader()->enable(vl::EN_DEPTH_TEST); effect->shader()->enable(vl::EN_CULL_FACE); mTorus = sceneManager()->tree()->addActor( model.get(), effect.get(), mTransform.get() ); // setup texture vl::ref<vl::Texture> texture0 = new vl::Texture; texture0->prepareTexture2D("images/normalmap.jpg", vl::TF_RGBA); texture0->setObjectName("images/normalmap.jpg"); effect->shader()->gocTextureImageUnit(0)->setTexture(texture0.get()); texture0->getTexParameter()->setAnisotropy(16.0); texture0->getTexParameter()->setMagFilter(vl::TPF_LINEAR); texture0->getTexParameter()->setMinFilter(vl::TPF_LINEAR_MIPMAP_LINEAR); // setup GLSL shader mGLSL = effect->shader()->gocGLSLProgram(); mGLSL->attachShader( new vl::GLSLVertexShader("/glsl/bumpmap.vs") ); mGLSL->attachShader( new vl::GLSLFragmentShader("/glsl/bumpmap.fs") ); // samper0 vl::ref<vl::Uniform> sampler0 = new vl::Uniform("sampler0"); sampler0->setUniformI(0); mGLSL->setUniform( sampler0.get() ); // light_obj_space_pos mLightObjSpacePosition = new vl::Uniform("light_obj_space_pos"); mGLSL->setUniform( mLightObjSpacePosition.get() ); // compute the tangent vector for each vertex vl::ref<vl::ArrayFloat3> tangent = new vl::ArrayFloat3; tangent->resize( model->vertexArray()->size() ); vl::Geometry::computeTangentSpace( model->vertexArray()->size(), (vl::fvec3*)model->vertexArray()->ptr(), (vl::fvec3*)model->normalArray()->ptr(), (vl::fvec2*)model->texCoordArray(0)->ptr(), model->drawCalls().at(0), tangent->begin(), NULL ); // bind the tangent vertex attribute - can be done in 3 ways #if 1 // user defines his custom vertex attribute mGLSL->linkProgram(); int tangent_idx = mGLSL->getAttribLocation("VertexTangent"); VL_CHECK( tangent_idx != -1 ); model->setVertexAttribArray(tangent_idx, tangent.get() ); // GLSL: in vec3 VertexTangent (user declared) #elif 0 // user uses pre-defined aliased utility vertex attribute model->setVertexAttribArray(vl::VA_Tangent, tangent.get() ); // GLSL: vl_VertexTangent (decl. /glsl/std/vertex_attribs.glsl) #else // user uses pre-defined basic vertex attribute model->setVertexAttribArray(vl::VA_TexCoord1, tangent.get() ); // GLSL: vl_VertexTexCoord1 (decl. /glsl/std/vertex_attribs.glsl) #endif // visualize the TBN vectors visualizeTangentSpace( model.get(), tangent.get() ); } void visualizeTangentSpace(const vl::Geometry* model, const vl::ArrayFloat3* tangent) { vl::ref<vl::Effect> effect = new vl::Effect; effect->shader()->enable(vl::EN_DEPTH_TEST); vl::ref<vl::ArrayFloat3> ntb_verts = new vl::ArrayFloat3; ntb_verts->resize( model->vertexArray()->size() * 6 ); vl::ref<vl::ArrayFloat4> ntb_cols = new vl::ArrayFloat4; ntb_cols->resize( model->vertexArray()->size() * 6 ); vl::fvec3* verts = (vl::fvec3*)model->vertexArray()->ptr(); vl::fvec3* norms = (vl::fvec3*)model->normalArray()->ptr(); float tick_size = 0.5f; for( size_t i=0; i<model->vertexArray()->size(); ++i ) { vl::fvec3 bitangent = vl::cross( norms[i], (*tangent)[i] ); (*ntb_verts)[i*6 + 0] = verts[i]; (*ntb_verts)[i*6 + 1] = verts[i] + norms[i] * tick_size; (*ntb_verts)[i*6 + 2] = verts[i]; (*ntb_verts)[i*6 + 3] = verts[i] + (*tangent)[i] * tick_size; (*ntb_verts)[i*6 + 4] = verts[i]; (*ntb_verts)[i*6 + 5] = verts[i] + bitangent * tick_size; (*ntb_cols)[i*6 + 0] = vl::red; (*ntb_cols)[i*6 + 1] = vl::red; (*ntb_cols)[i*6 + 2] = vl::green; (*ntb_cols)[i*6 + 3] = vl::green; (*ntb_cols)[i*6 + 4] = vl::blue; (*ntb_cols)[i*6 + 5] = vl::blue; } vl::ref<vl::Geometry> NTBGeom = new vl::Geometry; NTBGeom->setVertexArray( ntb_verts.get() ); NTBGeom->setColorArray( ntb_cols.get() ); NTBGeom->drawCalls().push_back( new vl::DrawArrays(vl::PT_LINES, 0, (int)ntb_verts->size() ) ); sceneManager()->tree()->addActor( NTBGeom.get(), effect.get(), mTransform.get() ); } void updateScene() { // update the torus tranform mTransform->setLocalMatrix( vl::mat4::getRotation( vl::Time::currentTime() * 5.0f, 0, -1, 1 ) ); mTransform->computeWorldMatrix(); // world to object space matrix vl::mat4 obj_mat = mTransform->worldMatrix().getInverse(); // project camera position from world to object space vl::vec3 camera_pos = rendering()->as<vl::Rendering>()->camera()->modelingMatrix().getT(); vl::vec3 camera_pos_obj_space = obj_mat * camera_pos; mLightObjSpacePosition->setUniform( (vl::fvec3)camera_pos_obj_space ); } protected: vl::ref<vl::GLSLProgram> mGLSL; vl::ref<vl::Uniform> mLightObjSpacePosition; vl::ref<vl::Actor> mTorus; vl::ref<vl::Transform> mTransform; }; // Have fun! BaseDemo* Create_App_GLSL_Bumpmapping() { return new App_GLSL_Bumpmapping; }
[ "hello@michelebosi.com" ]
hello@michelebosi.com
be4b3d5667e3168ac6b6d711206f02d2a16a4bed
e8897502a7a6b72a52079ff3c412b3067edf383b
/buoi9/bt5,6.cpp
fb006e2060245f7ed620de758cb3a0747db40c0c
[]
no_license
ttduong95/T2110E_LBEP
8999c5d71be6bc49dcfcdef4d905c116363db327
26ff993d45d9da8b83bcfa63055fe8ace9f59910
refs/heads/main
2023-08-25T23:00:25.165645
2021-11-12T12:46:52
2021-11-12T12:46:52
420,067,620
0
0
null
null
null
null
UTF-8
C++
false
false
277
cpp
#include<stdio.h> #include"function.h" int main(){ int a,b; printf("Nhap so a= "); scanf("%d",&a); printf("Nhap so b= "); scanf("%d",&b); printf("Uoc chung lon nhat %d va %d la: %d\n",a,b,uocmax(a,b)); printf("Boi chung be nhat %d va %d la: %d",a,b,boichungmin(a,b)); }
[ "duongnd1403@gmail.com" ]
duongnd1403@gmail.com
8ddeb3a3584426e7652dd8da34b62b4193ee4034
b6cc006beb7030463892dd8d546b850dc314406e
/geometric/ConvexHull/3Dhull.cpp
27fdac6a94072634503556905f723c0eee560f0c
[]
no_license
d891320478/ACMICPC
182cce497278ac6dc2690968c138e5b8fcbcfdaa
cdeff035f73fc907b9aeb84490b1c5e05b80bbb3
refs/heads/master
2023-03-16T15:45:12.526415
2023-03-02T12:51:43
2023-03-02T12:51:43
10,970,645
1
2
null
null
null
null
UTF-8
C++
false
false
4,254
cpp
#define EPS 1e-7 #define N 505 struct pt{ double x,y,z; pt() {} pt(double _x, double _y, double _z): x(_x), y(_y), z(_z) {} pt operator - (const pt p1){ return pt(x - p1.x, y - p1.y, z - p1.z); } pt operator * (pt p){ return pt(y*p.z-z*p.y, z*p.x-x*p.z, x*p.y-y*p.x); }//叉乘 double operator ^ (pt p){ return x*p.x+y*p.y+z*p.z; } //点乘 }; struct _3DCH { struct fac{ int a, b, c;//表示凸包一个面上三个点的编号 bool ok;//表示该面是否属于最终凸包中的面 }; int n; pt P[N]; int cnt;//凸包表面的三角形数 fac F[N*8];//凸包表面的三角形 int to[N][N]; double vlen(pt a){ return sqrt(a.x*a.x+a.y*a.y+a.z*a.z); }//向量长度 double area(pt a, pt b, pt c){ return vlen((b-a)*(c-a)); }//三角形面积*2 double volume(pt a, pt b, pt c, pt d){ return (b-a)*(c-a)^(d-a); }//四面体有向体积*6 double ptof(pt &p, fac &f)//正:点在面同向 { pt m=P[f.b]-P[f.a],n=P[f.c]-P[f.a],t=p-P[f.a]; return (m*n)^t; } void deal(int p,int a,int b) { int f=to[a][b]; fac add; if (F[f].ok) if (ptof(P[p],F[f])>EPS) dfs(p,f); else{ add.a = b, add.b = a, add.c = p, add.ok = 1; to[p][b] = to[a][p] = to[b][a] = cnt; F[cnt++] = add; } } void dfs(int p, int cur) { F[cur].ok = 0; deal(p, F[cur].b, F[cur].a); deal(p, F[cur].c, F[cur].b); deal(p, F[cur].a, F[cur].c); } bool same(int s, int t) { pt &a = P[F[s].a], &b = P[F[s].b], &c = P[F[s].c]; return fabs(volume(a, b, c, P[F[t].a])) < EPS && fabs(volume(a, b, c, P[F[t].b])) < EPS && fabs(volume(a, b, c, P[F[t].c])) < EPS; } void construct()//构建三维凸包 { cnt=0; if(n<4) return; /*********此段是为了保证前四个点不共面,若已保证,可去掉********/ bool sb=1; //使前两点不共点 for (int i = 1; i < n; i++) if (vlen(P[0] - P[i]) > EPS){ swap(P[1], P[i]); sb = 0; break; } if(sb) return; sb=1; //使前三点不共线 for (int i = 2; i < n; i++) if(vlen((P[0] - P[1]) * (P[1] - P[i])) > EPS) { swap(P[2], P[i]); sb=0; break; } if (sb)return; sb=1; //使前四点不共面 for (int i = 3; i < n; i++) if (fabs((P[0] - P[1]) * (P[1] - P[2]) ^ (P[0] - P[i])) > EPS) { swap(P[3], P[i]); sb=0; break; } if (sb)return; fac add; for (int i = 0; i < 4; i++) { add.a = (i+1)%4, add.b = (i+2)%4, add.c = (i+3)%4, add.ok = 1; if (ptof(P[i], add) > 0) swap(add.b, add.c); to[add.a][add.b] = to[add.b][add.c] = to[add.c][add.a] = cnt; F[cnt++] = add; } for (int i = 4; i < n; i++) for (int j = 0; j < cnt; j++) if (F[j].ok && ptof(P[i], F[j]) > EPS){ dfs(i, j);break; } int tmp = cnt; cnt = 0; for (int i = 0; i < tmp; i++) if (F[i].ok) F[cnt++] = F[i]; } double area()//表面积 { double ret = 0.0; for (int i = 0; i < cnt; i++) ret += area(P[F[i].a], P[F[i].b], P[F[i].c]); return ret / 2.0; } double volume()//体积 { pt O(0, 0, 0); double ret = 0.0; for (int i = 0; i < cnt; i++) ret += volume(O, P[F[i].a], P[F[i].b], P[F[i].c]); return fabs(ret / 6.0); } int facetCnt_tri(){ return cnt;}//表面三角形数 int facetCnt()//表面多边形数 { int ans = 0; for (int i = 0; i < cnt; i++) { bool nb = 1; for (int j = 0; j < i; j++) if (same(i, j)){ nb = 0; break; } ans += nb; } return ans; } pt Fc[N*8]; double V[N*8]; pt Center()//重心 { pt O(0,0,0); for (int i = 0; i < cnt; i++) { Fc[i].x = (O.x+P[F[i].a].x+P[F[i].b].x+P[F[i].c].x)/4.0; Fc[i].y = (O.y+P[F[i].a].y+P[F[i].b].y+P[F[i].c].y)/4.0; Fc[i].z = (O.z+P[F[i].a].z+P[F[i].b].z+P[F[i].c].z)/4.0; V[i] = volume(O,P[F[i].a],P[F[i].b],P[F[i].c]); } pt res = Fc[0],tmp; double m = V[0]; for (int i = 1; i < cnt; i++) { if (fabs(m+V[i]) < EPS) V[i] += EPS; tmp.x = (m*res.x+V[i]*Fc[i].x)/(m+V[i]); tmp.y = (m*res.y+V[i]*Fc[i].y)/(m+V[i]); tmp.z = (m*res.z+V[i]*Fc[i].z)/(m+V[i]); m += V[i]; res = tmp; } return res; } double ptoface(pt p,int i) {//点到面的距离 return fabs(volume(P[F[i].a],P[F[i].b],P[F[i].c],p) /vlen((P[F[i].b]-P[F[i].a])*(P[F[i].c]-P[F[i].a]))); } }hull; int main() { while (scanf("%d",&hull.n)!=EOF) { for (int i = 0; i < hull.n; i++) scanf("%lf%lf%lf",&hull.P[i].x,&hull.P[i].y,&hull.P[i].z); hull.construct(); } return 0; }
[ "dht31261@gmail.com" ]
dht31261@gmail.com
98f78873d16ef8d67b9145ecf04a14dd14ef6374
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/squid/new_hunk_7783.cpp
60b6070ed0110ebf2d0bebfebda7bd4e986d0bee
[]
no_license
ccdxc/logSurvey
eaf28e9c2d6307140b17986d5c05106d1fd8e943
6b80226e1667c1e0760ab39160893ee19b0e9fb1
refs/heads/master
2022-01-07T21:31:55.446839
2018-04-21T14:12:43
2018-04-21T14:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
519
cpp
switch (method) { case METHOD_GET: return url; /* NOTREACHED */ break; case METHOD_POST: sprintf(key_temp_buffer, "/post/%s", url); return key_temp_buffer; /* NOTREACHED */ break; case METHOD_HEAD: sprintf(key_temp_buffer, "/head/%s", url); return key_temp_buffer; /* NOTREACHED */ break; case METHOD_CONNECT: sprintf(key_temp_buffer, "/connect/%s", url); return key_temp_buffer; /* NOTREACHED */ break; default: fatal_dump("storeGeneratePublicKey: Unsupported request method");
[ "993273596@qq.com" ]
993273596@qq.com
8219de7739f3772cd14fc0833bca9b9e00e55969
52a5d981a3662facd0b559a4fcec0902d8897c3e
/include/Eigen/src/plugins/BlockMethods.h
5ef373a81389e82235d9eb5c2475864f2fed7327
[]
no_license
akshay-jaggi/cuda-tests
be8995682a2af8efe0024efa09d9cdd5091d967b
d9c7a502b108249f3156da332c53140f162085d3
refs/heads/master
2022-12-18T19:31:03.911609
2013-02-20T07:52:08
2013-02-20T07:52:08
286,866,639
0
0
null
2020-08-11T23:10:21
2020-08-11T23:10:20
null
UTF-8
C++
false
false
25,891
h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. #ifndef EIGEN_PARSED_BY_DOXYGEN /** \internal expression type of a column */ typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr; typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ConstColXpr; /** \internal expression type of a row */ typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr; typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowXpr; /** \internal expression type of a block of whole columns */ typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBlockXpr; typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockXpr; /** \internal expression type of a block of whole rows */ typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlockXpr; typedef const Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockXpr; /** \internal expression type of a block of whole columns */ template<int N> struct NColsBlockXpr { typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; }; template<int N> struct ConstNColsBlockXpr { typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; }; /** \internal expression type of a block of whole rows */ template<int N> struct NRowsBlockXpr { typedef Block<Derived, N, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> Type; }; template<int N> struct ConstNRowsBlockXpr { typedef const Block<const Derived, N, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> Type; }; typedef VectorBlock<Derived> SegmentReturnType; typedef const VectorBlock<const Derived> ConstSegmentReturnType; template<int Size> struct FixedSegmentReturnType { typedef VectorBlock<Derived, Size> Type; }; template<int Size> struct ConstFixedSegmentReturnType { typedef const VectorBlock<const Derived, Size> Type; }; #endif // not EIGEN_PARSED_BY_DOXYGEN /** \returns a dynamic-size expression of a block in *this. * * \param startRow the first row in the block * \param startCol the first column in the block * \param blockRows the number of rows in the block * \param blockCols the number of columns in the block * * Example: \include MatrixBase_block_int_int_int_int.cpp * Output: \verbinclude MatrixBase_block_int_int_int_int.out * * \note Even though the returned expression has dynamic size, in the case * when it is applied to a fixed-size matrix, it inherits a fixed maximal size, * which means that evaluating it does not cause a dynamic memory allocation. * * \sa class Block, block(Index,Index) */ EIGEN_DEVICE_FUNC inline Block<Derived> block(Index startRow, Index startCol, Index blockRows, Index blockCols) { return Block<Derived>(derived(), startRow, startCol, blockRows, blockCols); } /** This is the const version of block(Index,Index,Index,Index). */ EIGEN_DEVICE_FUNC inline const Block<const Derived> block(Index startRow, Index startCol, Index blockRows, Index blockCols) const { return Block<const Derived>(derived(), startRow, startCol, blockRows, blockCols); } /** \returns a dynamic-size expression of a top-right corner of *this. * * \param cRows the number of rows in the corner * \param cCols the number of columns in the corner * * Example: \include MatrixBase_topRightCorner_int_int.cpp * Output: \verbinclude MatrixBase_topRightCorner_int_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline Block<Derived> topRightCorner(Index cRows, Index cCols) { return Block<Derived>(derived(), 0, cols() - cCols, cRows, cCols); } /** This is the const version of topRightCorner(Index, Index).*/ EIGEN_DEVICE_FUNC inline const Block<const Derived> topRightCorner(Index cRows, Index cCols) const { return Block<const Derived>(derived(), 0, cols() - cCols, cRows, cCols); } /** \returns an expression of a fixed-size top-right corner of *this. * * The template parameters CRows and CCols are the number of rows and columns in the corner. * * Example: \include MatrixBase_template_int_int_topRightCorner.cpp * Output: \verbinclude MatrixBase_template_int_int_topRightCorner.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int CRows, int CCols> EIGEN_DEVICE_FUNC inline Block<Derived, CRows, CCols> topRightCorner() { return Block<Derived, CRows, CCols>(derived(), 0, cols() - CCols); } /** This is the const version of topRightCorner<int, int>().*/ template<int CRows, int CCols> EIGEN_DEVICE_FUNC inline const Block<const Derived, CRows, CCols> topRightCorner() const { return Block<const Derived, CRows, CCols>(derived(), 0, cols() - CCols); } /** \returns a dynamic-size expression of a top-left corner of *this. * * \param cRows the number of rows in the corner * \param cCols the number of columns in the corner * * Example: \include MatrixBase_topLeftCorner_int_int.cpp * Output: \verbinclude MatrixBase_topLeftCorner_int_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline Block<Derived> topLeftCorner(Index cRows, Index cCols) { return Block<Derived>(derived(), 0, 0, cRows, cCols); } /** This is the const version of topLeftCorner(Index, Index).*/ EIGEN_DEVICE_FUNC inline const Block<const Derived> topLeftCorner(Index cRows, Index cCols) const { return Block<const Derived>(derived(), 0, 0, cRows, cCols); } /** \returns an expression of a fixed-size top-left corner of *this. * * The template parameters CRows and CCols are the number of rows and columns in the corner. * * Example: \include MatrixBase_template_int_int_topLeftCorner.cpp * Output: \verbinclude MatrixBase_template_int_int_topLeftCorner.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int CRows, int CCols> EIGEN_DEVICE_FUNC inline Block<Derived, CRows, CCols> topLeftCorner() { return Block<Derived, CRows, CCols>(derived(), 0, 0); } /** This is the const version of topLeftCorner<int, int>().*/ template<int CRows, int CCols> EIGEN_DEVICE_FUNC inline const Block<const Derived, CRows, CCols> topLeftCorner() const { return Block<const Derived, CRows, CCols>(derived(), 0, 0); } /** \returns a dynamic-size expression of a bottom-right corner of *this. * * \param cRows the number of rows in the corner * \param cCols the number of columns in the corner * * Example: \include MatrixBase_bottomRightCorner_int_int.cpp * Output: \verbinclude MatrixBase_bottomRightCorner_int_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline Block<Derived> bottomRightCorner(Index cRows, Index cCols) { return Block<Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols); } /** This is the const version of bottomRightCorner(Index, Index).*/ EIGEN_DEVICE_FUNC inline const Block<const Derived> bottomRightCorner(Index cRows, Index cCols) const { return Block<const Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols); } /** \returns an expression of a fixed-size bottom-right corner of *this. * * The template parameters CRows and CCols are the number of rows and columns in the corner. * * Example: \include MatrixBase_template_int_int_bottomRightCorner.cpp * Output: \verbinclude MatrixBase_template_int_int_bottomRightCorner.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int CRows, int CCols> EIGEN_DEVICE_FUNC inline Block<Derived, CRows, CCols> bottomRightCorner() { return Block<Derived, CRows, CCols>(derived(), rows() - CRows, cols() - CCols); } /** This is the const version of bottomRightCorner<int, int>().*/ template<int CRows, int CCols> EIGEN_DEVICE_FUNC inline const Block<const Derived, CRows, CCols> bottomRightCorner() const { return Block<const Derived, CRows, CCols>(derived(), rows() - CRows, cols() - CCols); } /** \returns a dynamic-size expression of a bottom-left corner of *this. * * \param cRows the number of rows in the corner * \param cCols the number of columns in the corner * * Example: \include MatrixBase_bottomLeftCorner_int_int.cpp * Output: \verbinclude MatrixBase_bottomLeftCorner_int_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline Block<Derived> bottomLeftCorner(Index cRows, Index cCols) { return Block<Derived>(derived(), rows() - cRows, 0, cRows, cCols); } /** This is the const version of bottomLeftCorner(Index, Index).*/ EIGEN_DEVICE_FUNC inline const Block<const Derived> bottomLeftCorner(Index cRows, Index cCols) const { return Block<const Derived>(derived(), rows() - cRows, 0, cRows, cCols); } /** \returns an expression of a fixed-size bottom-left corner of *this. * * The template parameters CRows and CCols are the number of rows and columns in the corner. * * Example: \include MatrixBase_template_int_int_bottomLeftCorner.cpp * Output: \verbinclude MatrixBase_template_int_int_bottomLeftCorner.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int CRows, int CCols> EIGEN_DEVICE_FUNC inline Block<Derived, CRows, CCols> bottomLeftCorner() { return Block<Derived, CRows, CCols>(derived(), rows() - CRows, 0); } /** This is the const version of bottomLeftCorner<int, int>().*/ template<int CRows, int CCols> EIGEN_DEVICE_FUNC inline const Block<const Derived, CRows, CCols> bottomLeftCorner() const { return Block<const Derived, CRows, CCols>(derived(), rows() - CRows, 0); } /** \returns a block consisting of the top rows of *this. * * \param n the number of rows in the block * * Example: \include MatrixBase_topRows_int.cpp * Output: \verbinclude MatrixBase_topRows_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline RowsBlockXpr topRows(Index n) { return RowsBlockXpr(derived(), 0, 0, n, cols()); } /** This is the const version of topRows(Index).*/ EIGEN_DEVICE_FUNC inline ConstRowsBlockXpr topRows(Index n) const { return ConstRowsBlockXpr(derived(), 0, 0, n, cols()); } /** \returns a block consisting of the top rows of *this. * * \tparam N the number of rows in the block * * Example: \include MatrixBase_template_int_topRows.cpp * Output: \verbinclude MatrixBase_template_int_topRows.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int N> EIGEN_DEVICE_FUNC inline typename NRowsBlockXpr<N>::Type topRows() { return typename NRowsBlockXpr<N>::Type(derived(), 0, 0, N, cols()); } /** This is the const version of topRows<int>().*/ template<int N> EIGEN_DEVICE_FUNC inline typename ConstNRowsBlockXpr<N>::Type topRows() const { return typename ConstNRowsBlockXpr<N>::Type(derived(), 0, 0, N, cols()); } /** \returns a block consisting of the bottom rows of *this. * * \param n the number of rows in the block * * Example: \include MatrixBase_bottomRows_int.cpp * Output: \verbinclude MatrixBase_bottomRows_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline RowsBlockXpr bottomRows(Index n) { return RowsBlockXpr(derived(), rows() - n, 0, n, cols()); } /** This is the const version of bottomRows(Index).*/ EIGEN_DEVICE_FUNC inline ConstRowsBlockXpr bottomRows(Index n) const { return ConstRowsBlockXpr(derived(), rows() - n, 0, n, cols()); } /** \returns a block consisting of the bottom rows of *this. * * \tparam N the number of rows in the block * * Example: \include MatrixBase_template_int_bottomRows.cpp * Output: \verbinclude MatrixBase_template_int_bottomRows.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int N> EIGEN_DEVICE_FUNC inline typename NRowsBlockXpr<N>::Type bottomRows() { return typename NRowsBlockXpr<N>::Type(derived(), rows() - N, 0, N, cols()); } /** This is the const version of bottomRows<int>().*/ template<int N> EIGEN_DEVICE_FUNC inline typename ConstNRowsBlockXpr<N>::Type bottomRows() const { return typename ConstNRowsBlockXpr<N>::Type(derived(), rows() - N, 0, N, cols()); } /** \returns a block consisting of a range of rows of *this. * * \param startRow the index of the first row in the block * \param numRows the number of rows in the block * * Example: \include DenseBase_middleRows_int.cpp * Output: \verbinclude DenseBase_middleRows_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline RowsBlockXpr middleRows(Index startRow, Index numRows) { return RowsBlockXpr(derived(), startRow, 0, numRows, cols()); } /** This is the const version of middleRows(Index,Index).*/ EIGEN_DEVICE_FUNC inline ConstRowsBlockXpr middleRows(Index startRow, Index numRows) const { return ConstRowsBlockXpr(derived(), startRow, 0, numRows, cols()); } /** \returns a block consisting of a range of rows of *this. * * \tparam N the number of rows in the block * \param startRow the index of the first row in the block * * Example: \include DenseBase_template_int_middleRows.cpp * Output: \verbinclude DenseBase_template_int_middleRows.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int N> EIGEN_DEVICE_FUNC inline typename NRowsBlockXpr<N>::Type middleRows(Index startRow) { return typename NRowsBlockXpr<N>::Type(derived(), startRow, 0, N, cols()); } /** This is the const version of middleRows<int>().*/ template<int N> EIGEN_DEVICE_FUNC inline typename ConstNRowsBlockXpr<N>::Type middleRows(Index startRow) const { return typename ConstNRowsBlockXpr<N>::Type(derived(), startRow, 0, N, cols()); } /** \returns a block consisting of the left columns of *this. * * \param n the number of columns in the block * * Example: \include MatrixBase_leftCols_int.cpp * Output: \verbinclude MatrixBase_leftCols_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline ColsBlockXpr leftCols(Index n) { return ColsBlockXpr(derived(), 0, 0, rows(), n); } /** This is the const version of leftCols(Index).*/ EIGEN_DEVICE_FUNC inline ConstColsBlockXpr leftCols(Index n) const { return ConstColsBlockXpr(derived(), 0, 0, rows(), n); } /** \returns a block consisting of the left columns of *this. * * \tparam N the number of columns in the block * * Example: \include MatrixBase_template_int_leftCols.cpp * Output: \verbinclude MatrixBase_template_int_leftCols.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int N> EIGEN_DEVICE_FUNC inline typename NColsBlockXpr<N>::Type leftCols() { return typename NColsBlockXpr<N>::Type(derived(), 0, 0, rows(), N); } /** This is the const version of leftCols<int>().*/ template<int N> EIGEN_DEVICE_FUNC inline typename ConstNColsBlockXpr<N>::Type leftCols() const { return typename ConstNColsBlockXpr<N>::Type(derived(), 0, 0, rows(), N); } /** \returns a block consisting of the right columns of *this. * * \param n the number of columns in the block * * Example: \include MatrixBase_rightCols_int.cpp * Output: \verbinclude MatrixBase_rightCols_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline ColsBlockXpr rightCols(Index n) { return ColsBlockXpr(derived(), 0, cols() - n, rows(), n); } /** This is the const version of rightCols(Index).*/ EIGEN_DEVICE_FUNC inline ConstColsBlockXpr rightCols(Index n) const { return ConstColsBlockXpr(derived(), 0, cols() - n, rows(), n); } /** \returns a block consisting of the right columns of *this. * * \tparam N the number of columns in the block * * Example: \include MatrixBase_template_int_rightCols.cpp * Output: \verbinclude MatrixBase_template_int_rightCols.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int N> EIGEN_DEVICE_FUNC inline typename NColsBlockXpr<N>::Type rightCols() { return typename NColsBlockXpr<N>::Type(derived(), 0, cols() - N, rows(), N); } /** This is the const version of rightCols<int>().*/ template<int N> EIGEN_DEVICE_FUNC inline typename ConstNColsBlockXpr<N>::Type rightCols() const { return typename ConstNColsBlockXpr<N>::Type(derived(), 0, cols() - N, rows(), N); } /** \returns a block consisting of a range of columns of *this. * * \param startCol the index of the first column in the block * \param numCols the number of columns in the block * * Example: \include DenseBase_middleCols_int.cpp * Output: \verbinclude DenseBase_middleCols_int.out * * \sa class Block, block(Index,Index,Index,Index) */ EIGEN_DEVICE_FUNC inline ColsBlockXpr middleCols(Index startCol, Index numCols) { return ColsBlockXpr(derived(), 0, startCol, rows(), numCols); } /** This is the const version of middleCols(Index,Index).*/ EIGEN_DEVICE_FUNC inline ConstColsBlockXpr middleCols(Index startCol, Index numCols) const { return ConstColsBlockXpr(derived(), 0, startCol, rows(), numCols); } /** \returns a block consisting of a range of columns of *this. * * \tparam N the number of columns in the block * \param startCol the index of the first column in the block * * Example: \include DenseBase_template_int_middleCols.cpp * Output: \verbinclude DenseBase_template_int_middleCols.out * * \sa class Block, block(Index,Index,Index,Index) */ template<int N> EIGEN_DEVICE_FUNC inline typename NColsBlockXpr<N>::Type middleCols(Index startCol) { return typename NColsBlockXpr<N>::Type(derived(), 0, startCol, rows(), N); } /** This is the const version of middleCols<int>().*/ template<int N> EIGEN_DEVICE_FUNC inline typename ConstNColsBlockXpr<N>::Type middleCols(Index startCol) const { return typename ConstNColsBlockXpr<N>::Type(derived(), 0, startCol, rows(), N); } /** \returns a fixed-size expression of a block in *this. * * The template parameters \a BlockRows and \a BlockCols are the number of * rows and columns in the block. * * \param startRow the first row in the block * \param startCol the first column in the block * * Example: \include MatrixBase_block_int_int.cpp * Output: \verbinclude MatrixBase_block_int_int.out * * \note since block is a templated member, the keyword template has to be used * if the matrix type is also a template parameter: \code m.template block<3,3>(1,1); \endcode * * \sa class Block, block(Index,Index,Index,Index) */ template<int BlockRows, int BlockCols> EIGEN_DEVICE_FUNC inline Block<Derived, BlockRows, BlockCols> block(Index startRow, Index startCol) { return Block<Derived, BlockRows, BlockCols>(derived(), startRow, startCol); } /** This is the const version of block<>(Index, Index). */ template<int BlockRows, int BlockCols> EIGEN_DEVICE_FUNC inline const Block<const Derived, BlockRows, BlockCols> block(Index startRow, Index startCol) const { return Block<const Derived, BlockRows, BlockCols>(derived(), startRow, startCol); } /** \returns an expression of the \a i-th column of *this. Note that the numbering starts at 0. * * Example: \include MatrixBase_col.cpp * Output: \verbinclude MatrixBase_col.out * * \sa row(), class Block */ EIGEN_DEVICE_FUNC inline ColXpr col(Index i) { return ColXpr(derived(), i); } /** This is the const version of col(). */ EIGEN_DEVICE_FUNC inline ConstColXpr col(Index i) const { return ConstColXpr(derived(), i); } /** \returns an expression of the \a i-th row of *this. Note that the numbering starts at 0. * * Example: \include MatrixBase_row.cpp * Output: \verbinclude MatrixBase_row.out * * \sa col(), class Block */ EIGEN_DEVICE_FUNC inline RowXpr row(Index i) { return RowXpr(derived(), i); } /** This is the const version of row(). */ EIGEN_DEVICE_FUNC inline ConstRowXpr row(Index i) const { return ConstRowXpr(derived(), i); } /** \returns a dynamic-size expression of a segment (i.e. a vector block) in *this. * * \only_for_vectors * * \param start the first coefficient in the segment * \param vecSize the number of coefficients in the segment * * Example: \include MatrixBase_segment_int_int.cpp * Output: \verbinclude MatrixBase_segment_int_int.out * * \note Even though the returned expression has dynamic size, in the case * when it is applied to a fixed-size vector, it inherits a fixed maximal size, * which means that evaluating it does not cause a dynamic memory allocation. * * \sa class Block, segment(Index) */ EIGEN_DEVICE_FUNC inline SegmentReturnType segment(Index start, Index vecSize) { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return SegmentReturnType(derived(), start, vecSize); } /** This is the const version of segment(Index,Index).*/ EIGEN_DEVICE_FUNC inline ConstSegmentReturnType segment(Index start, Index vecSize) const { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return ConstSegmentReturnType(derived(), start, vecSize); } /** \returns a dynamic-size expression of the first coefficients of *this. * * \only_for_vectors * * \param vecSize the number of coefficients in the block * * Example: \include MatrixBase_start_int.cpp * Output: \verbinclude MatrixBase_start_int.out * * \note Even though the returned expression has dynamic size, in the case * when it is applied to a fixed-size vector, it inherits a fixed maximal size, * which means that evaluating it does not cause a dynamic memory allocation. * * \sa class Block, block(Index,Index) */ EIGEN_DEVICE_FUNC inline SegmentReturnType head(Index vecSize) { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return SegmentReturnType(derived(), 0, vecSize); } /** This is the const version of head(Index).*/ EIGEN_DEVICE_FUNC inline ConstSegmentReturnType head(Index vecSize) const { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return ConstSegmentReturnType(derived(), 0, vecSize); } /** \returns a dynamic-size expression of the last coefficients of *this. * * \only_for_vectors * * \param vecSize the number of coefficients in the block * * Example: \include MatrixBase_end_int.cpp * Output: \verbinclude MatrixBase_end_int.out * * \note Even though the returned expression has dynamic size, in the case * when it is applied to a fixed-size vector, it inherits a fixed maximal size, * which means that evaluating it does not cause a dynamic memory allocation. * * \sa class Block, block(Index,Index) */ EIGEN_DEVICE_FUNC inline SegmentReturnType tail(Index vecSize) { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return SegmentReturnType(derived(), this->size() - vecSize, vecSize); } /** This is the const version of tail(Index).*/ EIGEN_DEVICE_FUNC inline ConstSegmentReturnType tail(Index vecSize) const { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return ConstSegmentReturnType(derived(), this->size() - vecSize, vecSize); } /** \returns a fixed-size expression of a segment (i.e. a vector block) in \c *this * * \only_for_vectors * * The template parameter \a Size is the number of coefficients in the block * * \param start the index of the first element of the sub-vector * * Example: \include MatrixBase_template_int_segment.cpp * Output: \verbinclude MatrixBase_template_int_segment.out * * \sa class Block */ template<int Size> EIGEN_DEVICE_FUNC inline typename FixedSegmentReturnType<Size>::Type segment(Index start) { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return typename FixedSegmentReturnType<Size>::Type(derived(), start); } /** This is the const version of segment<int>(Index).*/ template<int Size> EIGEN_DEVICE_FUNC inline typename ConstFixedSegmentReturnType<Size>::Type segment(Index start) const { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return typename ConstFixedSegmentReturnType<Size>::Type(derived(), start); } /** \returns a fixed-size expression of the first coefficients of *this. * * \only_for_vectors * * The template parameter \a Size is the number of coefficients in the block * * Example: \include MatrixBase_template_int_start.cpp * Output: \verbinclude MatrixBase_template_int_start.out * * \sa class Block */ template<int Size> EIGEN_DEVICE_FUNC inline typename FixedSegmentReturnType<Size>::Type head() { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return typename FixedSegmentReturnType<Size>::Type(derived(), 0); } /** This is the const version of head<int>().*/ template<int Size> EIGEN_DEVICE_FUNC inline typename ConstFixedSegmentReturnType<Size>::Type head() const { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return typename ConstFixedSegmentReturnType<Size>::Type(derived(), 0); } /** \returns a fixed-size expression of the last coefficients of *this. * * \only_for_vectors * * The template parameter \a Size is the number of coefficients in the block * * Example: \include MatrixBase_template_int_end.cpp * Output: \verbinclude MatrixBase_template_int_end.out * * \sa class Block */ template<int Size> EIGEN_DEVICE_FUNC inline typename FixedSegmentReturnType<Size>::Type tail() { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return typename FixedSegmentReturnType<Size>::Type(derived(), size() - Size); } /** This is the const version of tail<int>.*/ template<int Size> EIGEN_DEVICE_FUNC inline typename ConstFixedSegmentReturnType<Size>::Type tail() const { EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) return typename ConstFixedSegmentReturnType<Size>::Type(derived(), size() - Size); }
[ "alex.bw@gmail.com" ]
alex.bw@gmail.com
0e54d038a677c5972703346d97ebb3a0127c6cd4
d3fc7e21b272f225ec341394fa42c7117c9cdd3a
/src/sandbox/Rev1/ap_ReadAnalog/applet/ap_ReadAnalog.cpp
680b9bdfb7b2f34e7611b1d5321938dd3fed40e4
[]
no_license
spuder/TimeSquared
109934f666a96910d57ec3378595ca3ee198e5d6
3b02899f6850f4822e4b199b7edef207c4ee1af3
refs/heads/master
2021-04-24T17:53:43.433729
2013-06-11T18:49:56
2013-06-11T18:49:56
1,462,564
1
0
null
null
null
null
UTF-8
C++
false
false
1,217
cpp
/* * ap_ReadAnalog * * Reads an analog input from the input pin and sends the value * followed by a line break over the serial port. * * This file is part of the Arduino meets Processing Project: * For more information visit http://www.arduino.cc. * * copyleft 2005 by Melvin Ochsmann for Malm\ufffd University * */ // variables for input pin and control LED #include "WProgram.h" void setup(); void loop(); int analogInput = 3; int LEDpin = 12; // variable to store the value int value = 0; // a threshold to decide when the LED turns on int threshold = 300; void setup(){ // declaration of pin modes pinMode(analogInput, INPUT); pinMode(LEDpin, OUTPUT); // begin sending over serial port Serial.begin(9600); } void loop(){ // read the value on analog input value = analogRead(analogInput); // if value greater than threshold turn on LED analogWrite(LEDpin, value); // print out value over the serial port Serial.println(value); Serial.println(); // and a signal that serves as seperator between two values // wait for a bit to not overload the port delay(75); } int main(void) { init(); setup(); for (;;) loop(); return 0; }
[ "bubbleboy450@gmail.com" ]
bubbleboy450@gmail.com
c31b1571bb2da56f5de25a69fa25627059dc4594
f2ef73ec4aaecad3d0a61946c9814604ba8d92ad
/ExamenLab/Polinomio.h
eb203ddafd149c216b308eba27ebfd8d50e2bcd6
[]
no_license
selvinguez/EjerciciosProgramacionIII
199278506281282b75c0d454569485c30a57d271
2aab6ba82e7f1a96bf22250e8c81fa7f0943ad4c
refs/heads/master
2020-12-21T01:32:29.105525
2020-03-27T22:08:21
2020-03-27T22:08:21
236,266,751
1
1
null
null
null
null
UTF-8
C++
false
false
556
h
#pragma once #ifndef POLINOMIO_H #define POLINOMIO_H #include <iostream> #define LIMITE 30; class Polinomio { friend std::ostream& operator<<(std::ostream&, const Polinomio&); friend Polinomio& operator +(const Polinomio&, const Polinomio&); friend Polinomio& operator -(const Polinomio&, const Polinomio&); friend Polinomio& operator *(const Polinomio&, const Polinomio&); private: int Coeficiente[30]; int exponentes[30]; int cantiTerminos; public: Polinomio(); ~Polinomio(); void ingresarTerminos(); void ordenar_Poli(); }; #endif
[ "guezgiron@gmail.com" ]
guezgiron@gmail.com
c1294c0f505d35e3c9f3b2c5945ca3ce03282662
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5753053697277952_0/C++/Programist/1.cpp
d3cd47fc8ffafba7975282ac924f7360c92438a7
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,249
cpp
#include <iostream> #include <sstream> #include <cstdio> #include <cstdlib> #include <cmath> #include <cctype> #include <cstring> #include <vector> #include <list> #include <queue> #include <deque> #include <stack> #include <map> #include <set> #include <algorithm> #include <numeric> #include <ctime> #include <fstream> #include <iomanip> #include <stdexcept> #include <functional> #include <math.h> #include <utility> #include <sstream> #pragma comment(linker, "/STACK:133217728") using namespace std; int n; int x[44]; int main() { freopen("in.txt", "r", stdin); freopen("ans.txt", "w", stdout); int T; cin >> T; for(int t=1; t<=T; t++) { cout << "Case #" << t << ": "; cin >> n; int s = 0; for(int i=0; i<n; i++) { cin >> x[i]; s += x[i]; } while(s > 0) { string ans = ""; int ind = 0; for(int i=1; i<n; i++) if(x[i] > x[ind]) ind = i; s--; x[ind]--; ans = char('A' + ind); if(s == 2 || x[ind] * 2 >= s) { cout << ans << " "; continue; } ind = 0; for(int i=1; i<n; i++) if(x[i] > x[ind]) ind = i; s--; x[ind]--; ans += char('A' + ind); cout << ans << " "; } cout << endl; } return 0; }
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
aa0777d03d1538dd45f3a81e63bbb0e11301e67e
ca6f9c3990d9fecebe09eacdacbfe02d99338a00
/fluid_simulator/move_substances.cpp
c80b77de0dfea2939f287bb59d6dc4880139c824
[]
no_license
nyhirasawa/Visual-Simulation-of-Smoke-3D
11788acf560d8cda1b49b715e832c257e3890794
e1eb0863f80797ac44e2327c46b89bf8a531310a
refs/heads/main
2023-05-24T06:13:57.306413
2021-06-13T17:23:42
2021-06-13T17:23:42
376,600,584
0
0
null
null
null
null
UTF-8
C++
false
false
14,270
cpp
#include "move_substances.h" #include <iostream> #include "linear_solver.h" #include "physical_const.h" #include "utils.h" namespace smoke_simulation{ //外力項の計算 void add_force_substances(Grid& all_grid){ } /* //substance densityのlinear interpolation double linear_interpolation_substances(double advected_x, double advected_y, Grid& all_grid){ int advected_index_x=(int)(advected_x); int advected_index_y=(int)(advected_y); if(advected_index_x<1){ advected_index_x=1; advected_x=(advected_index_x); // advected_x=(advected_index_x+0.5); } if(advected_index_x>=smoke_simulation::physical_const::kGrid_num_x-1){ advected_index_x=smoke_simulation::physical_const::kGrid_num_x-2; advected_x=(advected_index_x); // advected_x=(advected_index_x+0.5); } if(advected_index_y<1){ advected_index_y=1; advected_y=(advected_index_y); // advected_y=(advected_index_y+0.5); } if(advected_index_y>=smoke_simulation::physical_const::kGrid_num_y-1){ advected_index_y=smoke_simulation::physical_const::kGrid_num_y-2; advected_y=(advected_index_y); // advected_y=(advected_index_y+0.5); } double a0, a1, b0, b1; a0=advected_x-advected_index_x; a1=1.0-a0; b0=advected_y-advected_index_y; b1=1.0-b0; return a1*(b1*all_grid.substance_density[get_voxel_center_index(advected_index_x,advected_index_y)] +b0*all_grid.substance_density[get_voxel_center_index(advected_index_x,advected_index_y+1)]) +a0*(b1*all_grid.substance_density[get_voxel_center_index(advected_index_x+1,advected_index_y)] +b0*all_grid.substance_density[get_voxel_center_index(advected_index_x+1,advected_index_y+1)]); } */ //substance densityのlinear interpolation double linear_interpolation_substances_3D(double advected_x, double advected_y, double advected_z, Grid& all_grid){ int advected_index_x=(int)(advected_x); int advected_index_y=(int)(advected_y); int advected_index_z=(int)(advected_z); if(advected_index_x<1){ advected_index_x=1; advected_x=(advected_index_x); // advected_x=(advected_index_x+0.5); } if(advected_index_x>=smoke_simulation::physical_const::kGrid_num_x-1){ advected_index_x=smoke_simulation::physical_const::kGrid_num_x-2; advected_x=(advected_index_x); // advected_x=(advected_index_x+0.5); } if(advected_index_y<1){ advected_index_y=1; advected_y=(advected_index_y); // advected_y=(advected_index_y+0.5); } if(advected_index_y>=smoke_simulation::physical_const::kGrid_num_y-1){ advected_index_y=smoke_simulation::physical_const::kGrid_num_y-2; advected_y=(advected_index_y); // advected_y=(advected_index_y+0.5); } if(advected_index_z<1){ advected_index_z=1; advected_z=(advected_index_z); // advected_z=(advected_index_z+0.5); } if(advected_index_z>=smoke_simulation::physical_const::kGrid_num_z-1){ advected_index_z=smoke_simulation::physical_const::kGrid_num_z-2; advected_z=(advected_index_z); // advected_z=(advected_index_z+0.5); } double a0, a1, b0, b1, c0, c1; a0=advected_x-advected_index_x; a1=1.0-a0; b0=advected_y-advected_index_y; b1=1.0-b0; c0=advected_z-advected_index_z; c1=1.0-c0; return a1*b1*c1*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x,advected_index_y,advected_index_z)] +a1*b1*c0*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x,advected_index_y,advected_index_z+1)] +a1*b0*c1*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x,advected_index_y+1,advected_index_z)] +a1*b0*c0*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x,advected_index_y+1,advected_index_z+1)] +a0*b1*c1*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x+1,advected_index_y,advected_index_z)] +a0*b1*c0*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x+1,advected_index_y,advected_index_z+1)] +a0*b0*c1*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x+1,advected_index_y+1,advected_index_z)] +a0*b0*c0*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x+1,advected_index_y+1,advected_index_z+1)]; } //substance densityのmonotonic cubic interpolation double monotonic_cubic_substances_3D(double advected_x, double advected_y, double advected_z, Grid& all_grid){ int advected_index_x=(int)(advected_x); int advected_index_y=(int)(advected_y); int advected_index_z=(int)(advected_z); if(advected_index_x<1){ advected_index_x=1; advected_x=(double)(advected_index_x); // advected_x=(double)(advected_index_x+0.5); } if(advected_index_x>=smoke_simulation::physical_const::kGrid_num_x-1){ advected_index_x=smoke_simulation::physical_const::kGrid_num_x-2; advected_x=(double)(advected_index_x); // advected_x=(double)(advected_index_x+0.5); } if(advected_index_y<1){ advected_index_y=1; advected_y=(double)(advected_index_y); // advected_y=(double)(advected_index_y+0.5); } if(advected_index_y>=smoke_simulation::physical_const::kGrid_num_y-1){ advected_index_y=smoke_simulation::physical_const::kGrid_num_y-2; advected_y=(double)(advected_index_y); // advected_y=(double)(advected_index_y+0.5); } if(advected_index_z<1){ advected_index_z=1; advected_z=(double)(advected_index_z); // advected_z=(double)(advected_index_z+0.5); } if(advected_index_z>=smoke_simulation::physical_const::kGrid_num_z-1){ advected_index_z=smoke_simulation::physical_const::kGrid_num_z-2; advected_z=(double)(advected_index_z); // advected_z=(double)(advected_index_z+0.5); } //範囲外を参照しないようにする処置 if(advected_index_x<=1||advected_index_x>=smoke_simulation::physical_const::kGrid_num_x-2 ||advected_index_y<=1||advected_index_y>=smoke_simulation::physical_const::kGrid_num_y-2 ||advected_index_z<=1||advected_index_z>=smoke_simulation::physical_const::kGrid_num_z-2){ return linear_interpolation_substances_3D(advected_x, advected_y, advected_z, all_grid); } //monotonic cubic interpolation の処理 else{ double dk_0; double dk_1; double delta_k; double interpolated_substance_density0[4][4]; //z軸方向に関するinterpolation for(int i=0;i<4;i++){ for(int j=0;j<4;j++){ dk_0 = (all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1+j, advected_index_z+1)] -all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1+j, advected_index_z-1)])/2.0; dk_1 = (all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1+j, advected_index_z+2)] -all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1+j, advected_index_z)])/2.0; delta_k = all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1+j, advected_index_z+1)] -all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1+j, advected_index_z)]; double b0 = advected_y-advected_index_y; if(dk_0*dk_1<0.0||dk_0*delta_k<0.0||dk_1*delta_k<0.0){ interpolated_substance_density0[i][j]=(1.0-b0)*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1+j, advected_index_z)] +b0 *all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1+j, advected_index_z+1)]; } else{ //論文の式は間違っている。正しくはこっち interpolated_substance_density0[i][j]=(dk_0+dk_1-2*delta_k)*(b0*b0*b0)+(3*delta_k-2*dk_0-dk_1)*(b0*b0)+dk_0*b0 +all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1+j, advected_index_z)]; } } } double interpolated_substance_density1[4]; //y軸方向に関するinterpolation for(int i=0;i<4;i++){ dk_0 = (interpolated_substance_density0[i][2]/*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y+1)]*/ -interpolated_substance_density0[i][0]/*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y-1)]*/)/2.0; dk_1 = (interpolated_substance_density0[i][3]/*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y+2)]*/ -interpolated_substance_density0[i][1]/*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y)]*/)/2.0; delta_k = interpolated_substance_density0[i][2]/*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y+1)]*/ -interpolated_substance_density0[i][1]/*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y)]*/; double b0 = advected_y-advected_index_y; if(dk_0*dk_1<0.0||dk_0*delta_k<0.0||dk_1*delta_k<0.0){ interpolated_substance_density1[i]=(1.0-b0)*interpolated_substance_density0[i][1]/*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i,advected_index_y)]*/ +b0 *interpolated_substance_density0[i][2]/*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i,advected_index_y+1)]*/; } else{ //論文の式は間違っている。正しくはこっち interpolated_substance_density1[i]=(dk_0+dk_1-2*delta_k)*(b0*b0*b0)+(3*delta_k-2*dk_0-dk_1)*(b0*b0)+dk_0*b0 +interpolated_substance_density0[i][1]/*all_grid.substance_density[get_voxel_center_index_3D(advected_index_x-1+i, advected_index_y)]*/; } } //x軸方向に関するinterpolation dk_0=(interpolated_substance_density1[2]-interpolated_substance_density1[0])/2.0; dk_1=(interpolated_substance_density1[3]-interpolated_substance_density1[1])/2.0; delta_k=(interpolated_substance_density1[2]-interpolated_substance_density1[1]); double a0=advected_x-advected_index_x; //3つのスロープの符号が異なる場合 if(dk_0*dk_1<0.0||dk_0*delta_k<0.0||dk_1*delta_k<0.0){ return (1.0-a0)*interpolated_substance_density1[1] +a0 *interpolated_substance_density1[2]; } else{ //論文の式は間違っている。正しくはこっち return (dk_0+dk_1-2*delta_k)*(a0*a0*a0)+(3*delta_k-2*dk_0-dk_1)*(a0*a0)+dk_0*a0 +interpolated_substance_density1[1]; } } } //流体の速度場によってsubstanceが運ばれる項(流体のadvect項に相当) //速度場を時間 -dt だけバックトレースして計算する void transport_substances(Grid& all_grid){ double substance_density_after_advect[smoke_simulation::physical_const::kGrid_num_x][smoke_simulation::physical_const::kGrid_num_y][smoke_simulation::physical_const::kGrid_num_z]; for(int ix=0;ix<smoke_simulation::physical_const::kGrid_num_x;ix++){ for(int iy=0;iy<smoke_simulation::physical_const::kGrid_num_y;iy++){ for(int iz=0;iz<smoke_simulation::physical_const::kGrid_num_z;iz++){ double velocity_x=(all_grid.velocity_in_voxel_face_x[get_voxel_face_index_x_3D(ix,iy,iz)]+all_grid.velocity_in_voxel_face_x[get_voxel_face_index_x_3D(ix+1,iy,iz)])/2.0; double velocity_y=(all_grid.velocity_in_voxel_face_y[get_voxel_face_index_y_3D(ix,iy,iz)]+all_grid.velocity_in_voxel_face_y[get_voxel_face_index_y_3D(ix,iy+1,iz)])/2.0; double velocity_z=(all_grid.velocity_in_voxel_face_z[get_voxel_face_index_z_3D(ix,iy,iz)]+all_grid.velocity_in_voxel_face_z[get_voxel_face_index_z_3D(ix,iy,iz+1)])/2.0; //バックトレース先の座標 double advected_x=ix-((velocity_x*smoke_simulation::physical_const::kDt)/smoke_simulation::physical_const::kCell_length); double advected_y=iy-((velocity_y*smoke_simulation::physical_const::kDt)/smoke_simulation::physical_const::kCell_length); double advected_z=iz-((velocity_z*smoke_simulation::physical_const::kDt)/smoke_simulation::physical_const::kCell_length); //バックトレース先の座標のindex //バックトレース先の速度を補間する // substance_density_after_advect[ix][iy][iz]=linear_interpolation_substances_3D(advected_x, advected_y, advected_z, all_grid); substance_density_after_advect[ix][iy][iz]=monotonic_cubic_substances_3D(advected_x, advected_y, advected_z, all_grid); } } } //計算結果をコピー for(int ix=0;ix<smoke_simulation::physical_const::kGrid_num_x;ix++){ for(int iy=0;iy<smoke_simulation::physical_const::kGrid_num_y;iy++){ for(int iz=0;iz<smoke_simulation::physical_const::kGrid_num_z;iz++){ all_grid.substance_density[get_voxel_center_index_3D(ix,iy,iz)]=substance_density_after_advect[ix][iy][iz]; } } } } //上の4ステップをまとめただけの関数(substance densityの1時間ステップ分の更新に相当) void move_substances(Grid& all_grid){ // add_force_substances(all_grid); // diffuse_substances(all_grid); transport_substances(all_grid); // dissipate_substances(all_grid); } }
[ "73846721+nyhirasawa@users.noreply.github.com" ]
73846721+nyhirasawa@users.noreply.github.com
a5f4bac3a7a01127359774f9978f6801fcdc471c
540fd40630eea34d0dc21709037605fdb005925e
/MissListCtrl.h
5347197a239044da11ebe5b5d198381002aedb54
[]
no_license
leoxiaofei/missrenameaid
45c1c1de6381320613972980c8c1fb7c5f7d0ecb
1cb3b805fcd86036bf3e78f4418b92db945b0d7d
refs/heads/master
2021-01-18T14:38:30.262936
2012-01-17T12:45:16
2012-01-17T12:45:16
32,333,505
1
0
null
null
null
null
UTF-8
C++
false
false
1,135
h
#ifndef MISSLISTCTRL_H #define MISSLISTCTRL_H #include <wx/ListCtrl.h> #include "MissGloble.h" #include <tr1/memory> class MissModifyRuleBase; class MissListCtrl : public wxListCtrl { public: MissListCtrl(); MissListCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListCtrlNameStr); virtual ~MissListCtrl(); virtual wxString OnGetItemText(long item, long column) const; void AddDatas(const MissGloble::MissDir &data); void ClearData(); void SetRule(std::tr1::shared_ptr<MissModifyRuleBase> &pRule); //void SetDataSrc(const std::vector<MissGloble::MissDir>& data); const std::vector<MissGloble::MissDir>& GetDataSrc(); protected: private: std::vector<MissGloble::MissDir> m_vecDataSrc; std::tr1::shared_ptr<MissModifyRuleBase> m_pRule; }; #endif // MISSLISTCTRL_H
[ "leoxiaofei@gmail.com@ec585044-bb22-649e-369c-813aa5e86a79" ]
leoxiaofei@gmail.com@ec585044-bb22-649e-369c-813aa5e86a79
9b482455ea3060edadb7de398eb66ee3eeea1a63
674bcb4bf88b5359ea9710c864481af61f5867d3
/src/external/bgfx/3rdparty/spirv-tools/source/opt/fold_spec_constant_op_and_composite_pass.h
361d3cacb45d9cda15aad76e203ad5bb8aa1fcb9
[ "BSD-2-Clause", "MIT", "LicenseRef-scancode-free-unknown", "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
HippoPlayer/HippoPlayer
a1da46743507c866c5e614f36122348794229b05
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
refs/heads/master
2023-04-19T13:05:36.210552
2021-05-08T06:48:18
2021-05-08T06:48:18
2,195,999
44
5
Apache-2.0
2022-10-19T15:45:21
2011-08-12T08:12:25
C
UTF-8
C++
false
false
3,456
h
// Copyright (c) 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #ifndef SOURCE_OPT_FOLD_SPEC_CONSTANT_OP_AND_COMPOSITE_PASS_H_ #define SOURCE_OPT_FOLD_SPEC_CONSTANT_OP_AND_COMPOSITE_PASS_H_ #include <memory> #include <unordered_map> #include <vector> #include "source/opt/constants.h" #include "source/opt/def_use_manager.h" #include "source/opt/ir_context.h" #include "source/opt/module.h" #include "source/opt/pass.h" #include "source/opt/type_manager.h" namespace spvtools { namespace opt { // See optimizer.hpp for documentation. class FoldSpecConstantOpAndCompositePass : public Pass { public: FoldSpecConstantOpAndCompositePass() = default; const char* name() const override { return "fold-spec-const-op-composite"; } // Iterates through the types-constants-globals section of the given module, // finds the Spec Constants defined with OpSpecConstantOp and // OpSpecConstantComposite instructions. If the result value of those spec // constants can be folded, fold them to their corresponding normal constants. Status Process() override; private: // Processes the OpSpecConstantOp instruction pointed by the given // instruction iterator, folds it to normal constants if possible. Returns // true if the spec constant is folded to normal constants. New instructions // will be inserted before the OpSpecConstantOp instruction pointed by the // instruction iterator. The instruction iterator, which is passed by // pointer, will still point to the original OpSpecConstantOp instruction. If // folding is done successfully, the original OpSpecConstantOp instruction // will be changed to Nop and new folded instruction will be inserted before // it. bool ProcessOpSpecConstantOp(Module::inst_iterator* pos); // Returns the result of folding the OpSpecConstantOp instruction // |inst_iter_ptr| using the instruction folder. Instruction* FoldWithInstructionFolder(Module::inst_iterator* inst_iter_ptr); // Try to fold the OpSpecConstantOp VectorShuffle instruction pointed by the // given instruction iterator to a normal constant defining instruction. // Returns the pointer to the new constant defining instruction if succeeded. // Otherwise return nullptr. Instruction* DoVectorShuffle(Module::inst_iterator* inst_iter_ptr); // Try to fold the OpSpecConstantOp <component wise operations> instruction // pointed by the given instruction iterator to a normal constant defining // instruction. Returns the pointer to the new constant defining instruction // if succeeded, otherwise return nullptr. Instruction* DoComponentWiseOperation(Module::inst_iterator* inst_iter_ptr); // Returns the |element|'th subtype of |type|. // // |type| must be a composite type. uint32_t GetTypeComponent(uint32_t type, uint32_t element) const; }; } // namespace opt } // namespace spvtools #endif // SOURCE_OPT_FOLD_SPEC_CONSTANT_OP_AND_COMPOSITE_PASS_H_
[ "Collin" ]
Collin
2bb94a9a040c8e858763119ff1b2664e0d707269
91d6c82cf7e7c86f1770786033f91edc039535fa
/PlayBox/dev/prj/PlayBox/PlayBox.h
c8eea9b2bfe3846a5fa06d5ce9fb8012aa0b6e54
[]
no_license
linjianbjfu/PlayBox
147c23ab304e9cc94d7b5a430c97fdc847e1819d
83672444459b21d91ad68a9e6c1b4b9c04b18da8
refs/heads/master
2020-05-19T11:03:33.892941
2013-03-25T16:01:28
2013-03-25T16:01:28
null
0
0
null
null
null
null
GB18030
C++
false
false
506
h
#pragma once #ifndef __AFXWIN_H__ #error 在包含用于 PCH 的此文件之前包含“stdafx.h” #endif #include "resource.h" // 主符号 #define WM_PLAYBOX_PROTOCOL WM_USER + 100 class CPlayBoxApp : public CWinApp { public: CPlayBoxApp(); HANDLE m_hMutexhandle; BOOL m_bHasGdiPlus; virtual BOOL InitInstance(); int GetProcessNum(); int KillOtherInstance(); void SendCmdLineMsg(HWND hKwMusic); CString m_strCmdLine; DECLARE_MESSAGE_MAP() }; extern CPlayBoxApp theApp;
[ "chaohua.gao@qq.com" ]
chaohua.gao@qq.com
faeb42fe1f35dd864366e5d586f3e4e91d0661c4
cf40136c54e150ac642c88422225b7b0e83bf18e
/Stack.h
995d8116e5536259b960573ce4d2345e58ae73c0
[]
no_license
It-could-happen/comsil_5_github
a175187a651aeb886542515dc936757e5a67142c
be1b14fc212c408086f60c4170403b4a97bd849d
refs/heads/master
2023-03-27T13:59:32.510888
2021-04-07T13:34:22
2021-04-07T13:34:22
353,246,067
0
0
null
null
null
null
UTF-8
C++
false
false
730
h
#include "LinkedList.h" //1. 템플릿 클래스로 확장해야함 //2. Stack형식으로 Delete 함수 재정의해야함 //주의: first, current_size는 class의 멤버 변수이기 때문에 this 포인터를 사용하여 가져와야함 //LinkedList class를 상속받음 template <typename T> class Stack : public LinkedList<T>{ public: bool Delete (T &element){ //first가 0이면 false반환 if(this->first==0){ return false; } // LinkedList와 달리 Stack은 current가 가리키는 곳을 삭제 Node<T> *current = this->first; this->first = current->link; element = current->data; delete current; //삭제 this->current_size--; //사이즈를 1 줄여줌 return true; } };
[ "pray9532@gmail.com" ]
pray9532@gmail.com
0154932edc4b15a254e6bd3b736d606a4aaf739d
feb6627362e1d611b51f3e923427a2d3326b6607
/zha/xiapeng.cpp
7e42e472ac3cb450dd88e934a8aba52c6dac4857
[]
no_license
No1CharlesWu/C
98d9f94078a5687bf604a911cdc792af46b68290
7e0636373e761f1ba265d8c9f0653f669e024324
refs/heads/master
2021-06-03T06:28:20.908897
2021-01-03T15:16:39
2021-01-03T15:16:39
147,267,520
0
0
null
null
null
null
UTF-8
C++
false
false
1,085
cpp
#include <iostream> #include <vector> #include <stack> #include <unordered_map> #include <algorithm> #include <string> using namespace std; // // Definition for singly-linked list. // struct ListNode // { // int val; // ListNode *next; // ListNode(int x) : val(x), next(NULL) {} // }; class Solution { public: long long mytest() { long long n, k; cin >> n >> k; string str; cin >> str; vector<long long> hash(26); for (int i = 0; i < str.size(); i++) { hash[str[i] - 'A']++; } sort(hash.begin(), hash.end()); long long res = 0; for (int i = hash.size() - 1; i >= 0; i--) { if (hash[i] >= k) { res += k * k; break; } else { res += hash[i] * hash[i]; k -= hash[i]; } } return res; } }; int main() { Solution s; return s.mytest(); }
[ "no1charleswu@163.com" ]
no1charleswu@163.com
d56c6ca0bacfcbc613f5009bc9f5cb6388923905
19fb412f15e6aa3c8211560ccf333bbf7a2d56d9
/system_monitor.cc
4935a8b7e1b3d878beff05965c61acea1be196e4
[]
no_license
Artur21/kismet
4eb56e854179788eb4fdd5ae38012ef1aa2e8b5d
acf2421df70887999c4592f8a1b9865096b30ce4
refs/heads/master
2021-07-17T12:47:36.338559
2017-10-24T21:14:26
2017-10-24T21:14:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,328
cc
/* This file is part of Kismet Kismet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Kismet is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Kismet; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "config.h" #include <memory> #include <fstream> #include <unistd.h> #include "globalregistry.h" #include "util.h" #include "battery.h" #include "entrytracker.h" #include "system_monitor.h" #include "msgpack_adapter.h" #include "json_adapter.h" Systemmonitor::Systemmonitor(GlobalRegistry *in_globalreg) : tracker_component(in_globalreg, 0), Kis_Net_Httpd_CPPStream_Handler(in_globalreg) { // Initialize as recursive to allow multiple locks in a single thread pthread_mutexattr_t mutexattr; pthread_mutexattr_init(&mutexattr); pthread_mutexattr_settype(&mutexattr, PTHREAD_MUTEX_RECURSIVE); pthread_mutex_init(&monitor_mutex, &mutexattr); globalreg = in_globalreg; devicetracker = static_pointer_cast<Devicetracker>(globalreg->FetchGlobal("DEVICE_TRACKER")); register_fields(); reserve_fields(NULL); #ifdef SYS_LINUX // Get the bytes per page mem_per_page = sysconf(_SC_PAGESIZE); #endif struct timeval trigger_tm; trigger_tm.tv_sec = globalreg->timestamp.tv_sec + 1; trigger_tm.tv_usec = 0; timer_id = globalreg->timetracker->RegisterTimer(0, &trigger_tm, 0, this); // Link the RRD out of the devicetracker add_map(devicetracker->get_packets_rrd()); } Systemmonitor::~Systemmonitor() { pthread_mutex_lock(&monitor_mutex); globalreg->RemoveGlobal("SYSTEM_MONITOR"); globalreg->timetracker->RemoveTimer(timer_id); pthread_mutex_destroy(&monitor_mutex); } void Systemmonitor::register_fields() { battery_perc_id = RegisterField("kismet.system.battery.percentage", TrackerInt32, "remaining battery percentage", &battery_perc); battery_charging_id = RegisterField("kismet.system.battery.charging", TrackerString, "battery charging state", &battery_charging); battery_ac_id = RegisterField("kismet.system.battery.ac", TrackerUInt8, "on AC power", &battery_ac); battery_remaining_id = RegisterField("kismet.system.battery.remaining", TrackerUInt32, "battery remaining in seconds", &battery_remaining); timestamp_sec_id = RegisterField("kismet.system.timestamp.sec", TrackerUInt64, "system timestamp, seconds", &timestamp_sec); timestamp_usec_id = RegisterField("kismet.system.timestamp.usec", TrackerUInt64, "system timestamp, usec", &timestamp_usec); mem_id = RegisterField("kismet.system.memory.rss", TrackerUInt64, "memory RSS in kbytes", &memory); devices_id = RegisterField("kismet.system.devices.count", TrackerUInt64, "number of devices in devicetracker", &devices); shared_ptr<kis_tracked_rrd<> > rrd_builder(new kis_tracked_rrd<>(globalreg, 0)); mem_rrd_id = RegisterComplexField("kismet.system.memory.rrd", rrd_builder, "memory used RRD"); devices_rrd_id = RegisterComplexField("kismet.system.devices.rrd", rrd_builder, "device count RRD"); } void Systemmonitor::reserve_fields(SharedTrackerElement e) { tracker_component::reserve_fields(e); if (e != NULL) { memory_rrd.reset(new kis_tracked_rrd<>(globalreg, mem_rrd_id, e->get_map_value(mem_rrd_id))); devices_rrd.reset(new kis_tracked_rrd<>(globalreg, devices_rrd_id, e->get_map_value(devices_rrd_id))); } else { memory_rrd.reset(new kis_tracked_rrd<>(globalreg, mem_rrd_id)); devices_rrd.reset(new kis_tracked_rrd<>(globalreg, devices_rrd_id)); } add_map(memory_rrd); add_map(devices_rrd); } int Systemmonitor::timetracker_event(int eventid) { local_locker lock(&monitor_mutex); int num_devices = devicetracker->FetchNumDevices(); // Grab the devices set_devices(num_devices); devices_rrd->add_sample(num_devices, globalreg->timestamp.tv_sec); #ifdef SYS_LINUX // Grab the memory from /proc std::string procline; std::ifstream procfile; procfile.open("/proc/self/stat"); if (procfile.good()) { std::getline(procfile, procline); procfile.close(); // Find the last paren because status is 'pid (name) stuff'. // Memory is nominally field 24, so we find the last paren, add a // space, and split the rest size_t paren = procline.find_last_of(")"); if (paren != string::npos) { vector<string> toks = StrTokenize(procline.substr(paren + 1, procline.length()), " "); if (toks.size() > 22) { unsigned long int m; if (sscanf(toks[22].c_str(), "%lu", &m) == 1) { m *= mem_per_page; m /= 1024; set_memory(m); memory_rrd->add_sample(m, globalreg->timestamp.tv_sec); } } } } #endif // Reschedule struct timeval trigger_tm; trigger_tm.tv_sec = globalreg->timestamp.tv_sec + 1; trigger_tm.tv_usec = 0; timer_id = globalreg->timetracker->RegisterTimer(0, &trigger_tm, 0, this); return 1; } void Systemmonitor::pre_serialize() { kis_battery_info batinfo; Fetch_Battery_Info(&batinfo); set_battery_perc(batinfo.percentage); if (batinfo.ac && batinfo.charging) { set_battery_charging("charging"); } else if (batinfo.ac && !batinfo.charging) { set_battery_charging("charged"); } else if (!batinfo.ac) { set_battery_charging("discharging"); } set_battery_ac(batinfo.ac); set_battery_remaining(batinfo.remaining_sec); struct timeval now; gettimeofday(&now, NULL); set_timestamp_sec(now.tv_sec); set_timestamp_usec(now.tv_usec); } bool Systemmonitor::Httpd_VerifyPath(const char *path, const char *method) { if (strcmp(method, "GET") != 0) return false; std::string stripped = Httpd_StripSuffix(path); if (!Httpd_CanSerialize(path)) return false; if (stripped == "/system/status") return true; if (stripped == "/system/timestamp") return true; return false; } void Systemmonitor::Httpd_CreateStreamResponse( Kis_Net_Httpd *httpd __attribute__((unused)), Kis_Net_Httpd_Connection *connection __attribute__((unused)), const char *path, const char *method, const char *upload_data __attribute__((unused)), size_t *upload_data_size __attribute__((unused)), std::stringstream &stream) { local_locker lock(&monitor_mutex); if (strcmp(method, "GET") != 0) { return; } std::string stripped = Httpd_StripSuffix(path); if (!Httpd_CanSerialize(path)) return; shared_ptr<EntryTracker> entrytracker = Globalreg::FetchGlobalAs<EntryTracker>(globalreg, "ENTRY_TRACKER"); if (stripped == "/system/status") { entrytracker->Serialize(httpd->GetSuffix(path), stream, Globalreg::FetchGlobalAs<Systemmonitor>(globalreg, "SYSTEM_MONITOR"), NULL); return; } else if (stripped == "/system/timestamp") { SharedTrackerElement tse(new TrackerElement(TrackerMap, 0)); tse->add_map(timestamp_sec); tse->add_map(timestamp_usec); struct timeval now; gettimeofday(&now, NULL); set_timestamp_sec(now.tv_sec); set_timestamp_usec(now.tv_usec); entrytracker->Serialize(httpd->GetSuffix(path), stream, tse, NULL); return; } else { return; } }
[ "dragorn@kismetwireless.net" ]
dragorn@kismetwireless.net
c9367b79d947d6c9d76374f9b50ca3db232ca128
761303811ecb2948562f28de3bdfa0f4184e8dbf
/battle.cpp
9b391334a2b3dc8626495d5707385ceb0884041f
[]
no_license
AaronThomsen/dungeon-quest
23857c0406093285a2f265ccc7512842379f5799
2fc00e5de05a5453b9c61644b27ecba2709a8b84
refs/heads/master
2020-03-29T20:29:39.072474
2018-09-25T20:43:34
2018-09-25T20:43:34
150,314,915
0
0
null
null
null
null
UTF-8
C++
false
false
5,270
cpp
#include "battle.h" Monster* Battle::getRandMonster() { Monster* m; /* Floor specific monster generation*/ switch (floorNumber/ 4 + 1) { case 1: switch (rand() % 3 + 1) { case 1: m = new AngrySpider; break; case 2: m = new Goblin; break; case 3: m = new GreenSlime; break; default: m = new AngrySpider; } m->setGold(rand() % 100 + 50); break; case 2: switch (rand() % 4 + 1) { case 1: m = new SkeletonSoldier; break; case 2: m = new Chimera; break; case 3: m = new Golem; break; case 4: m = new Berserker; break; default: m = new SkeletonSoldier; } m->setGold(rand() % 200 + 75); break; case 3: switch (rand() % 3 + 1) { case 1: m = new Necromancer; break; case 2: m = new BulkyOrc; break; case 3: m = new SkeletonKing; break; default: m = new Necromancer; } m->setGold(rand() % 300 + 100); break; default: m = new AngrySpider; } return m; } Battle::Battle(Character& ch, Inventory& i, int f) : Event(ch, i, "<B>"), isDead(false), floorNumber(f) { monster = getRandMonster(); } Battle::~Battle() { delete monster; } void Battle::performEvent() { if (!isDead) { int maxHP = monster->getHP(); std::cout << "You ran into a " << monster->getMonsterName() << "!\n" << std::endl; while (character.getCurrHP() > 0 && monster->getHP() > 0) { std::cout << "Enemy HP: " << monster->getHP(); if (monster->getStatus() >= 0) { std::cout << " Enemy Status: " << monster->getStrStatus(); } std::cout << " Your HP: " << character.getCurrHP() << "/" << character.getHP(); std::cout << " Your Mana: " << character.getCurrMana() << "/" << character.getMana() << std::endl; std::string userInput; int count = 0; do { if (count > 0) { std::cout << "Please enter valid input\n\n"; } std::cout << "--COMMANDS--\n"; std::cout << "Attack: 'enter key'\n"; std::cout << "Use special ability: 's'\n"; std::cout << "Run Away: 'run'\n"; std::cout << "Open Inventory: 'o'\n"; std::cout << "Input which command you want: "; std::getline(std::cin, userInput); std::cout << "\n"; std::transform(userInput.begin(), userInput.end(), userInput.begin(), ::tolower); count++; } while (userInput != "run" && userInput != "o" && userInput != "s" && userInput != ""); if (userInput == "run") { isVisited = true; return; } else if (userInput == "o") { if (i.useInventory()) { //If the user used an item if (monster->getHP() > 0) { monsterAttack(maxHP); } } } else if (userInput == "s") { int n, dmg; std::string input; character.displayMoves(); bool validMove; do { validMove = true; std::cout << "Which move would you like to use? "; std::getline(std::cin, input); if (input.length() != 1) { validMove = false; std::cout << "Invalid input! "; continue; } try { n = stoi(input); dmg = character.useSpecial(n, monster); } catch (const std::invalid_argument& e) { std::cout << "Invalid number! "; validMove = false; } catch (const std::out_of_range& e) { std::cout << "Invalid number! "; validMove = false; } } while (!validMove); if (dmg != 0) { //0 means not enough mana monster->takeDamage(dmg); if (monster->getHP() > 0) { monsterAttack(maxHP); } } } else { std::cout << "\nYou attack the " << monster->getMonsterName() << std::endl; monster->takeDamage(character.attack()); if (monster->getHP() > 0) { monsterAttack(maxHP); } } std::cout << std::endl; } isVisited = true; if (monster->getHP() <= 0) { isDead = true; std::cout << "You successfully killed the " << monster->getMonsterName() << "!" << std::endl; std::cout << "You gained " << monster->getGold() << " gold" << std::endl; character.addMoney(monster->getGold()); } std::cout << std::endl; } } void Battle::monsterAttack(int maxHP) { int monsterAtk = monster->attack(); if (monsterAtk < 0) { //I set it up so neg damage means special attack std::cout << "The " << monster->getMonsterName() << " used " << monster->getAbilityName() << "!" << std::endl; monsterAtk *= -1; } else if (monsterAtk > 0) { //regular attack std::cout << "The " << monster->getMonsterName() << " attacks!" << std::endl; } //If monsterAtk == 0, then monster is asleep or paralyzed & didn't attack if (!character.takeDamage(monsterAtk)) { throw std::string("You were killed by the " + monster->getMonsterName() + "!\nGAME OVER"); } if (monster->getStatus() == 0) { //if monster is poisoned int dmg = static_cast<int>(maxHP * .1); monster->takePoisonDamage(dmg); std::cout << monster->getMonsterName() << " took " << dmg << " damage due to poison!" << std::endl; } } std::string Battle::getSymbol() const { return isDead ? " ." : (isVisited ? "<B>" : notVisitedSymbol); //show '.' if not dead, and <B> if otherwise }
[ "aarontthomsen@gmail.com" ]
aarontthomsen@gmail.com
92d0979e62badc16ac64309e4453749e03eabc15
5011cd044c62edf3adec1cb497ddb0e3739faee6
/src/flag.cpp
608d9b4dc20bc9ad232ea1ae9029d10cb66f6f7e
[]
no_license
Sabaniki/PRC_2020-Arduino
c2fe1b24182be06f30f8bbac2336e2c71887f5bc
ddff19e07c6e5cac9ce65b0aac3c1a0b00eb66aa
refs/heads/master
2020-12-27T13:26:17.856339
2020-02-03T08:31:15
2020-02-03T08:31:15
237,918,053
0
0
null
null
null
null
UTF-8
C++
false
false
3,498
cpp
#include"flag.h" #include"Pline.h" #include"event.h" #include"motor.h" #include"sensor.h" #include"pin.h" #include<Arduino.h> #include"str.h" int FlagEvent(int flag){ if((someBlack() >= 6) && (flag == 0)){//スタート地点通過 delay(1000); return 1; } if((someBlack() >= 6) && (flag == 1)){//A地点 event1(); struct motion order; String str; int L,R; if(!Serial){ Serial.begin(9600); } while(1){ //通信 if(Serial.available() > 0){ str = Serial.readStringUntil('\n'); order = getfromstr(str); MOVE(order.l,order.r); if(order.act == 'E'){ break; } } } delay(1000); return 2; } if((someBlack() >= 6) && (flag == 2)){//B地点 event2(); delay(1000); return 3; } if((someBlack() >= 4) && (isBlack(pin_SensorL4) == true) && (isBlack(pin_SensorR4) == false) && (flag == 3)){//C地点 GO(s); delay(10); GO(f); delay(500); MOVE(-255,255); while(someBlack() <= 0){} delay(1000); return 4; } if((someBlack() >= 6) && (flag == 4)){//T字路 event3(); delay(1000); return 5; } if((someBlack() >= 6) && (flag == 5)){//C'地点 GO(s); delay(10); GO(f); delay(500); MOVE(-255,255); while(someBlack() <= 0){} } if((someBlack() >= 6) && (flag = 5)){//A'地点 event4(); delay(1000); return 6; } return flag; } void FlagLight(int flag){ switch(flag){ case 0: digitalWrite(pin_LED_SW0,HIGH); digitalWrite(pin_LED_SW1,LOW); digitalWrite(pin_LED_SW2,LOW); digitalWrite(pin_LED_SW3,LOW); digitalWrite(pin_LED_SW4,LOW); digitalWrite(pin_LED_SW5,LOW); digitalWrite(pin_LED_SW6,LOW); break; case 1: digitalWrite(pin_LED_SW0,LOW); digitalWrite(pin_LED_SW1,HIGH); digitalWrite(pin_LED_SW2,LOW); digitalWrite(pin_LED_SW3,LOW); digitalWrite(pin_LED_SW4,LOW); digitalWrite(pin_LED_SW5,LOW); digitalWrite(pin_LED_SW6,LOW); break; case 2: digitalWrite(pin_LED_SW0,LOW); digitalWrite(pin_LED_SW1,LOW); digitalWrite(pin_LED_SW2,HIGH); digitalWrite(pin_LED_SW3,LOW); digitalWrite(pin_LED_SW4,LOW); digitalWrite(pin_LED_SW5,LOW); digitalWrite(pin_LED_SW6,LOW); break; case 3: digitalWrite(pin_LED_SW0,LOW); digitalWrite(pin_LED_SW1,LOW); digitalWrite(pin_LED_SW2,LOW); digitalWrite(pin_LED_SW3,HIGH); digitalWrite(pin_LED_SW4,LOW); digitalWrite(pin_LED_SW5,LOW); digitalWrite(pin_LED_SW6,LOW); break; case 4: digitalWrite(pin_LED_SW0,LOW); digitalWrite(pin_LED_SW1,LOW); digitalWrite(pin_LED_SW2,LOW); digitalWrite(pin_LED_SW3,LOW); digitalWrite(pin_LED_SW4,HIGH); digitalWrite(pin_LED_SW5,LOW); digitalWrite(pin_LED_SW6,LOW); break; case 5: digitalWrite(pin_LED_SW0,LOW); digitalWrite(pin_LED_SW1,LOW); digitalWrite(pin_LED_SW2,LOW); digitalWrite(pin_LED_SW3,LOW); digitalWrite(pin_LED_SW4,LOW); digitalWrite(pin_LED_SW5,HIGH); digitalWrite(pin_LED_SW6,LOW); break; case 6: digitalWrite(pin_LED_SW0,LOW); digitalWrite(pin_LED_SW1,LOW); digitalWrite(pin_LED_SW2,LOW); digitalWrite(pin_LED_SW3,LOW); digitalWrite(pin_LED_SW4,LOW); digitalWrite(pin_LED_SW5,LOW); digitalWrite(pin_LED_SW6,HIGH); break; } }
[ "sawada13@mccc.jp" ]
sawada13@mccc.jp
9684092da1020119f50b51b73ce5bb754d473ae3
33fc99451c739909e43690a9d90312dbbf524b0b
/LDLL/LDLL.cpp
b6a9e2af02df696059a136842b2fa001cc64e94f
[]
no_license
wataru-chocola/LDLL
b6ab83e5e7828672864583b3bfb35d5a1e3579ff
ce62145c8c71f5305dff431c169a326e819cab9e
refs/heads/master
2021-04-15T04:31:45.165613
2018-03-23T07:00:33
2018-03-23T07:00:33
126,444,142
0
0
null
null
null
null
UTF-8
C++
false
false
443
cpp
// LDLL.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "cstdio" #include <iostream> #include <windows.h> int main(int argc, char **argv) { if (argc < 2) { std::puts("Must specify argument (target dll path)"); return -1; } const char *dllname = argv[1]; HMODULE dll = LoadLibraryA(dllname); if (dll == NULL) { std::cout << "Failed to load " << dllname << std::endl; } return 0; }
[ "wataru.chocola@gmail.com" ]
wataru.chocola@gmail.com
75d0735b7c460cec1e7aa3c47ab3a228ac700743
20b49a6ef1fa417d67abef2d29a598c9e41c478e
/CodeForces/Contests/CF Edu Round 76/D.cpp
2541914894a8747eac6782407f69fcf1cad7893c
[]
no_license
switchpiggy/Competitive_Programming
956dac4a71fdf65de2959dd142a2032e2f0710e1
beaaae4ece70889b0af1494d68c630a6e053558a
refs/heads/master
2023-04-15T19:13:12.348433
2021-04-04T06:12:29
2021-04-04T06:12:29
290,905,106
1
3
null
2020-10-05T20:16:53
2020-08-27T23:38:48
C++
UTF-8
C++
false
false
1,549
cpp
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef long double ld; #define benq queue #define pbenq priority_queue #define all(x) x.begin(), x.end() #define sz(x) (ll)x.size() #define m1(x) memset(x, 1, sizeof(x)) #define m0(x) memset(x, 0, sizeof(x)) #define inf(x) memset(x, 0x3f, sizeof(x)) #define MOD 1000000007 #define INF 0x3f3f3f3f3f3f3f3f #define PI 3.14159265358979323846264338 #define flout cout << fixed << setprecision(12) ll t, n, a[200007], m; vector<pair<ll, ll>> v; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> t; while(t--) { v.clear(); cin >> n; for(ll i = 0; i < n; ++i) cin >> a[i]; cin >> m; for(ll i = 0; i < m; ++i) { ll x, y; cin >> x >> y; v.push_back({x, y}); } sort(all(v)); for(ll i = sz(v) - 2; i >= 0; --i) v[i].second = max(v[i].second, v[i + 1].second); ll i = 0, ans = 0; while(i < n) { ll cur = 0, maxn = 0; while(i + cur < n) { maxn = max(maxn, a[i + cur]); ll k = lower_bound(all(v), make_pair(maxn, -1ll)) - v.begin(); if(k == m || v[k].second < cur + 1) break; cur++; } if(!cur) { ans = -1; break; } ans++; i += cur; //cout << cur << ' '; } cout << ans << '\n'; } return 0; }
[ "switchpiggy@users.noreply.github.com" ]
switchpiggy@users.noreply.github.com
fcf020cc08081256db810ce155ea3cd4a1ed314a
1e5b77c4d23a9219921b2ece1438881da3ebe0fb
/GR/AHFinder/gr/expansion_Jacobian.cc
04e00b55c47c6c3260a0a214e6735036f06f6f39
[]
no_license
hlim88/Dendro-5.01
9d245da7c5f39422849257b06ff5e0e16ac0be2d
b269bdcee8f9e08ad5f8761ea9132c2283c5b512
refs/heads/master
2023-06-09T03:20:31.210932
2023-06-02T13:56:31
2023-06-02T13:56:31
218,606,618
0
0
null
2019-10-30T19:29:50
2019-10-30T19:29:50
null
UTF-8
C++
false
false
33,898
cc
// expansion_Jacobian.cc -- evaluate Jacobian matrix of LHS function Theta(h) // $Header$ // // <<<prototypes for functions local to this file>>> // // expansion_Jacobian - top-level driver to compute the Jacobian /// /// expansion_Jacobian_NP - compute the Jacobian by numerical perturbation /// expansion_Jacobian_partial_SD - compute partial-deriv terms: symbolic diff /// add_ghost_zone_Jacobian - add ghost zone dependencies to Jacobian /// expansion_Jacobian_dr_FD - sum d/dr terms (compute via FD) into Jacobian /// #include <stdio.h> #include <assert.h> #include <math.h> #include "util_Table.h" #include "cctk.h" #include "cctk_Arguments.h" #include "config.h" #include "stdc.h" #include "../jtutil/util.hh" #include "../jtutil/array.hh" #include "../jtutil/cpm_map.hh" #include "../jtutil/linear_map.hh" using jtutil::error_exit; #include "../patch/coords.hh" #include "../patch/grid.hh" #include "../patch/fd_grid.hh" #include "../patch/patch.hh" #include "../patch/patch_edge.hh" #include "../patch/patch_interp.hh" #include "../patch/ghost_zone.hh" #include "../patch/patch_system.hh" #include "../elliptic/Jacobian.hh" #include "../gr/gfns.hh" #include "../gr/gr.hh" // all the code in this file is inside this namespace namespace AHFinderDirect { //****************************************************************************** // // ***** prototypes for functions local to this file ***** // namespace { enum expansion_status expansion_Jacobian_NP (patch_system& ps, Jacobian& Jac, const struct what_to_compute& comput_info, const struct cactus_grid_info& cgi, const struct geometry_info& gi, const struct Jacobian_info& Jacobian_info, const struct error_info& error_info, bool initial_flag, bool print_msg_flag); void expansion_Jacobian_partial_SD(patch_system& ps, Jacobian& Jac, const struct cactus_grid_info& cgi, const struct geometry_info& gi, const struct Jacobian_info& Jacobian_info, bool print_msg_flag); void add_ghost_zone_Jacobian(const patch_system& ps, Jacobian& Jac, fp mol, const patch& xp, const ghost_zone& xmgz, int x_II, int xm_irho, int xm_isigma); enum expansion_status expansion_Jacobian_dr_FD (patch_system* ps_ptr, Jacobian* Jac_ptr, const struct what_to_compute& compute_info, const struct cactus_grid_info& cgi, const struct geometry_info& gi, const struct Jacobian_info& Jacobian_info, const struct error_info& error_info, bool initial_flag, bool print_msg_flag); } //****************************************************************************** // // If ps_ptr != NULL and Jac_ptr != NULL, this function computes the // Jacobian matrix J[Theta(h)] of the expansion Theta(h). We assume // that Theta(h) has already been computed. // // If ps_ptr == NULL and Jac_ptr == NULL, this function does a dummy // computation, in which only any expansion() (and hence geometry // interpolator) calls are done, these with the number of interpolation // points set to 0 and all the output array pointers set to NULL. // // It's illegal for one but not both of ps_ptr and Jac_ptr to be NULL. // // Only some values of Jacobian_info.Jacobian_compute_method support // the dummy computation. // // Arguments: // ps_ptr --> The patch system, or == NULL to do (only) a dummy computation. // Jac_ptr --> The Jacobian, or == NULL to do (only) a dummy computation. // add_to_expansion = A real number to add to the expansion. // // Results: // This function returns a status code indicating whether the computation // succeeded or failed, and if the latter, what caused the failure. // enum expansion_status expansion_Jacobian(patch_system* ps_ptr, Jacobian* Jac_ptr, const struct what_to_compute& compute_info, const struct cactus_grid_info& cgi, const struct geometry_info& gi, const struct Jacobian_info& Jacobian_info, const struct error_info& error_info, bool initial_flag, bool print_msg_flag /* = false */) { const bool active_flag = (ps_ptr != NULL) && (Jac_ptr != NULL); enum expansion_status status; switch (Jacobian_info.Jacobian_compute_method) { case Jacobian__numerical_perturbation: if (active_flag) then { status = expansion_Jacobian_NP(*ps_ptr, *Jac_ptr, compute_info, cgi, gi, Jacobian_info, error_info, initial_flag, print_msg_flag); if (status != expansion_success) then return status; // *** ERROR RETURN *** break; } else error_exit(ERROR_EXIT, "***** expansion_Jacobian():\n" " dummy computation isn't supported for\n" " Jacobian_compute_method = \"numerical perturbation\"!\n"); /*NOTREACHED*/ case Jacobian__symbolic_diff: error_exit(ERROR_EXIT, "***** expansion_Jacobian():\n" " Jacobian_compute_method == \"symbolic differentiation\"\n" " isn't implemented (yet)!\n"); /*NOTREACHED*/ case Jacobian__symbolic_diff_with_FD_dr: if (active_flag) then expansion_Jacobian_partial_SD(*ps_ptr, *Jac_ptr, cgi, gi, Jacobian_info, print_msg_flag); // this function looks at ps_ptr and Jac_ptr (non-NULL vs NULL) // to choose a normal vs dummy computation { status = expansion_Jacobian_dr_FD(ps_ptr, Jac_ptr, compute_info, cgi, gi, Jacobian_info, error_info, initial_flag, print_msg_flag); if (status != expansion_success) then return status; // *** ERROR RETURN *** } break; default: error_exit(PANIC_EXIT, "***** expansion_Jacobian():\n" " unknown Jacobian_info.Jacobian_compute_method=(int)%d!\n" " (this should never happen!)\n" , int(Jacobian_info.Jacobian_compute_method)); /*NOTREACHED*/ } if (active_flag) { switch (compute_info.surface_modification) { case modification_none: // do nothing break; case modification_radius: { // multiply with the coordinate radius // H_{(r)i} = H_i h_i // J_{(r)ij} = J_{ij} h_i + H_i \delta_{ij} const int np = ps_ptr->N_grid_points(); for (int pn = 0; pn < ps_ptr->N_patches(); ++pn) { patch& p = ps_ptr->ith_patch(pn); for (int irho = p.min_irho(); irho <= p.max_irho(); ++irho) { for (int isigma = p.min_isigma(); isigma <= p.max_isigma(); ++isigma) { const int i = ps_ptr->gpn_of_patch_irho_isigma(p, irho,isigma); const fp radius = p.ghosted_gridfn(gfns::gfn__h, irho, isigma); for (int j=0; j<np; ++j) { if (Jac_ptr->is_explicitly_stored (i, j)) { const fp val = Jac_ptr->element (i, j); Jac_ptr->set_element (i, j, val * radius); } } const fp Theta = (p.gridfn(gfns::gfn__Theta, irho, isigma) + compute_info.desired_value) / radius; Jac_ptr->sum_into_element (i, i, Theta); } } } break; } case modification_radius2: { // multiply with the square of the coordinate radius // H_{(r2)i} = H_i h_i^2 // J_{(r2)ij} = J_{ij} h_i^2 + 2 H_i h_i \delta_{ij} const int np = ps_ptr->N_grid_points(); for (int pn = 0; pn < ps_ptr->N_patches(); ++pn) { patch& p = ps_ptr->ith_patch(pn); for (int irho = p.min_irho(); irho <= p.max_irho(); ++irho) { for (int isigma = p.min_isigma(); isigma <= p.max_isigma(); ++isigma) { const int i = ps_ptr->gpn_of_patch_irho_isigma(p, irho,isigma); const fp radius = p.ghosted_gridfn(gfns::gfn__h, irho, isigma); const fp radius2 = radius * radius; for (int j=0; j<np; ++j) { if (Jac_ptr->is_explicitly_stored (i, j)) { const fp val = Jac_ptr->element (i, j); Jac_ptr->set_element (i, j, val * radius2); } } const fp Theta = (p.gridfn(gfns::gfn__Theta, irho, isigma) + compute_info.desired_value) / radius2; Jac_ptr->sum_into_element (i, i, 2 * Theta * radius); } } } break; } #if 0 case modification_mean_radius: { // multiply with the average coordinate radius // H_{(\bar r)i} = H_i \bar r // J_{(\bar r)ij} = J_{ij} \bar r + H_i / N // calculate average coordinate radius const int np = ps_ptr->N_grid_points(); fp sum_radius = 0; for (int pn = 0; pn < ps_ptr->N_patches(); ++pn) { patch& p = ps_ptr->ith_patch(pn); for (int irho = p.min_irho(); irho <= p.max_irho(); ++irho) { for (int isigma = p.min_isigma(); isigma <= p.max_isigma(); ++isigma) { sum_radius += p.ghosted_gridfn(gfns::gfn__h, irho,isigma); } } } mean_radius = sum_radius / np; // correct Jacobian const int np = ps_ptr->N_grid_points(); for (int pn = 0; pn < ps_ptr->N_patches(); ++pn) { patch& p = ps_ptr->ith_patch(pn); for (int irho = p.min_irho(); irho <= p.max_irho(); ++irho) { for (int isigma = p.min_isigma(); isigma <= p.max_isigma(); ++isigma) { const int i = ps_ptr->gpn_of_patch_irho_isigma(p, irho,isigma); for (int j=0; j<np; ++j) { if (Jac_ptr->is_explicitly_stored (i, j)) { const fp val = Jac_ptr->element (i, j); Jac_ptr->set_element (i, j, val * mean_radius); } } #error "unfinished" const fp Theta = (p.gridfn(gfns::gfn__Theta, irho, isigma) + compute_info.desired_value) / areal_radius; const fp dRdh = 0.5 * areal_radius; Jac_ptr->sum_into_element (i, i, Theta * dRdh); } } } break; } case modification_areal_radius: { // multiply with the areal radius // H_{(R)i} = H_i R // J_{(R)ij} = J_{ij} R + H_i dR/dh_j // get surface area const fp area = ps_ptr->integrate_gridfn (gfns::gfn__one, true, true, true, gfns::gfn__h, gfns::gfn__g_dd_11, gfns::gfn__g_dd_12, gfns::gfn__g_dd_13, gfns::gfn__g_dd_22, gfns::gfn__g_dd_23, gfns::gfn__g_dd_33, patch::integration_method__automatic_choice); const fp areal_radius = sqrt(area / (4.0*PI)); // correct Jacobian const int np = ps_ptr->N_grid_points(); for (int pn = 0; pn < ps_ptr->N_patches(); ++pn) { patch& p = ps_ptr->ith_patch(pn); for (int irho = p.min_irho(); irho <= p.max_irho(); ++irho) { for (int isigma = p.min_isigma(); isigma <= p.max_isigma(); ++isigma) { const int i = ps_ptr->gpn_of_patch_irho_isigma(p, irho,isigma); for (int j=0; j<np; ++j) { if (Jac_ptr->is_explicitly_stored (i, j)) { const fp val = Jac_ptr->element (i, j); Jac_ptr->set_element (i, j, val * areal_radius); } } const fp Theta = (p.gridfn(gfns::gfn__Theta, irho, isigma) + compute_info.desired_value) / areal_radius; const fp dRdh = 0.5 * areal_radius; Jac_ptr->sum_into_element (i, i, Theta * dRdh); } } } break; } #endif default: assert (0); } // switch surface_modification if (ps_ptr->N_additional_points()) { switch (compute_info.surface_selection) { case selection_definition: { // we want nothing special const int np = ps_ptr->N_grid_points(); for (int i=0; i<np; ++i) { Jac_ptr->set_element (i, np, 0.0); } for (int j=0; j<np; ++j) { Jac_ptr->set_element (np, j, 0.0); } Jac_ptr->set_element (np, np, 1.0); break; } case selection_mean_coordinate_radius: { // Jac_ptr->set_element (II, JJ, x) == dTheta(II)/dh(JJ) // \frac{\partial R}{\partial h_j} = 1 / N const int np = ps_ptr->N_grid_points(); for (int i=0; i<np; ++i) { Jac_ptr->set_element (i, np, -1.0); } for (int j=0; j<np; ++j) { fp val = 0; for (int k=0; k<np; ++k) { val += Jac_ptr->element (k, j) / np; } val -= 1.0 / np; Jac_ptr->set_element (np, j, val); } Jac_ptr->set_element (np, np, -1.0); break; } case selection_areal_radius: { // \frac{\partial R_a}{\partial h_j} // = \sqrt{1 / 16 \pi A} \sum_k \sqrt{q_k} dS_k // The "trapezoid" method is faster // const enum patch::integration_method method // = patch::integration_method__automatic_choice; const enum patch::integration_method method = patch::integration_method__trapezoid; const fp area = ps_ptr->integrate_gridfn (gfns::gfn__one, true, true, true, gfns::gfn__h, gfns::gfn__g_dd_11, gfns::gfn__g_dd_12, gfns::gfn__g_dd_13, gfns::gfn__g_dd_22, gfns::gfn__g_dd_23, gfns::gfn__g_dd_33, method); const int np = ps_ptr->N_grid_points(); for (int i=0; i<np; ++i) { Jac_ptr->set_element (i, np, -1.0); } for (int j=0; j<np; ++j) { fp val = 0; for (int k=0; k<np; ++k) { val += Jac_ptr->element (k, j) / np; } Jac_ptr->set_element (np, j, val); } for (int jpn = 0; jpn < ps_ptr->N_patches(); ++jpn) { patch& jp = ps_ptr->ith_patch(jpn); for (int jrho = jp.min_irho(); jrho <= jp.max_irho(); ++jrho) { for (int jsigma = jp.min_isigma(); jsigma <= jp.max_isigma(); ++jsigma) { const int j = ps_ptr->gpn_of_patch_irho_isigma(jp, jrho,jsigma); // const fp radius = jp.ghosted_gridfn(gfns::gfn__h, jrho, jsigma); const fp epsilon = Jacobian_info.perturbation_amplitude; fp val1, val2; #if 0 // Re-calculate all points // (this is slow, but it works) val1 = area; jp.ghosted_gridfn(gfns::gfn__h, jrho, jsigma) += epsilon; val2 = ps_ptr->integrate_gridfn (gfns::gfn__one, true, true, true, gfns::gfn__h, gfns::gfn__g_dd_11, gfns::gfn__g_dd_12, gfns::gfn__g_dd_13, gfns::gfn__g_dd_22, gfns::gfn__g_dd_23, gfns::gfn__g_dd_33, method); jp.ghosted_gridfn(gfns::gfn__h, jrho, jsigma) -= epsilon; #else // Re-calculate all points with non-zero Jacobian entries jp.ghosted_gridfn(gfns::gfn__h, jrho, jsigma) -= epsilon/2; val1 = 0; for (int ipn = 0; ipn < ps_ptr->N_patches(); ++ipn) { patch& ip = ps_ptr->ith_patch(ipn); for (int irho = ip.min_irho(); irho <= ip.max_irho(); ++irho) { for (int isigma = ip.min_isigma(); isigma <= ip.max_isigma(); ++isigma) { const int i = ps_ptr->gpn_of_patch_irho_isigma(ip, irho,isigma); if (Jac_ptr->is_explicitly_stored (i, j)) { val1 += ps_ptr->integrate_gridpoint (gfns::gfn__one, gfns::gfn__h, gfns::gfn__g_dd_11, gfns::gfn__g_dd_12, gfns::gfn__g_dd_13, gfns::gfn__g_dd_22, gfns::gfn__g_dd_23, gfns::gfn__g_dd_33, method, ipn, irho, isigma); } } } } jp.ghosted_gridfn(gfns::gfn__h, jrho, jsigma) += epsilon; val2 = 0; for (int ipn = 0; ipn < ps_ptr->N_patches(); ++ipn) { patch& ip = ps_ptr->ith_patch(ipn); for (int irho = ip.min_irho(); irho <= ip.max_irho(); ++irho) { for (int isigma = ip.min_isigma(); isigma <= ip.max_isigma(); ++isigma) { const int i = ps_ptr->gpn_of_patch_irho_isigma(ip, irho,isigma); if (Jac_ptr->is_explicitly_stored (i, j)) { val2 += ps_ptr->integrate_gridpoint (gfns::gfn__one, gfns::gfn__h, gfns::gfn__g_dd_11, gfns::gfn__g_dd_12, gfns::gfn__g_dd_13, gfns::gfn__g_dd_22, gfns::gfn__g_dd_23, gfns::gfn__g_dd_33, method, ipn, irho, isigma); } } } } jp.ghosted_gridfn(gfns::gfn__h, jrho, jsigma) -= epsilon/2; #endif const fp val = 1 / sqrt(16*PI*area) * ps_ptr->integrate_correction(true, true, true) * (val2 - val1) / epsilon; Jac_ptr->sum_into_element (np, j, -val); } } } Jac_ptr->set_element (np, np, -1.0); break; } case selection_expansion_mean_coordinate_radius: { // Jac_ptr->set_element (II, JJ, x) == dTheta(II)/dh(JJ) const int np = ps_ptr->N_grid_points(); fp sum_expansion = 0; fp sum_radius = 0; for (int pn = 0; pn < ps_ptr->N_patches(); ++pn) { patch& p = ps_ptr->ith_patch(pn); for (int irho = p.min_irho(); irho <= p.max_irho(); ++irho) { for (int isigma = p.min_isigma(); isigma <= p.max_isigma(); ++isigma) { sum_expansion += p.gridfn(gfns::gfn__Theta, irho,isigma); sum_radius += p.ghosted_gridfn(gfns::gfn__h, irho,isigma); } } } for (int i=0; i<np; ++i) { Jac_ptr->set_element (i, np, -1.0); } for (int j=0; j<np; ++j) { fp val = 0; for (int k=0; k<np; ++k) { val += (Jac_ptr->element (k, j) / np) * (1.0 - sum_radius / np); } val -= (sum_expansion / np) / np; Jac_ptr->set_element (np, j, val); } Jac_ptr->set_element (np, np, -1.0); break; } case selection_expansion_areal_radius: { CCTK_WARN (0, "selection_expansion_areal_radius not implemented"); break; } default: assert (0); } // switch surface_selection } else { assert (compute_info.surface_selection == selection_definition); } } // if active return expansion_success; // *** NORMAL RETURN *** } //****************************************************************************** //****************************************************************************** //****************************************************************************** // // This function computes the Jacobian matrix of the expansion Theta(h) // by numerical perturbation of the Theta(h) function. The algorithm is // as follows: // // we assume that Theta = Theta(h) has already been evaluated // save_Theta = Theta // for each point (y,JJ) // { // const fp save_h_y = h at y; // h at y += perturbation_amplitude; // evaluate Theta(h) (silently) // for each point (x,II) // { // Jac(II,JJ) = (Theta(II) - save_Theta(II)) // / perturbation_amplitude; // } // h at y = save_h_y; // } // Theta = save_Theta // // Inputs (angular gridfns, on ghosted grid): // h # shape of trial surface // Theta # Theta(h) assumed to already be computed // // Outputs: // The Jacobian matrix is stored in the Jacobian object Jac. // As implied by the above algorithm, it's traversed by columns. // // Results: // This function returns a status code indicating whether the computation // succeeded or failed, and if the latter, what caused the failure. // namespace { enum expansion_status expansion_Jacobian_NP (patch_system& ps, Jacobian& Jac, const struct what_to_compute& compute_info, const struct cactus_grid_info& cgi, const struct geometry_info& gi, const struct Jacobian_info& Jacobian_info, const struct error_info& error_info, bool initial_flag, bool print_msg_flag) { if (print_msg_flag) then CCTK_VInfo(CCTK_THORNSTRING, " horizon Jacobian (numerical perturbation)"); const fp epsilon = Jacobian_info.perturbation_amplitude; ps.gridfn_copy(gfns::gfn__Theta, gfns::gfn__save_Theta); ps.gridfn_copy(gfns::gfn__mean_curvature, gfns::gfn__save_mean_curvature); for (int ypn = 0 ; ypn < ps.N_patches() ; ++ypn) { patch& yp = ps.ith_patch(ypn); if (print_msg_flag) then CCTK_VInfo(CCTK_THORNSTRING, " perturbing in %s patch", yp.name()); for (int y_irho = yp.min_irho() ; y_irho <= yp.max_irho() ; ++y_irho) { for (int y_isigma = yp.min_isigma() ; y_isigma <= yp.max_isigma() ; ++y_isigma) { const int JJ = ps.gpn_of_patch_irho_isigma(yp, y_irho,y_isigma); const fp save_h_y = yp.ghosted_gridfn(gfns::gfn__h, y_irho,y_isigma); yp.ghosted_gridfn(gfns::gfn__h, y_irho,y_isigma) += epsilon; const enum expansion_status status = expansion(&ps, compute_info, cgi, gi, error_info, initial_flag); if (status != expansion_success) then return status; // *** ERROR RETURN *** for (int xpn = 0 ; xpn < ps.N_patches() ; ++xpn) { patch& xp = ps.ith_patch(xpn); for (int x_irho = xp.min_irho() ; x_irho <= xp.max_irho() ; ++x_irho) { for (int x_isigma = xp.min_isigma() ; x_isigma <= xp.max_isigma() ; ++x_isigma) { const int II = ps.gpn_of_patch_irho_isigma(xp, x_irho,x_isigma); const fp old_Theta = xp.gridfn(gfns::gfn__save_Theta, x_irho,x_isigma); const fp new_Theta = xp.gridfn(gfns::gfn__Theta, x_irho,x_isigma); Jac.set_element(II,JJ, (new_Theta - old_Theta) / epsilon); } } } if (ps.N_additional_points()) { const int np = ps.N_grid_points(); Jac.set_element(np,JJ, 0.0); // insert dummy value } yp.ghosted_gridfn(gfns::gfn__h, y_irho,y_isigma) = save_h_y; } } } ps.gridfn_copy(gfns::gfn__save_Theta, gfns::gfn__Theta); ps.gridfn_copy(gfns::gfn__save_mean_curvature, gfns::gfn__mean_curvature); return expansion_success; // *** NORMAL RETURN *** } } //****************************************************************************** // // This function computes the partial derivative terms in the Jacobian // matrix of the expansion Theta(h), by symbolic differentiation from // the Jacobian coefficient (angular) gridfns. The Jacobian is traversed // by rows, using equation (25) of my 1996 apparent horizon finding paper. // // Inputs (angular gridfns, on ghosted grid): // h # shape of trial surface // Theta # Theta(h) assumed to already be computed // partial_Theta_wrt_partial_d_h # Jacobian coefficients // partial_Theta_wrt_partial_dd_h # (also assumed to already be computed) // // Outputs: // The Jacobian matrix is stored in the Jacobian object Jac. // namespace { void expansion_Jacobian_partial_SD(patch_system& ps, Jacobian& Jac, const struct cactus_grid_info& cgi, const struct geometry_info& gi, const struct Jacobian_info& Jacobian_info, bool print_msg_flag) { if (print_msg_flag) then CCTK_VInfo(CCTK_THORNSTRING, " horizon Jacobian: partial-deriv terms (symbolic diff)"); Jac.zero_matrix(); ps.compute_synchronize_Jacobian(); for (int xpn = 0 ; xpn < ps.N_patches() ; ++xpn) { patch& xp = ps.ith_patch(xpn); for (int x_irho = xp.min_irho() ; x_irho <= xp.max_irho() ; ++x_irho) { for (int x_isigma = xp.min_isigma() ; x_isigma <= xp.max_isigma() ; ++x_isigma) { // // compute the main Jacobian terms for this grid point, i.e. // partial Theta(this point x, Jacobian row II) // --------------------------------------------- // partial h(other points y, Jacobian column JJ) // // Jacobian row index const int II = ps.gpn_of_patch_irho_isigma(xp, x_irho, x_isigma); // Jacobian coefficients for this point const fp Jacobian_coeff_rho = xp.gridfn(gfns::gfn__partial_Theta_wrt_partial_d_h_1, x_irho, x_isigma); const fp Jacobian_coeff_sigma = xp.gridfn(gfns::gfn__partial_Theta_wrt_partial_d_h_2, x_irho, x_isigma); const fp Jacobian_coeff_rho_rho = xp.gridfn(gfns::gfn__partial_Theta_wrt_partial_dd_h_11, x_irho, x_isigma); const fp Jacobian_coeff_rho_sigma = xp.gridfn(gfns::gfn__partial_Theta_wrt_partial_dd_h_12, x_irho, x_isigma); const fp Jacobian_coeff_sigma_sigma = xp.gridfn(gfns::gfn__partial_Theta_wrt_partial_dd_h_22, x_irho, x_isigma); // partial_rho, partial_rho_rho { for (int m_irho = xp.molecule_min_m() ; m_irho <= xp.molecule_max_m() ; ++m_irho) { const int xm_irho = x_irho + m_irho; const fp Jac_rho = Jacobian_coeff_rho * xp.partial_rho_coeff(m_irho); const fp Jac_rho_rho = Jacobian_coeff_rho_rho * xp.partial_rho_rho_coeff(m_irho); const fp Jac_sum = Jac_rho + Jac_rho_rho; if (xp.is_in_nominal_grid(xm_irho, x_isigma)) then { const int xm_JJ = Jac.II_of_patch_irho_isigma(xp,xm_irho,x_isigma); Jac.sum_into_element(II, xm_JJ, Jac_sum); } else add_ghost_zone_Jacobian (ps, Jac, Jac_sum, xp, xp.minmax_rho_ghost_zone(m_irho < 0), II, xm_irho, x_isigma); } } // partial_sigma, partial_sigma_sigma { for (int m_isigma = xp.molecule_min_m() ; m_isigma <= xp.molecule_max_m() ; ++m_isigma) { const int xm_isigma = x_isigma + m_isigma; const fp Jac_sigma = Jacobian_coeff_sigma * xp.partial_sigma_coeff(m_isigma); const fp Jac_sigma_sigma = Jacobian_coeff_sigma_sigma * xp.partial_sigma_sigma_coeff(m_isigma); const fp Jac_sum = Jac_sigma + Jac_sigma_sigma; if (xp.is_in_nominal_grid(x_irho, xm_isigma)) then { const int xm_JJ = Jac.II_of_patch_irho_isigma(xp, x_irho, xm_isigma); Jac.sum_into_element(II, xm_JJ, Jac_sum); } else add_ghost_zone_Jacobian (ps, Jac, Jac_sum, xp, xp.minmax_sigma_ghost_zone(m_isigma < 0), II, x_irho, xm_isigma); } } // partial_rho_sigma { for (int m_irho = xp.molecule_min_m() ; m_irho <= xp.molecule_max_m() ; ++m_irho) { for (int m_isigma = xp.molecule_min_m() ; m_isigma <= xp.molecule_max_m() ; ++m_isigma) { const int xm_irho = x_irho + m_irho; const int xm_isigma = x_isigma + m_isigma; const fp Jac_rho_sigma = Jacobian_coeff_rho_sigma * xp.partial_rho_sigma_coeff(m_irho, m_isigma); if (xp.is_in_nominal_grid(xm_irho, xm_isigma)) then { const int xm_JJ = Jac.II_of_patch_irho_isigma(xp, xm_irho, xm_isigma); Jac.sum_into_element(II, xm_JJ, Jac_rho_sigma); } else { const ghost_zone& xmgz = xp.corner_ghost_zone_containing_point (m_irho < 0, m_isigma < 0, xm_irho, xm_isigma); add_ghost_zone_Jacobian(ps, Jac, Jac_rho_sigma, xp, xmgz, II, xm_irho, xm_isigma); } } } } if (ps.N_additional_points()) { const int np = ps.N_grid_points(); Jac.set_element(II,np, 0.0); // insert dummy value } } } } } } //****************************************************************************** // // This function adds the ghost-zone Jacobian dependency contributions // for a single ghost-zone point, to a Jacobian matrix. // // Arguments: // ps = The patch system. // Jac = (out) The Jacobian matrix. // mol = The molecule coefficient. // xp = The patch containing the center point of the molecule. // xmgz = If the x+m point is in a ghost zone, this must be that ghost zone. // If the x+m point is not in a ghost zone, this argument is ignored. // x_II = The Jacobian row of the x point. // xm_(irho,isigma) = The coordinates (in xp) of the x+m point of the molecule. // namespace { void add_ghost_zone_Jacobian(const patch_system& ps, Jacobian& Jac, fp mol, const patch& xp, const ghost_zone& xmgz, int x_II, int xm_irho, int xm_isigma) { const patch_edge& xme = xmgz.my_edge(); const int xm_iperp = xme.iperp_of_irho_isigma(xm_irho, xm_isigma); const int xm_ipar = xme. ipar_of_irho_isigma(xm_irho, xm_isigma); // FIXME: this won't change from one call to another // ==> it would be more efficient to reuse the same buffer // across multiple calls on this function int global_min_ym, global_max_ym; ps.synchronize_Jacobian_global_minmax_ym(global_min_ym, global_max_ym); jtutil::array1d<fp> Jacobian_buffer(global_min_ym, global_max_ym); // on what other points y does this molecule point xm depend // via the patch_system::synchronize() operation? int y_iperp; int y_posn, min_ym, max_ym; const patch_edge& ye = ps.synchronize_Jacobian(xmgz, xm_iperp, xm_ipar, y_iperp, y_posn, min_ym, max_ym, Jacobian_buffer); patch& yp = ye.my_patch(); // add the Jacobian contributions from the ym points for (int ym = min_ym ; ym <= max_ym ; ++ym) { const int y_ipar = y_posn + ym; const int y_irho = ye. irho_of_iperp_ipar(y_iperp,y_ipar); const int y_isigma = ye.isigma_of_iperp_ipar(y_iperp,y_ipar); const int y_JJ = Jac.II_of_patch_irho_isigma(yp, y_irho, y_isigma); Jac.sum_into_element(x_II, y_JJ, mol*Jacobian_buffer(ym)); } } } //****************************************************************************** // // If ps_ptr != NULL and Jac_ptr != NULL, this function sums the d/dr // terms into the Jacobian matrix of the expansion Theta(h), computing // those terms by finite differencing. // // If ps_ptr == NULL and Jac_ptr == NULL, this function does a dummy // computation, in which only any expansion() (and hence geometry // interpolator) calls are done, these with the number of interpolation // points set to 0 and all the output array pointers set to NULL. // // It's illegal for one but not both of ps_ptr and Jac_ptr to be NULL. // // The basic algorithm is that // Jac += diag[ (Theta(h+epsilon/2) - Theta(h-epsilon/2)) / epsilon ] // // Inputs (angular gridfns, on ghosted grid): // h # shape of trial surface // Theta # Theta(h) assumed to already be computed // # (saved and restored, but not used) // // Outputs: // Jac += d/dr terms // // Results: // This function returns a status code indicating whether the computation // succeeded or failed, and if the latter, what caused the failure. // namespace { enum expansion_status expansion_Jacobian_dr_FD (patch_system* ps_ptr, Jacobian* Jac_ptr, const struct what_to_compute& compute_info, const struct cactus_grid_info& cgi, const struct geometry_info& gi, const struct Jacobian_info& Jacobian_info, const struct error_info& error_info, bool initial_flag, bool print_msg_flag) { const bool active_flag = (ps_ptr != NULL) && (Jac_ptr != NULL); if (print_msg_flag) then CCTK_VInfo(CCTK_THORNSTRING, " horizon Jacobian: %sd/dr terms (finite diff)", active_flag ? "" : "dummy "); const fp epsilon = Jacobian_info.perturbation_amplitude; what_to_compute this_compute_info (compute_info); this_compute_info.surface_modification = modification_none; this_compute_info.surface_selection = selection_definition; this_compute_info.desired_value = 0.0; fp additional_save_Theta; // compute Theta(h-epsilon/2) if (active_flag) then { ps_ptr->gridfn_copy(gfns::gfn__Theta, gfns::gfn__save_Theta); ps_ptr->gridfn_copy(gfns::gfn__mean_curvature, gfns::gfn__save_mean_curvature); if (ps_ptr->N_additional_points()) then { const int np = ps_ptr->N_grid_points(); additional_save_Theta = ps_ptr->gridfn_data(gfns::gfn__Theta)[np]; } ps_ptr->add_to_ghosted_gridfn(-epsilon/2, gfns::gfn__h); } const enum expansion_status status = expansion(ps_ptr, this_compute_info, cgi, gi, error_info, initial_flag); if (status != expansion_success) then { expansion(NULL, this_compute_info, cgi, gi, error_info, false); return status; // *** ERROR RETURN *** } // compute Theta(h+epsilon/2) if (active_flag) then { ps_ptr->gridfn_copy(gfns::gfn__Theta, gfns::gfn__old_Theta); ps_ptr->add_to_ghosted_gridfn(epsilon, gfns::gfn__h); } const enum expansion_status status2 = expansion(ps_ptr, this_compute_info, cgi, gi, error_info, initial_flag); if (status2 != expansion_success) then return status2; // *** ERROR RETURN *** if (active_flag) then { for (int pn = 0 ; pn < ps_ptr->N_patches() ; ++pn) { patch& p = ps_ptr->ith_patch(pn); for (int irho = p.min_irho() ; irho <= p.max_irho() ; ++irho) { for (int isigma = p.min_isigma() ; isigma <= p.max_isigma() ; ++isigma) { const int II = ps_ptr->gpn_of_patch_irho_isigma(p, irho,isigma); const fp old_Theta = p.gridfn(gfns::gfn__old_Theta, irho,isigma); const fp new_Theta = p.gridfn(gfns::gfn__Theta, irho,isigma); const fp d_dr_term = (new_Theta - old_Theta) / epsilon; Jac_ptr->sum_into_element(II,II, d_dr_term); } } } // restore h and Theta ps_ptr->add_to_ghosted_gridfn(-epsilon/2, gfns::gfn__h); ps_ptr->gridfn_copy(gfns::gfn__save_Theta, gfns::gfn__Theta); ps_ptr->gridfn_copy(gfns::gfn__save_mean_curvature, gfns::gfn__mean_curvature); if (ps_ptr->N_additional_points()) then { const int np = ps_ptr->N_grid_points(); ps_ptr->gridfn_data(gfns::gfn__Theta)[np] = additional_save_Theta; } } return expansion_success; // *** NORMAL RETURN *** } } //****************************************************************************** } // namespace AHFinderDirect
[ "hylim1988@gmail.com" ]
hylim1988@gmail.com
72c87b169c1c2dd82bd6144889987c73da446bc5
5953a48b7276e3ed4dbf0357a90c871882b36b35
/src/ExpressionClassifier.cpp
0f38ca43a763cfd131f7f6b983d3c984b1724311
[]
no_license
okjake/cinderexpressions
8d59c96e38bad46938ec9bf5c67cc82d7bdedc00
5d17ab359fe44c36cb618e0b3487403935d186e0
refs/heads/master
2016-09-02T01:36:55.896528
2013-02-24T19:46:19
2013-02-24T19:46:19
8,381,725
1
0
null
null
null
null
UTF-8
C++
false
false
4,081
cpp
// // ExpressionClassifier.cpp // MoodDrawing // // Created by Jake Pyne on 24/07/2012. // #include "ExpressionClassifier.h" #include "cinder/CinderMath.h" #include "cinder/Xml.h" #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include <map> ExpressionClassifier::ExpressionClassifier() { } void ExpressionClassifier::setup(std::string appPath) { boost::filesystem::path expressionsFolder(appPath + "/Contents/Resources/Expressions"); std::cout << expressionsFolder; boost::filesystem::directory_iterator end_iter; if ( boost::filesystem::exists(expressionsFolder) && boost::filesystem::is_directory(expressionsFolder)) { std::cout << "Known expressions: " << std::endl; for( boost::filesystem::directory_iterator dir_iter(expressionsFolder) ; dir_iter != end_iter ; ++dir_iter) { if (boost::filesystem::is_regular_file(dir_iter->status()) && !(dir_iter->path().filename().string().compare(".DS_Store") == 0)) { std::cout << *dir_iter << std::endl; ci::XmlTree doc( ci::loadFile( *dir_iter )); ci::XmlTree expression = doc.getChild("expression"); std::map<std::string, std::string> expressionDoc; for( ci::XmlTree::Iter child = expression.begin(); child != expression.end(); ++child ) expressionDoc[child->getTag()] = child->getValue(); knownExpressions.push_back(Expression(dir_iter->path().filename().string(), boost::lexical_cast<float>(expressionDoc["mouthWidth"]), boost::lexical_cast<float>(expressionDoc["mouthHeight"]), boost::lexical_cast<float>(expressionDoc["eyebrowLeft"]), boost::lexical_cast<float>(expressionDoc["eyebrowRight"]), boost::lexical_cast<float>(expressionDoc["eyeLeft"]), boost::lexical_cast<float>(expressionDoc["eyeRight"]), boost::lexical_cast<float>(expressionDoc["jaw"]), boost::lexical_cast<float>(expressionDoc["nostrils"]))); } } } } /* * Tests a provided expression against those known * Returns whichever is closest */ void ExpressionClassifier::classify(Expression *testExpression) { float distances[knownExpressions.size()]; short int minIndex = 0; float minimum = 90000.0f; for ( int i = 0; i < knownExpressions.size(); i++) { distances[i] = sqrtf( powf(knownExpressions[i].getMouthWidth() - testExpression->getMouthWidth(), 2) + powf(knownExpressions[i].getMouthHeight() - testExpression->getMouthHeight(), 2) + powf(knownExpressions[i].getEyebrowLeft() - testExpression->getEyebrowLeft(), 2) + powf(knownExpressions[i].getEyebrowRight() - testExpression->getEyebrowRight(), 2) + powf(knownExpressions[i].getEyeLeft() - testExpression->getEyeLeft(), 2) + powf(knownExpressions[i].getEyeRight() - testExpression->getEyeRight(), 2) + powf(knownExpressions[i].getJaw() - testExpression->getJaw(), 2) + powf(knownExpressions[i].getNostrils() - testExpression->getNostrils(), 2) ); if (distances[i] < minimum) { minimum = distances[i]; minIndex = i; } } // Find lowest distance and return that expression if (knownExpressions.size() > 0) { std::cout << "CURRENT EXPRESSION: " << knownExpressions[minIndex].getDescription() << std::endl; } }
[ "jakepyne@gmail.com" ]
jakepyne@gmail.com
e904ed477768dd01cdf493ccb147254b2def9fa3
a4ee06bd408862827bd0dcbb905a213b45bf593b
/PKMN/v2/Editor/TileBlock.h
5e176b738e40cac41a88470cd5ef8cac385090ec
[]
no_license
davekessener/VirtualMachine
1a6b3af761e2763eebd1d61010fda517f51167d5
61679dd47f17246cad8261781000cf4aca5bfe14
refs/heads/master
2021-01-17T14:53:55.771007
2016-05-29T13:15:33
2016-05-29T13:15:33
14,454,172
0
1
null
null
null
null
UTF-8
C++
false
false
1,087
h
#ifndef PKMN_EDITOR_TILEBLOCK_H #define PKMN_EDITOR_TILEBLOCK_H #include "../common.h" namespace editor { class TileBlock { public: explicit TileBlock(DWORD i = 0) : lid_(i), rid_(i) { } TileBlock(DWORD l, DWORD r) { set(l, r); } int width( ) const { return (rid_ % 64) - (lid_ % 64) + 1; } int height( ) const { return (rid_ / 64) - (lid_ / 64) + 1; } DWORD at(uint x, uint y) const { return lid_ + x + y * 64; } DWORD left( ) const { return lid_; } DWORD right( ) const { return rid_; } void setL(DWORD l) { set(l, rid_); } void setR(DWORD r) { set(lid_, r); } bool operator==(const TileBlock& tb) const { return lid_ == tb.lid_ && rid_ == tb.rid_; } bool operator!=(const TileBlock& tb) const { return !(*this == tb); } void set(DWORD l, DWORD r) { int x1(l % 64), y1(l / 64), x2(r % 64), y2(r / 64); #define min(a,b) (((a)<(b))?(a):(b)) #define max(a,b) (((a)>(b))?(a):(b)) lid_ = min(x1, x2) + min(y1, y2) * 64; rid_ = max(x1, x2) + max(y1, y2) * 64; #undef max #undef min } private: DWORD lid_, rid_; }; } #endif
[ "BroSkylark@gmail.com" ]
BroSkylark@gmail.com
80e692e95ffc3a30d4072984c0a6bcfe9bf4a7ec
e29c1365c01a693c5fff034eb17c6080372fdb31
/obj/attackableunits/building/objbuilding.cpp
af768c4a2119ba9264e691ab969d4e03a108129d
[]
no_license
ClaudiuHNS/OGLeague2
574968399bf1141bb03c978ceadbb0c1d8f6b580
e974de5a2e15d6b403fbf2aa739de25dedad36df
refs/heads/master
2020-05-24T17:54:23.468796
2017-06-08T01:32:59
2017-06-08T01:32:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
226
cpp
#include "objbuilding.h" ObjBuilding::ObjBuilding(World *world) : AttackableUnit(world) { } bool ObjBuilding::Load(std::string name) { if(GameObject::Load(name)) { return true; } return false; }
[ "moonshadow565@gmail.com" ]
moonshadow565@gmail.com
f6d4b73e18cb33e1b9739b13064f6a277ed78a26
e7aa1db6b25b91220ecb950b22b8032f7644bd65
/kernel/dev/usb/device/usb-storage.cpp
0105000793a2b1cf32f0e58e0714c99ecdace2c5
[ "Beerware", "LicenseRef-scancode-public-domain" ]
permissive
Horaddrim/ananas
b6fe5dfac561450f615f0da5a3e1703d8eec77ed
ccf3d4ea9496e80fc7b6207b32a86bc569d835f4
refs/heads/master
2021-01-15T19:06:44.527184
2017-07-30T11:29:48
2017-07-30T11:29:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,872
cpp
#include <ananas/types.h> #include <ananas/device.h> #include <ananas/driver.h> #include <ananas/error.h> #include <ananas/endian.h> #include <ananas/lib.h> #include <ananas/lock.h> #include <ananas/thread.h> #include <ananas/pcpu.h> #include <ananas/schedule.h> #include <ananas/trace.h> #include <ananas/mm.h> #include "../core/usb-core.h" #include "../core/usb-device.h" #include "../core/usb-transfer.h" #include "../core/config.h" #include "../../scsi/scsi.h" // XXX kludge TRACE_SETUP; #if 0 #define DPRINTF Printf #else #define DPRINTF(...) #endif namespace { struct USBSTORAGE_CBW { /* 00-03 */ uint32_t d_cbw_signature; #define USBSTORAGE_CBW_SIGNATURE 0x43425355 /* 04-07 */ uint32_t d_cbw_tag; /* 08-0b */ uint32_t d_cbw_data_transferlength; /* 0c */ uint8_t d_bm_cbwflags; #define USBSTORAGE_CBW_FLAG_DATA_OUT (0 << 7) #define USBSTORAGE_CBW_FLAG_DATA_IN (1 << 7) /* 0d */ uint8_t d_cbw_lun; /* 0e */ uint8_t d_cbw_cblength; /* 0f-1e */ uint8_t d_cbw_cb[16]; } __attribute__((packed)); struct USBSTORAGE_CSW { /* 00-03 */ uint32_t d_csw_signature; #define USBSTORAGE_CSW_SIGNATURE 0x53425355 /* 04-07 */ uint32_t d_csw_tag; /* 08-0b */ uint32_t d_csw_data_residue; /* 0c */ uint8_t d_csw_status; #define USBSTORAGE_CSW_STATUS_GOOD 0x00 #define USBSTORAGE_CSW_STATUS_FAIL 0x01 #define USBSTORAGE_CSW_STATUS_PHASE_ERROR 0x02 } __attribute__((packed)); #if 0 void DumpCBW(USBSTORAGE_CBW& cbw) { kprintf("signature %x tag %x data_transferlen %x\n", cbw.d_cbw_signature, cbw.d_cbw_tag, cbw.d_cbw_data_transferlength); kprintf("cbwflags %x lun %d cblength %d cb", cbw.d_bm_cbwflags, cbw.d_cbw_lun, cbw.d_cbw_cblength); for(unsigned int n = 0; n < 16; n++) kprintf(" %x", cbw.d_cbw_cb[n]); kprintf("\n"); } #endif class USBStorage; struct StorageDevice_PipeInCallbackWrapper : public Ananas::USB::IPipeCallback { StorageDevice_PipeInCallbackWrapper(USBStorage& device) : pi_Device(device) { } void OnPipeCallback(Ananas::USB::Pipe& pipe) override; USBStorage& pi_Device; }; struct StorageDevice_PipeOutCallbackWrapper : public Ananas::USB::IPipeCallback { StorageDevice_PipeOutCallbackWrapper(USBStorage& device) : pi_Device(device) { } void OnPipeCallback(Ananas::USB::Pipe& pipe) override; USBStorage& pi_Device; }; class USBStorage : public Ananas::Device, private Ananas::IDeviceOperations, private Ananas::ISCSIDeviceOperations { public: USBStorage(const Ananas::CreateDeviceProperties& cdp); virtual ~USBStorage() = default; IDeviceOperations& GetDeviceOperations() override { return *this; } ISCSIDeviceOperations* GetSCSIDeviceOperations() override { return this; } void OnPipeInCallback(); void OnPipeOutCallback(); errorcode_t PerformSCSIRequest(int lun, ISCSIDeviceOperations::Direction dir, const void* cb, size_t cb_len, void* result, size_t* result_len) override; protected: errorcode_t Attach() override; errorcode_t Detach() override; private: void Lock() { mutex_lock(&us_mutex); } void Unlock() { mutex_unlock(&us_mutex); } Ananas::USB::USBDevice* us_Device = nullptr; Ananas::USB::Pipe* us_BulkIn = nullptr; Ananas::USB::Pipe* us_BulkOut = nullptr; StorageDevice_PipeInCallbackWrapper us_PipeInCallback; StorageDevice_PipeOutCallbackWrapper us_PipeOutCallback; mutex_t us_mutex; unsigned int us_max_lun = 0; /* Output buffer */ void* us_output_buffer = nullptr; size_t us_output_filled = 0; size_t us_output_len = 0; /* Most recent CSW received */ errorcode_t* us_result_ptr = nullptr; struct USBSTORAGE_CSW* us_csw_ptr = nullptr; /* Signalled when the CSW is received */ semaphore_t us_signal_sem; }; void StorageDevice_PipeInCallbackWrapper::OnPipeCallback(Ananas::USB::Pipe& pipe) { pi_Device.OnPipeInCallback(); } void StorageDevice_PipeOutCallbackWrapper::OnPipeCallback(Ananas::USB::Pipe& pipe) { pi_Device.OnPipeOutCallback(); } USBStorage::USBStorage(const Ananas::CreateDeviceProperties& cdp) : Device(cdp), us_PipeInCallback(*this), us_PipeOutCallback(*this) { } errorcode_t USBStorage::PerformSCSIRequest(int lun, Direction dir, const void* cb, size_t cb_len, void* result, size_t* result_len) { KASSERT(result_len == nullptr || result != nullptr, "result_len without result?"); DPRINTF("dir %d len %d cb_len %d result_len %d", dir, lun, cb_len, result_len ? *result_len : -1); struct USBSTORAGE_CSW csw; errorcode_t err = ANANAS_ERROR(UNKNOWN); /* Create the command-block-wrapper */ struct USBSTORAGE_CBW cbw; memset(&cbw, 0, sizeof cbw); cbw.d_cbw_signature = USBSTORAGE_CBW_SIGNATURE; cbw.d_cbw_data_transferlength = (result_len != NULL) ? *result_len : 0; cbw.d_bm_cbwflags = (dir == Direction::D_In) ? USBSTORAGE_CBW_FLAG_DATA_IN : USBSTORAGE_CBW_FLAG_DATA_OUT; cbw.d_cbw_lun = lun; cbw.d_cbw_cblength = cb_len; memcpy(&cbw.d_cbw_cb[0], cb, cb_len); /* All SCSI CDB's follow a standard format; fill out those fields here XXX This is not the correct place */ switch(cb_len) { case 6: { struct SCSI_CDB_6* cdb = (struct SCSI_CDB_6*)&cbw.d_cbw_cb[0]; cdb->c_alloc_len = (result_len != nullptr) ? *result_len : 0; break; } case 10: { struct SCSI_CDB_10* cdb = (struct SCSI_CDB_10*)&cbw.d_cbw_cb[0]; uint16_t v = (result_len != nullptr) ? *result_len : 0; if (cdb->c_code != SCSI_CMD_READ_10) /* XXX */ cdb->c_alloc_len = htobe16(v); break; } default: panic("invalid cb_len %d", cb_len); } Lock(); /* Ensure our output is at a sensible location */ us_output_buffer = result; us_output_filled = 0; us_output_len = (result_len != NULL) ? *result_len : 0; us_result_ptr = &err; us_csw_ptr = &csw; /* Now, submit the request */ us_BulkOut->p_xfer.t_length = sizeof(cbw); memcpy(&us_BulkOut->p_xfer.t_data[0], &cbw, us_BulkOut->p_xfer.t_length); us_BulkOut->Start(); Unlock(); /* Now we wait for the signal ... */ sem_wait_and_drain(&us_signal_sem); ANANAS_ERROR_RETURN(err); /* See if the CSW makes sense */ if (csw.d_csw_signature != USBSTORAGE_CSW_SIGNATURE) return ANANAS_ERROR(IO); if (csw.d_csw_tag != cbw.d_cbw_tag) return ANANAS_ERROR(IO); if (csw.d_csw_status != USBSTORAGE_CSW_STATUS_GOOD) { DPRINTF("device rejected request: %d", csw.d_csw_status); return ANANAS_ERROR(IO); } return ananas_success(); } /* Called when data flows from the device -> us */ void USBStorage::OnPipeInCallback() { Ananas::USB::Transfer& xfer = us_BulkIn->p_xfer; DPRINTF("usbstorage_in_callback! -> flags %x len %d", xfer.t_flags, xfer.t_result_length); /* * We'll have one or two responses now: the first will be the resulting data, * and the second will be the CSW. */ bool need_schedule = false; Lock(); int len = xfer.t_result_length; if (us_output_buffer != nullptr) { size_t left = us_output_len - us_output_filled; if (len > left) len = left; memcpy((char*)us_output_buffer + us_output_filled, &xfer.t_data[0], len); us_output_filled += len; left -= len; if (left == 0) { us_output_len = len; us_output_buffer = nullptr; } need_schedule = true; /* as more data will arrive */ } else if (us_csw_ptr != nullptr && us_result_ptr != nullptr) { if (len != sizeof(struct USBSTORAGE_CSW)) { Printf("invalid csw length (expected %d got %d)", sizeof(struct USBSTORAGE_CSW), len); *us_result_ptr = ANANAS_ERROR(BAD_LENGTH); } else { memcpy(us_csw_ptr, &xfer.t_data[0], len); *us_result_ptr = ananas_success(); } us_result_ptr = nullptr; us_csw_ptr = nullptr; sem_signal(&us_signal_sem); } else { Printf("received %d bytes but no sink?", len); } Unlock(); if (need_schedule) us_BulkIn->Start(); } void USBStorage::OnPipeOutCallback() { Ananas::USB::Transfer& xfer = us_BulkOut->p_xfer; (void)xfer; DPRINTF("usbstorage_out_callback! -> len %d", xfer.t_result_length); us_BulkIn->Start(); } errorcode_t USBStorage::Attach() { us_Device = static_cast<Ananas::USB::USBDevice*>(d_ResourceSet.AllocateResource(Ananas::Resource::RT_USB_Device, 0)); mutex_init(&us_mutex, "usbstorage"); sem_init(&us_signal_sem, 0); /* * Determine the max LUN of the device - note that devices do not have to support this, * so we use 0 in case they do not give this information. */ uint8_t max_lun; size_t len = sizeof(max_lun); errorcode_t err = us_Device->PerformControlTransfer(USB_CONTROL_REQUEST_GET_MAX_LUN, USB_CONTROL_RECIPIENT_INTERFACE, USB_CONTROL_TYPE_CLASS, USB_REQUEST_MAKE(0, 0), 0, &max_lun, &len, false); if (ananas_is_failure(err) || len != sizeof(max_lun)) max_lun = 0; us_max_lun = max_lun; /* * There must be a BULK/IN and BULK/OUT endpoint - however, the spec doesn't * say in which order they are. To cope, we'll just try both. */ int outep_index = 1; err = us_Device->AllocatePipe(0, TRANSFER_TYPE_BULK, EP_DIR_IN, 0, us_PipeInCallback, us_BulkIn); if (ananas_is_failure(err)) { err = us_Device->AllocatePipe(1, TRANSFER_TYPE_BULK, EP_DIR_IN, 0, us_PipeInCallback, us_BulkIn); outep_index = 0; } if (ananas_is_failure(err)) { Printf("no bulk/in endpoint present"); return ANANAS_ERROR(NO_RESOURCE); } err = us_Device->AllocatePipe(outep_index, TRANSFER_TYPE_BULK, EP_DIR_OUT, 0, us_PipeOutCallback, us_BulkOut); if (ananas_is_failure(err)) { Printf("no bulk/out endpoint present"); return ANANAS_ERROR(NO_RESOURCE); } // Now create SCSI disks for all LUN's here for (unsigned int lun = 0; lun <= us_max_lun; lun++) { Ananas::ResourceSet sub_resourceSet; sub_resourceSet.AddResource(Ananas::Resource(Ananas::Resource::RT_ChildNum, lun, 0)); Ananas::Device* sub_device = Ananas::DeviceManager::CreateDevice("scsidisk", Ananas::CreateDeviceProperties(*this, sub_resourceSet)); if (sub_device == nullptr) continue; Ananas::DeviceManager::AttachSingle(*sub_device); } return ananas_success(); } errorcode_t USBStorage::Detach() { if (us_Device == nullptr) return ananas_success(); if (us_BulkIn != nullptr) us_Device->FreePipe(*us_BulkIn); us_BulkIn = nullptr; if (us_BulkOut != nullptr) us_Device->FreePipe(*us_BulkOut); us_BulkOut = nullptr; return ananas_success(); } struct USBStorage_Driver : public Ananas::Driver { USBStorage_Driver() : Driver("usbstorage") { } const char* GetBussesToProbeOn() const override { return "usbbus"; } Ananas::Device* CreateDevice(const Ananas::CreateDeviceProperties& cdp) override { auto res = cdp.cdp_ResourceSet.GetResource(Ananas::Resource::RT_USB_Device, 0); if (res == nullptr) return nullptr; auto usb_dev = static_cast<Ananas::USB::USBDevice*>(reinterpret_cast<void*>(res->r_Base)); Ananas::USB::Interface& iface = usb_dev->ud_interface[usb_dev->ud_cur_interface]; if (iface.if_class == USB_IF_CLASS_STORAGE && iface.if_protocol == USB_IF_PROTOCOL_BULKONLY) return new USBStorage(cdp); return nullptr; } }; } // unnamed namespace REGISTER_DRIVER(USBStorage_Driver) /* vim:set ts=2 sw=2: */
[ "rink@rink.nu" ]
rink@rink.nu
a457080aa190f43b9d9078243e4bc9da73d41c86
f74f835ec8c156cc72d288500b1a5a16b9c8c62b
/Controller/src/LSST/M1M3/SS/Commands/RunMirrorForceProfileCommand.h
1598ac22f67a101fc5b3f9f79072393e5c7e1965
[]
no_license
AmmarNoman/ts_m1m3support
44176bfdfad790a46aa722fe27c5e48a6243d5d6
1bb88ae2d754ce19c0c4efc7a20243c06fba9ac0
refs/heads/master
2021-05-22T18:30:53.085262
2018-07-30T23:00:30
2018-07-30T23:00:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
906
h
/* * RunMirrorForceProfileCommand.h * * Created on: Feb 9, 2018 * Author: ccontaxis */ #ifndef RUNMIRRORFORCEPROFILECOMMAND_H_ #define RUNMIRRORFORCEPROFILECOMMAND_H_ #include <Command.h> #include <SAL_m1m3C.h> #include <DataTypes.h> namespace LSST { namespace M1M3 { namespace SS { class RunMirrorForceProfileCommand: public Command { private: Context* context; M1M3SSPublisher* publisher; m1m3_command_RunMirrorForceProfileC data; public: RunMirrorForceProfileCommand(Context* context, M1M3SSPublisher* publisher, int32_t commandID, m1m3_command_RunMirrorForceProfileC* data); m1m3_command_RunMirrorForceProfileC* getData() { return &this->data; } bool validate(); void execute(); void ackInProgress(); void ackComplete(); void ackFailed(std::string reason); }; } /* namespace SS */ } /* namespace M1M3 */ } /* namespace LSST */ #endif /* RUNMIRRORFORCEPROFILECOMMAND_H_ */
[ "CContaxis@lsst.org" ]
CContaxis@lsst.org
1a5e3d21caad621ffa720d4a49d104139e657c0f
038fd9e7f469c4e7f7343a10c0183d60050f4b4e
/couchbase-sys/libcouchbase/src/http/http_io.cc
ea8709915e87ee1ac8069e9e32f90e196256f3b5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
tinh-phan/couchbase-rs
32abc0119e11da7c8c06e7d610e364a42c493a6d
a6160df405302ea40848efe4751ab7b46dd692ca
refs/heads/master
2020-10-01T00:51:43.324887
2019-12-11T16:54:31
2019-12-11T16:54:31
227,413,790
0
0
Apache-2.0
2019-12-11T16:41:48
2019-12-11T16:41:47
null
UTF-8
C++
false
false
8,581
cc
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2013-2019 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "internal.h" #include "logging.h" #include "settings.h" #include "http-priv.h" #include "http.h" #include "ctx-log-inl.h" #include "sllist.h" #include <lcbio/ssl.h> #define LOGFMT CTX_LOGFMT #define LOGID(req) CTX_LOGID(req->ioctx) using namespace lcb::http; #define LOGARGS(req, lvl) req->instance->settings, "http-io", LCB_LOG_##lvl, __FILE__, __LINE__ void Request::assign_response_headers(const lcb::htparse::Response &resp) { response_headers.assign(resp.headers.begin(), resp.headers.end()); response_headers_clist.clear(); std::vector< lcb::htparse::MimeHeader >::const_iterator ii; for (ii = response_headers.begin(); ii != response_headers.end(); ++ii) { response_headers_clist.push_back(ii->key.c_str()); response_headers_clist.push_back(ii->value.c_str()); } response_headers_clist.push_back(NULL); } int Request::handle_parse_chunked(const char *buf, unsigned nbuf) { int parse_state, oldstate, diff; using lcb::htparse::Parser; lcb::htparse::Response &res = parser->get_cur_response(); do { const char *rbody; unsigned nused = -1, nbody = -1; oldstate = res.state; parse_state = parser->parse_ex(buf, nbuf, &nused, &nbody, &rbody); diff = oldstate ^ parse_state; /* Got headers now for the first time */ if (diff & Parser::S_HEADER) { assign_response_headers(res); if (res.status >= 300 && res.status <= 400) { const char *redir = res.get_header_value("Location"); if (redir != NULL) { pending_redirect.assign(redir); return Parser::S_DONE; } } } if (parse_state & Parser::S_ERROR) { /* nothing to do here */ return parse_state; } if (nbody) { if (chunked) { lcb_RESPHTTP htresp = {0}; init_resp(&htresp); htresp.body = rbody; htresp.nbody = nbody; htresp.rc = LCB_SUCCESS; passed_data = true; callback(instance, LCB_CALLBACK_HTTP, (const lcb_RESPBASE *)&htresp); } else { res.body.append(rbody, nbody); } } buf += nused; nbuf -= nused; } while ((parse_state & Parser::S_DONE) == 0 && is_ongoing() && nbuf); if ((parse_state & Parser::S_DONE) && is_ongoing()) { lcb_RESPHTTP resp = {0}; if (chunked) { buf = NULL; nbuf = 0; } else { buf = res.body.c_str(); nbuf = res.body.size(); } init_resp(&resp); resp.rflags = LCB_RESP_F_FINAL; resp.rc = LCB_SUCCESS; resp.body = buf; resp.nbody = nbuf; passed_data = true; callback(instance, LCB_CALLBACK_HTTP, (const lcb_RESPBASE *)&resp); status |= Request::CBINVOKED; } return parse_state; } static void io_read(lcbio_CTX *ctx, unsigned nr) { Request *req = reinterpret_cast< Request * >(lcbio_ctx_data(ctx)); lcb_INSTANCE *instance = req->instance; /** this variable set to 0 (in progress), -1 (error), 1 (done) */ int rv = 0; lcbio_CTXRDITER iter; req->incref(); /** Delay the timer */ lcbio_timer_rearm(req->timer, req->timeout()); LCBIO_CTX_ITERFOR(ctx, &iter, nr) { char *buf; unsigned nbuf; int parse_state; buf = reinterpret_cast< char * >(lcbio_ctx_ribuf(&iter)); nbuf = lcbio_ctx_risize(&iter); parse_state = req->handle_parse_chunked(buf, nbuf); if ((parse_state & lcb::htparse::Parser::S_ERROR) || req->has_pending_redirect()) { rv = -1; break; } else if (!req->is_ongoing()) { rv = 1; break; } } if (rv == -1) { // parse error or redirect lcb_STATUS err; if (req->has_pending_redirect()) { instance->bootstrap(lcb::BS_REFRESH_THROTTLE); // Transfer control to redirect function() lcb_log(LOGARGS(req, DEBUG), LOGFMT "Attempting redirect to %s", LOGID(req), req->pending_redirect.c_str()); req->redirect(); } else { err = LCB_PROTOCOL_ERROR; lcb_log(LOGARGS(req, ERR), LOGFMT "Got parser error while parsing HTTP stream", LOGID(req)); req->finish_or_retry(err); } } else if (rv == 1) { // Complete req->finish(LCB_SUCCESS); } else { // Pending lcbio_ctx_rwant(ctx, req->paused ? 0 : 1); lcbio_ctx_schedule(ctx); } req->decref(); } void Request::pause() { if (!paused) { paused = true; if (ioctx) { lcbio_ctx_rwant(ioctx, 0); lcbio_ctx_schedule(ioctx); } } } void Request::resume() { if (!paused) { return; } if (ioctx == NULL) { return; } paused = false; lcbio_ctx_rwant(ioctx, 1); lcbio_ctx_schedule(ioctx); } static void io_error(lcbio_CTX *ctx, lcb_STATUS err) { Request *req = reinterpret_cast< Request * >(lcbio_ctx_data(ctx)); lcb_log(LOGARGS(req, ERR), LOGFMT "Got error while performing I/O on HTTP stream. Err=0x%x", LOGID(req), err); req->finish_or_retry(err); } static void request_timed_out(void *arg) { (reinterpret_cast< Request * >(arg))->finish(LCB_ETIMEDOUT); } static void on_connected(lcbio_SOCKET *sock, void *arg, lcb_STATUS err, lcbio_OSERR syserr) { Request *req = reinterpret_cast< Request * >(arg); lcbio_CTXPROCS procs; lcb_settings *settings = req->instance->settings; req->creq = NULL; if (err != LCB_SUCCESS) { lcb_log(LOGARGS(req, ERR), "Connection to failed with Err=0x%x", err); req->finish_or_retry(err); return; } lcbio_sslify_if_needed(sock, settings); procs.cb_err = io_error; procs.cb_read = io_read; req->ioctx = lcbio_ctx_new(sock, arg, &procs); switch (req->reqtype) { case LCB_HTTP_TYPE_N1QL: sock->service = LCBIO_SERVICE_N1QL; break; case LCB_HTTP_TYPE_VIEW: sock->service = LCBIO_SERVICE_VIEW; break; case LCB_HTTP_TYPE_FTS: sock->service = LCBIO_SERVICE_FTS; break; case LCB_HTTP_TYPE_CBAS: sock->service = LCBIO_SERVICE_CBAS; break; default: sock->service = LCBIO_SERVICE_MGMT; break; } req->ioctx->subsys = "mgmt/capi"; lcbio_ctx_put(req->ioctx, &req->preamble[0], req->preamble.size()); if (!req->body.empty()) { lcbio_ctx_put(req->ioctx, &req->body[0], req->body.size()); } lcbio_ctx_rwant(req->ioctx, 1); lcbio_ctx_schedule(req->ioctx); (void)syserr; } lcb_STATUS Request::start_io(lcb_host_t &dest) { lcbio_MGR *pool = instance->http_sockpool; creq = pool->get(dest, timeout(), on_connected, this); if (!creq) { return LCB_CONNECT_ERROR; } if (!timer) { timer = lcbio_timer_new(io, this, request_timed_out); } if (!lcbio_timer_armed(timer)) { lcbio_timer_rearm(timer, timeout()); } return LCB_SUCCESS; } static void pool_close_cb(lcbio_SOCKET *sock, int reusable, void *arg) { int close_ok = *(int *)arg; lcbio_ref(sock); if (reusable && close_ok) { lcb::io::Pool::put(sock); } else { lcb::io::Pool::discard(sock); } } void Request::close_io() { lcb::io::ConnectionRequest::cancel(&creq); if (!ioctx) { return; } int can_ka; if (parser && is_data_request()) { can_ka = parser->can_keepalive(); } else { can_ka = 0; } lcbio_ctx_close(ioctx, pool_close_cb, &can_ka); ioctx = NULL; }
[ "michael@nitschinger.at" ]
michael@nitschinger.at
8de6fc4bf8d0a44f566d807eb9302e6ef738bef7
77e9aa8e11e09ab24213cc8b0316c134833bc7e0
/FER/Kinect Recorder/src/libSkeleton/SkeletonRepresentationJSON.cpp
ec84b61151cf09071f9d5f0374430f32c8eeed67
[]
no_license
amkhader/PokerfaceTest
229002c3b28ca14ee76d19ef6391a364b0c5ee89
bd599809c0ffa602a29d9407a4581e56b986988c
refs/heads/master
2021-01-10T13:44:57.673124
2016-04-26T06:23:09
2016-04-26T06:23:09
43,579,594
0
0
null
null
null
null
UTF-8
C++
false
false
8,668
cpp
#include "libSkeleton.h" SkeletonRepresentationJSON::SkeletonRepresentationJSON(double _version) { } SkeletonRepresentationJSON::~SkeletonRepresentationJSON(void) { } /** * Returns JSON array from input Vector structure */ Json::Value SkeletonRepresentationJSON::jsonAddPoint3(Eigen::Vector3f point) { Json::Value jsonVector; jsonVector.append(point.x); jsonVector.append(point.y); jsonVector.append(point.z); return jsonVector; } /** * Serialize single skeleton pose into JSON string */ void SkeletonRepresentationJSON::Serialize( Json::Value& skeleton ) { skeleton["id"] = this->id; skeleton["version"] = this->m_version; // this is new... should this be under set? // head skeleton["head"] = jsonAddPoint3(this->head()); if (this->m_version > 1) { skeleton["neck"] = jsonAddPoint3(this->neck()); } // upper body skeleton["leftShoulder"] = jsonAddPoint3(this->leftShoulder()); skeleton["rightShoulder"] = jsonAddPoint3(this->rightShoulder()); skeleton["leftElbow"] = jsonAddPoint3(this->leftElbow()); skeleton["rightElbow"] = jsonAddPoint3(this->rightElbow()); skeleton["leftWrist"] = jsonAddPoint3(this->leftWrist()); skeleton["rightWrist"] = jsonAddPoint3(this->rightWrist()); skeleton["leftHand"] = jsonAddPoint3(this->leftHand()); skeleton["rightHand"] = jsonAddPoint3(this->rightHand()); if (this->m_version > 1) { // additional joints for hand detection skeleton["leftHandTip"] = jsonAddPoint3(this->leftHandTip()); skeleton["rightHandTip"] = jsonAddPoint3(this->rightHandTip()); skeleton["leftThumb"] = jsonAddPoint3(this->leftThumb()); skeleton["rightThumb"] = jsonAddPoint3(this->rightThumb()); } // lower body skeleton["leftHip"] = jsonAddPoint3(this->leftHip()); skeleton["rightHip"] = jsonAddPoint3(this->rightHip()); skeleton["leftKnee"] = jsonAddPoint3(this->leftKnee()); skeleton["rightKnee"] = jsonAddPoint3(this->rightKnee()); skeleton["leftAnkle"] = jsonAddPoint3(this->leftAnkle()); skeleton["rightAnkle"] = jsonAddPoint3(this->rightAnkle()); skeleton["leftFoot"] = jsonAddPoint3(this->leftFoot()); skeleton["rightFoot"] = jsonAddPoint3(this->rightFoot()); // for historical reasons, this is named differently... should we rename??? if (this->m_version == 1) { skeleton["hipCenter"] = jsonAddPoint3(this->spineBase()); skeleton["shoulderCenter"] = jsonAddPoint3(this->spineMid()); skeleton["spine"] = jsonAddPoint3(this->spineShoulder()); } else { skeleton["spineBase"] = jsonAddPoint3(this->spineBase()); skeleton["spineMid"] = jsonAddPoint3(this->spineMid()); skeleton["spineShoulder"] = jsonAddPoint3(this->spineShoulder()); } // TODO: should we store hand position state/orientation/confidence level???? } /** * Deserialize JSON string into the skeleton */ void SkeletonRepresentationJSON::Deserialize( Json::Value& root ) { this->id = root.get("id", this->id).asUInt(); this->m_version = root.get("version", 1.0f).asFloat(); // by default use version 1 // get head this->head(jsonGetPoint3(root.get("head", Json::nullValue))); if (this->m_version > 1.0f) { this->neck(jsonGetPoint3(root.get("neck", Json::nullValue))); } // upper body this->leftShoulder(jsonGetPoint3(root.get("leftShoulder", Json::nullValue))); this->rightShoulder(jsonGetPoint3(root.get("rightShoulder", Json::nullValue))); this->leftElbow(jsonGetPoint3(root.get("leftElbow", Json::nullValue))); this->rightElbow(jsonGetPoint3(root.get("rightElbow", Json::nullValue))); this->leftWrist(jsonGetPoint3(root.get("leftWrist", Json::nullValue))); this->rightWrist(jsonGetPoint3(root.get("rightWrist", Json::nullValue))); this->leftHand(jsonGetPoint3(root.get("leftHand", Json::nullValue))); this->rightHand(jsonGetPoint3(root.get("rightHand", Json::nullValue))); if (this->m_version > 1.0f) { this->leftHandTip(jsonGetPoint3(root.get("leftHandTip", Json::nullValue))); this->rightHandTip(jsonGetPoint3(root.get("rightHandTip", Json::nullValue))); this->leftThumb(jsonGetPoint3(root.get("leftThumb", Json::nullValue))); this->rightThumb(jsonGetPoint3(root.get("rightThumb", Json::nullValue))); } // lower body this->leftHip(jsonGetPoint3(root.get("leftHip", Json::nullValue))); this->rightHip(jsonGetPoint3(root.get("rightHip", Json::nullValue))); this->leftKnee(jsonGetPoint3(root.get("leftKnee", Json::nullValue))); this->rightKnee(jsonGetPoint3(root.get("rightKnee", Json::nullValue))); this->leftAnkle(jsonGetPoint3(root.get("leftAnkle", Json::nullValue))); this->rightAnkle(jsonGetPoint3(root.get("rightAnkle", Json::nullValue))); this->leftFoot(jsonGetPoint3(root.get("leftFoot", Json::nullValue))); this->rightFoot(jsonGetPoint3(root.get("rightFoot", Json::nullValue))); // old hips if (this->m_version == 1.0f) { this->spineBase(jsonGetPoint3(root.get("hipCenter", Json::nullValue))); this->spineShoulder(jsonGetPoint3(root.get("shoulderCenter", Json::nullValue))); this->spineMid(jsonGetPoint3(root.get("spine", Json::nullValue))); } else { this->spineBase(jsonGetPoint3(root.get("spineBase", Json::nullValue))); this->spineShoulder(jsonGetPoint3(root.get("spineShoulder", Json::nullValue))); this->spineMid(jsonGetPoint3(root.get("spineMid", Json::nullValue))); } // TODO: should we calculate the neck or just leav it out???? } /** * Returns Point3 structure for give input json array */ Eigen::Vector3f SkeletonRepresentationJSON::jsonGetPoint3(const Json::Value &jsonValue) { Eigen::Vector3f point = Eigen::Vector3f::Zero(); if (jsonValue.isNull()) return Eigen::Vector3f(); if (jsonValue.isArray() && jsonValue.size() == 3) { Json::ValueIterator it = jsonValue.begin(); point[0] = static_cast<float>((*it).asFloat()); it++; point[1] = static_cast<float>((*it).asFloat()); it++; point[2] = static_cast<float>((*it).asFloat()); } else return point;//throw Exception("Error in PoseSet::jsonGetPoint3(): value size = %d", jsonValue.size()); return point; } SkeletonRepresentationSetJSON::SkeletonRepresentationSetJSON() { } /** * Serialize a set of skeletons */ void SkeletonRepresentationSetJSON::Serialize( Json::Value& root ) { root["version"] = this->getVersion(); root["kinectVersion"] = this->getKinectVersion(); root["frameNumber"] = this->getFrameNumber(); root["timeStamp"] = this->getTimeStampdDouble(); // get unix time stamp long seconds, micros; this->getTimeStamp(seconds, micros); root["realTimeStampSeconds"] = seconds; root["realTimeStampMicros"] = micros; root["skeletonCount"] = size(); Json::Value skeletonArray; for (size_t i = 0; i < size(); i++) { skeletonArray.append(this->at(i).Serialize()); } root["skeletons"] = skeletonArray; } /** * Deserialize set of skeletons */ void SkeletonRepresentationSetJSON::Deserialize(Json::Value& root) { // de-serialize primitives m_version = root.get("version",0).asDouble(); m_frameNumber = root.get("frameNumber",0).asInt(); m_timeStamp = root.get("timeStamp",0).asDouble(); size_t skeletonCount = root.get("skeletonCount",0).asUInt(); // we only use the first skeleton (index = 0) from the data //m_v.assign(skeletonCount, PoseRepresentationPoints()); Json::Value skeletonArray = root.get("skeletons", Json::nullValue); if (!skeletonArray.isNull()) { size_t index = 0; for (Json::ValueIterator it = skeletonArray.begin(); it != skeletonArray.end(); it++) { if (index > 1) break; /// here, we quit after reading the zero index if ((*it).isNull()) continue; index++; } } } SkeletonRepresentationSequenceJSON::SkeletonRepresentationSequenceJSON() { } void SkeletonRepresentationSequenceJSON::Serialize( Json::Value& root ) { } /** * Deserialize JSON formatted skeleton sequence */ void SkeletonRepresentationSequenceJSON::Deserialize(Json::Value& root) { this->version = root.get("version", 0).asDouble(); size_t frameCount = root.get("frameCount", 0).asUInt(); Json::Value skeletonSequence = root.get("skeletonSequence", Json::nullValue); if (frameCount == 0 || skeletonSequence.isNull()) { root = Json::nullValue; return; } else { size_t index = 0; for (Json::ValueIterator it = skeletonSequence.begin(); it != skeletonSequence.end(); it++) { if ((*it).isNull()) continue; // get pose set for current frame SkeletonRepresentationJSON skeletonFrame; skeletonFrame.Deserialize(*it); push_back(skeletonFrame); index++; } } }
[ "Ashwini@Ashwinis-MacBook-Pro.local" ]
Ashwini@Ashwinis-MacBook-Pro.local
7e7582cd0eee3794c01f1b93daa52dc2f332dc0f
0f7a4119185aff6f48907e8a5b2666d91a47c56b
/sstd_utility/windows_boost/boost/move/detail/iterator_traits.hpp
42a5331f97f1d4e521ac7abe6bf91f703da30175
[]
no_license
jixhua/QQmlQuickBook
6636c77e9553a86f09cd59a2e89a83eaa9f153b6
782799ec3426291be0b0a2e37dc3e209006f0415
refs/heads/master
2021-09-28T13:02:48.880908
2018-11-17T10:43:47
2018-11-17T10:43:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,465
hpp
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2014-2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/move for documentation. // ////////////////////////////////////////////////////////////////////////////// //! \file #ifndef BOOST_MOVE_DETAIL_ITERATOR_TRAITS_HPP #define BOOST_MOVE_DETAIL_ITERATOR_TRAITS_HPP #ifndef BOOST_CONFIG_HPP # include <boost/config.hpp> #endif # #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif #include <cstddef> #include <boost/move/detail/type_traits.hpp> #include <boost/move/detail/std_ns_begin.hpp> BOOST_MOVE_STD_NS_BEG struct input_iterator_tag; struct forward_iterator_tag; struct bidirectional_iterator_tag; struct random_access_iterator_tag; struct output_iterator_tag; BOOST_MOVE_STD_NS_END #include <boost/move/detail/std_ns_end.hpp> namespace boost{ namespace movelib{ template<class Iterator> struct iterator_traits { typedef typename Iterator::difference_type difference_type; typedef typename Iterator::value_type value_type; typedef typename Iterator::pointer pointer; typedef typename Iterator::reference reference; typedef typename Iterator::iterator_category iterator_category; typedef typename boost::move_detail::make_unsigned<difference_type>::type size_type; }; template<class T> struct iterator_traits<T*> { typedef std::ptrdiff_t difference_type; typedef T value_type; typedef T* pointer; typedef T& reference; typedef std::random_access_iterator_tag iterator_category; typedef typename boost::move_detail::make_unsigned<difference_type>::type size_type; }; template<class T> struct iterator_traits<const T*> { typedef std::ptrdiff_t difference_type; typedef T value_type; typedef const T* pointer; typedef const T& reference; typedef std::random_access_iterator_tag iterator_category; typedef typename boost::move_detail::make_unsigned<difference_type>::type size_type; }; }} //namespace boost { namespace movelib{ #endif //#ifndef BOOST_MOVE_DETAIL_ITERATOR_TRAITS_HPP
[ "nanguazhude@vip.qq.com" ]
nanguazhude@vip.qq.com
d3bc698b0adb3107b818e99813e0e8c4e2467b93
25b4afbcad749a833504269be17a9ad785370fef
/Pod/musicFramework/core/elements/PrintAttributes.h
2d0c53171fb781c1c21b5aa2edd8ee74131458ff
[ "MIT" ]
permissive
Bone111/MusicXMLParser
87eee0a990a49a57a54a59e6ef2baa981c83a740
674f6b52634abb95008cc04ee02f4df0055851a6
refs/heads/master
2020-03-27T04:26:35.847365
2017-09-30T08:19:53
2017-09-30T08:19:53
145,939,832
3
2
MIT
2018-08-24T03:51:52
2018-08-24T03:51:51
null
UTF-8
C++
false
false
1,139
h
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #pragma once #include "../../core/ForwardDeclare.h" #include "../../core/AttributesInterface.h" #include "../../core/Decimals.h" #include "../../core/Enums.h" #include "../../core/Integers.h" #include "../../core/Strings.h" #include <iosfwd> #include <memory> #include <vector> namespace mx { namespace core { MX_FORWARD_DECLARE_ATTRIBUTES( PrintAttributes ) struct PrintAttributes : public AttributesInterface { public: PrintAttributes(); virtual bool hasValues() const; virtual std::ostream& toStream( std::ostream& os ) const; TenthsValue staffSpacing; YesNo newSystem; YesNo newPage; PositiveInteger blankPage; XsToken pageNumber; bool hasStaffSpacing; bool hasNewSystem; bool hasNewPage; bool hasBlankPage; bool hasPageNumber; bool fromXElement( std::ostream& message, xml::XElement& xelement ); }; } }
[ "403554355@qq.com" ]
403554355@qq.com
f684ddc6028615f2b5b410d68222159d9af5d260
83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1
/third_party/WebKit/Source/core/css/CSSSupportsRule.cpp
c291119c3e2969b8c41b01ad3fd99cb2c40cd0f9
[ "BSD-2-Clause", "LGPL-2.1-only", "LGPL-2.0-only", "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "GPL-1.0-or-later", "GPL-2.0-only", "LicenseRef-scancode-other-copyleft", "Apache-2.0" ]
permissive
cool2528/miniblink49
d909e39012f2c5d8ab658dc2a8b314ad0050d8ea
7f646289d8074f098cf1244adc87b95e34ab87a8
refs/heads/master
2020-06-05T03:18:43.211372
2019-06-01T08:57:37
2019-06-01T08:59:56
192,294,645
2
0
Apache-2.0
2019-06-17T07:16:28
2019-06-17T07:16:27
null
UTF-8
C++
false
false
2,313
cpp
/* Copyright (C) 2012 Motorola Mobility Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the distribution. * 3. Neither the name of Motorola Mobility Inc. nor the names of its * contributors may be used to endorse or promote products derived from this * software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "config.h" #include "core/css/CSSSupportsRule.h" #include "core/css/CSSRule.h" #include "core/css/StyleRule.h" #include "wtf/text/StringBuilder.h" namespace blink { CSSSupportsRule::CSSSupportsRule(StyleRuleSupports* supportsRule, CSSStyleSheet* parent) : CSSGroupingRule(supportsRule, parent) { } String CSSSupportsRule::cssText() const { StringBuilder result; result.appendLiteral("@supports "); result.append(conditionText()); result.appendLiteral(" {\n"); appendCSSTextForItems(result); result.append('}'); return result.toString(); } String CSSSupportsRule::conditionText() const { return toStyleRuleSupports(m_groupRule.get())->conditionText(); } } // namespace blink
[ "22249030@qq.com" ]
22249030@qq.com